diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index 43f6c60..da1d9ed 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -2098,6 +2098,37 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-------------------------------------------------------------------------------- +Package: @prosemirror-adapter/core +License: "MIT" + +MIT License + +Copyright (c) 2022 Mirone + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +-------------------------------------------------------------------------------- +Package: ng-prosemirror-adapter +License: undefined + + -------------------------------------------------------------------------------- Package: @milkdown/plugin-tooltip License: "MIT" @@ -3562,32 +3593,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------- -Package: @prosemirror-adapter/core -License: "MIT" - -MIT License - -Copyright (c) 2022 Mirone - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -------------------------------------------------------------------------------- Package: @angular/cdk License: "MIT" diff --git a/docs/index.html b/docs/index.html index 7b4135d..2a202d1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -6,7 +6,7 @@ - + + Fork me on GitHub - + diff --git a/docs/main-Y3B6MJOU.js b/docs/main-Z4DMNTQH.js similarity index 59% rename from docs/main-Y3B6MJOU.js rename to docs/main-Z4DMNTQH.js index b40cac5..4900e28 100644 --- a/docs/main-Y3B6MJOU.js +++ b/docs/main-Z4DMNTQH.js @@ -1,70 +1,70 @@ -import{a as As}from"./chunk-BZUL2CAN.js";import{R as EZ,a as S,b as W,d as y_,e as Ts,f as C5,g as wo,h as ot,j as DZ,k as SZ,yb as Of}from"./chunk-M7VTE7ZV.js";var Yz=Ts((nFe,Gz)=>{"use strict";var y1=Object.prototype.hasOwnProperty,Wz=Object.prototype.toString,Bz=Object.defineProperty,Vz=Object.getOwnPropertyDescriptor,Uz=function(e){return typeof Array.isArray=="function"?Array.isArray(e):Wz.call(e)==="[object Array]"},Hz=function(e){if(!e||Wz.call(e)!=="[object Object]")return!1;var n=y1.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&y1.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;var i;for(i in e);return typeof i>"u"||y1.call(e,i)},$z=function(e,n){Bz&&n.name==="__proto__"?Bz(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},qz=function(e,n){if(n==="__proto__")if(y1.call(e,n)){if(Vz)return Vz(e,n).value}else return;return e[n]};Gz.exports=function t(){var e,n,r,i,o,a,s=arguments[0],l=1,c=arguments.length,d=!1;for(typeof s=="boolean"&&(d=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l{"use strict";var mue="Expected a function",gB=NaN,gue="[object Symbol]",yue=/^\s+|\s+$/g,bue=/^[-+]0x[0-9a-f]+$/i,_ue=/^0b[01]+$/i,wue=/^0o[0-7]+$/i,vue=parseInt,kue=typeof global=="object"&&global&&global.Object===Object&&global,xue=typeof self=="object"&&self&&self.Object===Object&&self,Cue=kue||xue||Function("return this")(),Due=Object.prototype,Sue=Due.toString,Eue=Math.max,Mue=Math.min,VT=function(){return Cue.Date.now()};function Tue(t,e,n){var r,i,o,a,s,l,c=0,d=!1,u=!1,f=!0;if(typeof t!="function")throw new TypeError(mue);e=yB(e)||0,UT(n)&&(d=!!n.leading,u="maxWait"in n,o=u?Eue(yB(n.maxWait)||0,e):o,f="trailing"in n?!!n.trailing:f);function h(C){var P=r,z=i;return r=i=void 0,c=C,a=t.apply(z,P),a}function p(C){return c=C,s=setTimeout(_,e),d?h(C):a}function g(C){var P=C-l,z=C-c,N=e-P;return u?Mue(N,o-z):N}function b(C){var P=C-l,z=C-c;return l===void 0||P>=e||P<0||u&&z>=o}function _(){var C=VT();if(b(C))return x(C);s=setTimeout(_,g(C))}function x(C){return s=void 0,f&&r?h(C):(r=i=void 0,a)}function E(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function v(){return s===void 0?a:x(VT())}function j(){var C=VT(),P=b(C);if(r=arguments,i=this,l=C,P){if(s===void 0)return p(l);if(u)return s=setTimeout(_,e),h(l)}return s===void 0&&(s=setTimeout(_,e)),a}return j.cancel=E,j.flush=v,j}function UT(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Aue(t){return!!t&&typeof t=="object"}function Iue(t){return typeof t=="symbol"||Aue(t)&&Sue.call(t)==gue}function yB(t){if(typeof t=="number")return t;if(Iue(t))return gB;if(UT(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=UT(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(yue,"");var n=_ue.test(t);return n||wue.test(t)?vue(t.slice(2),n?2:8):bue.test(t)?gB:+t}bB.exports=Tue});var fq=Ts((vl,sC)=>{"use strict";Object.defineProperty(vl,"__esModule",{value:!0});var lq=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function qye(t){return lq.includes(t)}var Wye=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...lq];function Gye(t){return Wye.includes(t)}var Yye=["null","undefined","string","number","bigint","boolean","symbol"];function Kye(t){return Yye.includes(t)}function Gp(t){return e=>typeof e===t}var{toString:cq}=Object.prototype,hb=t=>{let e=cq.call(t).slice(8,-1);if(/HTML\w+Element/.test(e)&&A.domElement(t))return"HTMLElement";if(Gye(e))return e},cn=t=>e=>hb(e)===t;function A(t){if(t===null)return"null";switch(typeof t){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(A.observable(t))return"Observable";if(A.array(t))return"Array";if(A.buffer(t))return"Buffer";let e=hb(t);if(e)return e;if(t instanceof String||t instanceof Boolean||t instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}A.undefined=Gp("undefined");A.string=Gp("string");var Zye=Gp("number");A.number=t=>Zye(t)&&!A.nan(t);A.bigint=Gp("bigint");A.function_=Gp("function");A.null_=t=>t===null;A.class_=t=>A.function_(t)&&t.toString().startsWith("class ");A.boolean=t=>t===!0||t===!1;A.symbol=Gp("symbol");A.numericString=t=>A.string(t)&&!A.emptyStringOrWhitespace(t)&&!Number.isNaN(Number(t));A.array=(t,e)=>Array.isArray(t)?A.function_(e)?t.every(e):!0:!1;A.buffer=t=>{var e,n,r,i;return(i=(r=(n=(e=t)===null||e===void 0?void 0:e.constructor)===null||n===void 0?void 0:n.isBuffer)===null||r===void 0?void 0:r.call(n,t))!==null&&i!==void 0?i:!1};A.blob=t=>cn("Blob")(t);A.nullOrUndefined=t=>A.null_(t)||A.undefined(t);A.object=t=>!A.null_(t)&&(typeof t=="object"||A.function_(t));A.iterable=t=>{var e;return A.function_((e=t)===null||e===void 0?void 0:e[Symbol.iterator])};A.asyncIterable=t=>{var e;return A.function_((e=t)===null||e===void 0?void 0:e[Symbol.asyncIterator])};A.generator=t=>{var e,n;return A.iterable(t)&&A.function_((e=t)===null||e===void 0?void 0:e.next)&&A.function_((n=t)===null||n===void 0?void 0:n.throw)};A.asyncGenerator=t=>A.asyncIterable(t)&&A.function_(t.next)&&A.function_(t.throw);A.nativePromise=t=>cn("Promise")(t);var Xye=t=>{var e,n;return A.function_((e=t)===null||e===void 0?void 0:e.then)&&A.function_((n=t)===null||n===void 0?void 0:n.catch)};A.promise=t=>A.nativePromise(t)||Xye(t);A.generatorFunction=cn("GeneratorFunction");A.asyncGeneratorFunction=t=>hb(t)==="AsyncGeneratorFunction";A.asyncFunction=t=>hb(t)==="AsyncFunction";A.boundFunction=t=>A.function_(t)&&!t.hasOwnProperty("prototype");A.regExp=cn("RegExp");A.date=cn("Date");A.error=cn("Error");A.map=t=>cn("Map")(t);A.set=t=>cn("Set")(t);A.weakMap=t=>cn("WeakMap")(t);A.weakSet=t=>cn("WeakSet")(t);A.int8Array=cn("Int8Array");A.uint8Array=cn("Uint8Array");A.uint8ClampedArray=cn("Uint8ClampedArray");A.int16Array=cn("Int16Array");A.uint16Array=cn("Uint16Array");A.int32Array=cn("Int32Array");A.uint32Array=cn("Uint32Array");A.float32Array=cn("Float32Array");A.float64Array=cn("Float64Array");A.bigInt64Array=cn("BigInt64Array");A.bigUint64Array=cn("BigUint64Array");A.arrayBuffer=cn("ArrayBuffer");A.sharedArrayBuffer=cn("SharedArrayBuffer");A.dataView=cn("DataView");A.enumCase=(t,e)=>Object.values(e).includes(t);A.directInstanceOf=(t,e)=>Object.getPrototypeOf(t)===e.prototype;A.urlInstance=t=>cn("URL")(t);A.urlString=t=>{if(!A.string(t))return!1;try{return new URL(t),!0}catch{return!1}};A.truthy=t=>!!t;A.falsy=t=>!t;A.nan=t=>Number.isNaN(t);A.primitive=t=>A.null_(t)||Kye(typeof t);A.integer=t=>Number.isInteger(t);A.safeInteger=t=>Number.isSafeInteger(t);A.plainObject=t=>{if(cq.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.getPrototypeOf({})};A.typedArray=t=>qye(hb(t));var Qye=t=>A.safeInteger(t)&&t>=0;A.arrayLike=t=>!A.nullOrUndefined(t)&&!A.function_(t)&&Qye(t.length);A.inRange=(t,e)=>{if(A.number(e))return t>=Math.min(0,e)&&t<=Math.max(e,0);if(A.array(e)&&e.length===2)return t>=Math.min(...e)&&t<=Math.max(...e);throw new TypeError(`Invalid range: ${JSON.stringify(e)}`)};var Jye=1,ebe=["innerHTML","ownerDocument","style","attributes","nodeValue"];A.domElement=t=>A.object(t)&&t.nodeType===Jye&&A.string(t.nodeName)&&!A.plainObject(t)&&ebe.every(e=>e in t);A.observable=t=>{var e,n,r,i;return t?t===((n=(e=t)[Symbol.observable])===null||n===void 0?void 0:n.call(e))||t===((i=(r=t)["@@observable"])===null||i===void 0?void 0:i.call(r)):!1};A.nodeStream=t=>A.object(t)&&A.function_(t.pipe)&&!A.observable(t);A.infinite=t=>t===1/0||t===-1/0;var dq=t=>e=>A.integer(e)&&Math.abs(e%2)===t;A.evenInteger=dq(0);A.oddInteger=dq(1);A.emptyArray=t=>A.array(t)&&t.length===0;A.nonEmptyArray=t=>A.array(t)&&t.length>0;A.emptyString=t=>A.string(t)&&t.length===0;var tbe=t=>A.string(t)&&!/\S/.test(t);A.emptyStringOrWhitespace=t=>A.emptyString(t)||tbe(t);A.nonEmptyString=t=>A.string(t)&&t.length>0;A.nonEmptyStringAndNotWhitespace=t=>A.string(t)&&!A.emptyStringOrWhitespace(t);A.emptyObject=t=>A.object(t)&&!A.map(t)&&!A.set(t)&&Object.keys(t).length===0;A.nonEmptyObject=t=>A.object(t)&&!A.map(t)&&!A.set(t)&&Object.keys(t).length>0;A.emptySet=t=>A.set(t)&&t.size===0;A.nonEmptySet=t=>A.set(t)&&t.size>0;A.emptyMap=t=>A.map(t)&&t.size===0;A.nonEmptyMap=t=>A.map(t)&&t.size>0;A.propertyKey=t=>A.any([A.string,A.number,A.symbol],t);A.formData=t=>cn("FormData")(t);A.urlSearchParams=t=>cn("URLSearchParams")(t);var uq=(t,e,n)=>{if(!A.function_(e))throw new TypeError(`Invalid predicate: ${JSON.stringify(e)}`);if(n.length===0)throw new TypeError("Invalid number of values");return t.call(n,e)};A.any=(t,...e)=>(A.array(t)?t:[t]).some(r=>uq(Array.prototype.some,r,e));A.all=(t,...e)=>uq(Array.prototype.every,t,e);var fe=(t,e,n,r={})=>{if(!t){let{multipleValues:i}=r,o=i?`received values of types ${[...new Set(n.map(a=>`\`${A(a)}\``))].join(", ")}`:`received value of type \`${A(n)}\``;throw new TypeError(`Expected value which is \`${e}\`, ${o}.`)}};vl.assert={undefined:t=>fe(A.undefined(t),"undefined",t),string:t=>fe(A.string(t),"string",t),number:t=>fe(A.number(t),"number",t),bigint:t=>fe(A.bigint(t),"bigint",t),function_:t=>fe(A.function_(t),"Function",t),null_:t=>fe(A.null_(t),"null",t),class_:t=>fe(A.class_(t),"Class",t),boolean:t=>fe(A.boolean(t),"boolean",t),symbol:t=>fe(A.symbol(t),"symbol",t),numericString:t=>fe(A.numericString(t),"string with a number",t),array:(t,e)=>{fe(A.array(t),"Array",t),e&&t.forEach(e)},buffer:t=>fe(A.buffer(t),"Buffer",t),blob:t=>fe(A.blob(t),"Blob",t),nullOrUndefined:t=>fe(A.nullOrUndefined(t),"null or undefined",t),object:t=>fe(A.object(t),"Object",t),iterable:t=>fe(A.iterable(t),"Iterable",t),asyncIterable:t=>fe(A.asyncIterable(t),"AsyncIterable",t),generator:t=>fe(A.generator(t),"Generator",t),asyncGenerator:t=>fe(A.asyncGenerator(t),"AsyncGenerator",t),nativePromise:t=>fe(A.nativePromise(t),"native Promise",t),promise:t=>fe(A.promise(t),"Promise",t),generatorFunction:t=>fe(A.generatorFunction(t),"GeneratorFunction",t),asyncGeneratorFunction:t=>fe(A.asyncGeneratorFunction(t),"AsyncGeneratorFunction",t),asyncFunction:t=>fe(A.asyncFunction(t),"AsyncFunction",t),boundFunction:t=>fe(A.boundFunction(t),"Function",t),regExp:t=>fe(A.regExp(t),"RegExp",t),date:t=>fe(A.date(t),"Date",t),error:t=>fe(A.error(t),"Error",t),map:t=>fe(A.map(t),"Map",t),set:t=>fe(A.set(t),"Set",t),weakMap:t=>fe(A.weakMap(t),"WeakMap",t),weakSet:t=>fe(A.weakSet(t),"WeakSet",t),int8Array:t=>fe(A.int8Array(t),"Int8Array",t),uint8Array:t=>fe(A.uint8Array(t),"Uint8Array",t),uint8ClampedArray:t=>fe(A.uint8ClampedArray(t),"Uint8ClampedArray",t),int16Array:t=>fe(A.int16Array(t),"Int16Array",t),uint16Array:t=>fe(A.uint16Array(t),"Uint16Array",t),int32Array:t=>fe(A.int32Array(t),"Int32Array",t),uint32Array:t=>fe(A.uint32Array(t),"Uint32Array",t),float32Array:t=>fe(A.float32Array(t),"Float32Array",t),float64Array:t=>fe(A.float64Array(t),"Float64Array",t),bigInt64Array:t=>fe(A.bigInt64Array(t),"BigInt64Array",t),bigUint64Array:t=>fe(A.bigUint64Array(t),"BigUint64Array",t),arrayBuffer:t=>fe(A.arrayBuffer(t),"ArrayBuffer",t),sharedArrayBuffer:t=>fe(A.sharedArrayBuffer(t),"SharedArrayBuffer",t),dataView:t=>fe(A.dataView(t),"DataView",t),enumCase:(t,e)=>fe(A.enumCase(t,e),"EnumCase",t),urlInstance:t=>fe(A.urlInstance(t),"URL",t),urlString:t=>fe(A.urlString(t),"string with a URL",t),truthy:t=>fe(A.truthy(t),"truthy",t),falsy:t=>fe(A.falsy(t),"falsy",t),nan:t=>fe(A.nan(t),"NaN",t),primitive:t=>fe(A.primitive(t),"primitive",t),integer:t=>fe(A.integer(t),"integer",t),safeInteger:t=>fe(A.safeInteger(t),"integer",t),plainObject:t=>fe(A.plainObject(t),"plain object",t),typedArray:t=>fe(A.typedArray(t),"TypedArray",t),arrayLike:t=>fe(A.arrayLike(t),"array-like",t),domElement:t=>fe(A.domElement(t),"HTMLElement",t),observable:t=>fe(A.observable(t),"Observable",t),nodeStream:t=>fe(A.nodeStream(t),"Node.js Stream",t),infinite:t=>fe(A.infinite(t),"infinite number",t),emptyArray:t=>fe(A.emptyArray(t),"empty array",t),nonEmptyArray:t=>fe(A.nonEmptyArray(t),"non-empty array",t),emptyString:t=>fe(A.emptyString(t),"empty string",t),emptyStringOrWhitespace:t=>fe(A.emptyStringOrWhitespace(t),"empty string or whitespace",t),nonEmptyString:t=>fe(A.nonEmptyString(t),"non-empty string",t),nonEmptyStringAndNotWhitespace:t=>fe(A.nonEmptyStringAndNotWhitespace(t),"non-empty string and not whitespace",t),emptyObject:t=>fe(A.emptyObject(t),"empty object",t),nonEmptyObject:t=>fe(A.nonEmptyObject(t),"non-empty object",t),emptySet:t=>fe(A.emptySet(t),"empty set",t),nonEmptySet:t=>fe(A.nonEmptySet(t),"non-empty set",t),emptyMap:t=>fe(A.emptyMap(t),"empty map",t),nonEmptyMap:t=>fe(A.nonEmptyMap(t),"non-empty map",t),propertyKey:t=>fe(A.propertyKey(t),"PropertyKey",t),formData:t=>fe(A.formData(t),"FormData",t),urlSearchParams:t=>fe(A.urlSearchParams(t),"URLSearchParams",t),evenInteger:t=>fe(A.evenInteger(t),"even integer",t),oddInteger:t=>fe(A.oddInteger(t),"odd integer",t),directInstanceOf:(t,e)=>fe(A.directInstanceOf(t,e),"T",t),inRange:(t,e)=>fe(A.inRange(t,e),"in range",t),any:(t,...e)=>fe(A.any(t,...e),"predicate returns truthy for any value",e,{multipleValues:!0}),all:(t,...e)=>fe(A.all(t,...e),"predicate returns truthy for all values",e,{multipleValues:!0})};Object.defineProperties(A,{class:{value:A.class_},function:{value:A.function_},null:{value:A.null_}});Object.defineProperties(vl.assert,{class:{value:vl.assert.class_},function:{value:vl.assert.function_},null:{value:vl.assert.null_}});vl.default=A;sC.exports=A;sC.exports.default=A;sC.exports.assert=vl.assert});var hq=Ts((fGe,nbe)=>{nbe.exports={grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"\u{1F600}",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"\u{1F62C}",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"\u{1F601}",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"\u{1F602}",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"\u{1F923}",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"\u{1F973}",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"\u{1F603}",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"\u{1F604}",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"\u{1F605}",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"\u{1F606}",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"\u{1F607}",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"\u{1F609}",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"\u{1F60A}",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"\u{1F642}",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"\u{1F643}",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"\u263A\uFE0F",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"\u{1F60B}",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"\u{1F60C}",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"\u{1F60D}",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"\u{1F970}",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1F618}",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"\u{1F617}",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"\u{1F619}",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1F61A}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"\u{1F61C}",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"\u{1F92A}",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"\u{1F928}",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"\u{1F9D0}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"\u{1F61D}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"\u{1F61B}",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"\u{1F911}",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"\u{1F913}",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"\u{1F60E}",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"\u{1F929}",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"\u{1F921}",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"\u{1F920}",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"\u{1F917}",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"\u{1F60F}",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"\u{1F636}",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"\u{1F610}",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"\u{1F611}",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"\u{1F612}",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"\u{1F644}",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"\u{1F914}",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"\u{1F925}",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"\u{1F92D}",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"\u{1F92B}",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"\u{1F92C}",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"\u{1F92F}",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"\u{1F633}",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"\u{1F61E}",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"\u{1F61F}",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"\u{1F620}",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"\u{1F621}",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"\u{1F614}",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"\u{1F615}",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"\u{1F641}",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"\u2639",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"\u{1F623}",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"\u{1F616}",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"\u{1F62B}",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"\u{1F629}",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"\u{1F97A}",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"\u{1F624}",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"\u{1F62E}",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"\u{1F631}",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"\u{1F628}",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"\u{1F630}",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"\u{1F62F}",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"\u{1F626}",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"\u{1F627}",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"\u{1F622}",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"\u{1F625}",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"\u{1F924}",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"\u{1F62A}",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"\u{1F613}",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"\u{1F975}",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"\u{1F976}",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"\u{1F62D}",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"\u{1F635}",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"\u{1F632}",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"\u{1F910}",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"\u{1F922}",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"\u{1F927}",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"\u{1F92E}",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"\u{1F637}",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"\u{1F912}",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"\u{1F915}",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"\u{1F974}",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"\u{1F634}",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"\u{1F4A4}",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"\u{1F4A9}",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"\u{1F608}",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"\u{1F47F}",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"\u{1F479}",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"\u{1F47A}",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"\u{1F480}",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"\u{1F47B}",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"\u{1F47D}",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"\u{1F916}",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"\u{1F63A}",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"\u{1F638}",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"\u{1F639}",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"\u{1F63B}",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"\u{1F63C}",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"\u{1F63D}",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"\u{1F640}",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"\u{1F63F}",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"\u{1F63E}",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"\u{1F932}",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"\u{1F64C}",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"\u{1F44F}",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"\u{1F44B}",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"\u{1F919}",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"\u{1F44D}",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"\u{1F44E}",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"\u{1F44A}",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"\u270A",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"\u{1F91B}",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"\u{1F91C}",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"\u270C",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"\u{1F44C}",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"\u270B",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"\u{1F91A}",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"\u{1F450}",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"\u{1F4AA}",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"\u{1F64F}",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"\u{1F9B6}",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"\u{1F9B5}",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"\u{1F91D}",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"\u261D",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"\u{1F446}",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"\u{1F447}",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"\u{1F448}",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"\u{1F449}",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"\u{1F595}",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"\u{1F590}",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"\u{1F91F}",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"\u{1F918}",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"\u{1F91E}",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"\u{1F596}",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"\u270D",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"\u{1F933}",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"\u{1F485}",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"\u{1F444}",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"\u{1F9B7}",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"\u{1F445}",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"\u{1F442}",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"\u{1F443}",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"\u{1F441}",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"\u{1F440}",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"\u{1F9E0}",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"\u{1F464}",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"\u{1F465}",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"\u{1F5E3}",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"\u{1F476}",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"\u{1F9D2}",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"\u{1F466}",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"\u{1F467}",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"\u{1F9D1}",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"\u{1F468}",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"\u{1F469}",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"\u{1F471}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"\u{1F471}",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"\u{1F9D4}",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"\u{1F9D3}",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"\u{1F474}",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"\u{1F475}",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"\u{1F472}",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"\u{1F9D5}",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"\u{1F473}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"\u{1F473}",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"\u{1F46E}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"\u{1F46E}",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"\u{1F477}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"\u{1F477}",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"\u{1F482}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"\u{1F482}",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"\u{1F575}\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"\u{1F575}",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"\u{1F469}\u200D\u2695\uFE0F",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"\u{1F468}\u200D\u2695\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"\u{1F469}\u200D\u{1F33E}",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"\u{1F468}\u200D\u{1F33E}",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"\u{1F469}\u200D\u{1F373}",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"\u{1F468}\u200D\u{1F373}",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"\u{1F469}\u200D\u{1F393}",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"\u{1F468}\u200D\u{1F393}",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"\u{1F469}\u200D\u{1F3A4}",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"\u{1F468}\u200D\u{1F3A4}",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"\u{1F469}\u200D\u{1F3EB}",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"\u{1F468}\u200D\u{1F3EB}",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"\u{1F469}\u200D\u{1F3ED}",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"\u{1F468}\u200D\u{1F3ED}",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"\u{1F469}\u200D\u{1F4BB}",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"\u{1F468}\u200D\u{1F4BB}",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"\u{1F469}\u200D\u{1F4BC}",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"\u{1F468}\u200D\u{1F4BC}",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"\u{1F469}\u200D\u{1F527}",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"\u{1F468}\u200D\u{1F527}",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"\u{1F469}\u200D\u{1F52C}",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"\u{1F468}\u200D\u{1F52C}",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"\u{1F469}\u200D\u{1F3A8}",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"\u{1F468}\u200D\u{1F3A8}",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"\u{1F469}\u200D\u{1F692}",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"\u{1F468}\u200D\u{1F692}",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"\u{1F469}\u200D\u2708\uFE0F",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"\u{1F468}\u200D\u2708\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"\u{1F469}\u200D\u{1F680}",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"\u{1F468}\u200D\u{1F680}",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"\u{1F469}\u200D\u2696\uFE0F",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"\u{1F468}\u200D\u2696\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"\u{1F9B8}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"\u{1F9B8}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"\u{1F9B9}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"\u{1F9B9}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"\u{1F936}",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"\u{1F385}",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"\u{1F9D9}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"\u{1F9D9}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"\u{1F9DD}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"\u{1F9DD}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"\u{1F9DB}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"\u{1F9DB}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"\u{1F9DF}\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"\u{1F9DF}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"\u{1F9DE}\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"\u{1F9DE}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"\u{1F9DC}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"\u{1F9DC}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"\u{1F9DA}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"\u{1F9DA}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"\u{1F47C}",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"\u{1F930}",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"\u{1F931}",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"\u{1F478}",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"\u{1F934}",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"\u{1F470}",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"\u{1F935}",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"\u{1F3C3}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"\u{1F3C3}",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"\u{1F6B6}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"\u{1F6B6}",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"\u{1F483}",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"\u{1F57A}",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"\u{1F46F}",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"\u{1F46F}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"\u{1F46B}",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"\u{1F46C}",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"\u{1F46D}",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"\u{1F647}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"\u{1F647}",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"\u{1F926}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"\u{1F926}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"\u{1F937}",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"\u{1F937}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"\u{1F481}",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"\u{1F481}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"\u{1F645}",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"\u{1F645}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"\u{1F646}",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"\u{1F646}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"\u{1F64B}",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"\u{1F64B}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"\u{1F64E}",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"\u{1F64E}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"\u{1F64D}",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"\u{1F64D}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"\u{1F487}",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"\u{1F487}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"\u{1F486}",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"\u{1F486}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"\u{1F9D6}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"\u{1F9D6}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1F491}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1F48F}",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"\u{1F46A}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"\u{1F469}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"\u{1F469}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"\u{1F468}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"\u{1F468}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"\u{1F9F6}",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"\u{1F9F5}",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"\u{1F9E5}",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"\u{1F97C}",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"\u{1F45A}",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"\u{1F455}",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"\u{1F456}",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"\u{1F454}",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"\u{1F457}",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"\u{1F459}",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"\u{1F458}",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"\u{1F484}",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"\u{1F48B}",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"\u{1F463}",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"\u{1F97F}",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"\u{1F460}",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"\u{1F461}",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"\u{1F462}",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"\u{1F45E}",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"\u{1F45F}",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"\u{1F97E}",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"\u{1F9E6}",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"\u{1F9E4}",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"\u{1F9E3}",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"\u{1F452}",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"\u{1F3A9}",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"\u{1F9E2}",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"\u26D1",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"\u{1F393}",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"\u{1F451}",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"\u{1F392}",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"\u{1F9F3}",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"\u{1F45D}",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"\u{1F45B}",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"\u{1F45C}",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"\u{1F4BC}",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"\u{1F453}",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"\u{1F576}",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"\u{1F97D}",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"\u{1F48D}",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"\u{1F302}",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"\u{1F436}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"\u{1F431}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"\u{1F42D}",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"\u{1F439}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"\u{1F430}",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"\u{1F98A}",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"\u{1F43B}",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"\u{1F43C}",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"\u{1F428}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"\u{1F42F}",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"\u{1F981}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1F42E}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"\u{1F437}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"\u{1F43D}",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"\u{1F438}",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"\u{1F991}",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"\u{1F419}",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"\u{1F990}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"\u{1F435}",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"\u{1F98D}",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"\u{1F648}",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"\u{1F649}",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"\u{1F64A}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"\u{1F412}",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"\u{1F414}",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"\u{1F427}",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"\u{1F426}",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"\u{1F424}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"\u{1F423}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"\u{1F425}",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"\u{1F986}",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"\u{1F985}",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"\u{1F989}",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"\u{1F987}",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"\u{1F43A}",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"\u{1F417}",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"\u{1F434}",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"\u{1F984}",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"\u{1F41D}",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"\u{1F41B}",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"\u{1F98B}",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"\u{1F40C}",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"\u{1F41E}",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"\u{1F41C}",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"\u{1F997}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"\u{1F577}",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"\u{1F982}",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"\u{1F980}",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"\u{1F40D}",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"\u{1F98E}",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"\u{1F996}",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"\u{1F995}",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"\u{1F422}",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"\u{1F420}",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"\u{1F41F}",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"\u{1F421}",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"\u{1F42C}",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"\u{1F988}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"\u{1F433}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"\u{1F40B}",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"\u{1F40A}",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"\u{1F406}",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"\u{1F993}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"\u{1F405}",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"\u{1F403}",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"\u{1F402}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1F404}",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"\u{1F98C}",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"\u{1F42A}",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"\u{1F42B}",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"\u{1F992}",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"\u{1F418}",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"\u{1F98F}",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"\u{1F410}",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"\u{1F40F}",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"\u{1F411}",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"\u{1F40E}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"\u{1F416}",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"\u{1F400}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"\u{1F401}",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"\u{1F413}",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"\u{1F983}",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"\u{1F54A}",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"\u{1F415}",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"\u{1F429}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"\u{1F408}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"\u{1F407}",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"\u{1F43F}",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"\u{1F994}",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"\u{1F99D}",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"\u{1F999}",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"\u{1F99B}",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"\u{1F998}",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"\u{1F9A1}",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"\u{1F9A2}",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"\u{1F99A}",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"\u{1F99C}",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"\u{1F99E}",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"\u{1F99F}",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"\u{1F43E}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1F409}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1F432}",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"\u{1F335}",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"\u{1F384}",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"\u{1F332}",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"\u{1F333}",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"\u{1F334}",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"\u{1F331}",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"\u{1F33F}",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"\u2618",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"\u{1F340}",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"\u{1F38D}",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"\u{1F38B}",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"\u{1F343}",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"\u{1F342}",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"\u{1F341}",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"\u{1F33E}",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"\u{1F33A}",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"\u{1F33B}",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"\u{1F339}",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"\u{1F940}",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"\u{1F337}",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"\u{1F33C}",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"\u{1F338}",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"\u{1F490}",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"\u{1F344}",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"\u{1F330}",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"\u{1F383}",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"\u{1F41A}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"\u{1F578}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"\u{1F30E}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"\u{1F30D}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"\u{1F30F}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"\u{1F315}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"\u{1F316}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F317}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F318}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F311}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F312}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F313}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"\u{1F314}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31A}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31D}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31B}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31C}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"\u{1F31E}",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"\u{1F319}",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"\u2B50",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"\u{1F31F}",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"\u{1F4AB}",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"\u2728",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"\u2604",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"\u2600\uFE0F",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"\u{1F324}",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"\u26C5",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"\u{1F325}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"\u{1F326}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"\u2601\uFE0F",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"\u{1F327}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"\u26C8",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"\u{1F329}",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"\u26A1",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"\u{1F525}",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"\u{1F4A5}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"\u2744\uFE0F",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"\u{1F328}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"\u26C4",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"\u2603",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"\u{1F32C}",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"\u{1F4A8}",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"\u{1F32A}",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"\u{1F32B}",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"\u2602",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"\u2614",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"\u{1F4A7}",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"\u{1F4A6}",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"\u{1F30A}",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"\u{1F34F}",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"\u{1F34E}",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"\u{1F350}",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"\u{1F34A}",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"\u{1F34B}",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"\u{1F34C}",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"\u{1F349}",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"\u{1F347}",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"\u{1F353}",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"\u{1F348}",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"\u{1F352}",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"\u{1F351}",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"\u{1F34D}",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"\u{1F965}",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"\u{1F95D}",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"\u{1F96D}",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"\u{1F951}",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"\u{1F966}",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"\u{1F345}",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"\u{1F346}",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"\u{1F952}",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"\u{1F955}",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"\u{1F336}",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"\u{1F954}",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"\u{1F33D}",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"\u{1F96C}",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"\u{1F360}",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"\u{1F95C}",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"\u{1F36F}",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"\u{1F950}",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"\u{1F35E}",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"\u{1F956}",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"\u{1F96F}",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"\u{1F968}",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"\u{1F9C0}",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"\u{1F95A}",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"\u{1F953}",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"\u{1F969}",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"\u{1F95E}",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"\u{1F357}",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"\u{1F356}",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"\u{1F9B4}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"\u{1F364}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"\u{1F373}",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"\u{1F354}",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"\u{1F35F}",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"\u{1F959}",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"\u{1F32D}",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"\u{1F355}",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"\u{1F96A}",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"\u{1F96B}",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"\u{1F35D}",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"\u{1F32E}",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"\u{1F32F}",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"\u{1F957}",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"\u{1F958}",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"\u{1F35C}",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"\u{1F372}",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"\u{1F365}",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"\u{1F960}",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"\u{1F363}",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"\u{1F371}",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"\u{1F35B}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"\u{1F359}",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"\u{1F35A}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"\u{1F358}",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"\u{1F362}",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"\u{1F361}",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"\u{1F367}",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"\u{1F368}",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"\u{1F366}",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"\u{1F967}",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"\u{1F370}",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"\u{1F9C1}",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"\u{1F96E}",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"\u{1F382}",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"\u{1F36E}",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"\u{1F36C}",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"\u{1F36D}",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"\u{1F36B}",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"\u{1F37F}",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"\u{1F95F}",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"\u{1F369}",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"\u{1F36A}",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"\u{1F95B}",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1F37A}",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1F37B}",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"\u{1F942}",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"\u{1F377}",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"\u{1F943}",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"\u{1F378}",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"\u{1F379}",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"\u{1F37E}",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"\u{1F376}",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"\u{1F375}",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"\u{1F964}",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"\u2615",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"\u{1F37C}",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"\u{1F9C2}",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"\u{1F944}",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"\u{1F374}",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"\u{1F37D}",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"\u{1F963}",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"\u{1F961}",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"\u{1F962}",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"\u26BD",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"\u{1F3C0}",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"\u{1F3C8}",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"\u26BE",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"\u{1F94E}",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"\u{1F3BE}",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"\u{1F3D0}",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"\u{1F3C9}",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"\u{1F94F}",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"\u{1F3B1}",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"\u26F3",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"\u{1F3CC}",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"\u{1F3D3}",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"\u{1F3F8}",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"\u{1F945}",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"\u{1F3D2}",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"\u{1F3D1}",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"\u{1F94D}",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"\u{1F3CF}",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"\u{1F3BF}",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"\u26F7",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"\u{1F3C2}",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"\u{1F93A}",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"\u{1F93C}\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"\u{1F93C}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"\u{1F938}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"\u{1F938}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"\u{1F93E}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"\u{1F93E}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"\u26F8",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"\u{1F94C}",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"\u{1F6F9}",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"\u{1F6F7}",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"\u{1F3F9}",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"\u{1F3A3}",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"\u{1F94A}",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"\u{1F94B}",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"\u{1F6A3}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"\u{1F6A3}",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"\u{1F9D7}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"\u{1F9D7}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"\u{1F3CA}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"\u{1F3CA}",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"\u{1F93D}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"\u{1F93D}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1F9D8}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1F9D8}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"\u{1F3C4}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"\u{1F3C4}",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"\u{1F6C0}",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"\u26F9\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"\u26F9",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"\u{1F3CB}",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"\u{1F6B4}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"\u{1F6B4}",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"\u{1F6B5}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"\u{1F6B5}",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"\u{1F3C7}",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"\u{1F574}",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"\u{1F3C6}",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"\u{1F3BD}",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"\u{1F3C5}",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"\u{1F396}",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"\u{1F947}",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"\u{1F948}",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"\u{1F949}",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"\u{1F397}",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"\u{1F3F5}",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"\u{1F3AB}",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"\u{1F39F}",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"\u{1F3AD}",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"\u{1F3A8}",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"\u{1F3AA}",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1F939}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1F939}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"\u{1F3A4}",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"\u{1F3A7}",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"\u{1F3BC}",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"\u{1F3B9}",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"\u{1F941}",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"\u{1F3B7}",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"\u{1F3BA}",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"\u{1F3B8}",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"\u{1F3BB}",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"\u{1F3AC}",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"\u{1F3AE}",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"\u{1F47E}",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"\u{1F3AF}",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"\u{1F3B2}",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265F",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"\u{1F3B0}",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"\u{1F9E9}",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"\u{1F3B3}",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"\u{1F697}",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"\u{1F695}",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"\u{1F699}",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"\u{1F68C}",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"\u{1F68E}",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"\u{1F3CE}",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"\u{1F693}",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"\u{1F691}",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"\u{1F692}",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"\u{1F690}",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"\u{1F69A}",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"\u{1F69B}",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"\u{1F69C}",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"\u{1F6F4}",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"\u{1F3CD}",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"\u{1F6B2}",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"\u{1F6F5}",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"\u{1F6A8}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"\u{1F694}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"\u{1F68D}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"\u{1F698}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"\u{1F696}",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"\u{1F6A1}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"\u{1F6A0}",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"\u{1F69F}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"\u{1F683}",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"\u{1F68B}",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"\u{1F69D}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"\u{1F684}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"\u{1F685}",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"\u{1F688}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"\u{1F69E}",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"\u{1F682}",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"\u{1F686}",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"\u{1F687}",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"\u{1F68A}",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"\u{1F689}",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"\u{1F6F8}",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"\u{1F681}",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"\u{1F6E9}",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"\u2708\uFE0F",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"\u{1F6EB}",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"\u{1F6EC}",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"\u26F5",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"\u{1F6E5}",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"\u{1F6A4}",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"\u26F4",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"\u{1F6F3}",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"\u{1F680}",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"\u{1F6F0}",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"\u{1F4BA}",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"\u{1F6F6}",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"\u2693",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"\u{1F6A7}",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"\u26FD",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"\u{1F68F}",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"\u{1F6A6}",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"\u{1F6A5}",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"\u{1F3C1}",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"\u{1F6A2}",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"\u{1F3A1}",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"\u{1F3A2}",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"\u{1F3A0}",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"\u{1F3D7}",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"\u{1F301}",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"\u{1F5FC}",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"\u{1F3ED}",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"\u26F2",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"\u{1F391}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"\u26F0",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"\u{1F3D4}",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"\u{1F5FB}",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"\u{1F30B}",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"\u{1F5FE}",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"\u{1F3D5}",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"\u26FA",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"\u{1F3DE}",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"\u{1F6E3}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"\u{1F6E4}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"\u{1F305}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"\u{1F304}",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"\u{1F3DC}",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"\u{1F3D6}",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"\u{1F3DD}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"\u{1F307}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"\u{1F306}",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"\u{1F3D9}",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"\u{1F303}",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"\u{1F309}",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"\u{1F30C}",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"\u{1F320}",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"\u{1F387}",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"\u{1F386}",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"\u{1F308}",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"\u{1F3D8}",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"\u{1F3F0}",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"\u{1F3EF}",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"\u{1F3DF}",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"\u{1F5FD}",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"\u{1F3E0}",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"\u{1F3E1}",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"\u{1F3DA}",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"\u{1F3E2}",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"\u{1F3EC}",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"\u{1F3E3}",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"\u{1F3E4}",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"\u{1F3E5}",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"\u{1F3E6}",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"\u{1F3E8}",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"\u{1F3EA}",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"\u{1F3EB}",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"\u{1F3E9}",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"\u{1F492}",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"\u{1F3DB}",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"\u26EA",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"\u{1F54C}",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"\u{1F54D}",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"\u{1F54B}",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"\u26E9",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"\u231A",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"\u{1F4F1}",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"\u{1F4F2}",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"\u{1F4BB}",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"\u2328",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"\u{1F5A5}",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"\u{1F5A8}",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"\u{1F5B1}",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"\u{1F5B2}",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"\u{1F579}",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"\u{1F5DC}",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"\u{1F4BD}",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"\u{1F4BE}",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"\u{1F4BF}",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"\u{1F4C0}",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"\u{1F4FC}",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"\u{1F4F7}",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"\u{1F4F8}",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"\u{1F4F9}",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"\u{1F3A5}",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"\u{1F4FD}",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"\u{1F39E}",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"\u{1F4DE}",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"\u260E\uFE0F",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"\u{1F4DF}",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"\u{1F4E0}",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"\u{1F4FA}",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"\u{1F4FB}",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"\u{1F399}",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"\u{1F39A}",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"\u{1F39B}",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"\u{1F9ED}",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"\u23F1",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"\u23F2",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"\u23F0",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"\u{1F570}",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"\u23F3",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"\u231B",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"\u{1F4E1}",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"\u{1F50B}",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"\u{1F50C}",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"\u{1F4A1}",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"\u{1F526}",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"\u{1F56F}",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"\u{1F9EF}",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"\u{1F5D1}",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"\u{1F6E2}",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"\u{1F4B8}",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"\u{1F4B5}",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"\u{1F4B4}",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"\u{1F4B6}",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"\u{1F4B7}",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"\u{1F4B0}",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"\u{1F4B3}",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"\u{1F48E}",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"\u2696",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"\u{1F9F0}",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"\u{1F527}",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"\u{1F528}",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"\u2692",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"\u{1F6E0}",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"\u26CF",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"\u{1F529}",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"\u2699",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"\u{1F9F1}",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"\u26D3",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"\u{1F9F2}",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"\u{1F52B}",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"\u{1F4A3}",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"\u{1F9E8}",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"\u{1F52A}",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"\u{1F5E1}",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"\u2694",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"\u{1F6E1}",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"\u{1F6AC}",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"\u2620",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"\u26B0",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"\u26B1",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"\u{1F3FA}",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"\u{1F52E}",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"\u{1F4FF}",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"\u{1F9FF}",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"\u{1F488}",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"\u2697",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"\u{1F52D}",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"\u{1F52C}",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"\u{1F573}",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"\u{1F48A}",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"\u{1F489}",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"\u{1F9EC}",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"\u{1F9A0}",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"\u{1F9EB}",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"\u{1F9EA}",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"\u{1F321}",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"\u{1F9F9}",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"\u{1F9FA}",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"\u{1F9FB}",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"\u{1F3F7}",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"\u{1F516}",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"\u{1F6BD}",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"\u{1F6BF}",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"\u{1F6C1}",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"\u{1F9FC}",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"\u{1F9FD}",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"\u{1F9F4}",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"\u{1F511}",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"\u{1F5DD}",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"\u{1F6CB}",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"\u{1F6CC}",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"\u{1F6CF}",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"\u{1F6AA}",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"\u{1F6CE}",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"\u{1F9F8}",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"\u{1F5BC}",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"\u{1F5FA}",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"\u26F1",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"\u{1F5FF}",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"\u{1F6CD}",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"\u{1F6D2}",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"\u{1F388}",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"\u{1F38F}",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"\u{1F380}",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"\u{1F381}",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"\u{1F38A}",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"\u{1F389}",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"\u{1F38E}",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"\u{1F390}",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"\u{1F38C}",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"\u{1F3EE}",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"\u{1F9E7}",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"\u2709\uFE0F",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"\u{1F4E9}",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"\u{1F4E8}",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"\u{1F4E7}",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"\u{1F48C}",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"\u{1F4EE}",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"\u{1F4EA}",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"\u{1F4EB}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"\u{1F4EC}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"\u{1F4ED}",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"\u{1F4E6}",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"\u{1F4EF}",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"\u{1F4E5}",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"\u{1F4E4}",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"\u{1F4DC}",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"\u{1F4C3}",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"\u{1F4D1}",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"\u{1F9FE}",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"\u{1F4CA}",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"\u{1F4C8}",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"\u{1F4C9}",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"\u{1F4C4}",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"\u{1F4C5}",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"\u{1F4C6}",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"\u{1F5D3}",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"\u{1F4C7}",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"\u{1F5C3}",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"\u{1F5F3}",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"\u{1F5C4}",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"\u{1F4CB}",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"\u{1F5D2}",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"\u{1F4C1}",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"\u{1F4C2}",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"\u{1F5C2}",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"\u{1F5DE}",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"\u{1F4F0}",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"\u{1F4D3}",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"\u{1F4D5}",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"\u{1F4D7}",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"\u{1F4D8}",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"\u{1F4D9}",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"\u{1F4D4}",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"\u{1F4D2}",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"\u{1F4DA}",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"\u{1F4D6}",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"\u{1F9F7}",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"\u{1F517}",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"\u{1F4CE}",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"\u{1F587}",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"\u2702\uFE0F",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"\u{1F4D0}",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"\u{1F4CF}",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"\u{1F9EE}",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"\u{1F4CC}",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"\u{1F4CD}",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"\u{1F6A9}",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"\u{1F3F3}",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"\u{1F3F4}",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"\u{1F3F3}\uFE0F\u200D\u{1F308}",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"\u{1F510}",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"\u{1F512}",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"\u{1F513}",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"\u{1F50F}",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"\u{1F58A}",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"\u{1F58B}",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"\u2712\uFE0F",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"\u{1F4DD}",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"\u270F\uFE0F",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"\u{1F58D}",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"\u{1F58C}",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"\u{1F50D}",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"\u{1F50E}",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"\u2764\uFE0F",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F9E1}",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F49B}",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F49A}",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F499}",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F49C}",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"\u{1F5A4}",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"\u{1F494}",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"\u2763",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"\u{1F495}",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"\u{1F49E}",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"\u{1F493}",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"\u{1F497}",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F496}",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"\u{1F498}",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"\u{1F49D}",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"\u{1F49F}",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"\u262E",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"\u271D",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"\u262A",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u{1F549}",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u2638",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"\u2721",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"\u{1F52F}",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"\u{1F54E}",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"\u262F",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"\u2626",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"\u{1F6D0}",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"\u26CE",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2648",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2649",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264A",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264B",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264C",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264D",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264E",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"\u264F",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2650",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2651",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2652",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2653",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"\u{1F194}",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"\u269B",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"\u{1F233}",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"\u{1F239}",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"\u2622",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"\u2623",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"\u{1F4F4}",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"\u{1F4F3}",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"\u{1F236}",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"\u{1F21A}",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"\u{1F238}",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"\u{1F23A}",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"\u{1F237}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"\u2734\uFE0F",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"\u{1F19A}",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"\u{1F251}",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"\u{1F4AE}",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"\u{1F250}",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"\u3299\uFE0F",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"\u3297\uFE0F",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"\u{1F234}",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"\u{1F235}",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"\u{1F232}",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"\u{1F170}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"\u{1F171}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"\u{1F18E}",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"\u{1F191}",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"\u{1F17E}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"\u{1F198}",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"\u26D4",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"\u{1F4DB}",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"\u{1F6AB}",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"\u274C",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"\u2B55",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"\u{1F6D1}",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"\u{1F4A2}",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"\u2668\uFE0F",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"\u{1F6B7}",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"\u{1F6AF}",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"\u{1F6B3}",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"\u{1F6B1}",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"\u{1F51E}",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"\u{1F4F5}",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"\u2757",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"\u2755",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"\u2753",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"\u2754",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"\u203C\uFE0F",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"\u2049\uFE0F",fitzpatrick_scale:!1,category:"symbols"},"100":{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"\u{1F4AF}",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"\u{1F505}",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"\u{1F506}",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"\u{1F531}",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"\u269C",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"\u303D\uFE0F",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"\u26A0\uFE0F",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"\u{1F6B8}",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"\u{1F530}",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"\u267B\uFE0F",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"\u{1F22F}",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"\u{1F4B9}",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"\u2747\uFE0F",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"\u2733\uFE0F",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"\u274E",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"\u2705",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"\u{1F4A0}",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"\u{1F300}",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"\u27BF",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"\u{1F310}",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"\u24C2\uFE0F",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"\u{1F3E7}",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"\u{1F202}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"\u{1F6C2}",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"\u{1F6C3}",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"\u{1F6C4}",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"\u{1F6C5}",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"\u267F",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"\u{1F6AD}",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"\u{1F6BE}",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"\u{1F17F}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"\u{1F6B0}",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"\u{1F6B9}",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"\u{1F6BA}",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"\u{1F6BC}",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"\u{1F6BB}",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"\u{1F6AE}",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"\u{1F3A6}",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"\u{1F4F6}",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"\u{1F201}",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"\u{1F196}",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"\u{1F197}",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"\u{1F199}",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"\u{1F192}",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"\u{1F195}",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"\u{1F193}",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"\u{1F51F}",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*\u20E3",fitzpatrick_scale:!1,category:"symbols"},"1234":{keywords:["numbers","blue-square"],char:"\u{1F522}",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"\u23CF\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"\u25B6\uFE0F",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"\u23F8",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"\u23ED",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"\u23F9",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"\u23FA",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"\u23EF",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"\u23EE",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"\u23E9",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"\u23EA",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"\u{1F500}",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"\u{1F501}",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"\u{1F502}",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"\u25C0\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"\u{1F53C}",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"\u{1F53D}",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"\u23EB",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"\u23EC",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"\u27A1\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"\u2B05\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"\u2B06\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"\u2B07\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"\u2197\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"\u2198\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"\u2199\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"\u2196\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"\u2195\uFE0F",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"\u2194\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"\u{1F504}",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"\u21AA\uFE0F",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"\u21A9\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"\u2934\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"\u2935\uFE0F",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"\u2139\uFE0F",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"\u{1F524}",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"\u{1F521}",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"\u{1F520}",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"\u{1F523}",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"\u{1F3B5}",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"\u{1F3B6}",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"\u3030\uFE0F",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"\u27B0",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"\u2714\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"\u{1F503}",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"\u2795",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"\u2796",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"\u2797",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"\u2716\uFE0F",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"\u267E",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"\u{1F4B2}",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"\u{1F4B1}",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"\xA9\uFE0F",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"\xAE\uFE0F",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"\u2122\uFE0F",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"\u{1F51A}",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"\u{1F519}",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"\u{1F51B}",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"\u{1F51D}",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"\u{1F51C}",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"\u2611\uFE0F",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"\u{1F518}",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"\u26AA",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"\u26AB",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"\u{1F534}",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"\u{1F535}",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F538}",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F539}",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F536}",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F537}",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"\u{1F53A}",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"\u25AA\uFE0F",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"\u25AB\uFE0F",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"\u2B1B",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"\u2B1C",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"\u{1F53B}",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"\u25FC\uFE0F",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"\u25FB\uFE0F",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"\u25FE",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"\u25FD",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"\u{1F532}",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"\u{1F533}",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"\u{1F508}",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"\u{1F509}",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"\u{1F50A}",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"\u{1F507}",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"\u{1F4E3}",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"\u{1F4E2}",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"\u{1F514}",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"\u{1F515}",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"\u{1F0CF}",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"\u{1F004}",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"\u2660\uFE0F",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"\u2663\uFE0F",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"\u2665\uFE0F",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"\u2666\uFE0F",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"\u{1F3B4}",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"\u{1F4AD}",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"\u{1F5EF}",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"\u{1F4AC}",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"\u{1F5E8}",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"\u{1F550}",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"\u{1F551}",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"\u{1F552}",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"\u{1F553}",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"\u{1F554}",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"\u{1F555}",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"\u{1F556}",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"\u{1F557}",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"\u{1F558}",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"\u{1F559}",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"\u{1F55A}",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"\u{1F55B}",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"\u{1F55C}",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"\u{1F55D}",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"\u{1F55E}",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"\u{1F55F}",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"\u{1F560}",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"\u{1F561}",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"\u{1F562}",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"\u{1F563}",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"\u{1F564}",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"\u{1F565}",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"\u{1F566}",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"\u{1F567}",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xC5land","islands","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"\u{1F1E8}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xE7ao","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"\u{1F1EA}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"\u{1F1EB}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"\u{1F1E9}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"\u{1F1EF}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"\u{1F1EF}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"\u{1F1EF}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"\u{1F1EF}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"\u{1F1FD}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"\u{1F1FE}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"\u{1F1F0}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"\u{1F1F4}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"\u{1F1F6}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xE9union","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xE9lemy","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"\u{1F1FC}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"\u{1F1FF}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"\u{1F1F0}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"\u{1F1EC}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"\u{1F1FC}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"\u{1F1FE}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"\u{1F1FF}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"\u{1F1FF}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"\u{1F1FA}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"\u{1F3F4}\u200D\u2620\uFE0F",fitzpatrick_scale:!1,category:"flags"}}});var pq=Ts((hGe,rbe)=>{rbe.exports=["grinning","smiley","smile","grin","laughing","sweat_smile","joy","rofl","relaxed","blush","innocent","slightly_smiling_face","upside_down_face","wink","relieved","heart_eyes","smiling_face_with_three_hearts","kissing_heart","kissing","kissing_smiling_eyes","kissing_closed_eyes","yum","stuck_out_tongue","stuck_out_tongue_closed_eyes","stuck_out_tongue_winking_eye","zany","raised_eyebrow","monocle","nerd_face","sunglasses","star_struck","partying","smirk","unamused","disappointed","pensive","worried","confused","slightly_frowning_face","frowning_face","persevere","confounded","tired_face","weary","pleading","cry","sob","triumph","angry","rage","symbols_over_mouth","exploding_head","flushed","hot","cold","scream","fearful","cold_sweat","disappointed_relieved","sweat","hugs","thinking","hand_over_mouth","shushing","lying_face","no_mouth","neutral_face","expressionless","grimacing","roll_eyes","hushed","frowning","anguished","open_mouth","astonished","sleeping","drooling_face","sleepy","dizzy_face","zipper_mouth_face","woozy","nauseated_face","vomiting","sneezing_face","mask","face_with_thermometer","face_with_head_bandage","money_mouth_face","cowboy_hat_face","smiling_imp","imp","japanese_ogre","japanese_goblin","clown_face","poop","ghost","skull","skull_and_crossbones","alien","space_invader","robot","jack_o_lantern","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","palms_up","open_hands","raised_hands","clap","handshake","+1","-1","facepunch","fist","fist_left","fist_right","crossed_fingers","v","love_you","metal","ok_hand","point_left","point_right","point_up","point_down","point_up_2","raised_hand","raised_back_of_hand","raised_hand_with_fingers_splayed","vulcan_salute","wave","call_me_hand","muscle","fu","writing_hand","pray","foot","leg","ring","lipstick","kiss","lips","tooth","tongue","ear","nose","footprints","eye","eyes","brain","speaking_head","bust_in_silhouette","busts_in_silhouette","baby","girl","child","boy","woman","adult","man","blonde_woman","blonde_man","bearded_person","older_woman","older_adult","older_man","man_with_gua_pi_mao","woman_with_headscarf","woman_with_turban","man_with_turban","policewoman","policeman","construction_worker_woman","construction_worker_man","guardswoman","guardsman","female_detective","male_detective","woman_health_worker","man_health_worker","woman_farmer","man_farmer","woman_cook","man_cook","woman_student","man_student","woman_singer","man_singer","woman_teacher","man_teacher","woman_factory_worker","man_factory_worker","woman_technologist","man_technologist","woman_office_worker","man_office_worker","woman_mechanic","man_mechanic","woman_scientist","man_scientist","woman_artist","man_artist","woman_firefighter","man_firefighter","woman_pilot","man_pilot","woman_astronaut","man_astronaut","woman_judge","man_judge","bride_with_veil","man_in_tuxedo","princess","prince","woman_superhero","man_superhero","woman_supervillain","man_supervillain","mrs_claus","santa","sorceress","wizard","woman_elf","man_elf","woman_vampire","man_vampire","woman_zombie","man_zombie","woman_genie","man_genie","mermaid","merman","woman_fairy","man_fairy","angel","pregnant_woman","breastfeeding","bowing_woman","bowing_man","tipping_hand_woman","tipping_hand_man","no_good_woman","no_good_man","ok_woman","ok_man","raising_hand_woman","raising_hand_man","woman_facepalming","man_facepalming","woman_shrugging","man_shrugging","pouting_woman","pouting_man","frowning_woman","frowning_man","haircut_woman","haircut_man","massage_woman","massage_man","woman_in_steamy_room","man_in_steamy_room","nail_care","selfie","dancer","man_dancing","dancing_women","dancing_men","business_suit_levitating","walking_woman","walking_man","running_woman","running_man","couple","two_women_holding_hands","two_men_holding_hands","couple_with_heart_woman_man","couple_with_heart_woman_woman","couple_with_heart_man_man","couplekiss_man_woman","couplekiss_woman_woman","couplekiss_man_man","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_boy","family_woman_girl","family_woman_girl_boy","family_woman_boy_boy","family_woman_girl_girl","family_man_boy","family_man_girl","family_man_girl_boy","family_man_boy_boy","family_man_girl_girl","yarn","thread","coat","labcoat","womans_clothes","tshirt","jeans","necktie","dress","bikini","kimono","flat_shoe","high_heel","sandal","boot","mans_shoe","athletic_shoe","hiking_boot","socks","gloves","scarf","tophat","billed_hat","womans_hat","mortar_board","rescue_worker_helmet","crown","pouch","purse","handbag","briefcase","school_satchel","luggage","eyeglasses","dark_sunglasses","goggles","closed_umbrella","dog","cat","mouse","hamster","rabbit","fox_face","bear","panda_face","koala","tiger","lion","cow","pig","pig_nose","frog","monkey_face","see_no_evil","hear_no_evil","speak_no_evil","monkey","chicken","penguin","bird","baby_chick","hatching_chick","hatched_chick","duck","eagle","owl","bat","wolf","boar","horse","unicorn","honeybee","bug","butterfly","snail","shell","beetle","ant","mosquito","grasshopper","spider","spider_web","scorpion","turtle","snake","lizard","t-rex","sauropod","octopus","squid","shrimp","lobster","crab","blowfish","tropical_fish","fish","dolphin","whale","whale2","shark","crocodile","tiger2","leopard","zebra","gorilla","elephant","hippopotamus","rhinoceros","dromedary_camel","giraffe","kangaroo","camel","water_buffalo","ox","cow2","racehorse","pig2","ram","sheep","llama","goat","deer","dog2","poodle","cat2","rooster","turkey","peacock","parrot","swan","dove","rabbit2","raccoon","badger","rat","mouse2","chipmunk","hedgehog","paw_prints","dragon","dragon_face","cactus","christmas_tree","evergreen_tree","deciduous_tree","palm_tree","seedling","herb","shamrock","four_leaf_clover","bamboo","tanabata_tree","leaves","fallen_leaf","maple_leaf","ear_of_rice","hibiscus","sunflower","rose","wilted_flower","tulip","blossom","cherry_blossom","bouquet","mushroom","earth_americas","earth_africa","earth_asia","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","new_moon_with_face","full_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","sun_with_face","crescent_moon","star","star2","dizzy","sparkles","comet","sunny","sun_behind_small_cloud","partly_sunny","sun_behind_large_cloud","sun_behind_rain_cloud","cloud","cloud_with_rain","cloud_with_lightning_and_rain","cloud_with_lightning","zap","fire","boom","snowflake","cloud_with_snow","snowman","snowman_with_snow","wind_face","dash","tornado","fog","open_umbrella","umbrella","droplet","sweat_drops","ocean","green_apple","apple","pear","tangerine","lemon","banana","watermelon","grapes","strawberry","melon","cherries","peach","mango","pineapple","coconut","kiwi_fruit","tomato","eggplant","avocado","broccoli","leafy_greens","cucumber","hot_pepper","corn","carrot","potato","sweet_potato","croissant","bagel","bread","baguette_bread","pretzel","cheese","egg","fried_egg","pancakes","bacon","steak","poultry_leg","meat_on_bone","bone","hotdog","hamburger","fries","pizza","sandwich","stuffed_flatbread","taco","burrito","green_salad","shallow_pan_of_food","canned_food","spaghetti","ramen","stew","curry","sushi","bento","fried_shrimp","rice_ball","rice","rice_cracker","fish_cake","fortune_cookie","moon_cake","oden","dango","shaved_ice","ice_cream","icecream","pie","cupcake","cake","birthday","custard","lollipop","candy","chocolate_bar","popcorn","doughnut","dumpling","cookie","chestnut","peanuts","honey_pot","milk_glass","baby_bottle","coffee","tea","cup_with_straw","sake","beer","beers","clinking_glasses","wine_glass","tumbler_glass","cocktail","tropical_drink","champagne","spoon","fork_and_knife","plate_with_cutlery","bowl_with_spoon","takeout_box","chopsticks","salt","soccer","basketball","football","baseball","softball","tennis","volleyball","rugby_football","flying_disc","8ball","golf","golfing_woman","golfing_man","ping_pong","badminton","goal_net","ice_hockey","field_hockey","lacrosse","cricket","ski","skier","snowboarder","person_fencing","women_wrestling","men_wrestling","woman_cartwheeling","man_cartwheeling","woman_playing_handball","man_playing_handball","ice_skate","curling_stone","skateboard","sled","bow_and_arrow","fishing_pole_and_fish","boxing_glove","martial_arts_uniform","rowing_woman","rowing_man","climbing_woman","climbing_man","swimming_woman","swimming_man","woman_playing_water_polo","man_playing_water_polo","woman_in_lotus_position","man_in_lotus_position","surfing_woman","surfing_man","basketball_woman","basketball_man","weight_lifting_woman","weight_lifting_man","biking_woman","biking_man","mountain_biking_woman","mountain_biking_man","horse_racing","trophy","running_shirt_with_sash","medal_sports","medal_military","1st_place_medal","2nd_place_medal","3rd_place_medal","reminder_ribbon","rosette","ticket","tickets","performing_arts","art","circus_tent","woman_juggling","man_juggling","microphone","headphones","musical_score","musical_keyboard","drum","saxophone","trumpet","guitar","violin","clapper","video_game","dart","game_die","chess_pawn","slot_machine","jigsaw","bowling","red_car","taxi","blue_car","bus","trolleybus","racing_car","police_car","ambulance","fire_engine","minibus","truck","articulated_lorry","tractor","kick_scooter","motorcycle","bike","motor_scooter","rotating_light","oncoming_police_car","oncoming_bus","oncoming_automobile","oncoming_taxi","aerial_tramway","mountain_cableway","suspension_railway","railway_car","train","monorail","bullettrain_side","bullettrain_front","light_rail","mountain_railway","steam_locomotive","train2","metro","tram","station","flying_saucer","helicopter","small_airplane","airplane","flight_departure","flight_arrival","sailboat","motor_boat","speedboat","ferry","passenger_ship","rocket","artificial_satellite","seat","canoe","anchor","construction","fuelpump","busstop","vertical_traffic_light","traffic_light","ship","ferris_wheel","roller_coaster","carousel_horse","building_construction","foggy","tokyo_tower","factory","fountain","rice_scene","mountain","mountain_snow","mount_fuji","volcano","japan","camping","tent","national_park","motorway","railway_track","sunrise","sunrise_over_mountains","desert","beach_umbrella","desert_island","city_sunrise","city_sunset","cityscape","night_with_stars","bridge_at_night","milky_way","stars","sparkler","fireworks","rainbow","houses","european_castle","japanese_castle","stadium","statue_of_liberty","house","house_with_garden","derelict_house","office","department_store","post_office","european_post_office","hospital","bank","hotel","convenience_store","school","love_hotel","wedding","classical_building","church","mosque","synagogue","kaaba","shinto_shrine","watch","iphone","calling","computer","keyboard","desktop_computer","printer","computer_mouse","trackball","joystick","clamp","minidisc","floppy_disk","cd","dvd","vhs","camera","camera_flash","video_camera","movie_camera","film_projector","film_strip","telephone_receiver","phone","pager","fax","tv","radio","studio_microphone","level_slider","control_knobs","compass","stopwatch","timer_clock","alarm_clock","mantelpiece_clock","hourglass_flowing_sand","hourglass","satellite","battery","electric_plug","bulb","flashlight","candle","fire_extinguisher","wastebasket","oil_drum","money_with_wings","dollar","yen","euro","pound","moneybag","credit_card","gem","balance_scale","toolbox","wrench","hammer","hammer_and_pick","hammer_and_wrench","pick","nut_and_bolt","gear","brick","chains","magnet","gun","bomb","firecracker","hocho","dagger","crossed_swords","shield","smoking","coffin","funeral_urn","amphora","crystal_ball","prayer_beads","nazar_amulet","barber","alembic","telescope","microscope","hole","pill","syringe","dna","microbe","petri_dish","test_tube","thermometer","broom","basket","toilet_paper","label","bookmark","toilet","shower","bathtub","bath","soap","sponge","lotion_bottle","key","old_key","couch_and_lamp","sleeping_bed","bed","door","bellhop_bell","teddy_bear","framed_picture","world_map","parasol_on_ground","moyai","shopping","shopping_cart","balloon","flags","ribbon","gift","confetti_ball","tada","dolls","wind_chime","crossed_flags","izakaya_lantern","red_envelope","email","envelope_with_arrow","incoming_envelope","e-mail","love_letter","postbox","mailbox_closed","mailbox","mailbox_with_mail","mailbox_with_no_mail","package","postal_horn","inbox_tray","outbox_tray","scroll","page_with_curl","bookmark_tabs","receipt","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","page_facing_up","date","calendar","spiral_calendar","card_index","card_file_box","ballot_box","file_cabinet","clipboard","spiral_notepad","file_folder","open_file_folder","card_index_dividers","newspaper_roll","newspaper","notebook","closed_book","green_book","blue_book","orange_book","notebook_with_decorative_cover","ledger","books","open_book","safety_pin","link","paperclip","paperclips","scissors","triangular_ruler","straight_ruler","abacus","pushpin","round_pushpin","closed_lock_with_key","lock","unlock","lock_with_ink_pen","pen","fountain_pen","black_nib","memo","pencil2","crayon","paintbrush","mag","mag_right","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","black_heart","broken_heart","heavy_heart_exclamation","two_hearts","revolving_hearts","heartbeat","heartpulse","sparkling_heart","cupid","gift_heart","heart_decoration","peace_symbol","latin_cross","star_and_crescent","om","wheel_of_dharma","star_of_david","six_pointed_star","menorah","yin_yang","orthodox_cross","place_of_worship","ophiuchus","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","id","atom_symbol","u7a7a","u5272","radioactive","biohazard","mobile_phone_off","vibration_mode","u6709","u7121","u7533","u55b6","u6708","eight_pointed_black_star","vs","accept","white_flower","ideograph_advantage","secret","congratulations","u5408","u6e80","u7981","a","b","ab","cl","o2","sos","no_entry","name_badge","no_entry_sign","x","o","stop_sign","anger","hotsprings","no_pedestrians","do_not_litter","no_bicycles","non-potable_water","underage","no_mobile_phones","exclamation","grey_exclamation","question","grey_question","bangbang","interrobang","100","low_brightness","high_brightness","trident","fleur_de_lis","part_alternation_mark","warning","children_crossing","beginner","recycle","u6307","chart","sparkle","eight_spoked_asterisk","negative_squared_cross_mark","white_check_mark","diamond_shape_with_a_dot_inside","cyclone","loop","globe_with_meridians","m","atm","zzz","sa","passport_control","customs","baggage_claim","left_luggage","wheelchair","no_smoking","wc","parking","potable_water","mens","womens","baby_symbol","restroom","put_litter_in_its_place","cinema","signal_strength","koko","ng","ok","up","cool","new","free","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","asterisk","1234","eject_button","arrow_forward","pause_button","next_track_button","stop_button","record_button","play_or_pause_button","previous_track_button","fast_forward","rewind","twisted_rightwards_arrows","repeat","repeat_one","arrow_backward","arrow_up_small","arrow_down_small","arrow_double_up","arrow_double_down","arrow_right","arrow_left","arrow_up","arrow_down","arrow_upper_right","arrow_lower_right","arrow_lower_left","arrow_upper_left","arrow_up_down","left_right_arrow","arrows_counterclockwise","arrow_right_hook","leftwards_arrow_with_hook","arrow_heading_up","arrow_heading_down","hash","information_source","abc","abcd","capital_abcd","symbols","musical_note","notes","wavy_dash","curly_loop","heavy_check_mark","arrows_clockwise","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_multiplication_x","infinity","heavy_dollar_sign","currency_exchange","copyright","registered","tm","end","back","on","top","soon","ballot_box_with_check","radio_button","white_circle","black_circle","red_circle","large_blue_circle","small_orange_diamond","small_blue_diamond","large_orange_diamond","large_blue_diamond","small_red_triangle","black_small_square","white_small_square","black_large_square","white_large_square","small_red_triangle_down","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_square_button","white_square_button","speaker","sound","loud_sound","mute","mega","loudspeaker","bell","no_bell","black_joker","mahjong","spades","clubs","hearts","diamonds","flower_playing_cards","thought_balloon","right_anger_bubble","speech_balloon","left_speech_bubble","clock1","clock2","clock3","clock4","clock5","clock6","clock7","clock8","clock9","clock10","clock11","clock12","clock130","clock230","clock330","clock430","clock530","clock630","clock730","clock830","clock930","clock1030","clock1130","clock1230","white_flag","black_flag","pirate_flag","checkered_flag","triangular_flag_on_post","rainbow_flag","united_nations","afghanistan","aland_islands","albania","algeria","american_samoa","andorra","angola","anguilla","antarctica","antigua_barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","caribbean_netherlands","bosnia_herzegovina","botswana","brazil","british_indian_ocean_territory","british_virgin_islands","brunei","bulgaria","burkina_faso","burundi","cape_verde","cambodia","cameroon","canada","canary_islands","cayman_islands","central_african_republic","chad","chile","cn","christmas_island","cocos_islands","colombia","comoros","congo_brazzaville","congo_kinshasa","cook_islands","costa_rica","croatia","cuba","curacao","cyprus","czech_republic","denmark","djibouti","dominica","dominican_republic","ecuador","egypt","el_salvador","equatorial_guinea","eritrea","estonia","ethiopia","eu","falkland_islands","faroe_islands","fiji","finland","fr","french_guiana","french_polynesia","french_southern_territories","gabon","gambia","georgia","de","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guinea_bissau","guyana","haiti","honduras","hong_kong","hungary","iceland","india","indonesia","iran","iraq","ireland","isle_of_man","israel","it","cote_divoire","jamaica","jp","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall_islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new_caledonia","new_zealand","nicaragua","niger","nigeria","niue","norfolk_island","northern_mariana_islands","north_korea","norway","oman","pakistan","palau","palestinian_territories","panama","papua_new_guinea","paraguay","peru","philippines","pitcairn_islands","poland","portugal","puerto_rico","qatar","reunion","romania","ru","rwanda","st_barthelemy","st_helena","st_kitts_nevis","st_lucia","st_pierre_miquelon","st_vincent_grenadines","samoa","san_marino","sao_tome_principe","saudi_arabia","senegal","serbia","seychelles","sierra_leone","singapore","sint_maarten","slovakia","slovenia","solomon_islands","somalia","south_africa","south_georgia_south_sandwich_islands","kr","south_sudan","es","sri_lanka","sudan","suriname","swaziland","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timor_leste","togo","tokelau","tonga","trinidad_tobago","tunisia","tr","turkmenistan","turks_caicos_islands","tuvalu","uganda","ukraine","united_arab_emirates","uk","england","scotland","wales","us","us_virgin_islands","uruguay","uzbekistan","vanuatu","vatican_city","venezuela","vietnam","wallis_futuna","western_sahara","yemen","zambia","zimbabwe"]});var gq=Ts((pGe,mq)=>{"use strict";mq.exports={lib:hq(),ordered:pq(),fitzpatrick_scale_modifiers:["\u{1F3FB}","\u{1F3FC}","\u{1F3FD}","\u{1F3FE}","\u{1F3FF}"]}});var bq=Ts((mGe,yq)=>{"use strict";yq.exports=()=>{let t="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i="\\u1ab0-\\u1aff",o="\\u1dc0-\\u1dff",a=e+n+r+i+o,s="\\ufe0e\\ufe0f",l="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",c=`[${t}]`,d=`[${a}]`,u="\\ud83c[\\udffb-\\udfff]",f=`(?:${d}|${u})`,h=`[^${t}]`,p="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",_="(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40(?:\\udc65|\\udc73|\\udc77)\\udb40(?:\\udc6e|\\udc63|\\udc6c)\\udb40(?:\\udc67|\\udc74|\\udc73)\\udb40\\udc7f)",x=`[${l}]`,E=`${f}?`,v=`[${s}]?`,j=`(?:${b}(?:${[h,p,g].join("|")})${v+E})*`,C=v+E+j,z=`(?:${[`${h}${d}?`,d,p,g,c,x].join("|")})`;return new RegExp(`${_}|${u}(?=${u})|${z+C}`,"g")}});var wq=Ts((gGe,_q)=>{"use strict";_q.exports=new Set([9757,9977,9994,9995,9996,9997,127877,127939,127940,127946,127947,128066,128067,128070,128071,128072,128073,128074,128075,128076,128077,128078,128079,128080,128102,128103,128104,128105,128110,128112,128113,128114,128115,128116,128117,128118,128119,128120,128124,128129,128130,128131,128133,128134,128135,128170,128373,128378,128400,128405,128406,128581,128582,128583,128587,128588,128589,128590,128591,128675,128692,128693,128694,128704,129304,129305,129306,129307,129308,129309,129310,129318,129328,129331,129332,129333,129334,129335,129336,129337,129340,129341,129342])});var xq=Ts((yGe,kq)=>{"use strict";var ibe=wq(),vq=new Map([["none",""],["white","\u{1F3FB}"],["creamWhite","\u{1F3FC}"],["lightBrown","\u{1F3FD}"],["brown","\u{1F3FE}"],["darkBrown","\u{1F3FF}"]]);kq.exports=(t,e)=>{if(!vq.has(e))throw new TypeError(`Unexpected \`skinTone\` name: ${e}`);return t=t.replace(/[\u{1f3fb}-\u{1f3ff}]/u,""),ibe.has(t.codePointAt(0))&&e!=="none"&&(t+=vq.get(e)),t}});var D5=null;var tS=1;function Or(t){let e=D5;return D5=t,e}var S5={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function MZ(t){if(!(iS(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===tS)){if(!t.producerMustRecompute(t)&&!nS(t)){t.dirty=!1,t.lastCleanEpoch=tS;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=tS}}function E5(t){return t&&(t.nextProducerIndex=0),Or(t)}function M5(t,e){if(Or(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(iS(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function nS(t){b_(t);for(let e=0;e0}function b_(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function TZ(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function AZ(){throw new Error}var IZ=AZ;function A5(t){IZ=t}function Ye(t){return typeof t=="function"}function Pf(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var __=Pf(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: +import{a as Ts}from"./chunk-BZUL2CAN.js";import{R as zZ,a as D,b as q,d as b_,e as Ms,f as S5,g as ko,h as st,j as RZ,k as jZ,yb as Pf}from"./chunk-M7VTE7ZV.js";var Kz=Ms((uFe,Yz)=>{"use strict";var b1=Object.prototype.hasOwnProperty,Gz=Object.prototype.toString,Vz=Object.defineProperty,Uz=Object.getOwnPropertyDescriptor,Hz=function(e){return typeof Array.isArray=="function"?Array.isArray(e):Gz.call(e)==="[object Array]"},$z=function(e){if(!e||Gz.call(e)!=="[object Object]")return!1;var n=b1.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&b1.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;var i;for(i in e);return typeof i>"u"||b1.call(e,i)},qz=function(e,n){Vz&&n.name==="__proto__"?Vz(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},Wz=function(e,n){if(n==="__proto__")if(b1.call(e,n)){if(Uz)return Uz(e,n).value}else return;return e[n]};Yz.exports=function t(){var e,n,r,i,o,a,s=arguments[0],l=1,c=arguments.length,d=!1;for(typeof s=="boolean"&&(d=s,s=arguments[1]||{},l=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});l{"use strict";var Due="Expected a function",yB=NaN,Sue="[object Symbol]",Eue=/^\s+|\s+$/g,Mue=/^[-+]0x[0-9a-f]+$/i,Tue=/^0b[01]+$/i,Aue=/^0o[0-7]+$/i,Iue=parseInt,Oue=typeof global=="object"&&global&&global.Object===Object&&global,Pue=typeof self=="object"&&self&&self.Object===Object&&self,Fue=Oue||Pue||Function("return this")(),Nue=Object.prototype,Rue=Nue.toString,jue=Math.max,zue=Math.min,HT=function(){return Fue.Date.now()};function Lue(t,e,n){var r,i,o,a,s,l,c=0,d=!1,u=!1,f=!0;if(typeof t!="function")throw new TypeError(Due);e=bB(e)||0,$T(n)&&(d=!!n.leading,u="maxWait"in n,o=u?jue(bB(n.maxWait)||0,e):o,f="trailing"in n?!!n.trailing:f);function p(C){var P=r,z=i;return r=i=void 0,c=C,a=t.apply(z,P),a}function h(C){return c=C,s=setTimeout(_,e),d?p(C):a}function g(C){var P=C-l,z=C-c,N=e-P;return u?zue(N,o-z):N}function b(C){var P=C-l,z=C-c;return l===void 0||P>=e||P<0||u&&z>=o}function _(){var C=HT();if(b(C))return x(C);s=setTimeout(_,g(C))}function x(C){return s=void 0,f&&r?p(C):(r=i=void 0,a)}function E(){s!==void 0&&clearTimeout(s),c=0,r=l=i=s=void 0}function v(){return s===void 0?a:x(HT())}function j(){var C=HT(),P=b(C);if(r=arguments,i=this,l=C,P){if(s===void 0)return h(l);if(u)return s=setTimeout(_,e),p(l)}return s===void 0&&(s=setTimeout(_,e)),a}return j.cancel=E,j.flush=v,j}function $T(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Bue(t){return!!t&&typeof t=="object"}function Vue(t){return typeof t=="symbol"||Bue(t)&&Rue.call(t)==Sue}function bB(t){if(typeof t=="number")return t;if(Vue(t))return yB;if($T(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=$T(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Eue,"");var n=Tue.test(t);return n||Aue.test(t)?Iue(t.slice(2),n?2:8):Mue.test(t)?yB:+t}_B.exports=Lue});var _q=Ms((wl,mC)=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});var mq=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"];function Jye(t){return mq.includes(t)}var ebe=["Function","Generator","AsyncGenerator","GeneratorFunction","AsyncGeneratorFunction","AsyncFunction","Observable","Array","Buffer","Blob","Object","RegExp","Date","Error","Map","Set","WeakMap","WeakSet","ArrayBuffer","SharedArrayBuffer","DataView","Promise","URL","FormData","URLSearchParams","HTMLElement",...mq];function tbe(t){return ebe.includes(t)}var nbe=["null","undefined","string","number","bigint","boolean","symbol"];function rbe(t){return nbe.includes(t)}function Yh(t){return e=>typeof e===t}var{toString:gq}=Object.prototype,hb=t=>{let e=gq.call(t).slice(8,-1);if(/HTML\w+Element/.test(e)&&A.domElement(t))return"HTMLElement";if(tbe(e))return e},un=t=>e=>hb(e)===t;function A(t){if(t===null)return"null";switch(typeof t){case"undefined":return"undefined";case"string":return"string";case"number":return"number";case"boolean":return"boolean";case"function":return"Function";case"bigint":return"bigint";case"symbol":return"symbol";default:}if(A.observable(t))return"Observable";if(A.array(t))return"Array";if(A.buffer(t))return"Buffer";let e=hb(t);if(e)return e;if(t instanceof String||t instanceof Boolean||t instanceof Number)throw new TypeError("Please don't use object wrappers for primitive types");return"Object"}A.undefined=Yh("undefined");A.string=Yh("string");var ibe=Yh("number");A.number=t=>ibe(t)&&!A.nan(t);A.bigint=Yh("bigint");A.function_=Yh("function");A.null_=t=>t===null;A.class_=t=>A.function_(t)&&t.toString().startsWith("class ");A.boolean=t=>t===!0||t===!1;A.symbol=Yh("symbol");A.numericString=t=>A.string(t)&&!A.emptyStringOrWhitespace(t)&&!Number.isNaN(Number(t));A.array=(t,e)=>Array.isArray(t)?A.function_(e)?t.every(e):!0:!1;A.buffer=t=>{var e,n,r,i;return(i=(r=(n=(e=t)===null||e===void 0?void 0:e.constructor)===null||n===void 0?void 0:n.isBuffer)===null||r===void 0?void 0:r.call(n,t))!==null&&i!==void 0?i:!1};A.blob=t=>un("Blob")(t);A.nullOrUndefined=t=>A.null_(t)||A.undefined(t);A.object=t=>!A.null_(t)&&(typeof t=="object"||A.function_(t));A.iterable=t=>{var e;return A.function_((e=t)===null||e===void 0?void 0:e[Symbol.iterator])};A.asyncIterable=t=>{var e;return A.function_((e=t)===null||e===void 0?void 0:e[Symbol.asyncIterator])};A.generator=t=>{var e,n;return A.iterable(t)&&A.function_((e=t)===null||e===void 0?void 0:e.next)&&A.function_((n=t)===null||n===void 0?void 0:n.throw)};A.asyncGenerator=t=>A.asyncIterable(t)&&A.function_(t.next)&&A.function_(t.throw);A.nativePromise=t=>un("Promise")(t);var obe=t=>{var e,n;return A.function_((e=t)===null||e===void 0?void 0:e.then)&&A.function_((n=t)===null||n===void 0?void 0:n.catch)};A.promise=t=>A.nativePromise(t)||obe(t);A.generatorFunction=un("GeneratorFunction");A.asyncGeneratorFunction=t=>hb(t)==="AsyncGeneratorFunction";A.asyncFunction=t=>hb(t)==="AsyncFunction";A.boundFunction=t=>A.function_(t)&&!t.hasOwnProperty("prototype");A.regExp=un("RegExp");A.date=un("Date");A.error=un("Error");A.map=t=>un("Map")(t);A.set=t=>un("Set")(t);A.weakMap=t=>un("WeakMap")(t);A.weakSet=t=>un("WeakSet")(t);A.int8Array=un("Int8Array");A.uint8Array=un("Uint8Array");A.uint8ClampedArray=un("Uint8ClampedArray");A.int16Array=un("Int16Array");A.uint16Array=un("Uint16Array");A.int32Array=un("Int32Array");A.uint32Array=un("Uint32Array");A.float32Array=un("Float32Array");A.float64Array=un("Float64Array");A.bigInt64Array=un("BigInt64Array");A.bigUint64Array=un("BigUint64Array");A.arrayBuffer=un("ArrayBuffer");A.sharedArrayBuffer=un("SharedArrayBuffer");A.dataView=un("DataView");A.enumCase=(t,e)=>Object.values(e).includes(t);A.directInstanceOf=(t,e)=>Object.getPrototypeOf(t)===e.prototype;A.urlInstance=t=>un("URL")(t);A.urlString=t=>{if(!A.string(t))return!1;try{return new URL(t),!0}catch{return!1}};A.truthy=t=>!!t;A.falsy=t=>!t;A.nan=t=>Number.isNaN(t);A.primitive=t=>A.null_(t)||rbe(typeof t);A.integer=t=>Number.isInteger(t);A.safeInteger=t=>Number.isSafeInteger(t);A.plainObject=t=>{if(gq.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||e===Object.getPrototypeOf({})};A.typedArray=t=>Jye(hb(t));var abe=t=>A.safeInteger(t)&&t>=0;A.arrayLike=t=>!A.nullOrUndefined(t)&&!A.function_(t)&&abe(t.length);A.inRange=(t,e)=>{if(A.number(e))return t>=Math.min(0,e)&&t<=Math.max(e,0);if(A.array(e)&&e.length===2)return t>=Math.min(...e)&&t<=Math.max(...e);throw new TypeError(`Invalid range: ${JSON.stringify(e)}`)};var sbe=1,lbe=["innerHTML","ownerDocument","style","attributes","nodeValue"];A.domElement=t=>A.object(t)&&t.nodeType===sbe&&A.string(t.nodeName)&&!A.plainObject(t)&&lbe.every(e=>e in t);A.observable=t=>{var e,n,r,i;return t?t===((n=(e=t)[Symbol.observable])===null||n===void 0?void 0:n.call(e))||t===((i=(r=t)["@@observable"])===null||i===void 0?void 0:i.call(r)):!1};A.nodeStream=t=>A.object(t)&&A.function_(t.pipe)&&!A.observable(t);A.infinite=t=>t===1/0||t===-1/0;var yq=t=>e=>A.integer(e)&&Math.abs(e%2)===t;A.evenInteger=yq(0);A.oddInteger=yq(1);A.emptyArray=t=>A.array(t)&&t.length===0;A.nonEmptyArray=t=>A.array(t)&&t.length>0;A.emptyString=t=>A.string(t)&&t.length===0;var cbe=t=>A.string(t)&&!/\S/.test(t);A.emptyStringOrWhitespace=t=>A.emptyString(t)||cbe(t);A.nonEmptyString=t=>A.string(t)&&t.length>0;A.nonEmptyStringAndNotWhitespace=t=>A.string(t)&&!A.emptyStringOrWhitespace(t);A.emptyObject=t=>A.object(t)&&!A.map(t)&&!A.set(t)&&Object.keys(t).length===0;A.nonEmptyObject=t=>A.object(t)&&!A.map(t)&&!A.set(t)&&Object.keys(t).length>0;A.emptySet=t=>A.set(t)&&t.size===0;A.nonEmptySet=t=>A.set(t)&&t.size>0;A.emptyMap=t=>A.map(t)&&t.size===0;A.nonEmptyMap=t=>A.map(t)&&t.size>0;A.propertyKey=t=>A.any([A.string,A.number,A.symbol],t);A.formData=t=>un("FormData")(t);A.urlSearchParams=t=>un("URLSearchParams")(t);var bq=(t,e,n)=>{if(!A.function_(e))throw new TypeError(`Invalid predicate: ${JSON.stringify(e)}`);if(n.length===0)throw new TypeError("Invalid number of values");return t.call(n,e)};A.any=(t,...e)=>(A.array(t)?t:[t]).some(r=>bq(Array.prototype.some,r,e));A.all=(t,...e)=>bq(Array.prototype.every,t,e);var fe=(t,e,n,r={})=>{if(!t){let{multipleValues:i}=r,o=i?`received values of types ${[...new Set(n.map(a=>`\`${A(a)}\``))].join(", ")}`:`received value of type \`${A(n)}\``;throw new TypeError(`Expected value which is \`${e}\`, ${o}.`)}};wl.assert={undefined:t=>fe(A.undefined(t),"undefined",t),string:t=>fe(A.string(t),"string",t),number:t=>fe(A.number(t),"number",t),bigint:t=>fe(A.bigint(t),"bigint",t),function_:t=>fe(A.function_(t),"Function",t),null_:t=>fe(A.null_(t),"null",t),class_:t=>fe(A.class_(t),"Class",t),boolean:t=>fe(A.boolean(t),"boolean",t),symbol:t=>fe(A.symbol(t),"symbol",t),numericString:t=>fe(A.numericString(t),"string with a number",t),array:(t,e)=>{fe(A.array(t),"Array",t),e&&t.forEach(e)},buffer:t=>fe(A.buffer(t),"Buffer",t),blob:t=>fe(A.blob(t),"Blob",t),nullOrUndefined:t=>fe(A.nullOrUndefined(t),"null or undefined",t),object:t=>fe(A.object(t),"Object",t),iterable:t=>fe(A.iterable(t),"Iterable",t),asyncIterable:t=>fe(A.asyncIterable(t),"AsyncIterable",t),generator:t=>fe(A.generator(t),"Generator",t),asyncGenerator:t=>fe(A.asyncGenerator(t),"AsyncGenerator",t),nativePromise:t=>fe(A.nativePromise(t),"native Promise",t),promise:t=>fe(A.promise(t),"Promise",t),generatorFunction:t=>fe(A.generatorFunction(t),"GeneratorFunction",t),asyncGeneratorFunction:t=>fe(A.asyncGeneratorFunction(t),"AsyncGeneratorFunction",t),asyncFunction:t=>fe(A.asyncFunction(t),"AsyncFunction",t),boundFunction:t=>fe(A.boundFunction(t),"Function",t),regExp:t=>fe(A.regExp(t),"RegExp",t),date:t=>fe(A.date(t),"Date",t),error:t=>fe(A.error(t),"Error",t),map:t=>fe(A.map(t),"Map",t),set:t=>fe(A.set(t),"Set",t),weakMap:t=>fe(A.weakMap(t),"WeakMap",t),weakSet:t=>fe(A.weakSet(t),"WeakSet",t),int8Array:t=>fe(A.int8Array(t),"Int8Array",t),uint8Array:t=>fe(A.uint8Array(t),"Uint8Array",t),uint8ClampedArray:t=>fe(A.uint8ClampedArray(t),"Uint8ClampedArray",t),int16Array:t=>fe(A.int16Array(t),"Int16Array",t),uint16Array:t=>fe(A.uint16Array(t),"Uint16Array",t),int32Array:t=>fe(A.int32Array(t),"Int32Array",t),uint32Array:t=>fe(A.uint32Array(t),"Uint32Array",t),float32Array:t=>fe(A.float32Array(t),"Float32Array",t),float64Array:t=>fe(A.float64Array(t),"Float64Array",t),bigInt64Array:t=>fe(A.bigInt64Array(t),"BigInt64Array",t),bigUint64Array:t=>fe(A.bigUint64Array(t),"BigUint64Array",t),arrayBuffer:t=>fe(A.arrayBuffer(t),"ArrayBuffer",t),sharedArrayBuffer:t=>fe(A.sharedArrayBuffer(t),"SharedArrayBuffer",t),dataView:t=>fe(A.dataView(t),"DataView",t),enumCase:(t,e)=>fe(A.enumCase(t,e),"EnumCase",t),urlInstance:t=>fe(A.urlInstance(t),"URL",t),urlString:t=>fe(A.urlString(t),"string with a URL",t),truthy:t=>fe(A.truthy(t),"truthy",t),falsy:t=>fe(A.falsy(t),"falsy",t),nan:t=>fe(A.nan(t),"NaN",t),primitive:t=>fe(A.primitive(t),"primitive",t),integer:t=>fe(A.integer(t),"integer",t),safeInteger:t=>fe(A.safeInteger(t),"integer",t),plainObject:t=>fe(A.plainObject(t),"plain object",t),typedArray:t=>fe(A.typedArray(t),"TypedArray",t),arrayLike:t=>fe(A.arrayLike(t),"array-like",t),domElement:t=>fe(A.domElement(t),"HTMLElement",t),observable:t=>fe(A.observable(t),"Observable",t),nodeStream:t=>fe(A.nodeStream(t),"Node.js Stream",t),infinite:t=>fe(A.infinite(t),"infinite number",t),emptyArray:t=>fe(A.emptyArray(t),"empty array",t),nonEmptyArray:t=>fe(A.nonEmptyArray(t),"non-empty array",t),emptyString:t=>fe(A.emptyString(t),"empty string",t),emptyStringOrWhitespace:t=>fe(A.emptyStringOrWhitespace(t),"empty string or whitespace",t),nonEmptyString:t=>fe(A.nonEmptyString(t),"non-empty string",t),nonEmptyStringAndNotWhitespace:t=>fe(A.nonEmptyStringAndNotWhitespace(t),"non-empty string and not whitespace",t),emptyObject:t=>fe(A.emptyObject(t),"empty object",t),nonEmptyObject:t=>fe(A.nonEmptyObject(t),"non-empty object",t),emptySet:t=>fe(A.emptySet(t),"empty set",t),nonEmptySet:t=>fe(A.nonEmptySet(t),"non-empty set",t),emptyMap:t=>fe(A.emptyMap(t),"empty map",t),nonEmptyMap:t=>fe(A.nonEmptyMap(t),"non-empty map",t),propertyKey:t=>fe(A.propertyKey(t),"PropertyKey",t),formData:t=>fe(A.formData(t),"FormData",t),urlSearchParams:t=>fe(A.urlSearchParams(t),"URLSearchParams",t),evenInteger:t=>fe(A.evenInteger(t),"even integer",t),oddInteger:t=>fe(A.oddInteger(t),"odd integer",t),directInstanceOf:(t,e)=>fe(A.directInstanceOf(t,e),"T",t),inRange:(t,e)=>fe(A.inRange(t,e),"in range",t),any:(t,...e)=>fe(A.any(t,...e),"predicate returns truthy for any value",e,{multipleValues:!0}),all:(t,...e)=>fe(A.all(t,...e),"predicate returns truthy for all values",e,{multipleValues:!0})};Object.defineProperties(A,{class:{value:A.class_},function:{value:A.function_},null:{value:A.null_}});Object.defineProperties(wl.assert,{class:{value:wl.assert.class_},function:{value:wl.assert.function_},null:{value:wl.assert.null_}});wl.default=A;mC.exports=A;mC.exports.default=A;mC.exports.assert=wl.assert});var wq=Ms((PGe,dbe)=>{dbe.exports={grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"\u{1F600}",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"\u{1F62C}",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"\u{1F601}",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"\u{1F602}",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"\u{1F923}",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"\u{1F973}",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"\u{1F603}",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"\u{1F604}",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"\u{1F605}",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"\u{1F606}",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"\u{1F607}",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"\u{1F609}",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"\u{1F60A}",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"\u{1F642}",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"\u{1F643}",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"\u263A\uFE0F",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"\u{1F60B}",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"\u{1F60C}",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"\u{1F60D}",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"\u{1F970}",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1F618}",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"\u{1F617}",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"\u{1F619}",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\u{1F61A}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"\u{1F61C}",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"\u{1F92A}",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"\u{1F928}",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"\u{1F9D0}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"\u{1F61D}",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"\u{1F61B}",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"\u{1F911}",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"\u{1F913}",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"\u{1F60E}",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"\u{1F929}",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"\u{1F921}",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"\u{1F920}",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"\u{1F917}",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"\u{1F60F}",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"\u{1F636}",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"\u{1F610}",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"\u{1F611}",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"\u{1F612}",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"\u{1F644}",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"\u{1F914}",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"\u{1F925}",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"\u{1F92D}",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"\u{1F92B}",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"\u{1F92C}",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"\u{1F92F}",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"\u{1F633}",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"\u{1F61E}",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"\u{1F61F}",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"\u{1F620}",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"\u{1F621}",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"\u{1F614}",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"\u{1F615}",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"\u{1F641}",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"\u2639",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"\u{1F623}",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"\u{1F616}",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"\u{1F62B}",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"\u{1F629}",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"\u{1F97A}",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"\u{1F624}",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"\u{1F62E}",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"\u{1F631}",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"\u{1F628}",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"\u{1F630}",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"\u{1F62F}",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"\u{1F626}",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"\u{1F627}",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"\u{1F622}",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"\u{1F625}",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"\u{1F924}",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"\u{1F62A}",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"\u{1F613}",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"\u{1F975}",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"\u{1F976}",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"\u{1F62D}",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"\u{1F635}",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"\u{1F632}",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"\u{1F910}",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"\u{1F922}",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"\u{1F927}",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"\u{1F92E}",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"\u{1F637}",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"\u{1F912}",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"\u{1F915}",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"\u{1F974}",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"\u{1F634}",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"\u{1F4A4}",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"\u{1F4A9}",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"\u{1F608}",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"\u{1F47F}",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"\u{1F479}",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"\u{1F47A}",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"\u{1F480}",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"\u{1F47B}",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"\u{1F47D}",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"\u{1F916}",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"\u{1F63A}",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"\u{1F638}",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"\u{1F639}",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"\u{1F63B}",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"\u{1F63C}",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"\u{1F63D}",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"\u{1F640}",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"\u{1F63F}",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"\u{1F63E}",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"\u{1F932}",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"\u{1F64C}",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"\u{1F44F}",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"\u{1F44B}",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"\u{1F919}",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"\u{1F44D}",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"\u{1F44E}",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"\u{1F44A}",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"\u270A",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"\u{1F91B}",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"\u{1F91C}",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"\u270C",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"\u{1F44C}",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"\u270B",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"\u{1F91A}",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"\u{1F450}",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"\u{1F4AA}",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"\u{1F64F}",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"\u{1F9B6}",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"\u{1F9B5}",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"\u{1F91D}",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"\u261D",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"\u{1F446}",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"\u{1F447}",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"\u{1F448}",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"\u{1F449}",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"\u{1F595}",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"\u{1F590}",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"\u{1F91F}",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"\u{1F918}",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"\u{1F91E}",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"\u{1F596}",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"\u270D",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"\u{1F933}",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"\u{1F485}",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"\u{1F444}",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"\u{1F9B7}",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"\u{1F445}",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"\u{1F442}",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"\u{1F443}",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"\u{1F441}",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"\u{1F440}",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"\u{1F9E0}",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"\u{1F464}",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"\u{1F465}",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"\u{1F5E3}",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"\u{1F476}",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"\u{1F9D2}",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"\u{1F466}",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"\u{1F467}",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"\u{1F9D1}",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"\u{1F468}",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"\u{1F469}",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"\u{1F471}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"\u{1F471}",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"\u{1F9D4}",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"\u{1F9D3}",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"\u{1F474}",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"\u{1F475}",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"\u{1F472}",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"\u{1F9D5}",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"\u{1F473}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"\u{1F473}",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"\u{1F46E}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"\u{1F46E}",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"\u{1F477}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"\u{1F477}",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"\u{1F482}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"\u{1F482}",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"\u{1F575}\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"\u{1F575}",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"\u{1F469}\u200D\u2695\uFE0F",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"\u{1F468}\u200D\u2695\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"\u{1F469}\u200D\u{1F33E}",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"\u{1F468}\u200D\u{1F33E}",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"\u{1F469}\u200D\u{1F373}",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"\u{1F468}\u200D\u{1F373}",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"\u{1F469}\u200D\u{1F393}",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"\u{1F468}\u200D\u{1F393}",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"\u{1F469}\u200D\u{1F3A4}",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"\u{1F468}\u200D\u{1F3A4}",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"\u{1F469}\u200D\u{1F3EB}",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"\u{1F468}\u200D\u{1F3EB}",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"\u{1F469}\u200D\u{1F3ED}",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"\u{1F468}\u200D\u{1F3ED}",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"\u{1F469}\u200D\u{1F4BB}",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"\u{1F468}\u200D\u{1F4BB}",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"\u{1F469}\u200D\u{1F4BC}",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"\u{1F468}\u200D\u{1F4BC}",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"\u{1F469}\u200D\u{1F527}",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"\u{1F468}\u200D\u{1F527}",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"\u{1F469}\u200D\u{1F52C}",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"\u{1F468}\u200D\u{1F52C}",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"\u{1F469}\u200D\u{1F3A8}",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"\u{1F468}\u200D\u{1F3A8}",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"\u{1F469}\u200D\u{1F692}",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"\u{1F468}\u200D\u{1F692}",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"\u{1F469}\u200D\u2708\uFE0F",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"\u{1F468}\u200D\u2708\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"\u{1F469}\u200D\u{1F680}",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"\u{1F468}\u200D\u{1F680}",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"\u{1F469}\u200D\u2696\uFE0F",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"\u{1F468}\u200D\u2696\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"\u{1F9B8}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"\u{1F9B8}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"\u{1F9B9}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"\u{1F9B9}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"\u{1F936}",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"\u{1F385}",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"\u{1F9D9}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"\u{1F9D9}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"\u{1F9DD}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"\u{1F9DD}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"\u{1F9DB}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"\u{1F9DB}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"\u{1F9DF}\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"\u{1F9DF}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"\u{1F9DE}\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"\u{1F9DE}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"\u{1F9DC}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"\u{1F9DC}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"\u{1F9DA}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"\u{1F9DA}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"\u{1F47C}",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"\u{1F930}",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"\u{1F931}",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"\u{1F478}",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"\u{1F934}",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"\u{1F470}",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"\u{1F935}",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"\u{1F3C3}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"\u{1F3C3}",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"\u{1F6B6}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"\u{1F6B6}",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"\u{1F483}",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"\u{1F57A}",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"\u{1F46F}",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"\u{1F46F}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"\u{1F46B}",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"\u{1F46C}",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"\u{1F46D}",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"\u{1F647}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"\u{1F647}",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"\u{1F926}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"\u{1F926}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"\u{1F937}",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"\u{1F937}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"\u{1F481}",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"\u{1F481}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"\u{1F645}",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"\u{1F645}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"\u{1F646}",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"\u{1F646}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"\u{1F64B}",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"\u{1F64B}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"\u{1F64E}",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"\u{1F64E}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"\u{1F64D}",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"\u{1F64D}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"\u{1F487}",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"\u{1F487}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"\u{1F486}",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"\u{1F486}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"\u{1F9D6}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"\u{1F9D6}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1F491}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1F48F}",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"\u{1F46A}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"\u{1F469}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"\u{1F469}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"\u{1F468}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"\u{1F468}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"\u{1F9F6}",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"\u{1F9F5}",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"\u{1F9E5}",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"\u{1F97C}",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"\u{1F45A}",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"\u{1F455}",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"\u{1F456}",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"\u{1F454}",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"\u{1F457}",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"\u{1F459}",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"\u{1F458}",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"\u{1F484}",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"\u{1F48B}",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"\u{1F463}",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"\u{1F97F}",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"\u{1F460}",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"\u{1F461}",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"\u{1F462}",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"\u{1F45E}",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"\u{1F45F}",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"\u{1F97E}",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"\u{1F9E6}",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"\u{1F9E4}",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"\u{1F9E3}",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"\u{1F452}",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"\u{1F3A9}",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"\u{1F9E2}",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"\u26D1",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"\u{1F393}",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"\u{1F451}",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"\u{1F392}",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"\u{1F9F3}",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"\u{1F45D}",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"\u{1F45B}",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"\u{1F45C}",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"\u{1F4BC}",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"\u{1F453}",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"\u{1F576}",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"\u{1F97D}",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"\u{1F48D}",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"\u{1F302}",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"\u{1F436}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"\u{1F431}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"\u{1F42D}",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"\u{1F439}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"\u{1F430}",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"\u{1F98A}",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"\u{1F43B}",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"\u{1F43C}",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"\u{1F428}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"\u{1F42F}",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"\u{1F981}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1F42E}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"\u{1F437}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"\u{1F43D}",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"\u{1F438}",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"\u{1F991}",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"\u{1F419}",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"\u{1F990}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"\u{1F435}",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"\u{1F98D}",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"\u{1F648}",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"\u{1F649}",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"\u{1F64A}",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"\u{1F412}",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"\u{1F414}",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"\u{1F427}",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"\u{1F426}",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"\u{1F424}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"\u{1F423}",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"\u{1F425}",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"\u{1F986}",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"\u{1F985}",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"\u{1F989}",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"\u{1F987}",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"\u{1F43A}",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"\u{1F417}",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"\u{1F434}",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"\u{1F984}",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"\u{1F41D}",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"\u{1F41B}",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"\u{1F98B}",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"\u{1F40C}",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"\u{1F41E}",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"\u{1F41C}",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"\u{1F997}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"\u{1F577}",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"\u{1F982}",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"\u{1F980}",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"\u{1F40D}",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"\u{1F98E}",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"\u{1F996}",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"\u{1F995}",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"\u{1F422}",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"\u{1F420}",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"\u{1F41F}",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"\u{1F421}",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"\u{1F42C}",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"\u{1F988}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"\u{1F433}",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"\u{1F40B}",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"\u{1F40A}",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"\u{1F406}",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"\u{1F993}",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"\u{1F405}",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"\u{1F403}",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"\u{1F402}",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\u{1F404}",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"\u{1F98C}",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"\u{1F42A}",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"\u{1F42B}",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"\u{1F992}",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"\u{1F418}",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"\u{1F98F}",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"\u{1F410}",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"\u{1F40F}",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"\u{1F411}",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"\u{1F40E}",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"\u{1F416}",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"\u{1F400}",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"\u{1F401}",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"\u{1F413}",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"\u{1F983}",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"\u{1F54A}",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"\u{1F415}",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"\u{1F429}",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"\u{1F408}",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"\u{1F407}",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"\u{1F43F}",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"\u{1F994}",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"\u{1F99D}",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"\u{1F999}",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"\u{1F99B}",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"\u{1F998}",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"\u{1F9A1}",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"\u{1F9A2}",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"\u{1F99A}",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"\u{1F99C}",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"\u{1F99E}",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"\u{1F99F}",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"\u{1F43E}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1F409}",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"\u{1F432}",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"\u{1F335}",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"\u{1F384}",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"\u{1F332}",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"\u{1F333}",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"\u{1F334}",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"\u{1F331}",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"\u{1F33F}",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"\u2618",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"\u{1F340}",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"\u{1F38D}",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"\u{1F38B}",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"\u{1F343}",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"\u{1F342}",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"\u{1F341}",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"\u{1F33E}",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"\u{1F33A}",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"\u{1F33B}",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"\u{1F339}",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"\u{1F940}",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"\u{1F337}",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"\u{1F33C}",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"\u{1F338}",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"\u{1F490}",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"\u{1F344}",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"\u{1F330}",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"\u{1F383}",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"\u{1F41A}",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"\u{1F578}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"\u{1F30E}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"\u{1F30D}",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"\u{1F30F}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"\u{1F315}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"\u{1F316}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F317}",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F318}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F311}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F312}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F313}",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"\u{1F314}",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31A}",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31D}",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31B}",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\u{1F31C}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"\u{1F31E}",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"\u{1F319}",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"\u2B50",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"\u{1F31F}",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"\u{1F4AB}",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"\u2728",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"\u2604",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"\u2600\uFE0F",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"\u{1F324}",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"\u26C5",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"\u{1F325}",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"\u{1F326}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"\u2601\uFE0F",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"\u{1F327}",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"\u26C8",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"\u{1F329}",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"\u26A1",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"\u{1F525}",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"\u{1F4A5}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"\u2744\uFE0F",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"\u{1F328}",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"\u26C4",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"\u2603",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"\u{1F32C}",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"\u{1F4A8}",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"\u{1F32A}",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"\u{1F32B}",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"\u2602",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"\u2614",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"\u{1F4A7}",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"\u{1F4A6}",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"\u{1F30A}",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"\u{1F34F}",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"\u{1F34E}",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"\u{1F350}",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"\u{1F34A}",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"\u{1F34B}",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"\u{1F34C}",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"\u{1F349}",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"\u{1F347}",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"\u{1F353}",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"\u{1F348}",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"\u{1F352}",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"\u{1F351}",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"\u{1F34D}",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"\u{1F965}",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"\u{1F95D}",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"\u{1F96D}",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"\u{1F951}",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"\u{1F966}",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"\u{1F345}",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"\u{1F346}",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"\u{1F952}",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"\u{1F955}",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"\u{1F336}",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"\u{1F954}",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"\u{1F33D}",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"\u{1F96C}",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"\u{1F360}",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"\u{1F95C}",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"\u{1F36F}",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"\u{1F950}",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"\u{1F35E}",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"\u{1F956}",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"\u{1F96F}",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"\u{1F968}",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"\u{1F9C0}",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"\u{1F95A}",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"\u{1F953}",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"\u{1F969}",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"\u{1F95E}",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"\u{1F357}",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"\u{1F356}",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"\u{1F9B4}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"\u{1F364}",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"\u{1F373}",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"\u{1F354}",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"\u{1F35F}",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"\u{1F959}",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"\u{1F32D}",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"\u{1F355}",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"\u{1F96A}",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"\u{1F96B}",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"\u{1F35D}",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"\u{1F32E}",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"\u{1F32F}",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"\u{1F957}",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"\u{1F958}",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"\u{1F35C}",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"\u{1F372}",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"\u{1F365}",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"\u{1F960}",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"\u{1F363}",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"\u{1F371}",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"\u{1F35B}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"\u{1F359}",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"\u{1F35A}",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"\u{1F358}",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"\u{1F362}",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"\u{1F361}",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"\u{1F367}",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"\u{1F368}",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"\u{1F366}",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"\u{1F967}",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"\u{1F370}",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"\u{1F9C1}",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"\u{1F96E}",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"\u{1F382}",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"\u{1F36E}",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"\u{1F36C}",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"\u{1F36D}",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"\u{1F36B}",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"\u{1F37F}",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"\u{1F95F}",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"\u{1F369}",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"\u{1F36A}",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"\u{1F95B}",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1F37A}",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\u{1F37B}",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"\u{1F942}",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"\u{1F377}",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"\u{1F943}",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"\u{1F378}",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"\u{1F379}",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"\u{1F37E}",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"\u{1F376}",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"\u{1F375}",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"\u{1F964}",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"\u2615",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"\u{1F37C}",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"\u{1F9C2}",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"\u{1F944}",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"\u{1F374}",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"\u{1F37D}",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"\u{1F963}",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"\u{1F961}",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"\u{1F962}",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"\u26BD",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"\u{1F3C0}",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"\u{1F3C8}",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"\u26BE",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"\u{1F94E}",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"\u{1F3BE}",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"\u{1F3D0}",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"\u{1F3C9}",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"\u{1F94F}",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"\u{1F3B1}",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"\u26F3",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"\u{1F3CC}",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"\u{1F3D3}",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"\u{1F3F8}",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"\u{1F945}",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"\u{1F3D2}",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"\u{1F3D1}",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"\u{1F94D}",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"\u{1F3CF}",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"\u{1F3BF}",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"\u26F7",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"\u{1F3C2}",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"\u{1F93A}",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"\u{1F93C}\u200D\u2640\uFE0F",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"\u{1F93C}\u200D\u2642\uFE0F",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"\u{1F938}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"\u{1F938}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"\u{1F93E}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"\u{1F93E}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"\u26F8",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"\u{1F94C}",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"\u{1F6F9}",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"\u{1F6F7}",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"\u{1F3F9}",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"\u{1F3A3}",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"\u{1F94A}",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"\u{1F94B}",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"\u{1F6A3}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"\u{1F6A3}",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"\u{1F9D7}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"\u{1F9D7}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"\u{1F3CA}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"\u{1F3CA}",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"\u{1F93D}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"\u{1F93D}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1F9D8}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"\u{1F9D8}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"\u{1F3C4}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"\u{1F3C4}",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"\u{1F6C0}",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"\u26F9\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"\u26F9",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"\u{1F3CB}",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"\u{1F6B4}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"\u{1F6B4}",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"\u{1F6B5}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"\u{1F6B5}",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"\u{1F3C7}",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"\u{1F574}",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"\u{1F3C6}",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"\u{1F3BD}",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"\u{1F3C5}",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"\u{1F396}",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"\u{1F947}",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"\u{1F948}",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"\u{1F949}",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"\u{1F397}",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"\u{1F3F5}",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"\u{1F3AB}",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"\u{1F39F}",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"\u{1F3AD}",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"\u{1F3A8}",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"\u{1F3AA}",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1F939}\u200D\u2640\uFE0F",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\u{1F939}\u200D\u2642\uFE0F",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"\u{1F3A4}",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"\u{1F3A7}",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"\u{1F3BC}",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"\u{1F3B9}",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"\u{1F941}",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"\u{1F3B7}",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"\u{1F3BA}",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"\u{1F3B8}",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"\u{1F3BB}",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"\u{1F3AC}",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"\u{1F3AE}",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"\u{1F47E}",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"\u{1F3AF}",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"\u{1F3B2}",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265F",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"\u{1F3B0}",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"\u{1F9E9}",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"\u{1F3B3}",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"\u{1F697}",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"\u{1F695}",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"\u{1F699}",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"\u{1F68C}",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"\u{1F68E}",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"\u{1F3CE}",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"\u{1F693}",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"\u{1F691}",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"\u{1F692}",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"\u{1F690}",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"\u{1F69A}",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"\u{1F69B}",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"\u{1F69C}",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"\u{1F6F4}",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"\u{1F3CD}",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"\u{1F6B2}",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"\u{1F6F5}",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"\u{1F6A8}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"\u{1F694}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"\u{1F68D}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"\u{1F698}",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"\u{1F696}",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"\u{1F6A1}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"\u{1F6A0}",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"\u{1F69F}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"\u{1F683}",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"\u{1F68B}",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"\u{1F69D}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"\u{1F684}",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"\u{1F685}",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"\u{1F688}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"\u{1F69E}",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"\u{1F682}",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"\u{1F686}",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"\u{1F687}",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"\u{1F68A}",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"\u{1F689}",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"\u{1F6F8}",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"\u{1F681}",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"\u{1F6E9}",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"\u2708\uFE0F",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"\u{1F6EB}",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"\u{1F6EC}",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"\u26F5",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"\u{1F6E5}",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"\u{1F6A4}",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"\u26F4",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"\u{1F6F3}",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"\u{1F680}",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"\u{1F6F0}",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"\u{1F4BA}",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"\u{1F6F6}",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"\u2693",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"\u{1F6A7}",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"\u26FD",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"\u{1F68F}",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"\u{1F6A6}",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"\u{1F6A5}",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"\u{1F3C1}",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"\u{1F6A2}",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"\u{1F3A1}",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"\u{1F3A2}",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"\u{1F3A0}",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"\u{1F3D7}",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"\u{1F301}",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"\u{1F5FC}",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"\u{1F3ED}",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"\u26F2",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"\u{1F391}",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"\u26F0",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"\u{1F3D4}",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"\u{1F5FB}",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"\u{1F30B}",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"\u{1F5FE}",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"\u{1F3D5}",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"\u26FA",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"\u{1F3DE}",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"\u{1F6E3}",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"\u{1F6E4}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"\u{1F305}",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"\u{1F304}",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"\u{1F3DC}",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"\u{1F3D6}",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"\u{1F3DD}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"\u{1F307}",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"\u{1F306}",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"\u{1F3D9}",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"\u{1F303}",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"\u{1F309}",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"\u{1F30C}",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"\u{1F320}",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"\u{1F387}",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"\u{1F386}",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"\u{1F308}",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"\u{1F3D8}",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"\u{1F3F0}",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"\u{1F3EF}",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"\u{1F3DF}",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"\u{1F5FD}",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"\u{1F3E0}",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"\u{1F3E1}",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"\u{1F3DA}",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"\u{1F3E2}",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"\u{1F3EC}",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"\u{1F3E3}",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"\u{1F3E4}",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"\u{1F3E5}",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"\u{1F3E6}",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"\u{1F3E8}",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"\u{1F3EA}",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"\u{1F3EB}",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"\u{1F3E9}",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"\u{1F492}",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"\u{1F3DB}",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"\u26EA",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"\u{1F54C}",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"\u{1F54D}",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"\u{1F54B}",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"\u26E9",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"\u231A",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"\u{1F4F1}",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"\u{1F4F2}",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"\u{1F4BB}",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"\u2328",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"\u{1F5A5}",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"\u{1F5A8}",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"\u{1F5B1}",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"\u{1F5B2}",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"\u{1F579}",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"\u{1F5DC}",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"\u{1F4BD}",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"\u{1F4BE}",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"\u{1F4BF}",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"\u{1F4C0}",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"\u{1F4FC}",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"\u{1F4F7}",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"\u{1F4F8}",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"\u{1F4F9}",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"\u{1F3A5}",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"\u{1F4FD}",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"\u{1F39E}",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"\u{1F4DE}",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"\u260E\uFE0F",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"\u{1F4DF}",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"\u{1F4E0}",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"\u{1F4FA}",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"\u{1F4FB}",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"\u{1F399}",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"\u{1F39A}",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"\u{1F39B}",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"\u{1F9ED}",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"\u23F1",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"\u23F2",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"\u23F0",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"\u{1F570}",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"\u23F3",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"\u231B",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"\u{1F4E1}",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"\u{1F50B}",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"\u{1F50C}",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"\u{1F4A1}",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"\u{1F526}",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"\u{1F56F}",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"\u{1F9EF}",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"\u{1F5D1}",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"\u{1F6E2}",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"\u{1F4B8}",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"\u{1F4B5}",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"\u{1F4B4}",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"\u{1F4B6}",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"\u{1F4B7}",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"\u{1F4B0}",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"\u{1F4B3}",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"\u{1F48E}",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"\u2696",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"\u{1F9F0}",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"\u{1F527}",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"\u{1F528}",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"\u2692",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"\u{1F6E0}",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"\u26CF",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"\u{1F529}",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"\u2699",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"\u{1F9F1}",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"\u26D3",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"\u{1F9F2}",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"\u{1F52B}",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"\u{1F4A3}",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"\u{1F9E8}",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"\u{1F52A}",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"\u{1F5E1}",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"\u2694",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"\u{1F6E1}",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"\u{1F6AC}",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"\u2620",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"\u26B0",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"\u26B1",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"\u{1F3FA}",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"\u{1F52E}",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"\u{1F4FF}",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"\u{1F9FF}",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"\u{1F488}",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"\u2697",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"\u{1F52D}",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"\u{1F52C}",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"\u{1F573}",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"\u{1F48A}",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"\u{1F489}",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"\u{1F9EC}",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"\u{1F9A0}",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"\u{1F9EB}",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"\u{1F9EA}",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"\u{1F321}",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"\u{1F9F9}",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"\u{1F9FA}",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"\u{1F9FB}",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"\u{1F3F7}",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"\u{1F516}",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"\u{1F6BD}",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"\u{1F6BF}",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"\u{1F6C1}",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"\u{1F9FC}",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"\u{1F9FD}",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"\u{1F9F4}",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"\u{1F511}",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"\u{1F5DD}",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"\u{1F6CB}",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"\u{1F6CC}",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"\u{1F6CF}",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"\u{1F6AA}",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"\u{1F6CE}",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"\u{1F9F8}",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"\u{1F5BC}",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"\u{1F5FA}",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"\u26F1",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"\u{1F5FF}",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"\u{1F6CD}",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"\u{1F6D2}",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"\u{1F388}",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"\u{1F38F}",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"\u{1F380}",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"\u{1F381}",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"\u{1F38A}",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"\u{1F389}",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"\u{1F38E}",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"\u{1F390}",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"\u{1F38C}",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"\u{1F3EE}",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"\u{1F9E7}",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"\u2709\uFE0F",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"\u{1F4E9}",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"\u{1F4E8}",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"\u{1F4E7}",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"\u{1F48C}",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"\u{1F4EE}",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"\u{1F4EA}",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"\u{1F4EB}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"\u{1F4EC}",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"\u{1F4ED}",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"\u{1F4E6}",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"\u{1F4EF}",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"\u{1F4E5}",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"\u{1F4E4}",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"\u{1F4DC}",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"\u{1F4C3}",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"\u{1F4D1}",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"\u{1F9FE}",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"\u{1F4CA}",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"\u{1F4C8}",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"\u{1F4C9}",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"\u{1F4C4}",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"\u{1F4C5}",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"\u{1F4C6}",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"\u{1F5D3}",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"\u{1F4C7}",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"\u{1F5C3}",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"\u{1F5F3}",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"\u{1F5C4}",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"\u{1F4CB}",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"\u{1F5D2}",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"\u{1F4C1}",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"\u{1F4C2}",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"\u{1F5C2}",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"\u{1F5DE}",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"\u{1F4F0}",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"\u{1F4D3}",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"\u{1F4D5}",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"\u{1F4D7}",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"\u{1F4D8}",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"\u{1F4D9}",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"\u{1F4D4}",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"\u{1F4D2}",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"\u{1F4DA}",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"\u{1F4D6}",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"\u{1F9F7}",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"\u{1F517}",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"\u{1F4CE}",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"\u{1F587}",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"\u2702\uFE0F",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"\u{1F4D0}",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"\u{1F4CF}",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"\u{1F9EE}",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"\u{1F4CC}",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"\u{1F4CD}",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"\u{1F6A9}",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"\u{1F3F3}",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"\u{1F3F4}",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"\u{1F3F3}\uFE0F\u200D\u{1F308}",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"\u{1F510}",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"\u{1F512}",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"\u{1F513}",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"\u{1F50F}",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"\u{1F58A}",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"\u{1F58B}",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"\u2712\uFE0F",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"\u{1F4DD}",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"\u270F\uFE0F",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"\u{1F58D}",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"\u{1F58C}",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"\u{1F50D}",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"\u{1F50E}",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"\u2764\uFE0F",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F9E1}",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F49B}",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F49A}",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F499}",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F49C}",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"\u{1F5A4}",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"\u{1F494}",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"\u2763",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"\u{1F495}",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"\u{1F49E}",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"\u{1F493}",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"\u{1F497}",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"\u{1F496}",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"\u{1F498}",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"\u{1F49D}",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"\u{1F49F}",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"\u262E",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"\u271D",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"\u262A",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u{1F549}",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u2638",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"\u2721",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"\u{1F52F}",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"\u{1F54E}",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"\u262F",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"\u2626",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"\u{1F6D0}",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"\u26CE",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2648",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2649",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264A",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264B",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264C",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264D",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264E",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"\u264F",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2650",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2651",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2652",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2653",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"\u{1F194}",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"\u269B",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"\u{1F233}",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"\u{1F239}",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"\u2622",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"\u2623",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"\u{1F4F4}",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"\u{1F4F3}",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"\u{1F236}",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"\u{1F21A}",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"\u{1F238}",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"\u{1F23A}",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"\u{1F237}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"\u2734\uFE0F",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"\u{1F19A}",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"\u{1F251}",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"\u{1F4AE}",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"\u{1F250}",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"\u3299\uFE0F",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"\u3297\uFE0F",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"\u{1F234}",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"\u{1F235}",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"\u{1F232}",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"\u{1F170}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"\u{1F171}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"\u{1F18E}",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"\u{1F191}",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"\u{1F17E}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"\u{1F198}",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"\u26D4",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"\u{1F4DB}",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"\u{1F6AB}",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"\u274C",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"\u2B55",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"\u{1F6D1}",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"\u{1F4A2}",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"\u2668\uFE0F",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"\u{1F6B7}",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"\u{1F6AF}",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"\u{1F6B3}",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"\u{1F6B1}",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"\u{1F51E}",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"\u{1F4F5}",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"\u2757",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"\u2755",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"\u2753",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"\u2754",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"\u203C\uFE0F",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"\u2049\uFE0F",fitzpatrick_scale:!1,category:"symbols"},"100":{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"\u{1F4AF}",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"\u{1F505}",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"\u{1F506}",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"\u{1F531}",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"\u269C",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"\u303D\uFE0F",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"\u26A0\uFE0F",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"\u{1F6B8}",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"\u{1F530}",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"\u267B\uFE0F",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"\u{1F22F}",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"\u{1F4B9}",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"\u2747\uFE0F",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"\u2733\uFE0F",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"\u274E",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"\u2705",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"\u{1F4A0}",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"\u{1F300}",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"\u27BF",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"\u{1F310}",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"\u24C2\uFE0F",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"\u{1F3E7}",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"\u{1F202}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"\u{1F6C2}",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"\u{1F6C3}",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"\u{1F6C4}",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"\u{1F6C5}",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"\u267F",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"\u{1F6AD}",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"\u{1F6BE}",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"\u{1F17F}\uFE0F",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"\u{1F6B0}",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"\u{1F6B9}",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"\u{1F6BA}",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"\u{1F6BC}",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"\u{1F6BB}",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"\u{1F6AE}",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"\u{1F3A6}",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"\u{1F4F6}",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"\u{1F201}",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"\u{1F196}",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"\u{1F197}",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"\u{1F199}",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"\u{1F192}",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"\u{1F195}",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"\u{1F193}",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"\u{1F51F}",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*\u20E3",fitzpatrick_scale:!1,category:"symbols"},"1234":{keywords:["numbers","blue-square"],char:"\u{1F522}",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"\u23CF\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"\u25B6\uFE0F",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"\u23F8",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"\u23ED",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"\u23F9",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"\u23FA",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"\u23EF",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"\u23EE",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"\u23E9",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"\u23EA",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"\u{1F500}",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"\u{1F501}",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"\u{1F502}",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"\u25C0\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"\u{1F53C}",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"\u{1F53D}",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"\u23EB",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"\u23EC",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"\u27A1\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"\u2B05\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"\u2B06\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"\u2B07\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"\u2197\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"\u2198\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"\u2199\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"\u2196\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"\u2195\uFE0F",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"\u2194\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"\u{1F504}",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"\u21AA\uFE0F",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"\u21A9\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"\u2934\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"\u2935\uFE0F",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#\uFE0F\u20E3",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"\u2139\uFE0F",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"\u{1F524}",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"\u{1F521}",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"\u{1F520}",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"\u{1F523}",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"\u{1F3B5}",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"\u{1F3B6}",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"\u3030\uFE0F",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"\u27B0",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"\u2714\uFE0F",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"\u{1F503}",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"\u2795",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"\u2796",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"\u2797",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"\u2716\uFE0F",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"\u267E",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"\u{1F4B2}",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"\u{1F4B1}",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"\xA9\uFE0F",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"\xAE\uFE0F",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"\u2122\uFE0F",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"\u{1F51A}",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"\u{1F519}",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"\u{1F51B}",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"\u{1F51D}",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"\u{1F51C}",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"\u2611\uFE0F",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"\u{1F518}",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"\u26AA",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"\u26AB",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"\u{1F534}",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"\u{1F535}",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F538}",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F539}",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F536}",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"\u{1F537}",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"\u{1F53A}",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"\u25AA\uFE0F",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"\u25AB\uFE0F",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"\u2B1B",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"\u2B1C",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"\u{1F53B}",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"\u25FC\uFE0F",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"\u25FB\uFE0F",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"\u25FE",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"\u25FD",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"\u{1F532}",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"\u{1F533}",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"\u{1F508}",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"\u{1F509}",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"\u{1F50A}",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"\u{1F507}",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"\u{1F4E3}",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"\u{1F4E2}",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"\u{1F514}",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"\u{1F515}",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"\u{1F0CF}",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"\u{1F004}",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"\u2660\uFE0F",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"\u2663\uFE0F",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"\u2665\uFE0F",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"\u2666\uFE0F",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"\u{1F3B4}",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"\u{1F4AD}",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"\u{1F5EF}",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"\u{1F4AC}",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"\u{1F5E8}",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"\u{1F550}",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"\u{1F551}",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"\u{1F552}",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"\u{1F553}",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"\u{1F554}",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"\u{1F555}",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"\u{1F556}",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"\u{1F557}",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"\u{1F558}",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"\u{1F559}",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"\u{1F55A}",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"\u{1F55B}",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"\u{1F55C}",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"\u{1F55D}",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"\u{1F55E}",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"\u{1F55F}",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"\u{1F560}",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"\u{1F561}",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"\u{1F562}",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"\u{1F563}",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"\u{1F564}",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"\u{1F565}",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"\u{1F566}",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"\u{1F567}",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xC5land","islands","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"\u{1F1E8}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xE7ao","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"\u{1F1E9}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"\u{1F1EA}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"\u{1F1EB}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"\u{1F1E9}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"\u{1F1ED}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"\u{1F1EE}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"\u{1F1EF}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"\u{1F1EF}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"\u{1F1EF}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"\u{1F1EF}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"\u{1F1FD}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F6}",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"\u{1F1FE}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"\u{1F1EB}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"\u{1F1F2}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"\u{1F1F0}\u{1F1F5}",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"\u{1F1F3}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"\u{1F1F4}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"\u{1F1F6}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xE9union","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xE9lemy","flag","nation","country","banner"],char:"\u{1F1E7}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"\u{1F1F0}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"\u{1F1F5}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"\u{1F1FC}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"\u{1F1F7}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FD}",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"\u{1F1FF}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"\u{1F1EC}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"\u{1F1F0}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"\u{1F1F1}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1E9}",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"\u{1F1E8}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"\u{1F1F8}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1EF}",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F1}",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F0}",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F4}",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F9}",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F7}",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1E8}",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"\u{1F1F9}\u{1F1FB}",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1EC}",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"\u{1F1E6}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"\u{1F1EC}\u{1F1E7}",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1F8}",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1EE}",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1FE}",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"\u{1F1FA}\u{1F1FF}",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1FA}",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1E6}",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"\u{1F1FB}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"\u{1F1FC}\u{1F1EB}",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"\u{1F1EA}\u{1F1ED}",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"\u{1F1FE}\u{1F1EA}",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"\u{1F1FF}\u{1F1F2}",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"\u{1F1FF}\u{1F1FC}",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"\u{1F1FA}\u{1F1F3}",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"\u{1F3F4}\u200D\u2620\uFE0F",fitzpatrick_scale:!1,category:"flags"}}});var vq=Ms((FGe,ube)=>{ube.exports=["grinning","smiley","smile","grin","laughing","sweat_smile","joy","rofl","relaxed","blush","innocent","slightly_smiling_face","upside_down_face","wink","relieved","heart_eyes","smiling_face_with_three_hearts","kissing_heart","kissing","kissing_smiling_eyes","kissing_closed_eyes","yum","stuck_out_tongue","stuck_out_tongue_closed_eyes","stuck_out_tongue_winking_eye","zany","raised_eyebrow","monocle","nerd_face","sunglasses","star_struck","partying","smirk","unamused","disappointed","pensive","worried","confused","slightly_frowning_face","frowning_face","persevere","confounded","tired_face","weary","pleading","cry","sob","triumph","angry","rage","symbols_over_mouth","exploding_head","flushed","hot","cold","scream","fearful","cold_sweat","disappointed_relieved","sweat","hugs","thinking","hand_over_mouth","shushing","lying_face","no_mouth","neutral_face","expressionless","grimacing","roll_eyes","hushed","frowning","anguished","open_mouth","astonished","sleeping","drooling_face","sleepy","dizzy_face","zipper_mouth_face","woozy","nauseated_face","vomiting","sneezing_face","mask","face_with_thermometer","face_with_head_bandage","money_mouth_face","cowboy_hat_face","smiling_imp","imp","japanese_ogre","japanese_goblin","clown_face","poop","ghost","skull","skull_and_crossbones","alien","space_invader","robot","jack_o_lantern","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","palms_up","open_hands","raised_hands","clap","handshake","+1","-1","facepunch","fist","fist_left","fist_right","crossed_fingers","v","love_you","metal","ok_hand","point_left","point_right","point_up","point_down","point_up_2","raised_hand","raised_back_of_hand","raised_hand_with_fingers_splayed","vulcan_salute","wave","call_me_hand","muscle","fu","writing_hand","pray","foot","leg","ring","lipstick","kiss","lips","tooth","tongue","ear","nose","footprints","eye","eyes","brain","speaking_head","bust_in_silhouette","busts_in_silhouette","baby","girl","child","boy","woman","adult","man","blonde_woman","blonde_man","bearded_person","older_woman","older_adult","older_man","man_with_gua_pi_mao","woman_with_headscarf","woman_with_turban","man_with_turban","policewoman","policeman","construction_worker_woman","construction_worker_man","guardswoman","guardsman","female_detective","male_detective","woman_health_worker","man_health_worker","woman_farmer","man_farmer","woman_cook","man_cook","woman_student","man_student","woman_singer","man_singer","woman_teacher","man_teacher","woman_factory_worker","man_factory_worker","woman_technologist","man_technologist","woman_office_worker","man_office_worker","woman_mechanic","man_mechanic","woman_scientist","man_scientist","woman_artist","man_artist","woman_firefighter","man_firefighter","woman_pilot","man_pilot","woman_astronaut","man_astronaut","woman_judge","man_judge","bride_with_veil","man_in_tuxedo","princess","prince","woman_superhero","man_superhero","woman_supervillain","man_supervillain","mrs_claus","santa","sorceress","wizard","woman_elf","man_elf","woman_vampire","man_vampire","woman_zombie","man_zombie","woman_genie","man_genie","mermaid","merman","woman_fairy","man_fairy","angel","pregnant_woman","breastfeeding","bowing_woman","bowing_man","tipping_hand_woman","tipping_hand_man","no_good_woman","no_good_man","ok_woman","ok_man","raising_hand_woman","raising_hand_man","woman_facepalming","man_facepalming","woman_shrugging","man_shrugging","pouting_woman","pouting_man","frowning_woman","frowning_man","haircut_woman","haircut_man","massage_woman","massage_man","woman_in_steamy_room","man_in_steamy_room","nail_care","selfie","dancer","man_dancing","dancing_women","dancing_men","business_suit_levitating","walking_woman","walking_man","running_woman","running_man","couple","two_women_holding_hands","two_men_holding_hands","couple_with_heart_woman_man","couple_with_heart_woman_woman","couple_with_heart_man_man","couplekiss_man_woman","couplekiss_woman_woman","couplekiss_man_man","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_boy","family_woman_girl","family_woman_girl_boy","family_woman_boy_boy","family_woman_girl_girl","family_man_boy","family_man_girl","family_man_girl_boy","family_man_boy_boy","family_man_girl_girl","yarn","thread","coat","labcoat","womans_clothes","tshirt","jeans","necktie","dress","bikini","kimono","flat_shoe","high_heel","sandal","boot","mans_shoe","athletic_shoe","hiking_boot","socks","gloves","scarf","tophat","billed_hat","womans_hat","mortar_board","rescue_worker_helmet","crown","pouch","purse","handbag","briefcase","school_satchel","luggage","eyeglasses","dark_sunglasses","goggles","closed_umbrella","dog","cat","mouse","hamster","rabbit","fox_face","bear","panda_face","koala","tiger","lion","cow","pig","pig_nose","frog","monkey_face","see_no_evil","hear_no_evil","speak_no_evil","monkey","chicken","penguin","bird","baby_chick","hatching_chick","hatched_chick","duck","eagle","owl","bat","wolf","boar","horse","unicorn","honeybee","bug","butterfly","snail","shell","beetle","ant","mosquito","grasshopper","spider","spider_web","scorpion","turtle","snake","lizard","t-rex","sauropod","octopus","squid","shrimp","lobster","crab","blowfish","tropical_fish","fish","dolphin","whale","whale2","shark","crocodile","tiger2","leopard","zebra","gorilla","elephant","hippopotamus","rhinoceros","dromedary_camel","giraffe","kangaroo","camel","water_buffalo","ox","cow2","racehorse","pig2","ram","sheep","llama","goat","deer","dog2","poodle","cat2","rooster","turkey","peacock","parrot","swan","dove","rabbit2","raccoon","badger","rat","mouse2","chipmunk","hedgehog","paw_prints","dragon","dragon_face","cactus","christmas_tree","evergreen_tree","deciduous_tree","palm_tree","seedling","herb","shamrock","four_leaf_clover","bamboo","tanabata_tree","leaves","fallen_leaf","maple_leaf","ear_of_rice","hibiscus","sunflower","rose","wilted_flower","tulip","blossom","cherry_blossom","bouquet","mushroom","earth_americas","earth_africa","earth_asia","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","new_moon_with_face","full_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","sun_with_face","crescent_moon","star","star2","dizzy","sparkles","comet","sunny","sun_behind_small_cloud","partly_sunny","sun_behind_large_cloud","sun_behind_rain_cloud","cloud","cloud_with_rain","cloud_with_lightning_and_rain","cloud_with_lightning","zap","fire","boom","snowflake","cloud_with_snow","snowman","snowman_with_snow","wind_face","dash","tornado","fog","open_umbrella","umbrella","droplet","sweat_drops","ocean","green_apple","apple","pear","tangerine","lemon","banana","watermelon","grapes","strawberry","melon","cherries","peach","mango","pineapple","coconut","kiwi_fruit","tomato","eggplant","avocado","broccoli","leafy_greens","cucumber","hot_pepper","corn","carrot","potato","sweet_potato","croissant","bagel","bread","baguette_bread","pretzel","cheese","egg","fried_egg","pancakes","bacon","steak","poultry_leg","meat_on_bone","bone","hotdog","hamburger","fries","pizza","sandwich","stuffed_flatbread","taco","burrito","green_salad","shallow_pan_of_food","canned_food","spaghetti","ramen","stew","curry","sushi","bento","fried_shrimp","rice_ball","rice","rice_cracker","fish_cake","fortune_cookie","moon_cake","oden","dango","shaved_ice","ice_cream","icecream","pie","cupcake","cake","birthday","custard","lollipop","candy","chocolate_bar","popcorn","doughnut","dumpling","cookie","chestnut","peanuts","honey_pot","milk_glass","baby_bottle","coffee","tea","cup_with_straw","sake","beer","beers","clinking_glasses","wine_glass","tumbler_glass","cocktail","tropical_drink","champagne","spoon","fork_and_knife","plate_with_cutlery","bowl_with_spoon","takeout_box","chopsticks","salt","soccer","basketball","football","baseball","softball","tennis","volleyball","rugby_football","flying_disc","8ball","golf","golfing_woman","golfing_man","ping_pong","badminton","goal_net","ice_hockey","field_hockey","lacrosse","cricket","ski","skier","snowboarder","person_fencing","women_wrestling","men_wrestling","woman_cartwheeling","man_cartwheeling","woman_playing_handball","man_playing_handball","ice_skate","curling_stone","skateboard","sled","bow_and_arrow","fishing_pole_and_fish","boxing_glove","martial_arts_uniform","rowing_woman","rowing_man","climbing_woman","climbing_man","swimming_woman","swimming_man","woman_playing_water_polo","man_playing_water_polo","woman_in_lotus_position","man_in_lotus_position","surfing_woman","surfing_man","basketball_woman","basketball_man","weight_lifting_woman","weight_lifting_man","biking_woman","biking_man","mountain_biking_woman","mountain_biking_man","horse_racing","trophy","running_shirt_with_sash","medal_sports","medal_military","1st_place_medal","2nd_place_medal","3rd_place_medal","reminder_ribbon","rosette","ticket","tickets","performing_arts","art","circus_tent","woman_juggling","man_juggling","microphone","headphones","musical_score","musical_keyboard","drum","saxophone","trumpet","guitar","violin","clapper","video_game","dart","game_die","chess_pawn","slot_machine","jigsaw","bowling","red_car","taxi","blue_car","bus","trolleybus","racing_car","police_car","ambulance","fire_engine","minibus","truck","articulated_lorry","tractor","kick_scooter","motorcycle","bike","motor_scooter","rotating_light","oncoming_police_car","oncoming_bus","oncoming_automobile","oncoming_taxi","aerial_tramway","mountain_cableway","suspension_railway","railway_car","train","monorail","bullettrain_side","bullettrain_front","light_rail","mountain_railway","steam_locomotive","train2","metro","tram","station","flying_saucer","helicopter","small_airplane","airplane","flight_departure","flight_arrival","sailboat","motor_boat","speedboat","ferry","passenger_ship","rocket","artificial_satellite","seat","canoe","anchor","construction","fuelpump","busstop","vertical_traffic_light","traffic_light","ship","ferris_wheel","roller_coaster","carousel_horse","building_construction","foggy","tokyo_tower","factory","fountain","rice_scene","mountain","mountain_snow","mount_fuji","volcano","japan","camping","tent","national_park","motorway","railway_track","sunrise","sunrise_over_mountains","desert","beach_umbrella","desert_island","city_sunrise","city_sunset","cityscape","night_with_stars","bridge_at_night","milky_way","stars","sparkler","fireworks","rainbow","houses","european_castle","japanese_castle","stadium","statue_of_liberty","house","house_with_garden","derelict_house","office","department_store","post_office","european_post_office","hospital","bank","hotel","convenience_store","school","love_hotel","wedding","classical_building","church","mosque","synagogue","kaaba","shinto_shrine","watch","iphone","calling","computer","keyboard","desktop_computer","printer","computer_mouse","trackball","joystick","clamp","minidisc","floppy_disk","cd","dvd","vhs","camera","camera_flash","video_camera","movie_camera","film_projector","film_strip","telephone_receiver","phone","pager","fax","tv","radio","studio_microphone","level_slider","control_knobs","compass","stopwatch","timer_clock","alarm_clock","mantelpiece_clock","hourglass_flowing_sand","hourglass","satellite","battery","electric_plug","bulb","flashlight","candle","fire_extinguisher","wastebasket","oil_drum","money_with_wings","dollar","yen","euro","pound","moneybag","credit_card","gem","balance_scale","toolbox","wrench","hammer","hammer_and_pick","hammer_and_wrench","pick","nut_and_bolt","gear","brick","chains","magnet","gun","bomb","firecracker","hocho","dagger","crossed_swords","shield","smoking","coffin","funeral_urn","amphora","crystal_ball","prayer_beads","nazar_amulet","barber","alembic","telescope","microscope","hole","pill","syringe","dna","microbe","petri_dish","test_tube","thermometer","broom","basket","toilet_paper","label","bookmark","toilet","shower","bathtub","bath","soap","sponge","lotion_bottle","key","old_key","couch_and_lamp","sleeping_bed","bed","door","bellhop_bell","teddy_bear","framed_picture","world_map","parasol_on_ground","moyai","shopping","shopping_cart","balloon","flags","ribbon","gift","confetti_ball","tada","dolls","wind_chime","crossed_flags","izakaya_lantern","red_envelope","email","envelope_with_arrow","incoming_envelope","e-mail","love_letter","postbox","mailbox_closed","mailbox","mailbox_with_mail","mailbox_with_no_mail","package","postal_horn","inbox_tray","outbox_tray","scroll","page_with_curl","bookmark_tabs","receipt","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","page_facing_up","date","calendar","spiral_calendar","card_index","card_file_box","ballot_box","file_cabinet","clipboard","spiral_notepad","file_folder","open_file_folder","card_index_dividers","newspaper_roll","newspaper","notebook","closed_book","green_book","blue_book","orange_book","notebook_with_decorative_cover","ledger","books","open_book","safety_pin","link","paperclip","paperclips","scissors","triangular_ruler","straight_ruler","abacus","pushpin","round_pushpin","closed_lock_with_key","lock","unlock","lock_with_ink_pen","pen","fountain_pen","black_nib","memo","pencil2","crayon","paintbrush","mag","mag_right","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","black_heart","broken_heart","heavy_heart_exclamation","two_hearts","revolving_hearts","heartbeat","heartpulse","sparkling_heart","cupid","gift_heart","heart_decoration","peace_symbol","latin_cross","star_and_crescent","om","wheel_of_dharma","star_of_david","six_pointed_star","menorah","yin_yang","orthodox_cross","place_of_worship","ophiuchus","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","id","atom_symbol","u7a7a","u5272","radioactive","biohazard","mobile_phone_off","vibration_mode","u6709","u7121","u7533","u55b6","u6708","eight_pointed_black_star","vs","accept","white_flower","ideograph_advantage","secret","congratulations","u5408","u6e80","u7981","a","b","ab","cl","o2","sos","no_entry","name_badge","no_entry_sign","x","o","stop_sign","anger","hotsprings","no_pedestrians","do_not_litter","no_bicycles","non-potable_water","underage","no_mobile_phones","exclamation","grey_exclamation","question","grey_question","bangbang","interrobang","100","low_brightness","high_brightness","trident","fleur_de_lis","part_alternation_mark","warning","children_crossing","beginner","recycle","u6307","chart","sparkle","eight_spoked_asterisk","negative_squared_cross_mark","white_check_mark","diamond_shape_with_a_dot_inside","cyclone","loop","globe_with_meridians","m","atm","zzz","sa","passport_control","customs","baggage_claim","left_luggage","wheelchair","no_smoking","wc","parking","potable_water","mens","womens","baby_symbol","restroom","put_litter_in_its_place","cinema","signal_strength","koko","ng","ok","up","cool","new","free","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","asterisk","1234","eject_button","arrow_forward","pause_button","next_track_button","stop_button","record_button","play_or_pause_button","previous_track_button","fast_forward","rewind","twisted_rightwards_arrows","repeat","repeat_one","arrow_backward","arrow_up_small","arrow_down_small","arrow_double_up","arrow_double_down","arrow_right","arrow_left","arrow_up","arrow_down","arrow_upper_right","arrow_lower_right","arrow_lower_left","arrow_upper_left","arrow_up_down","left_right_arrow","arrows_counterclockwise","arrow_right_hook","leftwards_arrow_with_hook","arrow_heading_up","arrow_heading_down","hash","information_source","abc","abcd","capital_abcd","symbols","musical_note","notes","wavy_dash","curly_loop","heavy_check_mark","arrows_clockwise","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_multiplication_x","infinity","heavy_dollar_sign","currency_exchange","copyright","registered","tm","end","back","on","top","soon","ballot_box_with_check","radio_button","white_circle","black_circle","red_circle","large_blue_circle","small_orange_diamond","small_blue_diamond","large_orange_diamond","large_blue_diamond","small_red_triangle","black_small_square","white_small_square","black_large_square","white_large_square","small_red_triangle_down","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_square_button","white_square_button","speaker","sound","loud_sound","mute","mega","loudspeaker","bell","no_bell","black_joker","mahjong","spades","clubs","hearts","diamonds","flower_playing_cards","thought_balloon","right_anger_bubble","speech_balloon","left_speech_bubble","clock1","clock2","clock3","clock4","clock5","clock6","clock7","clock8","clock9","clock10","clock11","clock12","clock130","clock230","clock330","clock430","clock530","clock630","clock730","clock830","clock930","clock1030","clock1130","clock1230","white_flag","black_flag","pirate_flag","checkered_flag","triangular_flag_on_post","rainbow_flag","united_nations","afghanistan","aland_islands","albania","algeria","american_samoa","andorra","angola","anguilla","antarctica","antigua_barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","caribbean_netherlands","bosnia_herzegovina","botswana","brazil","british_indian_ocean_territory","british_virgin_islands","brunei","bulgaria","burkina_faso","burundi","cape_verde","cambodia","cameroon","canada","canary_islands","cayman_islands","central_african_republic","chad","chile","cn","christmas_island","cocos_islands","colombia","comoros","congo_brazzaville","congo_kinshasa","cook_islands","costa_rica","croatia","cuba","curacao","cyprus","czech_republic","denmark","djibouti","dominica","dominican_republic","ecuador","egypt","el_salvador","equatorial_guinea","eritrea","estonia","ethiopia","eu","falkland_islands","faroe_islands","fiji","finland","fr","french_guiana","french_polynesia","french_southern_territories","gabon","gambia","georgia","de","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guinea_bissau","guyana","haiti","honduras","hong_kong","hungary","iceland","india","indonesia","iran","iraq","ireland","isle_of_man","israel","it","cote_divoire","jamaica","jp","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall_islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new_caledonia","new_zealand","nicaragua","niger","nigeria","niue","norfolk_island","northern_mariana_islands","north_korea","norway","oman","pakistan","palau","palestinian_territories","panama","papua_new_guinea","paraguay","peru","philippines","pitcairn_islands","poland","portugal","puerto_rico","qatar","reunion","romania","ru","rwanda","st_barthelemy","st_helena","st_kitts_nevis","st_lucia","st_pierre_miquelon","st_vincent_grenadines","samoa","san_marino","sao_tome_principe","saudi_arabia","senegal","serbia","seychelles","sierra_leone","singapore","sint_maarten","slovakia","slovenia","solomon_islands","somalia","south_africa","south_georgia_south_sandwich_islands","kr","south_sudan","es","sri_lanka","sudan","suriname","swaziland","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timor_leste","togo","tokelau","tonga","trinidad_tobago","tunisia","tr","turkmenistan","turks_caicos_islands","tuvalu","uganda","ukraine","united_arab_emirates","uk","england","scotland","wales","us","us_virgin_islands","uruguay","uzbekistan","vanuatu","vatican_city","venezuela","vietnam","wallis_futuna","western_sahara","yemen","zambia","zimbabwe"]});var xq=Ms((NGe,kq)=>{"use strict";kq.exports={lib:wq(),ordered:vq(),fitzpatrick_scale_modifiers:["\u{1F3FB}","\u{1F3FC}","\u{1F3FD}","\u{1F3FE}","\u{1F3FF}"]}});var Dq=Ms((RGe,Cq)=>{"use strict";Cq.exports=()=>{let t="\\ud800-\\udfff",e="\\u0300-\\u036f",n="\\ufe20-\\ufe2f",r="\\u20d0-\\u20ff",i="\\u1ab0-\\u1aff",o="\\u1dc0-\\u1dff",a=e+n+r+i+o,s="\\ufe0e\\ufe0f",l="\\uD83D\\uDC69\\uD83C\\uDFFB\\u200D\\uD83C\\uDF93",c=`[${t}]`,d=`[${a}]`,u="\\ud83c[\\udffb-\\udfff]",f=`(?:${d}|${u})`,p=`[^${t}]`,h="(?:\\uD83C[\\uDDE6-\\uDDFF]){2}",g="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",_="(?:\\ud83c\\udff4\\udb40\\udc67\\udb40\\udc62\\udb40(?:\\udc65|\\udc73|\\udc77)\\udb40(?:\\udc6e|\\udc63|\\udc6c)\\udb40(?:\\udc67|\\udc74|\\udc73)\\udb40\\udc7f)",x=`[${l}]`,E=`${f}?`,v=`[${s}]?`,j=`(?:${b}(?:${[p,h,g].join("|")})${v+E})*`,C=v+E+j,z=`(?:${[`${p}${d}?`,d,h,g,c,x].join("|")})`;return new RegExp(`${_}|${u}(?=${u})|${z+C}`,"g")}});var Eq=Ms((jGe,Sq)=>{"use strict";Sq.exports=new Set([9757,9977,9994,9995,9996,9997,127877,127939,127940,127946,127947,128066,128067,128070,128071,128072,128073,128074,128075,128076,128077,128078,128079,128080,128102,128103,128104,128105,128110,128112,128113,128114,128115,128116,128117,128118,128119,128120,128124,128129,128130,128131,128133,128134,128135,128170,128373,128378,128400,128405,128406,128581,128582,128583,128587,128588,128589,128590,128591,128675,128692,128693,128694,128704,129304,129305,129306,129307,129308,129309,129310,129318,129328,129331,129332,129333,129334,129335,129336,129337,129340,129341,129342])});var Aq=Ms((zGe,Tq)=>{"use strict";var fbe=Eq(),Mq=new Map([["none",""],["white","\u{1F3FB}"],["creamWhite","\u{1F3FC}"],["lightBrown","\u{1F3FD}"],["brown","\u{1F3FE}"],["darkBrown","\u{1F3FF}"]]);Tq.exports=(t,e)=>{if(!Mq.has(e))throw new TypeError(`Unexpected \`skinTone\` name: ${e}`);return t=t.replace(/[\u{1f3fb}-\u{1f3ff}]/u,""),fbe.has(t.codePointAt(0))&&e!=="none"&&(t+=Mq.get(e)),t}});var E5=null;var rS=1;function Ir(t){let e=E5;return E5=t,e}var M5={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function LZ(t){if(!(aS(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===rS)){if(!t.producerMustRecompute(t)&&!iS(t)){t.dirty=!1,t.lastCleanEpoch=rS;return}t.producerRecomputeValue(t),t.dirty=!1,t.lastCleanEpoch=rS}}function T5(t){return t&&(t.nextProducerIndex=0),Ir(t)}function A5(t,e){if(Ir(e),!(!t||t.producerNode===void 0||t.producerIndexOfThis===void 0||t.producerLastReadVersion===void 0)){if(aS(t))for(let n=t.nextProducerIndex;nt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function iS(t){__(t);for(let e=0;e0}function __(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function BZ(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function VZ(){throw new Error}var UZ=VZ;function O5(t){UZ=t}function Ke(t){return typeof t=="function"}function Ff(t){let n=t(r=>{Error.call(r),r.stack=new Error().stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var w_=Ff(t=>function(n){t(this),this.message=n?`${n.length} errors occurred during unsubscription: ${n.map((r,i)=>`${i+1}) ${r.toString()}`).join(` - `)}`:"",this.name="UnsubscriptionError",this.errors=n});function ad(t,e){if(t){let n=t.indexOf(e);0<=n&&t.splice(n,1)}}var Lt=class t{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(let o of n)o.remove(this);else n.remove(this);let{initialTeardown:r}=this;if(Ye(r))try{r()}catch(o){e=o instanceof __?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{I5(o)}catch(a){e=e??[],a instanceof __?e=[...e,...a.errors]:e.push(a)}}if(e)throw new __(e)}}add(e){var n;if(e&&e!==this)if(this.closed)I5(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}}_hasParent(e){let{_parentage:n}=this;return n===e||Array.isArray(n)&&n.includes(e)}_addParent(e){let{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e}_removeParent(e){let{_parentage:n}=this;n===e?this._parentage=null:Array.isArray(n)&&ad(n,e)}remove(e){let{_finalizers:n}=this;n&&ad(n,e),e instanceof t&&e._removeParent(this)}};Lt.EMPTY=(()=>{let t=new Lt;return t.closed=!0,t})();var oS=Lt.EMPTY;function w_(t){return t instanceof Lt||t&&"closed"in t&&Ye(t.remove)&&Ye(t.add)&&Ye(t.unsubscribe)}function I5(t){Ye(t)?t():t.unsubscribe()}var na={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Ff={setTimeout(t,e,...n){let{delegate:r}=Ff;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Ff;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function v_(t){Ff.setTimeout(()=>{let{onUnhandledError:e}=na;if(e)e(t);else throw t})}function Lm(){}var O5=(()=>aS("C",void 0,void 0))();function P5(t){return aS("E",void 0,t)}function F5(t){return aS("N",t,void 0)}function aS(t,e,n){return{kind:t,value:e,error:n}}var sd=null;function Nf(t){if(na.useDeprecatedSynchronousErrorHandling){let e=!sd;if(e&&(sd={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=sd;if(sd=null,n)throw r}}else t()}function N5(t){na.useDeprecatedSynchronousErrorHandling&&sd&&(sd.errorThrown=!0,sd.error=t)}var ld=class extends Lt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,w_(e)&&e.add(this)):this.destination=FZ}static create(e,n,r){return new Is(e,n,r)}next(e){this.isStopped?lS(F5(e),this):this._next(e)}error(e){this.isStopped?lS(P5(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?lS(O5,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},OZ=Function.prototype.bind;function sS(t,e){return OZ.call(t,e)}var cS=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){k_(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){k_(r)}else k_(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){k_(n)}}},Is=class extends ld{constructor(e,n,r){super();let i;if(Ye(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&na.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&sS(e.next,o),error:e.error&&sS(e.error,o),complete:e.complete&&sS(e.complete,o)}):i=e}this.destination=new cS(i)}};function k_(t){na.useDeprecatedSynchronousErrorHandling?N5(t):v_(t)}function PZ(t){throw t}function lS(t,e){let{onStoppedNotification:n}=na;n&&Ff.setTimeout(()=>n(t,e))}var FZ={closed:!0,next:Lm,error:PZ,complete:Lm};var Rf=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function li(t){return t}function dS(...t){return uS(t)}function uS(t){return t.length===0?li:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var Ke=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=RZ(n)?n:new Is(n,r,i);return Nf(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=R5(r),new r((i,o)=>{let a=new Is({next:s=>{try{n(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:i});this.subscribe(a)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[Rf](){return this}pipe(...n){return uS(n)(this)}toPromise(n){return n=R5(n),new n((r,i)=>{let o;this.subscribe(a=>o=a,a=>i(a),()=>r(o))})}}return t.create=e=>new t(e),t})();function R5(t){var e;return(e=t??na.Promise)!==null&&e!==void 0?e:Promise}function NZ(t){return t&&Ye(t.next)&&Ye(t.error)&&Ye(t.complete)}function RZ(t){return t&&t instanceof ld||NZ(t)&&w_(t)}function fS(t){return Ye(t?.lift)}function gt(t){return e=>{if(fS(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ft(t,e,n,r,i){return new hS(t,e,n,r,i)}var hS=class extends ld{constructor(e,n,r,i,o,a){super(e),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=n?function(s){try{n(s)}catch(l){e.error(l)}}:super._next,this._error=i?function(s){try{i(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function jf(){return gt((t,e)=>{let n=null;t._refCount++;let r=ft(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var zf=class extends Ke{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,fS(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Lt;let n=this.getSubject();e.add(this.source.subscribe(ft(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Lt.EMPTY)}return e}refCount(){return jf()(this)}};var j5=Pf(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ee=(()=>{class t extends Ke{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new x_(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new j5}next(n){Nf(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Nf(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Nf(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?oS:(this.currentObservers=null,o.push(n),new Lt(()=>{this.currentObservers=null,ad(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new Ke;return n.source=this,n}}return t.create=(e,n)=>new x_(e,n),t})(),x_=class extends Ee{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:oS}};var Zn=class extends Ee{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Bm={now(){return(Bm.delegate||Date).now()},delegate:void 0};var C_=class extends Ee{constructor(e=1/0,n=1/0,r=Bm){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:a}=this;n||(r.push(e),!i&&r.push(o.now()+a)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let a=0;at.complete());function M_(t){return t&&Ye(t.schedule)}function pS(t){return t[t.length-1]}function T_(t){return Ye(pS(t))?t.pop():void 0}function Pa(t){return M_(pS(t))?t.pop():void 0}function L5(t,e){return typeof pS(t)=="number"?t.pop():e}function V5(t,e,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(d){try{c(r.next(d))}catch(u){a(u)}}function l(d){try{c(r.throw(d))}catch(u){a(u)}}function c(d){d.done?o(d.value):i(d.value).then(s,l)}c((r=r.apply(t,e||[])).next())})}function B5(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function cd(t){return this instanceof cd?(this.v=t,this):new cd(t)}function U5(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(f){r[f]&&(i[f]=function(h){return new Promise(function(p,g){o.push([f,h,p,g])>1||s(f,h)})})}function s(f,h){try{l(r[f](h))}catch(p){u(o[0][3],p)}}function l(f){f.value instanceof cd?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}function c(f){s("next",f)}function d(f){s("throw",f)}function u(f,h){f(h),o.shift(),o.length&&s(o[0][0],o[0][1])}}function H5(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof B5=="function"?B5(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),i(s,l,a.done,a.value)})}}function i(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}}var Bf=t=>t&&typeof t.length=="number"&&typeof t!="function";function A_(t){return Ye(t?.then)}function I_(t){return Ye(t[Rf])}function O_(t){return Symbol.asyncIterator&&Ye(t?.[Symbol.asyncIterator])}function P_(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function jZ(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var F_=jZ();function N_(t){return Ye(t?.[F_])}function R_(t){return U5(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield cd(n.read());if(i)return yield cd(void 0);yield yield cd(r)}}finally{n.releaseLock()}})}function j_(t){return Ye(t?.getReader)}function en(t){if(t instanceof Ke)return t;if(t!=null){if(I_(t))return zZ(t);if(Bf(t))return LZ(t);if(A_(t))return BZ(t);if(O_(t))return $5(t);if(N_(t))return VZ(t);if(j_(t))return UZ(t)}throw P_(t)}function zZ(t){return new Ke(e=>{let n=t[Rf]();if(Ye(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function LZ(t){return new Ke(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,v_)})}function VZ(t){return new Ke(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function $5(t){return new Ke(e=>{HZ(t,e).catch(n=>e.error(n))})}function UZ(t){return $5(R_(t))}function HZ(t,e){var n,r,i,o;return V5(this,void 0,void 0,function*(){try{for(n=H5(t);r=yield n.next(),!r.done;){let a=r.value;if(e.next(a),e.closed)return}}catch(a){i={error:a}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})}function Ei(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function z_(t,e=0){return gt((n,r)=>{n.subscribe(ft(r,i=>Ei(r,t,()=>r.next(i),e),()=>Ei(r,t,()=>r.complete(),e),i=>Ei(r,t,()=>r.error(i),e)))})}function L_(t,e=0){return gt((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function q5(t,e){return en(t).pipe(L_(e),z_(e))}function W5(t,e){return en(t).pipe(L_(e),z_(e))}function G5(t,e){return new Ke(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Y5(t,e){return new Ke(n=>{let r;return Ei(n,e,()=>{r=t[F_](),Ei(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(a){n.error(a);return}o?n.complete():n.next(i)},0,!0)}),()=>Ye(r?.return)&&r.return()})}function B_(t,e){if(!t)throw new Error("Iterable cannot be null");return new Ke(n=>{Ei(n,e,()=>{let r=t[Symbol.asyncIterator]();Ei(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function K5(t,e){return B_(R_(t),e)}function Z5(t,e){if(t!=null){if(I_(t))return q5(t,e);if(Bf(t))return G5(t,e);if(A_(t))return W5(t,e);if(O_(t))return B_(t,e);if(N_(t))return Y5(t,e);if(j_(t))return K5(t,e)}throw P_(t)}function bn(t,e){return e?Z5(t,e):en(t)}function ze(...t){let e=Pa(t);return bn(t,e)}function Vf(t,e){let n=Ye(t)?t:()=>t,r=i=>i.error(n());return new Ke(e?i=>e.schedule(r,0,i):r)}function V_(t){return!!t&&(t instanceof Ke||Ye(t.lift)&&Ye(t.subscribe))}var Os=Pf(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function X5(t){return t instanceof Date&&!isNaN(t)}function lt(t,e){return gt((n,r)=>{let i=0;n.subscribe(ft(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:$Z}=Array;function qZ(t,e){return $Z(e)?t(...e):t(e)}function Uf(t){return lt(e=>qZ(t,e))}var{isArray:WZ}=Array,{getPrototypeOf:GZ,prototype:YZ,keys:KZ}=Object;function U_(t){if(t.length===1){let e=t[0];if(WZ(e))return{args:e,keys:null};if(ZZ(e)){let n=KZ(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function ZZ(t){return t&&typeof t=="object"&&GZ(t)===YZ}function H_(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function Hf(...t){let e=Pa(t),n=T_(t),{args:r,keys:i}=U_(t);if(r.length===0)return bn([],e);let o=new Ke(XZ(r,e,i?a=>H_(i,a):li));return n?o.pipe(Uf(n)):o}function XZ(t,e,n=li){return r=>{Q5(e,()=>{let{length:i}=t,o=new Array(i),a=i,s=i;for(let l=0;l{let c=bn(t[l],e),d=!1;c.subscribe(ft(r,u=>{o[l]=u,d||(d=!0,s--),s||r.next(n(o.slice()))},()=>{--a||r.complete()}))},r)},r)}}function Q5(t,e,n){t?Ei(n,t,e):e()}function J5(t,e,n,r,i,o,a,s){let l=[],c=0,d=0,u=!1,f=()=>{u&&!l.length&&!c&&e.complete()},h=g=>c{o&&e.next(g),c++;let b=!1;en(n(g,d++)).subscribe(ft(e,_=>{i?.(_),o?h(_):e.next(_)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&cp(_)):p(_)}f()}catch(_){e.error(_)}}))};return t.subscribe(ft(e,h,()=>{u=!0,f()})),()=>{s?.()}}function Vn(t,e,n=1/0){return Ye(e)?Vn((r,i)=>lt((o,a)=>e(r,o,i,a))(en(t(r,i))),n):(typeof e=="number"&&(n=e),gt((r,i)=>J5(r,i,t,n)))}function Hm(t=1/0){return Vn(li,t)}function eP(){return Hm(1)}function Fl(...t){return eP()(bn(t,Pa(t)))}function Nl(t){return new Ke(e=>{en(t()).subscribe(e)})}function mS(...t){let e=T_(t),{args:n,keys:r}=U_(t),i=new Ke(o=>{let{length:a}=n;if(!a){o.complete();return}let s=new Array(a),l=a,c=a;for(let d=0;d{u||(u=!0,c--),s[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(r?H_(r,s):s),o.complete())}))}});return e?i.pipe(Uf(e)):i}var QZ=["addListener","removeListener"],JZ=["addEventListener","removeEventListener"],eX=["on","off"];function Fa(t,e,n,r){if(Ye(n)&&(r=n,n=void 0),r)return Fa(t,e,n).pipe(Uf(r));let[i,o]=rX(t)?JZ.map(a=>s=>t[a](e,s,n)):tX(t)?QZ.map(tP(t,e)):nX(t)?eX.map(tP(t,e)):[];if(!i&&Bf(t))return Vn(a=>Fa(a,e,n))(en(t));if(!i)throw new TypeError("Invalid event target");return new Ke(a=>{let s=(...l)=>a.next(1o(s)})}function tP(t,e){return n=>r=>t[n](e,r)}function tX(t){return Ye(t.addListener)&&Ye(t.removeListener)}function nX(t){return Ye(t.on)&&Ye(t.off)}function rX(t){return Ye(t.addEventListener)&&Ye(t.removeEventListener)}function $m(t=0,e,n=z5){let r=-1;return e!=null&&(M_(e)?n=e:r=e),new Ke(i=>{let o=X5(t)?+t-n.now():t;o<0&&(o=0);let a=0;return n.schedule(function(){i.closed||(i.next(a++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function Qi(...t){let e=Pa(t),n=L5(t,1/0),r=t;return r.length?r.length===1?en(r[0]):Hm(n)(bn(r,e)):wr}function Yt(t,e){return gt((n,r)=>{let i=0;n.subscribe(ft(r,o=>t.call(e,o,i++)&&r.next(o)))})}function nP(t){return gt((e,n)=>{let r=!1,i=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,r){r=!1;let c=i;i=null,n.next(c)}a&&n.complete()},l=()=>{o=null,a&&n.complete()};e.subscribe(ft(n,c=>{r=!0,i=c,o||en(t(c)).subscribe(o=ft(n,s,l))},()=>{a=!0,(!r||!o||o.closed)&&n.complete()}))})}function $_(t,e=Um){return nP(()=>$m(t,e))}function Rl(t){return gt((e,n)=>{let r=null,i=!1,o;r=e.subscribe(ft(n,void 0,void 0,a=>{o=en(t(a,Rl(t)(e))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function rP(t,e,n,r,i){return(o,a)=>{let s=n,l=e,c=0;o.subscribe(ft(a,d=>{let u=c++;l=s?t(l,d,u):(s=!0,d),r&&a.next(l)},i&&(()=>{s&&a.next(l),a.complete()})))}}function jl(t,e){return Ye(e)?Vn(t,e,1):Vn(t,1)}function dd(t,e=Um){return gt((n,r)=>{let i=null,o=null,a=null,s=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,r.next(c)}};function l(){let c=a+t,d=e.now();if(d{o=c,a=e.now(),i||(i=e.schedule(l,t),r.add(i))},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function zl(t){return gt((e,n)=>{let r=!1;e.subscribe(ft(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function Un(t){return t<=0?()=>wr:gt((e,n)=>{let r=0;e.subscribe(ft(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function gS(t){return lt(()=>t)}function Ll(t,e=li){return t=t??iX,gt((n,r)=>{let i,o=!0;n.subscribe(ft(r,a=>{let s=e(a);(o||!t(i,s))&&(o=!1,i=s,r.next(a))}))})}function iX(t,e){return t===e}function q_(t=oX){return gt((e,n)=>{let r=!1;e.subscribe(ft(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function oX(){return new Os}function Bl(t){return gt((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Na(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Yt((i,o)=>t(i,o,r)):li,Un(1),n?zl(e):q_(()=>new Os))}function $f(t){return t<=0?()=>wr:gt((e,n)=>{let r=[];e.subscribe(ft(n,i=>{r.push(i),t{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function yS(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Yt((i,o)=>t(i,o,r)):li,$f(1),n?zl(e):q_(()=>new Os))}function bS(t,e){return gt(rP(t,e,arguments.length>=2,!0))}function qf(t={}){let{connector:e=()=>new Ee,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let a,s,l,c=0,d=!1,u=!1,f=()=>{s?.unsubscribe(),s=void 0},h=()=>{f(),a=l=void 0,d=u=!1},p=()=>{let g=a;h(),g?.unsubscribe()};return gt((g,b)=>{c++,!u&&!d&&f();let _=l=l??e();b.add(()=>{c--,c===0&&!u&&!d&&(s=_S(p,i))}),_.subscribe(b),!a&&c>0&&(a=new Is({next:x=>_.next(x),error:x=>{u=!0,f(),s=_S(h,n,x),_.error(x)},complete:()=>{d=!0,f(),s=_S(h,r),_.complete()}}),en(g).subscribe(a))})(o)}}function _S(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new Is({next:()=>{r.unsubscribe(),t()}});return en(e(...n)).subscribe(r)}function W_(t,e,n){let r,i=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:n}=t:r=t??1/0,qf({connector:()=>new C_(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function ud(t){return Yt((e,n)=>t<=n)}function Mi(...t){let e=Pa(t);return gt((n,r)=>{(e?Fl(t,n,e):Fl(t,n)).subscribe(r)})}function vr(t,e){return gt((n,r)=>{let i=null,o=0,a=!1,s=()=>a&&!i&&r.complete();n.subscribe(ft(r,l=>{i?.unsubscribe();let c=0,d=o++;en(t(l,d)).subscribe(i=ft(r,u=>r.next(e?e(l,u,d,c++):u),()=>{i=null,s()}))},()=>{a=!0,s()}))})}function Pn(t){return gt((e,n)=>{en(t).subscribe(ft(n,()=>n.complete(),Lm)),!n.closed&&e.subscribe(n)})}function Hn(t,e,n){let r=Ye(t)||e||n?{next:t,error:e,complete:n}:t;return r?gt((i,o)=>{var a;(a=r.subscribe)===null||a===void 0||a.call(r);let s=!0;i.subscribe(ft(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;s=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;s=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;s&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):li}function an(t){for(let e in t)if(t[e]===an)return e;throw Error("Could not find renamed property on target object.")}function G_(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function $r(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map($r).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` -`);return n===-1?e:e.substring(0,n)}function RS(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var aX=an({__forward_ref__:an});function xo(t){return t.__forward_ref__=xo,t.toString=function(){return $r(this())},t}function ci(t){return HP(t)?t():t}function HP(t){return typeof t=="function"&&t.hasOwnProperty(aX)&&t.__forward_ref__===xo}function $P(t){return t&&!!t.\u0275providers}var qP="https://g.co/ng/security#xss",le=class extends Error{constructor(e,n){super(Cw(e,n)),this.code=e}};function Cw(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var sX=an({\u0275cmp:an}),lX=an({\u0275dir:an}),cX=an({\u0275pipe:an}),dX=an({\u0275mod:an}),iw=an({\u0275fac:an}),qm=an({__NG_ELEMENT_ID__:an}),iP=an({__NG_ENV_ID__:an});function Zf(t){return typeof t=="string"?t:t==null?"":String(t)}function uX(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Zf(t)}function fX(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new le(-200,`Circular dependency in DI detected for ${t}${n}`)}function OE(t,e){let n=e?` in ${e}`:"";throw new le(-201,!1)}function hX(t,e){t==null&&pX(e,t,null,"!=")}function pX(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function ne(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Tt(t){return{providers:t.providers||[],imports:t.imports||[]}}function Dw(t){return oP(t,GP)||oP(t,YP)}function WP(t){return Dw(t)!==null}function oP(t,e){return t.hasOwnProperty(e)?t[e]:null}function mX(t){let e=t&&(t[GP]||t[YP]);return e||null}function aP(t){return t&&(t.hasOwnProperty(sP)||t.hasOwnProperty(gX))?t[sP]:null}var GP=an({\u0275prov:an}),sP=an({\u0275inj:an}),YP=an({ngInjectableDef:an}),gX=an({ngInjectorDef:an}),Mt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Mt||{}),jS;function yX(){return jS}function vo(t){let e=jS;return jS=t,e}function KP(t,e,n){let r=Dw(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&Mt.Optional)return null;if(e!==void 0)return e;OE($r(t),"Injector")}var fd=globalThis;var de=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=ne({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var bX={},Ym=bX,zS="__NG_DI_FLAG__",ow="ngTempTokenPath",_X="ngTokenPath",wX=/\n/gm,vX="\u0275",lP="__source",Wm;function Vl(t){let e=Wm;return Wm=t,e}function kX(t,e=Mt.Default){if(Wm===void 0)throw new le(-203,!1);return Wm===null?KP(t,void 0,e):Wm.get(t,e&Mt.Optional?null:void 0,e)}function B(t,e=Mt.Default){return(yX()||kX)(ci(t),e)}function ae(t,e=Mt.Default){return B(t,Sw(e))}function Sw(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function LS(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let o=[];for(let a in e)if(e.hasOwnProperty(a)){let s=e[a];o.push(a+":"+(typeof s=="string"?JSON.stringify(s):$r(s)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(wX,` - `)}`}function og(t){return{toString:t}.toString()}var XP=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(XP||{}),La=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(La||{}),Xf={},Ti=[];function QP(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}function BS(t,e,n){let r=0;for(;re){a=o-1;break}}}for(;oo?f="":f=i[u+1].toLowerCase();let h=r&8?f:null;if(h&&QP(h,c,0)!==-1||r&2&&c!==f){if(ra(r))return!1;a=!0}}}}return ra(r)||a}function ra(t){return(t&1)===0}function AX(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+s+'"':"")+"]"}else r&8?i+="."+a:r&4&&(i+=" "+a);else i!==""&&!ra(a)&&(e+=dP(o,i),i=""),r=a,o=o||!ra(r);n++}return i!==""&&(e+=dP(o,i)),e}function RX(t){return t.map(NX).join(",")}function jX(t){let e=[],n=[],r=1,i=2;for(;r{let e=sF(t),n=W(S({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===XP.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||La.Emulated,styles:t.styles||Ti,_:null,schemas:t.schemas||null,tView:null,id:""});lF(n);let r=t.dependencies;return n.directiveDefs=fP(r,!1),n.pipeDefs=fP(r,!0),n.id=BX(n),n})}function zX(t){return pd(t)||rF(t)}function LX(t){return t!==null}function At(t){return og(()=>({type:t.type,bootstrap:t.bootstrap||Ti,declarations:t.declarations||Ti,imports:t.imports||Ti,exports:t.exports||Ti,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function uP(t,e){if(t==null)return Xf;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}function ve(t){return og(()=>{let e=sF(t);return lF(e),e})}function pd(t){return t[sX]||null}function rF(t){return t[lX]||null}function iF(t){return t[cX]||null}function oF(t){let e=pd(t)||rF(t)||iF(t);return e!==null?e.standalone:!1}function aF(t,e){let n=t[dX]||null;if(!n&&e===!0)throw new Error(`Type ${$r(t)} does not have '\u0275mod' property.`);return n}function sF(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Xf,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Ti,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:uP(t.inputs,e),outputs:uP(t.outputs),debugInfo:null}}function lF(t){t.features?.forEach(e=>e(t))}function fP(t,e){if(!t)return null;let n=e?iF:zX;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(LX)}function BX(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Ns=0,ht=1,st=2,Xn=3,ia=4,Ji=5,Qf=6,Zm=7,Pr=8,Jf=9,eh=10,Mn=11,Xm=12,hP=13,lh=14,ko=15,ag=16,Wf=17,za=18,Ew=19,cF=20,Gm=21,wS=22,md=23,Ai=25,dF=1;var gd=7,aw=8,th=9,qr=10,nh=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(nh||{});function Ul(t){return Array.isArray(t)&&typeof t[dF]=="object"}function oa(t){return Array.isArray(t)&&t[dF]===!0}function PE(t){return(t.flags&4)!==0}function Mw(t){return t.componentOffset>-1}function Tw(t){return(t.flags&1)===1}function Hl(t){return!!t.template}function VX(t){return(t[st]&512)!==0}function rh(t,e){let n=t.hasOwnProperty(iw);return n?t[iw]:null}var VS=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Qn(){return uF}function uF(t){return t.type.prototype.ngOnChanges&&(t.setInput=HX),UX}Qn.ngInherit=!0;function UX(){let t=hF(this),e=t?.current;if(e){let n=t.previous;if(n===Xf)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function HX(t,e,n,r){let i=this.declaredInputs[n],o=hF(t)||$X(t,{previous:Xf,current:null}),a=o.current||(o.current={}),s=o.previous,l=s[i];a[i]=new VS(l&&l.currentValue,e,s===Xf),t[r]=e}var fF="__ngSimpleChanges__";function hF(t){return t[fF]||null}function $X(t,e){return t[fF]=e}var pP=null;var Ra=function(t,e,n){pP?.(t,e,n)},pF="svg",qX="math";function Ba(t){for(;Array.isArray(t);)t=t[Ns];return t}function mF(t,e){return Ba(e[t])}function Co(t,e){return Ba(e[t.index])}function FE(t,e){return t.data[e]}function WX(t,e){return t[e]}function Yl(t,e){let n=e[t];return Ul(n)?n:n[Ns]}function GX(t){return(t[st]&4)===4}function NE(t){return(t[st]&128)===128}function YX(t){return oa(t[Xn])}function ih(t,e){return e==null?null:t[e]}function gF(t){t[Wf]=0}function KX(t){t[st]&1024||(t[st]|=1024,NE(t)&&Aw(t))}function ZX(t,e){for(;t>0;)e=e[lh],t--;return e}function yF(t){return t[st]&9216||t[md]?.dirty}function bF(t){yF(t)&&Aw(t)}function Aw(t){let e=t[Xn];for(;e!==null&&!(oa(e)&&e[st]&nh.HasChildViewsToRefresh||Ul(e)&&e[st]&8192);){if(oa(e))e[st]|=nh.HasChildViewsToRefresh;else if(e[st]|=8192,!NE(e))break;e=e[Xn]}}function XX(t,e){if((t[st]&256)===256)throw new le(911,!1);t[Gm]===null&&(t[Gm]=[]),t[Gm].push(e)}var yt={lFrame:DF(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function QX(){return yt.lFrame.elementDepthCount}function JX(){yt.lFrame.elementDepthCount++}function eQ(){yt.lFrame.elementDepthCount--}function _F(){return yt.bindingsEnabled}function wF(){return yt.skipHydrationRootTNode!==null}function tQ(t){return yt.skipHydrationRootTNode===t}function nQ(){yt.skipHydrationRootTNode=null}function Dt(){return yt.lFrame.lView}function Jn(){return yt.lFrame.tView}function un(t){return yt.lFrame.contextLView=t,t[Pr]}function fn(t){return yt.lFrame.contextLView=null,t}function di(){let t=vF();for(;t!==null&&t.type===64;)t=t.parent;return t}function vF(){return yt.lFrame.currentTNode}function rQ(){let t=yt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function xd(t,e){let n=yt.lFrame;n.currentTNode=t,n.isParent=e}function RE(){return yt.lFrame.isParent}function jE(){yt.lFrame.isParent=!1}function iQ(){return yt.lFrame.contextLView}function zE(){let t=yt.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function oQ(){return yt.lFrame.bindingIndex}function aQ(t){return yt.lFrame.bindingIndex=t}function ch(){return yt.lFrame.bindingIndex++}function LE(t){let e=yt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function sQ(){return yt.lFrame.inI18n}function lQ(t,e){let n=yt.lFrame;n.bindingIndex=n.bindingRootIndex=t,US(e)}function cQ(){return yt.lFrame.currentDirectiveIndex}function US(t){yt.lFrame.currentDirectiveIndex=t}function dQ(t){let e=yt.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function kF(){return yt.lFrame.currentQueryIndex}function BE(t){yt.lFrame.currentQueryIndex=t}function uQ(t){let e=t[ht];return e.type===2?e.declTNode:e.type===1?t[Ji]:null}function xF(t,e,n){if(n&Mt.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&Mt.Host);)if(i=uQ(o),i===null||(o=o[lh],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=yt.lFrame=CF();return r.currentTNode=e,r.lView=t,!0}function VE(t){let e=CF(),n=t[ht];yt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function CF(){let t=yt.lFrame,e=t===null?null:t.child;return e===null?DF(t):e}function DF(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function SF(){let t=yt.lFrame;return yt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var EF=SF;function UE(){let t=SF();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function fQ(t){return(yt.lFrame.contextLView=ZX(t,yt.lFrame.contextLView))[Pr]}function Rs(){return yt.lFrame.selectedIndex}function yd(t){yt.lFrame.selectedIndex=t}function Iw(){let t=yt.lFrame;return FE(t.tView,t.selectedIndex)}function MF(){yt.lFrame.currentNamespace=pF}function hQ(){return yt.lFrame.currentNamespace}var TF=!0;function Ow(){return TF}function Pw(t){TF=t}function pQ(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let a=uF(e);(n.preOrderHooks??=[]).push(t,a),(n.preOrderCheckHooks??=[]).push(t,a)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function Fw(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[Wf]+=65536),(s>14>16&&(t[st]&3)===e&&(t[st]+=16384,mP(s,o)):mP(s,o)}var Kf=-1,bd=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function gQ(t){return t instanceof bd}function yQ(t){return(t.flags&8)!==0}function bQ(t){return(t.flags&16)!==0}function IF(t){return t!==Kf}function sw(t){let e=t&32767;return t&32767}function _Q(t){return t>>16}function lw(t,e){let n=_Q(t),r=e;for(;n>0;)r=r[lh],n--;return r}var HS=!0;function gP(t){let e=HS;return HS=t,e}var wQ=256,OF=wQ-1,PF=5,vQ=0,ja={};function kQ(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(qm)&&(r=n[qm]),r==null&&(r=n[qm]=vQ++);let i=r&OF,o=1<>PF)]|=o}function cw(t,e){let n=FF(t,e);if(n!==-1)return n;let r=e[ht];r.firstCreatePass&&(t.injectorIndex=e.length,kS(r.data,t),kS(e,null),kS(r.blueprint,null));let i=HE(t,e),o=t.injectorIndex;if(IF(i)){let a=sw(i),s=lw(i,e),l=s[ht].data;for(let c=0;c<8;c++)e[o+c]=s[a+c]|l[a+c]}return e[o+8]=i,o}function kS(t,e){t.push(0,0,0,0,0,0,0,0,e)}function FF(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function HE(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=LF(i),r===null)return Kf;if(n++,i=i[lh],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Kf}function $S(t,e,n){kQ(t,e,n)}function xQ(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,i=0;for(;i>20,u=r?s:s+d,f=i?s+d:c;for(let h=u;h=l&&p.type===n)return h}if(i){let h=a[l];if(h&&Hl(h)&&h.type===n)return l}return null}function _d(t,e,n,r){let i=t[n],o=e.data;if(gQ(i)){let a=i;a.resolving&&fX(uX(o[n]));let s=gP(a.canSeeViewProviders);a.resolving=!0;let l,c=a.injectImpl?vo(a.injectImpl):null,d=xF(t,r,Mt.Default);try{i=t[n]=a.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&pQ(n,o[n],e)}finally{c!==null&&vo(c),gP(s),a.resolving=!1,EF()}}return i}function DQ(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(qm)?t[qm]:void 0;return typeof e=="number"?e>=0?e&OF:SQ:e}function yP(t,e,n){let r=1<>PF)]&r)}function bP(t,e){return!(t&Mt.Self)&&!(t&Mt.Host&&e)}var hd=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return jF(this._tNode,this._lView,e,Sw(r),n)}};function SQ(){return new hd(di(),Dt())}function It(t){return og(()=>{let e=t.prototype.constructor,n=e[iw]||qS(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[iw]||qS(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function qS(t){return HP(t)?()=>{let e=qS(ci(t));return e&&e()}:rh(t)}function EQ(t,e,n,r,i){let o=t,a=e;for(;o!==null&&a!==null&&a[st]&2048&&!(a[st]&512);){let s=zF(o,a,n,r|Mt.Self,ja);if(s!==ja)return s;let l=o.parent;if(!l){let c=a[cF];if(c){let d=c.get(n,ja,r);if(d!==ja)return d}l=LF(a),a=a[lh]}o=l}return i}function LF(t){let e=t[ht],n=e.type;return n===2?e.declTNode:n===1?t[Ji]:null}function sg(t){return xQ(di(),t)}var Y_="__parameters__";function MQ(t){return function(...n){if(t){let r=t(...n);for(let i in r)this[i]=r[i]}}}function BF(t,e,n){return og(()=>{let r=MQ(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;let a=new i(...o);return s.annotation=a,s;function s(l,c,d){let u=l.hasOwnProperty(Y_)?l[Y_]:Object.defineProperty(l,Y_,{value:[]})[Y_];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),l}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function TQ(t){return typeof t=="function"}function AQ(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?$E(n,e):e(n))}function VF(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function dw(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function UF(t,e){let n=[];for(let r=0;re;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Nw(t,e,n){let r=lg(t,e);return r>=0?t[r|1]=n:(r=~r,OQ(t,r,e,n)),r}function xS(t,e){let n=lg(t,e);if(n>=0)return t[n|1]}function lg(t,e){return PQ(t,e,1)}function PQ(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),a=t[o<e?i=o:r=o+1}return~(i<{n.push(a)};return $E(e,a=>{let s=a;WS(s,o,[],r)&&(i||=[],i.push(s))}),i!==void 0&&WF(i,o),n}function WF(t,e){for(let n=0;n{e(o,r)})}}function WS(t,e,n,r){if(t=ci(t),!t)return!1;let i=null,o=aP(t),a=!o&&pd(t);if(!o&&!a){let l=t.ngModule;if(o=aP(l),o)i=l;else return!1}else{if(a&&!a.standalone)return!1;i=t}let s=r.has(i);if(a){if(s)return!1;if(r.add(i),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)WS(c,e,n,r)}}else if(o){if(o.imports!=null&&!s){r.add(i);let c;try{$E(o.imports,d=>{WS(d,e,n,r)&&(c||=[],c.push(d))})}finally{}c!==void 0&&WF(c,e)}if(!s){let c=rh(i)||(()=>new i);e({provide:i,useFactory:c,deps:Ti},i),e({provide:$F,useValue:i,multi:!0},i),e({provide:cg,useValue:()=>B(i),multi:!0},i)}let l=o.providers;if(l!=null&&!s){let c=t;WE(l,d=>{e(d,c)})}}else return!1;return i!==t&&t.providers!==void 0}function WE(t,e){for(let n of t)$P(n)&&(n=n.\u0275providers),Array.isArray(n)?WE(n,e):e(n)}var NQ=an({provide:String,useValue:an});function GF(t){return t!==null&&typeof t=="object"&&NQ in t}function RQ(t){return!!(t&&t.useExisting)}function jQ(t){return!!(t&&t.useFactory)}function oh(t){return typeof t=="function"}function zQ(t){return!!t.useClass}var jw=new de("Set Injector scope."),tw={},LQ={},CS;function GE(){return CS===void 0&&(CS=new uw),CS}var Ii=class{},Qm=class extends Ii{get destroyed(){return this._destroyed}constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,YS(e,a=>this.processProvider(a)),this.records.set(HF,Gf(void 0,this)),i.has("environment")&&this.records.set(Ii,Gf(void 0,this));let o=this.records.get(jw);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get($F,Ti,Mt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Vl(this),r=vo(void 0),i;try{return e()}finally{Vl(n),vo(r)}}get(e,n=Ym,r=Mt.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(iP))return e[iP](this);r=Sw(r);let i,o=Vl(this),a=vo(void 0);try{if(!(r&Mt.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=$Q(e)&&Dw(e);c&&this.injectableDefInScope(c)?l=Gf(GS(e),tw):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let s=r&Mt.Self?GE():this.parent;return n=r&Mt.Optional&&n===Ym?null:n,s.get(e,n)}catch(s){if(s.name==="NullInjectorError"){if((s[ow]=s[ow]||[]).unshift($r(e)),o)throw s;return CX(s,e,"R3InjectorError",this.source)}else throw s}finally{vo(a),Vl(o)}}resolveInjectorInitializers(){let e=Vl(this),n=vo(void 0),r;try{let i=this.get(cg,Ti,Mt.Self);for(let o of i)o()}finally{Vl(e),vo(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push($r(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(e){e=ci(e);let n=oh(e)?e:ci(e&&e.provide),r=VQ(e);if(!oh(e)&&e.multi===!0){let i=this.records.get(n);i||(i=Gf(void 0,tw,!0),i.factory=()=>LS(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}else{let i=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===tw&&(n.value=LQ,n.value=n.factory()),typeof n.value=="object"&&n.value&&HQ(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=ci(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function GS(t){let e=Dw(t),n=e!==null?e.factory:rh(t);if(n!==null)return n;if(t instanceof de)throw new le(204,!1);if(t instanceof Function)return BQ(t);throw new le(204,!1)}function BQ(t){let e=t.length;if(e>0){let r=UF(e,"?");throw new le(204,!1)}let n=mX(t);return n!==null?()=>n.factory(t):()=>new t}function VQ(t){if(GF(t))return Gf(void 0,t.useValue);{let e=YF(t);return Gf(e,tw)}}function YF(t,e,n){let r;if(oh(t)){let i=ci(t);return rh(i)||GS(i)}else if(GF(t))r=()=>ci(t.useValue);else if(jQ(t))r=()=>t.useFactory(...LS(t.deps||[]));else if(RQ(t))r=()=>B(ci(t.useExisting));else{let i=ci(t&&(t.useClass||t.provide));if(UQ(t))r=()=>new i(...LS(t.deps));else return rh(i)||GS(i)}return r}function Gf(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function UQ(t){return!!t.deps}function HQ(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function $Q(t){return typeof t=="function"||typeof t=="object"&&t instanceof de}function YS(t,e){for(let n of t)Array.isArray(n)?YS(n,e):n&&$P(n)?YS(n.\u0275providers,e):e(n)}function js(t,e){t instanceof Qm&&t.assertNotDestroyed();let n,r=Vl(t),i=vo(void 0);try{return e()}finally{Vl(r),vo(i)}}function _P(t,e=null,n=null,r){let i=KF(t,e,n,r);return i.resolveInjectorInitializers(),i}function KF(t,e=null,n=null,r,i=new Set){let o=[n||Ti,FQ(t)];return r=r||(typeof t=="object"?void 0:$r(t)),new Qm(o,e||GE(),r||null,i)}var er=(()=>{let e=class e{static create(r,i){if(Array.isArray(r))return _P({name:""},i,r,"");{let o=r.name??"";return _P({name:o},r.parent,r.providers,o)}}};e.THROW_IF_NOT_FOUND=Ym,e.NULL=new uw,e.\u0275prov=ne({token:e,providedIn:"any",factory:()=>B(HF)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var KS;function ZF(t){KS=t}function qQ(){if(KS!==void 0)return KS;if(typeof document<"u")return document;throw new le(210,!1)}var zw=new de("AppId",{providedIn:"root",factory:()=>WQ}),WQ="ng",YE=new de("Platform Initializer"),Va=new de("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Fn=new de("AnimationModuleType"),dg=new de("CSP nonce",{providedIn:"root",factory:()=>qQ().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),XF={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Lw=new de("ImageConfig",{providedIn:"root",factory:()=>XF});function QF(t){return t instanceof Function?t():t}function JF(t){return(t.flags&128)===128}var Ps=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Ps||{}),GQ=/^>|^->||--!>|)/g,KQ="\u200B$1\u200B";function ZQ(t){return t.replace(GQ,e=>e.replace(YQ,KQ))}var e7=new Map,XQ=0;function QQ(){return XQ++}function JQ(t){e7.set(t[Ew],t)}function eJ(t){e7.delete(t[Ew])}var wP="__ngContext__";function $l(t,e){Ul(e)?(t[wP]=e[Ew],JQ(e)):t[wP]=e}var tJ;function KE(t,e){return tJ(t,e)}function ZE(t){let e=t[Xn];return oa(e)?e[Xn]:e}function t7(t){return r7(t[Xm])}function n7(t){return r7(t[ia])}function r7(t){for(;t!==null&&!oa(t);)t=t[ia];return t}function Yf(t,e,n,r,i){if(r!=null){let o,a=!1;oa(r)?o=r:Ul(r)&&(a=!0,r=r[Ns]);let s=Ba(r);t===0&&n!==null?i==null?s7(e,n,s):fw(e,n,s,i||null,!0):t===1&&n!==null?fw(e,n,s,i||null,!0):t===2?bJ(e,s,a):t===3&&e.destroyNode(s),o!=null&&wJ(e,t,o,n,i)}}function nJ(t,e){return t.createText(e)}function rJ(t,e,n){t.setValue(e,n)}function iJ(t,e){return t.createComment(ZQ(e))}function i7(t,e,n){return t.createElement(e,n)}function oJ(t,e){let n=e[Mn];ug(t,e,n,2,null,null),e[Ns]=null,e[Ji]=null}function aJ(t,e,n,r,i,o){r[Ns]=i,r[Ji]=e,ug(t,r,n,1,i,o)}function sJ(t,e){ug(t,e,e[Mn],2,null,null)}function lJ(t){let e=t[Xm];if(!e)return DS(t[ht],t);for(;e;){let n=null;if(Ul(e))n=e[Xm];else{let r=e[qr];r&&(n=r)}if(!n){for(;e&&!e[ia]&&e!==t;)Ul(e)&&DS(e[ht],e),e=e[Xn];e===null&&(e=t),Ul(e)&&DS(e[ht],e),n=e&&e[ia]}e=n}}function cJ(t,e,n,r){let i=qr+r,o=n.length;r>0&&(n[i-1][ia]=e),r0&&(t[n-1][ia]=r[ia]);let o=dw(t,qr+e);oJ(r[ht],r);let a=o[za];a!==null&&a.detachView(o[ht]),r[Xn]=null,r[ia]=null,r[st]&=-129}return r}function Bw(t,e){if(!(e[st]&256)){let n=e[Mn];n.destroyNode&&ug(t,e,n,3,null,null),lJ(e)}}function DS(t,e){if(!(e[st]&256)){e[st]&=-129,e[st]|=256,e[md]&&T5(e[md]),fJ(t,e),uJ(t,e),e[ht].type===1&&e[Mn].destroy();let n=e[ag];if(n!==null&&oa(e[Xn])){n!==e[Xn]&&o7(n,e);let r=e[za];r!==null&&r.detachView(t)}eJ(e)}}function uJ(t,e){let n=t.cleanup,r=e[Zm];if(n!==null)for(let o=0;o=0?r[a]():r[-a].unsubscribe(),o+=2}else{let a=r[n[o+1]];n[o].call(a)}r!==null&&(e[Zm]=null);let i=e[Gm];if(i!==null){e[Gm]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===La.None||o===La.Emulated)return null}return Co(r,n)}}function fw(t,e,n,r,i){t.insertBefore(e,n,r,i)}function s7(t,e,n){t.appendChild(e,n)}function vP(t,e,n,r,i){r!==null?fw(t,e,n,r,i):s7(t,e,n)}function pJ(t,e,n,r){t.removeChild(e,n,r)}function XE(t,e){return t.parentNode(e)}function mJ(t,e){return t.nextSibling(e)}function l7(t,e,n){return yJ(t,e,n)}function gJ(t,e,n){return t.type&40?Co(t,n):null}var yJ=gJ,kP;function Vw(t,e,n,r){let i=a7(t,r,e),o=e[Mn],a=r.parent||e[Ji],s=l7(a,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return K_}function xP(t){return xJ()?.createScriptURL(t)||t}var hw=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${qP})`}};function Cd(t){return t instanceof hw?t.changingThisBreaksApplicationSecurity:t}function JE(t,e){let n=CJ(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${qP})`)}return n===e}function CJ(t){return t instanceof hw&&t.getTypeName()||null}var DJ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function h7(t){return t=String(t),t.match(DJ)?t:"unsafe:"+t}var Uw=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Uw||{});function Dd(t){let e=m7();return e?e.sanitize(Uw.URL,t)||"":JE(t,"URL")?Cd(t):h7(Zf(t))}function SJ(t){let e=m7();if(e)return xP(e.sanitize(Uw.RESOURCE_URL,t)||"");if(JE(t,"ResourceURL"))return xP(Cd(t));throw new le(904,!1)}function EJ(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?SJ:Dd}function p7(t,e,n){return EJ(e,n)(t)}function m7(){let t=Dt();return t&&t[eh].sanitizer}var MJ="h",TJ="b";var AJ=(t,e,n)=>null;function e2(t,e,n=!1){return AJ(t,e,n)}var XS=class{},pw=class{};function IJ(t){let e=Error(`No component factory found for ${$r(t)}.`);return e[OJ]=t,e}var OJ="ngComponent";var QS=class{resolveComponentFactory(e){throw IJ(e)}},Ua=(()=>{let e=class e{};e.NULL=new QS;let t=e;return t})();function PJ(){return uh(di(),Dt())}function uh(t,e){return new Ce(Co(t,e))}var Ce=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=PJ;let t=e;return t})();function FJ(t){return t instanceof Ce?t.nativeElement:t}var wd=class{},Kl=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>NJ();let t=e;return t})();function NJ(){let t=Dt(),e=di(),n=Yl(e.index,t);return(Ul(n)?n:t)[Mn]}var RJ=(()=>{let e=class e{};e.\u0275prov=ne({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),ql=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},jJ=new ql("17.0.6"),SS={};function g7(t){return t2(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function zJ(t,e){if(Array.isArray(t))for(let n=0;ne,eE=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||LJ}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){let a=!r||n&&n.currentIndex{a=this._trackByFn(i,s),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,s,a,i),r=!0):(r&&(n=this._verifyReinsertion(n,s,a,i)),Object.is(n.item,s)||this._addIdentityChange(n,s)),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,i),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,i)):e=this._addAfter(new tE(n,r),o,i)),e}_verifyReinsertion(e,n,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let i=n===null?this._itHead:n._next;return e._next=i,e._prev=n,i===null?this._itTail=e:i._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new mw),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new mw),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},tE=class{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},nE=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},mw=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new nE,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,i=this.map.get(r);return i?i.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function CP(t,e,n){let r=t.previousIndex;if(r===null)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,n);let o=i._prev,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}let r=new oE(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},oE=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function DP(){return new Hw([new JS])}var Hw=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,i){if(i!=null){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:i=>e.create(r,i||DP()),deps:[[e,new qE,new Rw]]}}find(r){let i=this.factories.find(o=>o.supports(r));if(i!=null)return i;throw new le(901,!1)}};e.\u0275prov=ne({token:e,providedIn:"root",factory:DP});let t=e;return t})();function SP(){return new n2([new rE])}var n2=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,i){if(i){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:i=>e.create(r,i||SP()),deps:[[e,new qE,new Rw]]}}find(r){let i=this.factories.find(o=>o.supports(r));if(i)return i;throw new le(901,!1)}};e.\u0275prov=ne({token:e,providedIn:"root",factory:SP});let t=e;return t})();function gw(t,e,n,r,i=!1){for(;n!==null;){let o=e[n.index];o!==null&&r.push(Ba(o)),oa(o)&&BJ(o,r);let a=n.type;if(a&8)gw(t,e,n.child,r);else if(a&32){let s=KE(n,e),l;for(;l=s();)r.push(l)}else if(a&16){let s=c7(e,n);if(Array.isArray(s))r.push(...s);else{let l=ZE(e[ko]);gw(l[ht],l,s,r,!0)}}n=i?n.projectionNext:n.next}return r}function BJ(t,e){for(let n=qr;n{Aw(t.lView)},consumerOnSignalRead(){this.lView[md]=this}}),qJ="ngOriginalError";function ES(t){return t[qJ]}var Fs=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&ES(e);for(;n&&ES(n);)n=ES(n);return n||null}};var b7=!1,WJ=new de("",{providedIn:"root",factory:()=>b7});var eo={};function se(t){_7(Jn(),Dt(),Rs()+t,!1)}function _7(t,e,n,r){if(!r)if((e[st]&3)===3){let o=t.preOrderCheckHooks;o!==null&&Q_(e,o,n)}else{let o=t.preOrderHooks;o!==null&&J_(e,o,0,n)}yd(n)}function R(t,e=Mt.Default){let n=Dt();if(n===null)return B(t,e);let r=di();return jF(r,n,ci(t),e)}function r2(){let t="invalid";throw new Error(t)}function GJ(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rAi&&_7(t,e,Ai,!1),Ra(a?2:0,i),n(r,i)}finally{yd(o),Ra(a?3:1,i)}}function i2(t,e,n){if(PE(e)){let r=Or(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let a=i;anull;function JJ(t,e,n,r){let i=M7(e);i.push(n),t.firstCreatePass&&T7(t).push(r,i.length-1)}function eee(t,e,n,r,i,o){let a=e?e.injectorIndex:-1,s=0;return wF()&&(s|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function EP(t,e,n,r){for(let i in t)if(t.hasOwnProperty(i)){n=n===null?{}:n;let o=t[i];r===null?MP(n,e,i,o):r.hasOwnProperty(i)&&MP(n,e,r[i],o)}return n}function MP(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function tee(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,a=e.attrs,s=[],l=null,c=null;for(let d=r;d0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function aee(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;Mw(n)&&hee(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||cw(n,e),$l(r,e);let a=n.initialInputs;for(let s=i;s-1&&(Jm(e,r),dw(n,r))}this._attachedToViewContainer=!1}Bw(this._lView[ht],this._lView)}onDestroy(e){XX(this._lView,e)}markForCheck(){u2(this._cdRefInjectingView||this._lView)}detach(){this._lView[st]&=-129}reattach(){bF(this._lView),this._lView[st]|=128}detectChanges(){_ee(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,sJ(this._lView[ht],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new le(902,!1);this._appRef=e}},ui=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Cee;let t=e;return t})();function Cee(t){return Dee(di(),Dt(),(t&16)===16)}function Dee(t,e,n){if(Mw(t)&&!n){let r=Yl(t.index,e);return new vd(r,r)}else if(t.type&47){let r=e[ko];return new vd(r,e)}return null}var TP=new Set;function fg(t){TP.has(t)||(TP.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var lE=class extends Ee{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let i=e,o=n||(()=>null),a=r;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=MS(o),i&&(i=MS(i)),a&&(a=MS(a)));let s=super.subscribe({next:i,error:o,complete:a});return e instanceof Lt&&e.add(s),s}};function MS(t){return e=>{setTimeout(t,void 0,e)}}var Xe=lE;function AP(...t){}function See(){let t=typeof fd.requestAnimationFrame=="function",e=fd[t?"requestAnimationFrame":"setTimeout"],n=fd[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var xe=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Xe(!1),this.onMicrotaskEmpty=new Xe(!1),this.onStable=new Xe(!1),this.onError=new Xe(!1),typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=See().nativeRequestAnimationFrame,Tee(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new le(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,e,Eee,AP,AP);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},Eee={};function f2(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Mee(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(fd,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,cE(t),t.isCheckStableRunning=!0,f2(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),cE(t))}function Tee(t){let e=()=>{Mee(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,a,s)=>{if(Aee(s))return n.invokeTask(i,o,a,s);try{return IP(t),n.invokeTask(i,o,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),OP(t)}},onInvoke:(n,r,i,o,a,s,l)=>{try{return IP(t),n.invoke(i,o,a,s,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),OP(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,cE(t),f2(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function cE(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function IP(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function OP(t){t._nesting--,f2(t)}var j7=new de("",{providedIn:"root",factory:z7});function z7(){let t=ae(xe),e=!0,n=new Ke(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),r=new Ke(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{xe.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let a=t.onUnstable.subscribe(()=>{xe.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return Qi(n,r.pipe(qf()))}function Aee(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Iee=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=ne({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Oee(t,e){let n=Yl(e,t),r=n[ht];Pee(r,n);let i=n[Ns];i!==null&&n[Qf]===null&&(n[Qf]=e2(i,n[Jf])),h2(r,n,n[Pr])}function Pee(t,e){for(let n=e.length;n0&&u7(t,n,o.join(" "))}}function Vee(t,e,n){let r=t.projection=[];for(let i=0;i=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Km(i.hostAttrs,n=Km(n,i.hostAttrs))}}function Z_(t){return t===Xf?{}:t===Ti?[]:t}function qee(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function Wee(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function Gee(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function Do(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}t.inputTransforms=n}function p2(t,e,n){return t[e]=n}function Yee(t,e){return t[e]}function aa(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function L7(t,e,n,r){let i=aa(t,e,n);return aa(t,e+1,r)||i}function hn(t,e,n,r){let i=Dt(),o=ch();if(aa(i,o,e)){let a=Jn(),s=Iw();pee(s,i,t,e,n,r)}return hn}function B7(t,e,n,r){return aa(t,ch(),n)?e+Zf(n)+r:eo}function Kee(t,e,n,r,i,o){let a=oQ(),s=L7(t,a,n,i);return LE(2),s?e+Zf(n)+r+Zf(i)+o:eo}function X_(t,e){return t<<17|e<<2}function kd(t){return t>>17&32767}function Zee(t){return(t&2)==2}function Xee(t,e){return t&131071|e<<17}function fE(t){return t|2}function ah(t){return(t&131068)>>2}function TS(t,e){return t&-131069|e<<2}function Qee(t){return(t&1)===1}function hE(t){return t|1}function Jee(t,e,n,r,i,o){let a=o?e.classBindings:e.styleBindings,s=kd(a),l=ah(a);t[r]=n;let c=!1,d;if(Array.isArray(n)){let u=n;d=u[1],(d===null||lg(u,d)>0)&&(c=!0)}else d=n;if(i)if(l!==0){let f=kd(t[s+1]);t[r+1]=X_(f,s),f!==0&&(t[f+1]=TS(t[f+1],r)),t[s+1]=Xee(t[s+1],r)}else t[r+1]=X_(s,0),s!==0&&(t[s+1]=TS(t[s+1],r)),s=r;else t[r+1]=X_(l,0),s===0?s=r:t[l+1]=TS(t[l+1],r),l=r;c&&(t[r+1]=fE(t[r+1])),FP(t,d,r,!0,o),FP(t,d,r,!1,o),ete(e,d,t,r,o),a=X_(s,l),o?e.classBindings=a:e.styleBindings=a}function ete(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&lg(o,e)>=0&&(n[r+1]=hE(n[r+1]))}function FP(t,e,n,r,i){let o=t[n+1],a=e===null,s=r?kd(o):ah(o),l=!1;for(;s!==0&&(l===!1||a);){let c=t[s],d=t[s+1];tte(c,e)&&(l=!0,t[s+1]=r?hE(d):fE(d)),s=r?kd(d):ah(d)}l&&(t[n+1]=r?fE(o):hE(o))}function tte(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?lg(t,e)>=0:!1}var ar={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function V7(t){return t.substring(ar.key,ar.keyEnd)}function nte(t){return t.substring(ar.value,ar.valueEnd)}function rte(t){return $7(t),U7(t,sh(t,0,ar.textEnd))}function U7(t,e){let n=ar.textEnd;return n===e?-1:(e=ar.keyEnd=ote(t,ar.key=e,n),sh(t,e,n))}function ite(t){return $7(t),H7(t,sh(t,0,ar.textEnd))}function H7(t,e){let n=ar.textEnd,r=ar.key=sh(t,e,n);return n===r?-1:(r=ar.keyEnd=ate(t,r,n),r=NP(t,r,n,58),r=ar.value=sh(t,r,n),r=ar.valueEnd=ste(t,r,n),NP(t,r,n,59))}function $7(t){ar.key=0,ar.keyEnd=0,ar.value=0,ar.valueEnd=0,ar.textEnd=t.length}function sh(t,e,n){for(;e32;)e++;return e}function ate(t,e,n){let r;for(;e=65&&(r&-33)<=90||r>=48&&r<=57);)e++;return e}function NP(t,e,n,r){return e=sh(t,e,n),e32&&(s=a),o=i,i=r,r=l&-33}return s}function RP(t,e,n,r){let i=-1,o=n;for(;o=0;n=H7(e,n))Z7(t,V7(e),nte(e))}function sr(t){G7(mte,cte,t,!0)}function cte(t,e){for(let n=rte(e);n>=0;n=U7(e,n))Nw(t,V7(e),!0)}function W7(t,e,n,r){let i=Dt(),o=Jn(),a=LE(2);if(o.firstUpdatePass&&K7(o,t,a,r),e!==eo&&aa(i,a,e)){let s=o.data[Rs()];X7(o,s,i,i[Mn],t,i[a+1]=yte(e,n),r,a)}}function G7(t,e,n,r){let i=Jn(),o=LE(2);i.firstUpdatePass&&K7(i,null,o,r);let a=Dt();if(n!==eo&&aa(a,o,n)){let s=i.data[Rs()];if(Q7(s,r)&&!Y7(i,o)){let l=r?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(n=RS(l,n||"")),pE(i,s,a,n,r)}else gte(i,s,a,a[Mn],a[o+1],a[o+1]=pte(t,e,n),r,o)}}function Y7(t,e){return e>=t.expandoStartIndex}function K7(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[Rs()],a=Y7(t,n);Q7(o,r)&&e===null&&!a&&(e=!1),e=dte(i,o,e,r),Jee(i,o,e,n,a,r)}}function dte(t,e,n,r){let i=dQ(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=AS(null,t,e,n,r),n=tg(n,e.attrs,r),o=null);else{let a=e.directiveStylingLast;if(a===-1||t[a]!==i)if(n=AS(i,t,e,n,r),o===null){let l=ute(t,e,r);l!==void 0&&Array.isArray(l)&&(l=AS(null,t,e,l[1],r),l=tg(l,e.attrs,r),fte(t,e,r,l))}else o=hte(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function ute(t,e,n){let r=n?e.classBindings:e.styleBindings;if(ah(r)!==0)return t[kd(r)]}function fte(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[kd(i)]=r}function hte(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],c=Array.isArray(l),d=c?l[1]:l,u=d===null,f=n[i+1];f===eo&&(f=u?Ti:void 0);let h=u?xS(f,r):d===r?f:void 0;if(c&&!_w(h)&&(h=xS(l,r)),_w(h)&&(s=h,a))return s;let p=t[i+1];i=a?kd(p):ah(p)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(s=xS(l,r))}return s}function _w(t){return t!==void 0}function yte(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=$r(Cd(t)))),t}function Q7(t,e){return(t.flags&(e?8:16))!==0}var r3e=new RegExp(`^(\\d+)*(${TJ}|${MJ})*(.*)`);var bte=(t,e)=>null;function ng(t,e){return bte(t,e)}var mE=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let a=this.detach(r);this.attach(r,o),this.attach(i,a)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function IS(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function _te(t,e,n){let r,i,o=0,a=t.length-1;if(Array.isArray(e)){let s=e.length-1;for(;o<=a&&o<=s;){let l=t.at(o),c=e[o],d=IS(o,l,o,c,n);if(d!==0){d<0&&t.updateValue(o,c),o++;continue}let u=t.at(a),f=e[s],h=IS(a,u,s,f,n);if(h!==0){h<0&&t.updateValue(a,f),a--,s--;continue}let p=n(o,l),g=n(a,u),b=n(o,c);if(Object.is(b,g)){let _=n(s,f);Object.is(_,p)?(t.swap(o,a),t.updateValue(a,f),s--,a--):t.move(a,o),t.updateValue(o,c),o++;continue}if(r??=new ww,i??=LP(t,o,a,n),gE(t,r,o,b))t.updateValue(o,c),o++,a++;else if(i.has(b))r.set(p,t.detach(o)),a--;else{let _=t.create(o,e[o]);t.attach(o,_),o++,a++}}for(;o<=s;)zP(t,r,n,o,e[o]),o++}else if(e!=null){let s=e[Symbol.iterator](),l=s.next();for(;!l.done&&o<=a;){let c=t.at(o),d=l.value,u=IS(o,c,o,d,n);if(u!==0)u<0&&t.updateValue(o,d),o++,l=s.next();else{r??=new ww,i??=LP(t,o,a,n);let f=n(o,d);if(gE(t,r,o,f))t.updateValue(o,d),o++,a++,l=s.next();else if(!i.has(f))t.attach(o,t.create(o,d)),o++,a++,l=s.next();else{let h=n(o,c);r.set(h,t.detach(o)),a--}}}for(;!l.done;)zP(t,r,n,t.length,l.value),l=s.next()}for(;o<=a;)t.destroy(t.detach(a--));r?.forEach(s=>{t.destroy(s)})}function gE(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function zP(t,e,n,r,i){if(gE(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function LP(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var ww=class{constructor(){this.map=new Map}has(e){let n=this.map.get(e);return n!==void 0&&n.length>0}delete(e){let n=this.map.get(e);return n!==void 0?(n.shift(),!0):!1}get(e){let n=this.map.get(e);return n!==void 0&&n.length>0?n[0]:void 0}set(e,n){if(!this.map.has(e)){this.map.set(e,[n]);return}this.map.get(e)?.push(n)}forEach(e){for(let[n,r]of this.map)for(let i of r)e(i,n)}};function Ww(t,e,n,r){let i=e.tView,a=t[st]&4096?4096:16,s=$w(t,i,n,a,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),l=t[e.index];s[ag]=l;let c=t[za];return c!==null&&(s[za]=c.createEmbeddedView(i)),h2(i,s,n),s}function J7(t,e){let n=qr+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=wte;let t=e;return t})();function wte(){let t=di();return nN(t,Dt())}var vte=$n,tN=class extends vte{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return uh(this._hostTNode,this._hostLView)}get injector(){return new hd(this._hostTNode,this._hostLView)}get parentInjector(){let e=HE(this._hostTNode,this._hostLView);if(IF(e)){let n=lw(e,this._hostLView),r=sw(e),i=n[ht].data[r+8];return new hd(i,n)}else return new hd(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=BP(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-qr}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let a=ng(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(s,i,rg(this._hostTNode,a)),s}createComponent(e,n,r,i,o){let a=e&&!TQ(e),s;if(a)s=n;else{let p=n||{};s=p.index,r=p.injector,i=p.projectableNodes,o=p.environmentInjector||p.ngModuleRef}let l=a?e:new eg(pd(e)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let g=(a?c:this.parentInjector).get(Ii,null);g&&(o=g)}let d=pd(l.componentType??{}),u=ng(this._lContainer,d?.id??null),f=u?.firstChild??null,h=l.create(c,i,f,o);return this.insertImpl(h.hostView,s,rg(this._hostTNode,u)),h}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(YX(i)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let l=i[Xn],c=new tN(l,l[Ji],l[Xn]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(n),a=this._lContainer;return Gw(a,i,o,r),e.attachToViewContainerRef(),VF(OS(a),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=BP(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=Jm(this._lContainer,n);r&&(dw(OS(this._lContainer),n),Bw(r[ht],r))}detach(e){let n=this._adjustIndex(e,-1),r=Jm(this._lContainer,n);return r&&dw(OS(this._lContainer),n)!=null?new vd(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function BP(t){return t[aw]}function OS(t){return t[aw]||(t[aw]=[])}function nN(t,e){let n,r=e[t.index];return oa(r)?n=r:(n=S7(r,e,null,t),e[t.index]=n,qw(e,n)),xte(n,e,t,r),new tN(n,t,e)}function kte(t,e){let n=t[Mn],r=n.createComment(""),i=Co(e,t),o=XE(n,i);return fw(n,o,r,mJ(n,i),!1),r}var xte=Ste,Cte=(t,e,n)=>!1;function Dte(t,e,n){return Cte(t,e,n)}function Ste(t,e,n,r){if(t[gd])return;let i;n.type&8?i=Ba(r):i=kte(e,n),t[gd]=i}function Ete(t,e,n,r,i,o,a,s,l){let c=e.consts,d=fh(e,t,4,a||null,ih(c,s));c2(e,n,d,ih(c,l)),Fw(e,d);let u=d.tView=s2(2,d,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function bt(t,e,n,r,i,o,a,s){let l=Dt(),c=Jn(),d=t+Ai,u=c.firstCreatePass?Ete(d,c,l,e,n,r,i,o,a):c.data[d];xd(u,!1);let f=Mte(c,l,u,t);Ow()&&Vw(c,l,f,u),$l(f,l);let h=S7(f,l,f,u);return l[d]=h,qw(l,h),Dte(h,u,l),Tw(u)&&o2(c,l,u),a!=null&&a2(l,u,s),bt}var Mte=Tte;function Tte(t,e,n,r){return Pw(!0),e[Mn].createComment("")}function tn(t,e,n){fg("NgControlFlow");let r=Dt(),i=ch(),o=wE(r,Ai+t),a=0;if(aa(r,i,e)){let s=Or(null);try{if(eN(o,a),e!==-1){let l=vE(r[ht],Ai+e),c=ng(o,l.tView.ssrId),d=Ww(r,l,n,{dehydratedView:c});Gw(o,d,a,rg(l,c))}}finally{Or(s)}}else{let s=J7(o,a);s!==void 0&&(s[Pr]=n)}}var yE=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-qr}};function Yw(t){return t}function Oi(t,e){return e}var bE=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function kr(t,e,n,r,i,o,a,s,l,c,d){fg("NgControlFlow");let u=l!==void 0,f=Dt(),h=s?a.bind(f[ko][Pr]):a,p=new bE(u,h);f[Ai+t]=p,bt(t+1,e,n,r,i,o),u&&bt(t+2,l,c,d)}var _E=class extends mE{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-qr}at(e){return this.getLView(e)[Pr].$implicit}attach(e,n){let r=n[Qf];this.needsIndexUpdate||=e!==this.length,Gw(this.lContainer,n,e,rg(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Ate(this.lContainer,e)}create(e,n){let r=ng(this.lContainer,this.templateTNode.tView.ssrId);return Ww(this.hostLView,this.templateTNode,new yE(this.lContainer,n,e),{dehydratedView:r})}destroy(e){Bw(e[ht],e)}updateValue(e,n){this.getLView(e)[Pr].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Pw(!0),i7(r,i,hQ()));function Fte(t,e,n,r,i){let o=e.consts,a=ih(o,r),s=fh(e,t,8,"ng-container",a);a!==null&&yw(s,a,!0);let l=ih(o,i);return c2(e,n,s,l),e.queries!==null&&e.queries.elementStart(e,s),s}function rN(t,e,n){let r=Dt(),i=Jn(),o=t+Ai,a=i.firstCreatePass?Fte(o,i,r,e,n):i.data[o];xd(a,!0);let s=Nte(i,r,a,t);return r[o]=s,Ow()&&Vw(i,r,s,a),$l(s,r),Tw(a)&&(o2(i,r,a),i2(i,a,r)),n!=null&&a2(r,a),rN}function iN(){let t=di(),e=Jn();return RE()?jE():(t=t.parent,xd(t,!1)),e.firstCreatePass&&(Fw(e,t),PE(t)&&e.queries.elementEnd(t)),iN}function m2(t,e,n){return rN(t,e,n),iN(),m2}var Nte=(t,e,n,r)=>(Pw(!0),iJ(e[Mn],""));function Fr(){return Dt()}function Ls(t,e,n){let r=Dt(),i=ch();if(aa(r,i,e)){let o=Jn(),a=Iw();l2(o,a,r,t,e,r[Mn],n,!0)}return Ls}var vw="en-US";var Rte=vw;function jte(t){hX(t,"Expected localeId to be defined"),typeof t=="string"&&(Rte=t.toLowerCase().replace(/_/g,"-"))}function Sd(t){return!!t&&typeof t.then=="function"}function oN(t){return!!t&&typeof t.subscribe=="function"}function we(t,e,n,r){let i=Dt(),o=Jn(),a=di();return Lte(o,i,i[Mn],a,t,e,r),we}function zte(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;ol?s[l]:null}typeof a=="string"&&(o+=2)}return null}function Lte(t,e,n,r,i,o,a){let s=Tw(r),c=t.firstCreatePass&&T7(t),d=e[Pr],u=M7(e),f=!0;if(r.type&3||a){let g=Co(r,e),b=a?a(g):g,_=u.length,x=a?v=>a(Ba(v[r.index])):r.index,E=null;if(!a&&s&&(E=zte(t,e,i,r.index)),E!==null){let v=E.__ngLastListenerFn__||E;v.__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,f=!1}else{o=UP(r,e,d,o,!1);let v=n.listen(b,i,o);u.push(o,v),c&&c.push(i,x,_,_+1)}}else o=UP(r,e,d,o,!1);let h=r.outputs,p;if(f&&h!==null&&(p=h[i])){let g=p.length;if(g)for(let b=0;b-1?Yl(t.index,e):e;u2(s);let l=VP(e,n,r,a),c=o.__ngNextListenerFn__;for(;c;)l=VP(e,n,c,a)&&l,c=c.__ngNextListenerFn__;return i&&l===!1&&a.preventDefault(),l}}function Qe(t=1){return fQ(t)}function Bte(t,e){let n=null,r=IX(t);for(let i=0;i(Pw(!0),nJ(e[Mn],r));function Cr(t){return la("",t,""),Cr}function la(t,e,n){let r=Dt(),i=B7(r,t,e,n);return i!==eo&&I7(r,Rs(),i),la}function g2(t,e,n,r,i){let o=Dt(),a=Kee(o,t,e,n,r,i);return a!==eo&&I7(o,Rs(),a),g2}function Ute(t,e,n){let r=Jn();if(r.firstCreatePass){let i=Hl(t);kE(n,r.data,r.blueprint,i,!0),kE(e,r.data,r.blueprint,i,!1)}}function kE(t,e,n,r,i){if(t=ci(t),Array.isArray(t))for(let o=0;o>20;if(oh(t)||!t.multi){let h=new bd(c,i,R),p=FS(l,e,i?d:d+f,u);p===-1?($S(cw(s,a),o,l),PS(o,t,e.length),e.push(l),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(h),a.push(h)):(n[p]=h,a[p]=h)}else{let h=FS(l,e,d+f,u),p=FS(l,e,d,d+f),g=h>=0&&n[h],b=p>=0&&n[p];if(i&&!b||!i&&!g){$S(cw(s,a),o,l);let _=qte(i?$te:Hte,n.length,i,r,c);!i&&b&&(n[p].providerFactory=_),PS(o,t,e.length,0),e.push(l),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(_),a.push(_)}else{let _=sN(n[i?p:h],c,!i&&r);PS(o,t,h>-1?h:p,_)}!i&&r&&b&&n[p].componentProviders++}}}function PS(t,e,n,r){let i=oh(e),o=zQ(e);if(i||o){let l=(o?ci(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let d=c.indexOf(n);d===-1?c.push(n,[r,l]):c[d+1].push(r,l)}else c.push(n,l)}}}function sN(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function FS(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>Ute(r,i?i(t):t,e)}}var Wl=class{},ig=class{};var CE=class extends Wl{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new bw(this);let i=aF(e);this._bootstrapComponents=QF(i.bootstrap),this._r3Injector=KF(e,n,[{provide:Wl,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver},...r],$r(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},DE=class extends ig{constructor(e){super(),this.moduleType=e}create(e){return new CE(this.moduleType,e,[])}};var kw=class extends Wl{constructor(e){super(),this.componentFactoryResolver=new bw(this),this.instance=null;let n=new Qm([...e.providers,{provide:Wl,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver}],e.parent||GE(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function y2(t,e,n=null){return new kw({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var Wte=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=qF(!1,r.type),o=i.length>0?y2([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=ne({token:e,providedIn:"environment",factory:()=>new e(B(Ii))});let t=e;return t})();function He(t){fg("NgStandalone"),t.getStandaloneInjector=e=>e.get(Wte).getOrCreateStandaloneInjector(t)}function tr(t,e,n){let r=zE()+t,i=Dt();return i[r]===eo?p2(i,r,n?e.call(n):e()):Yee(i,r)}function hh(t,e,n,r){return Gte(Dt(),zE(),t,e,n,r)}function lN(t,e,n,r,i){return Yte(Dt(),zE(),t,e,n,r,i)}function cN(t,e){let n=t[e];return n===eo?void 0:n}function Gte(t,e,n,r,i,o){let a=e+n;return aa(t,a,i)?p2(t,a+1,o?r.call(o,i):r(i)):cN(t,a+1)}function Yte(t,e,n,r,i,o,a){let s=e+n;return L7(t,s,i,o)?p2(t,s+2,a?r.call(a,i,o):r(i,o)):cN(t,s+2)}function Kte(){return this._results[Symbol.iterator]()}var Gl=class t{get changes(){return this._changes||(this._changes=new Xe)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=Kte)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=IQ(e);(this._changesDetected=!AQ(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},_n=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Qte;let t=e;return t})(),Zte=_n,Xte=class extends Zte{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=Ww(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new vd(i)}};function Qte(){return Kw(di(),Dt())}function Kw(t,e){return t.type&4?new Xte(e,t,uh(t,e)):null}var SE=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},EE=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(a[s/2]);else{let c=o[s+1],d=e[-l];for(let u=qr;u{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=ae(pN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let a=o();if(Sd(a))r.push(a);else if(oN(a)){let s=new Promise((l,c)=>{a.subscribe({complete:l,error:c})});r.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Xw=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function one(){return typeof $localize<"u"&&$localize.locale||vw}var Qw=new de("LocaleId",{providedIn:"root",factory:()=>ae(Qw,Mt.Optional|Mt.SkipSelf)||one()});var ph=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zn(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),IE=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},b2=(()=>{let e=class e{compileModuleSync(r){return new DE(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let i=this.compileModuleSync(r),o=aF(r),a=QF(o.declarations).reduce((s,l)=>{let c=pd(l);return c&&s.push(new eg(c)),s},[]);return new IE(i,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var gN=new de("");var rw=null;var yN=new de("PlatformDestroyListeners"),Jw=new de("appBootstrapListener");function ane(){A5(()=>{throw new le(600,!1)})}function sne(t){return t.isBoundToModule}function lne(t=[]){if(rw)return rw;let e=dne(t);return rw=e,ane(),cne(e),e}function cne(t){t.get(YE,null)?.forEach(n=>n())}function bN(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=lne(r),o=[gne(),...n||[]],s=new kw({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=s.get(xe);return l.run(()=>{s.resolveInjectorInitializers();let c=s.get(Fs,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:h=>{c.handleError(h)}})});let u=()=>s.destroy(),f=i.get(yN);return f.add(u),s.onDestroy(()=>{d.unsubscribe(),f.delete(u)}),fne(c,l,()=>{let h=s.get(mN);return h.runInitializers(),h.donePromise.then(()=>{let p=s.get(Qw,vw);jte(p||vw);let g=s.get(Ha);return e!==void 0&&g.bootstrap(e),g})})})}catch(e){return Promise.reject(e)}}function dne(t=[],e){return er.create({name:e,providers:[{provide:jw,useValue:"platform"},{provide:yN,useValue:new Set([()=>rw=null])},...t]})}function une(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function fne(t,e,n){try{let r=n();return Sd(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Ha=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ae(_N),this.zoneIsStable=ae(j7),this.componentTypes=[],this.components=[],this.isStable=ae(ph).hasPendingTasks.pipe(vr(r=>r?ze(!1):this.zoneIsStable),Ll(),qf()),this._injector=ae(Ii)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){let o=r instanceof pw;if(!this._injector.get(mN).done){let p="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&oF(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new le(405,!1)}let s;o?s=r:s=this._injector.get(Ua).resolveComponentFactory(r),this.componentTypes.push(s.componentType);let l=sne(s)?void 0:this._injector.get(Wl),c=i||s.selector,d=s.create(er.NULL,[],c,l),u=d.location.nativeElement,f=d.injector.get(gN,null);return f?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),NS(this.components,d),f?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new le(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;NS(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let i=this._injector.get(Jw,[]);[...this._bootstrapListeners,...i].forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>NS(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new le(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function NS(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var _N=new de("",{providedIn:"root",factory:()=>ae(Fs).handleError.bind(void 0)});function hne(){let t=ae(xe),e=ae(Fs);return n=>t.runOutsideAngular(()=>e.handleError(n))}var pne=(()=>{let e=class e{constructor(){this.zone=ae(xe),this.applicationRef=ae(Ha)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function mne(t){return[{provide:xe,useFactory:t},{provide:cg,multi:!0,useFactory:()=>{let e=ae(pne,{optional:!0});return()=>e.initialize()}},{provide:_N,useFactory:hne},{provide:j7,useFactory:z7}]}function gne(t){let e=mne(()=>new xe(une(t)));return dh([[],e])}function fi(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}var w2=null;function Vs(){return w2}function CN(t){w2||(w2=t)}var ev=class{},tt=new de("DocumentToken"),k2=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>ae(bne))(),providedIn:"platform"});let t=e;return t})();var bne=(()=>{let e=class e extends k2{constructor(){super(),this._doc=ae(tt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Vs().getBaseHref(this._doc)}onPopState(r){let i=Vs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Vs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function x2(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function wN(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function Bs(t){return t&&t[0]!=="?"?"?"+t:t}var Zl=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>ae(SN))(),providedIn:"root"});let t=e;return t})(),DN=new de("appBaseHref"),SN=(()=>{let e=class e extends Zl{constructor(r,i){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ae(tt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return x2(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+Bs(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));this._platformLocation.pushState(r,i,s)}replaceState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));this._platformLocation.replaceState(r,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(B(k2),B(DN,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),EN=(()=>{let e=class e extends Zl{constructor(r,i){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(r){let i=x2(this._baseHref,r);return i.length>0?"#"+i:i}pushState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(r,i,s)}replaceState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(r,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(B(k2),B(DN,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),Us=(()=>{let e=class e{constructor(r){this._subject=new Xe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let i=this._locationStrategy.getBaseHref();this._basePath=vne(wN(vN(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,i=""){return this.path()==this.normalize(r+Bs(i))}normalize(r){return e.stripTrailingSlash(wne(this._basePath,vN(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,i="",o=null){this._locationStrategy.pushState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Bs(i)),o)}replaceState(r,i="",o=null){this._locationStrategy.replaceState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Bs(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",i){this._urlChangeListeners.forEach(o=>o(r,i))}subscribe(r,i,o){return this._subject.subscribe({next:r,error:i,complete:o})}};e.normalizeQueryParams=Bs,e.joinWithSlash=x2,e.stripTrailingSlash=wN,e.\u0275fac=function(i){return new(i||e)(B(Zl))},e.\u0275prov=ne({token:e,factory:()=>_ne(),providedIn:"root"});let t=e;return t})();function _ne(){return new Us(B(Zl))}function wne(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function vN(t){return t.replace(/\/index.html$/,"")}function vne(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function tv(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var _2=/\s+/,kN=[],MN=(()=>{let e=class e{constructor(r,i,o,a){this._iterableDiffers=r,this._keyValueDiffers=i,this._ngEl=o,this._renderer=a,this.initialClasses=kN,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(_2):kN}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(_2):r}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let i of r)this._updateState(i,!0);else if(r!=null)for(let i of Object.keys(r))this._updateState(i,!!r[i]);this._applyStateDiff()}_updateState(r,i){let o=this.stateMap.get(r);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(r,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let i=r[0],o=r[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(r,i){r=r.trim(),r.length>0&&r.split(_2).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(R(Hw),R(n2),R(Ce),R(Kl))},e.\u0275dir=ve({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var TN=(()=>{let e=class e{constructor(r,i){this._viewContainer=r,this._context=new v2,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){xN("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){xN("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,i){return!0}};e.\u0275fac=function(i){return new(i||e)(R($n),R(_n))},e.\u0275dir=ve({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),v2=class{constructor(){this.$implicit=null,this.ngIf=null}};function xN(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${$r(e)}'.`)}var AN=(()=>{let e=class e{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(r,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(R($n))},e.\u0275dir=ve({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Qn]});let t=e;return t})();var ca=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({});let t=e;return t})(),C2="browser",kne="server";function IN(t){return t===C2}function D2(t){return t===kne}var mh=class{};var mg=class{},rv=class{},Md=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` -`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=i.toLowerCase(),a=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let a=this.headers.get(n);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var E2=class{encodeKey(e){return ON(e)}encodeValue(e){return ON(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Dne(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=n.get(a)||[];l.push(s),n.set(a,l)}),n}var Sne=/%(\d[a-f0-9])/gi,Ene={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ON(t){return encodeURIComponent(t).replace(Sne,(e,n)=>Ene[n]??e)}function nv(t){return`${t}`}var Xl=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new E2,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Dne(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(nv):[nv(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(nv(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(nv(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var M2=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Mne(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function PN(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function FN(t){return typeof Blob<"u"&&t instanceof Blob}function NN(t){return typeof FormData<"u"&&t instanceof FormData}function Tne(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var pg=class t{constructor(e,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Mne(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers||(this.headers=new Md),this.context||(this.context=new M2),!this.params)this.params=new Xl,this.urlWithParams=n;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=n;else{let s=n.indexOf("?"),l=s===-1?"?":su.set(f,e.setHeaders[f]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((u,f)=>u.set(f,e.setParams[f]),c)),new t(n,r,o,{params:c,headers:l,context:d,reportProgress:s,responseType:i,withCredentials:a})}},gh=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(gh||{}),gg=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new Md,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},T2=class t extends gg{constructor(e={}){super(e),this.type=gh.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},iv=class t extends gg{constructor(e={}){super(e),this.type=gh.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ov=class extends gg{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function S2(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var A2=(()=>{let e=class e{constructor(r){this.handler=r}request(r,i,o={}){let a;if(r instanceof pg)a=r;else{let c;o.headers instanceof Md?c=o.headers:c=new Md(o.headers);let d;o.params&&(o.params instanceof Xl?d=o.params:d=new Xl({fromObject:o.params})),a=new pg(r,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=ze(a).pipe(jl(c=>this.handler.handle(c)));if(r instanceof pg||o.observe==="events")return s;let l=s.pipe(Yt(c=>c instanceof iv));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(lt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(lt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(lt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(lt(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(r,i={}){return this.request("DELETE",r,i)}get(r,i={}){return this.request("GET",r,i)}head(r,i={}){return this.request("HEAD",r,i)}jsonp(r,i){return this.request("JSONP",r,{params:new Xl().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,i={}){return this.request("OPTIONS",r,i)}patch(r,i,o={}){return this.request("PATCH",r,S2(o,i))}post(r,i,o={}){return this.request("POST",r,S2(o,i))}put(r,i,o={}){return this.request("PUT",r,S2(o,i))}};e.\u0275fac=function(i){return new(i||e)(B(mg))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();function LN(t,e){return e(t)}function Ane(t,e){return(n,r)=>e.intercept(n,{handle:i=>t(i,r)})}function Ine(t,e,n){return(r,i)=>js(n,()=>e(r,o=>t(o,i)))}var One=new de(""),I2=new de(""),Pne=new de(""),Fne=new de("");function Nne(){let t=null;return(e,n)=>{t===null&&(t=(ae(One,{optional:!0})??[]).reduceRight(Ane,LN));let r=ae(ph),i=r.add();return t(e,n).pipe(Bl(()=>r.remove(i)))}}var RN=(()=>{let e=class e extends mg{constructor(r,i){super(),this.backend=r,this.injector=i,this.chain=null,this.pendingTasks=ae(ph);let o=ae(Fne,{optional:!0});this.backend=o??r}handle(r){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(I2),...this.injector.get(Pne,[])]));this.chain=o.reduceRight((a,s)=>Ine(a,s,this.injector),LN)}let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(Bl(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(B(rv),B(Ii))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();var Rne=/^\)\]\}',?\n/;function jne(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var jN=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new le(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?bn(i.\u0275loadImpl()):ze(null)).pipe(vr(()=>new Ke(a=>{let s=i.build();if(s.open(r.method,r.urlWithParams),r.withCredentials&&(s.withCredentials=!0),r.headers.forEach((b,_)=>s.setRequestHeader(b,_.join(","))),r.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let b=r.detectContentTypeHeader();b!==null&&s.setRequestHeader("Content-Type",b)}if(r.responseType){let b=r.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let l=r.serializeBody(),c=null,d=()=>{if(c!==null)return c;let b=s.statusText||"OK",_=new Md(s.getAllResponseHeaders()),x=jne(s)||r.url;return c=new T2({headers:_,status:s.status,statusText:b,url:x}),c},u=()=>{let{headers:b,status:_,statusText:x,url:E}=d(),v=null;_!==204&&(v=typeof s.response>"u"?s.responseText:s.response),_===0&&(_=v?200:0);let j=_>=200&&_<300;if(r.responseType==="json"&&typeof v=="string"){let C=v;v=v.replace(Rne,"");try{v=v!==""?JSON.parse(v):null}catch(P){v=C,j&&(j=!1,v={error:P,text:v})}}j?(a.next(new iv({body:v,headers:b,status:_,statusText:x,url:E||void 0})),a.complete()):a.error(new ov({error:v,headers:b,status:_,statusText:x,url:E||void 0}))},f=b=>{let{url:_}=d(),x=new ov({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});a.error(x)},h=!1,p=b=>{h||(a.next(d()),h=!0);let _={type:gh.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),r.responseType==="text"&&s.responseText&&(_.partialText=s.responseText),a.next(_)},g=b=>{let _={type:gh.UploadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),a.next(_)};return s.addEventListener("load",u),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),r.reportProgress&&(s.addEventListener("progress",p),l!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(l),a.next({type:gh.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",u),s.removeEventListener("timeout",f),r.reportProgress&&(s.removeEventListener("progress",p),l!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(B(mh))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),BN=new de("XSRF_ENABLED"),zne="XSRF-TOKEN",Lne=new de("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>zne}),Bne="X-XSRF-TOKEN",Vne=new de("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Bne}),av=class{},Une=(()=>{let e=class e{constructor(r,i,o){this.doc=r,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=tv(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(B(tt),B(Va),B(Lne))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();function Hne(t,e){let n=t.url.toLowerCase();if(!ae(BN)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=ae(av).getToken(),i=ae(Vne);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}var VN=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(VN||{});function $ne(t,e){return{\u0275kind:t,\u0275providers:e}}function qne(...t){let e=[A2,jN,RN,{provide:mg,useExisting:RN},{provide:rv,useExisting:jN},{provide:I2,useValue:Hne,multi:!0},{provide:BN,useValue:!0},{provide:av,useClass:Une}];for(let n of t)e.push(...n.\u0275providers);return dh(e)}var zN=new de("LEGACY_INTERCEPTOR_FN");function Wne(){return $ne(VN.LegacyInterceptors,[{provide:zN,useFactory:Nne},{provide:I2,useExisting:zN,multi:!0}])}var sv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({providers:[qne(Wne())]});let t=e;return t})();var F2=class extends ev{constructor(){super(...arguments),this.supportsDOMEvents=!0}},N2=class t extends F2{static makeCurrent(){CN(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=Yne();return n==null?null:Kne(n)}resetBaseElement(){yg=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return tv(document.cookie,e)}},yg=null;function Yne(){return yg=yg||document.querySelector("base"),yg?yg.getAttribute("href"):null}function Kne(t){return new URL(t,"http://a").pathname}var Zne=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),R2=new de("EventManagerPlugins"),$N=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(o=>{o.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,o){return this._findPluginFor(i).addEventListener(r,i,o)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(a=>a.supports(r)),!i)throw new le(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(B(R2),B(xe))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),lv=class{constructor(e){this._doc=e}},O2="ng-app-id",qN=(()=>{let e=class e{constructor(r,i,o,a={}){this.doc=r,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=D2(a),this.resetHostNodes()}addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){let i=this.styleRef;i.get(r)?.elements?.forEach(o=>o.remove()),i.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${O2}="${this.appId}"]`);if(r?.length){let i=new Map;return r.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(r,i){let o=this.styleRef;if(o.has(r)){let a=o.get(r);return a.usage+=i,a.usage}return o.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===r)return o.delete(i),a.removeAttribute(O2),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(O2,this.appId),r.appendChild(s),s}}addStyleToHost(r,i){let o=this.getStyleElement(r,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(B(tt),B(zw),B(dg,8),B(Va))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),P2={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},z2=/%COMP%/g,WN="%COMP%",Xne=`_nghost-${WN}`,Qne=`_ngcontent-${WN}`,Jne=!0,ere=new de("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>Jne});function tre(t){return Qne.replace(z2,t)}function nre(t){return Xne.replace(z2,t)}function GN(t,e){return e.map(n=>n.replace(z2,t))}var cv=(()=>{let e=class e{constructor(r,i,o,a,s,l,c,d=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=D2(l),this.defaultRenderer=new bg(r,s,c,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===La.ShadowDom&&(i=W(S({},i),{encapsulation:La.Emulated}));let o=this.getOrCreateRenderer(r,i);return o instanceof dv?o.applyToHost(r):o instanceof _g&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case La.Emulated:a=new dv(c,d,i,this.appId,u,s,l,f);break;case La.ShadowDom:return new j2(c,d,r,i,s,l,this.nonce,f);default:a=new _g(c,d,i,u,s,l,f);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(B($N),B(qN),B(zw),B(ere),B(tt),B(Va),B(xe),B(dg))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),bg=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(P2[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(UN(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(UN(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new le(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let o=P2[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=P2[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Ps.DashCase|Ps.Important)?e.style.setProperty(n,r,i&Ps.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Ps.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Vs().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function UN(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var j2=class extends bg{constructor(e,n,r,i,o,a,s,l){super(e,o,a,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=GN(i.id,i.styles);for(let d of c){let u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},_g=class extends bg{constructor(e,n,r,i,o,a,s,l){super(e,o,a,s),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?GN(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},dv=class extends _g{constructor(e,n,r,i,o,a,s,l){let c=i+"-"+r.id;super(e,n,r,o,a,s,l,c),this.contentAttr=tre(c),this.hostAttr=nre(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},rre=(()=>{let e=class e extends lv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o){return r.addEventListener(i,o,!1),()=>this.removeEventListener(r,i,o)}removeEventListener(r,i,o){return r.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(B(tt))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),HN=["alt","control","meta","shift"],ire={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ore={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},are=(()=>{let e=class e extends lv{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o){let a=e.parseEventName(i),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vs().onAndCancel(r,a.domEventName,s))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=e._normalizeKey(i.pop()),s="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),s="code."),HN.forEach(d=>{let u=i.indexOf(d);u>-1&&(i.splice(u,1),s+=d+".")}),s+=a,i.length!=0||a.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(r,i){let o=ire[r.key]||r.key,a="";return i.indexOf("code.")>-1&&(o=r.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),HN.forEach(s=>{if(s!==o){let l=ore[s];l(r)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(r,i,o){return a=>{e.matchEventFullKeyCode(a,r)&&o.runGuarded(()=>i(a))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(B(tt))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();function YN(t,e){return bN(S({rootComponent:t},sre(e)))}function sre(t){return{appProviders:[...fre,...t?.providers??[]],platformProviders:ure}}function lre(){N2.makeCurrent()}function cre(){return new Fs}function dre(){return ZF(document),document}var ure=[{provide:Va,useValue:C2},{provide:YE,useValue:lre,multi:!0},{provide:tt,useFactory:dre,deps:[]}];var fre=[{provide:jw,useValue:"root"},{provide:Fs,useFactory:cre,deps:[]},{provide:R2,useClass:rre,multi:!0,deps:[tt,xe,Va]},{provide:R2,useClass:are,multi:!0,deps:[tt]},cv,qN,$N,{provide:wd,useExisting:cv},{provide:mh,useClass:Zne,deps:[]},[]];function hre(){return new L2(B(tt))}var L2=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(B(tt))},e.\u0275prov=ne({token:e,factory:function(i){let o=null;return i?o=new i:o=hre(),o},providedIn:"root"});let t=e;return t})();var vt="primary",Fg=Symbol("RouteTitle"),$2=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function vh(t){return new $2(t)}function mre(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function tR(t){return t.length>0?t[t.length-1]:null}function tc(t){return V_(t)?t:Sd(t)?bn(Promise.resolve(t)):ze(t)}var yre={exact:rR,subset:iR},nR={exact:bre,subset:_re,ignored:()=>!0};function KN(t,e,n){return yre[n.paths](t.root,e.root,n.matrixParams)&&nR[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function bre(t,e){return $a(t,e)}function rR(t,e,n){if(!Ad(t.segments,e.segments)||!hv(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!rR(t.children[r],e.children[r],n))return!1;return!0}function _re(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>eR(t[n],e[n]))}function iR(t,e,n){return oR(t,e,e.segments,n)}function oR(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!Ad(i,n)||e.hasChildren()||!hv(i,n,r))}else if(t.segments.length===n.length){if(!Ad(t.segments,n)||!hv(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!iR(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!Ad(t.segments,i)||!hv(t.segments,i,r)||!t.children[vt]?!1:oR(t.children[vt],e,o,r)}}function hv(t,e,n){return e.every((r,i)=>nR[n](t[i].parameters,r.parameters))}var Ql=class{constructor(e=new Kt([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vh(this.queryParams)),this._queryParamMap}toString(){return kre.serialize(this)}},Kt=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pv(this)}},Td=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=vh(this.parameters)),this._parameterMap}toString(){return sR(this)}};function wre(t,e){return Ad(t,e)&&t.every((n,r)=>$a(n.parameters,e[r].parameters))}function Ad(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function vre(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===vt&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==vt&&(n=n.concat(e(i,r)))}),n}var gM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>new gv)(),providedIn:"root"});let t=e;return t})(),gv=class{parse(e){let n=new G2(e);return new Ql(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${wg(e.root,!0)}`,r=Dre(e.queryParams),i=typeof e.fragment=="string"?`#${xre(e.fragment)}`:"";return`${n}${r}${i}`}},kre=new gv;function pv(t){return t.segments.map(e=>sR(e)).join("/")}function wg(t,e){if(!t.hasChildren())return pv(t);if(e){let n=t.children[vt]?wg(t.children[vt],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==vt&&r.push(`${i}:${wg(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=vre(t,(r,i)=>i===vt?[wg(t.children[vt],!1)]:[`${i}:${wg(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[vt]!=null?`${pv(t)}/${n[0]}`:`${pv(t)}/(${n.join("//")})`}}function aR(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function uv(t){return aR(t).replace(/%3B/gi,";")}function xre(t){return encodeURI(t)}function W2(t){return aR(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function mv(t){return decodeURIComponent(t)}function ZN(t){return mv(t.replace(/\+/g,"%20"))}function sR(t){return`${W2(t.path)}${Cre(t.parameters)}`}function Cre(t){return Object.keys(t).map(e=>`;${W2(e)}=${W2(t[e])}`).join("")}function Dre(t){let e=Object.keys(t).map(n=>{let r=t[n];return Array.isArray(r)?r.map(i=>`${uv(n)}=${uv(i)}`).join("&"):`${uv(n)}=${uv(r)}`}).filter(n=>!!n);return e.length?`?${e.join("&")}`:""}var Sre=/^[^\/()?;#]+/;function B2(t){let e=t.match(Sre);return e?e[0]:""}var Ere=/^[^\/()?;=#]+/;function Mre(t){let e=t.match(Ere);return e?e[0]:""}var Tre=/^[^=?&#]+/;function Are(t){let e=t.match(Tre);return e?e[0]:""}var Ire=/^[^&#]+/;function Ore(t){let e=t.match(Ire);return e?e[0]:""}var G2=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Kt([],{}):new Kt([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[vt]=new Kt(e,n)),r}parseSegment(){let e=B2(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new le(4009,!1);return this.capture(e),new Td(mv(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=Mre(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=B2(this.remaining);i&&(r=i,this.capture(r))}e[mv(n)]=mv(r)}parseQueryParam(e){let n=Are(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let a=Ore(this.remaining);a&&(r=a,this.capture(r))}let i=ZN(n),o=ZN(r);if(e.hasOwnProperty(i)){let a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=B2(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new le(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=vt);let a=this.parseChildren();n[o]=Object.keys(a).length===1?a[vt]:new Kt([],a),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new le(4011,!1)}};function lR(t){return t.segments.length>0?new Kt([],{[vt]:t}):t}function cR(t){let e={};for(let r of Object.keys(t.children)){let i=t.children[r],o=cR(i);if(r===vt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))e[a]=s;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new Kt(t.segments,e);return Pre(n)}function Pre(t){if(t.numberOfChildren===1&&t.children[vt]){let e=t.children[vt];return new Kt(t.segments.concat(e.segments),e.children)}return t}function kh(t){return t instanceof Ql}function Fre(t,e,n=null,r=null){let i=dR(t);return uR(i,e,n,r)}function dR(t){let e;function n(o){let a={};for(let l of o.children){let c=n(l);a[l.outlet]=c}let s=new Kt(o.url,a);return o===t&&(e=s),s}let r=n(t.root),i=lR(r);return e??i}function uR(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return V2(i,i,i,n,r);let o=Nre(e);if(o.toRoot())return V2(i,i,new Kt([],{}),n,r);let a=Rre(o,i,t),s=a.processChildren?xg(a.segmentGroup,a.index,o.commands):hR(a.segmentGroup,a.index,o.commands);return V2(i,a.segmentGroup,s,n,r)}function yv(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Sg(t){return typeof t=="object"&&t!=null&&t.outlets}function V2(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let a;t===e?a=n:a=fR(t,e,n);let s=lR(cR(a));return new Ql(s,o,i)}function fR(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=fR(o,e,n)}),new Kt(t.segments,r)}var bv=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&yv(r[0]))throw new le(4003,!1);let i=r.find(Sg);if(i&&i!==tR(r))throw new le(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Nre(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new bv(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?n=!0:s===".."?e++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new bv(n,e,r)}var _h=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function Rre(t,e,n){if(t.isAbsolute)return new _h(e,!0,0);if(!n)return new _h(e,!1,NaN);if(n.parent===null)return new _h(n,!0,0);let r=yv(t.commands[0])?0:1,i=n.segments.length-1+r;return jre(n,i,t.numberOfDoubleDots)}function jre(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new le(4005,!1);i=r.segments.length}return new _h(r,!1,i-o)}function zre(t){return Sg(t[0])?t[0].outlets:{[vt]:t}}function hR(t,e,n){if(t||(t=new Kt([],{})),t.segments.length===0&&t.hasChildren())return xg(t,e,n);let r=Lre(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==vt)&&t.children[vt]&&t.numberOfChildren===1&&t.children[vt].segments.length===0){let o=xg(t.children[vt],e,n);return new Kt(t.segments,o.children)}return Object.entries(r).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=hR(t.children[o],e,a))}),Object.entries(t.children).forEach(([o,a])=>{r[o]===void 0&&(i[o]=a)}),new Kt(t.segments,i)}}function Lre(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let a=t.segments[i],s=n[r];if(Sg(s))break;let l=`${s}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!QN(l,c,a))return o;r+=2}else{if(!QN(l,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function Y2(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=Y2(new Kt([],{}),0,r))}),e}function XN(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function QN(t,e,n){return t==n.path&&$a(e,n.parameters)}var Cg="imperative",Eo=class{constructor(e,n){this.id=e,this.url=n}},Eg=class extends Eo{constructor(e,n,r="imperative",i=null){super(e,n),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Jl=class extends Eo{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},ec=class extends Eo{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Id=class extends Eo{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=16}},Mg=class extends Eo{constructor(e,n,r,i){super(e,n),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},_v=class extends Eo{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},K2=class extends Eo{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Z2=class extends Eo{constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},X2=class extends Eo{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Q2=class extends Eo{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},J2=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},eM=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},tM=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},nM=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},rM=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},iM=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Tg=class{},Ag=class{constructor(e){this.url=e}};var oM=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Dv,this.attachRef=null}},Dv=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(r,i){let o=this.getOrCreateContext(r);o.outlet=i,this.contexts.set(r,o)}onChildOutletDestroyed(r){let i=this.getContext(r);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let i=this.getContext(r);return i||(i=new oM,this.contexts.set(r,i)),i}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),wv=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=aM(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=aM(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=sM(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return sM(e,this._root).map(n=>n.value)}};function aM(t,e){if(t===e.value)return e;for(let n of e.children){let r=aM(t,n);if(r)return r}return null}function sM(t,e){if(t===e.value)return[e];for(let n of e.children){let r=sM(t,n);if(r.length)return r.unshift(e),r}return[]}var to=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function bh(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var vv=class extends wv{constructor(e,n){super(e),this.snapshot=n,bM(this,e)}toString(){return this.snapshot.toString()}};function pR(t,e){let n=Vre(t,e),r=new Zn([new Td("",{})]),i=new Zn({}),o=new Zn({}),a=new Zn({}),s=new Zn(""),l=new Od(r,i,a,s,o,vt,e,n.root);return l.snapshot=n.root,new vv(new to(l,[]),n)}function Vre(t,e){let n={},r={},i={},o="",a=new Ig([],n,i,o,r,vt,e,null,{});return new kv("",new to(a,[]))}var Od=class{constructor(e,n,r,i,o,a,s,l){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(lt(c=>c[Fg]))??ze(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(lt(e=>vh(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(lt(e=>vh(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function yM(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:S(S({},e.params),t.params),data:S(S({},e.data),t.data),resolve:S(S(S(S({},t.data),e.data),i?.data),t._resolvedData)}:r={params:t.params,data:t.data,resolve:S(S({},t.data),t._resolvedData??{})},i&&gR(i)&&(r.resolve[Fg]=i.title),r}var Ig=class{get title(){return this.data?.[Fg]}constructor(e,n,r,i,o,a,s,l,c){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=vh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=vh(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},kv=class extends wv{constructor(e,n){super(n),this.url=e,bM(this,n)}toString(){return mR(this._root)}};function bM(t,e){e.value._routerState=t,e.children.forEach(n=>bM(t,n))}function mR(t){let e=t.children.length>0?` { ${t.children.map(mR).join(", ")} } `:"";return`${t.value}${e}`}function U2(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,$a(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),$a(e.params,n.params)||t.paramsSubject.next(n.params),gre(e.url,n.url)||t.urlSubject.next(n.url),$a(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function lM(t,e){let n=$a(t.params,e.params)&&wre(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||lM(t.parent,e.parent))}function gR(t){return typeof t.title=="string"||t.title===null}var _M=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=vt,this.activateEvents=new Xe,this.deactivateEvents=new Xe,this.attachEvents=new Xe,this.detachEvents=new Xe,this.parentContexts=ae(Dv),this.location=ae($n),this.changeDetector=ae(ui),this.environmentInjector=ae(Ii),this.inputBinder=ae(wM,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:i,previousValue:o}=r.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new le(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new le(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new le(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,i){this.activated=r,this._activatedRoute=i,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,i){if(this.isActivated)throw new le(4013,!1);this._activatedRoute=r;let o=this.location,s=r.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new cM(r,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ve({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Qn]});let t=e;return t})(),cM=class{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===Od?this.route:e===Dv?this.childContexts:this.parent.get(e,n)}},wM=new de("");function Ure(t,e,n){let r=Og(t,e._root,n?n._root:void 0);return new vv(r,e)}function Og(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=Hre(t,e,n);return new to(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(s=>Og(t,s)),a}}let r=$re(e.value),i=e.children.map(o=>Og(t,o));return new to(r,i)}}function Hre(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Og(t,r,i);return Og(t,r)})}function $re(t){return new Od(new Zn(t.url),new Zn(t.params),new Zn(t.queryParams),new Zn(t.fragment),new Zn(t.data),t.outlet,t.component,t)}var yR="ngNavigationCancelingError";function bR(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=kh(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=_R(!1,0,e);return i.url=n,i.navigationBehaviorOptions=r,i}function _R(t,e,n){let r=new Error("NavigationCancelingError: "+(t||""));return r[yR]=!0,r.cancellationCode=e,n&&(r.url=n),r}function qre(t){return wR(t)&&kh(t.url)}function wR(t){return t&&t[yR]}var Wre=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=De({type:e,selectors:[["ng-component"]],standalone:!0,features:[He],decls:1,vars:0,template:function(i,o){i&1&&St(0,"router-outlet")},dependencies:[_M],encapsulation:2});let t=e;return t})();function Gre(t,e){return t.providers&&!t._injector&&(t._injector=y2(t.providers,e,`Route: ${t.path}`)),t._injector??e}function vM(t){let e=t.children&&t.children.map(vM),n=e?W(S({},t),{children:e}):S({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==vt&&(n.component=Wre),n}function qa(t){return t.outlet||vt}function Yre(t,e){let n=t.filter(r=>qa(r)===e);return n.push(...t.filter(r=>qa(r)!==e)),n}function Ng(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var Kre=(t,e,n,r)=>lt(i=>(new dM(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),dM=class{constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),U2(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=bh(n);e.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],r),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let a=r.getContext(i.outlet);a&&this.deactivateChildRoutes(e,n,a.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bh(e);for(let a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],i);if(r&&r.outlet){let a=r.outlet.detach(),s=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:s})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=bh(e);for(let a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=bh(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new iM(o.value.snapshot))}),e.children.length&&this.forwardEvent(new nM(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(U2(i),i===o)if(i.component){let a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,a.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),U2(s.route.value),this.activateChildRoutes(e,null,a.children)}else{let s=Ng(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,r)}},xv=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},wh=class{constructor(e,n){this.component=e,this.route=n}};function Zre(t,e,n){let r=t._root,i=e?e._root:null;return vg(r,i,n,[r.value])}function Xre(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Ch(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!WP(t)?t:e.get(t):r}function vg(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=bh(e);return t.children.forEach(a=>{Qre(a,o[a.value.outlet],n,r.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Dg(s,n.getContext(a),i)),i}function Qre(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=Jre(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new xv(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?vg(t,e,s?s.children:null,r,i):vg(t,e,n,r,i),l&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new wh(s.outlet.component,a))}else a&&Dg(e,s,i),i.canActivateChecks.push(new xv(r)),o.component?vg(t,null,s?s.children:null,r,i):vg(t,null,n,r,i);return i}function Jre(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Ad(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ad(t.url,e.url)||!$a(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lM(t,e)||!$a(t.queryParams,e.queryParams);case"paramsChange":default:return!lM(t,e)}}function Dg(t,e,n){let r=bh(t),i=t.value;Object.entries(r).forEach(([o,a])=>{i.component?e?Dg(a,e.children.getContext(o),n):Dg(a,null,n):Dg(a,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new wh(e.outlet.component,i)):n.canDeactivateChecks.push(new wh(null,i)):n.canDeactivateChecks.push(new wh(null,i))}function Rg(t){return typeof t=="function"}function eie(t){return typeof t=="boolean"}function tie(t){return t&&Rg(t.canLoad)}function nie(t){return t&&Rg(t.canActivate)}function rie(t){return t&&Rg(t.canActivateChild)}function iie(t){return t&&Rg(t.canDeactivate)}function oie(t){return t&&Rg(t.canMatch)}function vR(t){return t instanceof Os||t?.name==="EmptyError"}var fv=Symbol("INITIAL_VALUE");function xh(){return vr(t=>Hf(t.map(e=>e.pipe(Un(1),Mi(fv)))).pipe(lt(e=>{for(let n of e)if(n!==!0){if(n===fv)return fv;if(n===!1||n instanceof Ql)return n}return!0}),Yt(e=>e!==fv),Un(1)))}function aie(t,e){return Vn(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=n;return a.length===0&&o.length===0?ze(W(S({},n),{guardsResult:!0})):sie(a,r,i,t).pipe(Vn(s=>s&&eie(s)?lie(r,o,t,e):ze(s)),lt(s=>W(S({},n),{guardsResult:s})))})}function sie(t,e,n,r){return bn(t).pipe(Vn(i=>hie(i.component,i.route,n,e,r)),Na(i=>i!==!0,!0))}function lie(t,e,n,r){return bn(e).pipe(jl(i=>Fl(die(i.route.parent,r),cie(i.route,r),fie(t,i.path,n),uie(t,i.route,n))),Na(i=>i!==!0,!0))}function cie(t,e){return t!==null&&e&&e(new rM(t)),ze(!0)}function die(t,e){return t!==null&&e&&e(new tM(t)),ze(!0)}function uie(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return ze(!0);let i=r.map(o=>Nl(()=>{let a=Ng(e)??n,s=Ch(o,a),l=nie(s)?s.canActivate(e,t):js(a,()=>s(e,t));return tc(l).pipe(Na())}));return ze(i).pipe(xh())}function fie(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(a=>Xre(a)).filter(a=>a!==null).map(a=>Nl(()=>{let s=a.guards.map(l=>{let c=Ng(a.node)??n,d=Ch(l,c),u=rie(d)?d.canActivateChild(r,t):js(c,()=>d(r,t));return tc(u).pipe(Na())});return ze(s).pipe(xh())}));return ze(o).pipe(xh())}function hie(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return ze(!0);let a=o.map(s=>{let l=Ng(e)??i,c=Ch(s,l),d=iie(c)?c.canDeactivate(t,e,n,r):js(l,()=>c(t,e,n,r));return tc(d).pipe(Na())});return ze(a).pipe(xh())}function pie(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return ze(!0);let o=i.map(a=>{let s=Ch(a,t),l=tie(s)?s.canLoad(e,n):js(t,()=>s(e,n));return tc(l)});return ze(o).pipe(xh(),kR(r))}function kR(t){return dS(Hn(e=>{if(kh(e))throw bR(t,e)}),lt(e=>e===!0))}function mie(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return ze(!0);let o=i.map(a=>{let s=Ch(a,t),l=oie(s)?s.canMatch(e,n):js(t,()=>s(e,n));return tc(l)});return ze(o).pipe(xh(),kR(r))}var Pg=class{constructor(e){this.segmentGroup=e||null}},Cv=class extends Error{constructor(e){super(),this.urlTree=e}};function yh(t){return Vf(new Pg(t))}function gie(t){return Vf(new le(4e3,!1))}function yie(t){return Vf(_R(!1,3))}var uM=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}noMatchError(e){return new le(4002,!1)}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return ze(r);if(i.numberOfChildren>1||!i.children[vt])return gie(e.redirectTo);i=i.children[vt]}}applyRedirectCommands(e,n,r){let i=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n.startsWith("/"))throw new Cv(i);return i}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new Ql(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);r[i]=n[s]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),a={};return Object.entries(n.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(e,l,r,i)}),new Kt(o,a)}createSegments(e,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new le(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},fM={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function bie(t,e,n,r,i){let o=kM(t,e,n);return o.matched?(r=Gre(e,r),mie(r,e,n,i).pipe(lt(a=>a===!0?o:S({},fM)))):ze(o)}function kM(t,e,n){if(e.path==="**")return _ie(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?S({},fM):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||mre)(n,t,e);if(!i)return S({},fM);let o={};Object.entries(i.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=i.consumed.length>0?S(S({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function _ie(t){return{matched:!0,parameters:t.length>0?tR(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function JN(t,e,n,r){return n.length>0&&kie(t,n,r)?{segmentGroup:new Kt(e,vie(r,new Kt(n,t.children))),slicedSegments:[]}:n.length===0&&xie(t,n,r)?{segmentGroup:new Kt(t.segments,wie(t,e,n,r,t.children)),slicedSegments:n}:{segmentGroup:new Kt(t.segments,t.children),slicedSegments:n}}function wie(t,e,n,r,i){let o={};for(let a of r)if(Sv(t,n,a)&&!i[qa(a)]){let s=new Kt([],{});o[qa(a)]=s}return S(S({},i),o)}function vie(t,e){let n={};n[vt]=e;for(let r of t)if(r.path===""&&qa(r)!==vt){let i=new Kt([],{});n[qa(r)]=i}return n}function kie(t,e,n){return n.some(r=>Sv(t,e,r)&&qa(r)!==vt)}function xie(t,e,n){return n.some(r=>Sv(t,e,r))}function Sv(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Cie(t,e,n,r){return qa(t)!==r&&(r===vt||!Sv(e,n,t))?!1:kM(e,t,n).matched}function Die(t,e,n){return e.length===0&&!t.children[n]}var hM=class{};function Sie(t,e,n,r,i,o,a="emptyOnly"){return new pM(t,e,n,r,i,a,o).recognize()}var Eie=31,pM=class{constructor(e,n,r,i,o,a,s){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new uM(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new le(4002,!1)}recognize(){let e=JN(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(lt(n=>{let r=new Ig([],Object.freeze({}),Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,{},vt,this.rootComponentType,null,{}),i=new to(r,n),o=new kv("",i),a=Fre(r,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,vt).pipe(Rl(r=>{if(r instanceof Cv)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Pg?this.noMatchError(r):r}))}inheritParamsAndData(e,n){let r=e.value,i=yM(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(e,n,r,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r):this.processSegment(e,n,r,r.segments,i,!0).pipe(lt(o=>o instanceof to?[o]:[]))}processChildren(e,n,r){let i=[];for(let o of Object.keys(r.children))o==="primary"?i.unshift(o):i.push(o);return bn(i).pipe(jl(o=>{let a=r.children[o],s=Yre(n,o);return this.processSegmentGroup(e,s,a,o)}),bS((o,a)=>(o.push(...a),o)),zl(null),yS(),Vn(o=>{if(o===null)return yh(r);let a=xR(o);return Mie(a),ze(a)}))}processSegment(e,n,r,i,o,a){return bn(n).pipe(jl(s=>this.processSegmentAgainstRoute(s._injector??e,n,s,r,i,o,a).pipe(Rl(l=>{if(l instanceof Pg)return ze(null);throw l}))),Na(s=>!!s),Rl(s=>{if(vR(s))return Die(r,i,o)?ze(new hM):yh(r);throw s}))}processSegmentAgainstRoute(e,n,r,i,o,a,s){return Cie(r,i,o,a)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,a):yh(i):yh(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,a){let{matched:s,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=kM(n,i,o);if(!s)return yh(n);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Eie&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,u).pipe(Vn(f=>this.processSegment(e,r,n,f.concat(d),a,!1)))}matchSegmentAgainstRoute(e,n,r,i,o){let a=bie(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(vr(s=>s.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(vr(({routes:l})=>{let c=r._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:f}=s,h=new Ig(d,f,Object.freeze(S({},this.urlTree.queryParams)),this.urlTree.fragment,Aie(r),qa(r),r.component??r._loadedComponent??null,r,Iie(r)),{segmentGroup:p,slicedSegments:g}=JN(n,d,u,l);if(g.length===0&&p.hasChildren())return this.processChildren(c,l,p).pipe(lt(_=>_===null?null:new to(h,_)));if(l.length===0&&g.length===0)return ze(new to(h,[]));let b=qa(r)===o;return this.processSegment(c,l,p,g,b?vt:o,!0).pipe(lt(_=>new to(h,_ instanceof to?[_]:[])))}))):yh(n)))}getChildConfig(e,n,r){return n.children?ze({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?ze({routes:n._loadedRoutes,injector:n._loadedInjector}):pie(e,n,r,this.urlSerializer).pipe(Vn(i=>i?this.configLoader.loadChildren(e,n).pipe(Hn(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):yie(n))):ze({routes:[],injector:e})}};function Mie(t){t.sort((e,n)=>e.value.outlet===vt?-1:n.value.outlet===vt?1:e.value.outlet.localeCompare(n.value.outlet))}function Tie(t){let e=t.value.routeConfig;return e&&e.path===""}function xR(t){let e=[],n=new Set;for(let r of t){if(!Tie(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=xR(r.children);e.push(new to(r.value,i))}return e.filter(r=>!n.has(r))}function Aie(t){return t.data||{}}function Iie(t){return t.resolve||{}}function Oie(t,e,n,r,i,o){return Vn(a=>Sie(t,e,n,r,a.extractedUrl,i,o).pipe(lt(({state:s,tree:l})=>W(S({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function Pie(t,e){return Vn(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return ze(n);let o=new Set(i.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let c of CR(l))a.add(c);let s=0;return bn(a).pipe(jl(l=>o.has(l)?Fie(l,r,t,e):(l.data=yM(l,l.parent,t).resolve,ze(void 0))),Hn(()=>s++),$f(1),Vn(l=>s===a.size?ze(n):wr))})}function CR(t){let e=t.children.map(n=>CR(n)).flat();return[t,...e]}function Fie(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!gR(i)&&(o[Fg]=i.title),Nie(o,t,e,r).pipe(lt(a=>(t._resolvedData=a,t.data=yM(t,t.parent,n).resolve,null)))}function Nie(t,e,n,r){let i=q2(t);if(i.length===0)return ze({});let o={};return bn(i).pipe(Vn(a=>Rie(t[a],e,n,r).pipe(Na(),Hn(s=>{o[a]=s}))),$f(1),gS(o),Rl(a=>vR(a)?wr:Vf(a)))}function Rie(t,e,n,r){let i=Ng(e)??r,o=Ch(t,i),a=o.resolve?o.resolve(e,n):js(i,()=>o(e,n));return tc(a)}function H2(t){return vr(e=>{let n=t(e);return n?bn(n).pipe(lt(()=>e)):ze(e)})}var DR=(()=>{let e=class e{buildTitle(r){let i,o=r.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===vt);return i}getResolvedTitleForRoute(r){return r.data[Fg]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>ae(jie))(),providedIn:"root"});let t=e;return t})(),jie=(()=>{let e=class e extends DR{constructor(r){super(),this.title=r}updateTitle(r){let i=this.buildTitle(r);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(B(L2))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xM=new de("",{providedIn:"root",factory:()=>({})}),CM=new de("ROUTES"),zie=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=ae(b2)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return ze(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=tc(r.loadComponent()).pipe(lt(SR),Hn(a=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=a}),Bl(()=>{this.componentLoaders.delete(r)})),o=new zf(i,()=>new Ee).pipe(jf());return this.componentLoaders.set(r,o),o}loadChildren(r,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ze({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Lie(i,this.compiler,r,this.onLoadEndListener).pipe(Bl(()=>{this.childrenLoaders.delete(i)})),s=new zf(a,()=>new Ee).pipe(jf());return this.childrenLoaders.set(i,s),s}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Lie(t,e,n,r){return tc(t.loadChildren()).pipe(lt(SR),Vn(i=>i instanceof ig||Array.isArray(i)?ze(i):bn(e.compileModuleAsync(i))),lt(i=>{r&&r(t);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(n).injector,a=o.get(CM,[],{optional:!0,self:!0}).flat()),{routes:a.map(vM),injector:o}}))}function Bie(t){return t&&typeof t=="object"&&"default"in t}function SR(t){return Bie(t)?t.default:t}var DM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>ae(Vie))(),providedIn:"root"});let t=e;return t})(),Vie=(()=>{let e=class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,i){return r}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Uie=new de("");var Hie=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ee,this.transitionAbortSubject=new Ee,this.configLoader=ae(zie),this.environmentInjector=ae(Ii),this.urlSerializer=ae(gM),this.rootContexts=ae(Dv),this.location=ae(Us),this.inputBindingEnabled=ae(wM,{optional:!0})!==null,this.titleStrategy=ae(DR),this.options=ae(xM,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=ae(DM),this.createViewTransition=ae(Uie,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ze(void 0),this.rootComponentType=null;let r=o=>this.events.next(new J2(o)),i=o=>this.events.next(new eM(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let i=++this.navigationId;this.transitions?.next(W(S(S({},this.transitions.value),r),{id:i}))}setupNavigations(r,i,o){return this.transitions=new Zn({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Cg,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Yt(a=>a.id!==0),lt(a=>W(S({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),vr(a=>{this.currentTransition=a;let s=!1,l=!1;return ze(a).pipe(Hn(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?W(S({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),vr(c=>{let d=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new Id(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),wr}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return ze(c).pipe(vr(f=>{let h=this.transitions?.getValue();return this.events.next(new Eg(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),h!==this.transitions?.getValue()?wr:Promise.resolve(f)}),Oie(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),Hn(f=>{a.targetSnapshot=f.targetSnapshot,a.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=W(S({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let h=new _v(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(h)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:h,source:p,restoredState:g,extras:b}=c,_=new Eg(f,this.urlSerializer.serialize(h),p,g);this.events.next(_);let x=pR(h,this.rootComponentType).snapshot;return this.currentTransition=a=W(S({},c),{targetSnapshot:x,urlAfterRedirects:h,extras:W(S({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=h,ze(a)}else{let f="";return this.events.next(new Id(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),wr}}),Hn(c=>{let d=new K2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),lt(c=>(this.currentTransition=a=W(S({},c),{guards:Zre(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),a)),aie(this.environmentInjector,c=>this.events.next(c)),Hn(c=>{if(a.guardsResult=c.guardsResult,kh(c.guardsResult))throw bR(this.urlSerializer,c.guardsResult);let d=new Z2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),Yt(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),H2(c=>{if(c.guards.canActivateChecks.length)return ze(c).pipe(Hn(d=>{let u=new X2(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),vr(d=>{let u=!1;return ze(d).pipe(Pie(this.paramsInheritanceStrategy,this.environmentInjector),Hn({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",2)}}))}),Hn(d=>{let u=new Q2(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),H2(c=>{let d=u=>{let f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(Hn(h=>{u.component=h}),lt(()=>{})));for(let h of u.children)f.push(...d(h));return f};return Hf(d(c.targetSnapshot.root)).pipe(zl(),Un(1))}),H2(()=>this.afterPreactivation()),vr(()=>{let{currentSnapshot:c,targetSnapshot:d}=a,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?bn(u).pipe(lt(()=>a)):ze(a)}),lt(c=>{let d=Ure(r.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a=W(S({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,a}),Hn(()=>{this.events.next(new Tg)}),Kre(this.rootContexts,r.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Un(1),Hn({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Jl(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Pn(this.transitionAbortSubject.pipe(Hn(c=>{throw c}))),Bl(()=>{if(!s&&!l){let c="";this.cancelNavigationTransition(a,c,1)}this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),Rl(c=>{if(l=!0,wR(c))this.events.next(new ec(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),qre(c)?this.events.next(new Ag(c.url)):a.resolve(!1);else{this.events.next(new Mg(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0));try{a.resolve(r.errorHandler(c))}catch(d){a.reject(d)}}return wr}))}))}cancelNavigationTransition(r,i,o){let a=new ec(r.id,this.urlSerializer.serialize(r.extractedUrl),i,o);this.events.next(a),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function $ie(t){return t!==Cg}var qie=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>ae(Wie))(),providedIn:"root"});let t=e;return t})(),mM=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},Wie=(()=>{let e=class e extends mM{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ER=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:()=>(()=>ae(Gie))(),providedIn:"root"});let t=e;return t})(),Gie=(()=>{let e=class e extends ER{constructor(){super(...arguments),this.location=ae(Us),this.urlSerializer=ae(gM),this.options=ae(xM,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=ae(DM),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ql,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=pR(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(i=>{i.type==="popstate"&&r(i.url,i.state)})}handleRouterEvent(r,i){if(r instanceof Eg)this.stateMemento=this.createStateMemento();else if(r instanceof Id)this.rawUrlTree=i.initialUrl;else if(r instanceof _v){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else r instanceof Tg?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):r instanceof ec&&(r.code===3||r.code===2)?this.restoreHistory(i):r instanceof Mg?this.restoreHistory(i,!0):r instanceof Jl&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,i){let o=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=S(S({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=S(S({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(r,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===r.finalUrl&&a===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,i){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:i}:{navigationId:r}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),kg=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(kg||{});function Yie(t,e){t.events.pipe(Yt(n=>n instanceof Jl||n instanceof ec||n instanceof Mg||n instanceof Id),lt(n=>n instanceof Jl||n instanceof Id?kg.COMPLETE:(n instanceof ec?n.code===0||n.code===1:!1)?kg.REDIRECTING:kg.FAILED),Yt(n=>n!==kg.REDIRECTING),Un(1)).subscribe(()=>{e()})}function Kie(t){throw t}var Zie={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Xie={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},SM=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=ae(Xw),this.stateManager=ae(ER),this.options=ae(xM,{optional:!0})||{},this.pendingTasks=ae(ph),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=ae(Hie),this.urlSerializer=ae(gM),this.location=ae(Us),this.urlHandlingStrategy=ae(DM),this._events=new Ee,this.errorHandler=this.options.errorHandler||Kie,this.navigated=!1,this.routeReuseStrategy=ae(qie),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=ae(CM,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!ae(wM,{optional:!0}),this.eventsSubscription=new Lt,this.isNgZoneEnabled=ae(xe)instanceof xe&&xe.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof ec&&i.code!==0&&i.code!==1)this.navigated=!0;else if(i instanceof Jl)this.navigated=!0;else if(i instanceof Ag){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||$ie(o.source)};this.scheduleNavigation(s,Cg,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}Jie(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Cg,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",i)},0)}))}navigateToSyncWithBrowser(r,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=S({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(a.state=c)}let l=this.parseUrl(r);this.scheduleNavigation(l,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(vM),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:c}=i,d=c?this.currentUrlTree.fragment:s,u=null;switch(l){case"merge":u=S(S({},this.currentUrlTree.queryParams),a);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=a||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let h=o?o.snapshot:this.routerState.snapshot.root;f=dR(h)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),f=this.currentUrlTree.root}return uR(f,r,u,d??null)}navigateByUrl(r,i={skipLocationChange:!1}){let o=kh(r)?r:this.parseUrl(r),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Cg,null,i)}navigate(r,i={skipLocationChange:!1}){return Qie(r),this.navigateByUrl(this.createUrlTree(r,i),i)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,i){let o;if(i===!0?o=S({},Zie):i===!1?o=S({},Xie):o=i,kh(r))return KN(this.currentUrlTree,r,o);let a=this.parseUrl(r);return KN(this.currentUrlTree,a,o)}removeEmptyProps(r){return Object.keys(r).reduce((i,o)=>{let a=r[o];return a!=null&&(i[o]=a),i},{})}scheduleNavigation(r,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((f,h)=>{l=f,c=h});let u=this.pendingTasks.add();return Yie(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:a,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Qie(t){for(let e=0;e{let e=class e{constructor(r,i,o,a,s,l){this.router=r,this.route=i,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ee,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=r.events.subscribe(d=>{d instanceof Jl&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,i,o,a,s){if(this.urlTree===null||this.isAnchorElement&&(r!==0||i||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let r=this.href===null?null:p7(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(r,i){let o=this.renderer,a=this.el.nativeElement;i!==null?o.setAttribute(a,r,i):o.removeAttribute(a,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(R(SM),R(Od),sg("tabindex"),R(Kl),R(Ce),R(Zl))},e.\u0275dir=ve({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&we("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&hn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",fi],skipLocationChange:["skipLocationChange","skipLocationChange",fi],replaceUrl:["replaceUrl","replaceUrl",fi],routerLink:"routerLink"},standalone:!0,features:[Do,Qn]});let t=e;return t})();var eoe=new de("");function MR(t,...e){return dh([{provide:CM,multi:!0,useValue:t},[],{provide:Od,useFactory:toe,deps:[SM]},{provide:Jw,multi:!0,useFactory:roe},e.map(n=>n.\u0275providers)])}function toe(t){return t.routerState.root}function noe(t,e){return{\u0275kind:t,\u0275providers:e}}function roe(){let t=ae(er);return e=>{let n=t.get(Ha);if(e!==n.components[0])return;let r=t.get(SM),i=t.get(ioe);t.get(ooe)===1&&r.initialNavigation(),t.get(aoe,null,Mt.Optional)?.setUpPreloading(),t.get(eoe,null,Mt.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var ioe=new de("",{factory:()=>new Ee}),ooe=new de("",{providedIn:"root",factory:()=>1});var aoe=new de("");function TR(){return noe(6,[{provide:Zl,useClass:EN}])}var jR=(()=>{let e=class e{constructor(r,i){this._renderer=r,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(i){return new(i||e)(R(Kl),R(Ce))},e.\u0275dir=ve({type:e});let t=e;return t})(),soe=(()=>{let e=class e extends jR{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275dir=ve({type:e,features:[ke]});let t=e;return t})(),jv=new de("NgValueAccessor");var loe={provide:jv,useExisting:xo(()=>Mo),multi:!0};function coe(){let t=Vs()?Vs().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var doe=new de("CompositionEventMode"),Mo=(()=>{let e=class e extends jR{constructor(r,i,o){super(r,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!coe())}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(i){return new(i||e)(R(Kl),R(Ce),R(doe,8))},e.\u0275dir=ve({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&we("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[Rn([loe]),ke]});let t=e;return t})();function nc(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function zR(t){return t!=null&&typeof t.length=="number"}var TM=new de("NgValidators"),AM=new de("NgAsyncValidators"),uoe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Tv=class{static min(e){return foe(e)}static max(e){return hoe(e)}static required(e){return poe(e)}static requiredTrue(e){return moe(e)}static email(e){return goe(e)}static minLength(e){return yoe(e)}static maxLength(e){return boe(e)}static pattern(e){return _oe(e)}static nullValidator(e){return LR(e)}static compose(e){return qR(e)}static composeAsync(e){return WR(e)}};function foe(t){return e=>{if(nc(e.value)||nc(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(nc(e.value)||nc(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function poe(t){return nc(t.value)?{required:!0}:null}function moe(t){return t.value===!0?null:{required:!0}}function goe(t){return nc(t.value)||uoe.test(t.value)?null:{email:!0}}function yoe(t){return e=>nc(e.value)||!zR(e.value)?null:e.value.lengthzR(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function _oe(t){if(!t)return LR;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(nc(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function LR(t){return null}function BR(t){return t!=null}function VR(t){return Sd(t)?bn(t):t}function UR(t){let e={};return t.forEach(n=>{e=n!=null?S(S({},e),n):e}),Object.keys(e).length===0?null:e}function HR(t,e){return e.map(n=>n(t))}function woe(t){return!t.validate}function $R(t){return t.map(e=>woe(e)?e:n=>e.validate(n))}function qR(t){if(!t)return null;let e=t.filter(BR);return e.length==0?null:function(n){return UR(HR(n,e))}}function IM(t){return t!=null?qR($R(t)):null}function WR(t){if(!t)return null;let e=t.filter(BR);return e.length==0?null:function(n){let r=HR(n,e).map(VR);return mS(r).pipe(lt(UR))}}function OM(t){return t!=null?WR($R(t)):null}function AR(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function GR(t){return t._rawValidators}function YR(t){return t._rawAsyncValidators}function EM(t){return t?Array.isArray(t)?t:[t]:[]}function Av(t,e){return Array.isArray(t)?t.includes(e):t===e}function IR(t,e){let n=EM(e);return EM(t).forEach(i=>{Av(n,i)||n.push(i)}),n}function OR(t,e){return EM(e).filter(n=>!Av(t,n))}var Iv=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=IM(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=OM(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Pd=class extends Iv{get formDirective(){return null}get path(){return null}},Fd=class extends Iv{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},MM=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},voe={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},qAe=W(S({},voe),{"[class.ng-submitted]":"isSubmitted"}),no=(()=>{let e=class e extends MM{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(R(Fd,2))},e.\u0275dir=ve({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Rt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ke]});let t=e;return t})();var jg="VALID",Mv="INVALID",Dh="PENDING",zg="DISABLED";function KR(t){return(zv(t)?t.validators:t)||null}function koe(t){return Array.isArray(t)?IM(t):t||null}function ZR(t,e){return(zv(e)?e.asyncValidators:t)||null}function xoe(t){return Array.isArray(t)?OM(t):t||null}function zv(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Coe(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new le(1e3,"");if(!r[n])throw new le(1001,"")}function Doe(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new le(1002,"")})}var Ov=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===jg}get invalid(){return this.status===Mv}get pending(){return this.status==Dh}get disabled(){return this.status===zg}get enabled(){return this.status!==zg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(IR(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(IR(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(OR(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(OR(e,this._rawAsyncValidators))}hasValidator(e){return Av(this._rawValidators,e)}hasAsyncValidator(e){return Av(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Dh,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=zg,this.errors=null,this._forEachChild(r=>{r.disable(W(S({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(W(S({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=jg,this._forEachChild(r=>{r.enable(W(S({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(W(S({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===jg||this.status===Dh)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?zg:jg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Dh,this._hasOwnPendingAsyncValidator=!0;let n=VR(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Xe,this.statusChanges=new Xe}_calculateStatus(){return this._allControlsDisabled()?zg:this.errors?Mv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Dh)?Dh:this._anyControlsHaveStatus(Mv)?Mv:jg}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){zv(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=koe(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=xoe(this._rawAsyncValidators)}},Pv=class extends Ov{constructor(e,n,r){super(KR(n),ZR(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Doe(this,!0,e),Object.keys(e).forEach(r=>{Coe(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Lv=new de("CallSetDisabledState",{providedIn:"root",factory:()=>PM}),PM="always";function Soe(t,e){return[...e.path,t]}function Fv(t,e,n=PM){FM(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),Moe(t,e),Aoe(t,e),Toe(t,e),Eoe(t,e)}function PR(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),Rv(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Nv(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function Eoe(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function FM(t,e){let n=GR(t);e.validator!==null?t.setValidators(AR(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=YR(t);e.asyncValidator!==null?t.setAsyncValidators(AR(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();Nv(e._rawValidators,i),Nv(e._rawAsyncValidators,i)}function Rv(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=GR(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=YR(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return Nv(e._rawValidators,r),Nv(e._rawAsyncValidators,r),n}function Moe(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&XR(t,e)})}function Toe(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&XR(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function XR(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Aoe(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function QR(t,e){t==null,FM(t,e)}function Ioe(t,e){return Rv(t,e)}function Ooe(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function Poe(t){return Object.getPrototypeOf(t.constructor)===soe}function JR(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function Foe(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===Mo?n=o:Poe(o)?r=o:i=o}),i||r||n||null}function Noe(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var Roe={provide:Pd,useExisting:xo(()=>NM)},Lg=(()=>Promise.resolve())(),NM=(()=>{let e=class e extends Pd{constructor(r,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Xe,this.form=new Pv({},IM(r),OM(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(r){Lg.then(()=>{let i=this._findContainer(r.path);r.control=i.registerControl(r.name,r.control),Fv(r.control,r,this.callSetDisabledState),r.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(r)})}getControl(r){return this.form.get(r.path)}removeControl(r){Lg.then(()=>{let i=this._findContainer(r.path);i&&i.removeControl(r.name),this._directives.delete(r)})}addFormGroup(r){Lg.then(()=>{let i=this._findContainer(r.path),o=new Pv({});QR(o,r),i.registerControl(r.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(r){Lg.then(()=>{let i=this._findContainer(r.path);i&&i.removeControl(r.name)})}getFormGroup(r){return this.form.get(r.path)}updateModel(r,i){Lg.then(()=>{this.form.get(r.path).setValue(i)})}setValue(r){this.control.setValue(r)}onSubmit(r){return this.submitted=!0,JR(this.form,this._directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(r){return r.pop(),r.length?this.form.get(r):this.form}};e.\u0275fac=function(i){return new(i||e)(R(TM,10),R(AM,10),R(Lv,8))},e.\u0275dir=ve({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&we("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Rn([Roe]),ke]});let t=e;return t})();function FR(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function NR(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var ej=class extends Ov{constructor(e=null,n,r){super(KR(n),ZR(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),zv(n)&&(n.nonNullable||n.initialValueIsDefault)&&(NR(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){FR(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){FR(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){NR(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var joe=t=>t instanceof ej;var zoe={provide:Fd,useExisting:xo(()=>Pi)},RR=(()=>Promise.resolve())(),Pi=(()=>{let e=class e extends Fd{constructor(r,i,o,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new ej,this._registered=!1,this.name="",this.update=new Xe,this._parent=r,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=Foe(this,a)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){let i=r.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),Ooe(r,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Fv(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(r){RR.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){let i=r.isDisabled.currentValue,o=i!==0&&fi(i);RR.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?Soe(r,this._parent):[r]}};e.\u0275fac=function(i){return new(i||e)(R(Pd,9),R(TM,10),R(AM,10),R(jv,10),R(ui,8),R(Lv,8))},e.\u0275dir=ve({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Rn([zoe]),ke,Qn]});let t=e;return t})();var Loe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({});let t=e;return t})();var Boe={provide:Pd,useExisting:xo(()=>RM)},RM=(()=>{let e=class e extends Pd{constructor(r,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Xe,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Rv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let i=this.form.get(r.path);return Fv(i,r,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){PR(r.control||null,r,!1),Noe(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,i){this.form.get(r.path).setValue(i)}onSubmit(r){return this.submitted=!0,JR(this.form,this.directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(PR(i||null,r),joe(o)&&(Fv(o,r,this.callSetDisabledState),r.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);QR(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let i=this.form.get(r.path);i&&Ioe(i,r)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){FM(this.form,this),this._oldForm&&Rv(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(R(TM,10),R(AM,10),R(Lv,8))},e.\u0275dir=ve({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&we("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Rn([Boe]),ke,Qn]});let t=e;return t})();var Voe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Loe]});let t=e;return t})();var ro=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:Lv,useValue:r.callSetDisabledState??PM}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Voe]});let t=e;return t})();var Gr=(t=>(t.docTypeError="docTypeError",t.contextNotFound="contextNotFound",t.timerNotFound="timerNotFound",t.ctxCallOutOfScope="ctxCallOutOfScope",t.createNodeInParserFail="createNodeInParserFail",t.stackOverFlow="stackOverFlow",t.parserMatchError="parserMatchError",t.serializerMatchError="serializerMatchError",t.getAtomFromSchemaFail="getAtomFromSchemaFail",t.expectDomTypeError="expectDomTypeError",t.callCommandBeforeEditorView="callCommandBeforeEditorView",t.missingRootElement="missingRootElement",t.missingNodeInSchema="missingNodeInSchema",t.missingMarkInSchema="missingMarkInSchema",t.ctxNotBind="ctxNotBind",t.missingYjsDoc="missingYjsDoc",t))(Gr||{}),Nr=class extends Error{constructor(e,n){super(n),this.name="MilkdownError",this.code=e}},Uoe=(t,e)=>typeof e=="function"?"[Function]":e,Sh=t=>JSON.stringify(t,Uoe);function tj(t){return new Nr(Gr.docTypeError,`Doc type error, unsupported type: ${Sh(t)}`)}function nj(t){return new Nr(Gr.contextNotFound,`Context "${t}" not found, do you forget to inject it?`)}function rj(t){return new Nr(Gr.timerNotFound,`Timer "${t}" not found, do you forget to record it?`)}function Bg(){return new Nr(Gr.ctxCallOutOfScope,"Should not call a context out of the plugin.")}function ij(...t){let e=t.reduce((n,r)=>{if(!r)return n;let i=o=>Array.isArray(o)?o.map(a=>i(a)).join(", "):o.toJSON?Sh(o.toJSON()):o.spec?Sh(o.spec):o.toString();return`${n}, ${i(r)}`},"Create prosemirror node from remark failed in parser");return new Nr(Gr.createNodeInParserFail,e)}function jM(){return new Nr(Gr.stackOverFlow,"Stack over flow, cannot pop on an empty stack.")}function oj(t){return new Nr(Gr.parserMatchError,`Cannot match target parser for node: ${Sh(t)}.`)}function aj(t){return new Nr(Gr.serializerMatchError,`Cannot match target serializer for node: ${Sh(t)}.`)}function sj(t,e){return new Nr(Gr.getAtomFromSchemaFail,`Cannot get ${t}: ${e} from schema.`)}function lr(t){return new Nr(Gr.expectDomTypeError,`Expect to be a dom, but get: ${Sh(t)}.`)}function lj(){return new Nr(Gr.callCommandBeforeEditorView,"You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized")}function Bv(t){return new Nr(Gr.missingNodeInSchema,`Missing node in schema, milkdown cannot find "${t}" in schema.`)}function cj(t){return new Nr(Gr.missingMarkInSchema,`Missing mark in schema, milkdown cannot find "${t}" in schema.`)}function Eh(){return new Nr(Gr.ctxNotBind,"Context not bind, please make sure the plugin has been initialized.")}function zM(){return new Nr(Gr.missingYjsDoc,"Missing yjs doc, please make sure you have bind one.")}var dj=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Oe=(t,e,n)=>(dj(t,e,"read from private field"),n?n.call(t):e.get(t)),jn=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Ht=(t,e,n,r)=>(dj(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Yg=class{constructor(){this.sliceMap=new Map,this.get=e=>{let n=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);if(!n){let r=typeof e=="string"?e:e.name;throw nj(r)}return n},this.remove=e=>{let n=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);n&&this.sliceMap.delete(n.type.id)},this.has=e=>typeof e=="string"?[...this.sliceMap.values()].some(n=>n.type.name===e):this.sliceMap.has(e.id)}},Wa,rc,Vg,LM=class{constructor(e,n,r){jn(this,Wa,void 0),jn(this,rc,void 0),jn(this,Vg,void 0),Ht(this,Wa,[]),Ht(this,Vg,()=>{Oe(this,Wa).forEach(i=>i(Oe(this,rc)))}),this.set=i=>{Ht(this,rc,i),Oe(this,Vg).call(this)},this.get=()=>Oe(this,rc),this.update=i=>{Ht(this,rc,i(Oe(this,rc))),Oe(this,Vg).call(this)},this.type=r,Ht(this,rc,n),e.set(r.id,this)}on(e){return Oe(this,Wa).push(e),()=>{Ht(this,Wa,Oe(this,Wa).filter(n=>n!==e))}}once(e){let n=this.on(r=>{e(r),n()});return n}off(e){Ht(this,Wa,Oe(this,Wa).filter(n=>n!==e))}offAll(){Ht(this,Wa,[])}};Wa=new WeakMap,rc=new WeakMap,Vg=new WeakMap;var BM=class{constructor(e,n){this.id=Symbol(`Context-${n}`),this.name=n,this._defaultValue=e,this._typeInfo=()=>{throw Bg()}}create(e,n=this._defaultValue){return new LM(e,n,this)}},Ft=(t,e)=>new BM(t,e),Vv,Uv,Hv,Mh,Ug,Rd,Hg,$g,qg,VM=class{constructor(e,n,r){jn(this,Vv,void 0),jn(this,Uv,void 0),jn(this,Hv,void 0),jn(this,Mh,void 0),jn(this,Ug,void 0),jn(this,Rd,void 0),jn(this,Hg,void 0),jn(this,$g,void 0),jn(this,qg,void 0),Ht(this,Mh,new Set),Ht(this,Ug,new Set),Ht(this,Rd,new Map),Ht(this,Hg,new Map),this.read=()=>({metadata:Oe(this,Vv),injectedSlices:[...Oe(this,Mh)].map(i=>({name:typeof i=="string"?i:i.name,value:Oe(this,$g).call(this,i)})),consumedSlices:[...Oe(this,Ug)].map(i=>({name:typeof i=="string"?i:i.name,value:Oe(this,$g).call(this,i)})),recordedTimers:[...Oe(this,Rd)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:Oe(this,qg).call(this,i)})),waitTimers:[...Oe(this,Hg)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:Oe(this,qg).call(this,i)}))}),this.onRecord=i=>{Oe(this,Rd).set(i,{start:Date.now(),duration:0})},this.onClear=i=>{Oe(this,Rd).delete(i)},this.onDone=i=>{let o=Oe(this,Rd).get(i);o&&(o.duration=Date.now()-o.start)},this.onWait=(i,o)=>{let a=Date.now();o.finally(()=>{Oe(this,Hg).set(i,{duration:Date.now()-a})})},this.onInject=i=>{Oe(this,Mh).add(i)},this.onRemove=i=>{Oe(this,Mh).delete(i)},this.onUse=i=>{Oe(this,Ug).add(i)},Ht(this,$g,i=>Oe(this,Uv).get(i).get()),Ht(this,qg,i=>Oe(this,Hv).get(i).status),Ht(this,Uv,e),Ht(this,Hv,n),Ht(this,Vv,r)}};Vv=new WeakMap,Uv=new WeakMap,Hv=new WeakMap,Mh=new WeakMap,Ug=new WeakMap,Rd=new WeakMap,Hg=new WeakMap,$g=new WeakMap,qg=new WeakMap;var ic,oc,$v,da,Hoe=class uj{constructor(e,n,r){jn(this,ic,void 0),jn(this,oc,void 0),jn(this,$v,void 0),jn(this,da,void 0),this.produce=i=>i&&Object.keys(i).length?new uj(Oe(this,ic),Oe(this,oc),S({},i)):this,this.inject=(i,o)=>{var a;let s=i.create(Oe(this,ic).sliceMap);return o!=null&&s.set(o),(a=Oe(this,da))==null||a.onInject(i),this},this.remove=i=>{var o;return Oe(this,ic).remove(i),(o=Oe(this,da))==null||o.onRemove(i),this},this.record=i=>{var o;return i.create(Oe(this,oc).store),(o=Oe(this,da))==null||o.onRecord(i),this},this.clearTimer=i=>{var o;return Oe(this,oc).remove(i),(o=Oe(this,da))==null||o.onClear(i),this},this.isInjected=i=>Oe(this,ic).has(i),this.isRecorded=i=>Oe(this,oc).has(i),this.use=i=>{var o;return(o=Oe(this,da))==null||o.onUse(i),Oe(this,ic).get(i)},this.get=i=>this.use(i).get(),this.set=(i,o)=>this.use(i).set(o),this.update=(i,o)=>this.use(i).update(o),this.timer=i=>Oe(this,oc).get(i),this.done=i=>{var o;this.timer(i).done(),(o=Oe(this,da))==null||o.onDone(i)},this.wait=i=>{var o;let a=this.timer(i).start();return(o=Oe(this,da))==null||o.onWait(i,a),a},this.waitTimers=i=>ot(this,null,function*(){yield Promise.all(this.get(i).map(o=>this.wait(o)))}),Ht(this,ic,e),Ht(this,oc,n),Ht(this,$v,r),r&&Ht(this,da,new VM(e,n,r))}get meta(){return Oe(this,$v)}get inspector(){return Oe(this,da)}};ic=new WeakMap,oc=new WeakMap,$v=new WeakMap,da=new WeakMap;var fj=Hoe,Wv=class{constructor(){this.store=new Map,this.get=e=>{let n=this.store.get(e.id);if(!n)throw rj(e.name);return n},this.remove=e=>{this.store.delete(e.id)},this.has=e=>this.store.has(e.id)}},Th,jd,Wg,ac,Gg,qv,UM=class{constructor(e,n){jn(this,Th,void 0),jn(this,jd,void 0),jn(this,Wg,void 0),jn(this,ac,void 0),jn(this,Gg,void 0),jn(this,qv,void 0),Ht(this,Th,null),Ht(this,jd,null),Ht(this,ac,"pending"),this.start=()=>(Oe(this,Th)??Ht(this,Th,new Promise((r,i)=>{Ht(this,jd,o=>{o instanceof CustomEvent&&o.detail.id===Oe(this,Wg)&&(Ht(this,ac,"resolved"),Oe(this,Gg).call(this),o.stopImmediatePropagation(),r())}),Oe(this,qv).call(this,()=>{Oe(this,ac)==="pending"&&Ht(this,ac,"rejected"),Oe(this,Gg).call(this),i(new Error(`Timing ${this.type.name} timeout.`))}),Ht(this,ac,"pending"),addEventListener(this.type.name,Oe(this,jd))})),Oe(this,Th)),this.done=()=>{let r=new CustomEvent(this.type.name,{detail:{id:Oe(this,Wg)}});dispatchEvent(r)},Ht(this,Gg,()=>{Oe(this,jd)&&removeEventListener(this.type.name,Oe(this,jd))}),Ht(this,qv,r=>{setTimeout(()=>{r()},this.type.timeout)}),Ht(this,Wg,Symbol(n.name)),this.type=n,e.set(n.id,this)}get status(){return Oe(this,ac)}};Th=new WeakMap,jd=new WeakMap,Wg=new WeakMap,ac=new WeakMap,Gg=new WeakMap,qv=new WeakMap;var HM=class{constructor(e,n=3e3){this.create=r=>new UM(r,this),this.id=Symbol(`Timer-${e}`),this.name=e,this.timeout=n}},To=(t,e=3e3)=>new HM(t,e);function Yr(t){this.content=t}Yr.prototype={constructor:Yr,find:function(t){for(var e=0;e>1}};Yr.from=function(t){if(t instanceof Yr)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Yr(e)};var $M=Yr;function _j(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=_j(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function wj(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let c=0,d=Math.min(a.text.length,s.text.length);for(;ce&&r(l,i+s,o||null,a)!==!1&&l.content.size){let d=s+1;l.nodesBetween(Math.max(0,e-d),Math.min(l.content.size,n-d),r,i+d)}s=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,l)=>{s.isText?(o+=s.text.slice(Math.max(e,l)-l,n-l),a=!r):s.isLeaf?(i?o+=typeof i=="function"?i(s):i:s.type.spec.leafText&&(o+=s.type.spec.leafText(s)),a=!r):!a&&s.isBlock&&(o+=r,a=!0)},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);oe)for(let o=0,a=0;ae&&((an)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new t(r,i)}cutByIndex(e,n){return e==n?t.empty:e==0&&n==this.content.length?this:new t(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new t(i,o)}addToStart(e){return new t([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new t(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=e)return a==e||n>0?Gv(r+1,a):Gv(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return t.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new t(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return t.empty;let n,r=0;for(let i=0;i{class t{constructor(n,r){this.type=n,this.attrs=r}addToSet(n){let r,i=!1;for(let o=0;othis.type.rank&&(r||(r=n.slice(0,o)),r.push(this),i=!0),r&&r.push(a)}}return r||(r=n.slice()),i||r.push(this),r}removeFromSet(n){for(let r=0;ri.type.rank-o.type.rank),r}}return t.none=[],t})(),Bd=class extends Error{},ce=class t{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=kj(this.content,e+this.openStart,n);return r&&new t(r,this.openStart,this.openEnd)}removeBetween(e,n){return new t(vj(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return t.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new t(Z.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new t(e,r,i)}};ce.empty=new ce(Z.empty,0,0);function vj(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(vj(o.content,e-i-1,n-i-1)))}function kj(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let s=kj(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function $oe(t,e,n){if(n.openStart>t.depth)throw new Bd("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Bd("Inconsistent open depths");return xj(t,e,n,0)}function xj(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Kg(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(zd(t.nodeAfter,r),o++));for(let s=o;si&&KM(t,e,i+1),a=r.depth>i&&KM(n,r,i+1),s=[];return Kg(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(Cj(o,a),zd(Ld(o,Dj(t,e,n,r,i+1)),s)):(o&&zd(Ld(o,Kv(t,e,i+1)),s),Kg(e,n,i,s),a&&zd(Ld(a,Kv(n,r,i+1)),s)),Kg(r,null,i,s),new Z(s)}function Kv(t,e,n){let r=[];if(Kg(null,t,n,r),t.depth>n){let i=KM(t,e,n+1);zd(Ld(i,Kv(t,e,n+1)),r)}return Kg(e,null,n,r),new Z(r)}function qoe(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(Z.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}var Zv=class t{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new Xg(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:l}=a.content.findIndex(o),c=o-l;if(r.push(a,s,i+l),!c||(a=a.child(s),a.isText))break;o=c-1,i+=l+1}return new t(n,r,o)}static resolveCached(e,n){for(let i=0;ie&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Sj(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=Z.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;ln.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=Z.fromJSON(e,n.content);return e.nodeType(n.type).create(n.attrs,i,r)}};Fi.prototype.text=void 0;var ZM=class t extends Fi{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Sj(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new t(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new t(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function Sj(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}var Vd=class t{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new XM(e,n);if(r.next==null)return t.empty;let i=Ej(r);r.next&&r.err("Unexpected trailing text");let o=eae(Joe(i));return tae(o,r),o}matchType(e){for(let n=0;nc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+e.indexOf(r.next[a].next);return o}).join(` -`)}};Vd.empty=new Vd(!0);var XM=class{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}};function Ej(t){let e=[];do e.push(Yoe(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function Yoe(t){let e=[];do e.push(Koe(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function Koe(t){let e=Qoe(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=Zoe(t,e);else break;return e}function hj(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function Zoe(t,e){let n=hj(t),r=n;return t.eat(",")&&(t.next!="}"?r=hj(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function Xoe(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.groups.indexOf(e)>-1&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function Qoe(t){if(t.eat("(")){let e=Ej(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=Xoe(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function Joe(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,l){let c={term:l,to:s};return e[a].push(c),c}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,c)=>l.concat(o(c,s)),[]);if(a.type=="seq")for(let l=0;;l++){let c=o(a.exprs[l],s);if(l==a.exprs.length-1)return c;i(c,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let c=0;c{t[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let d=0;d{c||i.push([s,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let o=e[r.join(",")]=new Vd(r.indexOf(t.length-1)>-1);for(let a=0;a-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[o]=new t(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}},QM=class{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}},Qg=class t{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=Ij(i.attrs),this.excluded=null;let o=Tj(this.attrs);this.instance=o?new jt(this,o):null}create(e=null){return!e&&this.instance?this.instance:new jt(this,Aj(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new t(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n-1}},Xv=class{constructor(e){this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=$M.from(e.nodes),n.marks=$M.from(e.marks||{}),this.nodes=Ud.compile(this.spec.nodes,this),this.marks=Qg.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;o.contentMatch=r[a]||(r[a]=Vd.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet=s=="_"?null:s?mj(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:mj(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Ud){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new ZM(r,r.defaultAttrs,e,jt.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return Fi.fromJSON(this,e)}markFromJSON(e){return jt.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}};function mj(t,e){let n=[];for(let r=0;r-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}var Hs=class t{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[],n.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let i=e.nodes[r.node];return i.contentMatch.matchType(i)})}parse(e,n={}){let r=new e1(this,n,!1);return r.addAll(e,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new e1(this,n,!0);return r.addAll(e,n.from,n.to),ce.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a{r(a=yj(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=yj(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new t(e,t.schemaRules(e)))}},Oj={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},nae={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Pj={ol:!0,ul:!0},Qv=1,Jv=2,Zg=4;function gj(t,e,n){return e!=null?(e?Qv:0)|(e==="full"?Jv:0):t&&t.whitespace=="pre"?Qv|Jv:n&~Zg}var Ah=class{constructor(e,n,r,i,o,a,s){this.type=e,this.attrs=n,this.marks=r,this.pendingMarks=i,this.solid=o,this.options=s,this.content=[],this.activeMarks=jt.none,this.stashMarks=[],this.match=a||(s&Zg?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(Z.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Qv)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=Z.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(Z.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}popFromStashMark(e){for(let n=this.stashMarks.length-1;n>=0;n--)if(e.eq(this.stashMarks[n]))return this.stashMarks.splice(n,1)[0]}applyPending(e){for(let n=0,r=this.pendingMarks;nthis.addAll(e)),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(e,()=>{this.addElementByRule(e,o,o.consuming===!1?i:void 0)})}leafFallback(e){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` -`))}ignoreFallback(e){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(e){let n=jt.none,r=jt.none;for(let i=0;i{a.clearMark(s)&&(r=s.addToSet(r))}):n=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(n),a.consuming===!1)o=a;else break}return[n,r]}addElementByRule(e,n,r){let i,o,a;n.node?(o=this.parser.schema.nodes[n.node],o.isLeaf?this.insertNode(o.create(n.attrs))||this.leafFallback(e):i=this.enter(o,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(r)this.addElement(e,r);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l)}i&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(e,n,r){let i=n||0;for(let o=n?e.childNodes[n]:e.firstChild,a=r==null?null:e.childNodes[r];o!=a;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o);this.findAtPoint(e,i)}findPlace(e){let n,r;for(let i=this.open;i>=0;i--){let o=this.nodes[i],a=o.findWrapping(e);if(a&&(!n||n.length>a.length)&&(n=a,r=o,!a.length)||o.solid)break}if(!n)return!1;this.sync(r);for(let i=0;ithis.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let n=this.open;n>=0;n--)if(this.nodes[n]==e)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,l)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let d=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!d||d.name!=c&&d.groups.indexOf(c)==-1)return!1;l--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(e){let n=sae(e,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,n){for(let r=this.open;r>=0;r--){let i=this.nodes[r];if(i.pendingMarks.lastIndexOf(e)>-1)i.pendingMarks=e.removeFromSet(i.pendingMarks);else{i.activeMarks=e.removeFromSet(i.activeMarks);let a=i.popFromStashMark(e);a&&i.type&&i.type.allowsMarkType(a.type)&&(i.activeMarks=a.addToSet(i.activeMarks))}if(i==n)break}}};function rae(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Pj.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function iae(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function oae(t){let e=/\s*([\w-]+)\s*:\s*([^;]+)/g,n,r=[];for(;n=e.exec(t);)r.push(n[1],n[2].trim());return r}function yj(t){let e={};for(let n in t)e[n]=t[n];return e}function aae(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&t.renderSpec(YM(r),i(e,n))}static renderSpec(e,n,r=null){if(typeof n=="string")return{dom:e.createTextNode(n)};if(n.nodeType!=null)return{dom:n};if(n.dom&&n.dom.nodeType!=null)return n;let i=n[0],o=i.indexOf(" ");o>0&&(r=i.slice(0,o),i=i.slice(o+1));let a,s=r?e.createElementNS(r,i):e.createElement(i),l=n[1],c=1;if(l&&typeof l=="object"&&l.nodeType==null&&!Array.isArray(l)){c=2;for(let d in l)if(l[d]!=null){let u=d.indexOf(" ");u>0?s.setAttributeNS(d.slice(0,u),d.slice(u+1),l[d]):s.setAttribute(d,l[d])}}for(let d=c;dc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:f,contentDOM:h}=t.renderSpec(e,u,r);if(s.appendChild(f),h){if(a)throw new RangeError("Multiple content holes");a=h}}}return{dom:s,contentDOM:a}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new t(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=bj(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return bj(e.marks)}};function bj(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function YM(t){return t.document||window.document}var cae={};function Hd(t,e){let n=e||cae,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Nj(t,r,i)}function Nj(t,e,n){if(dae(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Fj(t.children,e,n)}return Array.isArray(t)?Fj(t,e,n):""}function Fj(t,e,n){let r=[],i=-1;for(;++ii?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);o0?(kn(t,t.length,0,e),t):e}var Rj={}.hasOwnProperty;function t1(t){let e={},n=-1;for(;++n-1&&t.test(String.fromCharCode(n))}}function Te(t,e,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return $e(l)?(t.enter(n),s(l)):e(l)}function s(l){return $e(l)&&o++a))return;let P=e.events.length,z=P,N,O;for(;z--;)if(e.events[z][0]==="exit"&&e.events[z][1].type==="chunkFlow"){if(N){O=e.events[z][1].end;break}N=!0}for(_(r),C=P;CE;){let j=n[v];e.containerState=j[1],j[0].exit.call(e,t)}n.length=E}function x(){i.write([null]),o=void 0,i=void 0,e.containerState._closeFlow=void 0}}function gae(t,e,n){return Te(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ih(t){if(t===null||Ot(t)||Ga(t))return 1;if(qd(t))return 2}function lc(t,e,n){let r=[],i=-1;for(;++i1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;let u=Object.assign({},t[r][1].end),f=Object.assign({},t[n][1].start);Uj(u,-l),Uj(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:u,end:Object.assign({},t[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[n][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},t[r][1].end=Object.assign({},a.start),t[n][1].start=Object.assign({},s.end),c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=hi(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=hi(c,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=hi(c,lc(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),c=hi(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(d=2,c=hi(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):d=0,kn(t,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n0&&$e(C)?Te(t,x,"linePrefix",o+1)(C):x(C)}function x(C){return C===null||pe(C)?t.check(Hj,g,v)(C):(t.enter("codeFlowValue"),E(C))}function E(C){return C===null||pe(C)?(t.exit("codeFlowValue"),x(C)):(t.consume(C),E)}function v(C){return t.exit("codeFenced"),e(C)}function j(C,P,z){let N=0;return O;function O(me){return C.enter("lineEnding"),C.consume(me),C.exit("lineEnding"),J}function J(me){return C.enter("codeFencedFence"),$e(me)?Te(C,V,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):V(me)}function V(me){return me===s?(C.enter("codeFencedFenceSequence"),G(me)):z(me)}function G(me){return me===s?(N++,C.consume(me),G):N>=a?(C.exit("codeFencedFenceSequence"),$e(me)?Te(C,ie,"whitespace")(me):ie(me)):z(me)}function ie(me){return me===null||pe(me)?(C.exit("codeFencedFence"),P(me)):z(me)}}}function Eae(t,e,n){let r=this;return i;function i(a){return a===null?n(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}var t0={name:"codeIndented",tokenize:Tae},Mae={tokenize:Aae,partial:!0};function Tae(t,e,n){let r=this;return i;function i(c){return t.enter("codeIndented"),Te(t,o,"linePrefix",4+1)(c)}function o(c){let d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):pe(c)?t.attempt(Mae,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||pe(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function Aae(t,e,n){let r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):pe(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):Te(t,o,"linePrefix",4+1)(a)}function o(a){let s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):pe(a)?i(a):n(a)}}var t4={name:"codeText",tokenize:Pae,resolve:Iae,previous:Oae};function Iae(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r=4?e(a):t.interrupt(r.parser.constructs.flow,n,e)(a)}}function a1(t,e,n,r,i,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,d=0;return u;function u(_){return _===60?(t.enter(r),t.enter(i),t.enter(o),t.consume(_),t.exit(o),f):_===null||_===32||_===41||$d(_)?n(_):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(_))}function f(_){return _===62?(t.enter(o),t.consume(_),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),h(_))}function h(_){return _===62?(t.exit("chunkString"),t.exit(s),f(_)):_===null||_===60||pe(_)?n(_):(t.consume(_),_===92?p:h)}function p(_){return _===60||_===62||_===92?(t.consume(_),h):h(_)}function g(_){return!d&&(_===null||_===41||Ot(_))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(_)):d999||h===null||h===91||h===93&&!l||h===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):h===93?(t.exit(o),t.enter(i),t.consume(h),t.exit(i),t.exit(r),e):pe(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),u(h))}function u(h){return h===null||h===91||h===93||pe(h)||s++>999?(t.exit("chunkString"),d(h)):(t.consume(h),l||(l=!$e(h)),h===92?f:u)}function f(h){return h===91||h===92||h===93?(t.consume(h),s++,u):u(h)}}function l1(t,e,n,r,i,o){let a;return s;function s(f){return f===34||f===39||f===40?(t.enter(r),t.enter(i),t.consume(f),t.exit(i),a=f===40?41:f,l):n(f)}function l(f){return f===a?(t.enter(i),t.consume(f),t.exit(i),t.exit(r),e):(t.enter(o),c(f))}function c(f){return f===a?(t.exit(o),l(a)):f===null?n(f):pe(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Te(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===a||f===null||pe(f)?(t.exit("chunkString"),c(f)):(t.consume(f),f===92?u:d)}function u(f){return f===a||f===92?(t.consume(f),d):d(f)}}function Wd(t,e){let n;return r;function r(i){return pe(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):$e(i)?Te(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}var r4={name:"definition",tokenize:Bae},Lae={tokenize:Vae,partial:!0};function Bae(t,e,n){let r=this,i;return o;function o(h){return t.enter("definition"),a(h)}function a(h){return s1.call(r,t,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function s(h){return i=Kr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),l):n(h)}function l(h){return Ot(h)?Wd(t,c)(h):c(h)}function c(h){return a1(t,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function d(h){return t.attempt(Lae,u,u)(h)}function u(h){return $e(h)?Te(t,f,"whitespace")(h):f(h)}function f(h){return h===null||pe(h)?(t.exit("definition"),r.parser.defined.push(i),e(h)):n(h)}}function Vae(t,e,n){return r;function r(s){return Ot(s)?Wd(t,i)(s):n(s)}function i(s){return l1(t,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return $e(s)?Te(t,a,"whitespace")(s):a(s)}function a(s){return s===null||pe(s)?e(s):n(s)}}var i4={name:"hardBreakEscape",tokenize:Uae};function Uae(t,e,n){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return pe(o)?(t.exit("hardBreakEscape"),e(o)):n(o)}}var o4={name:"headingAtx",tokenize:$ae,resolve:Hae};function Hae(t,e){let n=t.length-2,r=3,i,o;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},o={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},kn(t,r,n-r+1,[["enter",i,e],["enter",o,e],["exit",o,e],["exit",i,e]])),t}function $ae(t,e,n){let r=0;return i;function i(d){return t.enter("atxHeading"),o(d)}function o(d){return t.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(t.consume(d),a):d===null||Ot(d)?(t.exit("atxHeadingSequence"),s(d)):n(d)}function s(d){return d===35?(t.enter("atxHeadingSequence"),l(d)):d===null||pe(d)?(t.exit("atxHeading"),e(d)):$e(d)?Te(t,s,"whitespace")(d):(t.enter("atxHeadingText"),c(d))}function l(d){return d===35?(t.consume(d),l):(t.exit("atxHeadingSequence"),s(d))}function c(d){return d===null||d===35||Ot(d)?(t.exit("atxHeadingText"),s(d)):(t.consume(d),c)}}var qj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],a4=["pre","script","style","textarea"];var s4={name:"htmlFlow",tokenize:Yae,resolveTo:Gae,concrete:!0},qae={tokenize:Zae,partial:!0},Wae={tokenize:Kae,partial:!0};function Gae(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function Yae(t,e,n){let r=this,i,o,a,s,l;return c;function c(I){return d(I)}function d(I){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(I),u}function u(I){return I===33?(t.consume(I),f):I===47?(t.consume(I),o=!0,g):I===63?(t.consume(I),i=3,r.interrupt?e:D):cr(I)?(t.consume(I),a=String.fromCharCode(I),b):n(I)}function f(I){return I===45?(t.consume(I),i=2,h):I===91?(t.consume(I),i=5,s=0,p):cr(I)?(t.consume(I),i=4,r.interrupt?e:D):n(I)}function h(I){return I===45?(t.consume(I),r.interrupt?e:D):n(I)}function p(I){let Ge="CDATA[";return I===Ge.charCodeAt(s++)?(t.consume(I),s===Ge.length?r.interrupt?e:V:p):n(I)}function g(I){return cr(I)?(t.consume(I),a=String.fromCharCode(I),b):n(I)}function b(I){if(I===null||I===47||I===62||Ot(I)){let Ge=I===47,Qt=a.toLowerCase();return!Ge&&!o&&a4.includes(Qt)?(i=1,r.interrupt?e(I):V(I)):qj.includes(a.toLowerCase())?(i=6,Ge?(t.consume(I),_):r.interrupt?e(I):V(I)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(I):o?x(I):E(I))}return I===45||dr(I)?(t.consume(I),a+=String.fromCharCode(I),b):n(I)}function _(I){return I===62?(t.consume(I),r.interrupt?e:V):n(I)}function x(I){return $e(I)?(t.consume(I),x):O(I)}function E(I){return I===47?(t.consume(I),O):I===58||I===95||cr(I)?(t.consume(I),v):$e(I)?(t.consume(I),E):O(I)}function v(I){return I===45||I===46||I===58||I===95||dr(I)?(t.consume(I),v):j(I)}function j(I){return I===61?(t.consume(I),C):$e(I)?(t.consume(I),j):E(I)}function C(I){return I===null||I===60||I===61||I===62||I===96?n(I):I===34||I===39?(t.consume(I),l=I,P):$e(I)?(t.consume(I),C):z(I)}function P(I){return I===l?(t.consume(I),l=null,N):I===null||pe(I)?n(I):(t.consume(I),P)}function z(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||Ot(I)?j(I):(t.consume(I),z)}function N(I){return I===47||I===62||$e(I)?E(I):n(I)}function O(I){return I===62?(t.consume(I),J):n(I)}function J(I){return I===null||pe(I)?V(I):$e(I)?(t.consume(I),J):n(I)}function V(I){return I===45&&i===2?(t.consume(I),q):I===60&&i===1?(t.consume(I),X):I===62&&i===4?(t.consume(I),je):I===63&&i===3?(t.consume(I),D):I===93&&i===5?(t.consume(I),_e):pe(I)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(qae,Ie,G)(I)):I===null||pe(I)?(t.exit("htmlFlowData"),G(I)):(t.consume(I),V)}function G(I){return t.check(Wae,ie,Ie)(I)}function ie(I){return t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),me}function me(I){return I===null||pe(I)?G(I):(t.enter("htmlFlowData"),V(I))}function q(I){return I===45?(t.consume(I),D):V(I)}function X(I){return I===47?(t.consume(I),a="",ee):V(I)}function ee(I){if(I===62){let Ge=a.toLowerCase();return a4.includes(Ge)?(t.consume(I),je):V(I)}return cr(I)&&a.length<8?(t.consume(I),a+=String.fromCharCode(I),ee):V(I)}function _e(I){return I===93?(t.consume(I),D):V(I)}function D(I){return I===62?(t.consume(I),je):I===45&&i===2?(t.consume(I),D):V(I)}function je(I){return I===null||pe(I)?(t.exit("htmlFlowData"),Ie(I)):(t.consume(I),je)}function Ie(I){return t.exit("htmlFlow"),e(I)}}function Kae(t,e,n){let r=this;return i;function i(a){return pe(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function Zae(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(Ya,e,n)}}var l4={name:"htmlText",tokenize:Xae};function Xae(t,e,n){let r=this,i,o,a;return s;function s(D){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(D),l}function l(D){return D===33?(t.consume(D),c):D===47?(t.consume(D),j):D===63?(t.consume(D),E):cr(D)?(t.consume(D),z):n(D)}function c(D){return D===45?(t.consume(D),d):D===91?(t.consume(D),o=0,p):cr(D)?(t.consume(D),x):n(D)}function d(D){return D===45?(t.consume(D),h):n(D)}function u(D){return D===null?n(D):D===45?(t.consume(D),f):pe(D)?(a=u,X(D)):(t.consume(D),u)}function f(D){return D===45?(t.consume(D),h):u(D)}function h(D){return D===62?q(D):D===45?f(D):u(D)}function p(D){let je="CDATA[";return D===je.charCodeAt(o++)?(t.consume(D),o===je.length?g:p):n(D)}function g(D){return D===null?n(D):D===93?(t.consume(D),b):pe(D)?(a=g,X(D)):(t.consume(D),g)}function b(D){return D===93?(t.consume(D),_):g(D)}function _(D){return D===62?q(D):D===93?(t.consume(D),_):g(D)}function x(D){return D===null||D===62?q(D):pe(D)?(a=x,X(D)):(t.consume(D),x)}function E(D){return D===null?n(D):D===63?(t.consume(D),v):pe(D)?(a=E,X(D)):(t.consume(D),E)}function v(D){return D===62?q(D):E(D)}function j(D){return cr(D)?(t.consume(D),C):n(D)}function C(D){return D===45||dr(D)?(t.consume(D),C):P(D)}function P(D){return pe(D)?(a=P,X(D)):$e(D)?(t.consume(D),P):q(D)}function z(D){return D===45||dr(D)?(t.consume(D),z):D===47||D===62||Ot(D)?N(D):n(D)}function N(D){return D===47?(t.consume(D),q):D===58||D===95||cr(D)?(t.consume(D),O):pe(D)?(a=N,X(D)):$e(D)?(t.consume(D),N):q(D)}function O(D){return D===45||D===46||D===58||D===95||dr(D)?(t.consume(D),O):J(D)}function J(D){return D===61?(t.consume(D),V):pe(D)?(a=J,X(D)):$e(D)?(t.consume(D),J):N(D)}function V(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(t.consume(D),i=D,G):pe(D)?(a=V,X(D)):$e(D)?(t.consume(D),V):(t.consume(D),ie)}function G(D){return D===i?(t.consume(D),i=void 0,me):D===null?n(D):pe(D)?(a=G,X(D)):(t.consume(D),G)}function ie(D){return D===null||D===34||D===39||D===60||D===61||D===96?n(D):D===47||D===62||Ot(D)?N(D):(t.consume(D),ie)}function me(D){return D===47||D===62||Ot(D)?N(D):n(D)}function q(D){return D===62?(t.consume(D),t.exit("htmlTextData"),t.exit("htmlText"),e):n(D)}function X(D){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(D),t.exit("lineEnding"),ee}function ee(D){return $e(D)?Te(t,_e,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):_e(D)}function _e(D){return t.enter("htmlTextData"),a(D)}}var Gd={name:"labelEnd",tokenize:rse,resolveTo:nse,resolveAll:tse},Qae={tokenize:ise},Jae={tokenize:ose},ese={tokenize:ase};function tse(t){let e=-1;for(;++e=3&&(c===null||pe(c))?(t.exit("thematicBreak"),e(c)):n(c)}function l(c){return c===i?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),$e(c)?Te(t,s,"whitespace")(c):s(c))}}var Zr={name:"list",tokenize:hse,continuation:{tokenize:pse},exit:gse},use={tokenize:yse,partial:!0},fse={tokenize:mse,partial:!0};function hse(t,e,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(h){let p=r.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(p==="listUnordered"?!r.containerState.marker||h===r.containerState.marker:Jg(h)){if(r.containerState.type||(r.containerState.type=p,t.enter(p,{_container:!0})),p==="listUnordered")return t.enter("listItemPrefix"),h===42||h===45?t.check(Yd,n,c)(h):c(h);if(!r.interrupt||h===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(h)}return n(h)}function l(h){return Jg(h)&&++a<10?(t.consume(h),l):(!r.interrupt||a<2)&&(r.containerState.marker?h===r.containerState.marker:h===41||h===46)?(t.exit("listItemValue"),c(h)):n(h)}function c(h){return t.enter("listItemMarker"),t.consume(h),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||h,t.check(Ya,r.interrupt?n:d,t.attempt(use,f,u))}function d(h){return r.containerState.initialBlankLine=!0,o++,f(h)}function u(h){return $e(h)?(t.enter("listItemPrefixWhitespace"),t.consume(h),t.exit("listItemPrefixWhitespace"),f):n(h)}function f(h){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(h)}}function pse(t,e,n){let r=this;return r.containerState._closeFlow=void 0,t.check(Ya,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Te(t,e,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!$e(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(fse,e,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Te(t,t.attempt(Zr,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function mse(t,e,n){let r=this;return Te(t,i,"listItemIndent",r.containerState.size+1);function i(o){let a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?e(o):n(o)}}function gse(t){t.exit(this.containerState.type)}function yse(t,e,n){let r=this;return Te(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){let a=r.events[r.events.length-1];return!$e(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):n(o)}}var c1={name:"setextUnderline",tokenize:_se,resolveTo:bse};function bse(t,e){let n=t.length,r,i,o;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!o&&t[n][1].type==="definition"&&(o=n);let a={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",a,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=a,t.push(["exit",a,e]),t}function _se(t,e,n){let r=this,i;return o;function o(c){let d=r.events.length,u;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){u=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||u)?(t.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),$e(c)?Te(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||pe(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}var Wj={tokenize:wse};function wse(t){let e=this,n=t.attempt(Ya,r,t.attempt(this.parser.constructs.flowInitial,i,Te(t,t.attempt(this.parser.constructs.flow,i,t.attempt(n4,i)),"linePrefix")));return n;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,n}}var Gj={resolveAll:Xj()},Yj=Zj("string"),Kj=Zj("text");function Zj(t){return{tokenize:e,resolveAll:Xj(t==="text"?vse:void 0)};function e(n){let r=this,i=this.parser.constructs[t],o=n.attempt(i,a,s);return a;function a(d){return c(d)?o(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),o(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;let u=i[d],f=-1;if(u)for(;++f-1){let s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}function xse(t,e){let n=-1,r=[],i;for(;++n{let t=new Lt;return t.closed=!0,t})();var sS=Lt.EMPTY;function v_(t){return t instanceof Lt||t&&"closed"in t&&Ke(t.remove)&&Ke(t.add)&&Ke(t.unsubscribe)}function P5(t){Ke(t)?t():t.unsubscribe()}var ia={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var Nf={setTimeout(t,e,...n){let{delegate:r}=Nf;return r?.setTimeout?r.setTimeout(t,e,...n):setTimeout(t,e,...n)},clearTimeout(t){let{delegate:e}=Nf;return(e?.clearTimeout||clearTimeout)(t)},delegate:void 0};function k_(t){Nf.setTimeout(()=>{let{onUnhandledError:e}=ia;if(e)e(t);else throw t})}function Bm(){}var F5=(()=>lS("C",void 0,void 0))();function N5(t){return lS("E",void 0,t)}function R5(t){return lS("N",t,void 0)}function lS(t,e,n){return{kind:t,value:e,error:n}}var ld=null;function Rf(t){if(ia.useDeprecatedSynchronousErrorHandling){let e=!ld;if(e&&(ld={errorThrown:!1,error:null}),t(),e){let{errorThrown:n,error:r}=ld;if(ld=null,n)throw r}}else t()}function j5(t){ia.useDeprecatedSynchronousErrorHandling&&ld&&(ld.errorThrown=!0,ld.error=t)}var cd=class extends Lt{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,v_(e)&&e.add(this)):this.destination=qZ}static create(e,n,r){return new As(e,n,r)}next(e){this.isStopped?dS(R5(e),this):this._next(e)}error(e){this.isStopped?dS(N5(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?dS(F5,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},HZ=Function.prototype.bind;function cS(t,e){return HZ.call(t,e)}var uS=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:n}=this;if(n.next)try{n.next(e)}catch(r){x_(r)}}error(e){let{partialObserver:n}=this;if(n.error)try{n.error(e)}catch(r){x_(r)}else x_(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(n){x_(n)}}},As=class extends cd{constructor(e,n,r){super();let i;if(Ke(e)||!e)i={next:e??void 0,error:n??void 0,complete:r??void 0};else{let o;this&&ia.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&cS(e.next,o),error:e.error&&cS(e.error,o),complete:e.complete&&cS(e.complete,o)}):i=e}this.destination=new uS(i)}};function x_(t){ia.useDeprecatedSynchronousErrorHandling?j5(t):k_(t)}function $Z(t){throw t}function dS(t,e){let{onStoppedNotification:n}=ia;n&&Nf.setTimeout(()=>n(t,e))}var qZ={closed:!0,next:Bm,error:$Z,complete:Bm};var jf=(()=>typeof Symbol=="function"&&Symbol.observable||"@@observable")();function si(t){return t}function fS(...t){return pS(t)}function pS(t){return t.length===0?si:t.length===1?t[0]:function(n){return t.reduce((r,i)=>i(r),n)}}var Ze=(()=>{class t{constructor(n){n&&(this._subscribe=n)}lift(n){let r=new t;return r.source=this,r.operator=n,r}subscribe(n,r,i){let o=GZ(n)?n:new As(n,r,i);return Rf(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return r=z5(r),new r((i,o)=>{let a=new As({next:s=>{try{n(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:i});this.subscribe(a)})}_subscribe(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)}[jf](){return this}pipe(...n){return pS(n)(this)}toPromise(n){return n=z5(n),new n((r,i)=>{let o;this.subscribe(a=>o=a,a=>i(a),()=>r(o))})}}return t.create=e=>new t(e),t})();function z5(t){var e;return(e=t??ia.Promise)!==null&&e!==void 0?e:Promise}function WZ(t){return t&&Ke(t.next)&&Ke(t.error)&&Ke(t.complete)}function GZ(t){return t&&t instanceof cd||WZ(t)&&v_(t)}function hS(t){return Ke(t?.lift)}function bt(t){return e=>{if(hS(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function ht(t,e,n,r,i){return new mS(t,e,n,r,i)}var mS=class extends cd{constructor(e,n,r,i,o,a){super(e),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=n?function(s){try{n(s)}catch(l){e.error(l)}}:super._next,this._error=i?function(s){try{i(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:n}=this;super.unsubscribe(),!n&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function zf(){return bt((t,e)=>{let n=null;t._refCount++;let r=ht(e,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount){n=null;return}let i=t._connection,o=n;n=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});t.subscribe(r),r.closed||(n=t.connect())})}var Lf=class extends Ze{constructor(e,n){super(),this.source=e,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,hS(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new Lt;let n=this.getSubject();e.add(this.source.subscribe(ht(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),e.closed&&(this._connection=null,e=Lt.EMPTY)}return e}refCount(){return zf()(this)}};var L5=Ff(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var Ee=(()=>{class t extends Ze{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){let r=new C_(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new L5}next(n){Rf(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let r of this.currentObservers)r.next(n)}})}error(n){Rf(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;let{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){Rf(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){let{hasError:r,isStopped:i,observers:o}=this;return r||i?sS:(this.currentObservers=null,o.push(n),new Lt(()=>{this.currentObservers=null,sd(o,n)}))}_checkFinalizedStatuses(n){let{hasError:r,thrownError:i,isStopped:o}=this;r?n.error(i):o&&n.complete()}asObservable(){let n=new Ze;return n.source=this,n}}return t.create=(e,n)=>new C_(e,n),t})(),C_=class extends Ee{constructor(e,n){super(),this.destination=e,this.source=n}next(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.next)===null||r===void 0||r.call(n,e)}error(e){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.error)===null||r===void 0||r.call(n,e)}complete(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)}_subscribe(e){var n,r;return(r=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&r!==void 0?r:sS}};var Zn=class extends Ee{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let n=super._subscribe(e);return!n.closed&&e.next(this._value),n}getValue(){let{hasError:e,thrownError:n,_value:r}=this;if(e)throw n;return this._throwIfClosed(),r}next(e){super.next(this._value=e)}};var Vm={now(){return(Vm.delegate||Date).now()},delegate:void 0};var D_=class extends Ee{constructor(e=1/0,n=1/0,r=Vm){super(),this._bufferSize=e,this._windowTime=n,this._timestampProvider=r,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=n===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,n)}next(e){let{isStopped:n,_buffer:r,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:a}=this;n||(r.push(e),!i&&r.push(o.now()+a)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let n=this._innerSubscribe(e),{_infiniteTimeWindow:r,_buffer:i}=this,o=i.slice();for(let a=0;at.complete());function T_(t){return t&&Ke(t.schedule)}function gS(t){return t[t.length-1]}function A_(t){return Ke(gS(t))?t.pop():void 0}function Pa(t){return T_(gS(t))?t.pop():void 0}function V5(t,e){return typeof gS(t)=="number"?t.pop():e}function H5(t,e,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(d){try{c(r.next(d))}catch(u){a(u)}}function l(d){try{c(r.throw(d))}catch(u){a(u)}}function c(d){d.done?o(d.value):i(d.value).then(s,l)}c((r=r.apply(t,e||[])).next())})}function U5(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function dd(t){return this instanceof dd?(this.v=t,this):new dd(t)}function $5(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),i,o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(f){r[f]&&(i[f]=function(p){return new Promise(function(h,g){o.push([f,p,h,g])>1||s(f,p)})})}function s(f,p){try{l(r[f](p))}catch(h){u(o[0][3],h)}}function l(f){f.value instanceof dd?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}function c(f){s("next",f)}function d(f){s("throw",f)}function u(f,p){f(p),o.shift(),o.length&&s(o[0][0],o[0][1])}}function q5(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof U5=="function"?U5(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(o){n[o]=t[o]&&function(a){return new Promise(function(s,l){a=t[o](a),i(s,l,a.done,a.value)})}}function i(o,a,s,l){Promise.resolve(l).then(function(c){o({value:c,done:s})},a)}}var Vf=t=>t&&typeof t.length=="number"&&typeof t!="function";function I_(t){return Ke(t?.then)}function O_(t){return Ke(t[jf])}function P_(t){return Symbol.asyncIterator&&Ke(t?.[Symbol.asyncIterator])}function F_(t){return new TypeError(`You provided ${t!==null&&typeof t=="object"?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function YZ(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var N_=YZ();function R_(t){return Ke(t?.[N_])}function j_(t){return $5(this,arguments,function*(){let n=t.getReader();try{for(;;){let{value:r,done:i}=yield dd(n.read());if(i)return yield dd(void 0);yield yield dd(r)}}finally{n.releaseLock()}})}function z_(t){return Ke(t?.getReader)}function tn(t){if(t instanceof Ze)return t;if(t!=null){if(O_(t))return KZ(t);if(Vf(t))return ZZ(t);if(I_(t))return XZ(t);if(P_(t))return W5(t);if(R_(t))return QZ(t);if(z_(t))return JZ(t)}throw F_(t)}function KZ(t){return new Ze(e=>{let n=t[jf]();if(Ke(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function ZZ(t){return new Ze(e=>{for(let n=0;n{t.then(n=>{e.closed||(e.next(n),e.complete())},n=>e.error(n)).then(null,k_)})}function QZ(t){return new Ze(e=>{for(let n of t)if(e.next(n),e.closed)return;e.complete()})}function W5(t){return new Ze(e=>{eX(t,e).catch(n=>e.error(n))})}function JZ(t){return W5(j_(t))}function eX(t,e){var n,r,i,o;return H5(this,void 0,void 0,function*(){try{for(n=q5(t);r=yield n.next(),!r.done;){let a=r.value;if(e.next(a),e.closed)return}}catch(a){i={error:a}}finally{try{r&&!r.done&&(o=n.return)&&(yield o.call(n))}finally{if(i)throw i.error}}e.complete()})}function Si(t,e,n,r=0,i=!1){let o=e.schedule(function(){n(),i?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(o),!i)return o}function L_(t,e=0){return bt((n,r)=>{n.subscribe(ht(r,i=>Si(r,t,()=>r.next(i),e),()=>Si(r,t,()=>r.complete(),e),i=>Si(r,t,()=>r.error(i),e)))})}function B_(t,e=0){return bt((n,r)=>{r.add(t.schedule(()=>n.subscribe(r),e))})}function G5(t,e){return tn(t).pipe(B_(e),L_(e))}function Y5(t,e){return tn(t).pipe(B_(e),L_(e))}function K5(t,e){return new Ze(n=>{let r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Z5(t,e){return new Ze(n=>{let r;return Si(n,e,()=>{r=t[N_](),Si(n,e,()=>{let i,o;try{({value:i,done:o}=r.next())}catch(a){n.error(a);return}o?n.complete():n.next(i)},0,!0)}),()=>Ke(r?.return)&&r.return()})}function V_(t,e){if(!t)throw new Error("Iterable cannot be null");return new Ze(n=>{Si(n,e,()=>{let r=t[Symbol.asyncIterator]();Si(n,e,()=>{r.next().then(i=>{i.done?n.complete():n.next(i.value)})},0,!0)})})}function X5(t,e){return V_(j_(t),e)}function Q5(t,e){if(t!=null){if(O_(t))return G5(t,e);if(Vf(t))return K5(t,e);if(I_(t))return Y5(t,e);if(P_(t))return V_(t,e);if(R_(t))return Z5(t,e);if(z_(t))return X5(t,e)}throw F_(t)}function wn(t,e){return e?Q5(t,e):tn(t)}function Ve(...t){let e=Pa(t);return wn(t,e)}function Uf(t,e){let n=Ke(t)?t:()=>t,r=i=>i.error(n());return new Ze(e?i=>e.schedule(r,0,i):r)}function U_(t){return!!t&&(t instanceof Ze||Ke(t.lift)&&Ke(t.subscribe))}var Is=Ff(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function J5(t){return t instanceof Date&&!isNaN(t)}function dt(t,e){return bt((n,r)=>{let i=0;n.subscribe(ht(r,o=>{r.next(t.call(e,o,i++))}))})}var{isArray:tX}=Array;function nX(t,e){return tX(e)?t(...e):t(e)}function Hf(t){return dt(e=>nX(t,e))}var{isArray:rX}=Array,{getPrototypeOf:iX,prototype:oX,keys:aX}=Object;function H_(t){if(t.length===1){let e=t[0];if(rX(e))return{args:e,keys:null};if(sX(e)){let n=aX(e);return{args:n.map(r=>e[r]),keys:n}}}return{args:t,keys:null}}function sX(t){return t&&typeof t=="object"&&iX(t)===oX}function $_(t,e){return t.reduce((n,r,i)=>(n[r]=e[i],n),{})}function $f(...t){let e=Pa(t),n=A_(t),{args:r,keys:i}=H_(t);if(r.length===0)return wn([],e);let o=new Ze(lX(r,e,i?a=>$_(i,a):si));return n?o.pipe(Hf(n)):o}function lX(t,e,n=si){return r=>{eP(e,()=>{let{length:i}=t,o=new Array(i),a=i,s=i;for(let l=0;l{let c=wn(t[l],e),d=!1;c.subscribe(ht(r,u=>{o[l]=u,d||(d=!0,s--),s||r.next(n(o.slice()))},()=>{--a||r.complete()}))},r)},r)}}function eP(t,e,n){t?Si(n,t,e):e()}function tP(t,e,n,r,i,o,a,s){let l=[],c=0,d=0,u=!1,f=()=>{u&&!l.length&&!c&&e.complete()},p=g=>c{o&&e.next(g),c++;let b=!1;tn(n(g,d++)).subscribe(ht(e,_=>{i?.(_),o?p(_):e.next(_)},()=>{b=!0},void 0,()=>{if(b)try{for(c--;l.length&&ch(_)):h(_)}f()}catch(_){e.error(_)}}))};return t.subscribe(ht(e,p,()=>{u=!0,f()})),()=>{s?.()}}function Vn(t,e,n=1/0){return Ke(e)?Vn((r,i)=>dt((o,a)=>e(r,o,i,a))(tn(t(r,i))),n):(typeof e=="number"&&(n=e),bt((r,i)=>tP(r,i,t,n)))}function $m(t=1/0){return Vn(si,t)}function nP(){return $m(1)}function Pl(...t){return nP()(wn(t,Pa(t)))}function Fl(t){return new Ze(e=>{tn(t()).subscribe(e)})}function yS(...t){let e=A_(t),{args:n,keys:r}=H_(t),i=new Ze(o=>{let{length:a}=n;if(!a){o.complete();return}let s=new Array(a),l=a,c=a;for(let d=0;d{u||(u=!0,c--),s[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(r?$_(r,s):s),o.complete())}))}});return e?i.pipe(Hf(e)):i}var cX=["addListener","removeListener"],dX=["addEventListener","removeEventListener"],uX=["on","off"];function Fa(t,e,n,r){if(Ke(n)&&(r=n,n=void 0),r)return Fa(t,e,n).pipe(Hf(r));let[i,o]=hX(t)?dX.map(a=>s=>t[a](e,s,n)):fX(t)?cX.map(rP(t,e)):pX(t)?uX.map(rP(t,e)):[];if(!i&&Vf(t))return Vn(a=>Fa(a,e,n))(tn(t));if(!i)throw new TypeError("Invalid event target");return new Ze(a=>{let s=(...l)=>a.next(1o(s)})}function rP(t,e){return n=>r=>t[n](e,r)}function fX(t){return Ke(t.addListener)&&Ke(t.removeListener)}function pX(t){return Ke(t.on)&&Ke(t.off)}function hX(t){return Ke(t.addEventListener)&&Ke(t.removeEventListener)}function qm(t=0,e,n=B5){let r=-1;return e!=null&&(T_(e)?n=e:r=e),new Ze(i=>{let o=J5(t)?+t-n.now():t;o<0&&(o=0);let a=0;return n.schedule(function(){i.closed||(i.next(a++),0<=r?this.schedule(void 0,r):i.complete())},o)})}function Qi(...t){let e=Pa(t),n=V5(t,1/0),r=t;return r.length?r.length===1?tn(r[0]):$m(n)(wn(r,e)):vr}function Kt(t,e){return bt((n,r)=>{let i=0;n.subscribe(ht(r,o=>t.call(e,o,i++)&&r.next(o)))})}function iP(t){return bt((e,n)=>{let r=!1,i=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,r){r=!1;let c=i;i=null,n.next(c)}a&&n.complete()},l=()=>{o=null,a&&n.complete()};e.subscribe(ht(n,c=>{r=!0,i=c,o||tn(t(c)).subscribe(o=ht(n,s,l))},()=>{a=!0,(!r||!o||o.closed)&&n.complete()}))})}function q_(t,e=Hm){return iP(()=>qm(t,e))}function Nl(t){return bt((e,n)=>{let r=null,i=!1,o;r=e.subscribe(ht(n,void 0,void 0,a=>{o=tn(t(a,Nl(t)(e))),r?(r.unsubscribe(),r=null,o.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,o.subscribe(n))})}function oP(t,e,n,r,i){return(o,a)=>{let s=n,l=e,c=0;o.subscribe(ht(a,d=>{let u=c++;l=s?t(l,d,u):(s=!0,d),r&&a.next(l)},i&&(()=>{s&&a.next(l),a.complete()})))}}function Rl(t,e){return Ke(e)?Vn(t,e,1):Vn(t,1)}function ud(t,e=Hm){return bt((n,r)=>{let i=null,o=null,a=null,s=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,r.next(c)}};function l(){let c=a+t,d=e.now();if(d{o=c,a=e.now(),i||(i=e.schedule(l,t),r.add(i))},()=>{s(),r.complete()},void 0,()=>{o=i=null}))})}function jl(t){return bt((e,n)=>{let r=!1;e.subscribe(ht(n,i=>{r=!0,n.next(i)},()=>{r||n.next(t),n.complete()}))})}function Un(t){return t<=0?()=>vr:bt((e,n)=>{let r=0;e.subscribe(ht(n,i=>{++r<=t&&(n.next(i),t<=r&&n.complete())}))})}function bS(t){return dt(()=>t)}function zl(t,e=si){return t=t??mX,bt((n,r)=>{let i,o=!0;n.subscribe(ht(r,a=>{let s=e(a);(o||!t(i,s))&&(o=!1,i=s,r.next(a))}))})}function mX(t,e){return t===e}function W_(t=gX){return bt((e,n)=>{let r=!1;e.subscribe(ht(n,i=>{r=!0,n.next(i)},()=>r?n.complete():n.error(t())))})}function gX(){return new Is}function Ll(t){return bt((e,n)=>{try{e.subscribe(n)}finally{n.add(t)}})}function Na(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Kt((i,o)=>t(i,o,r)):si,Un(1),n?jl(e):W_(()=>new Is))}function qf(t){return t<=0?()=>vr:bt((e,n)=>{let r=[];e.subscribe(ht(n,i=>{r.push(i),t{for(let i of r)n.next(i);n.complete()},void 0,()=>{r=null}))})}function _S(t,e){let n=arguments.length>=2;return r=>r.pipe(t?Kt((i,o)=>t(i,o,r)):si,qf(1),n?jl(e):W_(()=>new Is))}function wS(t,e){return bt(oP(t,e,arguments.length>=2,!0))}function Wf(t={}){let{connector:e=()=>new Ee,resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=t;return o=>{let a,s,l,c=0,d=!1,u=!1,f=()=>{s?.unsubscribe(),s=void 0},p=()=>{f(),a=l=void 0,d=u=!1},h=()=>{let g=a;p(),g?.unsubscribe()};return bt((g,b)=>{c++,!u&&!d&&f();let _=l=l??e();b.add(()=>{c--,c===0&&!u&&!d&&(s=vS(h,i))}),_.subscribe(b),!a&&c>0&&(a=new As({next:x=>_.next(x),error:x=>{u=!0,f(),s=vS(p,n,x),_.error(x)},complete:()=>{d=!0,f(),s=vS(p,r),_.complete()}}),tn(g).subscribe(a))})(o)}}function vS(t,e,...n){if(e===!0){t();return}if(e===!1)return;let r=new As({next:()=>{r.unsubscribe(),t()}});return tn(e(...n)).subscribe(r)}function G_(t,e,n){let r,i=!1;return t&&typeof t=="object"?{bufferSize:r=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:n}=t:r=t??1/0,Wf({connector:()=>new D_(r,e,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function fd(t){return Kt((e,n)=>t<=n)}function Ei(...t){let e=Pa(t);return bt((n,r)=>{(e?Pl(t,n,e):Pl(t,n)).subscribe(r)})}function kr(t,e){return bt((n,r)=>{let i=null,o=0,a=!1,s=()=>a&&!i&&r.complete();n.subscribe(ht(r,l=>{i?.unsubscribe();let c=0,d=o++;tn(t(l,d)).subscribe(i=ht(r,u=>r.next(e?e(l,u,d,c++):u),()=>{i=null,s()}))},()=>{a=!0,s()}))})}function Nn(t){return bt((e,n)=>{tn(t).subscribe(ht(n,()=>n.complete(),Bm)),!n.closed&&e.subscribe(n)})}function Hn(t,e,n){let r=Ke(t)||e||n?{next:t,error:e,complete:n}:t;return r?bt((i,o)=>{var a;(a=r.subscribe)===null||a===void 0||a.call(r);let s=!0;i.subscribe(ht(o,l=>{var c;(c=r.next)===null||c===void 0||c.call(r,l),o.next(l)},()=>{var l;s=!1,(l=r.complete)===null||l===void 0||l.call(r),o.complete()},l=>{var c;s=!1,(c=r.error)===null||c===void 0||c.call(r,l),o.error(l)},()=>{var l,c;s&&((l=r.unsubscribe)===null||l===void 0||l.call(r)),(c=r.finalize)===null||c===void 0||c.call(r)}))}):si}function cn(t){for(let e in t)if(t[e]===cn)return e;throw Error("Could not find renamed property on target object.")}function Y_(t,e){for(let n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function Ur(t){if(typeof t=="string")return t;if(Array.isArray(t))return"["+t.map(Ur).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;let e=t.toString();if(e==null)return""+e;let n=e.indexOf(` +`);return n===-1?e:e.substring(0,n)}function zS(t,e){return t==null||t===""?e===null?"":e:e==null||e===""?t:t+" "+e}var yX=cn({__forward_ref__:cn});function Do(t){return t.__forward_ref__=Do,t.toString=function(){return Ur(this())},t}function li(t){return qP(t)?t():t}function qP(t){return typeof t=="function"&&t.hasOwnProperty(yX)&&t.__forward_ref__===Do}function WP(t){return t&&!!t.\u0275providers}var GP="https://g.co/ng/security#xss",le=class extends Error{constructor(e,n){super(Dw(e,n)),this.code=e}};function Dw(t,e){return`${`NG0${Math.abs(t)}`}${e?": "+e:""}`}var bX=cn({\u0275cmp:cn}),_X=cn({\u0275dir:cn}),wX=cn({\u0275pipe:cn}),vX=cn({\u0275mod:cn}),ow=cn({\u0275fac:cn}),Wm=cn({__NG_ELEMENT_ID__:cn}),aP=cn({__NG_ENV_ID__:cn});function Xf(t){return typeof t=="string"?t:t==null?"":String(t)}function kX(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():Xf(t)}function xX(t,e){let n=e?`. Dependency path: ${e.join(" > ")} > ${t}`:"";throw new le(-200,`Circular dependency in DI detected for ${t}${n}`)}function F2(t,e){let n=e?` in ${e}`:"";throw new le(-201,!1)}function CX(t,e){t==null&&DX(e,t,null,"!=")}function DX(t,e,n,r){throw new Error(`ASSERTION ERROR: ${t}`+(r==null?"":` [Expected=> ${n} ${r} ${e} <=Actual]`))}function ee(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function At(t){return{providers:t.providers||[],imports:t.imports||[]}}function Sw(t){return sP(t,KP)||sP(t,ZP)}function YP(t){return Sw(t)!==null}function sP(t,e){return t.hasOwnProperty(e)?t[e]:null}function SX(t){let e=t&&(t[KP]||t[ZP]);return e||null}function lP(t){return t&&(t.hasOwnProperty(cP)||t.hasOwnProperty(EX))?t[cP]:null}var KP=cn({\u0275prov:cn}),cP=cn({\u0275inj:cn}),ZP=cn({ngInjectableDef:cn}),EX=cn({ngInjectorDef:cn}),Tt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(Tt||{}),LS;function MX(){return LS}function xo(t){let e=LS;return LS=t,e}function XP(t,e,n){let r=Sw(t);if(r&&r.providedIn=="root")return r.value===void 0?r.value=r.factory():r.value;if(n&Tt.Optional)return null;if(e!==void 0)return e;F2(Ur(t),"Injector")}var pd=globalThis;var de=class{constructor(e,n){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof n=="number"?this.__NG_ELEMENT_ID__=n:n!==void 0&&(this.\u0275prov=ee({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};var TX={},Km=TX,BS="__NG_DI_FLAG__",aw="ngTempTokenPath",AX="ngTokenPath",IX=/\n/gm,OX="\u0275",dP="__source",Gm;function Bl(t){let e=Gm;return Gm=t,e}function PX(t,e=Tt.Default){if(Gm===void 0)throw new le(-203,!1);return Gm===null?XP(t,void 0,e):Gm.get(t,e&Tt.Optional?null:void 0,e)}function B(t,e=Tt.Default){return(MX()||PX)(li(t),e)}function se(t,e=Tt.Default){return B(t,Ew(e))}function Ew(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function VS(t){let e=[];for(let n=0;n ");else if(typeof e=="object"){let o=[];for(let a in e)if(e.hasOwnProperty(a)){let s=e[a];o.push(a+":"+(typeof s=="string"?JSON.stringify(s):Ur(s)))}i=`{${o.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(IX,` + `)}`}function ag(t){return{toString:t}.toString()}var JP=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(JP||{}),La=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(La||{}),Qf={},Mi=[];function eF(t,e,n){let r=t.length;for(;;){let i=t.indexOf(e,n);if(i===-1)return i;if(i===0||t.charCodeAt(i-1)<=32){let o=e.length;if(i+o===r||t.charCodeAt(i+o)<=32)return i}n=i+1}}function US(t,e,n){let r=0;for(;re){a=o-1;break}}}for(;oo?f="":f=i[u+1].toLowerCase();let p=r&8?f:null;if(p&&eF(p,c,0)!==-1||r&2&&c!==f){if(oa(r))return!1;a=!0}}}}return oa(r)||a}function oa(t){return(t&1)===0}function VX(t,e,n,r){if(e===null)return-1;let i=0;if(r||!n){let o=!1;for(;i-1)for(n++;n0?'="'+s+'"':"")+"]"}else r&8?i+="."+a:r&4&&(i+=" "+a);else i!==""&&!oa(a)&&(e+=fP(o,i),i=""),r=a,o=o||!oa(r);n++}return i!==""&&(e+=fP(o,i)),e}function GX(t){return t.map(WX).join(",")}function YX(t){let e=[],n=[],r=1,i=2;for(;r{let e=cF(t),n=q(D({},e),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===JP.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||La.Emulated,styles:t.styles||Mi,_:null,schemas:t.schemas||null,tView:null,id:""});dF(n);let r=t.dependencies;return n.directiveDefs=hP(r,!1),n.pipeDefs=hP(r,!0),n.id=XX(n),n})}function KX(t){return md(t)||oF(t)}function ZX(t){return t!==null}function It(t){return ag(()=>({type:t.type,bootstrap:t.bootstrap||Mi,declarations:t.declarations||Mi,imports:t.imports||Mi,exports:t.exports||Mi,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function pP(t,e){if(t==null)return Qf;let n={};for(let r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}function ke(t){return ag(()=>{let e=cF(t);return dF(e),e})}function md(t){return t[bX]||null}function oF(t){return t[_X]||null}function aF(t){return t[wX]||null}function sF(t){let e=md(t)||oF(t)||aF(t);return e!==null?e.standalone:!1}function lF(t,e){let n=t[vX]||null;if(!n&&e===!0)throw new Error(`Type ${Ur(t)} does not have '\u0275mod' property.`);return n}function cF(t){let e={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:t.inputs||Qf,exportAs:t.exportAs||null,standalone:t.standalone===!0,signals:t.signals===!0,selectors:t.selectors||Mi,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pP(t.inputs,e),outputs:pP(t.outputs),debugInfo:null}}function dF(t){t.features?.forEach(e=>e(t))}function hP(t,e){if(!t)return null;let n=e?aF:KX;return()=>(typeof t=="function"?t():t).map(r=>n(r)).filter(ZX)}function XX(t){let e=0,n=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(let i of n)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483647+1,"c"+e}var Fs=0,mt=1,lt=2,Xn=3,aa=4,Ji=5,Jf=6,Xm=7,Or=8,ep=9,tp=10,An=11,Qm=12,mP=13,cp=14,Co=15,sg=16,Gf=17,za=18,Mw=19,uF=20,Ym=21,kS=22,gd=23,Ti=25,fF=1;var yd=7,sw=8,np=9,Hr=10,rp=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t[t.HasChildViewsToRefresh=4]="HasChildViewsToRefresh",t}(rp||{});function Vl(t){return Array.isArray(t)&&typeof t[fF]=="object"}function sa(t){return Array.isArray(t)&&t[fF]===!0}function N2(t){return(t.flags&4)!==0}function Tw(t){return t.componentOffset>-1}function Aw(t){return(t.flags&1)===1}function Ul(t){return!!t.template}function QX(t){return(t[lt]&512)!==0}function ip(t,e){let n=t.hasOwnProperty(ow);return n?t[ow]:null}var HS=class{constructor(e,n,r){this.previousValue=e,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}};function Qn(){return pF}function pF(t){return t.type.prototype.ngOnChanges&&(t.setInput=eQ),JX}Qn.ngInherit=!0;function JX(){let t=mF(this),e=t?.current;if(e){let n=t.previous;if(n===Qf)t.previous=e;else for(let r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}}function eQ(t,e,n,r){let i=this.declaredInputs[n],o=mF(t)||tQ(t,{previous:Qf,current:null}),a=o.current||(o.current={}),s=o.previous,l=s[i];a[i]=new HS(l&&l.currentValue,e,s===Qf),t[r]=e}var hF="__ngSimpleChanges__";function mF(t){return t[hF]||null}function tQ(t,e){return t[hF]=e}var gP=null;var Ra=function(t,e,n){gP?.(t,e,n)},gF="svg",nQ="math";function Ba(t){for(;Array.isArray(t);)t=t[Fs];return t}function yF(t,e){return Ba(e[t])}function So(t,e){return Ba(e[t.index])}function R2(t,e){return t.data[e]}function rQ(t,e){return t[e]}function Gl(t,e){let n=e[t];return Vl(n)?n:n[Fs]}function iQ(t){return(t[lt]&4)===4}function j2(t){return(t[lt]&128)===128}function oQ(t){return sa(t[Xn])}function op(t,e){return e==null?null:t[e]}function bF(t){t[Gf]=0}function aQ(t){t[lt]&1024||(t[lt]|=1024,j2(t)&&Iw(t))}function sQ(t,e){for(;t>0;)e=e[cp],t--;return e}function _F(t){return t[lt]&9216||t[gd]?.dirty}function wF(t){_F(t)&&Iw(t)}function Iw(t){let e=t[Xn];for(;e!==null&&!(sa(e)&&e[lt]&rp.HasChildViewsToRefresh||Vl(e)&&e[lt]&8192);){if(sa(e))e[lt]|=rp.HasChildViewsToRefresh;else if(e[lt]|=8192,!j2(e))break;e=e[Xn]}}function lQ(t,e){if((t[lt]&256)===256)throw new le(911,!1);t[Ym]===null&&(t[Ym]=[]),t[Ym].push(e)}var vt={lFrame:EF(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cQ(){return vt.lFrame.elementDepthCount}function dQ(){vt.lFrame.elementDepthCount++}function uQ(){vt.lFrame.elementDepthCount--}function vF(){return vt.bindingsEnabled}function kF(){return vt.skipHydrationRootTNode!==null}function fQ(t){return vt.skipHydrationRootTNode===t}function pQ(){vt.skipHydrationRootTNode=null}function Mt(){return vt.lFrame.lView}function Jn(){return vt.lFrame.tView}function nn(t){return vt.lFrame.contextLView=t,t[Or]}function rn(t){return vt.lFrame.contextLView=null,t}function ci(){let t=xF();for(;t!==null&&t.type===64;)t=t.parent;return t}function xF(){return vt.lFrame.currentTNode}function hQ(){let t=vt.lFrame,e=t.currentTNode;return t.isParent?e:e.parent}function Cd(t,e){let n=vt.lFrame;n.currentTNode=t,n.isParent=e}function z2(){return vt.lFrame.isParent}function L2(){vt.lFrame.isParent=!1}function mQ(){return vt.lFrame.contextLView}function B2(){let t=vt.lFrame,e=t.bindingRootIndex;return e===-1&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function gQ(){return vt.lFrame.bindingIndex}function yQ(t){return vt.lFrame.bindingIndex=t}function dp(){return vt.lFrame.bindingIndex++}function V2(t){let e=vt.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function bQ(){return vt.lFrame.inI18n}function _Q(t,e){let n=vt.lFrame;n.bindingIndex=n.bindingRootIndex=t,$S(e)}function wQ(){return vt.lFrame.currentDirectiveIndex}function $S(t){vt.lFrame.currentDirectiveIndex=t}function vQ(t){let e=vt.lFrame.currentDirectiveIndex;return e===-1?null:t[e]}function CF(){return vt.lFrame.currentQueryIndex}function U2(t){vt.lFrame.currentQueryIndex=t}function kQ(t){let e=t[mt];return e.type===2?e.declTNode:e.type===1?t[Ji]:null}function DF(t,e,n){if(n&Tt.SkipSelf){let i=e,o=t;for(;i=i.parent,i===null&&!(n&Tt.Host);)if(i=kQ(o),i===null||(o=o[cp],i.type&10))break;if(i===null)return!1;e=i,t=o}let r=vt.lFrame=SF();return r.currentTNode=e,r.lView=t,!0}function H2(t){let e=SF(),n=t[mt];vt.lFrame=e,e.currentTNode=n.firstChild,e.lView=t,e.tView=n,e.contextLView=t,e.bindingIndex=n.bindingStartIndex,e.inI18n=!1}function SF(){let t=vt.lFrame,e=t===null?null:t.child;return e===null?EF(t):e}function EF(t){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return t!==null&&(t.child=e),e}function MF(){let t=vt.lFrame;return vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var TF=MF;function $2(){let t=MF();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function xQ(t){return(vt.lFrame.contextLView=sQ(t,vt.lFrame.contextLView))[Or]}function Ns(){return vt.lFrame.selectedIndex}function bd(t){vt.lFrame.selectedIndex=t}function Ow(){let t=vt.lFrame;return R2(t.tView,t.selectedIndex)}function AF(){vt.lFrame.currentNamespace=gF}function CQ(){return vt.lFrame.currentNamespace}var IF=!0;function Pw(){return IF}function Fw(t){IF=t}function DQ(t,e,n){let{ngOnChanges:r,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(r){let a=pF(e);(n.preOrderHooks??=[]).push(t,a),(n.preOrderCheckHooks??=[]).push(t,a)}i&&(n.preOrderHooks??=[]).push(0-t,i),o&&((n.preOrderHooks??=[]).push(t,o),(n.preOrderCheckHooks??=[]).push(t,o))}function Nw(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[l]<0&&(t[Gf]+=65536),(s>14>16&&(t[lt]&3)===e&&(t[lt]+=16384,yP(s,o)):yP(s,o)}var Zf=-1,_d=class{constructor(e,n,r){this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}};function EQ(t){return t instanceof _d}function MQ(t){return(t.flags&8)!==0}function TQ(t){return(t.flags&16)!==0}function PF(t){return t!==Zf}function lw(t){let e=t&32767;return t&32767}function AQ(t){return t>>16}function cw(t,e){let n=AQ(t),r=e;for(;n>0;)r=r[cp],n--;return r}var qS=!0;function bP(t){let e=qS;return qS=t,e}var IQ=256,FF=IQ-1,NF=5,OQ=0,ja={};function PQ(t,e,n){let r;typeof n=="string"?r=n.charCodeAt(0)||0:n.hasOwnProperty(Wm)&&(r=n[Wm]),r==null&&(r=n[Wm]=OQ++);let i=r&FF,o=1<>NF)]|=o}function dw(t,e){let n=RF(t,e);if(n!==-1)return n;let r=e[mt];r.firstCreatePass&&(t.injectorIndex=e.length,CS(r.data,t),CS(e,null),CS(r.blueprint,null));let i=q2(t,e),o=t.injectorIndex;if(PF(i)){let a=lw(i),s=cw(i,e),l=s[mt].data;for(let c=0;c<8;c++)e[o+c]=s[a+c]|l[a+c]}return e[o+8]=i,o}function CS(t,e){t.push(0,0,0,0,0,0,0,0,e)}function RF(t,e){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||e[t.injectorIndex+8]===null?-1:t.injectorIndex}function q2(t,e){if(t.parent&&t.parent.injectorIndex!==-1)return t.parent.injectorIndex;let n=0,r=null,i=e;for(;i!==null;){if(r=VF(i),r===null)return Zf;if(n++,i=i[cp],r.injectorIndex!==-1)return r.injectorIndex|n<<16}return Zf}function WS(t,e,n){PQ(t,e,n)}function FQ(t,e){if(e==="class")return t.classes;if(e==="style")return t.styles;let n=t.attrs;if(n){let r=n.length,i=0;for(;i>20,u=r?s:s+d,f=i?s+d:c;for(let p=u;p=l&&h.type===n)return p}if(i){let p=a[l];if(p&&Ul(p)&&p.type===n)return l}return null}function wd(t,e,n,r){let i=t[n],o=e.data;if(EQ(i)){let a=i;a.resolving&&xX(kX(o[n]));let s=bP(a.canSeeViewProviders);a.resolving=!0;let l,c=a.injectImpl?xo(a.injectImpl):null,d=DF(t,r,Tt.Default);try{i=t[n]=a.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&DQ(n,o[n],e)}finally{c!==null&&xo(c),bP(s),a.resolving=!1,TF()}}return i}function RQ(t){if(typeof t=="string")return t.charCodeAt(0)||0;let e=t.hasOwnProperty(Wm)?t[Wm]:void 0;return typeof e=="number"?e>=0?e&FF:jQ:e}function _P(t,e,n){let r=1<>NF)]&r)}function wP(t,e){return!(t&Tt.Self)&&!(t&Tt.Host&&e)}var hd=class{constructor(e,n){this._tNode=e,this._lView=n}get(e,n,r){return LF(this._tNode,this._lView,e,Ew(r),n)}};function jQ(){return new hd(ci(),Mt())}function nt(t){return ag(()=>{let e=t.prototype.constructor,n=e[ow]||GS(e),r=Object.prototype,i=Object.getPrototypeOf(t.prototype).constructor;for(;i&&i!==r;){let o=i[ow]||GS(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function GS(t){return qP(t)?()=>{let e=GS(li(t));return e&&e()}:ip(t)}function zQ(t,e,n,r,i){let o=t,a=e;for(;o!==null&&a!==null&&a[lt]&2048&&!(a[lt]&512);){let s=BF(o,a,n,r|Tt.Self,ja);if(s!==ja)return s;let l=o.parent;if(!l){let c=a[uF];if(c){let d=c.get(n,ja,r);if(d!==ja)return d}l=VF(a),a=a[cp]}o=l}return i}function VF(t){let e=t[mt],n=e.type;return n===2?e.declTNode:n===1?t[Ji]:null}function lg(t){return FQ(ci(),t)}var K_="__parameters__";function LQ(t){return function(...n){if(t){let r=t(...n);for(let i in r)this[i]=r[i]}}}function UF(t,e,n){return ag(()=>{let r=LQ(e);function i(...o){if(this instanceof i)return r.apply(this,o),this;let a=new i(...o);return s.annotation=a,s;function s(l,c,d){let u=l.hasOwnProperty(K_)?l[K_]:Object.defineProperty(l,K_,{value:[]})[K_];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(a),l}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}function BQ(t){return typeof t=="function"}function VQ(t,e,n){if(t.length!==e.length)return!1;for(let r=0;rArray.isArray(n)?W2(n,e):e(n))}function HF(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function uw(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function $F(t,e){let n=[];for(let r=0;re;){let o=i-2;t[i]=t[o],i--}t[e]=n,t[e+1]=r}}function Rw(t,e,n){let r=cg(t,e);return r>=0?t[r|1]=n:(r=~r,HQ(t,r,e,n)),r}function DS(t,e){let n=cg(t,e);if(n>=0)return t[n|1]}function cg(t,e){return $Q(t,e,1)}function $Q(t,e,n){let r=0,i=t.length>>n;for(;i!==r;){let o=r+(i-r>>1),a=t[o<e?i=o:r=o+1}return~(i<{n.push(a)};return W2(e,a=>{let s=a;YS(s,o,[],r)&&(i||=[],i.push(s))}),i!==void 0&&YF(i,o),n}function YF(t,e){for(let n=0;n{e(o,r)})}}function YS(t,e,n,r){if(t=li(t),!t)return!1;let i=null,o=lP(t),a=!o&&md(t);if(!o&&!a){let l=t.ngModule;if(o=lP(l),o)i=l;else return!1}else{if(a&&!a.standalone)return!1;i=t}let s=r.has(i);if(a){if(s)return!1;if(r.add(i),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let c of l)YS(c,e,n,r)}}else if(o){if(o.imports!=null&&!s){r.add(i);let c;try{W2(o.imports,d=>{YS(d,e,n,r)&&(c||=[],c.push(d))})}finally{}c!==void 0&&YF(c,e)}if(!s){let c=ip(i)||(()=>new i);e({provide:i,useFactory:c,deps:Mi},i),e({provide:WF,useValue:i,multi:!0},i),e({provide:dg,useValue:()=>B(i),multi:!0},i)}let l=o.providers;if(l!=null&&!s){let c=t;Y2(l,d=>{e(d,c)})}}else return!1;return i!==t&&t.providers!==void 0}function Y2(t,e){for(let n of t)WP(n)&&(n=n.\u0275providers),Array.isArray(n)?Y2(n,e):e(n)}var WQ=cn({provide:String,useValue:cn});function KF(t){return t!==null&&typeof t=="object"&&WQ in t}function GQ(t){return!!(t&&t.useExisting)}function YQ(t){return!!(t&&t.useFactory)}function ap(t){return typeof t=="function"}function KQ(t){return!!t.useClass}var zw=new de("Set Injector scope."),nw={},ZQ={},SS;function K2(){return SS===void 0&&(SS=new fw),SS}var Ai=class{},Jm=class extends Ai{get destroyed(){return this._destroyed}constructor(e,n,r,i){super(),this.parent=n,this.source=r,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,ZS(e,a=>this.processProvider(a)),this.records.set(qF,Yf(void 0,this)),i.has("environment")&&this.records.set(Ai,Yf(void 0,this));let o=this.records.get(zw);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(WF,Mi,Tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let e=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of e)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let n=Bl(this),r=xo(void 0),i;try{return e()}finally{Bl(n),xo(r)}}get(e,n=Km,r=Tt.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(aP))return e[aP](this);r=Ew(r);let i,o=Bl(this),a=xo(void 0);try{if(!(r&Tt.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=tJ(e)&&Sw(e);c&&this.injectableDefInScope(c)?l=Yf(KS(e),nw):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let s=r&Tt.Self?K2():this.parent;return n=r&Tt.Optional&&n===Km?null:n,s.get(e,n)}catch(s){if(s.name==="NullInjectorError"){if((s[aw]=s[aw]||[]).unshift(Ur(e)),o)throw s;return NX(s,e,"R3InjectorError",this.source)}else throw s}finally{xo(a),Bl(o)}}resolveInjectorInitializers(){let e=Bl(this),n=xo(void 0),r;try{let i=this.get(dg,Mi,Tt.Self);for(let o of i)o()}finally{Bl(e),xo(n)}}toString(){let e=[],n=this.records;for(let r of n.keys())e.push(Ur(r));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new le(205,!1)}processProvider(e){e=li(e);let n=ap(e)?e:li(e&&e.provide),r=QQ(e);if(!ap(e)&&e.multi===!0){let i=this.records.get(n);i||(i=Yf(void 0,nw,!0),i.factory=()=>VS(i.multi),this.records.set(n,i)),n=e,i.multi.push(e)}else{let i=this.records.get(n)}this.records.set(n,r)}hydrate(e,n){return n.value===nw&&(n.value=ZQ,n.value=n.factory()),typeof n.value=="object"&&n.value&&eJ(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(e){if(!e.providedIn)return!1;let n=li(e.providedIn);return typeof n=="string"?n==="any"||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(e){let n=this._onDestroyHooks.indexOf(e);n!==-1&&this._onDestroyHooks.splice(n,1)}};function KS(t){let e=Sw(t),n=e!==null?e.factory:ip(t);if(n!==null)return n;if(t instanceof de)throw new le(204,!1);if(t instanceof Function)return XQ(t);throw new le(204,!1)}function XQ(t){let e=t.length;if(e>0){let r=$F(e,"?");throw new le(204,!1)}let n=SX(t);return n!==null?()=>n.factory(t):()=>new t}function QQ(t){if(KF(t))return Yf(void 0,t.useValue);{let e=ZF(t);return Yf(e,nw)}}function ZF(t,e,n){let r;if(ap(t)){let i=li(t);return ip(i)||KS(i)}else if(KF(t))r=()=>li(t.useValue);else if(YQ(t))r=()=>t.useFactory(...VS(t.deps||[]));else if(GQ(t))r=()=>B(li(t.useExisting));else{let i=li(t&&(t.useClass||t.provide));if(JQ(t))r=()=>new i(...VS(t.deps));else return ip(i)||KS(i)}return r}function Yf(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function JQ(t){return!!t.deps}function eJ(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function tJ(t){return typeof t=="function"||typeof t=="object"&&t instanceof de}function ZS(t,e){for(let n of t)Array.isArray(n)?ZS(n,e):n&&WP(n)?ZS(n.\u0275providers,e):e(n)}function Rs(t,e){t instanceof Jm&&t.assertNotDestroyed();let n,r=Bl(t),i=xo(void 0);try{return e()}finally{Bl(r),xo(i)}}function vP(t,e=null,n=null,r){let i=XF(t,e,n,r);return i.resolveInjectorInitializers(),i}function XF(t,e=null,n=null,r,i=new Set){let o=[n||Mi,qQ(t)];return r=r||(typeof t=="object"?void 0:Ur(t)),new Jm(o,e||K2(),r||null,i)}var er=(()=>{let e=class e{static create(r,i){if(Array.isArray(r))return vP({name:""},i,r,"");{let o=r.name??"";return vP({name:o},r.parent,r.providers,o)}}};e.THROW_IF_NOT_FOUND=Km,e.NULL=new fw,e.\u0275prov=ee({token:e,providedIn:"any",factory:()=>B(qF)}),e.__NG_ELEMENT_ID__=-1;let t=e;return t})();var XS;function QF(t){XS=t}function nJ(){if(XS!==void 0)return XS;if(typeof document<"u")return document;throw new le(210,!1)}var Lw=new de("AppId",{providedIn:"root",factory:()=>rJ}),rJ="ng",Z2=new de("Platform Initializer"),Va=new de("Platform ID",{providedIn:"platform",factory:()=>"unknown"});var Rn=new de("AnimationModuleType"),ug=new de("CSP nonce",{providedIn:"root",factory:()=>nJ().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),JF={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Bw=new de("ImageConfig",{providedIn:"root",factory:()=>JF});function e7(t){return t instanceof Function?t():t}function t7(t){return(t.flags&128)===128}var Os=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}(Os||{}),iJ=/^>|^->||--!>|)/g,aJ="\u200B$1\u200B";function sJ(t){return t.replace(iJ,e=>e.replace(oJ,aJ))}var n7=new Map,lJ=0;function cJ(){return lJ++}function dJ(t){n7.set(t[Mw],t)}function uJ(t){n7.delete(t[Mw])}var kP="__ngContext__";function Hl(t,e){Vl(e)?(t[kP]=e[Mw],dJ(e)):t[kP]=e}var fJ;function X2(t,e){return fJ(t,e)}function Q2(t){let e=t[Xn];return sa(e)?e[Xn]:e}function r7(t){return o7(t[Qm])}function i7(t){return o7(t[aa])}function o7(t){for(;t!==null&&!sa(t);)t=t[aa];return t}function Kf(t,e,n,r,i){if(r!=null){let o,a=!1;sa(r)?o=r:Vl(r)&&(a=!0,r=r[Fs]);let s=Ba(r);t===0&&n!==null?i==null?c7(e,n,s):pw(e,n,s,i||null,!0):t===1&&n!==null?pw(e,n,s,i||null,!0):t===2?TJ(e,s,a):t===3&&e.destroyNode(s),o!=null&&IJ(e,t,o,n,i)}}function pJ(t,e){return t.createText(e)}function hJ(t,e,n){t.setValue(e,n)}function mJ(t,e){return t.createComment(sJ(e))}function a7(t,e,n){return t.createElement(e,n)}function gJ(t,e){let n=e[An];fg(t,e,n,2,null,null),e[Fs]=null,e[Ji]=null}function yJ(t,e,n,r,i,o){r[Fs]=i,r[Ji]=e,fg(t,r,n,1,i,o)}function bJ(t,e){fg(t,e,e[An],2,null,null)}function _J(t){let e=t[Qm];if(!e)return ES(t[mt],t);for(;e;){let n=null;if(Vl(e))n=e[Qm];else{let r=e[Hr];r&&(n=r)}if(!n){for(;e&&!e[aa]&&e!==t;)Vl(e)&&ES(e[mt],e),e=e[Xn];e===null&&(e=t),Vl(e)&&ES(e[mt],e),n=e&&e[aa]}e=n}}function wJ(t,e,n,r){let i=Hr+r,o=n.length;r>0&&(n[i-1][aa]=e),r0&&(t[n-1][aa]=r[aa]);let o=uw(t,Hr+e);gJ(r[mt],r);let a=o[za];a!==null&&a.detachView(o[mt]),r[Xn]=null,r[aa]=null,r[lt]&=-129}return r}function Vw(t,e){if(!(e[lt]&256)){let n=e[An];n.destroyNode&&fg(t,e,n,3,null,null),_J(e)}}function ES(t,e){if(!(e[lt]&256)){e[lt]&=-129,e[lt]|=256,e[gd]&&I5(e[gd]),xJ(t,e),kJ(t,e),e[mt].type===1&&e[An].destroy();let n=e[sg];if(n!==null&&sa(e[Xn])){n!==e[Xn]&&s7(n,e);let r=e[za];r!==null&&r.detachView(t)}uJ(e)}}function kJ(t,e){let n=t.cleanup,r=e[Xm];if(n!==null)for(let o=0;o=0?r[a]():r[-a].unsubscribe(),o+=2}else{let a=r[n[o+1]];n[o].call(a)}r!==null&&(e[Xm]=null);let i=e[Ym];if(i!==null){e[Ym]=null;for(let o=0;o-1){let{encapsulation:o}=t.data[r.directiveStart+i];if(o===La.None||o===La.Emulated)return null}return So(r,n)}}function pw(t,e,n,r,i){t.insertBefore(e,n,r,i)}function c7(t,e,n){t.appendChild(e,n)}function xP(t,e,n,r,i){r!==null?pw(t,e,n,r,i):c7(t,e,n)}function DJ(t,e,n,r){t.removeChild(e,n,r)}function J2(t,e){return t.parentNode(e)}function SJ(t,e){return t.nextSibling(e)}function d7(t,e,n){return MJ(t,e,n)}function EJ(t,e,n){return t.type&40?So(t,n):null}var MJ=EJ,CP;function Uw(t,e,n,r){let i=l7(t,r,e),o=e[An],a=r.parent||e[Ji],s=d7(a,r,e);if(i!=null)if(Array.isArray(n))for(let l=0;lt,createScript:t=>t,createScriptURL:t=>t})}catch{}return Z_}function DP(t){return FJ()?.createScriptURL(t)||t}var hw=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${GP})`}};function Dd(t){return t instanceof hw?t.changingThisBreaksApplicationSecurity:t}function tE(t,e){let n=NJ(t);if(n!=null&&n!==e){if(n==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${n} (see ${GP})`)}return n===e}function NJ(t){return t instanceof hw&&t.getTypeName()||null}var RJ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function m7(t){return t=String(t),t.match(RJ)?t:"unsafe:"+t}var Hw=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Hw||{});function Sd(t){let e=y7();return e?e.sanitize(Hw.URL,t)||"":tE(t,"URL")?Dd(t):m7(Xf(t))}function jJ(t){let e=y7();if(e)return DP(e.sanitize(Hw.RESOURCE_URL,t)||"");if(tE(t,"ResourceURL"))return DP(Dd(t));throw new le(904,!1)}function zJ(t,e){return e==="src"&&(t==="embed"||t==="frame"||t==="iframe"||t==="media"||t==="script")||e==="href"&&(t==="base"||t==="link")?jJ:Sd}function g7(t,e,n){return zJ(e,n)(t)}function y7(){let t=Mt();return t&&t[tp].sanitizer}var LJ="h",BJ="b";var VJ=(t,e,n)=>null;function nE(t,e,n=!1){return VJ(t,e,n)}var JS=class{},mw=class{};function UJ(t){let e=Error(`No component factory found for ${Ur(t)}.`);return e[HJ]=t,e}var HJ="ngComponent";var e2=class{resolveComponentFactory(e){throw UJ(e)}},Ua=(()=>{let e=class e{};e.NULL=new e2;let t=e;return t})();function $J(){return fp(ci(),Mt())}function fp(t,e){return new Me(So(t,e))}var Me=(()=>{let e=class e{constructor(r){this.nativeElement=r}};e.__NG_ELEMENT_ID__=$J;let t=e;return t})();function qJ(t){return t instanceof Me?t.nativeElement:t}var vd=class{},Yl=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>WJ();let t=e;return t})();function WJ(){let t=Mt(),e=ci(),n=Gl(e.index,t);return(Vl(n)?n:t)[An]}var GJ=(()=>{let e=class e{};e.\u0275prov=ee({token:e,providedIn:"root",factory:()=>null});let t=e;return t})(),$l=class{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}},YJ=new $l("17.0.6"),MS={};function b7(t){return rE(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function KJ(t,e){if(Array.isArray(t))for(let n=0;ne,n2=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ZJ}forEachItem(e){let n;for(n=this._itHead;n!==null;n=n._next)e(n)}forEachOperation(e){let n=this._itHead,r=this._removalsHead,i=0,o=null;for(;n||r;){let a=!r||n&&n.currentIndex{a=this._trackByFn(i,s),n===null||!Object.is(n.trackById,a)?(n=this._mismatch(n,s,a,i),r=!0):(r&&(n=this._verifyReinsertion(n,s,a,i)),Object.is(n.item,s)||this._addIdentityChange(n,s)),n=n._next,i++}),this.length=i;return this._truncate(n),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,n,r,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(r,i),e!==null?(Object.is(e.item,n)||this._addIdentityChange(e,n),this._moveAfter(e,o,i)):e=this._addAfter(new r2(n,r),o,i)),e}_verifyReinsertion(e,n,r,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(r,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let n=e._next;this._addToRemovals(this._unlink(e)),e=n}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,n,r){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,n,r),this._addToMoves(e,r),e}_moveAfter(e,n,r){return this._unlink(e),this._insertAfter(e,n,r),this._addToMoves(e,r),e}_addAfter(e,n,r){return this._insertAfter(e,n,r),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,n,r){let i=n===null?this._itHead:n._next;return e._next=i,e._prev=n,i===null?this._itTail=e:i._prev=e,n===null?this._itHead=e:n._next=e,this._linkedRecords===null&&(this._linkedRecords=new gw),this._linkedRecords.put(e),e.currentIndex=r,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let n=e._prev,r=e._next;return n===null?this._itHead=r:n._next=r,r===null?this._itTail=n:r._prev=n,e}_addToMoves(e,n){return e.previousIndex===n||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new gw),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,n){return e.item=n,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},r2=class{constructor(e,n){this.item=e,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}},i2=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,n){let r;for(r=this._head;r!==null;r=r._nextDup)if((n===null||n<=r.currentIndex)&&Object.is(r.trackById,e))return r;return null}remove(e){let n=e._prevDup,r=e._nextDup;return n===null?this._head=r:n._nextDup=r,r===null?this._tail=n:r._prevDup=n,this._head===null}},gw=class{constructor(){this.map=new Map}put(e){let n=e.trackById,r=this.map.get(n);r||(r=new i2,this.map.set(n,r)),r.add(e)}get(e,n){let r=e,i=this.map.get(r);return i?i.get(e,n):null}remove(e){let n=e.trackById;return this.map.get(n).remove(e)&&this.map.delete(n),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function SP(t,e,n){let r=t.previousIndex;if(r===null)return r;let i=0;return n&&r{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{let o=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,o)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;r!==null;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,n){if(e){let r=e._prev;return n._next=e,n._prev=r,e._prev=n,r&&(r._next=n),e===this._mapHead&&(this._mapHead=n),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(e,n){if(this._records.has(e)){let i=this._records.get(e);this._maybeAddToChanges(i,n);let o=i._prev,a=i._next;return o&&(o._next=a),a&&(a._prev=o),i._next=null,i._prev=null,i}let r=new s2(e);return this._records.set(e,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,n){Object.is(n,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=n,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(r=>n(e[r],r))}},s2=class{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}};function EP(){return new $w([new t2])}var $w=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,i){if(i!=null){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:i=>e.create(r,i||EP()),deps:[[e,new G2,new jw]]}}find(r){let i=this.factories.find(o=>o.supports(r));if(i!=null)return i;throw new le(901,!1)}};e.\u0275prov=ee({token:e,providedIn:"root",factory:EP});let t=e;return t})();function MP(){return new iE([new o2])}var iE=(()=>{let e=class e{constructor(r){this.factories=r}static create(r,i){if(i){let o=i.factories.slice();r=r.concat(o)}return new e(r)}static extend(r){return{provide:e,useFactory:i=>e.create(r,i||MP()),deps:[[e,new G2,new jw]]}}find(r){let i=this.factories.find(o=>o.supports(r));if(i)return i;throw new le(901,!1)}};e.\u0275prov=ee({token:e,providedIn:"root",factory:MP});let t=e;return t})();function yw(t,e,n,r,i=!1){for(;n!==null;){let o=e[n.index];o!==null&&r.push(Ba(o)),sa(o)&&XJ(o,r);let a=n.type;if(a&8)yw(t,e,n.child,r);else if(a&32){let s=X2(n,e),l;for(;l=s();)r.push(l)}else if(a&16){let s=u7(e,n);if(Array.isArray(s))r.push(...s);else{let l=Q2(e[Co]);yw(l[mt],l,s,r,!0)}}n=i?n.projectionNext:n.next}return r}function XJ(t,e){for(let n=Hr;n{Iw(t.lView)},consumerOnSignalRead(){this.lView[gd]=this}}),nee="ngOriginalError";function TS(t){return t[nee]}var Ps=class{constructor(){this._console=console}handleError(e){let n=this._findOriginalError(e);this._console.error("ERROR",e),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(e){let n=e&&TS(e);for(;n&&TS(n);)n=TS(n);return n||null}};var w7=!1,ree=new de("",{providedIn:"root",factory:()=>w7});var eo={};function oe(t){v7(Jn(),Mt(),Ns()+t,!1)}function v7(t,e,n,r){if(!r)if((e[lt]&3)===3){let o=t.preOrderCheckHooks;o!==null&&J_(e,o,n)}else{let o=t.preOrderHooks;o!==null&&ew(e,o,0,n)}bd(n)}function R(t,e=Tt.Default){let n=Mt();if(n===null)return B(t,e);let r=ci();return LF(r,n,li(t),e)}function oE(){let t="invalid";throw new Error(t)}function iee(t,e){let n=t.hostBindingOpCodes;if(n!==null)try{for(let r=0;rTi&&v7(t,e,Ti,!1),Ra(a?2:0,i),n(r,i)}finally{bd(o),Ra(a?3:1,i)}}function aE(t,e,n){if(N2(e)){let r=Ir(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let a=i;anull;function dee(t,e,n,r){let i=A7(e);i.push(n),t.firstCreatePass&&I7(t).push(r,i.length-1)}function uee(t,e,n,r,i,o){let a=e?e.injectorIndex:-1,s=0;return kF()&&(s|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:a,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:s,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function TP(t,e,n,r){for(let i in t)if(t.hasOwnProperty(i)){n=n===null?{}:n;let o=t[i];r===null?AP(n,e,i,o):r.hasOwnProperty(i)&&AP(n,e,r[i],o)}return n}function AP(t,e,n,r){t.hasOwnProperty(n)?t[n].push(e,r):t[n]=[e,r]}function fee(t,e,n){let r=e.directiveStart,i=e.directiveEnd,o=t.data,a=e.attrs,s=[],l=null,c=null;for(let d=r;d0;){let n=t[--e];if(typeof n=="number"&&n<0)return n}return 0}function yee(t,e,n,r){let i=n.directiveStart,o=n.directiveEnd;Tw(n)&&Cee(e,n,t.data[i+n.componentOffset]),t.firstCreatePass||dw(n,e),Hl(r,e);let a=n.initialInputs;for(let s=i;s-1&&(eg(e,r),uw(n,r))}this._attachedToViewContainer=!1}Vw(this._lView[mt],this._lView)}onDestroy(e){lQ(this._lView,e)}markForCheck(){pE(this._cdRefInjectingView||this._lView)}detach(){this._lView[lt]&=-129}reattach(){wF(this._lView),this._lView[lt]|=128}detectChanges(){Aee(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new le(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,bJ(this._lView[mt],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new le(902,!1);this._appRef=e}},di=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=Nee;let t=e;return t})();function Nee(t){return Ree(ci(),Mt(),(t&16)===16)}function Ree(t,e,n){if(Tw(t)&&!n){let r=Gl(t.index,e);return new kd(r,r)}else if(t.type&47){let r=e[Co];return new kd(r,e)}return null}var IP=new Set;function pg(t){IP.has(t)||(IP.add(t),performance?.mark?.("mark_use_counter",{detail:{feature:t}}))}var d2=class extends Ee{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,n,r){let i=e,o=n||(()=>null),a=r;if(e&&typeof e=="object"){let l=e;i=l.next?.bind(l),o=l.error?.bind(l),a=l.complete?.bind(l)}this.__isAsync&&(o=AS(o),i&&(i=AS(i)),a&&(a=AS(a)));let s=super.subscribe({next:i,error:o,complete:a});return e instanceof Lt&&e.add(s),s}};function AS(t){return e=>{setTimeout(t,void 0,e)}}var Qe=d2;function OP(...t){}function jee(){let t=typeof pd.requestAnimationFrame=="function",e=pd[t?"requestAnimationFrame":"setTimeout"],n=pd[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&e&&n){let r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r);let i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:n}}var De=class t{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Qe(!1),this.onMicrotaskEmpty=new Qe(!1),this.onStable=new Qe(!1),this.onError=new Qe(!1),typeof Zone>"u")throw new le(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=jee().nativeRequestAnimationFrame,Bee(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new le(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new le(909,!1)}run(e,n,r){return this._inner.run(e,n,r)}runTask(e,n,r,i){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+i,e,zee,OP,OP);try{return o.runTask(a,n,r)}finally{o.cancelTask(a)}}runGuarded(e,n,r){return this._inner.runGuarded(e,n,r)}runOutsideAngular(e){return this._outer.run(e)}},zee={};function hE(t){if(t._nesting==0&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Lee(t){t.isCheckStableRunning||t.lastRequestAnimationFrameId!==-1||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(pd,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,u2(t),t.isCheckStableRunning=!0,hE(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),u2(t))}function Bee(t){let e=()=>{Lee(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,o,a,s)=>{if(Vee(s))return n.invokeTask(i,o,a,s);try{return PP(t),n.invokeTask(i,o,a,s)}finally{(t.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&e(),FP(t)}},onInvoke:(n,r,i,o,a,s,l)=>{try{return PP(t),n.invoke(i,o,a,s,l)}finally{t.shouldCoalesceRunChangeDetection&&e(),FP(t)}},onHasTask:(n,r,i,o)=>{n.hasTask(i,o),r===i&&(o.change=="microTask"?(t._hasPendingMicrotasks=o.microTask,u2(t),hE(t)):o.change=="macroTask"&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(n,r,i,o)=>(n.handleError(i,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}function u2(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.lastRequestAnimationFrameId!==-1?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function PP(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function FP(t){t._nesting--,hE(t)}var L7=new de("",{providedIn:"root",factory:B7});function B7(){let t=se(De),e=!0,n=new Ze(i=>{e=t.isStable&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks,t.runOutsideAngular(()=>{i.next(e),i.complete()})}),r=new Ze(i=>{let o;t.runOutsideAngular(()=>{o=t.onStable.subscribe(()=>{De.assertNotInAngularZone(),queueMicrotask(()=>{!e&&!t.hasPendingMacrotasks&&!t.hasPendingMicrotasks&&(e=!0,i.next(!0))})})});let a=t.onUnstable.subscribe(()=>{De.assertInAngularZone(),e&&(e=!1,t.runOutsideAngular(()=>{i.next(!1)}))});return()=>{o.unsubscribe(),a.unsubscribe()}});return Qi(n,r.pipe(Wf()))}function Vee(t){return!Array.isArray(t)||t.length!==1?!1:t[0].data?.__ignore_ng_zone__===!0}var Uee=(()=>{let e=class e{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,this.renderDepth===0){for(let r of this.internalCallbacks)r();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=ee({token:e,providedIn:"root",factory:()=>new e});let t=e;return t})();function Hee(t,e){let n=Gl(e,t),r=n[mt];$ee(r,n);let i=n[Fs];i!==null&&n[Jf]===null&&(n[Jf]=nE(i,n[ep])),mE(r,n,n[Or])}function $ee(t,e){for(let n=e.length;n0&&p7(t,n,o.join(" "))}}function Qee(t,e,n){let r=t.projection=[];for(let i=0;i=0;r--){let i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=Zm(i.hostAttrs,n=Zm(n,i.hostAttrs))}}function X_(t){return t===Qf?{}:t===Mi?[]:t}function nte(t,e){let n=t.viewQuery;n?t.viewQuery=(r,i)=>{e(r,i),n(r,i)}:t.viewQuery=e}function rte(t,e){let n=t.contentQueries;n?t.contentQueries=(r,i,o)=>{e(r,i,o),n(r,i,o)}:t.contentQueries=e}function ite(t,e){let n=t.hostBindings;n?t.hostBindings=(r,i)=>{e(r,i),n(r,i)}:t.hostBindings=e}function Eo(t){let e=t.inputConfig,n={};for(let r in e)if(e.hasOwnProperty(r)){let i=e[r];Array.isArray(i)&&i[2]&&(n[r]=i[2])}t.inputTransforms=n}function gE(t,e,n){return t[e]=n}function ote(t,e){return t[e]}function la(t,e,n){let r=t[e];return Object.is(r,n)?!1:(t[e]=n,!0)}function V7(t,e,n,r){let i=la(t,e,n);return la(t,e+1,r)||i}function pn(t,e,n,r){let i=Mt(),o=dp();if(la(i,o,e)){let a=Jn(),s=Ow();Dee(s,i,t,e,n,r)}return pn}function U7(t,e,n,r){return la(t,dp(),n)?e+Xf(n)+r:eo}function ate(t,e,n,r,i,o){let a=gQ(),s=V7(t,a,n,i);return V2(2),s?e+Xf(n)+r+Xf(i)+o:eo}function Q_(t,e){return t<<17|e<<2}function xd(t){return t>>17&32767}function ste(t){return(t&2)==2}function lte(t,e){return t&131071|e<<17}function h2(t){return t|2}function sp(t){return(t&131068)>>2}function IS(t,e){return t&-131069|e<<2}function cte(t){return(t&1)===1}function m2(t){return t|1}function dte(t,e,n,r,i,o){let a=o?e.classBindings:e.styleBindings,s=xd(a),l=sp(a);t[r]=n;let c=!1,d;if(Array.isArray(n)){let u=n;d=u[1],(d===null||cg(u,d)>0)&&(c=!0)}else d=n;if(i)if(l!==0){let f=xd(t[s+1]);t[r+1]=Q_(f,s),f!==0&&(t[f+1]=IS(t[f+1],r)),t[s+1]=lte(t[s+1],r)}else t[r+1]=Q_(s,0),s!==0&&(t[s+1]=IS(t[s+1],r)),s=r;else t[r+1]=Q_(l,0),s===0?s=r:t[l+1]=IS(t[l+1],r),l=r;c&&(t[r+1]=h2(t[r+1])),RP(t,d,r,!0,o),RP(t,d,r,!1,o),ute(e,d,t,r,o),a=Q_(s,l),o?e.classBindings=a:e.styleBindings=a}function ute(t,e,n,r,i){let o=i?t.residualClasses:t.residualStyles;o!=null&&typeof e=="string"&&cg(o,e)>=0&&(n[r+1]=m2(n[r+1]))}function RP(t,e,n,r,i){let o=t[n+1],a=e===null,s=r?xd(o):sp(o),l=!1;for(;s!==0&&(l===!1||a);){let c=t[s],d=t[s+1];fte(c,e)&&(l=!0,t[s+1]=r?m2(d):h2(d)),s=r?xd(d):sp(d)}l&&(t[n+1]=r?h2(o):m2(o))}function fte(t,e){return t===null||e==null||(Array.isArray(t)?t[1]:t)===e?!0:Array.isArray(t)&&typeof e=="string"?cg(t,e)>=0:!1}var ar={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function H7(t){return t.substring(ar.key,ar.keyEnd)}function pte(t){return t.substring(ar.value,ar.valueEnd)}function hte(t){return W7(t),$7(t,lp(t,0,ar.textEnd))}function $7(t,e){let n=ar.textEnd;return n===e?-1:(e=ar.keyEnd=gte(t,ar.key=e,n),lp(t,e,n))}function mte(t){return W7(t),q7(t,lp(t,0,ar.textEnd))}function q7(t,e){let n=ar.textEnd,r=ar.key=lp(t,e,n);return n===r?-1:(r=ar.keyEnd=yte(t,r,n),r=jP(t,r,n,58),r=ar.value=lp(t,r,n),r=ar.valueEnd=bte(t,r,n),jP(t,r,n,59))}function W7(t){ar.key=0,ar.keyEnd=0,ar.value=0,ar.valueEnd=0,ar.textEnd=t.length}function lp(t,e,n){for(;e32;)e++;return e}function yte(t,e,n){let r;for(;e=65&&(r&-33)<=90||r>=48&&r<=57);)e++;return e}function jP(t,e,n,r){return e=lp(t,e,n),e32&&(s=a),o=i,i=r,r=l&-33}return s}function zP(t,e,n,r){let i=-1,o=n;for(;o=0;n=q7(e,n))Q7(t,H7(e),pte(e))}function sr(t){K7(Ste,wte,t,!0)}function wte(t,e){for(let n=hte(e);n>=0;n=$7(e,n))Rw(t,H7(e),!0)}function Y7(t,e,n,r){let i=Mt(),o=Jn(),a=V2(2);if(o.firstUpdatePass&&X7(o,t,a,r),e!==eo&&la(i,a,e)){let s=o.data[Ns()];J7(o,s,i,i[An],t,i[a+1]=Mte(e,n),r,a)}}function K7(t,e,n,r){let i=Jn(),o=V2(2);i.firstUpdatePass&&X7(i,null,o,r);let a=Mt();if(n!==eo&&la(a,o,n)){let s=i.data[Ns()];if(eN(s,r)&&!Z7(i,o)){let l=r?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(n=zS(l,n||"")),g2(i,s,a,n,r)}else Ete(i,s,a,a[An],a[o+1],a[o+1]=Dte(t,e,n),r,o)}}function Z7(t,e){return e>=t.expandoStartIndex}function X7(t,e,n,r){let i=t.data;if(i[n+1]===null){let o=i[Ns()],a=Z7(t,n);eN(o,r)&&e===null&&!a&&(e=!1),e=vte(i,o,e,r),dte(i,o,e,n,a,r)}}function vte(t,e,n,r){let i=vQ(t),o=r?e.residualClasses:e.residualStyles;if(i===null)(r?e.classBindings:e.styleBindings)===0&&(n=OS(null,t,e,n,r),n=ng(n,e.attrs,r),o=null);else{let a=e.directiveStylingLast;if(a===-1||t[a]!==i)if(n=OS(i,t,e,n,r),o===null){let l=kte(t,e,r);l!==void 0&&Array.isArray(l)&&(l=OS(null,t,e,l[1],r),l=ng(l,e.attrs,r),xte(t,e,r,l))}else o=Cte(t,e,r)}return o!==void 0&&(r?e.residualClasses=o:e.residualStyles=o),n}function kte(t,e,n){let r=n?e.classBindings:e.styleBindings;if(sp(r)!==0)return t[xd(r)]}function xte(t,e,n,r){let i=n?e.classBindings:e.styleBindings;t[xd(i)]=r}function Cte(t,e,n){let r,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=t[i],c=Array.isArray(l),d=c?l[1]:l,u=d===null,f=n[i+1];f===eo&&(f=u?Mi:void 0);let p=u?DS(f,r):d===r?f:void 0;if(c&&!ww(p)&&(p=DS(l,r)),ww(p)&&(s=p,a))return s;let h=t[i+1];i=a?xd(h):sp(h)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(s=DS(l,r))}return s}function ww(t){return t!==void 0}function Mte(t,e){return t==null||t===""||(typeof e=="string"?t=t+e:typeof t=="object"&&(t=Ur(Dd(t)))),t}function eN(t,e){return(t.flags&(e?8:16))!==0}var f3e=new RegExp(`^(\\d+)*(${BJ}|${LJ})*(.*)`);var Tte=(t,e)=>null;function rg(t,e){return Tte(t,e)}var y2=class{destroy(e){}updateValue(e,n){}swap(e,n){let r=Math.min(e,n),i=Math.max(e,n),o=this.detach(i);if(i-r>1){let a=this.detach(r);this.attach(r,o),this.attach(i,a)}else this.attach(r,o)}move(e,n){this.attach(n,this.detach(e))}};function PS(t,e,n,r,i){return t===n&&Object.is(e,r)?1:Object.is(i(t,e),i(n,r))?-1:0}function Ate(t,e,n){let r,i,o=0,a=t.length-1;if(Array.isArray(e)){let s=e.length-1;for(;o<=a&&o<=s;){let l=t.at(o),c=e[o],d=PS(o,l,o,c,n);if(d!==0){d<0&&t.updateValue(o,c),o++;continue}let u=t.at(a),f=e[s],p=PS(a,u,s,f,n);if(p!==0){p<0&&t.updateValue(a,f),a--,s--;continue}let h=n(o,l),g=n(a,u),b=n(o,c);if(Object.is(b,g)){let _=n(s,f);Object.is(_,h)?(t.swap(o,a),t.updateValue(a,f),s--,a--):t.move(a,o),t.updateValue(o,c),o++;continue}if(r??=new vw,i??=VP(t,o,a,n),b2(t,r,o,b))t.updateValue(o,c),o++,a++;else if(i.has(b))r.set(h,t.detach(o)),a--;else{let _=t.create(o,e[o]);t.attach(o,_),o++,a++}}for(;o<=s;)BP(t,r,n,o,e[o]),o++}else if(e!=null){let s=e[Symbol.iterator](),l=s.next();for(;!l.done&&o<=a;){let c=t.at(o),d=l.value,u=PS(o,c,o,d,n);if(u!==0)u<0&&t.updateValue(o,d),o++,l=s.next();else{r??=new vw,i??=VP(t,o,a,n);let f=n(o,d);if(b2(t,r,o,f))t.updateValue(o,d),o++,a++,l=s.next();else if(!i.has(f))t.attach(o,t.create(o,d)),o++,a++,l=s.next();else{let p=n(o,c);r.set(p,t.detach(o)),a--}}}for(;!l.done;)BP(t,r,n,t.length,l.value),l=s.next()}for(;o<=a;)t.destroy(t.detach(a--));r?.forEach(s=>{t.destroy(s)})}function b2(t,e,n,r){return e!==void 0&&e.has(r)?(t.attach(n,e.get(r)),e.delete(r),!0):!1}function BP(t,e,n,r,i){if(b2(t,e,r,n(r,i)))t.updateValue(r,i);else{let o=t.create(r,i);t.attach(r,o)}}function VP(t,e,n,r){let i=new Set;for(let o=e;o<=n;o++)i.add(r(o,t.at(o)));return i}var vw=class{constructor(){this.map=new Map}has(e){let n=this.map.get(e);return n!==void 0&&n.length>0}delete(e){let n=this.map.get(e);return n!==void 0?(n.shift(),!0):!1}get(e){let n=this.map.get(e);return n!==void 0&&n.length>0?n[0]:void 0}set(e,n){if(!this.map.has(e)){this.map.set(e,[n]);return}this.map.get(e)?.push(n)}forEach(e){for(let[n,r]of this.map)for(let i of r)e(i,n)}};function Gw(t,e,n,r){let i=e.tView,a=t[lt]&4096?4096:16,s=qw(t,i,n,a,null,e,null,null,null,r?.injector??null,r?.dehydratedView??null),l=t[e.index];s[sg]=l;let c=t[za];return c!==null&&(s[za]=c.createEmbeddedView(i)),mE(i,s,n),s}function tN(t,e){let n=Hr+e;if(n{let e=class e{};e.__NG_ELEMENT_ID__=Ite;let t=e;return t})();function Ite(){let t=ci();return iN(t,Mt())}var Ote=$n,rN=class extends Ote{constructor(e,n,r){super(),this._lContainer=e,this._hostTNode=n,this._hostLView=r}get element(){return fp(this._hostTNode,this._hostLView)}get injector(){return new hd(this._hostTNode,this._hostLView)}get parentInjector(){let e=q2(this._hostTNode,this._hostLView);if(PF(e)){let n=cw(e,this._hostLView),r=lw(e),i=n[mt].data[r+8];return new hd(i,n)}else return new hd(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let n=UP(this._lContainer);return n!==null&&n[e]||null}get length(){return this._lContainer.length-Hr}createEmbeddedView(e,n,r){let i,o;typeof r=="number"?i=r:r!=null&&(i=r.index,o=r.injector);let a=rg(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(n||{},o,a);return this.insertImpl(s,i,ig(this._hostTNode,a)),s}createComponent(e,n,r,i,o){let a=e&&!BQ(e),s;if(a)s=n;else{let h=n||{};s=h.index,r=h.injector,i=h.projectableNodes,o=h.environmentInjector||h.ngModuleRef}let l=a?e:new tg(md(e)),c=r||this.parentInjector;if(!o&&l.ngModule==null){let g=(a?c:this.parentInjector).get(Ai,null);g&&(o=g)}let d=md(l.componentType??{}),u=rg(this._lContainer,d?.id??null),f=u?.firstChild??null,p=l.create(c,i,f,o);return this.insertImpl(p.hostView,s,ig(this._hostTNode,u)),p}insert(e,n){return this.insertImpl(e,n,!0)}insertImpl(e,n,r){let i=e._lView;if(oQ(i)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let l=i[Xn],c=new rN(l,l[Ji],l[Xn]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(n),a=this._lContainer;return Yw(a,i,o,r),e.attachToViewContainerRef(),HF(FS(a),o,e),e}move(e,n){return this.insert(e,n)}indexOf(e){let n=UP(this._lContainer);return n!==null?n.indexOf(e):-1}remove(e){let n=this._adjustIndex(e,-1),r=eg(this._lContainer,n);r&&(uw(FS(this._lContainer),n),Vw(r[mt],r))}detach(e){let n=this._adjustIndex(e,-1),r=eg(this._lContainer,n);return r&&uw(FS(this._lContainer),n)!=null?new kd(r):null}_adjustIndex(e,n=0){return e??this.length+n}};function UP(t){return t[sw]}function FS(t){return t[sw]||(t[sw]=[])}function iN(t,e){let n,r=e[t.index];return sa(r)?n=r:(n=M7(r,e,null,t),e[t.index]=n,Ww(e,n)),Fte(n,e,t,r),new rN(n,t,e)}function Pte(t,e){let n=t[An],r=n.createComment(""),i=So(e,t),o=J2(n,i);return pw(n,o,r,SJ(n,i),!1),r}var Fte=jte,Nte=(t,e,n)=>!1;function Rte(t,e,n){return Nte(t,e,n)}function jte(t,e,n,r){if(t[yd])return;let i;n.type&8?i=Ba(r):i=Pte(e,n),t[yd]=i}function zte(t,e,n,r,i,o,a,s,l){let c=e.consts,d=pp(e,t,4,a||null,op(c,s));uE(e,n,d,op(c,l)),Nw(e,d);let u=d.tView=cE(2,d,r,i,o,e.directiveRegistry,e.pipeRegistry,null,e.schemas,c,null);return e.queries!==null&&(e.queries.template(e,d),u.queries=e.queries.embeddedTView(d)),d}function ct(t,e,n,r,i,o,a,s){let l=Mt(),c=Jn(),d=t+Ti,u=c.firstCreatePass?zte(d,c,l,e,n,r,i,o,a):c.data[d];Cd(u,!1);let f=Lte(c,l,u,t);Pw()&&Uw(c,l,f,u),Hl(f,l);let p=M7(f,l,f,u);return l[d]=p,Ww(l,p),Rte(p,u,l),Aw(u)&&sE(c,l,u),a!=null&&lE(l,u,s),ct}var Lte=Bte;function Bte(t,e,n,r){return Fw(!0),e[An].createComment("")}function Ht(t,e,n){pg("NgControlFlow");let r=Mt(),i=dp(),o=k2(r,Ti+t),a=0;if(la(r,i,e)){let s=Ir(null);try{if(nN(o,a),e!==-1){let l=x2(r[mt],Ti+e),c=rg(o,l.tView.ssrId),d=Gw(r,l,n,{dehydratedView:c});Yw(o,d,a,ig(l,c))}}finally{Ir(s)}}else{let s=tN(o,a);s!==void 0&&(s[Or]=n)}}var _2=class{constructor(e,n,r){this.lContainer=e,this.$implicit=n,this.$index=r}get $count(){return this.lContainer.length-Hr}};function Kw(t){return t}function Mo(t,e){return e}var w2=class{constructor(e,n,r){this.hasEmptyBlock=e,this.trackByFn=n,this.liveCollection=r}};function $r(t,e,n,r,i,o,a,s,l,c,d){pg("NgControlFlow");let u=l!==void 0,f=Mt(),p=s?a.bind(f[Co][Or]):a,h=new w2(u,p);f[Ti+t]=h,ct(t+1,e,n,r,i,o),u&&ct(t+2,l,c,d)}var v2=class extends y2{constructor(e,n,r){super(),this.lContainer=e,this.hostLView=n,this.templateTNode=r,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Hr}at(e){return this.getLView(e)[Or].$implicit}attach(e,n){let r=n[Jf];this.needsIndexUpdate||=e!==this.length,Yw(this.lContainer,n,e,ig(this.templateTNode,r))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,Vte(this.lContainer,e)}create(e,n){let r=rg(this.lContainer,this.templateTNode.tView.ssrId);return Gw(this.hostLView,this.templateTNode,new _2(this.lContainer,n,e),{dehydratedView:r})}destroy(e){Vw(e[mt],e)}updateValue(e,n){this.getLView(e)[Or].$implicit=n}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e(Fw(!0),a7(r,i,CQ()));function qte(t,e,n,r,i){let o=e.consts,a=op(o,r),s=pp(e,t,8,"ng-container",a);a!==null&&bw(s,a,!0);let l=op(o,i);return uE(e,n,s,l),e.queries!==null&&e.queries.elementStart(e,s),s}function yE(t,e,n){let r=Mt(),i=Jn(),o=t+Ti,a=i.firstCreatePass?qte(o,i,r,e,n):i.data[o];Cd(a,!0);let s=Wte(i,r,a,t);return r[o]=s,Pw()&&Uw(i,r,s,a),Hl(s,r),Aw(a)&&(sE(i,r,a),aE(i,a,r)),n!=null&&lE(r,a),yE}function bE(){let t=ci(),e=Jn();return z2()?L2():(t=t.parent,Cd(t,!1)),e.firstCreatePass&&(Nw(e,t),N2(t)&&e.queries.elementEnd(t)),bE}var Wte=(t,e,n,r)=>(Fw(!0),mJ(e[An],""));function lr(){return Mt()}function zs(t,e,n){let r=Mt(),i=dp();if(la(r,i,e)){let o=Jn(),a=Ow();dE(o,a,r,t,e,r[An],n,!0)}return zs}var kw="en-US";var Gte=kw;function Yte(t){CX(t,"Expected localeId to be defined"),typeof t=="string"&&(Gte=t.toLowerCase().replace(/_/g,"-"))}function Ed(t){return!!t&&typeof t.then=="function"}function oN(t){return!!t&&typeof t.subscribe=="function"}function Ce(t,e,n,r){let i=Mt(),o=Jn(),a=ci();return Zte(o,i,i[An],a,t,e,r),Ce}function Kte(t,e,n,r){let i=t.cleanup;if(i!=null)for(let o=0;ol?s[l]:null}typeof a=="string"&&(o+=2)}return null}function Zte(t,e,n,r,i,o,a){let s=Aw(r),c=t.firstCreatePass&&I7(t),d=e[Or],u=A7(e),f=!0;if(r.type&3||a){let g=So(r,e),b=a?a(g):g,_=u.length,x=a?v=>a(Ba(v[r.index])):r.index,E=null;if(!a&&s&&(E=Kte(t,e,i,r.index)),E!==null){let v=E.__ngLastListenerFn__||E;v.__ngNextListenerFn__=o,E.__ngLastListenerFn__=o,f=!1}else{o=$P(r,e,d,o,!1);let v=n.listen(b,i,o);u.push(o,v),c&&c.push(i,x,_,_+1)}}else o=$P(r,e,d,o,!1);let p=r.outputs,h;if(f&&p!==null&&(h=p[i])){let g=h.length;if(g)for(let b=0;b-1?Gl(t.index,e):e;pE(s);let l=HP(e,n,r,a),c=o.__ngNextListenerFn__;for(;c;)l=HP(e,n,c,a)&&l,c=c.__ngNextListenerFn__;return i&&l===!1&&a.preventDefault(),l}}function ze(t=1){return xQ(t)}function Xte(t,e){let n=null,r=UX(t);for(let i=0;i(Fw(!0),pJ(e[An],r));function tr(t){return ca("",t,""),tr}function ca(t,e,n){let r=Mt(),i=U7(r,t,e,n);return i!==eo&&P7(r,Ns(),i),ca}function _E(t,e,n,r,i){let o=Mt(),a=ate(o,t,e,n,r,i);return a!==eo&&P7(o,Ns(),a),_E}function Jte(t,e,n){let r=Jn();if(r.firstCreatePass){let i=Ul(t);C2(n,r.data,r.blueprint,i,!0),C2(e,r.data,r.blueprint,i,!1)}}function C2(t,e,n,r,i){if(t=li(t),Array.isArray(t))for(let o=0;o>20;if(ap(t)||!t.multi){let p=new _d(c,i,R),h=RS(l,e,i?d:d+f,u);h===-1?(WS(dw(s,a),o,l),NS(o,t,e.length),e.push(l),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(p),a.push(p)):(n[h]=p,a[h]=p)}else{let p=RS(l,e,d+f,u),h=RS(l,e,d,d+f),g=p>=0&&n[p],b=h>=0&&n[h];if(i&&!b||!i&&!g){WS(dw(s,a),o,l);let _=nne(i?tne:ene,n.length,i,r,c);!i&&b&&(n[h].providerFactory=_),NS(o,t,e.length,0),e.push(l),s.directiveStart++,s.directiveEnd++,i&&(s.providerIndexes+=1048576),n.push(_),a.push(_)}else{let _=sN(n[i?h:p],c,!i&&r);NS(o,t,p>-1?p:h,_)}!i&&r&&b&&n[h].componentProviders++}}}function NS(t,e,n,r){let i=ap(e),o=KQ(e);if(i||o){let l=(o?li(e.useClass):e).prototype.ngOnDestroy;if(l){let c=t.destroyHooks||(t.destroyHooks=[]);if(!i&&e.multi){let d=c.indexOf(n);d===-1?c.push(n,[r,l]):c[d+1].push(r,l)}else c.push(n,l)}}}function sN(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function RS(t,e,n,r){for(let i=n;i{n.providersResolver=(r,i)=>Jte(r,i?i(t):t,e)}}var ql=class{},og=class{};var S2=class extends ql{constructor(e,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new _w(this);let i=lF(e);this._bootstrapComponents=e7(i.bootstrap),this._r3Injector=XF(e,n,[{provide:ql,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver},...r],Ur(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},E2=class extends og{constructor(e){super(),this.moduleType=e}create(e){return new S2(this.moduleType,e,[])}};var xw=class extends ql{constructor(e){super(),this.componentFactoryResolver=new _w(this),this.instance=null;let n=new Jm([...e.providers,{provide:ql,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver}],e.parent||K2(),e.debugName,new Set(["environment"]));this.injector=n,e.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function wE(t,e,n=null){return new xw({providers:t,parent:e,debugName:n,runEnvironmentInitializers:!0}).injector}var rne=(()=>{let e=class e{constructor(r){this._injector=r,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(r){if(!r.standalone)return null;if(!this.cachedInjectors.has(r)){let i=GF(!1,r.type),o=i.length>0?wE([i],this._injector,`Standalone[${r.type.name}]`):null;this.cachedInjectors.set(r,o)}return this.cachedInjectors.get(r)}ngOnDestroy(){try{for(let r of this.cachedInjectors.values())r!==null&&r.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=ee({token:e,providedIn:"environment",factory:()=>new e(B(Ai))});let t=e;return t})();function Oe(t){pg("NgStandalone"),t.getStandaloneInjector=e=>e.get(rne).getOrCreateStandaloneInjector(t)}function xr(t,e,n){let r=B2()+t,i=Mt();return i[r]===eo?gE(i,r,n?e.call(n):e()):ote(i,r)}function hp(t,e,n,r){return ine(Mt(),B2(),t,e,n,r)}function lN(t,e,n,r,i){return one(Mt(),B2(),t,e,n,r,i)}function cN(t,e){let n=t[e];return n===eo?void 0:n}function ine(t,e,n,r,i,o){let a=e+n;return la(t,a,i)?gE(t,a+1,o?r.call(o,i):r(i)):cN(t,a+1)}function one(t,e,n,r,i,o,a){let s=e+n;return V7(t,s,i,o)?gE(t,s+2,a?r.call(a,i,o):r(i,o)):cN(t,s+2)}function ane(){return this._results[Symbol.iterator]()}var Wl=class t{get changes(){return this._changes||(this._changes=new Qe)}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;let n=t.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=ane)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,n){return this._results.reduce(e,n)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,n){this.dirty=!1;let r=UQ(e);(this._changesDetected=!VQ(this._results,r,n))&&(this._results=r,this.length=r.length,this.last=r[this.length-1],this.first=r[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}},vn=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=cne;let t=e;return t})(),sne=vn,lne=class extends sne{constructor(e,n,r){super(),this._declarationLView=e,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(e,n){return this.createEmbeddedViewImpl(e,n)}createEmbeddedViewImpl(e,n,r){let i=Gw(this._declarationLView,this._declarationTContainer,e,{injector:n,dehydratedView:r});return new kd(i)}};function cne(){return Zw(ci(),Mt())}function Zw(t,e){return t.type&4?new lne(e,t,fp(t,e)):null}var M2=class t{constructor(e){this.queryList=e,this.matches=null}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},T2=class t{constructor(e=[]){this.queries=e}createEmbeddedView(e){let n=e.queries;if(n!==null){let r=e.contentQueries!==null?e.contentQueries[0]:n.length,i=[];for(let o=0;o0)r.push(a[s/2]);else{let c=o[s+1],d=e[-l];for(let u=Hr;u{let e=class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i}),this.appInits=se(hN,{optional:!0})??[]}runInitializers(){if(this.initialized)return;let r=[];for(let o of this.appInits){let a=o();if(Ed(a))r.push(a);else if(oN(a)){let s=new Promise((l,c)=>{a.subscribe({complete:l,error:c})});r.push(s)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(r).then(()=>{i()}).catch(o=>{this.reject(o)}),r.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qw=(()=>{let e=class e{log(r){console.log(r)}warn(r){console.warn(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"platform"});let t=e;return t})();function gne(){return typeof $localize<"u"&&$localize.locale||kw}var Jw=new de("LocaleId",{providedIn:"root",factory:()=>se(Jw,Tt.Optional|Tt.SkipSelf)||gne()});var mp=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Zn(!1)}add(){this.hasPendingTasks.next(!0);let r=this.taskId++;return this.pendingTasks.add(r),r}remove(r){this.pendingTasks.delete(r),this.pendingTasks.size===0&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),P2=class{constructor(e,n){this.ngModuleFactory=e,this.componentFactories=n}},vE=(()=>{let e=class e{compileModuleSync(r){return new E2(r)}compileModuleAsync(r){return Promise.resolve(this.compileModuleSync(r))}compileModuleAndAllComponentsSync(r){let i=this.compileModuleSync(r),o=lF(r),a=e7(o.declarations).reduce((s,l)=>{let c=md(l);return c&&s.push(new tg(c)),s},[]);return new P2(i,a)}compileModuleAndAllComponentsAsync(r){return Promise.resolve(this.compileModuleAndAllComponentsSync(r))}clearCache(){}clearCacheFor(r){}getModuleId(r){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var gN=new de("");var iw=null;var yN=new de("PlatformDestroyListeners"),ev=new de("appBootstrapListener");function yne(){O5(()=>{throw new le(600,!1)})}function bne(t){return t.isBoundToModule}function _ne(t=[]){if(iw)return iw;let e=vne(t);return iw=e,yne(),wne(e),e}function wne(t){t.get(Z2,null)?.forEach(n=>n())}function bN(t){try{let{rootComponent:e,appProviders:n,platformProviders:r}=t,i=_ne(r),o=[Ene(),...n||[]],s=new xw({providers:o,parent:i,debugName:"",runEnvironmentInitializers:!1}).injector,l=s.get(De);return l.run(()=>{s.resolveInjectorInitializers();let c=s.get(Ps,null),d;l.runOutsideAngular(()=>{d=l.onError.subscribe({next:p=>{c.handleError(p)}})});let u=()=>s.destroy(),f=i.get(yN);return f.add(u),s.onDestroy(()=>{d.unsubscribe(),f.delete(u)}),xne(c,l,()=>{let p=s.get(mN);return p.runInitializers(),p.donePromise.then(()=>{let h=s.get(Jw,kw);Yte(h||kw);let g=s.get(Ha);return e!==void 0&&g.bootstrap(e),g})})})}catch(e){return Promise.reject(e)}}function vne(t=[],e){return er.create({name:e,providers:[{provide:zw,useValue:"platform"},{provide:yN,useValue:new Set([()=>iw=null])},...t]})}function kne(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}function xne(t,e,n){try{let r=n();return Ed(r)?r.catch(i=>{throw e.runOutsideAngular(()=>t.handleError(i)),i}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}var Ha=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=se(_N),this.zoneIsStable=se(L7),this.componentTypes=[],this.components=[],this.isStable=se(mp).hasPendingTasks.pipe(kr(r=>r?Ve(!1):this.zoneIsStable),zl(),Wf()),this._injector=se(Ai)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(r,i){let o=r instanceof mw;if(!this._injector.get(mN).done){let h="Cannot bootstrap as there are still asynchronous initializers running."+(!o&&sF(r)?"":" Bootstrap components in the `ngDoBootstrap` method of the root module.");throw new le(405,!1)}let s;o?s=r:s=this._injector.get(Ua).resolveComponentFactory(r),this.componentTypes.push(s.componentType);let l=bne(s)?void 0:this._injector.get(ql),c=i||s.selector,d=s.create(er.NULL,[],c,l),u=d.location.nativeElement,f=d.injector.get(gN,null);return f?.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),jS(this.components,d),f?.unregisterApplication(u)}),this._loadComponent(d),d}tick(){if(this._runningTick)throw new le(101,!1);try{this._runningTick=!0;for(let r of this._views)r.detectChanges()}catch(r){this.internalErrorHandler(r)}finally{this._runningTick=!1}}attachView(r){let i=r;this._views.push(i),i.attachToAppRef(this)}detachView(r){let i=r;jS(this._views,i),i.detachFromAppRef()}_loadComponent(r){this.attachView(r.hostView),this.tick(),this.components.push(r);let i=this._injector.get(ev,[]);[...this._bootstrapListeners,...i].forEach(o=>o(r))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(r=>r()),this._views.slice().forEach(r=>r.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(r){return this._destroyListeners.push(r),()=>jS(this._destroyListeners,r)}destroy(){if(this._destroyed)throw new le(406,!1);let r=this._injector;r.destroy&&!r.destroyed&&r.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function jS(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var _N=new de("",{providedIn:"root",factory:()=>se(Ps).handleError.bind(void 0)});function Cne(){let t=se(De),e=se(Ps);return n=>t.runOutsideAngular(()=>e.handleError(n))}var Dne=(()=>{let e=class e{constructor(){this.zone=se(De),this.applicationRef=se(Ha)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Sne(t){return[{provide:De,useFactory:t},{provide:dg,multi:!0,useFactory:()=>{let e=se(Dne,{optional:!0});return()=>e.initialize()}},{provide:_N,useFactory:Cne},{provide:L7,useFactory:B7}]}function Ene(t){let e=Sne(()=>new De(kne(t)));return up([[],e])}function ui(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}var xE=null;function Vs(){return xE}function CN(t){xE||(xE=t)}var tv=class{},rt=new de("DocumentToken"),DE=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>se(Tne))(),providedIn:"platform"});let t=e;return t})();var Tne=(()=>{let e=class e extends DE{constructor(){super(),this._doc=se(rt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Vs().getBaseHref(this._doc)}onPopState(r){let i=Vs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",r,!1),()=>i.removeEventListener("popstate",r)}onHashChange(r){let i=Vs().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",r,!1),()=>i.removeEventListener("hashchange",r)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(r){this._location.pathname=r}pushState(r,i,o){this._history.pushState(r,i,o)}replaceState(r,i,o){this._history.replaceState(r,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(r=0){this._history.go(r)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>new e)(),providedIn:"platform"});let t=e;return t})();function SE(t,e){if(t.length==0)return e;if(e.length==0)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,n==2?t+e.substring(1):n==1?t+e:t+"/"+e}function wN(t){let e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-(t[n-1]==="/"?1:0);return t.slice(0,r)+t.slice(n)}function Bs(t){return t&&t[0]!=="?"?"?"+t:t}var Kl=(()=>{let e=class e{historyGo(r){throw new Error("Not implemented")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>se(SN))(),providedIn:"root"});let t=e;return t})(),DN=new de("appBaseHref"),SN=(()=>{let e=class e extends Kl{constructor(r,i){super(),this._platformLocation=r,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??se(rt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}prepareExternalUrl(r){return SE(this._baseHref,r)}path(r=!1){let i=this._platformLocation.pathname+Bs(this._platformLocation.search),o=this._platformLocation.hash;return o&&r?`${i}${o}`:i}pushState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));this._platformLocation.pushState(r,i,s)}replaceState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));this._platformLocation.replaceState(r,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(B(DE),B(DN,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),EN=(()=>{let e=class e extends Kl{constructor(r,i){super(),this._platformLocation=r,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(r){this._removeListenerFns.push(this._platformLocation.onPopState(r),this._platformLocation.onHashChange(r))}getBaseHref(){return this._baseHref}path(r=!1){let i=this._platformLocation.hash;return i==null&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(r){let i=SE(this._baseHref,r);return i.length>0?"#"+i:i}pushState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.pushState(r,i,s)}replaceState(r,i,o,a){let s=this.prepareExternalUrl(o+Bs(a));s.length==0&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(r,i,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(r=0){this._platformLocation.historyGo?.(r)}};e.\u0275fac=function(i){return new(i||e)(B(DE),B(DN,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),Us=(()=>{let e=class e{constructor(r){this._subject=new Qe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=r;let i=this._locationStrategy.getBaseHref();this._basePath=One(wN(vN(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(r=!1){return this.normalize(this._locationStrategy.path(r))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(r,i=""){return this.path()==this.normalize(r+Bs(i))}normalize(r){return e.stripTrailingSlash(Ine(this._basePath,vN(r)))}prepareExternalUrl(r){return r&&r[0]!=="/"&&(r="/"+r),this._locationStrategy.prepareExternalUrl(r)}go(r,i="",o=null){this._locationStrategy.pushState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Bs(i)),o)}replaceState(r,i="",o=null){this._locationStrategy.replaceState(o,"",r,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(r+Bs(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(r=0){this._locationStrategy.historyGo?.(r)}onUrlChange(r){return this._urlChangeListeners.push(r),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)})),()=>{let i=this._urlChangeListeners.indexOf(r);this._urlChangeListeners.splice(i,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(r="",i){this._urlChangeListeners.forEach(o=>o(r,i))}subscribe(r,i,o){return this._subject.subscribe({next:r,error:i,complete:o})}};e.normalizeQueryParams=Bs,e.joinWithSlash=SE,e.stripTrailingSlash=wN,e.\u0275fac=function(i){return new(i||e)(B(Kl))},e.\u0275prov=ee({token:e,factory:()=>Ane(),providedIn:"root"});let t=e;return t})();function Ane(){return new Us(B(Kl))}function Ine(t,e){if(!t||!e.startsWith(t))return e;let n=e.substring(t.length);return n===""||["/",";","?","#"].includes(n[0])?n:e}function vN(t){return t.replace(/\/index.html$/,"")}function One(t){if(new RegExp("^(https?:)?//").test(t)){let[,n]=t.split(/\/\/[^\/]+/);return n}return t}function nv(t,e){e=encodeURIComponent(e);for(let n of t.split(";")){let r=n.indexOf("="),[i,o]=r==-1?[n,""]:[n.slice(0,r),n.slice(r+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var kE=/\s+/,kN=[],MN=(()=>{let e=class e{constructor(r,i,o,a){this._iterableDiffers=r,this._keyValueDiffers=i,this._ngEl=o,this._renderer=a,this.initialClasses=kN,this.stateMap=new Map}set klass(r){this.initialClasses=r!=null?r.trim().split(kE):kN}set ngClass(r){this.rawClass=typeof r=="string"?r.trim().split(kE):r}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let r=this.rawClass;if(Array.isArray(r)||r instanceof Set)for(let i of r)this._updateState(i,!0);else if(r!=null)for(let i of Object.keys(r))this._updateState(i,!!r[i]);this._applyStateDiff()}_updateState(r,i){let o=this.stateMap.get(r);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(r,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let r of this.stateMap){let i=r[0],o=r[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(r,i){r=r.trim(),r.length>0&&r.split(kE).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(R($w),R(iE),R(Me),R(Yl))},e.\u0275dir=ke({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});let t=e;return t})();var TN=(()=>{let e=class e{constructor(r,i){this._viewContainer=r,this._context=new CE,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(r){this._context.$implicit=this._context.ngIf=r,this._updateView()}set ngIfThen(r){xN("ngIfThen",r),this._thenTemplateRef=r,this._thenViewRef=null,this._updateView()}set ngIfElse(r){xN("ngIfElse",r),this._elseTemplateRef=r,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(r,i){return!0}};e.\u0275fac=function(i){return new(i||e)(R($n),R(vn))},e.\u0275dir=ke({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let t=e;return t})(),CE=class{constructor(){this.$implicit=null,this.ngIf=null}};function xN(t,e){if(!!!(!e||e.createEmbeddedView))throw new Error(`${t} must be a TemplateRef, but received '${Ur(e)}'.`)}var AN=(()=>{let e=class e{constructor(r){this._viewContainerRef=r,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(r){if(this._shouldRecreateView(r)){let i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let o=this._createContextForwardProxy();this._viewRef=i.createEmbeddedView(this.ngTemplateOutlet,o,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(r){return!!r.ngTemplateOutlet||!!r.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(r,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(r,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(R($n))},e.\u0275dir=ke({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Qn]});let t=e;return t})();var to=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({});let t=e;return t})(),EE="browser",Pne="server";function IN(t){return t===EE}function ME(t){return t===Pne}var gp=class{};var gg=class{},iv=class{},Td=class t{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` +`).forEach(n=>{let r=n.indexOf(":");if(r>0){let i=n.slice(0,r),o=i.toLowerCase(),a=n.slice(r+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(a):this.headers.set(o,[a])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let n=this.headers.get(e.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,n){return this.clone({name:e,value:n,op:"a"})}set(e,n){return this.clone({name:e,value:n,op:"s"})}delete(e,n){return this.clone({name:e,value:n,op:"d"})}maybeSetNormalizedName(e,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,e)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(n=>{this.headers.set(n,e.headers.get(n)),this.normalizedNames.set(n,e.normalizedNames.get(n))})}clone(e){let n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}applyUpdate(e){let n=e.name.toLowerCase();switch(e.op){case"a":case"s":let r=e.value;if(typeof r=="string"&&(r=[r]),r.length===0)return;this.maybeSetNormalizedName(e.name,n);let i=(e.op==="a"?this.headers.get(n):void 0)||[];i.push(...r),this.headers.set(n,i);break;case"d":let o=e.value;if(!o)this.headers.delete(n),this.normalizedNames.delete(n);else{let a=this.headers.get(n);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,a)}break}}setHeaderEntries(e,n){let r=(Array.isArray(n)?n:[n]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,r),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>e(this.normalizedNames.get(n),this.headers.get(n)))}};var AE=class{encodeKey(e){return ON(e)}encodeValue(e){return ON(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function Rne(t,e){let n=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[a,s]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=n.get(a)||[];l.push(s),n.set(a,l)}),n}var jne=/%(\d[a-f0-9])/gi,zne={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ON(t){return encodeURIComponent(t).replace(jne,(e,n)=>zne[n]??e)}function rv(t){return`${t}`}var Zl=class t{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new AE,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Rne(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(n=>{let r=e.fromObject[n],i=Array.isArray(r)?r.map(rv):[rv(r)];this.map.set(n,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let n=this.map.get(e);return n?n[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,n){return this.clone({param:e,value:n,op:"a"})}appendAll(e){let n=[];return Object.keys(e).forEach(r=>{let i=e[r];Array.isArray(i)?i.forEach(o=>{n.push({param:r,value:o,op:"a"})}):n.push({param:r,value:i,op:"a"})}),this.clone(n)}set(e,n){return this.clone({param:e,value:n,op:"s"})}delete(e,n){return this.clone({param:e,value:n,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let n=this.encoder.encodeKey(e);return this.map.get(e).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(e),n}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let n=(e.op==="a"?this.map.get(e.param):void 0)||[];n.push(rv(e.value)),this.map.set(e.param,n);break;case"d":if(e.value!==void 0){let r=this.map.get(e.param)||[],i=r.indexOf(rv(e.value));i!==-1&&r.splice(i,1),r.length>0?this.map.set(e.param,r):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var IE=class{constructor(){this.map=new Map}set(e,n){return this.map.set(e,n),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function Lne(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function PN(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function FN(t){return typeof Blob<"u"&&t instanceof Blob}function NN(t){return typeof FormData<"u"&&t instanceof FormData}function Bne(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var mg=class t{constructor(e,n,r,i){this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(Lne(this.method)||i?(this.body=r!==void 0?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers||(this.headers=new Td),this.context||(this.context=new IE),!this.params)this.params=new Zl,this.urlWithParams=n;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=n;else{let s=n.indexOf("?"),l=s===-1?"?":su.set(f,e.setHeaders[f]),l)),e.setParams&&(c=Object.keys(e.setParams).reduce((u,f)=>u.set(f,e.setParams[f]),c)),new t(n,r,o,{params:c,headers:l,context:d,reportProgress:s,responseType:i,withCredentials:a})}},yp=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}(yp||{}),yg=class{constructor(e,n=200,r="OK"){this.headers=e.headers||new Td,this.status=e.status!==void 0?e.status:n,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},OE=class t extends yg{constructor(e={}){super(e),this.type=yp.ResponseHeader}clone(e={}){return new t({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},ov=class t extends yg{constructor(e={}){super(e),this.type=yp.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new t({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},av=class extends yg{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}};function TE(t,e){return{body:e,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var bg=(()=>{let e=class e{constructor(r){this.handler=r}request(r,i,o={}){let a;if(r instanceof mg)a=r;else{let c;o.headers instanceof Td?c=o.headers:c=new Td(o.headers);let d;o.params&&(o.params instanceof Zl?d=o.params:d=new Zl({fromObject:o.params})),a=new mg(r,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let s=Ve(a).pipe(Rl(c=>this.handler.handle(c)));if(r instanceof mg||o.observe==="events")return s;let l=s.pipe(Kt(c=>c instanceof ov));switch(o.observe||"body"){case"body":switch(a.responseType){case"arraybuffer":return l.pipe(dt(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(dt(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(dt(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(dt(c=>c.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(r,i={}){return this.request("DELETE",r,i)}get(r,i={}){return this.request("GET",r,i)}head(r,i={}){return this.request("HEAD",r,i)}jsonp(r,i){return this.request("JSONP",r,{params:new Zl().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(r,i={}){return this.request("OPTIONS",r,i)}patch(r,i,o={}){return this.request("PATCH",r,TE(o,i))}post(r,i,o={}){return this.request("POST",r,TE(o,i))}put(r,i,o={}){return this.request("PUT",r,TE(o,i))}};e.\u0275fac=function(i){return new(i||e)(B(gg))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();function LN(t,e){return e(t)}function Vne(t,e){return(n,r)=>e.intercept(n,{handle:i=>t(i,r)})}function Une(t,e,n){return(r,i)=>Rs(n,()=>e(r,o=>t(o,i)))}var Hne=new de(""),PE=new de(""),$ne=new de(""),qne=new de("");function Wne(){let t=null;return(e,n)=>{t===null&&(t=(se(Hne,{optional:!0})??[]).reduceRight(Vne,LN));let r=se(mp),i=r.add();return t(e,n).pipe(Ll(()=>r.remove(i)))}}var RN=(()=>{let e=class e extends gg{constructor(r,i){super(),this.backend=r,this.injector=i,this.chain=null,this.pendingTasks=se(mp);let o=se(qne,{optional:!0});this.backend=o??r}handle(r){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(PE),...this.injector.get($ne,[])]));this.chain=o.reduceRight((a,s)=>Une(a,s,this.injector),LN)}let i=this.pendingTasks.add();return this.chain(r,o=>this.backend.handle(o)).pipe(Ll(()=>this.pendingTasks.remove(i)))}};e.\u0275fac=function(i){return new(i||e)(B(iv),B(Ai))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();var Gne=/^\)\]\}',?\n/;function Yne(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}var jN=(()=>{let e=class e{constructor(r){this.xhrFactory=r}handle(r){if(r.method==="JSONP")throw new le(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?wn(i.\u0275loadImpl()):Ve(null)).pipe(kr(()=>new Ze(a=>{let s=i.build();if(s.open(r.method,r.urlWithParams),r.withCredentials&&(s.withCredentials=!0),r.headers.forEach((b,_)=>s.setRequestHeader(b,_.join(","))),r.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!r.headers.has("Content-Type")){let b=r.detectContentTypeHeader();b!==null&&s.setRequestHeader("Content-Type",b)}if(r.responseType){let b=r.responseType.toLowerCase();s.responseType=b!=="json"?b:"text"}let l=r.serializeBody(),c=null,d=()=>{if(c!==null)return c;let b=s.statusText||"OK",_=new Td(s.getAllResponseHeaders()),x=Yne(s)||r.url;return c=new OE({headers:_,status:s.status,statusText:b,url:x}),c},u=()=>{let{headers:b,status:_,statusText:x,url:E}=d(),v=null;_!==204&&(v=typeof s.response>"u"?s.responseText:s.response),_===0&&(_=v?200:0);let j=_>=200&&_<300;if(r.responseType==="json"&&typeof v=="string"){let C=v;v=v.replace(Gne,"");try{v=v!==""?JSON.parse(v):null}catch(P){v=C,j&&(j=!1,v={error:P,text:v})}}j?(a.next(new ov({body:v,headers:b,status:_,statusText:x,url:E||void 0})),a.complete()):a.error(new av({error:v,headers:b,status:_,statusText:x,url:E||void 0}))},f=b=>{let{url:_}=d(),x=new av({error:b,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});a.error(x)},p=!1,h=b=>{p||(a.next(d()),p=!0);let _={type:yp.DownloadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),r.responseType==="text"&&s.responseText&&(_.partialText=s.responseText),a.next(_)},g=b=>{let _={type:yp.UploadProgress,loaded:b.loaded};b.lengthComputable&&(_.total=b.total),a.next(_)};return s.addEventListener("load",u),s.addEventListener("error",f),s.addEventListener("timeout",f),s.addEventListener("abort",f),r.reportProgress&&(s.addEventListener("progress",h),l!==null&&s.upload&&s.upload.addEventListener("progress",g)),s.send(l),a.next({type:yp.Sent}),()=>{s.removeEventListener("error",f),s.removeEventListener("abort",f),s.removeEventListener("load",u),s.removeEventListener("timeout",f),r.reportProgress&&(s.removeEventListener("progress",h),l!==null&&s.upload&&s.upload.removeEventListener("progress",g)),s.readyState!==s.DONE&&s.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(B(gp))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),BN=new de("XSRF_ENABLED"),Kne="XSRF-TOKEN",Zne=new de("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Kne}),Xne="X-XSRF-TOKEN",Qne=new de("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>Xne}),sv=class{},Jne=(()=>{let e=class e{constructor(r,i,o){this.doc=r,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let r=this.doc.cookie||"";return r!==this.lastCookieString&&(this.parseCount++,this.lastToken=nv(r,this.cookieName),this.lastCookieString=r),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(B(rt),B(Va),B(Zne))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();function ere(t,e){let n=t.url.toLowerCase();if(!se(BN)||t.method==="GET"||t.method==="HEAD"||n.startsWith("http://")||n.startsWith("https://"))return e(t);let r=se(sv).getToken(),i=se(Qne);return r!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,r)})),e(t)}var VN=function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t}(VN||{});function tre(t,e){return{\u0275kind:t,\u0275providers:e}}function nre(...t){let e=[bg,jN,RN,{provide:gg,useExisting:RN},{provide:iv,useExisting:jN},{provide:PE,useValue:ere,multi:!0},{provide:BN,useValue:!0},{provide:sv,useClass:Jne}];for(let n of t)e.push(...n.\u0275providers);return up(e)}var zN=new de("LEGACY_INTERCEPTOR_FN");function rre(){return tre(VN.LegacyInterceptors,[{provide:zN,useFactory:Wne},{provide:PE,useExisting:zN,multi:!0}])}var lv=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({providers:[nre(rre())]});let t=e;return t})();var RE=class extends tv{constructor(){super(...arguments),this.supportsDOMEvents=!0}},jE=class t extends RE{static makeCurrent(){CN(new t)}onAndCancel(e,n,r){return e.addEventListener(n,r),()=>{e.removeEventListener(n,r)}}dispatchEvent(e,n){e.dispatchEvent(n)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,n){return n=n||this.getDefaultDocument(),n.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,n){return n==="window"?window:n==="document"?e:n==="body"?e.body:null}getBaseHref(e){let n=ire();return n==null?null:ore(n)}resetBaseElement(){_g=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return nv(document.cookie,e)}},_g=null;function ire(){return _g=_g||document.querySelector("base"),_g?_g.getAttribute("href"):null}function ore(t){return new URL(t,"http://a").pathname}var are=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),zE=new de("EventManagerPlugins"),qN=(()=>{let e=class e{constructor(r,i){this._zone=i,this._eventNameToPlugin=new Map,r.forEach(o=>{o.manager=this}),this._plugins=r.slice().reverse()}addEventListener(r,i,o){return this._findPluginFor(i).addEventListener(r,i,o)}getZone(){return this._zone}_findPluginFor(r){let i=this._eventNameToPlugin.get(r);if(i)return i;if(i=this._plugins.find(a=>a.supports(r)),!i)throw new le(5101,!1);return this._eventNameToPlugin.set(r,i),i}};e.\u0275fac=function(i){return new(i||e)(B(zE),B(De))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),cv=class{constructor(e){this._doc=e}},FE="ng-app-id",WN=(()=>{let e=class e{constructor(r,i,o,a={}){this.doc=r,this.appId=i,this.nonce=o,this.platformId=a,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=ME(a),this.resetHostNodes()}addStyles(r){for(let i of r)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(r){for(let i of r)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let r=this.styleNodesInDOM;r&&(r.forEach(i=>i.remove()),r.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(r){this.hostNodes.add(r);for(let i of this.getAllStyles())this.addStyleToHost(r,i)}removeHost(r){this.hostNodes.delete(r)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(r){for(let i of this.hostNodes)this.addStyleToHost(i,r)}onStyleRemoved(r){let i=this.styleRef;i.get(r)?.elements?.forEach(o=>o.remove()),i.delete(r)}collectServerRenderedStyles(){let r=this.doc.head?.querySelectorAll(`style[${FE}="${this.appId}"]`);if(r?.length){let i=new Map;return r.forEach(o=>{o.textContent!=null&&i.set(o.textContent,o)}),i}return null}changeUsageCount(r,i){let o=this.styleRef;if(o.has(r)){let a=o.get(r);return a.usage+=i,a.usage}return o.set(r,{usage:i,elements:[]}),i}getStyleElement(r,i){let o=this.styleNodesInDOM,a=o?.get(i);if(a?.parentNode===r)return o.delete(i),a.removeAttribute(FE),a;{let s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=i,this.platformIsServer&&s.setAttribute(FE,this.appId),r.appendChild(s),s}}addStyleToHost(r,i){let o=this.getStyleElement(r,i),a=this.styleRef,s=a.get(i)?.elements;s?s.push(o):a.set(i,{elements:[o],usage:1})}resetHostNodes(){let r=this.hostNodes;r.clear(),r.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(B(rt),B(Lw),B(ug,8),B(Va))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),NE={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},BE=/%COMP%/g,GN="%COMP%",sre=`_nghost-${GN}`,lre=`_ngcontent-${GN}`,cre=!0,dre=new de("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>cre});function ure(t){return lre.replace(BE,t)}function fre(t){return sre.replace(BE,t)}function YN(t,e){return e.map(n=>n.replace(BE,t))}var dv=(()=>{let e=class e{constructor(r,i,o,a,s,l,c,d=null){this.eventManager=r,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=a,this.doc=s,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=ME(l),this.defaultRenderer=new wg(r,s,c,this.platformIsServer)}createRenderer(r,i){if(!r||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===La.ShadowDom&&(i=q(D({},i),{encapsulation:La.Emulated}));let o=this.getOrCreateRenderer(r,i);return o instanceof uv?o.applyToHost(r):o instanceof vg&&o.applyStyles(),o}getOrCreateRenderer(r,i){let o=this.rendererByCompId,a=o.get(i.id);if(!a){let s=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case La.Emulated:a=new uv(c,d,i,this.appId,u,s,l,f);break;case La.ShadowDom:return new LE(c,d,r,i,s,l,this.nonce,f);default:a=new vg(c,d,i,u,s,l,f);break}o.set(i.id,a)}return a}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(B(qN),B(WN),B(Lw),B(dre),B(rt),B(Va),B(De),B(ug))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),wg=class{constructor(e,n,r,i){this.eventManager=e,this.doc=n,this.ngZone=r,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,n){return n?this.doc.createElementNS(NE[n]||n,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,n){(HN(e)?e.content:e).appendChild(n)}insertBefore(e,n,r){e&&(HN(e)?e.content:e).insertBefore(n,r)}removeChild(e,n){e&&e.removeChild(n)}selectRootElement(e,n){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new le(-5104,!1);return n||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,n,r,i){if(i){n=i+":"+n;let o=NE[i];o?e.setAttributeNS(o,n,r):e.setAttribute(n,r)}else e.setAttribute(n,r)}removeAttribute(e,n,r){if(r){let i=NE[r];i?e.removeAttributeNS(i,n):e.removeAttribute(`${r}:${n}`)}else e.removeAttribute(n)}addClass(e,n){e.classList.add(n)}removeClass(e,n){e.classList.remove(n)}setStyle(e,n,r,i){i&(Os.DashCase|Os.Important)?e.style.setProperty(n,r,i&Os.Important?"important":""):e.style[n]=r}removeStyle(e,n,r){r&Os.DashCase?e.style.removeProperty(n):e.style[n]=""}setProperty(e,n,r){e!=null&&(e[n]=r)}setValue(e,n){e.nodeValue=n}listen(e,n,r){if(typeof e=="string"&&(e=Vs().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${n}`);return this.eventManager.addEventListener(e,n,this.decoratePreventDefault(r))}decoratePreventDefault(e){return n=>{if(n==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(n)):e(n))===!1&&n.preventDefault()}}};function HN(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var LE=class extends wg{constructor(e,n,r,i,o,a,s,l){super(e,o,a,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=YN(i.id,i.styles);for(let d of c){let u=document.createElement("style");s&&u.setAttribute("nonce",s),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,n){return super.appendChild(this.nodeOrShadowRoot(e),n)}insertBefore(e,n,r){return super.insertBefore(this.nodeOrShadowRoot(e),n,r)}removeChild(e,n){return super.removeChild(this.nodeOrShadowRoot(e),n)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},vg=class extends wg{constructor(e,n,r,i,o,a,s,l){super(e,o,a,s),this.sharedStylesHost=n,this.removeStylesOnCompDestroy=i,this.styles=l?YN(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},uv=class extends vg{constructor(e,n,r,i,o,a,s,l){let c=i+"-"+r.id;super(e,n,r,o,a,s,l,c),this.contentAttr=ure(c),this.hostAttr=fre(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,n){let r=super.createElement(e,n);return super.setAttribute(r,this.contentAttr,""),r}},pre=(()=>{let e=class e extends cv{constructor(r){super(r)}supports(r){return!0}addEventListener(r,i,o){return r.addEventListener(i,o,!1),()=>this.removeEventListener(r,i,o)}removeEventListener(r,i,o){return r.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(B(rt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),$N=["alt","control","meta","shift"],hre={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},mre={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},gre=(()=>{let e=class e extends cv{constructor(r){super(r)}supports(r){return e.parseEventName(r)!=null}addEventListener(r,i,o){let a=e.parseEventName(i),s=e.eventCallback(a.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Vs().onAndCancel(r,a.domEventName,s))}static parseEventName(r){let i=r.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let a=e._normalizeKey(i.pop()),s="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),s="code."),$N.forEach(d=>{let u=i.indexOf(d);u>-1&&(i.splice(u,1),s+=d+".")}),s+=a,i.length!=0||a.length===0)return null;let c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(r,i){let o=hre[r.key]||r.key,a="";return i.indexOf("code.")>-1&&(o=r.code,a="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),$N.forEach(s=>{if(s!==o){let l=mre[s];l(r)&&(a+=s+".")}}),a+=o,a===i)}static eventCallback(r,i,o){return a=>{e.matchEventFullKeyCode(a,r)&&o.runGuarded(()=>i(a))}}static _normalizeKey(r){return r==="esc"?"escape":r}};e.\u0275fac=function(i){return new(i||e)(B(rt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();function KN(t,e){return bN(D({rootComponent:t},yre(e)))}function yre(t){return{appProviders:[...kre,...t?.providers??[]],platformProviders:vre}}function bre(){jE.makeCurrent()}function _re(){return new Ps}function wre(){return QF(document),document}var vre=[{provide:Va,useValue:EE},{provide:Z2,useValue:bre,multi:!0},{provide:rt,useFactory:wre,deps:[]}];var kre=[{provide:zw,useValue:"root"},{provide:Ps,useFactory:_re,deps:[]},{provide:zE,useClass:pre,multi:!0,deps:[rt,De,Va]},{provide:zE,useClass:gre,multi:!0,deps:[rt]},dv,WN,qN,{provide:vd,useExisting:dv},{provide:gp,useClass:are,deps:[]},[]];function xre(){return new VE(B(rt))}var VE=(()=>{let e=class e{constructor(r){this._doc=r}getTitle(){return this._doc.title}setTitle(r){this._doc.title=r||""}};e.\u0275fac=function(i){return new(i||e)(B(rt))},e.\u0275prov=ee({token:e,factory:function(i){let o=null;return i?o=new i:o=xre(),o},providedIn:"root"});let t=e;return t})();var kt="primary",Rg=Symbol("RouteTitle"),WE=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n[0]:n}return null}getAll(e){if(this.has(e)){let n=this.params[e];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}};function kp(t){return new WE(t)}function Dre(t,e,n){let r=n.path.split("/");if(r.length>t.length||n.pathMatch==="full"&&(e.hasChildren()||r.lengthr[o]===i)}else return t===e}function nR(t){return t.length>0?t[t.length-1]:null}function ec(t){return U_(t)?t:Ed(t)?wn(Promise.resolve(t)):Ve(t)}var Ere={exact:iR,subset:oR},rR={exact:Mre,subset:Tre,ignored:()=>!0};function ZN(t,e,n){return Ere[n.paths](t.root,e.root,n.matrixParams)&&rR[n.queryParams](t.queryParams,e.queryParams)&&!(n.fragment==="exact"&&t.fragment!==e.fragment)}function Mre(t,e){return $a(t,e)}function iR(t,e,n){if(!Id(t.segments,e.segments)||!hv(t.segments,e.segments,n)||t.numberOfChildren!==e.numberOfChildren)return!1;for(let r in e.children)if(!t.children[r]||!iR(t.children[r],e.children[r],n))return!1;return!0}function Tre(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>tR(t[n],e[n]))}function oR(t,e,n){return aR(t,e,e.segments,n)}function aR(t,e,n,r){if(t.segments.length>n.length){let i=t.segments.slice(0,n.length);return!(!Id(i,n)||e.hasChildren()||!hv(i,n,r))}else if(t.segments.length===n.length){if(!Id(t.segments,n)||!hv(t.segments,n,r))return!1;for(let i in e.children)if(!t.children[i]||!oR(t.children[i],e.children[i],r))return!1;return!0}else{let i=n.slice(0,t.segments.length),o=n.slice(t.segments.length);return!Id(t.segments,i)||!hv(t.segments,i,r)||!t.children[kt]?!1:aR(t.children[kt],e,o,r)}}function hv(t,e,n){return e.every((r,i)=>rR[n](t[i].parameters,r.parameters))}var Xl=class{constructor(e=new Zt([],{}),n={},r=null){this.root=e,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kp(this.queryParams)),this._queryParamMap}toString(){return Ore.serialize(this)}},Zt=class{constructor(e,n){this.segments=e,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return mv(this)}},Ad=class{constructor(e,n){this.path=e,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=kp(this.parameters)),this._parameterMap}toString(){return lR(this)}};function Are(t,e){return Id(t,e)&&t.every((n,r)=>$a(n.parameters,e[r].parameters))}function Id(t,e){return t.length!==e.length?!1:t.every((n,r)=>n.path===e[r].path)}function Ire(t,e){let n=[];return Object.entries(t.children).forEach(([r,i])=>{r===kt&&(n=n.concat(e(i,r)))}),Object.entries(t.children).forEach(([r,i])=>{r!==kt&&(n=n.concat(e(i,r)))}),n}var bM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>new yv)(),providedIn:"root"});let t=e;return t})(),yv=class{parse(e){let n=new KE(e);return new Xl(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(e){let n=`/${kg(e.root,!0)}`,r=Nre(e.queryParams),i=typeof e.fragment=="string"?`#${Pre(e.fragment)}`:"";return`${n}${r}${i}`}},Ore=new yv;function mv(t){return t.segments.map(e=>lR(e)).join("/")}function kg(t,e){if(!t.hasChildren())return mv(t);if(e){let n=t.children[kt]?kg(t.children[kt],!1):"",r=[];return Object.entries(t.children).forEach(([i,o])=>{i!==kt&&r.push(`${i}:${kg(o,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}else{let n=Ire(t,(r,i)=>i===kt?[kg(t.children[kt],!1)]:[`${i}:${kg(r,!1)}`]);return Object.keys(t.children).length===1&&t.children[kt]!=null?`${mv(t)}/${n[0]}`:`${mv(t)}/(${n.join("//")})`}}function sR(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function fv(t){return sR(t).replace(/%3B/gi,";")}function Pre(t){return encodeURI(t)}function YE(t){return sR(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function gv(t){return decodeURIComponent(t)}function XN(t){return gv(t.replace(/\+/g,"%20"))}function lR(t){return`${YE(t.path)}${Fre(t.parameters)}`}function Fre(t){return Object.keys(t).map(e=>`;${YE(e)}=${YE(t[e])}`).join("")}function Nre(t){let e=Object.keys(t).map(n=>{let r=t[n];return Array.isArray(r)?r.map(i=>`${fv(n)}=${fv(i)}`).join("&"):`${fv(n)}=${fv(r)}`}).filter(n=>!!n);return e.length?`?${e.join("&")}`:""}var Rre=/^[^\/()?;#]+/;function UE(t){let e=t.match(Rre);return e?e[0]:""}var jre=/^[^\/()?;=#]+/;function zre(t){let e=t.match(jre);return e?e[0]:""}var Lre=/^[^=?&#]+/;function Bre(t){let e=t.match(Lre);return e?e[0]:""}var Vre=/^[^&#]+/;function Ure(t){let e=t.match(Vre);return e?e[0]:""}var KE=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Zt([],{}):new Zt([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(e.length>0||Object.keys(n).length>0)&&(r[kt]=new Zt(e,n)),r}parseSegment(){let e=UE(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new le(4009,!1);return this.capture(e),new Ad(gv(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let n=zre(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let i=UE(this.remaining);i&&(r=i,this.capture(r))}e[gv(n)]=gv(r)}parseQueryParam(e){let n=Bre(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){let a=Ure(this.remaining);a&&(r=a,this.capture(r))}let i=XN(n),o=XN(r);if(e.hasOwnProperty(i)){let a=e[i];Array.isArray(a)||(a=[a],e[i]=a),a.push(o)}else e[i]=o}parseParens(e){let n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let r=UE(this.remaining),i=this.remaining[r.length];if(i!=="/"&&i!==")"&&i!==";")throw new le(4010,!1);let o;r.indexOf(":")>-1?(o=r.slice(0,r.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=kt);let a=this.parseChildren();n[o]=Object.keys(a).length===1?a[kt]:new Zt([],a),this.consumeOptional("//")}return n}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new le(4011,!1)}};function cR(t){return t.segments.length>0?new Zt([],{[kt]:t}):t}function dR(t){let e={};for(let r of Object.keys(t.children)){let i=t.children[r],o=dR(i);if(r===kt&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))e[a]=s;else(o.segments.length>0||o.hasChildren())&&(e[r]=o)}let n=new Zt(t.segments,e);return Hre(n)}function Hre(t){if(t.numberOfChildren===1&&t.children[kt]){let e=t.children[kt];return new Zt(t.segments.concat(e.segments),e.children)}return t}function xp(t){return t instanceof Xl}function $re(t,e,n=null,r=null){let i=uR(t);return fR(i,e,n,r)}function uR(t){let e;function n(o){let a={};for(let l of o.children){let c=n(l);a[l.outlet]=c}let s=new Zt(o.url,a);return o===t&&(e=s),s}let r=n(t.root),i=cR(r);return e??i}function fR(t,e,n,r){let i=t;for(;i.parent;)i=i.parent;if(e.length===0)return HE(i,i,i,n,r);let o=qre(e);if(o.toRoot())return HE(i,i,new Zt([],{}),n,r);let a=Wre(o,i,t),s=a.processChildren?Dg(a.segmentGroup,a.index,o.commands):hR(a.segmentGroup,a.index,o.commands);return HE(i,a.segmentGroup,s,n,r)}function bv(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function Mg(t){return typeof t=="object"&&t!=null&&t.outlets}function HE(t,e,n,r,i){let o={};r&&Object.entries(r).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>`${d}`):`${c}`});let a;t===e?a=n:a=pR(t,e,n);let s=cR(dR(a));return new Xl(s,o,i)}function pR(t,e,n){let r={};return Object.entries(t.children).forEach(([i,o])=>{o===e?r[i]=n:r[i]=pR(o,e,n)}),new Zt(t.segments,r)}var _v=class{constructor(e,n,r){if(this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=r,e&&r.length>0&&bv(r[0]))throw new le(4003,!1);let i=r.find(Mg);if(i&&i!==nR(r))throw new le(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function qre(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new _v(!0,0,t);let e=0,n=!1,r=t.reduce((i,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,c])=>{s[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:s}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?n=!0:s===".."?e++:s!=""&&i.push(s))}),i):[...i,o]},[]);return new _v(n,e,r)}var wp=class{constructor(e,n,r){this.segmentGroup=e,this.processChildren=n,this.index=r}};function Wre(t,e,n){if(t.isAbsolute)return new wp(e,!0,0);if(!n)return new wp(e,!1,NaN);if(n.parent===null)return new wp(n,!0,0);let r=bv(t.commands[0])?0:1,i=n.segments.length-1+r;return Gre(n,i,t.numberOfDoubleDots)}function Gre(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new le(4005,!1);i=r.segments.length}return new wp(r,!1,i-o)}function Yre(t){return Mg(t[0])?t[0].outlets:{[kt]:t}}function hR(t,e,n){if(t||(t=new Zt([],{})),t.segments.length===0&&t.hasChildren())return Dg(t,e,n);let r=Kre(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndexo!==kt)&&t.children[kt]&&t.numberOfChildren===1&&t.children[kt].segments.length===0){let o=Dg(t.children[kt],e,n);return new Zt(t.segments,o.children)}return Object.entries(r).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(i[o]=hR(t.children[o],e,a))}),Object.entries(t.children).forEach(([o,a])=>{r[o]===void 0&&(i[o]=a)}),new Zt(t.segments,i)}}function Kre(t,e,n){let r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;let a=t.segments[i],s=n[r];if(Mg(s))break;let l=`${s}`,c=r0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!JN(l,c,a))return o;r+=2}else{if(!JN(l,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}function ZE(t,e,n){let r=t.segments.slice(0,e),i=0;for(;i{typeof r=="string"&&(r=[r]),r!==null&&(e[n]=ZE(new Zt([],{}),0,r))}),e}function QN(t){let e={};return Object.entries(t).forEach(([n,r])=>e[n]=`${r}`),e}function JN(t,e,n){return t==n.path&&$a(e,n.parameters)}var Sg="imperative",To=class{constructor(e,n){this.id=e,this.url=n}},Tg=class extends To{constructor(e,n,r="imperative",i=null){super(e,n),this.type=0,this.navigationTrigger=r,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ql=class extends To{constructor(e,n,r){super(e,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Jl=class extends To{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Od=class extends To{constructor(e,n,r,i){super(e,n),this.reason=r,this.code=i,this.type=16}},Ag=class extends To{constructor(e,n,r,i){super(e,n),this.error=r,this.target=i,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},wv=class extends To{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},XE=class extends To{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},QE=class extends To{constructor(e,n,r,i,o){super(e,n),this.urlAfterRedirects=r,this.state=i,this.shouldActivate=o,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},JE=class extends To{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},eM=class extends To{constructor(e,n,r,i){super(e,n),this.urlAfterRedirects=r,this.state=i,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},tM=class{constructor(e){this.route=e,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},nM=class{constructor(e){this.route=e,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},rM=class{constructor(e){this.snapshot=e,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},iM=class{constructor(e){this.snapshot=e,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},oM=class{constructor(e){this.snapshot=e,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},aM=class{constructor(e){this.snapshot=e,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}};var Ig=class{},Og=class{constructor(e){this.url=e}};var sM=class{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Sv,this.attachRef=null}},Sv=(()=>{let e=class e{constructor(){this.contexts=new Map}onChildOutletCreated(r,i){let o=this.getOrCreateContext(r);o.outlet=i,this.contexts.set(r,o)}onChildOutletDestroyed(r){let i=this.getContext(r);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let r=this.contexts;return this.contexts=new Map,r}onOutletReAttached(r){this.contexts=r}getOrCreateContext(r){let i=this.getContext(r);return i||(i=new sM,this.contexts.set(r,i)),i}getContext(r){return this.contexts.get(r)||null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),vv=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let n=this.pathFromRoot(e);return n.length>1?n[n.length-2]:null}children(e){let n=lM(e,this._root);return n?n.children.map(r=>r.value):[]}firstChild(e){let n=lM(e,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(e){let n=cM(e,this._root);return n.length<2?[]:n[n.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return cM(e,this._root).map(n=>n.value)}};function lM(t,e){if(t===e.value)return e;for(let n of e.children){let r=lM(t,n);if(r)return r}return null}function cM(t,e){if(t===e.value)return[e];for(let n of e.children){let r=cM(t,n);if(r.length)return r.unshift(e),r}return[]}var no=class{constructor(e,n){this.value=e,this.children=n}toString(){return`TreeNode(${this.value})`}};function _p(t){let e={};return t&&t.children.forEach(n=>e[n.value.outlet]=n),e}var kv=class extends vv{constructor(e,n){super(e),this.snapshot=n,wM(this,e)}toString(){return this.snapshot.toString()}};function mR(t,e){let n=Xre(t,e),r=new Zn([new Ad("",{})]),i=new Zn({}),o=new Zn({}),a=new Zn({}),s=new Zn(""),l=new Pd(r,i,a,s,o,kt,e,n.root);return l.snapshot=n.root,new kv(new no(l,[]),n)}function Xre(t,e){let n={},r={},i={},o="",a=new Pg([],n,i,o,r,kt,e,null,{});return new xv("",new no(a,[]))}var Pd=class{constructor(e,n,r,i,o,a,s,l){this.urlSubject=e,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=i,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(dt(c=>c[Rg]))??Ve(void 0),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(dt(e=>kp(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(dt(e=>kp(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function _M(t,e,n="emptyOnly"){let r,{routeConfig:i}=t;return e!==null&&(n==="always"||i?.path===""||!e.component&&!e.routeConfig?.loadComponent)?r={params:D(D({},e.params),t.params),data:D(D({},e.data),t.data),resolve:D(D(D(D({},t.data),e.data),i?.data),t._resolvedData)}:r={params:t.params,data:t.data,resolve:D(D({},t.data),t._resolvedData??{})},i&&yR(i)&&(r.resolve[Rg]=i.title),r}var Pg=class{get title(){return this.data?.[Rg]}constructor(e,n,r,i,o,a,s,l,c){this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=kp(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=kp(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(r=>r.toString()).join("/"),n=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${n}')`}},xv=class extends vv{constructor(e,n){super(n),this.url=e,wM(this,n)}toString(){return gR(this._root)}};function wM(t,e){e.value._routerState=t,e.children.forEach(n=>wM(t,n))}function gR(t){let e=t.children.length>0?` { ${t.children.map(gR).join(", ")} } `:"";return`${t.value}${e}`}function $E(t){if(t.snapshot){let e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,$a(e.queryParams,n.queryParams)||t.queryParamsSubject.next(n.queryParams),e.fragment!==n.fragment&&t.fragmentSubject.next(n.fragment),$a(e.params,n.params)||t.paramsSubject.next(n.params),Sre(e.url,n.url)||t.urlSubject.next(n.url),$a(e.data,n.data)||t.dataSubject.next(n.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function dM(t,e){let n=$a(t.params,e.params)&&Are(t.url,e.url),r=!t.parent!=!e.parent;return n&&!r&&(!t.parent||dM(t.parent,e.parent))}function yR(t){return typeof t.title=="string"||t.title===null}var vM=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=kt,this.activateEvents=new Qe,this.deactivateEvents=new Qe,this.attachEvents=new Qe,this.detachEvents=new Qe,this.parentContexts=se(Sv),this.location=se($n),this.changeDetector=se(di),this.environmentInjector=se(Ai),this.inputBinder=se(kM,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(r){if(r.name){let{firstChange:i,previousValue:o}=r.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(r){return this.parentContexts.getContext(r)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let r=this.parentContexts.getContext(this.name);r?.route&&(r.attachRef?this.attach(r.attachRef,r.route):this.activateWith(r.route,r.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new le(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new le(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new le(4012,!1);this.location.detach();let r=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(r.instance),r}attach(r,i){this.activated=r,this._activatedRoute=i,this.location.insert(r.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(r.instance)}deactivate(){if(this.activated){let r=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(r)}}activateWith(r,i){if(this.isActivated)throw new le(4013,!1);this._activatedRoute=r;let o=this.location,s=r.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new uM(r,l,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:i??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ke({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Qn]});let t=e;return t})(),uM=class{constructor(e,n,r){this.route=e,this.childContexts=n,this.parent=r}get(e,n){return e===Pd?this.route:e===Sv?this.childContexts:this.parent.get(e,n)}},kM=new de("");function Qre(t,e,n){let r=Fg(t,e._root,n?n._root:void 0);return new kv(r,e)}function Fg(t,e,n){if(n&&t.shouldReuseRoute(e.value,n.value.snapshot)){let r=n.value;r._futureSnapshot=e.value;let i=Jre(t,e,n);return new no(r,i)}else{if(t.shouldAttach(e.value)){let o=t.retrieve(e.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(s=>Fg(t,s)),a}}let r=eie(e.value),i=e.children.map(o=>Fg(t,o));return new no(r,i)}}function Jre(t,e,n){return e.children.map(r=>{for(let i of n.children)if(t.shouldReuseRoute(r.value,i.value.snapshot))return Fg(t,r,i);return Fg(t,r)})}function eie(t){return new Pd(new Zn(t.url),new Zn(t.params),new Zn(t.queryParams),new Zn(t.fragment),new Zn(t.data),t.outlet,t.component,t)}var bR="ngNavigationCancelingError";function _R(t,e){let{redirectTo:n,navigationBehaviorOptions:r}=xp(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=wR(!1,0,e);return i.url=n,i.navigationBehaviorOptions=r,i}function wR(t,e,n){let r=new Error("NavigationCancelingError: "+(t||""));return r[bR]=!0,r.cancellationCode=e,n&&(r.url=n),r}function tie(t){return vR(t)&&xp(t.url)}function vR(t){return t&&t[bR]}var nie=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_e({type:e,selectors:[["ng-component"]],standalone:!0,features:[Oe],decls:1,vars:0,template:function(i,o){i&1&&_t(0,"router-outlet")},dependencies:[vM],encapsulation:2});let t=e;return t})();function rie(t,e){return t.providers&&!t._injector&&(t._injector=wE(t.providers,e,`Route: ${t.path}`)),t._injector??e}function xM(t){let e=t.children&&t.children.map(xM),n=e?q(D({},t),{children:e}):D({},t);return!n.component&&!n.loadComponent&&(e||n.loadChildren)&&n.outlet&&n.outlet!==kt&&(n.component=nie),n}function qa(t){return t.outlet||kt}function iie(t,e){let n=t.filter(r=>qa(r)===e);return n.push(...t.filter(r=>qa(r)!==e)),n}function jg(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let e=t.parent;e;e=e.parent){let n=e.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}var oie=(t,e,n,r)=>dt(i=>(new fM(e,i.targetRouterState,i.currentRouterState,n,r).activate(t),i)),fM=class{constructor(e,n,r,i,o){this.routeReuseStrategy=e,this.futureState=n,this.currState=r,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,e),$E(this.futureState.root),this.activateChildRoutes(n,r,e)}deactivateChildRoutes(e,n,r){let i=_p(n);e.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,i[a],r),delete i[a]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,r)})}deactivateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if(i===o)if(i.component){let a=r.getContext(i.outlet);a&&this.deactivateChildRoutes(e,n,a.children)}else this.deactivateChildRoutes(e,n,r);else o&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(e,n){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,n):this.deactivateRouteAndOutlet(e,n)}detachAndStoreRouteSubtree(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=_p(e);for(let a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],i);if(r&&r.outlet){let a=r.outlet.detach(),s=r.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:s})}}deactivateRouteAndOutlet(e,n){let r=n.getContext(e.value.outlet),i=r&&e.value.component?r.children:n,o=_p(e);for(let a of Object.keys(o))this.deactivateRouteAndItsChildren(o[a],i);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(e,n,r){let i=_p(n);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],r),this.forwardEvent(new aM(o.value.snapshot))}),e.children.length&&this.forwardEvent(new iM(e.value.snapshot))}activateRoutes(e,n,r){let i=e.value,o=n?n.value:null;if($E(i),i===o)if(i.component){let a=r.getOrCreateContext(i.outlet);this.activateChildRoutes(e,n,a.children)}else this.activateChildRoutes(e,n,r);else if(i.component){let a=r.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),$E(s.route.value),this.activateChildRoutes(e,null,a.children)}else{let s=jg(i.snapshot);a.attachRef=null,a.route=i,a.injector=s,a.outlet&&a.outlet.activateWith(i,a.injector),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,r)}},Cv=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},vp=class{constructor(e,n){this.component=e,this.route=n}};function aie(t,e,n){let r=t._root,i=e?e._root:null;return xg(r,i,n,[r.value])}function sie(t){let e=t.routeConfig?t.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:t,guards:e}}function Dp(t,e){let n=Symbol(),r=e.get(t,n);return r===n?typeof t=="function"&&!YP(t)?t:e.get(t):r}function xg(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=_p(e);return t.children.forEach(a=>{lie(a,o[a.value.outlet],n,r.concat([a.value]),i),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>Eg(s,n.getContext(a),i)),i}function lie(t,e,n,r,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,a=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=cie(a,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Cv(r)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?xg(t,e,s?s.children:null,r,i):xg(t,e,n,r,i),l&&s&&s.outlet&&s.outlet.isActivated&&i.canDeactivateChecks.push(new vp(s.outlet.component,a))}else a&&Eg(e,s,i),i.canActivateChecks.push(new Cv(r)),o.component?xg(t,null,s?s.children:null,r,i):xg(t,null,n,r,i);return i}function cie(t,e,n){if(typeof n=="function")return n(t,e);switch(n){case"pathParamsChange":return!Id(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Id(t.url,e.url)||!$a(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!dM(t,e)||!$a(t.queryParams,e.queryParams);case"paramsChange":default:return!dM(t,e)}}function Eg(t,e,n){let r=_p(t),i=t.value;Object.entries(r).forEach(([o,a])=>{i.component?e?Eg(a,e.children.getContext(o),n):Eg(a,null,n):Eg(a,e,n)}),i.component?e&&e.outlet&&e.outlet.isActivated?n.canDeactivateChecks.push(new vp(e.outlet.component,i)):n.canDeactivateChecks.push(new vp(null,i)):n.canDeactivateChecks.push(new vp(null,i))}function zg(t){return typeof t=="function"}function die(t){return typeof t=="boolean"}function uie(t){return t&&zg(t.canLoad)}function fie(t){return t&&zg(t.canActivate)}function pie(t){return t&&zg(t.canActivateChild)}function hie(t){return t&&zg(t.canDeactivate)}function mie(t){return t&&zg(t.canMatch)}function kR(t){return t instanceof Is||t?.name==="EmptyError"}var pv=Symbol("INITIAL_VALUE");function Cp(){return kr(t=>$f(t.map(e=>e.pipe(Un(1),Ei(pv)))).pipe(dt(e=>{for(let n of e)if(n!==!0){if(n===pv)return pv;if(n===!1||n instanceof Xl)return n}return!0}),Kt(e=>e!==pv),Un(1)))}function gie(t,e){return Vn(n=>{let{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:a}}=n;return a.length===0&&o.length===0?Ve(q(D({},n),{guardsResult:!0})):yie(a,r,i,t).pipe(Vn(s=>s&&die(s)?bie(r,o,t,e):Ve(s)),dt(s=>q(D({},n),{guardsResult:s})))})}function yie(t,e,n,r){return wn(t).pipe(Vn(i=>xie(i.component,i.route,n,e,r)),Na(i=>i!==!0,!0))}function bie(t,e,n,r){return wn(e).pipe(Rl(i=>Pl(wie(i.route.parent,r),_ie(i.route,r),kie(t,i.path,n),vie(t,i.route,n))),Na(i=>i!==!0,!0))}function _ie(t,e){return t!==null&&e&&e(new oM(t)),Ve(!0)}function wie(t,e){return t!==null&&e&&e(new rM(t)),Ve(!0)}function vie(t,e,n){let r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||r.length===0)return Ve(!0);let i=r.map(o=>Fl(()=>{let a=jg(e)??n,s=Dp(o,a),l=fie(s)?s.canActivate(e,t):Rs(a,()=>s(e,t));return ec(l).pipe(Na())}));return Ve(i).pipe(Cp())}function kie(t,e,n){let r=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(a=>sie(a)).filter(a=>a!==null).map(a=>Fl(()=>{let s=a.guards.map(l=>{let c=jg(a.node)??n,d=Dp(l,c),u=pie(d)?d.canActivateChild(r,t):Rs(c,()=>d(r,t));return ec(u).pipe(Na())});return Ve(s).pipe(Cp())}));return Ve(o).pipe(Cp())}function xie(t,e,n,r,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return Ve(!0);let a=o.map(s=>{let l=jg(e)??i,c=Dp(s,l),d=hie(c)?c.canDeactivate(t,e,n,r):Rs(l,()=>c(t,e,n,r));return ec(d).pipe(Na())});return Ve(a).pipe(Cp())}function Cie(t,e,n,r){let i=e.canLoad;if(i===void 0||i.length===0)return Ve(!0);let o=i.map(a=>{let s=Dp(a,t),l=uie(s)?s.canLoad(e,n):Rs(t,()=>s(e,n));return ec(l)});return Ve(o).pipe(Cp(),xR(r))}function xR(t){return fS(Hn(e=>{if(xp(e))throw _R(t,e)}),dt(e=>e===!0))}function Die(t,e,n,r){let i=e.canMatch;if(!i||i.length===0)return Ve(!0);let o=i.map(a=>{let s=Dp(a,t),l=mie(s)?s.canMatch(e,n):Rs(t,()=>s(e,n));return ec(l)});return Ve(o).pipe(Cp(),xR(r))}var Ng=class{constructor(e){this.segmentGroup=e||null}},Dv=class extends Error{constructor(e){super(),this.urlTree=e}};function bp(t){return Uf(new Ng(t))}function Sie(t){return Uf(new le(4e3,!1))}function Eie(t){return Uf(wR(!1,3))}var pM=class{constructor(e,n){this.urlSerializer=e,this.urlTree=n}noMatchError(e){return new le(4002,!1)}lineralizeSegments(e,n){let r=[],i=n.root;for(;;){if(r=r.concat(i.segments),i.numberOfChildren===0)return Ve(r);if(i.numberOfChildren>1||!i.children[kt])return Sie(e.redirectTo);i=i.children[kt]}}applyRedirectCommands(e,n,r){let i=this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),e,r);if(n.startsWith("/"))throw new Dv(i);return i}applyRedirectCreateUrlTree(e,n,r,i){let o=this.createSegmentGroup(e,n.root,r,i);return new Xl(o,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(e,n){let r={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o.startsWith(":")){let s=o.substring(1);r[i]=n[s]}else r[i]=o}),r}createSegmentGroup(e,n,r,i){let o=this.createSegments(e,n.segments,r,i),a={};return Object.entries(n.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(e,l,r,i)}),new Zt(o,a)}createSegments(e,n,r,i){return n.map(o=>o.path.startsWith(":")?this.findPosParam(e,o,i):this.findOrReturn(o,r))}findPosParam(e,n,r){let i=r[n.path.substring(1)];if(!i)throw new le(4001,!1);return i}findOrReturn(e,n){let r=0;for(let i of n){if(i.path===e.path)return n.splice(r),i;r++}return e}},hM={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Mie(t,e,n,r,i){let o=CM(t,e,n);return o.matched?(r=rie(e,r),Die(r,e,n,i).pipe(dt(a=>a===!0?o:D({},hM)))):Ve(o)}function CM(t,e,n){if(e.path==="**")return Tie(n);if(e.path==="")return e.pathMatch==="full"&&(t.hasChildren()||n.length>0)?D({},hM):{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};let i=(e.matcher||Dre)(n,t,e);if(!i)return D({},hM);let o={};Object.entries(i.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:n.slice(i.consumed.length),parameters:a,positionalParamSegments:i.posParams??{}}}function Tie(t){return{matched:!0,parameters:t.length>0?nR(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function eR(t,e,n,r){return n.length>0&&Oie(t,n,r)?{segmentGroup:new Zt(e,Iie(r,new Zt(n,t.children))),slicedSegments:[]}:n.length===0&&Pie(t,n,r)?{segmentGroup:new Zt(t.segments,Aie(t,e,n,r,t.children)),slicedSegments:n}:{segmentGroup:new Zt(t.segments,t.children),slicedSegments:n}}function Aie(t,e,n,r,i){let o={};for(let a of r)if(Ev(t,n,a)&&!i[qa(a)]){let s=new Zt([],{});o[qa(a)]=s}return D(D({},i),o)}function Iie(t,e){let n={};n[kt]=e;for(let r of t)if(r.path===""&&qa(r)!==kt){let i=new Zt([],{});n[qa(r)]=i}return n}function Oie(t,e,n){return n.some(r=>Ev(t,e,r)&&qa(r)!==kt)}function Pie(t,e,n){return n.some(r=>Ev(t,e,r))}function Ev(t,e,n){return(t.hasChildren()||e.length>0)&&n.pathMatch==="full"?!1:n.path===""}function Fie(t,e,n,r){return qa(t)!==r&&(r===kt||!Ev(e,n,t))?!1:CM(e,t,n).matched}function Nie(t,e,n){return e.length===0&&!t.children[n]}var mM=class{};function Rie(t,e,n,r,i,o,a="emptyOnly"){return new gM(t,e,n,r,i,a,o).recognize()}var jie=31,gM=class{constructor(e,n,r,i,o,a,s){this.injector=e,this.configLoader=n,this.rootComponentType=r,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new pM(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new le(4002,!1)}recognize(){let e=eR(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(dt(n=>{let r=new Pg([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,{},kt,this.rootComponentType,null,{}),i=new no(r,n),o=new xv("",i),a=$re(r,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),this.inheritParamsAndData(o._root,null),{state:o,tree:a}}))}match(e){return this.processSegmentGroup(this.injector,this.config,e,kt).pipe(Nl(r=>{if(r instanceof Dv)return this.urlTree=r.urlTree,this.match(r.urlTree.root);throw r instanceof Ng?this.noMatchError(r):r}))}inheritParamsAndData(e,n){let r=e.value,i=_M(r,n,this.paramsInheritanceStrategy);r.params=Object.freeze(i.params),r.data=Object.freeze(i.data),e.children.forEach(o=>this.inheritParamsAndData(o,r))}processSegmentGroup(e,n,r,i){return r.segments.length===0&&r.hasChildren()?this.processChildren(e,n,r):this.processSegment(e,n,r,r.segments,i,!0).pipe(dt(o=>o instanceof no?[o]:[]))}processChildren(e,n,r){let i=[];for(let o of Object.keys(r.children))o==="primary"?i.unshift(o):i.push(o);return wn(i).pipe(Rl(o=>{let a=r.children[o],s=iie(n,o);return this.processSegmentGroup(e,s,a,o)}),wS((o,a)=>(o.push(...a),o)),jl(null),_S(),Vn(o=>{if(o===null)return bp(r);let a=CR(o);return zie(a),Ve(a)}))}processSegment(e,n,r,i,o,a){return wn(n).pipe(Rl(s=>this.processSegmentAgainstRoute(s._injector??e,n,s,r,i,o,a).pipe(Nl(l=>{if(l instanceof Ng)return Ve(null);throw l}))),Na(s=>!!s),Nl(s=>{if(kR(s))return Nie(r,i,o)?Ve(new mM):bp(r);throw s}))}processSegmentAgainstRoute(e,n,r,i,o,a,s){return Fie(r,i,o,a)?r.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,r,o,a):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(e,i,n,r,o,a):bp(i):bp(i)}expandSegmentAgainstRouteUsingRedirect(e,n,r,i,o,a){let{matched:s,consumedSegments:l,positionalParamSegments:c,remainingSegments:d}=CM(n,i,o);if(!s)return bp(n);i.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>jie&&(this.allowRedirects=!1));let u=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,c);return this.applyRedirects.lineralizeSegments(i,u).pipe(Vn(f=>this.processSegment(e,r,n,f.concat(d),a,!1)))}matchSegmentAgainstRoute(e,n,r,i,o){let a=Mie(n,r,i,e,this.urlSerializer);return r.path==="**"&&(n.children={}),a.pipe(kr(s=>s.matched?(e=r._injector??e,this.getChildConfig(e,r,i).pipe(kr(({routes:l})=>{let c=r._loadedInjector??e,{consumedSegments:d,remainingSegments:u,parameters:f}=s,p=new Pg(d,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Bie(r),qa(r),r.component??r._loadedComponent??null,r,Vie(r)),{segmentGroup:h,slicedSegments:g}=eR(n,d,u,l);if(g.length===0&&h.hasChildren())return this.processChildren(c,l,h).pipe(dt(_=>_===null?null:new no(p,_)));if(l.length===0&&g.length===0)return Ve(new no(p,[]));let b=qa(r)===o;return this.processSegment(c,l,h,g,b?kt:o,!0).pipe(dt(_=>new no(p,_ instanceof no?[_]:[])))}))):bp(n)))}getChildConfig(e,n,r){return n.children?Ve({routes:n.children,injector:e}):n.loadChildren?n._loadedRoutes!==void 0?Ve({routes:n._loadedRoutes,injector:n._loadedInjector}):Cie(e,n,r,this.urlSerializer).pipe(Vn(i=>i?this.configLoader.loadChildren(e,n).pipe(Hn(o=>{n._loadedRoutes=o.routes,n._loadedInjector=o.injector})):Eie(n))):Ve({routes:[],injector:e})}};function zie(t){t.sort((e,n)=>e.value.outlet===kt?-1:n.value.outlet===kt?1:e.value.outlet.localeCompare(n.value.outlet))}function Lie(t){let e=t.value.routeConfig;return e&&e.path===""}function CR(t){let e=[],n=new Set;for(let r of t){if(!Lie(r)){e.push(r);continue}let i=e.find(o=>r.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...r.children),n.add(i)):e.push(r)}for(let r of n){let i=CR(r.children);e.push(new no(r.value,i))}return e.filter(r=>!n.has(r))}function Bie(t){return t.data||{}}function Vie(t){return t.resolve||{}}function Uie(t,e,n,r,i,o){return Vn(a=>Rie(t,e,n,r,a.extractedUrl,i,o).pipe(dt(({state:s,tree:l})=>q(D({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function Hie(t,e){return Vn(n=>{let{targetSnapshot:r,guards:{canActivateChecks:i}}=n;if(!i.length)return Ve(n);let o=new Set(i.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let c of DR(l))a.add(c);let s=0;return wn(a).pipe(Rl(l=>o.has(l)?$ie(l,r,t,e):(l.data=_M(l,l.parent,t).resolve,Ve(void 0))),Hn(()=>s++),qf(1),Vn(l=>s===a.size?Ve(n):vr))})}function DR(t){let e=t.children.map(n=>DR(n)).flat();return[t,...e]}function $ie(t,e,n,r){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!yR(i)&&(o[Rg]=i.title),qie(o,t,e,r).pipe(dt(a=>(t._resolvedData=a,t.data=_M(t,t.parent,n).resolve,null)))}function qie(t,e,n,r){let i=GE(t);if(i.length===0)return Ve({});let o={};return wn(i).pipe(Vn(a=>Wie(t[a],e,n,r).pipe(Na(),Hn(s=>{o[a]=s}))),qf(1),bS(o),Nl(a=>kR(a)?vr:Uf(a)))}function Wie(t,e,n,r){let i=jg(e)??r,o=Dp(t,i),a=o.resolve?o.resolve(e,n):Rs(i,()=>o(e,n));return ec(a)}function qE(t){return kr(e=>{let n=t(e);return n?wn(n).pipe(dt(()=>e)):Ve(e)})}var SR=(()=>{let e=class e{buildTitle(r){let i,o=r.root;for(;o!==void 0;)i=this.getResolvedTitleForRoute(o)??i,o=o.children.find(a=>a.outlet===kt);return i}getResolvedTitleForRoute(r){return r.data[Rg]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>se(Gie))(),providedIn:"root"});let t=e;return t})(),Gie=(()=>{let e=class e extends SR{constructor(r){super(),this.title=r}updateTitle(r){let i=this.buildTitle(r);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(B(VE))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),DM=new de("",{providedIn:"root",factory:()=>({})}),SM=new de("ROUTES"),Yie=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=se(vE)}loadComponent(r){if(this.componentLoaders.get(r))return this.componentLoaders.get(r);if(r._loadedComponent)return Ve(r._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(r);let i=ec(r.loadComponent()).pipe(dt(ER),Hn(a=>{this.onLoadEndListener&&this.onLoadEndListener(r),r._loadedComponent=a}),Ll(()=>{this.componentLoaders.delete(r)})),o=new Lf(i,()=>new Ee).pipe(zf());return this.componentLoaders.set(r,o),o}loadChildren(r,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return Ve({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Kie(i,this.compiler,r,this.onLoadEndListener).pipe(Ll(()=>{this.childrenLoaders.delete(i)})),s=new Lf(a,()=>new Ee).pipe(zf());return this.childrenLoaders.set(i,s),s}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Kie(t,e,n,r){return ec(t.loadChildren()).pipe(dt(ER),Vn(i=>i instanceof og||Array.isArray(i)?Ve(i):wn(e.compileModuleAsync(i))),dt(i=>{r&&r(t);let o,a,s=!1;return Array.isArray(i)?(a=i,s=!0):(o=i.create(n).injector,a=o.get(SM,[],{optional:!0,self:!0}).flat()),{routes:a.map(xM),injector:o}}))}function Zie(t){return t&&typeof t=="object"&&"default"in t}function ER(t){return Zie(t)?t.default:t}var EM=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>se(Xie))(),providedIn:"root"});let t=e;return t})(),Xie=(()=>{let e=class e{shouldProcessUrl(r){return!0}extract(r){return r}merge(r,i){return r}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Qie=new de("");var Jie=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Ee,this.transitionAbortSubject=new Ee,this.configLoader=se(Yie),this.environmentInjector=se(Ai),this.urlSerializer=se(bM),this.rootContexts=se(Sv),this.location=se(Us),this.inputBindingEnabled=se(kM,{optional:!0})!==null,this.titleStrategy=se(SR),this.options=se(DM,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=se(EM),this.createViewTransition=se(Qie,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Ve(void 0),this.rootComponentType=null;let r=o=>this.events.next(new tM(o)),i=o=>this.events.next(new nM(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=r}complete(){this.transitions?.complete()}handleNavigationRequest(r){let i=++this.navigationId;this.transitions?.next(q(D(D({},this.transitions.value),r),{id:i}))}setupNavigations(r,i,o){return this.transitions=new Zn({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Sg,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Kt(a=>a.id!==0),dt(a=>q(D({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),kr(a=>{this.currentTransition=a;let s=!1,l=!1;return Ve(a).pipe(Hn(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?q(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),kr(c=>{let d=!r.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=c.extras.onSameUrlNavigation??r.onSameUrlNavigation;if(!d&&u!=="reload"){let f="";return this.events.next(new Od(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),vr}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return Ve(c).pipe(kr(f=>{let p=this.transitions?.getValue();return this.events.next(new Tg(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),p!==this.transitions?.getValue()?vr:Promise.resolve(f)}),Uie(this.environmentInjector,this.configLoader,this.rootComponentType,r.config,this.urlSerializer,this.paramsInheritanceStrategy),Hn(f=>{a.targetSnapshot=f.targetSnapshot,a.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation=q(D({},this.currentNavigation),{finalUrl:f.urlAfterRedirects});let p=new wv(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(p)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:f,extractedUrl:p,source:h,restoredState:g,extras:b}=c,_=new Tg(f,this.urlSerializer.serialize(p),h,g);this.events.next(_);let x=mR(p,this.rootComponentType).snapshot;return this.currentTransition=a=q(D({},c),{targetSnapshot:x,urlAfterRedirects:p,extras:q(D({},b),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=p,Ve(a)}else{let f="";return this.events.next(new Od(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),vr}}),Hn(c=>{let d=new XE(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),dt(c=>(this.currentTransition=a=q(D({},c),{guards:aie(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),a)),gie(this.environmentInjector,c=>this.events.next(c)),Hn(c=>{if(a.guardsResult=c.guardsResult,xp(c.guardsResult))throw _R(this.urlSerializer,c.guardsResult);let d=new QE(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),Kt(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",3),!1)),qE(c=>{if(c.guards.canActivateChecks.length)return Ve(c).pipe(Hn(d=>{let u=new JE(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),kr(d=>{let u=!1;return Ve(d).pipe(Hie(this.paramsInheritanceStrategy,this.environmentInjector),Hn({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",2)}}))}),Hn(d=>{let u=new eM(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),qE(c=>{let d=u=>{let f=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(Hn(p=>{u.component=p}),dt(()=>{})));for(let p of u.children)f.push(...d(p));return f};return $f(d(c.targetSnapshot.root)).pipe(jl(),Un(1))}),qE(()=>this.afterPreactivation()),kr(()=>{let{currentSnapshot:c,targetSnapshot:d}=a,u=this.createViewTransition?.(this.environmentInjector,c.root,d.root);return u?wn(u).pipe(dt(()=>a)):Ve(a)}),dt(c=>{let d=Qre(r.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=a=q(D({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,a}),Hn(()=>{this.events.next(new Ig)}),oie(this.rootContexts,r.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Un(1),Hn({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ql(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),this.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),Nn(this.transitionAbortSubject.pipe(Hn(c=>{throw c}))),Ll(()=>{if(!s&&!l){let c="";this.cancelNavigationTransition(a,c,1)}this.currentNavigation?.id===a.id&&(this.currentNavigation=null)}),Nl(c=>{if(l=!0,vR(c))this.events.next(new Jl(a.id,this.urlSerializer.serialize(a.extractedUrl),c.message,c.cancellationCode)),tie(c)?this.events.next(new Og(c.url)):a.resolve(!1);else{this.events.next(new Ag(a.id,this.urlSerializer.serialize(a.extractedUrl),c,a.targetSnapshot??void 0));try{a.resolve(r.errorHandler(c))}catch(d){a.reject(d)}}return vr}))}))}cancelNavigationTransition(r,i,o){let a=new Jl(r.id,this.urlSerializer.serialize(r.extractedUrl),i,o);this.events.next(a),r.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function eoe(t){return t!==Sg}var toe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>se(noe))(),providedIn:"root"});let t=e;return t})(),yM=class{shouldDetach(e){return!1}store(e,n){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,n){return e.routeConfig===n.routeConfig}},noe=(()=>{let e=class e extends yM{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),MR=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:()=>(()=>se(roe))(),providedIn:"root"});let t=e;return t})(),roe=(()=>{let e=class e extends MR{constructor(){super(...arguments),this.location=se(Us),this.urlSerializer=se(bM),this.options=se(DM,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=se(EM),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Xl,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mR(this.currentUrlTree,null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(r){return this.location.subscribe(i=>{i.type==="popstate"&&r(i.url,i.state)})}handleRouterEvent(r,i){if(r instanceof Tg)this.stateMemento=this.createStateMemento();else if(r instanceof Od)this.rawUrlTree=i.initialUrl;else if(r instanceof wv){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else r instanceof Ig?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):r instanceof Jl&&(r.code===3||r.code===2)?this.restoreHistory(i):r instanceof Ag?this.restoreHistory(i,!0):r instanceof Ql&&(this.lastSuccessfulId=r.id,this.currentPageId=this.browserPageId)}setBrowserUrl(r,i){let o=this.urlSerializer.serialize(r);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let a=this.browserPageId,s=D(D({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(o,"",s)}else{let a=D(D({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",a)}}restoreHistory(r,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,a=this.currentPageId-o;a!==0?this.location.historyGo(a):this.currentUrlTree===r.finalUrl&&a===0&&(this.resetState(r),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(r),this.resetUrlToCurrentUrlTree())}resetState(r){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,r.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(r,i){return this.canceledNavigationResolution==="computed"?{navigationId:r,\u0275routerPageId:i}:{navigationId:r}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Cg=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Cg||{});function ioe(t,e){t.events.pipe(Kt(n=>n instanceof Ql||n instanceof Jl||n instanceof Ag||n instanceof Od),dt(n=>n instanceof Ql||n instanceof Od?Cg.COMPLETE:(n instanceof Jl?n.code===0||n.code===1:!1)?Cg.REDIRECTING:Cg.FAILED),Kt(n=>n!==Cg.REDIRECTING),Un(1)).subscribe(()=>{e()})}function ooe(t){throw t}var aoe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},soe={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},MM=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=se(Qw),this.stateManager=se(MR),this.options=se(DM,{optional:!0})||{},this.pendingTasks=se(mp),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=se(Jie),this.urlSerializer=se(bM),this.location=se(Us),this.urlHandlingStrategy=se(EM),this._events=new Ee,this.errorHandler=this.options.errorHandler||ooe,this.navigated=!1,this.routeReuseStrategy=se(toe),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=se(SM,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!se(kM,{optional:!0}),this.eventsSubscription=new Lt,this.isNgZoneEnabled=se(De)instanceof De&&De.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:r=>{this.console.warn(r)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let r=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(o!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof Jl&&i.code!==0&&i.code!==1)this.navigated=!0;else if(i instanceof Ql)this.navigated=!0;else if(i instanceof Og){let s=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),l={skipLocationChange:o.extras.skipLocationChange,replaceUrl:this.urlUpdateStrategy==="eager"||eoe(o.source)};this.scheduleNavigation(s,Sg,null,l,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}coe(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(r)}resetRootComponentType(r){this.routerState.root.component=r,this.navigationTransitions.rootComponentType=r}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Sg,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((r,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(r,"popstate",i)},0)}))}navigateToSyncWithBrowser(r,i,o){let a={replaceUrl:!0},s=o?.navigationId?o:null;if(o){let c=D({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(a.state=c)}let l=this.parseUrl(r);this.scheduleNavigation(l,i,s,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(r){this.config=r.map(xM),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(r,i={}){let{relativeTo:o,queryParams:a,fragment:s,queryParamsHandling:l,preserveFragment:c}=i,d=c?this.currentUrlTree.fragment:s,u=null;switch(l){case"merge":u=D(D({},this.currentUrlTree.queryParams),a);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=a||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let p=o?o.snapshot:this.routerState.snapshot.root;f=uR(p)}catch{(typeof r[0]!="string"||!r[0].startsWith("/"))&&(r=[]),f=this.currentUrlTree.root}return fR(f,r,u,d??null)}navigateByUrl(r,i={skipLocationChange:!1}){let o=xp(r)?r:this.parseUrl(r),a=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(a,Sg,null,i)}navigate(r,i={skipLocationChange:!1}){return loe(r),this.navigateByUrl(this.createUrlTree(r,i),i)}serializeUrl(r){return this.urlSerializer.serialize(r)}parseUrl(r){try{return this.urlSerializer.parse(r)}catch{return this.urlSerializer.parse("/")}}isActive(r,i){let o;if(i===!0?o=D({},aoe):i===!1?o=D({},soe):o=i,xp(r))return ZN(this.currentUrlTree,r,o);let a=this.parseUrl(r);return ZN(this.currentUrlTree,a,o)}removeEmptyProps(r){return Object.keys(r).reduce((i,o)=>{let a=r[o];return a!=null&&(i[o]=a),i},{})}scheduleNavigation(r,i,o,a,s){if(this.disposed)return Promise.resolve(!1);let l,c,d;s?(l=s.resolve,c=s.reject,d=s.promise):d=new Promise((f,p)=>{l=f,c=p});let u=this.pendingTasks.add();return ioe(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:r,extras:a,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function loe(t){for(let e=0;e{let e=class e{constructor(r,i,o,a,s,l){this.router=r,this.route=i,this.tabIndexAttribute=o,this.renderer=a,this.el=s,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new Ee,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=r.events.subscribe(d=>{d instanceof Ql&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(r){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",r)}ngOnChanges(r){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(r){r!=null?(this.commands=Array.isArray(r)?r:[r],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(r,i,o,a,s){if(this.urlTree===null||this.isAnchorElement&&(r!==0||i||o||a||s||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state};return this.router.navigateByUrl(this.urlTree,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=this.urlTree!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;let r=this.href===null?null:g7(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",r)}applyAttributeValue(r,i){let o=this.renderer,a=this.el.nativeElement;i!==null?o.setAttribute(a,r,i):o.removeAttribute(a,r)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(R(MM),R(Pd),lg("tabindex"),R(Yl),R(Me),R(Kl))},e.\u0275dir=ke({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&Ce("click",function(s){return o.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),i&2&&pn("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:["preserveFragment","preserveFragment",ui],skipLocationChange:["skipLocationChange","skipLocationChange",ui],replaceUrl:["replaceUrl","replaceUrl",ui],routerLink:"routerLink"},standalone:!0,features:[Eo,Qn]});let t=e;return t})();var doe=new de("");function TR(t,...e){return up([{provide:SM,multi:!0,useValue:t},[],{provide:Pd,useFactory:uoe,deps:[MM]},{provide:ev,multi:!0,useFactory:poe},e.map(n=>n.\u0275providers)])}function uoe(t){return t.routerState.root}function foe(t,e){return{\u0275kind:t,\u0275providers:e}}function poe(){let t=se(er);return e=>{let n=t.get(Ha);if(e!==n.components[0])return;let r=t.get(MM),i=t.get(hoe);t.get(moe)===1&&r.initialNavigation(),t.get(goe,null,Tt.Optional)?.setUpPreloading(),t.get(doe,null,Tt.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var hoe=new de("",{factory:()=>new Ee}),moe=new de("",{providedIn:"root",factory:()=>1});var goe=new de("");function AR(){return foe(6,[{provide:Kl,useClass:EN}])}var zR=(()=>{let e=class e{constructor(r,i){this._renderer=r,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(r,i){this._renderer.setProperty(this._elementRef.nativeElement,r,i)}registerOnTouched(r){this.onTouched=r}registerOnChange(r){this.onChange=r}setDisabledState(r){this.setProperty("disabled",r)}};e.\u0275fac=function(i){return new(i||e)(R(Yl),R(Me))},e.\u0275dir=ke({type:e});let t=e;return t})(),yoe=(()=>{let e=class e extends zR{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275dir=ke({type:e,features:[ge]});let t=e;return t})(),zv=new de("NgValueAccessor");var boe={provide:zv,useExisting:Do(()=>Ao),multi:!0};function _oe(){let t=Vs()?Vs().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var woe=new de("CompositionEventMode"),Ao=(()=>{let e=class e extends zR{constructor(r,i,o){super(r,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!_oe())}writeValue(r){let i=r??"";this.setProperty("value",i)}_handleInput(r){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(r)}_compositionStart(){this._composing=!0}_compositionEnd(r){this._composing=!1,this._compositionMode&&this.onChange(r)}};e.\u0275fac=function(i){return new(i||e)(R(Yl),R(Me),R(woe,8))},e.\u0275dir=ke({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&Ce("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[hn([boe]),ge]});let t=e;return t})();function tc(t){return t==null||(typeof t=="string"||Array.isArray(t))&&t.length===0}function LR(t){return t!=null&&typeof t.length=="number"}var IM=new de("NgValidators"),OM=new de("NgAsyncValidators"),voe=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Av=class{static min(e){return koe(e)}static max(e){return xoe(e)}static required(e){return Coe(e)}static requiredTrue(e){return Doe(e)}static email(e){return Soe(e)}static minLength(e){return Eoe(e)}static maxLength(e){return Moe(e)}static pattern(e){return Toe(e)}static nullValidator(e){return BR(e)}static compose(e){return WR(e)}static composeAsync(e){return GR(e)}};function koe(t){return e=>{if(tc(e.value)||tc(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n{if(tc(e.value)||tc(t))return null;let n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}function Coe(t){return tc(t.value)?{required:!0}:null}function Doe(t){return t.value===!0?null:{required:!0}}function Soe(t){return tc(t.value)||voe.test(t.value)?null:{email:!0}}function Eoe(t){return e=>tc(e.value)||!LR(e.value)?null:e.value.lengthLR(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}function Toe(t){if(!t)return BR;let e,n;return typeof t=="string"?(n="",t.charAt(0)!=="^"&&(n+="^"),n+=t,t.charAt(t.length-1)!=="$"&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),r=>{if(tc(r.value))return null;let i=r.value;return e.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}}function BR(t){return null}function VR(t){return t!=null}function UR(t){return Ed(t)?wn(t):t}function HR(t){let e={};return t.forEach(n=>{e=n!=null?D(D({},e),n):e}),Object.keys(e).length===0?null:e}function $R(t,e){return e.map(n=>n(t))}function Aoe(t){return!t.validate}function qR(t){return t.map(e=>Aoe(e)?e:n=>e.validate(n))}function WR(t){if(!t)return null;let e=t.filter(VR);return e.length==0?null:function(n){return HR($R(n,e))}}function PM(t){return t!=null?WR(qR(t)):null}function GR(t){if(!t)return null;let e=t.filter(VR);return e.length==0?null:function(n){let r=$R(n,e).map(UR);return yS(r).pipe(dt(HR))}}function FM(t){return t!=null?GR(qR(t)):null}function IR(t,e){return t===null?[e]:Array.isArray(t)?[...t,e]:[t,e]}function YR(t){return t._rawValidators}function KR(t){return t._rawAsyncValidators}function TM(t){return t?Array.isArray(t)?t:[t]:[]}function Iv(t,e){return Array.isArray(t)?t.includes(e):t===e}function OR(t,e){let n=TM(e);return TM(t).forEach(i=>{Iv(n,i)||n.push(i)}),n}function PR(t,e){return TM(e).filter(n=>!Iv(t,n))}var Ov=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=PM(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=FM(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,n){return this.control?this.control.hasError(e,n):!1}getError(e,n){return this.control?this.control.getError(e,n):null}},Fd=class extends Ov{get formDirective(){return null}get path(){return null}},Nd=class extends Ov{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},AM=class{constructor(e){this._cd=e}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}},Ioe={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},eIe=q(D({},Ioe),{"[class.ng-submitted]":"isSubmitted"}),ro=(()=>{let e=class e extends AM{constructor(r){super(r)}};e.\u0275fac=function(i){return new(i||e)(R(Nd,2))},e.\u0275dir=ke({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&Rt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[ge]});let t=e;return t})();var Lg="VALID",Tv="INVALID",Sp="PENDING",Bg="DISABLED";function ZR(t){return(Lv(t)?t.validators:t)||null}function Ooe(t){return Array.isArray(t)?PM(t):t||null}function XR(t,e){return(Lv(e)?e.asyncValidators:t)||null}function Poe(t){return Array.isArray(t)?FM(t):t||null}function Lv(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Foe(t,e,n){let r=t.controls;if(!(e?Object.keys(r):r).length)throw new le(1e3,"");if(!r[n])throw new le(1001,"")}function Noe(t,e,n){t._forEachChild((r,i)=>{if(n[i]===void 0)throw new le(1002,"")})}var Pv=class{constructor(e,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Lg}get invalid(){return this.status===Tv}get pending(){return this.status==Sp}get disabled(){return this.status===Bg}get enabled(){return this.status!==Bg}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(OR(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(OR(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(PR(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(PR(e,this._rawAsyncValidators))}hasValidator(e){return Iv(this._rawValidators,e)}hasAsyncValidator(e){return Iv(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=Sp,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Bg,this.errors=null,this._forEachChild(r=>{r.disable(q(D({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(q(D({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let n=this._parentMarkedDirty(e.onlySelf);this.status=Lg,this._forEachChild(r=>{r.enable(q(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(q(D({},e),{skipPristineCheck:n})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Lg||this.status===Sp)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Bg:Lg}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=Sp,this._hasOwnPendingAsyncValidator=!0;let n=UR(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,n={}){this.errors=e,this._updateControlsErrors(n.emitEvent!==!1)}get(e){let n=e;return n==null||(Array.isArray(n)||(n=n.split(".")),n.length===0)?null:n.reduce((r,i)=>r&&r._find(i),this)}getError(e,n){let r=n?this.get(n):this;return r&&r.errors?r.errors[e]:null}hasError(e,n){return!!this.getError(e,n)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new Qe,this.statusChanges=new Qe}_calculateStatus(){return this._allControlsDisabled()?Bg:this.errors?Tv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Sp)?Sp:this._anyControlsHaveStatus(Tv)?Tv:Lg}_anyControlsHaveStatus(e){return this._anyControls(n=>n.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Lv(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let n=this._parent&&this._parent.dirty;return!e&&!!n&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=Ooe(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=Poe(this._rawAsyncValidators)}},Fv=class extends Pv{constructor(e,n,r){super(ZR(n),XR(r,n)),this.controls=e,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,n){return this.controls[e]?this.controls[e]:(this.controls[e]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(e,n,r={}){this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(e,n,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],n&&this.registerControl(e,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,n={}){Noe(this,!0,e),Object.keys(e).forEach(r=>{Foe(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(e,n={}){e!=null&&(Object.keys(e).forEach(r=>{let i=this.controls[r];i&&i.patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(e={},n={}){this._forEachChild((r,i)=>{r.reset(e?e[i]:null,{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(e,n,r)=>(e[r]=n.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(n,r)=>r._syncPendingControls()?!0:n);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(n=>{let r=this.controls[n];r&&e(r,n)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[n,r]of Object.entries(this.controls))if(this.contains(n)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(n,r,i)=>((r.enabled||this.disabled)&&(n[i]=r.value),n))}_reduceChildren(e,n){let r=e;return this._forEachChild((i,o)=>{r=n(r,i,o)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var Bv=new de("CallSetDisabledState",{providedIn:"root",factory:()=>NM}),NM="always";function Roe(t,e){return[...e.path,t]}function Nv(t,e,n=NM){RM(t,e),e.valueAccessor.writeValue(t.value),(t.disabled||n==="always")&&e.valueAccessor.setDisabledState?.(t.disabled),zoe(t,e),Boe(t,e),Loe(t,e),joe(t,e)}function FR(t,e,n=!0){let r=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r)),jv(t,e),t&&(e._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Rv(t,e){t.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(e)})}function joe(t,e){if(e.valueAccessor.setDisabledState){let n=r=>{e.valueAccessor.setDisabledState(r)};t.registerOnDisabledChange(n),e._registerOnDestroy(()=>{t._unregisterOnDisabledChange(n)})}}function RM(t,e){let n=YR(t);e.validator!==null?t.setValidators(IR(n,e.validator)):typeof n=="function"&&t.setValidators([n]);let r=KR(t);e.asyncValidator!==null?t.setAsyncValidators(IR(r,e.asyncValidator)):typeof r=="function"&&t.setAsyncValidators([r]);let i=()=>t.updateValueAndValidity();Rv(e._rawValidators,i),Rv(e._rawAsyncValidators,i)}function jv(t,e){let n=!1;if(t!==null){if(e.validator!==null){let i=YR(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==e.validator);o.length!==i.length&&(n=!0,t.setValidators(o))}}if(e.asyncValidator!==null){let i=KR(t);if(Array.isArray(i)&&i.length>0){let o=i.filter(a=>a!==e.asyncValidator);o.length!==i.length&&(n=!0,t.setAsyncValidators(o))}}}let r=()=>{};return Rv(e._rawValidators,r),Rv(e._rawAsyncValidators,r),n}function zoe(t,e){e.valueAccessor.registerOnChange(n=>{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&QR(t,e)})}function Loe(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&QR(t,e),t.updateOn!=="submit"&&t.markAsTouched()})}function QR(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Boe(t,e){let n=(r,i)=>{e.valueAccessor.writeValue(r),i&&e.viewToModelUpdate(r)};t.registerOnChange(n),e._registerOnDestroy(()=>{t._unregisterOnChange(n)})}function JR(t,e){t==null,RM(t,e)}function Voe(t,e){return jv(t,e)}function Uoe(t,e){if(!t.hasOwnProperty("model"))return!1;let n=t.model;return n.isFirstChange()?!0:!Object.is(e,n.currentValue)}function Hoe(t){return Object.getPrototypeOf(t.constructor)===yoe}function ej(t,e){t._syncPendingControls(),e.forEach(n=>{let r=n.control;r.updateOn==="submit"&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}function $oe(t,e){if(!e)return null;Array.isArray(e);let n,r,i;return e.forEach(o=>{o.constructor===Ao?n=o:Hoe(o)?r=o:i=o}),i||r||n||null}function qoe(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}var Woe={provide:Fd,useExisting:Do(()=>jM)},Vg=(()=>Promise.resolve())(),jM=(()=>{let e=class e extends Fd{constructor(r,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Qe,this.form=new Fv({},PM(r),FM(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(r){Vg.then(()=>{let i=this._findContainer(r.path);r.control=i.registerControl(r.name,r.control),Nv(r.control,r,this.callSetDisabledState),r.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(r)})}getControl(r){return this.form.get(r.path)}removeControl(r){Vg.then(()=>{let i=this._findContainer(r.path);i&&i.removeControl(r.name),this._directives.delete(r)})}addFormGroup(r){Vg.then(()=>{let i=this._findContainer(r.path),o=new Fv({});JR(o,r),i.registerControl(r.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(r){Vg.then(()=>{let i=this._findContainer(r.path);i&&i.removeControl(r.name)})}getFormGroup(r){return this.form.get(r.path)}updateModel(r,i){Vg.then(()=>{this.form.get(r.path).setValue(i)})}setValue(r){this.control.setValue(r)}onSubmit(r){return this.submitted=!0,ej(this.form,this._directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(r){return r.pop(),r.length?this.form.get(r):this.form}};e.\u0275fac=function(i){return new(i||e)(R(IM,10),R(OM,10),R(Bv,8))},e.\u0275dir=ke({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&Ce("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[hn([Woe]),ge]});let t=e;return t})();function NR(t,e){let n=t.indexOf(e);n>-1&&t.splice(n,1)}function RR(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var tj=class extends Pv{constructor(e=null,n,r){super(ZR(n),XR(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Lv(n)&&(n.nonNullable||n.initialValueIsDefault)&&(RR(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,n={}){this.value=this._pendingValue=e,this._onChange.length&&n.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,n.emitViewToModelChange!==!1)),this.updateValueAndValidity(n)}patchValue(e,n={}){this.setValue(e,n)}reset(e=this.defaultValue,n={}){this._applyFormState(e),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){NR(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){NR(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){RR(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var Goe=t=>t instanceof tj;var Yoe={provide:Nd,useExisting:Do(()=>Oi)},jR=(()=>Promise.resolve())(),Oi=(()=>{let e=class e extends Nd{constructor(r,i,o,a,s,l){super(),this._changeDetectorRef=s,this.callSetDisabledState=l,this.control=new tj,this._registered=!1,this.name="",this.update=new Qe,this._parent=r,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=$oe(this,a)}ngOnChanges(r){if(this._checkForErrors(),!this._registered||"name"in r){if(this._registered&&(this._checkName(),this.formDirective)){let i=r.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in r&&this._updateDisabled(r),Uoe(r,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(r){this.viewModel=r,this.update.emit(r)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Nv(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(r){jR.then(()=>{this.control.setValue(r,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(r){let i=r.isDisabled.currentValue,o=i!==0&&ui(i);jR.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(r){return this._parent?Roe(r,this._parent):[r]}};e.\u0275fac=function(i){return new(i||e)(R(Fd,9),R(IM,10),R(OM,10),R(zv,10),R(di,8),R(Bv,8))},e.\u0275dir=ke({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[hn([Yoe]),ge,Qn]});let t=e;return t})();var Koe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({});let t=e;return t})();var Zoe={provide:Fd,useExisting:Do(()=>zM)},zM=(()=>{let e=class e extends Fd{constructor(r,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Qe,this._setValidators(r),this._setAsyncValidators(i)}ngOnChanges(r){this._checkFormPresent(),r.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(jv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(r){let i=this.form.get(r.path);return Nv(i,r,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(r),i}getControl(r){return this.form.get(r.path)}removeControl(r){FR(r.control||null,r,!1),qoe(this.directives,r)}addFormGroup(r){this._setUpFormContainer(r)}removeFormGroup(r){this._cleanUpFormContainer(r)}getFormGroup(r){return this.form.get(r.path)}addFormArray(r){this._setUpFormContainer(r)}removeFormArray(r){this._cleanUpFormContainer(r)}getFormArray(r){return this.form.get(r.path)}updateModel(r,i){this.form.get(r.path).setValue(i)}onSubmit(r){return this.submitted=!0,ej(this.form,this.directives),this.ngSubmit.emit(r),r?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(r=void 0){this.form.reset(r),this.submitted=!1}_updateDomValue(){this.directives.forEach(r=>{let i=r.control,o=this.form.get(r.path);i!==o&&(FR(i||null,r),Goe(o)&&(Nv(o,r,this.callSetDisabledState),r.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(r){let i=this.form.get(r.path);JR(i,r),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(r){if(this.form){let i=this.form.get(r.path);i&&Voe(i,r)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){RM(this.form,this),this._oldForm&&jv(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(R(IM,10),R(OM,10),R(Bv,8))},e.\u0275dir=ke({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&Ce("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[hn([Zoe]),ge,Qn]});let t=e;return t})();var Xoe=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Koe]});let t=e;return t})();var io=(()=>{let e=class e{static withConfig(r){return{ngModule:e,providers:[{provide:Bv,useValue:r.callSetDisabledState??NM}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Xoe]});let t=e;return t})();var Gr=(t=>(t.docTypeError="docTypeError",t.contextNotFound="contextNotFound",t.timerNotFound="timerNotFound",t.ctxCallOutOfScope="ctxCallOutOfScope",t.createNodeInParserFail="createNodeInParserFail",t.stackOverFlow="stackOverFlow",t.parserMatchError="parserMatchError",t.serializerMatchError="serializerMatchError",t.getAtomFromSchemaFail="getAtomFromSchemaFail",t.expectDomTypeError="expectDomTypeError",t.callCommandBeforeEditorView="callCommandBeforeEditorView",t.missingRootElement="missingRootElement",t.missingNodeInSchema="missingNodeInSchema",t.missingMarkInSchema="missingMarkInSchema",t.ctxNotBind="ctxNotBind",t.missingYjsDoc="missingYjsDoc",t))(Gr||{}),Pr=class extends Error{constructor(e,n){super(n),this.name="MilkdownError",this.code=e}},Qoe=(t,e)=>typeof e=="function"?"[Function]":e,Ep=t=>JSON.stringify(t,Qoe);function nj(t){return new Pr(Gr.docTypeError,`Doc type error, unsupported type: ${Ep(t)}`)}function rj(t){return new Pr(Gr.contextNotFound,`Context "${t}" not found, do you forget to inject it?`)}function ij(t){return new Pr(Gr.timerNotFound,`Timer "${t}" not found, do you forget to record it?`)}function Ug(){return new Pr(Gr.ctxCallOutOfScope,"Should not call a context out of the plugin.")}function oj(...t){let e=t.reduce((n,r)=>{if(!r)return n;let i=o=>Array.isArray(o)?o.map(a=>i(a)).join(", "):o.toJSON?Ep(o.toJSON()):o.spec?Ep(o.spec):o.toString();return`${n}, ${i(r)}`},"Create prosemirror node from remark failed in parser");return new Pr(Gr.createNodeInParserFail,e)}function LM(){return new Pr(Gr.stackOverFlow,"Stack over flow, cannot pop on an empty stack.")}function aj(t){return new Pr(Gr.parserMatchError,`Cannot match target parser for node: ${Ep(t)}.`)}function sj(t){return new Pr(Gr.serializerMatchError,`Cannot match target serializer for node: ${Ep(t)}.`)}function lj(t,e){return new Pr(Gr.getAtomFromSchemaFail,`Cannot get ${t}: ${e} from schema.`)}function cr(t){return new Pr(Gr.expectDomTypeError,`Expect to be a dom, but get: ${Ep(t)}.`)}function cj(){return new Pr(Gr.callCommandBeforeEditorView,"You're trying to call a command before editor view initialized, make sure to get commandManager from ctx after editor view has been initialized")}function Vv(t){return new Pr(Gr.missingNodeInSchema,`Missing node in schema, milkdown cannot find "${t}" in schema.`)}function dj(t){return new Pr(Gr.missingMarkInSchema,`Missing mark in schema, milkdown cannot find "${t}" in schema.`)}function Mp(){return new Pr(Gr.ctxNotBind,"Context not bind, please make sure the plugin has been initialized.")}function BM(){return new Pr(Gr.missingYjsDoc,"Missing yjs doc, please make sure you have bind one.")}var uj=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Fe=(t,e,n)=>(uj(t,e,"read from private field"),n?n.call(t):e.get(t)),jn=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},qt=(t,e,n,r)=>(uj(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Zg=class{constructor(){this.sliceMap=new Map,this.get=e=>{let n=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);if(!n){let r=typeof e=="string"?e:e.name;throw rj(r)}return n},this.remove=e=>{let n=typeof e=="string"?[...this.sliceMap.values()].find(r=>r.type.name===e):this.sliceMap.get(e.id);n&&this.sliceMap.delete(n.type.id)},this.has=e=>typeof e=="string"?[...this.sliceMap.values()].some(n=>n.type.name===e):this.sliceMap.has(e.id)}},Wa,nc,Hg,VM=class{constructor(e,n,r){jn(this,Wa,void 0),jn(this,nc,void 0),jn(this,Hg,void 0),qt(this,Wa,[]),qt(this,Hg,()=>{Fe(this,Wa).forEach(i=>i(Fe(this,nc)))}),this.set=i=>{qt(this,nc,i),Fe(this,Hg).call(this)},this.get=()=>Fe(this,nc),this.update=i=>{qt(this,nc,i(Fe(this,nc))),Fe(this,Hg).call(this)},this.type=r,qt(this,nc,n),e.set(r.id,this)}on(e){return Fe(this,Wa).push(e),()=>{qt(this,Wa,Fe(this,Wa).filter(n=>n!==e))}}once(e){let n=this.on(r=>{e(r),n()});return n}off(e){qt(this,Wa,Fe(this,Wa).filter(n=>n!==e))}offAll(){qt(this,Wa,[])}};Wa=new WeakMap,nc=new WeakMap,Hg=new WeakMap;var UM=class{constructor(e,n){this.id=Symbol(`Context-${n}`),this.name=n,this._defaultValue=e,this._typeInfo=()=>{throw Ug()}}create(e,n=this._defaultValue){return new VM(e,n,this)}},Ft=(t,e)=>new UM(t,e),Uv,Hv,$v,Tp,$g,jd,qg,Wg,Gg,HM=class{constructor(e,n,r){jn(this,Uv,void 0),jn(this,Hv,void 0),jn(this,$v,void 0),jn(this,Tp,void 0),jn(this,$g,void 0),jn(this,jd,void 0),jn(this,qg,void 0),jn(this,Wg,void 0),jn(this,Gg,void 0),qt(this,Tp,new Set),qt(this,$g,new Set),qt(this,jd,new Map),qt(this,qg,new Map),this.read=()=>({metadata:Fe(this,Uv),injectedSlices:[...Fe(this,Tp)].map(i=>({name:typeof i=="string"?i:i.name,value:Fe(this,Wg).call(this,i)})),consumedSlices:[...Fe(this,$g)].map(i=>({name:typeof i=="string"?i:i.name,value:Fe(this,Wg).call(this,i)})),recordedTimers:[...Fe(this,jd)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:Fe(this,Gg).call(this,i)})),waitTimers:[...Fe(this,qg)].map(([i,{duration:o}])=>({name:i.name,duration:o,status:Fe(this,Gg).call(this,i)}))}),this.onRecord=i=>{Fe(this,jd).set(i,{start:Date.now(),duration:0})},this.onClear=i=>{Fe(this,jd).delete(i)},this.onDone=i=>{let o=Fe(this,jd).get(i);o&&(o.duration=Date.now()-o.start)},this.onWait=(i,o)=>{let a=Date.now();o.finally(()=>{Fe(this,qg).set(i,{duration:Date.now()-a})})},this.onInject=i=>{Fe(this,Tp).add(i)},this.onRemove=i=>{Fe(this,Tp).delete(i)},this.onUse=i=>{Fe(this,$g).add(i)},qt(this,Wg,i=>Fe(this,Hv).get(i).get()),qt(this,Gg,i=>Fe(this,$v).get(i).status),qt(this,Hv,e),qt(this,$v,n),qt(this,Uv,r)}};Uv=new WeakMap,Hv=new WeakMap,$v=new WeakMap,Tp=new WeakMap,$g=new WeakMap,jd=new WeakMap,qg=new WeakMap,Wg=new WeakMap,Gg=new WeakMap;var rc,ic,qv,da,Joe=class fj{constructor(e,n,r){jn(this,rc,void 0),jn(this,ic,void 0),jn(this,qv,void 0),jn(this,da,void 0),this.produce=i=>i&&Object.keys(i).length?new fj(Fe(this,rc),Fe(this,ic),D({},i)):this,this.inject=(i,o)=>{var a;let s=i.create(Fe(this,rc).sliceMap);return o!=null&&s.set(o),(a=Fe(this,da))==null||a.onInject(i),this},this.remove=i=>{var o;return Fe(this,rc).remove(i),(o=Fe(this,da))==null||o.onRemove(i),this},this.record=i=>{var o;return i.create(Fe(this,ic).store),(o=Fe(this,da))==null||o.onRecord(i),this},this.clearTimer=i=>{var o;return Fe(this,ic).remove(i),(o=Fe(this,da))==null||o.onClear(i),this},this.isInjected=i=>Fe(this,rc).has(i),this.isRecorded=i=>Fe(this,ic).has(i),this.use=i=>{var o;return(o=Fe(this,da))==null||o.onUse(i),Fe(this,rc).get(i)},this.get=i=>this.use(i).get(),this.set=(i,o)=>this.use(i).set(o),this.update=(i,o)=>this.use(i).update(o),this.timer=i=>Fe(this,ic).get(i),this.done=i=>{var o;this.timer(i).done(),(o=Fe(this,da))==null||o.onDone(i)},this.wait=i=>{var o;let a=this.timer(i).start();return(o=Fe(this,da))==null||o.onWait(i,a),a},this.waitTimers=i=>st(this,null,function*(){yield Promise.all(this.get(i).map(o=>this.wait(o)))}),qt(this,rc,e),qt(this,ic,n),qt(this,qv,r),r&&qt(this,da,new HM(e,n,r))}get meta(){return Fe(this,qv)}get inspector(){return Fe(this,da)}};rc=new WeakMap,ic=new WeakMap,qv=new WeakMap,da=new WeakMap;var pj=Joe,Gv=class{constructor(){this.store=new Map,this.get=e=>{let n=this.store.get(e.id);if(!n)throw ij(e.name);return n},this.remove=e=>{this.store.delete(e.id)},this.has=e=>this.store.has(e.id)}},Ap,zd,Yg,oc,Kg,Wv,$M=class{constructor(e,n){jn(this,Ap,void 0),jn(this,zd,void 0),jn(this,Yg,void 0),jn(this,oc,void 0),jn(this,Kg,void 0),jn(this,Wv,void 0),qt(this,Ap,null),qt(this,zd,null),qt(this,oc,"pending"),this.start=()=>(Fe(this,Ap)??qt(this,Ap,new Promise((r,i)=>{qt(this,zd,o=>{o instanceof CustomEvent&&o.detail.id===Fe(this,Yg)&&(qt(this,oc,"resolved"),Fe(this,Kg).call(this),o.stopImmediatePropagation(),r())}),Fe(this,Wv).call(this,()=>{Fe(this,oc)==="pending"&&qt(this,oc,"rejected"),Fe(this,Kg).call(this),i(new Error(`Timing ${this.type.name} timeout.`))}),qt(this,oc,"pending"),addEventListener(this.type.name,Fe(this,zd))})),Fe(this,Ap)),this.done=()=>{let r=new CustomEvent(this.type.name,{detail:{id:Fe(this,Yg)}});dispatchEvent(r)},qt(this,Kg,()=>{Fe(this,zd)&&removeEventListener(this.type.name,Fe(this,zd))}),qt(this,Wv,r=>{setTimeout(()=>{r()},this.type.timeout)}),qt(this,Yg,Symbol(n.name)),this.type=n,e.set(n.id,this)}get status(){return Fe(this,oc)}};Ap=new WeakMap,zd=new WeakMap,Yg=new WeakMap,oc=new WeakMap,Kg=new WeakMap,Wv=new WeakMap;var qM=class{constructor(e,n=3e3){this.create=r=>new $M(r,this),this.id=Symbol(`Timer-${e}`),this.name=e,this.timeout=n}},Io=(t,e=3e3)=>new qM(t,e);function Yr(t){this.content=t}Yr.prototype={constructor:Yr,find:function(t){for(var e=0;e>1}};Yr.from=function(t){if(t instanceof Yr)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Yr(e)};var WM=Yr;function wj(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let i=t.child(r),o=e.child(r);if(i==o){n+=i.nodeSize;continue}if(!i.sameMarkup(o))return n;if(i.isText&&i.text!=o.text){for(let a=0;i.text[a]==o.text[a];a++)n++;return n}if(i.content.size||o.content.size){let a=wj(i.content,o.content,n+1);if(a!=null)return a}n+=i.nodeSize}}function vj(t,e,n,r){for(let i=t.childCount,o=e.childCount;;){if(i==0||o==0)return i==o?null:{a:n,b:r};let a=t.child(--i),s=e.child(--o),l=a.nodeSize;if(a==s){n-=l,r-=l;continue}if(!a.sameMarkup(s))return{a:n,b:r};if(a.isText&&a.text!=s.text){let c=0,d=Math.min(a.text.length,s.text.length);for(;ce&&r(l,i+s,o||null,a)!==!1&&l.content.size){let d=s+1;l.nodesBetween(Math.max(0,e-d),Math.min(l.content.size,n-d),r,i+d)}s=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,i){let o="",a=!0;return this.nodesBetween(e,n,(s,l)=>{s.isText?(o+=s.text.slice(Math.max(e,l)-l,n-l),a=!r):s.isLeaf?(i?o+=typeof i=="function"?i(s):i:s.type.spec.leafText&&(o+=s.type.spec.leafText(s)),a=!r):!a&&s.isBlock&&(o+=r,a=!0)},0),o}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,i=this.content.slice(),o=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),o=1);oe)for(let o=0,a=0;ae&&((an)&&(s.isText?s=s.cut(Math.max(0,e-a),Math.min(s.text.length,n-a)):s=s.cut(Math.max(0,e-a-1),Math.min(s.content.size,n-a-1))),r.push(s),i+=s.nodeSize),a=l}return new t(r,i)}cutByIndex(e,n){return e==n?t.empty:e==0&&n==this.content.length?this:new t(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let i=this.content.slice(),o=this.size+n.nodeSize-r.nodeSize;return i[e]=n,new t(i,o)}addToStart(e){return new t([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new t(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let r=0,i=0;;r++){let o=this.child(r),a=i+o.nodeSize;if(a>=e)return a==e||n>0?Yv(r+1,a):Yv(r,i);i=a}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return t.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new t(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return t.empty;let n,r=0;for(let i=0;i{class t{constructor(n,r){this.type=n,this.attrs=r}addToSet(n){let r,i=!1;for(let o=0;othis.type.rank&&(r||(r=n.slice(0,o)),r.push(this),i=!0),r&&r.push(a)}}return r||(r=n.slice()),i||r.push(this),r}removeFromSet(n){for(let r=0;ri.type.rank-o.type.rank),r}}return t.none=[],t})(),Vd=class extends Error{},ce=class t{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=xj(this.content,e+this.openStart,n);return r&&new t(r,this.openStart,this.openEnd)}removeBetween(e,n){return new t(kj(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return t.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!="number"||typeof i!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new t(Z.fromJSON(e,n.content),r,i)}static maxOpen(e,n=!0){let r=0,i=0;for(let o=e.firstChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.firstChild)r++;for(let o=e.lastChild;o&&!o.isLeaf&&(n||!o.type.spec.isolating);o=o.lastChild)i++;return new t(e,r,i)}};ce.empty=new ce(Z.empty,0,0);function kj(t,e,n){let{index:r,offset:i}=t.findIndex(e),o=t.maybeChild(r),{index:a,offset:s}=t.findIndex(n);if(i==e||o.isText){if(s!=n&&!t.child(a).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=a)throw new RangeError("Removing non-flat range");return t.replaceChild(r,o.copy(kj(o.content,e-i-1,n-i-1)))}function xj(t,e,n,r){let{index:i,offset:o}=t.findIndex(e),a=t.maybeChild(i);if(o==e||a.isText)return r&&!r.canReplace(i,i,n)?null:t.cut(0,e).append(n).append(t.cut(e));let s=xj(a.content,e-o-1,n);return s&&t.replaceChild(i,a.copy(s))}function eae(t,e,n){if(n.openStart>t.depth)throw new Vd("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Vd("Inconsistent open depths");return Cj(t,e,n,0)}function Cj(t,e,n,r){let i=t.index(r),o=t.node(r);if(i==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Xg(t,e,n,r){let i=(e||t).node(n),o=0,a=e?e.index(n):i.childCount;t&&(o=t.index(n),t.depth>n?o++:t.textOffset&&(Ld(t.nodeAfter,r),o++));for(let s=o;si&&XM(t,e,i+1),a=r.depth>i&&XM(n,r,i+1),s=[];return Xg(null,t,i,s),o&&a&&e.index(i)==n.index(i)?(Dj(o,a),Ld(Bd(o,Sj(t,e,n,r,i+1)),s)):(o&&Ld(Bd(o,Zv(t,e,i+1)),s),Xg(e,n,i,s),a&&Ld(Bd(a,Zv(n,r,i+1)),s)),Xg(r,null,i,s),new Z(s)}function Zv(t,e,n){let r=[];if(Xg(null,t,n,r),t.depth>n){let i=XM(t,e,n+1);Ld(Bd(i,Zv(t,e,n+1)),r)}return Xg(e,null,n,r),new Z(r)}function tae(t,e){let n=e.depth-t.openStart,i=e.node(n).copy(t.content);for(let o=n-1;o>=0;o--)i=e.node(o).copy(Z.from(i));return{start:i.resolveNoCache(t.openStart+n),end:i.resolveNoCache(i.content.size-t.openEnd-n)}}var Xv=class t{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],i=e.child(n);return r?e.child(n).cut(r):i}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],i=n==0?0:this.path[n*3-1]+1;for(let o=0;o0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new Jg(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],i=0,o=n;for(let a=e;;){let{index:s,offset:l}=a.content.findIndex(o),c=o-l;if(r.push(a,s,i+l),!c||(a=a.child(s),a.isText))break;o=c-1,i+=l+1}return new t(n,r,o)}static resolveCached(e,n){for(let i=0;ie&&this.nodesBetween(e,n,o=>(r.isInSet(o.marks)&&(i=!0),!i)),i}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Ej(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=Z.empty,i=0,o=r.childCount){let a=this.contentMatchAt(e).matchFragment(r,i,o),s=a&&a.matchFragment(this.content,n);if(!s||!s.validEnd)return!1;for(let l=i;ln.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r=null;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let i=Z.fromJSON(e,n.content);return e.nodeType(n.type).create(n.attrs,i,r)}};Pi.prototype.text=void 0;var QM=class t extends Pi{constructor(e,n,r,i){if(super(e,n,null,i),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Ej(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new t(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new t(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function Ej(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}var Ud=class t{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new JM(e,n);if(r.next==null)return t.empty;let i=Mj(r);r.next&&r.err("Unexpected trailing text");let o=dae(cae(i));return uae(o,r),o}matchType(e){for(let n=0;nc.createAndFill()));for(let c=0;c=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let i=0;i{let o=i+(r.validEnd?"*":" ")+" ";for(let a=0;a"+e.indexOf(r.next[a].next);return o}).join(` +`)}};Ud.empty=new Ud(!0);var JM=class{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}};function Mj(t){let e=[];do e.push(iae(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function iae(t){let e=[];do e.push(oae(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function oae(t){let e=lae(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=aae(t,e);else break;return e}function hj(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function aae(t,e){let n=hj(t),r=n;return t.eat(",")&&(t.next!="}"?r=hj(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function sae(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let i=[];for(let o in n){let a=n[o];a.groups.indexOf(e)>-1&&i.push(a)}return i.length==0&&t.err("No node type or group '"+e+"' found"),i}function lae(t){if(t.eat("(")){let e=Mj(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=sae(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function cae(t){let e=[[]];return i(o(t,0),n()),e;function n(){return e.push([])-1}function r(a,s,l){let c={term:l,to:s};return e[a].push(c),c}function i(a,s){a.forEach(l=>l.to=s)}function o(a,s){if(a.type=="choice")return a.exprs.reduce((l,c)=>l.concat(o(c,s)),[]);if(a.type=="seq")for(let l=0;;l++){let c=o(a.exprs[l],s);if(l==a.exprs.length-1)return c;i(c,s=n())}else if(a.type=="star"){let l=n();return r(s,l),i(o(a.expr,l),l),[r(l)]}else if(a.type=="plus"){let l=n();return i(o(a.expr,s),l),i(o(a.expr,l),l),[r(l)]}else{if(a.type=="opt")return[r(s)].concat(o(a.expr,s));if(a.type=="range"){let l=s;for(let c=0;c{t[a].forEach(({term:s,to:l})=>{if(!s)return;let c;for(let d=0;d{c||i.push([s,c=[]]),c.indexOf(d)==-1&&c.push(d)})})});let o=e[r.join(",")]=new Ud(r.indexOf(t.length-1)>-1);for(let a=0;a-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[o]=new t(o,n,a));let i=n.spec.topNode||"doc";if(!r[i])throw new RangeError("Schema is missing its top node type ('"+i+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let o in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}},e4=class{constructor(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default}get isRequired(){return!this.hasDefault}},e0=class t{constructor(e,n,r,i){this.name=e,this.rank=n,this.schema=r,this.spec=i,this.attrs=Oj(i.attrs),this.excluded=null;let o=Aj(this.attrs);this.instance=o?new jt(this,o):null}create(e=null){return!e&&this.instance?this.instance:new jt(this,Ij(this.attrs,e))}static compile(e,n){let r=Object.create(null),i=0;return e.forEach((o,a)=>r[o]=new t(o,i++,n,a)),r}removeFromSet(e){for(var n=0;n-1}},Qv=class{constructor(e){this.cached=Object.create(null);let n=this.spec={};for(let i in e)n[i]=e[i];n.nodes=WM.from(e.nodes),n.marks=WM.from(e.marks||{}),this.nodes=Hd.compile(this.spec.nodes,this),this.marks=e0.compile(this.spec.marks,this);let r=Object.create(null);for(let i in this.nodes){if(i in this.marks)throw new RangeError(i+" can not be both a node and a mark");let o=this.nodes[i],a=o.spec.content||"",s=o.spec.marks;o.contentMatch=r[a]||(r[a]=Ud.parse(a,this.nodes)),o.inlineContent=o.contentMatch.inlineContent,o.markSet=s=="_"?null:s?gj(this,s.split(" ")):s==""||!o.inlineContent?[]:null}for(let i in this.marks){let o=this.marks[i],a=o.spec.excludes;o.excluded=a==null?[o]:a==""?[]:gj(this,a.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,i){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof Hd){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,i)}text(e,n){let r=this.nodes.text;return new QM(r,r.defaultAttrs,e,jt.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeFromJSON(e){return Pi.fromJSON(this,e)}markFromJSON(e){return jt.fromJSON(this,e)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}};function gj(t,e){let n=[];for(let r=0;r-1)&&n.push(a=l)}if(!a)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}var ua=class t{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[],n.forEach(r=>{r.tag?this.tags.push(r):r.style&&this.styles.push(r)}),this.normalizeLists=!this.tags.some(r=>{if(!/^(ul|ol)\b/.test(r.tag)||!r.node)return!1;let i=e.nodes[r.node];return i.contentMatch.matchType(i)})}parse(e,n={}){let r=new t1(this,n,!1);return r.addAll(e,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new t1(this,n,!0);return r.addAll(e,n.from,n.to),ce.maxOpen(r.finish())}matchTag(e,n,r){for(let i=r?this.tags.indexOf(r)+1:0;ie.length&&(s.charCodeAt(e.length)!=61||s.slice(e.length+1)!=n))){if(a.getAttrs){let l=a.getAttrs(n);if(l===!1)continue;a.attrs=l||void 0}return a}}}static schemaRules(e){let n=[];function r(i){let o=i.priority==null?50:i.priority,a=0;for(;a{r(a=bj(a)),a.mark||a.ignore||a.clearMark||(a.mark=i)})}for(let i in e.nodes){let o=e.nodes[i].spec.parseDOM;o&&o.forEach(a=>{r(a=bj(a)),a.node||a.ignore||a.mark||(a.node=i)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new t(e,t.schemaRules(e)))}},Pj={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},fae={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Fj={ol:!0,ul:!0},Jv=1,e1=2,Qg=4;function yj(t,e,n){return e!=null?(e?Jv:0)|(e==="full"?e1:0):t&&t.whitespace=="pre"?Jv|e1:n&~Qg}var Ip=class{constructor(e,n,r,i,o,a,s){this.type=e,this.attrs=n,this.marks=r,this.pendingMarks=i,this.solid=o,this.options=s,this.content=[],this.activeMarks=jt.none,this.stashMarks=[],this.match=a||(s&Qg?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(Z.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,i;return(i=r.findWrapping(e.type))?(this.match=r,i):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Jv)){let r=this.content[this.content.length-1],i;if(r&&r.isText&&(i=/[ \t\r\n\u000c]+$/.exec(r.text))){let o=r;r.text.length==i[0].length?this.content.pop():this.content[this.content.length-1]=o.withText(o.text.slice(0,o.text.length-i[0].length))}}let n=Z.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(Z.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}popFromStashMark(e){for(let n=this.stashMarks.length-1;n>=0;n--)if(e.eq(this.stashMarks[n]))return this.stashMarks.splice(n,1)[0]}applyPending(e){for(let n=0,r=this.pendingMarks;nthis.addAll(e)),a&&this.sync(s),this.needsBlock=l}else this.withStyleRules(e,()=>{this.addElementByRule(e,o,o.consuming===!1?i:void 0)})}leafFallback(e){e.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(` +`))}ignoreFallback(e){e.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"))}readStyles(e){let n=jt.none,r=jt.none;for(let i=0;i{a.clearMark(s)&&(r=s.addToSet(r))}):n=this.parser.schema.marks[a.mark].create(a.attrs).addToSet(n),a.consuming===!1)o=a;else break}return[n,r]}addElementByRule(e,n,r){let i,o,a;n.node?(o=this.parser.schema.nodes[n.node],o.isLeaf?this.insertNode(o.create(n.attrs))||this.leafFallback(e):i=this.enter(o,n.attrs||null,n.preserveWhitespace)):(a=this.parser.schema.marks[n.mark].create(n.attrs),this.addPendingMark(a));let s=this.top;if(o&&o.isLeaf)this.findInside(e);else if(r)this.addElement(e,r);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(l=>this.insertNode(l));else{let l=e;typeof n.contentElement=="string"?l=e.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(e):n.contentElement&&(l=n.contentElement),this.findAround(e,l,!0),this.addAll(l)}i&&this.sync(s)&&this.open--,a&&this.removePendingMark(a,s)}addAll(e,n,r){let i=n||0;for(let o=n?e.childNodes[n]:e.firstChild,a=r==null?null:e.childNodes[r];o!=a;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o);this.findAtPoint(e,i)}findPlace(e){let n,r;for(let i=this.open;i>=0;i--){let o=this.nodes[i],a=o.findWrapping(e);if(a&&(!n||n.length>a.length)&&(n=a,r=o,!a.length)||o.solid)break}if(!n)return!1;this.sync(r);for(let i=0;ithis.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)}sync(e){for(let n=this.open;n>=0;n--)if(this.nodes[n]==e)return this.open=n,!0;return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)e+=r[i].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),a=(s,l)=>{for(;s>=0;s--){let c=n[s];if(c==""){if(s==n.length-1||s==0)continue;for(;l>=o;l--)if(a(s-1,l))return!0;return!1}else{let d=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!d||d.name!=c&&d.groups.indexOf(c)==-1)return!1;l--}}return!0};return a(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}addPendingMark(e){let n=yae(e,this.top.pendingMarks);n&&this.top.stashMarks.push(n),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)}removePendingMark(e,n){for(let r=this.open;r>=0;r--){let i=this.nodes[r];if(i.pendingMarks.lastIndexOf(e)>-1)i.pendingMarks=e.removeFromSet(i.pendingMarks);else{i.activeMarks=e.removeFromSet(i.activeMarks);let a=i.popFromStashMark(e);a&&i.type&&i.type.allowsMarkType(a.type)&&(i.activeMarks=a.addToSet(i.activeMarks))}if(i==n)break}}};function pae(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&Fj.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function hae(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function mae(t){let e=/\s*([\w-]+)\s*:\s*([^;]+)/g,n,r=[];for(;n=e.exec(t);)r.push(n[1],n[2].trim());return r}function bj(t){let e={};for(let n in t)e[n]=t[n];return e}function gae(t,e){let n=e.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(t))continue;let o=[],a=s=>{o.push(s);for(let l=0;l{if(o.length||a.marks.length){let s=0,l=0;for(;s=0;i--){let o=this.serializeMark(e.marks[i],e.isInline,n);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r}serializeMark(e,n,r={}){let i=this.marks[e.type.name];return i&&t.renderSpec(ZM(r),i(e,n))}static renderSpec(e,n,r=null){if(typeof n=="string")return{dom:e.createTextNode(n)};if(n.nodeType!=null)return{dom:n};if(n.dom&&n.dom.nodeType!=null)return n;let i=n[0],o=i.indexOf(" ");o>0&&(r=i.slice(0,o),i=i.slice(o+1));let a,s=r?e.createElementNS(r,i):e.createElement(i),l=n[1],c=1;if(l&&typeof l=="object"&&l.nodeType==null&&!Array.isArray(l)){c=2;for(let d in l)if(l[d]!=null){let u=d.indexOf(" ");u>0?s.setAttributeNS(d.slice(0,u),d.slice(u+1),l[d]):s.setAttribute(d,l[d])}}for(let d=c;dc)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}else{let{dom:f,contentDOM:p}=t.renderSpec(e,u,r);if(s.appendChild(f),p){if(a)throw new RangeError("Multiple content holes");a=p}}}return{dom:s,contentDOM:a}}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new t(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=_j(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return _j(e.marks)}};function _j(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function ZM(t){return t.document||window.document}var _ae={};function $d(t,e){let n=e||_ae,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Rj(t,r,i)}function Rj(t,e,n){if(wae(t)){if("value"in t)return t.type==="html"&&!n?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return Nj(t.children,e,n)}return Array.isArray(t)?Nj(t,e,n):""}function Nj(t,e,n){let r=[],i=-1;for(;++ii?0:i+e:e=e>i?i:e,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);o0?(Cn(t,t.length,0,e),t):e}var jj={}.hasOwnProperty;function n1(t){let e={},n=-1;for(;++n-1&&t.test(String.fromCharCode(n))}}function Te(t,e,n,r){let i=r?r-1:Number.POSITIVE_INFINITY,o=0;return a;function a(l){return qe(l)?(t.enter(n),s(l)):e(l)}function s(l){return qe(l)&&o++a))return;let P=e.events.length,z=P,N,O;for(;z--;)if(e.events[z][0]==="exit"&&e.events[z][1].type==="chunkFlow"){if(N){O=e.events[z][1].end;break}N=!0}for(_(r),C=P;CE;){let j=n[v];e.containerState=j[1],j[0].exit.call(e,t)}n.length=E}function x(){i.write([null]),o=void 0,i=void 0,e.containerState._closeFlow=void 0}}function Sae(t,e,n){return Te(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Op(t){if(t===null||Ot(t)||Ga(t))return 1;if(Wd(t))return 2}function sc(t,e,n){let r=[],i=-1;for(;++i1&&t[n][1].end.offset-t[n][1].start.offset>1?2:1;let u=Object.assign({},t[r][1].end),f=Object.assign({},t[n][1].start);Hj(u,-l),Hj(f,l),a={type:l>1?"strongSequence":"emphasisSequence",start:u,end:Object.assign({},t[r][1].end)},s={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[n][1].start),end:f},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},t[r][1].end),end:Object.assign({},t[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},s.end)},t[r][1].end=Object.assign({},a.start),t[n][1].start=Object.assign({},s.end),c=[],t[r][1].end.offset-t[r][1].start.offset&&(c=fi(c,[["enter",t[r][1],e],["exit",t[r][1],e]])),c=fi(c,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",o,e]]),c=fi(c,sc(e.parser.constructs.insideSpan.null,t.slice(r+1,n),e)),c=fi(c,[["exit",o,e],["enter",s,e],["exit",s,e],["exit",i,e]]),t[n][1].end.offset-t[n][1].start.offset?(d=2,c=fi(c,[["enter",t[n][1],e],["exit",t[n][1],e]])):d=0,Cn(t,r-1,n-r+3,c),n=r+c.length-d-2;break}}for(n=-1;++n0&&qe(C)?Te(t,x,"linePrefix",o+1)(C):x(C)}function x(C){return C===null||he(C)?t.check($j,g,v)(C):(t.enter("codeFlowValue"),E(C))}function E(C){return C===null||he(C)?(t.exit("codeFlowValue"),x(C)):(t.consume(C),E)}function v(C){return t.exit("codeFenced"),e(C)}function j(C,P,z){let N=0;return O;function O(me){return C.enter("lineEnding"),C.consume(me),C.exit("lineEnding"),J}function J(me){return C.enter("codeFencedFence"),qe(me)?Te(C,V,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):V(me)}function V(me){return me===s?(C.enter("codeFencedFenceSequence"),Y(me)):z(me)}function Y(me){return me===s?(N++,C.consume(me),Y):N>=a?(C.exit("codeFencedFenceSequence"),qe(me)?Te(C,ie,"whitespace")(me):ie(me)):z(me)}function ie(me){return me===null||he(me)?(C.exit("codeFencedFence"),P(me)):z(me)}}}function jae(t,e,n){let r=this;return i;function i(a){return a===null?n(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}var r0={name:"codeIndented",tokenize:Lae},zae={tokenize:Bae,partial:!0};function Lae(t,e,n){let r=this;return i;function i(c){return t.enter("codeIndented"),Te(t,o,"linePrefix",4+1)(c)}function o(c){let d=r.events[r.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):he(c)?t.attempt(zae,a,l)(c):(t.enter("codeFlowValue"),s(c))}function s(c){return c===null||he(c)?(t.exit("codeFlowValue"),a(c)):(t.consume(c),s)}function l(c){return t.exit("codeIndented"),e(c)}}function Bae(t,e,n){let r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):he(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):Te(t,o,"linePrefix",4+1)(a)}function o(a){let s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?e(a):he(a)?i(a):n(a)}}var r4={name:"codeText",tokenize:Hae,resolve:Vae,previous:Uae};function Vae(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r=4?e(a):t.interrupt(r.parser.constructs.flow,n,e)(a)}}function s1(t,e,n,r,i,o,a,s,l){let c=l||Number.POSITIVE_INFINITY,d=0;return u;function u(_){return _===60?(t.enter(r),t.enter(i),t.enter(o),t.consume(_),t.exit(o),f):_===null||_===32||_===41||qd(_)?n(_):(t.enter(r),t.enter(a),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(_))}function f(_){return _===62?(t.enter(o),t.consume(_),t.exit(o),t.exit(i),t.exit(r),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),p(_))}function p(_){return _===62?(t.exit("chunkString"),t.exit(s),f(_)):_===null||_===60||he(_)?n(_):(t.consume(_),_===92?h:p)}function h(_){return _===60||_===62||_===92?(t.consume(_),p):p(_)}function g(_){return!d&&(_===null||_===41||Ot(_))?(t.exit("chunkString"),t.exit(s),t.exit(a),t.exit(r),e(_)):d999||p===null||p===91||p===93&&!l||p===94&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(t.exit(o),t.enter(i),t.consume(p),t.exit(i),t.exit(r),e):he(p)?(t.enter("lineEnding"),t.consume(p),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),u(p))}function u(p){return p===null||p===91||p===93||he(p)||s++>999?(t.exit("chunkString"),d(p)):(t.consume(p),l||(l=!qe(p)),p===92?f:u)}function f(p){return p===91||p===92||p===93?(t.consume(p),s++,u):u(p)}}function c1(t,e,n,r,i,o){let a;return s;function s(f){return f===34||f===39||f===40?(t.enter(r),t.enter(i),t.consume(f),t.exit(i),a=f===40?41:f,l):n(f)}function l(f){return f===a?(t.enter(i),t.consume(f),t.exit(i),t.exit(r),e):(t.enter(o),c(f))}function c(f){return f===a?(t.exit(o),l(a)):f===null?n(f):he(f)?(t.enter("lineEnding"),t.consume(f),t.exit("lineEnding"),Te(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(f))}function d(f){return f===a||f===null||he(f)?(t.exit("chunkString"),c(f)):(t.consume(f),f===92?u:d)}function u(f){return f===a||f===92?(t.consume(f),d):d(f)}}function Gd(t,e){let n;return r;function r(i){return he(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),n=!0,r):qe(i)?Te(t,r,n?"linePrefix":"lineSuffix")(i):e(i)}}var o4={name:"definition",tokenize:Zae},Kae={tokenize:Xae,partial:!0};function Zae(t,e,n){let r=this,i;return o;function o(p){return t.enter("definition"),a(p)}function a(p){return l1.call(r,t,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function s(p){return i=Kr(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),l):n(p)}function l(p){return Ot(p)?Gd(t,c)(p):c(p)}function c(p){return s1(t,d,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function d(p){return t.attempt(Kae,u,u)(p)}function u(p){return qe(p)?Te(t,f,"whitespace")(p):f(p)}function f(p){return p===null||he(p)?(t.exit("definition"),r.parser.defined.push(i),e(p)):n(p)}}function Xae(t,e,n){return r;function r(s){return Ot(s)?Gd(t,i)(s):n(s)}function i(s){return c1(t,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return qe(s)?Te(t,a,"whitespace")(s):a(s)}function a(s){return s===null||he(s)?e(s):n(s)}}var a4={name:"hardBreakEscape",tokenize:Qae};function Qae(t,e,n){return r;function r(o){return t.enter("hardBreakEscape"),t.consume(o),i}function i(o){return he(o)?(t.exit("hardBreakEscape"),e(o)):n(o)}}var s4={name:"headingAtx",tokenize:ese,resolve:Jae};function Jae(t,e){let n=t.length-2,r=3,i,o;return t[r][1].type==="whitespace"&&(r+=2),n-2>r&&t[n][1].type==="whitespace"&&(n-=2),t[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&t[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:t[r][1].start,end:t[n][1].end},o={type:"chunkText",start:t[r][1].start,end:t[n][1].end,contentType:"text"},Cn(t,r,n-r+1,[["enter",i,e],["enter",o,e],["exit",o,e],["exit",i,e]])),t}function ese(t,e,n){let r=0;return i;function i(d){return t.enter("atxHeading"),o(d)}function o(d){return t.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&r++<6?(t.consume(d),a):d===null||Ot(d)?(t.exit("atxHeadingSequence"),s(d)):n(d)}function s(d){return d===35?(t.enter("atxHeadingSequence"),l(d)):d===null||he(d)?(t.exit("atxHeading"),e(d)):qe(d)?Te(t,s,"whitespace")(d):(t.enter("atxHeadingText"),c(d))}function l(d){return d===35?(t.consume(d),l):(t.exit("atxHeadingSequence"),s(d))}function c(d){return d===null||d===35||Ot(d)?(t.exit("atxHeadingText"),s(d)):(t.consume(d),c)}}var Wj=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],l4=["pre","script","style","textarea"];var c4={name:"htmlFlow",tokenize:ise,resolveTo:rse,concrete:!0},tse={tokenize:ase,partial:!0},nse={tokenize:ose,partial:!0};function rse(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function ise(t,e,n){let r=this,i,o,a,s,l;return c;function c(I){return d(I)}function d(I){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(I),u}function u(I){return I===33?(t.consume(I),f):I===47?(t.consume(I),o=!0,g):I===63?(t.consume(I),i=3,r.interrupt?e:S):dr(I)?(t.consume(I),a=String.fromCharCode(I),b):n(I)}function f(I){return I===45?(t.consume(I),i=2,p):I===91?(t.consume(I),i=5,s=0,h):dr(I)?(t.consume(I),i=4,r.interrupt?e:S):n(I)}function p(I){return I===45?(t.consume(I),r.interrupt?e:S):n(I)}function h(I){let Ye="CDATA[";return I===Ye.charCodeAt(s++)?(t.consume(I),s===Ye.length?r.interrupt?e:V:h):n(I)}function g(I){return dr(I)?(t.consume(I),a=String.fromCharCode(I),b):n(I)}function b(I){if(I===null||I===47||I===62||Ot(I)){let Ye=I===47,Jt=a.toLowerCase();return!Ye&&!o&&l4.includes(Jt)?(i=1,r.interrupt?e(I):V(I)):Wj.includes(a.toLowerCase())?(i=6,Ye?(t.consume(I),_):r.interrupt?e(I):V(I)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(I):o?x(I):E(I))}return I===45||ur(I)?(t.consume(I),a+=String.fromCharCode(I),b):n(I)}function _(I){return I===62?(t.consume(I),r.interrupt?e:V):n(I)}function x(I){return qe(I)?(t.consume(I),x):O(I)}function E(I){return I===47?(t.consume(I),O):I===58||I===95||dr(I)?(t.consume(I),v):qe(I)?(t.consume(I),E):O(I)}function v(I){return I===45||I===46||I===58||I===95||ur(I)?(t.consume(I),v):j(I)}function j(I){return I===61?(t.consume(I),C):qe(I)?(t.consume(I),j):E(I)}function C(I){return I===null||I===60||I===61||I===62||I===96?n(I):I===34||I===39?(t.consume(I),l=I,P):qe(I)?(t.consume(I),C):z(I)}function P(I){return I===l?(t.consume(I),l=null,N):I===null||he(I)?n(I):(t.consume(I),P)}function z(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||Ot(I)?j(I):(t.consume(I),z)}function N(I){return I===47||I===62||qe(I)?E(I):n(I)}function O(I){return I===62?(t.consume(I),J):n(I)}function J(I){return I===null||he(I)?V(I):qe(I)?(t.consume(I),J):n(I)}function V(I){return I===45&&i===2?(t.consume(I),W):I===60&&i===1?(t.consume(I),X):I===62&&i===4?(t.consume(I),Be):I===63&&i===3?(t.consume(I),S):I===93&&i===5?(t.consume(I),xe):he(I)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(tse,Ie,Y)(I)):I===null||he(I)?(t.exit("htmlFlowData"),Y(I)):(t.consume(I),V)}function Y(I){return t.check(nse,ie,Ie)(I)}function ie(I){return t.enter("lineEnding"),t.consume(I),t.exit("lineEnding"),me}function me(I){return I===null||he(I)?Y(I):(t.enter("htmlFlowData"),V(I))}function W(I){return I===45?(t.consume(I),S):V(I)}function X(I){return I===47?(t.consume(I),a="",te):V(I)}function te(I){if(I===62){let Ye=a.toLowerCase();return l4.includes(Ye)?(t.consume(I),Be):V(I)}return dr(I)&&a.length<8?(t.consume(I),a+=String.fromCharCode(I),te):V(I)}function xe(I){return I===93?(t.consume(I),S):V(I)}function S(I){return I===62?(t.consume(I),Be):I===45&&i===2?(t.consume(I),S):V(I)}function Be(I){return I===null||he(I)?(t.exit("htmlFlowData"),Ie(I)):(t.consume(I),Be)}function Ie(I){return t.exit("htmlFlow"),e(I)}}function ose(t,e,n){let r=this;return i;function i(a){return he(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o):n(a)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function ase(t,e,n){return r;function r(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(Ya,e,n)}}var d4={name:"htmlText",tokenize:sse};function sse(t,e,n){let r=this,i,o,a;return s;function s(S){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(S),l}function l(S){return S===33?(t.consume(S),c):S===47?(t.consume(S),j):S===63?(t.consume(S),E):dr(S)?(t.consume(S),z):n(S)}function c(S){return S===45?(t.consume(S),d):S===91?(t.consume(S),o=0,h):dr(S)?(t.consume(S),x):n(S)}function d(S){return S===45?(t.consume(S),p):n(S)}function u(S){return S===null?n(S):S===45?(t.consume(S),f):he(S)?(a=u,X(S)):(t.consume(S),u)}function f(S){return S===45?(t.consume(S),p):u(S)}function p(S){return S===62?W(S):S===45?f(S):u(S)}function h(S){let Be="CDATA[";return S===Be.charCodeAt(o++)?(t.consume(S),o===Be.length?g:h):n(S)}function g(S){return S===null?n(S):S===93?(t.consume(S),b):he(S)?(a=g,X(S)):(t.consume(S),g)}function b(S){return S===93?(t.consume(S),_):g(S)}function _(S){return S===62?W(S):S===93?(t.consume(S),_):g(S)}function x(S){return S===null||S===62?W(S):he(S)?(a=x,X(S)):(t.consume(S),x)}function E(S){return S===null?n(S):S===63?(t.consume(S),v):he(S)?(a=E,X(S)):(t.consume(S),E)}function v(S){return S===62?W(S):E(S)}function j(S){return dr(S)?(t.consume(S),C):n(S)}function C(S){return S===45||ur(S)?(t.consume(S),C):P(S)}function P(S){return he(S)?(a=P,X(S)):qe(S)?(t.consume(S),P):W(S)}function z(S){return S===45||ur(S)?(t.consume(S),z):S===47||S===62||Ot(S)?N(S):n(S)}function N(S){return S===47?(t.consume(S),W):S===58||S===95||dr(S)?(t.consume(S),O):he(S)?(a=N,X(S)):qe(S)?(t.consume(S),N):W(S)}function O(S){return S===45||S===46||S===58||S===95||ur(S)?(t.consume(S),O):J(S)}function J(S){return S===61?(t.consume(S),V):he(S)?(a=J,X(S)):qe(S)?(t.consume(S),J):N(S)}function V(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(t.consume(S),i=S,Y):he(S)?(a=V,X(S)):qe(S)?(t.consume(S),V):(t.consume(S),ie)}function Y(S){return S===i?(t.consume(S),i=void 0,me):S===null?n(S):he(S)?(a=Y,X(S)):(t.consume(S),Y)}function ie(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||Ot(S)?N(S):(t.consume(S),ie)}function me(S){return S===47||S===62||Ot(S)?N(S):n(S)}function W(S){return S===62?(t.consume(S),t.exit("htmlTextData"),t.exit("htmlText"),e):n(S)}function X(S){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(S),t.exit("lineEnding"),te}function te(S){return qe(S)?Te(t,xe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):xe(S)}function xe(S){return t.enter("htmlTextData"),a(S)}}var Yd={name:"labelEnd",tokenize:pse,resolveTo:fse,resolveAll:use},lse={tokenize:hse},cse={tokenize:mse},dse={tokenize:gse};function use(t){let e=-1;for(;++e=3&&(c===null||he(c))?(t.exit("thematicBreak"),e(c)):n(c)}function l(c){return c===i?(t.consume(c),r++,l):(t.exit("thematicBreakSequence"),qe(c)?Te(t,s,"whitespace")(c):s(c))}}var Zr={name:"list",tokenize:xse,continuation:{tokenize:Cse},exit:Sse},vse={tokenize:Ese,partial:!0},kse={tokenize:Dse,partial:!0};function xse(t,e,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(p){let h=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(h==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:t0(p)){if(r.containerState.type||(r.containerState.type=h,t.enter(h,{_container:!0})),h==="listUnordered")return t.enter("listItemPrefix"),p===42||p===45?t.check(Kd,n,c)(p):c(p);if(!r.interrupt||p===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),l(p)}return n(p)}function l(p){return t0(p)&&++a<10?(t.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(t.exit("listItemValue"),c(p)):n(p)}function c(p){return t.enter("listItemMarker"),t.consume(p),t.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,t.check(Ya,r.interrupt?n:d,t.attempt(vse,f,u))}function d(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function u(p){return qe(p)?(t.enter("listItemPrefixWhitespace"),t.consume(p),t.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(p)}}function Cse(t,e,n){let r=this;return r.containerState._closeFlow=void 0,t.check(Ya,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Te(t,e,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!qe(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,t.attempt(kse,e,a)(s))}function a(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,Te(t,t.attempt(Zr,e,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function Dse(t,e,n){let r=this;return Te(t,i,"listItemIndent",r.containerState.size+1);function i(o){let a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?e(o):n(o)}}function Sse(t){t.exit(this.containerState.type)}function Ese(t,e,n){let r=this;return Te(t,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function i(o){let a=r.events[r.events.length-1];return!qe(o)&&a&&a[1].type==="listItemPrefixWhitespace"?e(o):n(o)}}var d1={name:"setextUnderline",tokenize:Tse,resolveTo:Mse};function Mse(t,e){let n=t.length,r,i,o;for(;n--;)if(t[n][0]==="enter"){if(t[n][1].type==="content"){r=n;break}t[n][1].type==="paragraph"&&(i=n)}else t[n][1].type==="content"&&t.splice(n,1),!o&&t[n][1].type==="definition"&&(o=n);let a={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",o?(t.splice(i,0,["enter",a,e]),t.splice(o+1,0,["exit",t[r][1],e]),t[r][1].end=Object.assign({},t[o][1].end)):t[r][1]=a,t.push(["exit",a,e]),t}function Tse(t,e,n){let r=this,i;return o;function o(c){let d=r.events.length,u;for(;d--;)if(r.events[d][1].type!=="lineEnding"&&r.events[d][1].type!=="linePrefix"&&r.events[d][1].type!=="content"){u=r.events[d][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||u)?(t.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return t.enter("setextHeadingLineSequence"),s(c)}function s(c){return c===i?(t.consume(c),s):(t.exit("setextHeadingLineSequence"),qe(c)?Te(t,l,"lineSuffix")(c):l(c))}function l(c){return c===null||he(c)?(t.exit("setextHeadingLine"),e(c)):n(c)}}var Gj={tokenize:Ase};function Ase(t){let e=this,n=t.attempt(Ya,r,t.attempt(this.parser.constructs.flowInitial,i,Te(t,t.attempt(this.parser.constructs.flow,i,t.attempt(i4,i)),"linePrefix")));return n;function r(o){if(o===null){t.consume(o);return}return t.enter("lineEndingBlank"),t.consume(o),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}function i(o){if(o===null){t.consume(o);return}return t.enter("lineEnding"),t.consume(o),t.exit("lineEnding"),e.currentConstruct=void 0,n}}var Yj={resolveAll:Qj()},Kj=Xj("string"),Zj=Xj("text");function Xj(t){return{tokenize:e,resolveAll:Qj(t==="text"?Ise:void 0)};function e(n){let r=this,i=this.parser.constructs[t],o=n.attempt(i,a,s);return a;function a(d){return c(d)?o(d):s(d)}function s(d){if(d===null){n.consume(d);return}return n.enter("data"),n.consume(d),l}function l(d){return c(d)?(n.exit("data"),o(d)):(n.consume(d),l)}function c(d){if(d===null)return!0;let u=i[d],f=-1;if(u)for(;++f-1){let s=a[0];typeof s=="string"?a[0]=s.slice(r):a.shift()}o>0&&a.push(t[i].slice(0,o))}return a}function Pse(t,e){let n=-1,r=[],i;for(;++nIse,contentInitial:()=>Dse,disable:()=>Ose,document:()=>Cse,flow:()=>Ese,flowInitial:()=>Sse,insideSpan:()=>Ase,string:()=>Mse,text:()=>Tse});var Cse={42:Zr,43:Zr,45:Zr,48:Zr,49:Zr,50:Zr,51:Zr,52:Zr,53:Zr,54:Zr,55:Zr,56:Zr,57:Zr,62:n1},Dse={91:r4},Sse={[-2]:t0,[-1]:t0,32:t0},Ese={35:o4,42:Yd,45:[c1,Yd],60:s4,61:c1,95:Yd,96:o1,126:o1},Mse={38:i1,92:r1},Tse={[-5]:n0,[-4]:n0,[-3]:n0,33:c4,38:i1,42:e0,60:[e4,l4],91:d4,92:[i4,r1],93:Gd,95:e0,96:t4},Ase={null:[e0,Gj]},Ise={null:[42,95]},Ose={null:[]};function f4(t){let n=t1([u4,...(t||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(Lj),document:i(Vj),flow:i(Wj),string:i(Yj),text:i(Kj)};return r;function i(o){return a;function a(s){return Qj(r,o,s)}}}function Jj(t){let e={},n=-1,r,i,o,a,s,l,c;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function nz(t,e){let n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}var Fse=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function d1(t){return t.replace(Fse,Nse)}function Nse(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),o=i===120||i===88;return nz(n.slice(o?2:1),o?16:10)}return As(n)||t}function cc(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?rz(t.position):"start"in t||"end"in t?rz(t):"line"in t||"column"in t?m4(t):""}function m4(t){return iz(t&&t.line)+":"+iz(t&&t.column)}function rz(t){return m4(t&&t.start)+"-"+m4(t&&t.end)}function iz(t){return t&&typeof t=="number"?t:1}var az={}.hasOwnProperty;function g4(t,e,n){return typeof e!="string"&&(n=e,e=void 0),Rse(n)(h4(f4(n).document().write(p4()(t,e,!0))))}function Rse(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(yo),autolinkProtocol:N,autolinkEmail:N,atxHeading:o(Xo),blockQuote:o(Wt),characterEscape:N,characterReference:N,codeFenced:o(Jt),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(Jt,a),codeText:o(or,a),codeTextData:N,data:N,codeFlowValue:N,definition:o(Zi),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(Zo),hardBreakEscape:o(Ia),hardBreakTrailing:o(Ia),htmlFlow:o(Qo,a),htmlFlowData:N,htmlText:o(Qo,a),htmlTextData:N,image:o(Jo),label:a,link:o(yo),listItem:o(ea),listItemValue:f,listOrdered:o(bo,u),listUnordered:o(bo),paragraph:o(Oa),reference:I,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(Xo),strong:o(nd),thematicBreak:o(rd)},exit:{atxHeading:l(),atxHeadingSequence:j,autolink:l(),autolinkEmail:mt,autolinkProtocol:Nt,blockQuote:l(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:Qt,characterReferenceMarkerNumeric:Qt,characterReferenceValue:_r,codeFenced:l(b),codeFencedFence:g,codeFencedFenceInfo:h,codeFencedFenceMeta:p,codeFlowValue:O,codeIndented:l(_),codeText:l(me),codeTextData:O,data:O,definition:l(),definitionDestinationString:v,definitionLabelString:x,definitionTitleString:E,emphasis:l(),hardBreakEscape:l(V),hardBreakTrailing:l(V),htmlFlow:l(G),htmlFlowData:O,htmlText:l(ie),htmlTextData:O,image:l(X),label:_e,labelText:ee,lineEnding:J,link:l(q),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ge,resourceDestinationString:D,resourceTitleString:je,resource:Ie,setextHeading:l(z),setextHeadingLineSequence:P,setextHeadingText:C,strong:l(),thematicBreak:l()}};sz(e,(t||{}).mdastExtensions||[]);let n={};return r;function r($){let he={type:"root",children:[]},et={stack:[he],tokenStack:[],config:e,enter:s,exit:c,buffer:a,resume:d,data:n},xt=[],Gt=-1;for(;++Gt<$.length;)if($[Gt][1].type==="listOrdered"||$[Gt][1].type==="listUnordered")if($[Gt][0]==="enter")xt.push(Gt);else{let Xi=xt.pop();Gt=i($,Xi,Gt)}for(Gt=-1;++Gt<$.length;){let Xi=e[$[Gt][0]];az.call(Xi,$[Gt][1].type)&&Xi[$[Gt][1].type].call(Object.assign({sliceSerialize:$[Gt][2].sliceSerialize},et),$[Gt][1])}if(et.tokenStack.length>0){let Xi=et.tokenStack[et.tokenStack.length-1];(Xi[1]||oz).call(et,void 0,Xi[0])}for(he.position={start:dc($.length>0?$[0][1].start:{line:1,column:1,offset:0}),end:dc($.length>0?$[$.length-2][1].end:{line:1,column:1,offset:0})},Gt=-1;++Gt "),o.shift(2);let a=n.indentLines(n.containerFlow(t,o.current()),Bse);return i(),a}function Bse(t,e,n){return">"+(n?"":" ")+t}function u1(t,e){return fz(t,e.inConstruct,!0)&&!fz(t,e.notInConstruct,!1)}function fz(t,e,n){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return n;let r=-1;for(;++ra&&(a=o):o=1,i=r+e.length,r=n.indexOf(e,i);return a}function r0(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function hz(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function pz(t,e,n,r){let i=hz(n),o=t.value||"",a=i==="`"?"GraveAccent":"Tilde";if(r0(t,n)){let u=n.enter("codeIndented"),f=n.indentLines(o,Vse);return u(),f}let s=n.createTracker(r),l=i.repeat(Math.max(f1(o,i)+1,3)),c=n.enter("codeFenced"),d=s.move(l);if(t.lang){let u=n.enter(`codeFencedLang${a}`);d+=s.move(n.safe(t.lang,S({before:d,after:" ",encode:["`"]},s.current()))),u()}if(t.lang&&t.meta){let u=n.enter(`codeFencedMeta${a}`);d+=s.move(" "),d+=s.move(n.safe(t.meta,S({before:d,after:` +`;break}case-2:{a=e?" ":" ";break}case-1:{if(!e&&i)continue;a=" ";break}default:a=String.fromCharCode(o)}i=o===-2,r.push(a)}return r.join("")}var p4={};S5(p4,{attentionMarkers:()=>Vse,contentInitial:()=>Nse,disable:()=>Use,document:()=>Fse,flow:()=>jse,flowInitial:()=>Rse,insideSpan:()=>Bse,string:()=>zse,text:()=>Lse});var Fse={42:Zr,43:Zr,45:Zr,48:Zr,49:Zr,50:Zr,51:Zr,52:Zr,53:Zr,54:Zr,55:Zr,56:Zr,57:Zr,62:r1},Nse={91:o4},Rse={[-2]:r0,[-1]:r0,32:r0},jse={35:s4,42:Kd,45:[d1,Kd],60:c4,61:d1,95:Kd,96:a1,126:a1},zse={38:o1,92:i1},Lse={[-5]:i0,[-4]:i0,[-3]:i0,33:u4,38:o1,42:n0,60:[n4,d4],91:f4,92:[a4,i1],93:Yd,95:n0,96:r4},Bse={null:[n0,Yj]},Vse={null:[42,95]},Use={null:[]};function h4(t){let n=n1([p4,...(t||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:i(Bj),document:i(Uj),flow:i(Gj),string:i(Kj),text:i(Zj)};return r;function i(o){return a;function a(s){return Jj(r,o,s)}}}function ez(t){let e={},n=-1,r,i,o,a,s,l,c;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}function rz(t,e){let n=Number.parseInt(t,e);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCodePoint(n)}var $se=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function u1(t){return t.replace($se,qse)}function qse(t,e,n){if(e)return e;if(n.charCodeAt(0)===35){let i=n.charCodeAt(1),o=i===120||i===88;return rz(n.slice(o?2:1),o?16:10)}return Ts(n)||t}function lc(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?iz(t.position):"start"in t||"end"in t?iz(t):"line"in t||"column"in t?y4(t):""}function y4(t){return oz(t&&t.line)+":"+oz(t&&t.column)}function iz(t){return y4(t&&t.start)+"-"+y4(t&&t.end)}function oz(t){return t&&typeof t=="number"?t:1}var sz={}.hasOwnProperty;function b4(t,e,n){return typeof e!="string"&&(n=e,e=void 0),Wse(n)(m4(h4(n).document().write(g4()(t,e,!0))))}function Wse(t){let e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(_o),autolinkProtocol:N,autolinkEmail:N,atxHeading:o(Jo),blockQuote:o(Gt),characterEscape:N,characterReference:N,codeFenced:o(en),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:o(en,a),codeText:o(or,a),codeTextData:N,data:N,codeFlowValue:N,definition:o(Zi),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:o(Qo),hardBreakEscape:o(Ia),hardBreakTrailing:o(Ia),htmlFlow:o(ea,a),htmlFlowData:N,htmlText:o(ea,a),htmlTextData:N,image:o(ta),label:a,link:o(_o),listItem:o(na),listItemValue:f,listOrdered:o(wo,u),listUnordered:o(wo),paragraph:o(Oa),reference:I,referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:o(Jo),strong:o(rd),thematicBreak:o(id)},exit:{atxHeading:l(),atxHeadingSequence:j,autolink:l(),autolinkEmail:yt,autolinkProtocol:Nt,blockQuote:l(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:Jt,characterReferenceMarkerNumeric:Jt,characterReferenceValue:wr,codeFenced:l(b),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:h,codeFlowValue:O,codeIndented:l(_),codeText:l(me),codeTextData:O,data:O,definition:l(),definitionDestinationString:v,definitionLabelString:x,definitionTitleString:E,emphasis:l(),hardBreakEscape:l(V),hardBreakTrailing:l(V),htmlFlow:l(Y),htmlFlowData:O,htmlText:l(ie),htmlTextData:O,image:l(X),label:xe,labelText:te,lineEnding:J,link:l(W),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Ye,resourceDestinationString:S,resourceTitleString:Be,resource:Ie,setextHeading:l(z),setextHeadingLineSequence:P,setextHeadingText:C,strong:l(),thematicBreak:l()}};lz(e,(t||{}).mdastExtensions||[]);let n={};return r;function r($){let pe={type:"root",children:[]},tt={stack:[pe],tokenStack:[],config:e,enter:s,exit:c,buffer:a,resume:d,data:n},Ct=[],Yt=-1;for(;++Yt<$.length;)if($[Yt][1].type==="listOrdered"||$[Yt][1].type==="listUnordered")if($[Yt][0]==="enter")Ct.push(Yt);else{let Xi=Ct.pop();Yt=i($,Xi,Yt)}for(Yt=-1;++Yt<$.length;){let Xi=e[$[Yt][0]];sz.call(Xi,$[Yt][1].type)&&Xi[$[Yt][1].type].call(Object.assign({sliceSerialize:$[Yt][2].sliceSerialize},tt),$[Yt][1])}if(tt.tokenStack.length>0){let Xi=tt.tokenStack[tt.tokenStack.length-1];(Xi[1]||az).call(tt,void 0,Xi[0])}for(pe.position={start:cc($.length>0?$[0][1].start:{line:1,column:1,offset:0}),end:cc($.length>0?$[$.length-2][1].end:{line:1,column:1,offset:0})},Yt=-1;++Yt "),o.shift(2);let a=n.indentLines(n.containerFlow(t,o.current()),Zse);return i(),a}function Zse(t,e,n){return">"+(n?"":" ")+t}function f1(t,e){return pz(t,e.inConstruct,!0)&&!pz(t,e.notInConstruct,!1)}function pz(t,e,n){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return n;let r=-1;for(;++ra&&(a=o):o=1,i=r+e.length,r=n.indexOf(e,i);return a}function o0(t,e){return!!(e.options.fences===!1&&t.value&&!t.lang&&/[^ \r\n]/.test(t.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(t.value))}function hz(t){let e=t.options.fence||"`";if(e!=="`"&&e!=="~")throw new Error("Cannot serialize code with `"+e+"` for `options.fence`, expected `` ` `` or `~`");return e}function mz(t,e,n,r){let i=hz(n),o=t.value||"",a=i==="`"?"GraveAccent":"Tilde";if(o0(t,n)){let u=n.enter("codeIndented"),f=n.indentLines(o,Xse);return u(),f}let s=n.createTracker(r),l=i.repeat(Math.max(p1(o,i)+1,3)),c=n.enter("codeFenced"),d=s.move(l);if(t.lang){let u=n.enter(`codeFencedLang${a}`);d+=s.move(n.safe(t.lang,D({before:d,after:" ",encode:["`"]},s.current()))),u()}if(t.lang&&t.meta){let u=n.enter(`codeFencedMeta${a}`);d+=s.move(" "),d+=s.move(n.safe(t.meta,D({before:d,after:` `,encode:["`"]},s.current()))),u()}return d+=s.move(` `),o&&(d+=s.move(o+` -`)),d+=s.move(l),c(),d}function Vse(t,e,n){return(n?"":" ")+t}function Ph(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function mz(t,e,n,r){let i=Ph(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(t),S({before:c,after:"]"},l.current()))),c+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,S({before:c,after:">"},l.current()))),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,S({before:c,after:t.title?" ":` -`},l.current())))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,S({before:c,after:i},l.current()))),c+=l.move(i),s()),a(),c}function gz(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}_4.peek=Use;function _4(t,e,n,r){let i=gz(n),o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);return s+=a.move(n.containerPhrasing(t,S({before:s,after:i},a.current()))),s+=a.move(i),o(),s}function Use(t,e,n){return n.options.emphasis||"*"}var uc=function(t){if(t==null)return Wse;if(typeof t=="function")return h1(t);if(typeof t=="object")return Array.isArray(t)?Hse(t):$se(t);if(typeof t=="string")return qse(t);throw new Error("Expected function, string, or object as test")};function Hse(t){let e=[],n=-1;for(;++n":""))+")"})}return f;function f(){let h=yz,p,g,b;if((!e||o(l,c,d[d.length-1]||void 0))&&(h=Yse(n(l,d)),h[0]===Kd))return h;if("children"in l&&l.children){let _=l;if(_.children&&h[0]!==Zd)for(g=(r?_.children.length:-1)+a,b=d.concat(_);g>-1&&g<_.children.length;){let x=_.children[g];if(p=s(x,g,b)(),p[0]===Kd)return p;g=typeof p[1]=="number"?p[1]:g+a}}return h}}}function Yse(t){return Array.isArray(t)?t:typeof t=="number"?[p1,t]:t==null?yz:[t]}function io(t,e,n,r){let i,o,a;typeof e=="function"&&typeof n!="function"?(o=void 0,a=e,i=n):(o=e,a=n,i=r),i0(t,o,s,i);function s(l,c){let d=c[c.length-1],u=d?d.children.indexOf(l):void 0;return a(l,u,d)}}function m1(t,e){let n=!1;return io(t,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Kd}),!!((!t.depth||t.depth<3)&&Hd(t)&&(e.options.setext||n))}function bz(t,e,n,r){let i=Math.max(Math.min(6,t.depth||1),1),o=n.createTracker(r);if(m1(t,n)){let d=n.enter("headingSetext"),u=n.enter("phrasing"),f=n.containerPhrasing(t,W(S({},o.current()),{before:` +`)),d+=s.move(l),c(),d}function Xse(t,e,n){return(n?"":" ")+t}function Fp(t){let e=t.options.quote||'"';if(e!=='"'&&e!=="'")throw new Error("Cannot serialize title with `"+e+"` for `options.quote`, expected `\"`, or `'`");return e}function gz(t,e,n,r){let i=Fp(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(t),D({before:c,after:"]"},l.current()))),c+=l.move("]: "),s(),!t.url||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,D({before:c,after:">"},l.current()))),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,D({before:c,after:t.title?" ":` +`},l.current())))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,D({before:c,after:i},l.current()))),c+=l.move(i),s()),a(),c}function yz(t){let e=t.options.emphasis||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize emphasis with `"+e+"` for `options.emphasis`, expected `*`, or `_`");return e}v4.peek=Qse;function v4(t,e,n,r){let i=yz(n),o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);return s+=a.move(n.containerPhrasing(t,D({before:s,after:i},a.current()))),s+=a.move(i),o(),s}function Qse(t,e,n){return n.options.emphasis||"*"}var dc=function(t){if(t==null)return nle;if(typeof t=="function")return h1(t);if(typeof t=="object")return Array.isArray(t)?Jse(t):ele(t);if(typeof t=="string")return tle(t);throw new Error("Expected function, string, or object as test")};function Jse(t){let e=[],n=-1;for(;++n":""))+")"})}return f;function f(){let p=bz,h,g,b;if((!e||o(l,c,d[d.length-1]||void 0))&&(p=ile(n(l,d)),p[0]===Zd))return p;if("children"in l&&l.children){let _=l;if(_.children&&p[0]!==Xd)for(g=(r?_.children.length:-1)+a,b=d.concat(_);g>-1&&g<_.children.length;){let x=_.children[g];if(h=s(x,g,b)(),h[0]===Zd)return h;g=typeof h[1]=="number"?h[1]:g+a}}return p}}}function ile(t){return Array.isArray(t)?t:typeof t=="number"?[m1,t]:t==null?bz:[t]}function oo(t,e,n,r){let i,o,a;typeof e=="function"&&typeof n!="function"?(o=void 0,a=e,i=n):(o=e,a=n,i=r),a0(t,o,s,i);function s(l,c){let d=c[c.length-1],u=d?d.children.indexOf(l):void 0;return a(l,u,d)}}function g1(t,e){let n=!1;return oo(t,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Zd}),!!((!t.depth||t.depth<3)&&$d(t)&&(e.options.setext||n))}function _z(t,e,n,r){let i=Math.max(Math.min(6,t.depth||1),1),o=n.createTracker(r);if(g1(t,n)){let d=n.enter("headingSetext"),u=n.enter("phrasing"),f=n.containerPhrasing(t,q(D({},o.current()),{before:` `,after:` `}));return u(),d(),f+` `+(i===1?"=":"-").repeat(f.length-(Math.max(f.lastIndexOf("\r"),f.lastIndexOf(` -`))+1))}let a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(t,S({before:"# ",after:` -`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c}w4.peek=Kse;function w4(t){return t.value||""}function Kse(){return"<"}v4.peek=Zse;function v4(t,e,n,r){let i=Ph(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("image"),s=n.enter("label"),l=n.createTracker(r),c=l.move("![");return c+=l.move(n.safe(t.alt,S({before:c,after:"]"},l.current()))),c+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,S({before:c,after:">"},l.current()))),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,S({before:c,after:t.title?" ":")"},l.current())))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,S({before:c,after:i},l.current()))),c+=l.move(i),s()),c+=l.move(")"),a(),c}function Zse(){return"!"}k4.peek=Xse;function k4(t,e,n,r){let i=t.referenceType,o=n.enter("imageReference"),a=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(t.alt,S({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let d=n.stack;n.stack=[],a=n.enter("reference");let u=n.safe(n.associationId(t),S({before:l,after:"]"},s.current()));return a(),n.stack=d,o(),i==="full"||!c||c!==u?l+=s.move(u+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function Xse(){return"!"}x4.peek=Qse;function x4(t,e,n){let r=t.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(t.url))}D4.peek=Jse;function D4(t,e,n,r){let i=Ph(n),o=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r),s,l;if(C4(t,n)){let d=n.stack;n.stack=[],s=n.enter("autolink");let u=a.move("<");return u+=a.move(n.containerPhrasing(t,S({before:u,after:">"},a.current()))),u+=a.move(">"),s(),n.stack=d,u}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(t,S({before:c,after:"]("},a.current()))),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(t.url,S({before:c,after:">"},a.current()))),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(t.url,S({before:c,after:t.title?" ":")"},a.current())))),l(),t.title&&(l=n.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(n.safe(t.title,S({before:c,after:i},a.current()))),c+=a.move(i),l()),c+=a.move(")"),s(),c}function Jse(t,e,n){return C4(t,n)?"<":"["}S4.peek=ele;function S4(t,e,n,r){let i=t.referenceType,o=n.enter("linkReference"),a=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(t,S({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let d=n.stack;n.stack=[],a=n.enter("reference");let u=n.safe(n.associationId(t),S({before:l,after:"]"},s.current()));return a(),n.stack=d,o(),i==="full"||!c||c!==u?l+=s.move(u+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function ele(){return"["}function Fh(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function _z(t){let e=Fh(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function wz(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function g1(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function vz(t,e,n,r){let i=n.enter("list"),o=n.bulletCurrent,a=t.ordered?wz(n):Fh(n),s=t.ordered?a==="."?")":".":_z(n),l=e&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!t.ordered){let d=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),g1(n)===a&&d){let u=-1;for(;++u-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);let s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,s.current()),d);return l(),c;function d(u,f,h){return f?(h?"":" ".repeat(a))+u:(h?o:o+" ".repeat(a-o.length))+u}}function Cz(t,e,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(t,r);return o(),i(),a}var E4=uc(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function Dz(t,e,n,r){return(t.children.some(function(a){return E4(a)})?n.containerPhrasing:n.containerFlow).call(n,t,r)}function Sz(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}M4.peek=tle;function M4(t,e,n,r){let i=Sz(n),o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);return s+=a.move(n.containerPhrasing(t,S({before:s,after:i},a.current()))),s+=a.move(i+i),o(),s}function tle(t,e,n){return n.options.strong||"*"}function Ez(t,e,n,r){return n.safe(t.value,r)}function Mz(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function Tz(t,e,n){let r=(g1(n)+(n.options.ruleSpaces?" ":"")).repeat(Mz(n));return n.options.ruleSpaces?r.slice(0,-1):r}var Xd={blockquote:uz,break:b4,code:pz,definition:mz,emphasis:_4,hardBreak:b4,heading:bz,html:w4,image:v4,imageReference:k4,inlineCode:x4,link:D4,linkReference:S4,list:vz,listItem:xz,paragraph:Cz,root:Dz,strong:M4,text:Ez,thematicBreak:Tz};var Az=[nle];function nle(t,e,n,r){if(e.type==="code"&&r0(e,r)&&(t.type==="list"||t.type===e.type&&r0(t,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return t.type==="paragraph"&&(t.type===e.type||e.type==="definition"||e.type==="heading"&&m1(e,r))?void 0:n.spread?1:0}var Qd=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Iz=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:` -`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Qd},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r -]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Qd},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r -*])`},{character:"*",inConstruct:"phrasing",notInConstruct:Qd},{atBreak:!0,character:"+",after:`(?:[ \r +`))+1))}let a="#".repeat(i),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(a+" ");let c=n.containerPhrasing(t,D({before:"# ",after:` +`},o.current()));return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),s(),c}k4.peek=ole;function k4(t){return t.value||""}function ole(){return"<"}x4.peek=ale;function x4(t,e,n,r){let i=Fp(n),o=i==='"'?"Quote":"Apostrophe",a=n.enter("image"),s=n.enter("label"),l=n.createTracker(r),c=l.move("![");return c+=l.move(n.safe(t.alt,D({before:c,after:"]"},l.current()))),c+=l.move("]("),s(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(t.url,D({before:c,after:">"},l.current()))),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(t.url,D({before:c,after:t.title?" ":")"},l.current())))),s(),t.title&&(s=n.enter(`title${o}`),c+=l.move(" "+i),c+=l.move(n.safe(t.title,D({before:c,after:i},l.current()))),c+=l.move(i),s()),c+=l.move(")"),a(),c}function ale(){return"!"}C4.peek=sle;function C4(t,e,n,r){let i=t.referenceType,o=n.enter("imageReference"),a=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(t.alt,D({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let d=n.stack;n.stack=[],a=n.enter("reference");let u=n.safe(n.associationId(t),D({before:l,after:"]"},s.current()));return a(),n.stack=d,o(),i==="full"||!c||c!==u?l+=s.move(u+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function sle(){return"!"}D4.peek=lle;function D4(t,e,n){let r=t.value||"",i="`",o=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(t.url))}E4.peek=cle;function E4(t,e,n,r){let i=Fp(n),o=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r),s,l;if(S4(t,n)){let d=n.stack;n.stack=[],s=n.enter("autolink");let u=a.move("<");return u+=a.move(n.containerPhrasing(t,D({before:u,after:">"},a.current()))),u+=a.move(">"),s(),n.stack=d,u}s=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(t,D({before:c,after:"]("},a.current()))),c+=a.move("]("),l(),!t.url&&t.title||/[\0- \u007F]/.test(t.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(t.url,D({before:c,after:">"},a.current()))),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(t.url,D({before:c,after:t.title?" ":")"},a.current())))),l(),t.title&&(l=n.enter(`title${o}`),c+=a.move(" "+i),c+=a.move(n.safe(t.title,D({before:c,after:i},a.current()))),c+=a.move(i),l()),c+=a.move(")"),s(),c}function cle(t,e,n){return S4(t,n)?"<":"["}M4.peek=dle;function M4(t,e,n,r){let i=t.referenceType,o=n.enter("linkReference"),a=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(t,D({before:l,after:"]"},s.current()));l+=s.move(c+"]["),a();let d=n.stack;n.stack=[],a=n.enter("reference");let u=n.safe(n.associationId(t),D({before:l,after:"]"},s.current()));return a(),n.stack=d,o(),i==="full"||!c||c!==u?l+=s.move(u+"]"):i==="shortcut"?l=l.slice(0,-1):l+=s.move("]"),l}function dle(){return"["}function Np(t){let e=t.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function wz(t){let e=Np(t),n=t.options.bulletOther;if(!n)return e==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+n+"`) to be different");return n}function vz(t){let e=t.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function y1(t){let e=t.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function kz(t,e,n,r){let i=n.enter("list"),o=n.bulletCurrent,a=t.ordered?vz(n):Np(n),s=t.ordered?a==="."?")":".":wz(n),l=e&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!t.ordered){let d=t.children?t.children[0]:void 0;if((a==="*"||a==="-")&&d&&(!d.children||!d.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),y1(n)===a&&d){let u=-1;for(;++u-1?e.start:1)+(n.options.incrementListMarker===!1?0:e.children.indexOf(t))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(e&&e.type==="list"&&e.spread||t.spread))&&(a=Math.ceil(a/4)*4);let s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(t,s.current()),d);return l(),c;function d(u,f,p){return f?(p?"":" ".repeat(a))+u:(p?o:o+" ".repeat(a-o.length))+u}}function Dz(t,e,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),a=n.containerPhrasing(t,r);return o(),i(),a}var T4=dc(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","link","linkReference","strong","text"]);function Sz(t,e,n,r){return(t.children.some(function(a){return T4(a)})?n.containerPhrasing:n.containerFlow).call(n,t,r)}function Ez(t){let e=t.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}A4.peek=ule;function A4(t,e,n,r){let i=Ez(n),o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);return s+=a.move(n.containerPhrasing(t,D({before:s,after:i},a.current()))),s+=a.move(i+i),o(),s}function ule(t,e,n){return n.options.strong||"*"}function Mz(t,e,n,r){return n.safe(t.value,r)}function Tz(t){let e=t.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function Az(t,e,n){let r=(y1(n)+(n.options.ruleSpaces?" ":"")).repeat(Tz(n));return n.options.ruleSpaces?r.slice(0,-1):r}var Qd={blockquote:fz,break:w4,code:mz,definition:gz,emphasis:v4,hardBreak:w4,heading:_z,html:k4,image:x4,imageReference:C4,inlineCode:D4,link:E4,linkReference:M4,list:kz,listItem:Cz,paragraph:Dz,root:Sz,strong:A4,text:Mz,thematicBreak:Az};var Iz=[fle];function fle(t,e,n,r){if(e.type==="code"&&o0(e,r)&&(t.type==="list"||t.type===e.type&&o0(t,r)))return!1;if("spread"in n&&typeof n.spread=="boolean")return t.type==="paragraph"&&(t.type===e.type||e.type==="definition"||e.type==="heading"&&g1(e,r))?void 0:n.spread?1:0}var Jd=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Oz=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:` +`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Jd},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r +]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Jd},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r +*])`},{character:"*",inConstruct:"phrasing",notInConstruct:Jd},{atBreak:!0,character:"+",after:`(?:[ \r ])`},{atBreak:!0,character:"-",after:`(?:[ \r -])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r -]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Qd},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Qd},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Qd},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Qd},{atBreak:!0,character:"~"}];function Oz(t){return t.label||!t.identifier?t.label||"":d1(t.identifier)}function Pz(t){if(!t._compiled){let e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Fz(t,e,n){let r=e.indexStack,i=t.children||[],o=[],a=-1,s=n.before;r.push(-1);let l=e.createTracker(n);for(;++a0&&(s==="\r"||s===` -`)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=e.createTracker(n),l.move(o.join(""))),o.push(l.move(e.handle(c,t,e,W(S({},l.current()),{before:s,after:d})))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}function Nz(t,e,n){let r=e.indexStack,i=t.children||[],o=e.createTracker(n),a=[],s=-1;for(r.push(-1);++s"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Jd},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Jd},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Jd},{atBreak:!0,character:"~"}];function Pz(t){return t.label||!t.identifier?t.label||"":u1(t.identifier)}function Fz(t){if(!t._compiled){let e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function Nz(t,e,n){let r=e.indexStack,i=t.children||[],o=[],a=-1,s=n.before;r.push(-1);let l=e.createTracker(n);for(;++a0&&(s==="\r"||s===` +`)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=e.createTracker(n),l.move(o.join(""))),o.push(l.move(e.handle(c,t,e,q(D({},l.current()),{before:s,after:d})))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}function Rz(t,e,n){let r=e.indexStack,i=t.children||[],o=e.createTracker(n),a=[],s=-1;for(r.push(-1);++s `}return` -`}var ile=/\r?\n|\r/g;function Rz(t,e){let n=[],r=0,i=0,o;for(;o=ile.exec(t);)a(t.slice(r,o.index)),n.push(o[0]),r=o.index+o[0].length,i++;return a(t.slice(r)),n.join("");function a(s){n.push(e(s,i,!s))}}function zz(t,e,n){let r=(n.before||"")+(e||"")+(n.after||""),i=[],o=[],a={},s=-1;for(;++s=c||d+1=c||d+1a.length,l;s&&a.push(i);try{l=t.apply(this,a)}catch(c){let d=c;if(s&&n)throw d;return i(d)}s||(l instanceof Promise?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,e(a,...s))}function o(a){i(null,a)}}var Dr=class extends Error{constructor(e,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o=S({},n)),typeof e=="string"?i=e:!o.cause&&e&&(a=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof r=="string"){let l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=cc(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};Dr.prototype.file="";Dr.prototype.name="";Dr.prototype.reason="";Dr.prototype.message="";Dr.prototype.stack="";Dr.prototype.column=void 0;Dr.prototype.line=void 0;Dr.prototype.ancestors=void 0;Dr.prototype.cause=void 0;Dr.prototype.fatal=void 0;Dr.prototype.place=void 0;Dr.prototype.ruleId=void 0;Dr.prototype.source=void 0;var ua={basename:hle,dirname:ple,extname:mle,join:gle,sep:"/"};function hle(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');a0(t);let n=0,r=-1,i=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":t.slice(n,r)}if(e===t)return"";let a=-1,s=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(t.codePointAt(i)===e.codePointAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=t.length),t.slice(n,r)}function ple(t){if(a0(t),t.length===0)return".";let e=-1,n=t.length,r;for(;--n;)if(t.codePointAt(n)===47){if(r){e=n;break}}else r||(r=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function mle(t){a0(t);let e=t.length,n=-1,r=0,i=-1,o=0,a;for(;e--;){let s=t.codePointAt(e);if(s===47){if(a){r=e+1;break}continue}n<0&&(a=!0,n=e+1),s===46?i<0?i=e:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":t.slice(i,n)}function gle(...t){let e=-1,n;for(;++e0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function ble(t,e){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}e&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function a0(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var Zz={cwd:_le};function _le(){return"/"}function Rh(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function Xz(t){if(typeof t=="string")t=new URL(t);else if(!Rh(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return wle(t)}function wle(t){if(t.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let e=t.pathname,n=-1;for(;++n0){let[h,...p]=d,g=r[f][1];o0(g)&&o0(h)&&(h=(0,_1.default)(!0,g,h)),r[f]=[c,h,...p]}}}},l0=new j4().freeze();function F4(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function N4(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function R4(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function e9(t){if(!o0(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function t9(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function b1(t){return xle(t)?t:new s0(t)}function xle(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Cle(t){return typeof t=="string"||Dle(t)}function Dle(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var r9=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},zt=(t,e,n)=>(r9(t,e,"read from private field"),n?n.call(t):e.get(t)),ur=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},xn=(t,e,n,r)=>(r9(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),M1=class{},T1=class{constructor(){this.elements=[],this.size=()=>this.elements.length,this.top=()=>this.elements.at(-1),this.push=e=>{var n;(n=this.top())==null||n.push(e)},this.open=e=>{this.elements.push(e)},this.close=()=>{let e=this.elements.pop();if(!e)throw jM();return e}}},z4=class t extends M1{constructor(e,n,r){super(),this.type=e,this.content=n,this.attrs=r}push(e,...n){this.content.push(e,...n)}pop(){return this.content.pop()}static create(e,n,r){return new t(e,n,r)}},Ka,c0,w1,v1,k1,d0,u0,L4=class extends T1{constructor(e){super(),ur(this,Ka,void 0),ur(this,c0,void 0),ur(this,w1,void 0),ur(this,v1,void 0),ur(this,k1,void 0),ur(this,d0,void 0),ur(this,u0,void 0),xn(this,Ka,jt.none),xn(this,c0,n=>n.isText),xn(this,w1,(n,r)=>{if(zt(this,c0).call(this,n)&&zt(this,c0).call(this,r)&&jt.sameSet(n.marks,r.marks))return this.schema.text(n.text+r.text,n.marks)}),xn(this,v1,n=>{let r=Object.values(S(S({},this.schema.nodes),this.schema.marks)).find(i=>i.spec.parseMarkdown.match(n));if(!r)throw oj(n);return r}),xn(this,k1,n=>{let r=zt(this,v1).call(this,n);r.spec.parseMarkdown.runner(this,n,r)}),this.injectRoot=(n,r,i)=>(this.openNode(r,i),this.next(n.children),this),this.openNode=(n,r)=>(this.open(z4.create(n,[],r)),this),xn(this,d0,()=>{xn(this,Ka,jt.none);let n=this.close();return zt(this,u0).call(this,n.type,n.attrs,n.content)}),this.closeNode=()=>(zt(this,d0).call(this),this),xn(this,u0,(n,r,i)=>{let o=n.createAndFill(r,i,zt(this,Ka));if(!o)throw ij(n,r,i);return this.push(o),o}),this.addNode=(n,r,i)=>(zt(this,u0).call(this,n,r,i),this),this.openMark=(n,r)=>{let i=n.create(r);return xn(this,Ka,i.addToSet(zt(this,Ka))),this},this.closeMark=n=>(xn(this,Ka,n.removeFromSet(zt(this,Ka))),this),this.addText=n=>{let r=this.top();if(!r)throw jM();let i=r.pop(),o=this.schema.text(n,zt(this,Ka));if(!i)return r.push(o),this;let a=zt(this,w1).call(this,i,o);return a?(r.push(a),this):(r.push(i,o),this)},this.build=()=>{let n;do n=zt(this,d0).call(this);while(this.size());return n},this.next=(n=[])=>([n].flat().forEach(r=>zt(this,k1).call(this,r)),this),this.toDoc=()=>this.build(),this.run=(n,r)=>{let i=n.runSync(n.parse(r),r);return this.next(i),this},this.schema=e}};Ka=new WeakMap,c0=new WeakMap,w1=new WeakMap,v1=new WeakMap,k1=new WeakMap,d0=new WeakMap,u0=new WeakMap,L4.create=(t,e)=>{let n=new L4(t);return r=>(n.run(e,r),n.toDoc())};var i9=L4,Sle=(()=>{let t=class extends M1{constructor(n,r,i,o={}){super(),this.type=n,this.children=r,this.value=i,this.props=o,this.push=(a,...s)=>{this.children||(this.children=[]),this.children.push(a,...s)},this.pop=()=>{var a;return(a=this.children)==null?void 0:a.pop()}}};return t.create=(e,n,r,i={})=>new t(e,n,r,i),t})(),n9=Sle,Ele=t=>Object.prototype.hasOwnProperty.call(t,"size"),$s,f0,x1,C1,h0,D1,p0,S1,jh,m0,E1,g0,B4=class extends T1{constructor(e){super(),ur(this,$s,void 0),ur(this,f0,void 0),ur(this,x1,void 0),ur(this,C1,void 0),ur(this,h0,void 0),ur(this,D1,void 0),ur(this,p0,void 0),ur(this,S1,void 0),ur(this,jh,void 0),ur(this,m0,void 0),ur(this,E1,void 0),ur(this,g0,void 0),xn(this,$s,jt.none),xn(this,f0,n=>{let r=Object.values(S(S({},this.schema.nodes),this.schema.marks)).find(i=>i.spec.toMarkdown.match(n));if(!r)throw aj(n.type);return r}),xn(this,x1,n=>zt(this,f0).call(this,n).spec.toMarkdown.runner(this,n)),xn(this,C1,(n,r)=>zt(this,f0).call(this,n).spec.toMarkdown.runner(this,n,r)),xn(this,h0,n=>{let{marks:r}=n,i=o=>o.type.spec.priority??50;[...r].sort((o,a)=>i(o)-i(a)).every(o=>!zt(this,C1).call(this,o,n))&&zt(this,x1).call(this,n),r.forEach(o=>zt(this,g0).call(this,o))}),xn(this,D1,(n,r)=>{var i;if(n.type===r||((i=n.children)==null?void 0:i.length)!==1)return n;let o=c=>{var d;if(c.type===r)return c;if(((d=c.children)==null?void 0:d.length)!==1)return null;let[u]=c.children;return u?o(u):null},a=o(n);if(!a)return n;let s=a.children?[...a.children]:void 0,l=W(S({},n),{children:s});return l.children=s,a.children=[l],a}),xn(this,p0,n=>{let{children:r}=n;return r&&(n.children=r.reduce((i,o,a)=>{if(a===0)return[o];let s=i.at(-1);if(s&&s.isMark&&o.isMark){o=zt(this,D1).call(this,o,s.type);let l=o,{children:d}=l,u=y_(l,["children"]),c=s,{children:f}=c,h=y_(c,["children"]);if(o.type===s.type&&d&&f&&JSON.stringify(u)===JSON.stringify(h)){let p=W(S({},h),{children:[...f,...d]});return i.slice(0,-1).concat(zt(this,p0).call(this,p))}}return i.concat(o)},[])),n}),xn(this,S1,n=>{let r=W(S({},n.props),{type:n.type});return n.children&&(r.children=n.children),n.value&&(r.value=n.value),r}),this.openNode=(n,r,i)=>(this.open(n9.create(n,void 0,r,i)),this),xn(this,jh,()=>{let n=this.close();return zt(this,m0).call(this,n.type,n.children,n.value,n.props)}),this.closeNode=()=>(zt(this,jh).call(this),this),xn(this,m0,(n,r,i,o)=>{let a=n9.create(n,r,i,o),s=zt(this,p0).call(this,zt(this,S1).call(this,a));return this.push(s),s}),this.addNode=(n,r,i,o)=>(zt(this,m0).call(this,n,r,i,o),this),xn(this,E1,(n,r,i,o)=>n.isInSet(zt(this,$s))?this:(xn(this,$s,n.addToSet(zt(this,$s))),this.openNode(r,i,W(S({},o),{isMark:!0})))),xn(this,g0,n=>{n.isInSet(zt(this,$s))&&(xn(this,$s,n.type.removeFromSet(zt(this,$s))),zt(this,jh).call(this))}),this.withMark=(n,r,i,o)=>(zt(this,E1).call(this,n,r,i,o),this),this.closeMark=n=>(zt(this,g0).call(this,n),this),this.build=()=>{let n=null;do n=zt(this,jh).call(this);while(this.size());return n},this.next=n=>Ele(n)?(n.forEach(r=>{zt(this,h0).call(this,r)}),this):(zt(this,h0).call(this,n),this),this.toString=n=>n.stringify(this.build()),this.run=n=>(this.next(n),this),this.schema=e}};$s=new WeakMap,f0=new WeakMap,x1=new WeakMap,C1=new WeakMap,h0=new WeakMap,D1=new WeakMap,p0=new WeakMap,S1=new WeakMap,jh=new WeakMap,m0=new WeakMap,E1=new WeakMap,g0=new WeakMap,B4.create=(t,e)=>{let n=new B4(t);return r=>(n.run(r),n.toString(e))};var o9=B4;var l9=65535,c9=Math.pow(2,16);function Mle(t,e){return t+e*c9}function a9(t){return t&l9}function Tle(t){return(t-(t&l9))/c9}var d9=1,u9=2,A1=4,f9=8,_0=class{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&f9)>0}get deletedBefore(){return(this.delInfo&(d9|A1))>0}get deletedAfter(){return(this.delInfo&(u9|A1))>0}get deletedAcross(){return(this.delInfo&A1)>0}},qs=class t{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&t.empty)return t.empty}recover(e){let n=0,r=a9(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[s+o],d=this.ranges[s+a],u=l+c;if(e<=u){let f=c?e==l?-1:e==u?1:n:n,h=l+i+(f<0?0:d);if(r)return h;let p=e==(n<0?l:u)?null:Mle(s/3,e-l),g=e==l?u9:e==u?d9:A1;return(n<0?e!=l:e!=u)&&(g|=f9),new _0(h,g,p)}i+=d-c}return r?e+i:new _0(e+i,0,null)}touches(e,n){let r=0,i=a9(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;se)break;let c=this.ranges[s+o],d=l+c;if(e<=d&&s==i*3)return!0;r+=this.ranges[s+a]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new t;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ro&&l!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return Rr.fromReplace(e,this.from,this.to,o)}invert(){return new eu(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new t(n.pos,r.pos,this.mark)}merge(e){return e instanceof t&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new t(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new t(n.from,n.to,e.markFromJSON(n.mark))}};Sr.jsonID("addMark",Jd);var eu=class t extends Sr{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new ce(W4(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return Rr.fromReplace(e,this.from,this.to,r)}invert(){return new Jd(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new t(n.pos,r.pos,this.mark)}merge(e){return e instanceof t&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new t(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new t(n.from,n.to,e.markFromJSON(n.mark))}};Sr.jsonID("removeMark",eu);var v0=class t extends Sr{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Rr.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Rr.fromReplace(e,this.pos,this.pos+1,new ce(Z.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new t(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new t(n.from,n.to,n.gapFrom,n.gapTo,ce.fromJSON(e,n.slice),n.insert,!!n.structure)}};Sr.jsonID("replaceAround",jr);function $4(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function Ale(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(l,c,d)=>{if(!l.isInline)return;let u=l.marks;if(!r.isInSet(u)&&d.type.allowsMarkType(r.type)){let f=Math.max(c,e),h=Math.min(c+l.nodeSize,n),p=r.addToSet(u);for(let g=0;gt.step(l)),o.forEach(l=>t.step(l))}function Ile(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof Qg){let c=a.marks,d;for(;d=r.isInSet(c);)(l||(l=[])).push(d),c=d.removeFromSet(c)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,n);for(let d=0;dt.step(new eu(a.from,a.to,a.style)))}function Ole(t,e,n,r=n.contentMatch){let i=t.doc.nodeAt(e),o=[],a=e+1;for(let s=0;s=0;s--)t.step(o[s])}function Ple(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Bh(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),o=t.$from.index(r),a=t.$to.indexAfter(r);if(rn;p--)g||r.index(p)>0?(g=!0,d=Z.from(r.node(p).copy(d)),u++):l--;let f=Z.empty,h=0;for(let p=o,g=!1;p>n;p--)g||i.after(p+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=Z.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new jr(i,o,i,o,new ce(r,0,0),n.length,!0))}function zle(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,i)&&Lle(t.doc,t.mapping.slice(o).map(s),r)){t.clearIncompatible(t.mapping.slice(o).map(s,1),r);let l=t.mapping.slice(o),c=l.map(s,1),d=l.map(s+a.nodeSize,1);return t.step(new jr(c,d,c+1,d-1,new ce(Z.from(r.create(i,null,a.marks)),0,0),1,!0)),!1}})}function Lle(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function Ble(t,e,n,r,i){let o=t.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new jr(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new ce(Z.from(a),0,0),1,!0))}function tu(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,d=n-2;c>o;c--,d--){let u=i.node(c),f=i.index(c);if(u.type.spec.isolating)return!1;let h=u.content.cutByIndex(f,u.childCount),p=r&&r[d+1];p&&(h=h.replaceChild(0,p.type.create(p.attrs)));let g=r&&r[d]||u;if(!u.canReplace(f+1,u.childCount)||!g.type.validContent(h))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function Vle(t,e,n=1,r){let i=t.doc.resolve(e),o=Z.empty,a=Z.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=Z.from(i.node(s).copy(o));let d=r&&r[c];a=Z.from(d?d.type.create(d.attrs,a):i.node(s).copy(a))}t.step(new pi(e,e,new ce(o.append(a),n,n),!0))}function nu(t,e){let n=t.resolve(e),r=n.index();return Ule(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function Ule(t,e){return!!(t&&e&&!t.isLeaf&&t.canAppend(e))}function Hle(t,e,n){let r=new pi(e-n,e+n,ce.empty,!0);t.step(r)}function $le(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,l=r.index(a)+(s>0?1:0),c=r.node(a),d=!1;if(o==1)d=c.canReplace(l,l,i);else{let u=c.contentMatchAt(l).findWrapping(i.firstChild.type);d=u&&c.canReplaceWith(l,l,u[0])}if(d)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function P1(t,e,n=e,r=ce.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return h9(i,o,r)?new pi(e,n,r):new q4(i,o,r).fit()}function h9(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}var q4=class{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=Z.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=Z.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let l=new ce(o,a,s);return e>-1?new jr(r.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new pi(r.pos,i.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=U4(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:c}=this.frontier[s],d,u=null;if(n==1&&(a?c.matchType(a.type)||(u=c.fillBefore(Z.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:u};if(n==2&&a&&(d=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:d};if(o&&c.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=U4(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new ce(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=U4(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new ce(y0(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new ce(y0(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let g=0;g1||l==0||g.content.size)&&(u=b,d.push(p9(g.mark(f.allowedMarks(g.marks)),c==1?l:0,c==s.childCount?h:-1)))}let p=c==s.childCount;p||(h=-1),this.placed=b0(this.placed,n,Z.from(d)),this.frontier[n].match=u,p&&h<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,b=s;g1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n=0;s--){let{match:l,type:c}=this.frontier[s],d=H4(e,s,c,l,!0);if(!d||d.childCount)continue e}return{depth:n,fit:a,move:o?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=b0(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=b0(this.placed,this.depth,Z.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(Z.empty,!0);n.childCount&&(this.placed=b0(this.placed,this.frontier.length,n))}};function y0(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(y0(t.firstChild.content,e-1,n)))}function b0(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(b0(t.lastChild.content,e-1,n)))}function U4(t,e){for(let n=0;n1&&(r=r.replaceChild(0,p9(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(Z.empty,!0)))),t.copy(r)}function H4(t,e,n,r,i){let o=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!qle(n,o.content,a)?s:null}function qle(t,e,n){for(let r=n;r0;f--,h--){let p=i.node(f).type.spec;if(p.defining||p.definingAsContext||p.isolating)break;a.indexOf(f)>-1?s=f:i.before(f)==h&&a.splice(1,0,-f)}let l=a.indexOf(s),c=[],d=r.openStart;for(let f=r.content,h=0;;h++){let p=f.firstChild;if(c.push(p),h==r.openStart)break;f=p.content}for(let f=d-1;f>=0;f--){let h=c[f],p=Wle(h.type);if(p&&!h.sameMarkup(i.node(Math.abs(s)-1)))d=f;else if(p||!h.type.isTextblock)break}for(let f=r.openStart;f>=0;f--){let h=(f+d+1)%(r.openStart+1),p=c[h];if(p)for(let g=0;g=0&&(t.replace(e,n,r),!(t.steps.length>u));f--){let h=a[f];h<0||(e=i.before(h),n=o.after(h))}}function m9(t,e,n,r,i){if(er){let o=i.contentMatchAt(0),a=o.fillBefore(t).append(t);t=a.append(o.matchFragment(a).fillBefore(Z.empty,!0))}return t}function Yle(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=$le(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new ce(Z.from(r),0,0))}function Kle(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=g9(r,i);for(let a=0;a0&&(l||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return t.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a)return t.delete(r.before(a),n);t.delete(e,n)}function g9(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let o=t.start(i);if(oe.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&n.push(i)}return n}var I1=class t extends Sr{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return Rr.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return Rr.fromReplace(e,this.pos,this.pos+1,new ce(Z.from(i),0,n.isLeaf?0:1))}getMap(){return qs.empty}invert(e){return new t(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new t(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new t(n.pos,n.attr,n.value)}};Sr.jsonID("attr",I1);var O1=class t extends Sr{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return Rr.ok(r)}getMap(){return qs.empty}invert(e){return new t(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new t(n.attr,n.value)}};Sr.jsonID("docAttr",O1);var zh=class extends Error{};zh=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};zh.prototype=Object.create(Error.prototype);zh.prototype.constructor=zh;zh.prototype.name="TransformError";var Lh=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new w0}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new zh(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=ce.empty){let i=P1(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new ce(Z.from(r),0,0))}delete(e,n){return this.replace(e,n,ce.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return Gle(this,e,n,r),this}replaceRangeWith(e,n,r){return Yle(this,e,n,r),this}deleteRange(e,n){return Kle(this,e,n),this}lift(e,n){return Fle(this,e,n),this}join(e,n=1){return Hle(this,e,n),this}wrap(e,n){return jle(this,e,n),this}setBlockType(e,n=e,r,i=null){return zle(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return Ble(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new I1(e,n,r)),this}setDocAttribute(e,n){return this.step(new O1(e,n)),this}addNodeMark(e,n){return this.step(new v0(e,n)),this}removeNodeMark(e,n){if(!(n instanceof jt)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new k0(e,n)),this}split(e,n=1,r){return Vle(this,e,n,r),this}addMark(e,n,r){return Ale(this,e,n,r),this}removeMark(e,n,r){return Ile(this,e,n,r),this}clearIncompatible(e,n,r){return Ole(this,e,n,r),this}};var G4=Object.create(null),Pe=class{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new D0(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;o--){let a=n<0?Uh(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):Uh(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new mi(e.node(0))}static atStart(e){return Uh(e,e,0,0,1)||new mi(e)}static atEnd(e){return Uh(e,e,e.content.size,e.childCount,-1)||new mi(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=G4[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in G4)throw new RangeError("Duplicate use of selection JSON ID "+e);return G4[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Ne.between(this.$anchor,this.$head).getBookmark()}};Pe.prototype.visible=!0;var D0=class{constructor(e,n){this.$from=e,this.$to=n}},y9=!1;function b9(t){!y9&&!t.parent.inlineContent&&(y9=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}var Ne=class t extends Pe{constructor(e,n=e){b9(e),b9(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Pe.near(r);let i=e.resolve(n.map(this.anchor));return new t(i.parent.inlineContent?i:r,r)}replace(e,n=ce.empty){if(super.replace(e,n),n==ce.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof t&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new N1(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new t(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=Pe.findFrom(n,r,!0)||Pe.findFrom(n,-r,!0);if(o)n=o.$head;else return Pe.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(Pe.findFrom(e,-r,!0)||Pe.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let s=e.child(a);if(s.isAtom){if(!o&&Le.isSelectable(s))return Le.create(t,n-(i<0?s.nodeSize:0))}else{let l=Uh(t,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function _9(t,e,n){let r=t.steps.length-1;if(r{a==null&&(a=d)}),t.setSelection(Pe.near(t.doc.resolve(a),n))}var w9=1,F1=2,v9=4,Z4=class extends Lh{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=F1,this}ensureMarks(e){return jt.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&F1)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~F1,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||jt.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,o)),this.selection.empty||this.setSelection(Pe.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=v9,this}get scrolledIntoView(){return(this.updated&v9)>0}};function k9(t,e){return!e||!t?t:t.bind(e)}var ru=class{constructor(e,n,r){this.name=e,this.init=k9(n.init,r),this.apply=k9(n.apply,r)}},Xle=[new ru("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new ru("selection",{init(t,e){return t.selection||Pe.atStart(e.doc)},apply(t){return t.selection}}),new ru("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new ru("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})],C0=class{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Xle.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new ru(r.key,r.spec.state,r))})}},R1=class t{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new C0(e.schema,e.plugins),o=new t(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=Fi.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=Pe.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=c.fromJSON.call(l,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}};function x9(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=x9(i,e,{})),n[r]=i}return n}var Be=class{constructor(e){this.spec=e,this.props={},e.props&&x9(e.props,this,this.props),this.key=e.key?e.key.key:C9("plugin")}getState(e){return e[this.key]}},Y4=Object.create(null);function C9(t){return t in Y4?t+"$"+ ++Y4[t]:(Y4[t]=0,t+"$")}var at=class{constructor(e="key"){this.key=C9(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}};var gi=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},T0=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e},D9=null,Gs=function(t,e,n){let r=D9||(D9=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},du=function(t,e,n,r){return n&&(S9(t,e,n,r,-1)||S9(t,e,n,r,1))},Qle=/^(img|br|input|textarea|hr)$/i;function S9(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:Za(t))){let o=t.parentNode;if(!o||o.nodeType!=1||_T(t)||Qle.test(t.nodeName)||t.contentEditable=="false")return!1;e=gi(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?Za(t):0}else return!1}}function Za(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Jle(t,e,n){for(let r=e==0,i=e==Za(t);r||i;){if(t==n)return!0;let o=gi(t);if(t=t.parentNode,!t)return!1;r=r&&o==0,i=i&&o==Za(t)}}function _T(t){let e;for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}var G1=function(t){return t.focusNode&&du(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function iu(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function ece(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function tce(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}var Xa=typeof navigator<"u"?navigator:null,E9=typeof document<"u"?document:null,yc=Xa&&Xa.userAgent||"",tT=/Edge\/(\d+)/.exec(yc),iL=/MSIE \d/.exec(yc),nT=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(yc),Ni=!!(iL||nT||tT),mc=iL?document.documentMode:nT?+nT[1]:tT?+tT[1]:0,ha=!Ni&&/gecko\/(\d+)/i.test(yc);ha&&+(/Firefox\/(\d+)/.exec(yc)||[0,0])[1];var rT=!Ni&&/Chrome\/(\d+)/.exec(yc),Qr=!!rT,nce=rT?+rT[1]:0,yi=!Ni&&!!Xa&&/Apple Computer/.test(Xa.vendor),Gh=yi&&(/Mobile\/\w+/.test(yc)||!!Xa&&Xa.maxTouchPoints>2),Io=Gh||(Xa?/Mac/.test(Xa.platform):!1),rce=Xa?/Win/.test(Xa.platform):!1,fa=/Android \d/.test(yc),P0=!!E9&&"webkitFontSmoothing"in E9.documentElement.style,ice=P0?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function oce(t){return{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Ws(t,e){return typeof t=="number"?t:t[e]}function ace(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function M9(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let a=n||t.dom;a;a=T0(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,c=l?oce(o):ace(s),d=0,u=0;if(e.topc.bottom-Ws(r,"bottom")&&(u=e.bottom-e.top>c.bottom-c.top?e.top+Ws(i,"top")-c.top:e.bottom-c.bottom+Ws(i,"bottom")),e.leftc.right-Ws(r,"right")&&(d=e.right-c.right+Ws(i,"right")),d||u)if(l)o.defaultView.scrollBy(d,u);else{let f=s.scrollLeft,h=s.scrollTop;u&&(s.scrollTop+=u),d&&(s.scrollLeft+=d);let p=s.scrollLeft-f,g=s.scrollTop-h;e={left:e.left-p,top:e.top-g,right:e.right-p,bottom:e.bottom-g}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function sce(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=n+1;a=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:oL(t.dom)}}function oL(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=T0(r));return e}function lce({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;aL(n,r==0?0:r-e)}function aL(t,e){for(let n=0;n=s){a=Math.max(p.bottom,a),s=Math.min(p.top,s);let g=p.left>e.left?p.left-e.left:p.right=(p.left+p.right)/2?1:0));continue}}else p.top>e.top&&!l&&p.left<=e.left&&p.right>=e.left&&(l=d,c={left:Math.max(p.left,Math.min(p.right,e.left)),top:p.top});!n&&(e.left>=p.right&&e.top>=p.top||e.left>=p.left&&e.top>=p.bottom)&&(o=u+1)}}return!n&&l&&(n=l,i=c,r=0),n&&n.nodeType==3?dce(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:sL(n,i)}function dce(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function wT(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function uce(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}function hce(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,l.left>r.left||l.top>r.top?i=s.posBefore:(l.right-1?i:t.docView.posFromDOM(e,n,-1)}function lL(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&i++}let c;P0&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=hce(t,r,i,e))}s==null&&(s=fce(t,a,e));let l=t.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function T9(t){return t.top=0&&i==r.nodeValue.length?(l--,d=1):n<0?l--:c++,S0(fc(Gs(r,l,c),d),d<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==Za(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return X4(l.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(n<0||i==Za(r))){let l=r.childNodes[i-1],c=l.nodeType==3?Gs(l,Za(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return S0(fc(c,1),!1)}if(o==null&&i=0)}function S0(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function X4(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function dL(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}function gce(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return dL(t,e,()=>{let{node:o}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=t.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=cL(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Gs(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;cd.top+1&&(n=="up"?a.top-d.top>(d.bottom-a.top)*2:d.bottom-a.bottom>(a.bottom-d.top)*2))return!1}}return!0})}var yce=/[\u0590-\u08ac]/;function bce(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=t.domSelection();return!yce.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:dL(t,e,()=>{let{focusNode:l,focusOffset:c,anchorNode:d,anchorOffset:u}=t.domSelectionRange(),f=s.caretBidiLevel;s.modify("move",n,"character");let h=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:p,focusOffset:g}=t.domSelectionRange(),b=p&&!h.contains(p.nodeType==1?p:p.parentNode)||l==p&&c==g;try{s.collapse(d,u),l&&(l!=d||c!=u)&&s.extend&&s.extend(l,c)}catch{}return f!=null&&(s.caretBidiLevel=f),b})}var A9=null,I9=null,O9=!1;function _ce(t,e,n){return A9==e&&I9==n?O9:(A9=e,I9=n,O9=n=="up"||n=="down"?gce(t,e,n):bce(t,e,n))}var Oo=0,P9=1,ou=2,Qa=3,uu=class{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=Oo,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;ngi(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return o}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||a instanceof L1){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof j1&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?gi(o.dom)+1:0}}else{let o,a=!0;for(;o=r=d&&n<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(e,n,d);e=a;for(let u=s;u>0;u--){let f=this.children[u-1];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(1)){i=gi(f.dom)+1;break}e-=f.size}i==-1&&(i=0)}if(i>-1&&(c>n||s==this.children.length-1)){n=c;for(let d=s+1;dh&&an){let h=s;s=l,l=h}let f=document.createRange();f.setEnd(l.node,l.offset),f.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(f)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i=r:er){let s=r+o.border,l=a-o.border;if(e>=s&&n<=l){this.dirty=e==r||n==a?ou:P9,e==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Qa:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?ou:Qa}r=a}this.dirty=ou}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?ou:P9;n.dirty{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(e){return this.dirty==Oo&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}},iT=class extends uu{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}},Yh=class t extends uu{constructor(e,n,r,i){super(e,[],r,i),this.mark=n}static create(e,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=Ao.renderSpec(document,n.type.spec.toDOM(n,r))),new t(e,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&Qa||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Qa&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Oo){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(o=cT(o,0,e,r));for(let s=0;s{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),d=c&&c.dom,u=c&&c.contentDOM;if(n.isText){if(!d)d=document.createTextNode(n.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:u}=Ao.renderSpec(document,n.type.spec.toDOM(n)));!u&&!n.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),n.type.spec.draggable&&(d.draggable=!0));let f=d;return d=hL(d,r,n),c?l=new oT(e,n,r,i,d,u||null,f,c,o,a+1):n.isText?new z1(e,n,r,i,d,f,o):new t(e,n,r,i,d,u||null,f,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Z.empty)}return e}matchesNode(e,n,r){return this.dirty==Oo&&e.eq(this.node)&&sT(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,o=e.composing?this.localCompositionInfo(e,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new lT(this,a&&a.node,e);xce(this.node,this.innerDeco,(c,d,u)=>{c.spec.marks?l.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!u&&l.syncToMarks(d==this.node.childCount?jt.none:this.node.child(d).marks,r,e),l.placeWidget(c,e,i)},(c,d,u,f)=>{l.syncToMarks(c.marks,r,e);let h;l.findNodeMatch(c,d,u,f)||s&&e.state.selection.from>i&&e.state.selection.to-1&&l.updateNodeAt(c,d,u,h,e)||l.updateNextNode(c,d,u,e,f,i)||l.addNode(c,d,u,e,i),i+=c.nodeSize}),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==ou)&&(a&&this.protectLocalComposition(e,a),uL(this.contentDOM,this.children,e),Gh&&Cce(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof Ne)||rn+this.node.content.size)return null;let o=e.domSelectionRange(),a=Dce(o.focusNode,o.focusOffset);if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let s=a.nodeValue,l=Sce(this.node.content,s,r-n,i-n);return l<0?null:{node:a,pos:l,text:s}}else return{node:a,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new iT(this,o,n,i);e.input.compositionNodes.push(a),this.children=cT(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==Qa||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=Oo}updateOuterDeco(e){if(sT(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=fL(this.dom,this.nodeDOM,aT(this.outerDeco,this.node,n),aT(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}};function F9(t,e,n,r,i){hL(r,e,t);let o=new gc(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}var z1=class t extends gc{constructor(e,n,r,i,o,a,s){super(e,n,r,i,o,null,a,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==Qa||this.dirty!=Oo&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Oo||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=Oo,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),o=document.createTextNode(i.text);return new t(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Qa)}get domAtom(){return!1}},L1=class extends uu{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Oo&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}},oT=class extends gc{constructor(e,n,r,i,o,a,s,l,c,d){super(e,n,r,i,o,a,s,c,d),this.spec=l}update(e,n,r,i){if(this.dirty==Qa)return!1;if(this.spec.update){let o=this.spec.update(e,n,r);return o&&this.updateInner(e,n,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};function uL(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o>1,a=Math.min(o,e.length);for(;i-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=Yh.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let c=n.children[r-1];if(c instanceof Yh)n=c,r=c.children.length;else{s=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function kce(t,e){return t.type.side-e.type.side}function xce(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let c=0;co;)s.push(i[a++]);let p=o+f.nodeSize;if(f.isText){let b=p;a!b.inline):s.slice();r(f,g,e.forChild(o,f),h),o=p}}function Cce(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function Dce(t,e){for(;;){if(t.nodeType==3)return t;if(t.nodeType==1&&e>0){if(t.childNodes.length>e&&t.childNodes[e].nodeType==3)return t.childNodes[e];t=t.childNodes[e-1],e=Za(t)}else if(t.nodeType==1&&e=n){if(o>=r&&l.slice(r-e.length-s,r-s)==e)return r-e.length;let c=s=0&&c+e.length+s>=n)return s+c;if(n==r&&l.length>=r+e.length-s&&l.slice(r-s,r-s+e.length)==e)return r}}return-1}function cT(t,e,n,r,i){let o=[];for(let a=0,s=0;a=n||d<=e?o.push(l):(cn&&o.push(l.slice(n-c,l.size,r)))}return o}function vT(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,c;if(G1(n)){for(l=s;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&Le.isSelectable(d)&&i.parent&&!(d.isInline&&Jle(n.focusNode,n.focusOffset,i.dom))){let u=i.posBefore;c=new Le(a==u?s:r.resolve(u))}}else{let d=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(d<0)return null;l=r.resolve(d)}if(!c){let d=e=="pointer"||t.state.selection.head{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!pL(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function Mce(t){let e=t.domSelection(),n=document.createRange(),r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setEnd(r.parentNode,gi(r)+1):n.setEnd(r,0),n.collapse(!1),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&Ni&&mc<=11&&(r.disabled=!0,r.disabled=!1)}function mL(t,e){if(e instanceof Le){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(L9(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else L9(t)}function L9(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function kT(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||Ne.between(e,n,r)}function B9(t){return t.editable&&!t.hasFocus()?!1:gL(t)}function gL(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function Tce(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return du(e.node,e.offset,n.anchorNode,n.anchorOffset)}function dT(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return o&&Pe.findFrom(o,e)}function hc(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function V9(t,e,n){let r=t.state.selection;if(r instanceof Ne)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return hc(t,new Ne(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=dT(t.state,e);return i&&i instanceof Le?hc(t,i):!1}else if(!(Io&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=t.docView.descAt(s))&&!a.contentDOM?Le.isSelectable(o)?hc(t,new Le(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):P0?hc(t,new Ne(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Le&&r.node.isInline)return hc(t,new Ne(e>0?r.$to:r.$from));{let i=dT(t.state,e);return i?hc(t,i):!1}}}function B1(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function M0(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function $h(t,e){return e<0?Ace(t):Ice(t)}function Ace(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(ha&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(M0(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(yL(n))break;{let s=n.previousSibling;for(;s&&M0(s,-1);)i=n.parentNode,o=gi(s),s=s.previousSibling;if(s)n=s,r=B1(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?uT(t,n,r):i&&uT(t,i,o)}function Ice(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=B1(n),o,a;for(;;)if(r{t.state==i&&Ys(t)},50)}function U9(t,e){let n=t.state.doc.resolve(e);if(!(Qr||rce)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let o=t.coordsAtPos(e-1),a=(o.top+o.bottom)/2;if(a>i.top&&a1)return o.lefti.top&&a1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function H9(t,e,n){let r=t.state.selection;if(r instanceof Ne&&!r.empty||n.indexOf("s")>-1||Io&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=dT(t.state,e);if(a&&a instanceof Le)return hc(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof mi?Pe.near(a,e):Pe.findFrom(a,e);return s?hc(t,s):!1}return!1}function $9(t,e){if(!(t.state.selection instanceof Ne))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=t.state.tr;return e<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),t.dispatch(a),!0}return!1}function q9(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function Fce(t){if(!yi||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;q9(t,r,"true"),setTimeout(()=>q9(t,r,"false"),20)}return!1}function Nce(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function Rce(t,e){let n=e.keyCode,r=Nce(e);if(n==8||Io&&n==72&&r=="c")return $9(t,-1)||$h(t,-1);if(n==46&&!e.shiftKey||Io&&n==68&&r=="c")return $9(t,1)||$h(t,1);if(n==13||n==27)return!0;if(n==37||Io&&n==66&&r=="c"){let i=n==37?U9(t,t.state.selection.from)=="ltr"?-1:1:-1;return V9(t,i,r)||$h(t,i)}else if(n==39||Io&&n==70&&r=="c"){let i=n==39?U9(t,t.state.selection.from)=="ltr"?1:-1:1;return V9(t,i,r)||$h(t,i)}else{if(n==38||Io&&n==80&&r=="c")return H9(t,-1,r)||$h(t,-1);if(n==40||Io&&n==78&&r=="c")return Fce(t)||H9(t,1,r)||$h(t,1);if(r==(Io?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function bL(t,e){t.someProp("transformCopied",h=>{e=h(e,t)});let n=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let h=r.firstChild;n.push(h.type.name,h.attrs!=h.type.defaultAttrs?h.attrs:null),r=h.content}let a=t.someProp("clipboardSerializer")||Ao.fromSchema(t.state.schema),s=CL(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,d,u=0;for(;c&&c.nodeType==1&&(d=xL[c.nodeName.toLowerCase()]);){for(let h=d.length-1;h>=0;h--){let p=s.createElement(d[h]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),u++}c=l.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${o}${u?` -${u}`:""} ${JSON.stringify(n)}`);let f=t.someProp("clipboardTextSerializer",h=>h(e,t))||e.content.textBetween(0,e.content.size,` +`),r;function i(o){return n.stack.push(o),a;function a(){n.stack.pop()}}}function gle(t){throw new Error("Cannot handle value `"+t+"`, expected node")}function yle(t){let e=t;throw new Error("Cannot handle unknown node `"+e.type+"`")}function ble(t,e){if(t.type==="definition"&&t.type===e.type)return 0}function _le(t,e){return Nz(t,this,e)}function wle(t,e){return Rz(t,this,e)}function vle(t,e){return Lz(this,t,e)}function Rp(t){let e=this;e.compiler=n;function n(r){return I4(r,q(D(D({},e.data("settings")),t),{extensions:e.data("toMarkdownExtensions")||[]}))}}function O4(t){if(t)throw t}var w1=ko(Kz(),1);function s0(t){if(typeof t!="object"||t===null)return!1;let e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function Zz(){let t=[],e={run:n,use:r};return e;function n(...i){let o=-1,a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);s(null,...i);function s(l,...c){let d=t[++o],u=-1;if(l){a(l);return}for(;++ua.length,l;s&&a.push(i);try{l=t.apply(this,a)}catch(c){let d=c;if(s&&n)throw d;return i(d)}s||(l instanceof Promise?l.then(o,i):l instanceof Error?i(l):o(l))}function i(a,...s){n||(n=!0,e(a,...s))}function o(a){i(null,a)}}var Cr=class extends Error{constructor(e,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},a=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o=D({},n)),typeof e=="string"?i=e:!o.cause&&e&&(a=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&typeof r=="string"){let l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){let l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}let s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=s?s.line:void 0,this.name=lc(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=a&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}};Cr.prototype.file="";Cr.prototype.name="";Cr.prototype.reason="";Cr.prototype.message="";Cr.prototype.stack="";Cr.prototype.column=void 0;Cr.prototype.line=void 0;Cr.prototype.ancestors=void 0;Cr.prototype.cause=void 0;Cr.prototype.fatal=void 0;Cr.prototype.place=void 0;Cr.prototype.ruleId=void 0;Cr.prototype.source=void 0;var fa={basename:xle,dirname:Cle,extname:Dle,join:Sle,sep:"/"};function xle(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');l0(t);let n=0,r=-1,i=t.length,o;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":t.slice(n,r)}if(e===t)return"";let a=-1,s=e.length-1;for(;i--;)if(t.codePointAt(i)===47){if(o){n=i+1;break}}else a<0&&(o=!0,a=i+1),s>-1&&(t.codePointAt(i)===e.codePointAt(s--)?s<0&&(r=i):(s=-1,r=a));return n===r?r=a:r<0&&(r=t.length),t.slice(n,r)}function Cle(t){if(l0(t),t.length===0)return".";let e=-1,n=t.length,r;for(;--n;)if(t.codePointAt(n)===47){if(r){e=n;break}}else r||(r=!0);return e<0?t.codePointAt(0)===47?"/":".":e===1&&t.codePointAt(0)===47?"//":t.slice(0,e)}function Dle(t){l0(t);let e=t.length,n=-1,r=0,i=-1,o=0,a;for(;e--;){let s=t.codePointAt(e);if(s===47){if(a){r=e+1;break}continue}n<0&&(a=!0,n=e+1),s===46?i<0?i=e:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":t.slice(i,n)}function Sle(...t){let e=-1,n;for(;++e0&&t.codePointAt(t.length-1)===47&&(n+="/"),e?"/"+n:n}function Mle(t,e){let n="",r=0,i=-1,o=0,a=-1,s,l;for(;++a<=t.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,o=0;continue}}else if(n.length>0){n="",r=0,i=a,o=0;continue}}e&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+t.slice(i+1,a):n=t.slice(i+1,a),r=a-i-1;i=a,o=0}else s===46&&o>-1?o++:o=-1}return n}function l0(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}var Xz={cwd:Tle};function Tle(){return"/"}function jp(t){return!!(t!==null&&typeof t=="object"&&"href"in t&&t.href&&"protocol"in t&&t.protocol&&t.auth===void 0)}function Qz(t){if(typeof t=="string")t=new URL(t);else if(!jp(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return Ale(t)}function Ale(t){if(t.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let e=t.pathname,n=-1;for(;++n0){let[p,...h]=d,g=r[f][1];s0(g)&&s0(p)&&(p=(0,w1.default)(!0,g,p)),r[f]=[c,p,...h]}}}},d0=new L4().freeze();function R4(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `parser`")}function j4(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `compiler`")}function z4(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function t9(t){if(!s0(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function n9(t,e,n){if(!n)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function _1(t){return Ple(t)?t:new c0(t)}function Ple(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function Fle(t){return typeof t=="string"||Nle(t)}function Nle(t){return!!(t&&typeof t=="object"&&"byteLength"in t&&"byteOffset"in t)}var i9=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},zt=(t,e,n)=>(i9(t,e,"read from private field"),n?n.call(t):e.get(t)),fr=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Dn=(t,e,n,r)=>(i9(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),T1=class{},A1=class{constructor(){this.elements=[],this.size=()=>this.elements.length,this.top=()=>this.elements.at(-1),this.push=e=>{var n;(n=this.top())==null||n.push(e)},this.open=e=>{this.elements.push(e)},this.close=()=>{let e=this.elements.pop();if(!e)throw LM();return e}}},B4=class t extends T1{constructor(e,n,r){super(),this.type=e,this.content=n,this.attrs=r}push(e,...n){this.content.push(e,...n)}pop(){return this.content.pop()}static create(e,n,r){return new t(e,n,r)}},Ka,u0,v1,k1,x1,f0,p0,V4=class extends A1{constructor(e){super(),fr(this,Ka,void 0),fr(this,u0,void 0),fr(this,v1,void 0),fr(this,k1,void 0),fr(this,x1,void 0),fr(this,f0,void 0),fr(this,p0,void 0),Dn(this,Ka,jt.none),Dn(this,u0,n=>n.isText),Dn(this,v1,(n,r)=>{if(zt(this,u0).call(this,n)&&zt(this,u0).call(this,r)&&jt.sameSet(n.marks,r.marks))return this.schema.text(n.text+r.text,n.marks)}),Dn(this,k1,n=>{let r=Object.values(D(D({},this.schema.nodes),this.schema.marks)).find(i=>i.spec.parseMarkdown.match(n));if(!r)throw aj(n);return r}),Dn(this,x1,n=>{let r=zt(this,k1).call(this,n);r.spec.parseMarkdown.runner(this,n,r)}),this.injectRoot=(n,r,i)=>(this.openNode(r,i),this.next(n.children),this),this.openNode=(n,r)=>(this.open(B4.create(n,[],r)),this),Dn(this,f0,()=>{Dn(this,Ka,jt.none);let n=this.close();return zt(this,p0).call(this,n.type,n.attrs,n.content)}),this.closeNode=()=>(zt(this,f0).call(this),this),Dn(this,p0,(n,r,i)=>{let o=n.createAndFill(r,i,zt(this,Ka));if(!o)throw oj(n,r,i);return this.push(o),o}),this.addNode=(n,r,i)=>(zt(this,p0).call(this,n,r,i),this),this.openMark=(n,r)=>{let i=n.create(r);return Dn(this,Ka,i.addToSet(zt(this,Ka))),this},this.closeMark=n=>(Dn(this,Ka,n.removeFromSet(zt(this,Ka))),this),this.addText=n=>{let r=this.top();if(!r)throw LM();let i=r.pop(),o=this.schema.text(n,zt(this,Ka));if(!i)return r.push(o),this;let a=zt(this,v1).call(this,i,o);return a?(r.push(a),this):(r.push(i,o),this)},this.build=()=>{let n;do n=zt(this,f0).call(this);while(this.size());return n},this.next=(n=[])=>([n].flat().forEach(r=>zt(this,x1).call(this,r)),this),this.toDoc=()=>this.build(),this.run=(n,r)=>{let i=n.runSync(n.parse(r),r);return this.next(i),this},this.schema=e}};Ka=new WeakMap,u0=new WeakMap,v1=new WeakMap,k1=new WeakMap,x1=new WeakMap,f0=new WeakMap,p0=new WeakMap,V4.create=(t,e)=>{let n=new V4(t);return r=>(n.run(e,r),n.toDoc())};var o9=V4,Rle=(()=>{let t=class extends T1{constructor(n,r,i,o={}){super(),this.type=n,this.children=r,this.value=i,this.props=o,this.push=(a,...s)=>{this.children||(this.children=[]),this.children.push(a,...s)},this.pop=()=>{var a;return(a=this.children)==null?void 0:a.pop()}}};return t.create=(e,n,r,i={})=>new t(e,n,r,i),t})(),r9=Rle,jle=t=>Object.prototype.hasOwnProperty.call(t,"size"),Hs,h0,C1,D1,m0,S1,g0,E1,zp,y0,M1,b0,U4=class extends A1{constructor(e){super(),fr(this,Hs,void 0),fr(this,h0,void 0),fr(this,C1,void 0),fr(this,D1,void 0),fr(this,m0,void 0),fr(this,S1,void 0),fr(this,g0,void 0),fr(this,E1,void 0),fr(this,zp,void 0),fr(this,y0,void 0),fr(this,M1,void 0),fr(this,b0,void 0),Dn(this,Hs,jt.none),Dn(this,h0,n=>{let r=Object.values(D(D({},this.schema.nodes),this.schema.marks)).find(i=>i.spec.toMarkdown.match(n));if(!r)throw sj(n.type);return r}),Dn(this,C1,n=>zt(this,h0).call(this,n).spec.toMarkdown.runner(this,n)),Dn(this,D1,(n,r)=>zt(this,h0).call(this,n).spec.toMarkdown.runner(this,n,r)),Dn(this,m0,n=>{let{marks:r}=n,i=o=>o.type.spec.priority??50;[...r].sort((o,a)=>i(o)-i(a)).every(o=>!zt(this,D1).call(this,o,n))&&zt(this,C1).call(this,n),r.forEach(o=>zt(this,b0).call(this,o))}),Dn(this,S1,(n,r)=>{var i;if(n.type===r||((i=n.children)==null?void 0:i.length)!==1)return n;let o=c=>{var d;if(c.type===r)return c;if(((d=c.children)==null?void 0:d.length)!==1)return null;let[u]=c.children;return u?o(u):null},a=o(n);if(!a)return n;let s=a.children?[...a.children]:void 0,l=q(D({},n),{children:s});return l.children=s,a.children=[l],a}),Dn(this,g0,n=>{let{children:r}=n;return r&&(n.children=r.reduce((i,o,a)=>{if(a===0)return[o];let s=i.at(-1);if(s&&s.isMark&&o.isMark){o=zt(this,S1).call(this,o,s.type);let l=o,{children:d}=l,u=b_(l,["children"]),c=s,{children:f}=c,p=b_(c,["children"]);if(o.type===s.type&&d&&f&&JSON.stringify(u)===JSON.stringify(p)){let h=q(D({},p),{children:[...f,...d]});return i.slice(0,-1).concat(zt(this,g0).call(this,h))}}return i.concat(o)},[])),n}),Dn(this,E1,n=>{let r=q(D({},n.props),{type:n.type});return n.children&&(r.children=n.children),n.value&&(r.value=n.value),r}),this.openNode=(n,r,i)=>(this.open(r9.create(n,void 0,r,i)),this),Dn(this,zp,()=>{let n=this.close();return zt(this,y0).call(this,n.type,n.children,n.value,n.props)}),this.closeNode=()=>(zt(this,zp).call(this),this),Dn(this,y0,(n,r,i,o)=>{let a=r9.create(n,r,i,o),s=zt(this,g0).call(this,zt(this,E1).call(this,a));return this.push(s),s}),this.addNode=(n,r,i,o)=>(zt(this,y0).call(this,n,r,i,o),this),Dn(this,M1,(n,r,i,o)=>n.isInSet(zt(this,Hs))?this:(Dn(this,Hs,n.addToSet(zt(this,Hs))),this.openNode(r,i,q(D({},o),{isMark:!0})))),Dn(this,b0,n=>{n.isInSet(zt(this,Hs))&&(Dn(this,Hs,n.type.removeFromSet(zt(this,Hs))),zt(this,zp).call(this))}),this.withMark=(n,r,i,o)=>(zt(this,M1).call(this,n,r,i,o),this),this.closeMark=n=>(zt(this,b0).call(this,n),this),this.build=()=>{let n=null;do n=zt(this,zp).call(this);while(this.size());return n},this.next=n=>jle(n)?(n.forEach(r=>{zt(this,m0).call(this,r)}),this):(zt(this,m0).call(this,n),this),this.toString=n=>n.stringify(this.build()),this.run=n=>(this.next(n),this),this.schema=e}};Hs=new WeakMap,h0=new WeakMap,C1=new WeakMap,D1=new WeakMap,m0=new WeakMap,S1=new WeakMap,g0=new WeakMap,E1=new WeakMap,zp=new WeakMap,y0=new WeakMap,M1=new WeakMap,b0=new WeakMap,U4.create=(t,e)=>{let n=new U4(t);return r=>(n.run(r),n.toString(e))};var a9=U4;var c9=65535,d9=Math.pow(2,16);function zle(t,e){return t+e*d9}function s9(t){return t&c9}function Lle(t){return(t-(t&c9))/d9}var u9=1,f9=2,I1=4,p9=8,v0=class{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&p9)>0}get deletedBefore(){return(this.delInfo&(u9|I1))>0}get deletedAfter(){return(this.delInfo&(f9|I1))>0}get deletedAcross(){return(this.delInfo&I1)>0}},$s=class t{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&t.empty)return t.empty}recover(e){let n=0,r=s9(e);if(!this.inverted)for(let i=0;ie)break;let c=this.ranges[s+o],d=this.ranges[s+a],u=l+c;if(e<=u){let f=c?e==l?-1:e==u?1:n:n,p=l+i+(f<0?0:d);if(r)return p;let h=e==(n<0?l:u)?null:zle(s/3,e-l),g=e==l?f9:e==u?u9:I1;return(n<0?e!=l:e!=u)&&(g|=p9),new v0(p,g,h)}i+=d-c}return r?e+i:new v0(e+i,0,null)}touches(e,n){let r=0,i=s9(n),o=this.inverted?2:1,a=this.inverted?1:2;for(let s=0;se)break;let c=this.ranges[s+o],d=l+c;if(e<=d&&s==i*3)return!0;r+=this.ranges[s+a]-c}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let i=0,o=0;i=0;n--){let i=e.getMirror(n);this.appendMap(e.maps[n].invert(),i!=null&&i>n?r-i-1:void 0)}}invert(){let e=new t;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ro&&l!a.isAtom||!s.type.allowsMarkType(this.mark.type)?a:a.mark(this.mark.addToSet(a.marks)),i),n.openStart,n.openEnd);return Fr.fromReplace(e,this.from,this.to,o)}invert(){return new tu(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new t(n.pos,r.pos,this.mark)}merge(e){return e instanceof t&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new t(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new t(n.from,n.to,e.markFromJSON(n.mark))}};Dr.jsonID("addMark",eu);var tu=class t extends Dr{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new ce(Y4(n.content,i=>i.mark(this.mark.removeFromSet(i.marks)),e),n.openStart,n.openEnd);return Fr.fromReplace(e,this.from,this.to,r)}invert(){return new eu(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new t(n.pos,r.pos,this.mark)}merge(e){return e instanceof t&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new t(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new t(n.from,n.to,e.markFromJSON(n.mark))}};Dr.jsonID("removeMark",tu);var x0=class t extends Dr{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return Fr.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return Fr.fromReplace(e,this.pos,this.pos+1,new ce(Z.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let i=0;ir.pos?null:new t(n.pos,r.pos,i,o,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new t(n.from,n.to,n.gapFrom,n.gapTo,ce.fromJSON(e,n.slice),n.insert,!!n.structure)}};Dr.jsonID("replaceAround",Nr);function W4(t,e,n){let r=t.resolve(e),i=n-e,o=r.depth;for(;i>0&&o>0&&r.indexAfter(o)==r.node(o).childCount;)o--,i--;if(i>0){let a=r.node(o).maybeChild(r.indexAfter(o));for(;i>0;){if(!a||a.isLeaf)return!0;a=a.firstChild,i--}}return!1}function Ble(t,e,n,r){let i=[],o=[],a,s;t.doc.nodesBetween(e,n,(l,c,d)=>{if(!l.isInline)return;let u=l.marks;if(!r.isInSet(u)&&d.type.allowsMarkType(r.type)){let f=Math.max(c,e),p=Math.min(c+l.nodeSize,n),h=r.addToSet(u);for(let g=0;gt.step(l)),o.forEach(l=>t.step(l))}function Vle(t,e,n,r){let i=[],o=0;t.doc.nodesBetween(e,n,(a,s)=>{if(!a.isInline)return;o++;let l=null;if(r instanceof e0){let c=a.marks,d;for(;d=r.isInSet(c);)(l||(l=[])).push(d),c=d.removeFromSet(c)}else r?r.isInSet(a.marks)&&(l=[r]):l=a.marks;if(l&&l.length){let c=Math.min(s+a.nodeSize,n);for(let d=0;dt.step(new tu(a.from,a.to,a.style)))}function Ule(t,e,n,r=n.contentMatch){let i=t.doc.nodeAt(e),o=[],a=e+1;for(let s=0;s=0;s--)t.step(o[s])}function Hle(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Vp(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth;;--r){let i=t.$from.node(r),o=t.$from.index(r),a=t.$to.indexAfter(r);if(rn;h--)g||r.index(h)>0?(g=!0,d=Z.from(r.node(h).copy(d)),u++):l--;let f=Z.empty,p=0;for(let h=o,g=!1;h>n;h--)g||i.after(h+1)=0;a--){if(r.size){let s=n[a].type.contentMatch.matchFragment(r);if(!s||!s.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=Z.from(n[a].type.create(n[a].attrs,r))}let i=e.start,o=e.end;t.step(new Nr(i,o,i,o,new ce(r,0,0),n.length,!0))}function Yle(t,e,n,r,i){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let o=t.steps.length;t.doc.nodesBetween(e,n,(a,s)=>{if(a.isTextblock&&!a.hasMarkup(r,i)&&Kle(t.doc,t.mapping.slice(o).map(s),r)){t.clearIncompatible(t.mapping.slice(o).map(s,1),r);let l=t.mapping.slice(o),c=l.map(s,1),d=l.map(s+a.nodeSize,1);return t.step(new Nr(c,d,c+1,d-1,new ce(Z.from(r.create(i,null,a.marks)),0,0),1,!0)),!1}})}function Kle(t,e,n){let r=t.resolve(e),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function Zle(t,e,n,r,i){let o=t.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let a=n.create(r,null,i||o.marks);if(o.isLeaf)return t.replaceWith(e,e+o.nodeSize,a);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new Nr(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new ce(Z.from(a),0,0),1,!0))}function nu(t,e,n=1,r){let i=t.resolve(e),o=i.depth-n,a=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!a.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let c=i.depth-1,d=n-2;c>o;c--,d--){let u=i.node(c),f=i.index(c);if(u.type.spec.isolating)return!1;let p=u.content.cutByIndex(f,u.childCount),h=r&&r[d+1];h&&(p=p.replaceChild(0,h.type.create(h.attrs)));let g=r&&r[d]||u;if(!u.canReplace(f+1,u.childCount)||!g.type.validContent(p))return!1}let s=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(s,s,l?l.type:i.node(o+1).type)}function Xle(t,e,n=1,r){let i=t.doc.resolve(e),o=Z.empty,a=Z.empty;for(let s=i.depth,l=i.depth-n,c=n-1;s>l;s--,c--){o=Z.from(i.node(s).copy(o));let d=r&&r[c];a=Z.from(d?d.type.create(d.attrs,a):i.node(s).copy(a))}t.step(new pi(e,e,new ce(o.append(a),n,n),!0))}function ru(t,e){let n=t.resolve(e),r=n.index();return Qle(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function Qle(t,e){return!!(t&&e&&!t.isLeaf&&t.canAppend(e))}function Jle(t,e,n){let r=new pi(e-n,e+n,ce.empty,!0);t.step(r)}function ece(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o=0;a--){let s=a==r.depth?0:r.pos<=(r.start(a+1)+r.end(a+1))/2?-1:1,l=r.index(a)+(s>0?1:0),c=r.node(a),d=!1;if(o==1)d=c.canReplace(l,l,i);else{let u=c.contentMatchAt(l).findWrapping(i.firstChild.type);d=u&&c.canReplaceWith(l,l,u[0])}if(d)return s==0?r.pos:s<0?r.before(a+1):r.after(a+1)}return null}function F1(t,e,n=e,r=ce.empty){if(e==n&&!r.size)return null;let i=t.resolve(e),o=t.resolve(n);return h9(i,o,r)?new pi(e,n,r):new G4(i,o,r).fit()}function h9(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}var G4=class{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=Z.empty;for(let i=0;i<=e.depth;i++){let o=e.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(i))})}for(let i=e.depth;i>0;i--)this.placed=Z.from(e.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let c=this.findFittable();c?this.placeNodes(c):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(e<0?this.$to:r.doc.resolve(e));if(!i)return null;let o=this.placed,a=r.depth,s=i.depth;for(;a&&s&&o.childCount==1;)o=o.firstChild.content,a--,s--;let l=new ce(o,a,s);return e>-1?new Nr(r.pos,e,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new pi(r.pos,i.pos,l):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r1&&(i=0),o.type.spec.isolating&&i<=r){e=r;break}n=o.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let i,o=null;r?(o=$4(this.unplaced.content,r-1).firstChild,i=o.content):i=this.unplaced.content;let a=i.firstChild;for(let s=this.depth;s>=0;s--){let{type:l,match:c}=this.frontier[s],d,u=null;if(n==1&&(a?c.matchType(a.type)||(u=c.fillBefore(Z.from(a),!1)):o&&l.compatibleContent(o.type)))return{sliceDepth:r,frontierDepth:s,parent:o,inject:u};if(n==2&&a&&(d=c.findWrapping(a.type)))return{sliceDepth:r,frontierDepth:s,parent:o,wrap:d};if(o&&c.matchType(o.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=$4(e,n);return!i.childCount||i.firstChild.isLeaf?!1:(this.unplaced=new ce(e,n+1,Math.max(r,i.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,i=$4(e,n);if(i.childCount<=1&&n>0){let o=e.size-n<=n+i.size;this.unplaced=new ce(_0(e,n-1,1),n-1,o?n-1:r)}else this.unplaced=new ce(_0(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:i,wrap:o}){for(;this.depth>n;)this.closeFrontierNode();if(o)for(let g=0;g1||l==0||g.content.size)&&(u=b,d.push(m9(g.mark(f.allowedMarks(g.marks)),c==1?l:0,c==s.childCount?p:-1)))}let h=c==s.childCount;h||(p=-1),this.placed=w0(this.placed,n,Z.from(d)),this.frontier[n].match=u,h&&p<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let g=0,b=s;g1&&i==this.$to.end(--r);)++i;return i}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:i}=this.frontier[n],o=n=0;s--){let{match:l,type:c}=this.frontier[s],d=q4(e,s,c,l,!0);if(!d||d.childCount)continue e}return{depth:n,fit:a,move:o?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=w0(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let i=e.node(r),o=i.type.contentMatch.fillBefore(i.content,!0,e.index(r));this.openFrontierNode(i.type,i.attrs,o)}return e}openFrontierNode(e,n=null,r){let i=this.frontier[this.depth];i.match=i.match.matchType(e),this.placed=w0(this.placed,this.depth,Z.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(Z.empty,!0);n.childCount&&(this.placed=w0(this.placed,this.frontier.length,n))}};function _0(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(_0(t.firstChild.content,e-1,n)))}function w0(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(w0(t.lastChild.content,e-1,n)))}function $4(t,e){for(let n=0;n1&&(r=r.replaceChild(0,m9(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(Z.empty,!0)))),t.copy(r)}function q4(t,e,n,r,i){let o=t.node(e),a=i?t.indexAfter(e):t.index(e);if(a==o.childCount&&!n.compatibleContent(o.type))return null;let s=r.fillBefore(o.content,!0,a);return s&&!tce(n,o.content,a)?s:null}function tce(t,e,n){for(let r=n;r0;f--,p--){let h=i.node(f).type.spec;if(h.defining||h.definingAsContext||h.isolating)break;a.indexOf(f)>-1?s=f:i.before(f)==p&&a.splice(1,0,-f)}let l=a.indexOf(s),c=[],d=r.openStart;for(let f=r.content,p=0;;p++){let h=f.firstChild;if(c.push(h),p==r.openStart)break;f=h.content}for(let f=d-1;f>=0;f--){let p=c[f],h=nce(p.type);if(h&&!p.sameMarkup(i.node(Math.abs(s)-1)))d=f;else if(h||!p.type.isTextblock)break}for(let f=r.openStart;f>=0;f--){let p=(f+d+1)%(r.openStart+1),h=c[p];if(h)for(let g=0;g=0&&(t.replace(e,n,r),!(t.steps.length>u));f--){let p=a[f];p<0||(e=i.before(p),n=o.after(p))}}function g9(t,e,n,r,i){if(er){let o=i.contentMatchAt(0),a=o.fillBefore(t).append(t);t=a.append(o.matchFragment(a).fillBefore(Z.empty,!0))}return t}function ice(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let i=ece(t.doc,e,r.type);i!=null&&(e=n=i)}t.replaceRange(e,n,new ce(Z.from(r),0,0))}function oce(t,e,n){let r=t.doc.resolve(e),i=t.doc.resolve(n),o=y9(r,i);for(let a=0;a0&&(l||r.node(s-1).canReplace(r.index(s-1),i.indexAfter(s-1))))return t.delete(r.before(s),i.after(s))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(e-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a)return t.delete(r.before(a),n);t.delete(e,n)}function y9(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let i=r;i>=0;i--){let o=t.start(i);if(oe.pos+(e.depth-i)||t.node(i).type.spec.isolating||e.node(i).type.spec.isolating)break;(o==e.start(i)||i==t.depth&&i==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&i&&e.start(i-1)==o-1)&&n.push(i)}return n}var O1=class t extends Dr{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return Fr.fail("No node at attribute step's position");let r=Object.create(null);for(let o in n.attrs)r[o]=n.attrs[o];r[this.attr]=this.value;let i=n.type.create(r,null,n.marks);return Fr.fromReplace(e,this.pos,this.pos+1,new ce(Z.from(i),0,n.isLeaf?0:1))}getMap(){return $s.empty}invert(e){return new t(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new t(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new t(n.pos,n.attr,n.value)}};Dr.jsonID("attr",O1);var P1=class t extends Dr{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let i in e.attrs)n[i]=e.attrs[i];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return Fr.ok(r)}getMap(){return $s.empty}invert(e){return new t(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new t(n.attr,n.value)}};Dr.jsonID("docAttr",P1);var Lp=class extends Error{};Lp=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};Lp.prototype=Object.create(Error.prototype);Lp.prototype.constructor=Lp;Lp.prototype.name="TransformError";var Bp=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new k0}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new Lp(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=ce.empty){let i=F1(this.doc,e,n,r);return i&&this.step(i),this}replaceWith(e,n,r){return this.replace(e,n,new ce(Z.from(r),0,0))}delete(e,n){return this.replace(e,n,ce.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return rce(this,e,n,r),this}replaceRangeWith(e,n,r){return ice(this,e,n,r),this}deleteRange(e,n){return oce(this,e,n),this}lift(e,n){return $le(this,e,n),this}join(e,n=1){return Jle(this,e,n),this}wrap(e,n){return Gle(this,e,n),this}setBlockType(e,n=e,r,i=null){return Yle(this,e,n,r,i),this}setNodeMarkup(e,n,r=null,i){return Zle(this,e,n,r,i),this}setNodeAttribute(e,n,r){return this.step(new O1(e,n,r)),this}setDocAttribute(e,n){return this.step(new P1(e,n)),this}addNodeMark(e,n){return this.step(new x0(e,n)),this}removeNodeMark(e,n){if(!(n instanceof jt)){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n=n.isInSet(r.marks),!n)return this}return this.step(new C0(e,n)),this}split(e,n=1,r){return Xle(this,e,n,r),this}addMark(e,n,r){return Ble(this,e,n,r),this}removeMark(e,n,r){return Vle(this,e,n,r),this}clearIncompatible(e,n,r){return Ule(this,e,n,r),this}};var K4=Object.create(null),Ne=class{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new E0(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;o--){let a=n<0?Hp(e.node(0),e.node(o),e.before(o+1),e.index(o),n,r):Hp(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,n,r);if(a)return a}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new hi(e.node(0))}static atStart(e){return Hp(e,e,0,0,1)||new hi(e)}static atEnd(e){return Hp(e,e,e.content.size,e.childCount,-1)||new hi(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=K4[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in K4)throw new RangeError("Duplicate use of selection JSON ID "+e);return K4[e]=n,n.prototype.jsonID=e,n}getBookmark(){return je.between(this.$anchor,this.$head).getBookmark()}};Ne.prototype.visible=!0;var E0=class{constructor(e,n){this.$from=e,this.$to=n}},b9=!1;function _9(t){!b9&&!t.parent.inlineContent&&(b9=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}var je=class t extends Ne{constructor(e,n=e){_9(e),_9(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return Ne.near(r);let i=e.resolve(n.map(this.anchor));return new t(i.parent.inlineContent?i:r,r)}replace(e,n=ce.empty){if(super.replace(e,n),n==ce.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof t&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new R1(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new t(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let i=e.resolve(n);return new this(i,r==n?i:e.resolve(r))}static between(e,n,r){let i=e.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let o=Ne.findFrom(n,r,!0)||Ne.findFrom(n,-r,!0);if(o)n=o.$head;else return Ne.near(n,r)}return e.parent.inlineContent||(i==0?e=n:(e=(Ne.findFrom(e,-r,!0)||Ne.findFrom(e,r,!0)).$anchor,e.pos0?0:1);i>0?a=0;a+=i){let s=e.child(a);if(s.isAtom){if(!o&&Ue.isSelectable(s))return Ue.create(t,n-(i<0?s.nodeSize:0))}else{let l=Hp(t,s,n+i,i<0?s.childCount:0,i,o);if(l)return l}n+=s.nodeSize*i}return null}function w9(t,e,n){let r=t.steps.length-1;if(r{a==null&&(a=d)}),t.setSelection(Ne.near(t.doc.resolve(a),n))}var v9=1,N1=2,k9=4,Q4=class extends Bp{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=N1,this}ensureMarks(e){return jt.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&N1)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~N1,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||jt.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let i=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(i.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),r=r??n,!e)return this.deleteRange(n,r);let o=this.storedMarks;if(!o){let a=this.doc.resolve(n);o=r==n?a.marks():a.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,i.text(e,o)),this.selection.empty||this.setSelection(Ne.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=k9,this}get scrolledIntoView(){return(this.updated&k9)>0}};function x9(t,e){return!e||!t?t:t.bind(e)}var iu=class{constructor(e,n,r){this.name=e,this.init=x9(n.init,r),this.apply=x9(n.apply,r)}},sce=[new iu("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new iu("selection",{init(t,e){return t.selection||Ne.atStart(e.doc)},apply(t){return t.selection}}),new iu("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new iu("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})],S0=class{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=sce.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new iu(r.key,r.spec.state,r))})}},j1=class t{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let i=e[r],o=i.spec.state;o&&o.toJSON&&(n[r]=o.toJSON.call(i,this[i.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let i=new S0(e.schema,e.plugins),o=new t(i);return i.fields.forEach(a=>{if(a.name=="doc")o.doc=Pi.fromJSON(e.schema,n.doc);else if(a.name=="selection")o.selection=Ne.fromJSON(o.doc,n.selection);else if(a.name=="storedMarks")n.storedMarks&&(o.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let s in r){let l=r[s],c=l.spec.state;if(l.key==a.name&&c&&c.fromJSON&&Object.prototype.hasOwnProperty.call(n,s)){o[a.name]=c.fromJSON.call(l,e,n[s],o);return}}o[a.name]=a.init(e,o)}}),o}};function C9(t,e,n){for(let r in t){let i=t[r];i instanceof Function?i=i.bind(e):r=="handleDOMEvents"&&(i=C9(i,e,{})),n[r]=i}return n}var Le=class{constructor(e){this.spec=e,this.props={},e.props&&C9(e.props,this,this.props),this.key=e.key?e.key.key:D9("plugin")}getState(e){return e[this.key]}},Z4=Object.create(null);function D9(t){return t in Z4?t+"$"+ ++Z4[t]:(Z4[t]=0,t+"$")}var Je=class{constructor(e="key"){this.key=D9(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}};var mi=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},I0=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e},S9=null,Ws=function(t,e,n){let r=S9||(S9=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},uu=function(t,e,n,r){return n&&(E9(t,e,n,r,-1)||E9(t,e,n,r,1))},lce=/^(img|br|input|textarea|hr)$/i;function E9(t,e,n,r,i){for(;;){if(t==n&&e==r)return!0;if(e==(i<0?0:Za(t))){let o=t.parentNode;if(!o||o.nodeType!=1||vT(t)||lce.test(t.nodeName)||t.contentEditable=="false")return!1;e=mi(t)+(i<0?0:1),t=o}else if(t.nodeType==1){if(t=t.childNodes[e+(i<0?-1:0)],t.contentEditable=="false")return!1;e=i<0?Za(t):0}else return!1}}function Za(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function cce(t,e,n){for(let r=e==0,i=e==Za(t);r||i;){if(t==n)return!0;let o=mi(t);if(t=t.parentNode,!t)return!1;r=r&&o==0,i=i&&o==Za(t)}}function vT(t){let e;for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}var Y1=function(t){return t.focusNode&&uu(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)};function ou(t,e){let n=document.createEvent("Event");return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}function dce(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function uce(t,e,n){if(t.caretPositionFromPoint)try{let r=t.caretPositionFromPoint(e,n);if(r)return{node:r.offsetNode,offset:r.offset}}catch{}if(t.caretRangeFromPoint){let r=t.caretRangeFromPoint(e,n);if(r)return{node:r.startContainer,offset:r.startOffset}}}var Xa=typeof navigator<"u"?navigator:null,M9=typeof document<"u"?document:null,gc=Xa&&Xa.userAgent||"",rT=/Edge\/(\d+)/.exec(gc),oL=/MSIE \d/.exec(gc),iT=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(gc),Ni=!!(oL||iT||rT),hc=oL?document.documentMode:iT?+iT[1]:rT?+rT[1]:0,ha=!Ni&&/gecko\/(\d+)/i.test(gc);ha&&+(/Firefox\/(\d+)/.exec(gc)||[0,0])[1];var oT=!Ni&&/Chrome\/(\d+)/.exec(gc),Qr=!!oT,fce=oT?+oT[1]:0,gi=!Ni&&!!Xa&&/Apple Computer/.test(Xa.vendor),Yp=gi&&(/Mobile\/\w+/.test(gc)||!!Xa&&Xa.maxTouchPoints>2),Oo=Yp||(Xa?/Mac/.test(Xa.platform):!1),pce=Xa?/Win/.test(Xa.platform):!1,pa=/Android \d/.test(gc),N0=!!M9&&"webkitFontSmoothing"in M9.documentElement.style,hce=N0?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function mce(t){return{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function qs(t,e){return typeof t=="number"?t:t[e]}function gce(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function T9(t,e,n){let r=t.someProp("scrollThreshold")||0,i=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument;for(let a=n||t.dom;a;a=I0(a)){if(a.nodeType!=1)continue;let s=a,l=s==o.body,c=l?mce(o):gce(s),d=0,u=0;if(e.topc.bottom-qs(r,"bottom")&&(u=e.bottom-e.top>c.bottom-c.top?e.top+qs(i,"top")-c.top:e.bottom-c.bottom+qs(i,"bottom")),e.leftc.right-qs(r,"right")&&(d=e.right-c.right+qs(i,"right")),d||u)if(l)o.defaultView.scrollBy(d,u);else{let f=s.scrollLeft,p=s.scrollTop;u&&(s.scrollTop+=u),d&&(s.scrollLeft+=d);let h=s.scrollLeft-f,g=s.scrollTop-p;e={left:e.left-h,top:e.top-g,right:e.right-h,bottom:e.bottom-g}}if(l||/^(fixed|sticky)$/.test(getComputedStyle(a).position))break}}function yce(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,i;for(let o=(e.left+e.right)/2,a=n+1;a=n-20){r=s,i=l.top;break}}return{refDOM:r,refTop:i,stack:aL(t.dom)}}function aL(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=I0(r));return e}function bce({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;sL(n,r==0?0:r-e)}function sL(t,e){for(let n=0;n=s){a=Math.max(h.bottom,a),s=Math.min(h.top,s);let g=h.left>e.left?h.left-e.left:h.right=(h.left+h.right)/2?1:0));continue}}else h.top>e.top&&!l&&h.left<=e.left&&h.right>=e.left&&(l=d,c={left:Math.max(h.left,Math.min(h.right,e.left)),top:h.top});!n&&(e.left>=h.right&&e.top>=h.top||e.left>=h.left&&e.top>=h.bottom)&&(o=u+1)}}return!n&&l&&(n=l,i=c,r=0),n&&n.nodeType==3?wce(n,i):!n||r&&n.nodeType==1?{node:t,offset:o}:lL(n,i)}function wce(t,e){let n=t.nodeValue.length,r=document.createRange();for(let i=0;i=(o.left+o.right)/2?1:0)}}return{node:t,offset:0}}function kT(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function vce(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(a.left+a.right)/2?1:-1}return t.docView.posFromDOM(r,i,o)}function xce(t,e,n,r){let i=-1;for(let o=e,a=!1;o!=t.dom;){let s=t.docView.nearestDesc(o,!0);if(!s)return null;if(s.dom.nodeType==1&&(s.node.isBlock&&s.parent&&!a||!s.contentDOM)){let l=s.dom.getBoundingClientRect();if(s.node.isBlock&&s.parent&&!a&&(a=!0,l.left>r.left||l.top>r.top?i=s.posBefore:(l.right-1?i:t.docView.posFromDOM(e,n,-1)}function cL(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&i++}let c;N0&&i&&r.nodeType==1&&(c=r.childNodes[i-1]).nodeType==1&&c.contentEditable=="false"&&c.getBoundingClientRect().top>=e.top&&i--,r==t.dom&&i==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?s=t.state.doc.content.size:(i==0||r.nodeType!=1||r.childNodes[i-1].nodeName!="BR")&&(s=xce(t,r,i,e))}s==null&&(s=kce(t,a,e));let l=t.docView.nearestDesc(a,!0);return{pos:s,inside:l?l.posAtStart-l.border:-1}}function A9(t){return t.top=0&&i==r.nodeValue.length?(l--,d=1):n<0?l--:c++,M0(uc(Ws(r,l,c),d),d<0)}if(!t.state.doc.resolve(e-(o||0)).parent.inlineContent){if(o==null&&i&&(n<0||i==Za(r))){let l=r.childNodes[i-1];if(l.nodeType==1)return J4(l.getBoundingClientRect(),!1)}if(o==null&&i=0)}if(o==null&&i&&(n<0||i==Za(r))){let l=r.childNodes[i-1],c=l.nodeType==3?Ws(l,Za(l)-(a?0:1)):l.nodeType==1&&(l.nodeName!="BR"||!l.nextSibling)?l:null;if(c)return M0(uc(c,1),!1)}if(o==null&&i=0)}function M0(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function J4(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function uL(t,e,n){let r=t.state,i=t.root.activeElement;r!=e&&t.updateState(e),i!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),i!=t.dom&&i&&i.focus()}}function Sce(t,e,n){let r=e.selection,i=n=="up"?r.$from:r.$to;return uL(t,e,()=>{let{node:o}=t.docView.domFromPos(i.pos,n=="up"?-1:1);for(;;){let s=t.docView.nearestDesc(o,!0);if(!s)break;if(s.node.isBlock){o=s.contentDOM||s.dom;break}o=s.dom.parentNode}let a=dL(t,i.pos,1);for(let s=o.firstChild;s;s=s.nextSibling){let l;if(s.nodeType==1)l=s.getClientRects();else if(s.nodeType==3)l=Ws(s,0,s.nodeValue.length).getClientRects();else continue;for(let c=0;cd.top+1&&(n=="up"?a.top-d.top>(d.bottom-a.top)*2:d.bottom-a.bottom>(a.bottom-d.top)*2))return!1}}return!0})}var Ece=/[\u0590-\u08ac]/;function Mce(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,o=!i,a=i==r.parent.content.size,s=t.domSelection();return!Ece.test(r.parent.textContent)||!s.modify?n=="left"||n=="backward"?o:a:uL(t,e,()=>{let{focusNode:l,focusOffset:c,anchorNode:d,anchorOffset:u}=t.domSelectionRange(),f=s.caretBidiLevel;s.modify("move",n,"character");let p=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:h,focusOffset:g}=t.domSelectionRange(),b=h&&!p.contains(h.nodeType==1?h:h.parentNode)||l==h&&c==g;try{s.collapse(d,u),l&&(l!=d||c!=u)&&s.extend&&s.extend(l,c)}catch{}return f!=null&&(s.caretBidiLevel=f),b})}var I9=null,O9=null,P9=!1;function Tce(t,e,n){return I9==e&&O9==n?P9:(I9=e,O9=n,P9=n=="up"||n=="down"?Sce(t,e,n):Mce(t,e,n))}var Po=0,F9=1,au=2,Qa=3,fu=class{constructor(e,n,r,i){this.parent=e,this.children=n,this.dom=r,this.contentDOM=i,this.dirty=Po,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nmi(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))i=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!1;break}if(o.previousSibling)break}if(i==null&&n==e.childNodes.length)for(let o=e;;o=o.parentNode){if(o==this.dom){i=!0;break}if(o.nextSibling)break}}return i??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,i=e;i;i=i.parentNode){let o=this.getDesc(i),a;if(o&&(!n||o.node))if(r&&(a=o.nodeDOM)&&!(a.nodeType==1?a.contains(e.nodeType==1?e:e.parentNode):a==e))r=!1;else return o}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let i=e;i;i=i.parentNode){let o=this.getDesc(i);if(o)return o.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||a instanceof B1){i=e-o;break}o=s}if(i)return this.children[r].domFromPos(i-this.children[r].border,n);for(let o;r&&!(o=this.children[r-1]).size&&o instanceof z1&&o.side>=0;r--);if(n<=0){let o,a=!0;for(;o=r?this.children[r-1]:null,!(!o||o.dom.parentNode==this.contentDOM);r--,a=!1);return o&&n&&a&&!o.border&&!o.domAtom?o.domFromPos(o.size,n):{node:this.contentDOM,offset:o?mi(o.dom)+1:0}}else{let o,a=!0;for(;o=r=d&&n<=c-l.border&&l.node&&l.contentDOM&&this.contentDOM.contains(l.contentDOM))return l.parseRange(e,n,d);e=a;for(let u=s;u>0;u--){let f=this.children[u-1];if(f.size&&f.dom.parentNode==this.contentDOM&&!f.emptyChildAt(1)){i=mi(f.dom)+1;break}e-=f.size}i==-1&&(i=0)}if(i>-1&&(c>n||s==this.children.length-1)){n=c;for(let d=s+1;dp&&an){let p=s;s=l,l=p}let f=document.createRange();f.setEnd(l.node,l.offset),f.setStart(s.node,s.offset),c.removeAllRanges(),c.addRange(f)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,i=0;i=r:er){let s=r+o.border,l=a-o.border;if(e>=s&&n<=l){this.dirty=e==r||n==a?au:F9,e==s&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Qa:o.markDirty(e-s,n-s);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?au:Qa}r=a}this.dirty=au}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?au:F9;n.dirty{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(a.nodeType!=1){let s=document.createElement("span");s.appendChild(a),a=s}a.contentEditable="false",a.classList.add("ProseMirror-widget")}super(e,[],a,null),this.widget=n,this.widget=n,o=this}matchesWidget(e){return this.dirty==Po&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}},aT=class extends fu{constructor(e,n,r,i){super(e,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}},Kp=class t extends fu{constructor(e,n,r,i){super(e,[],r,i),this.mark=n}static create(e,n,r,i){let o=i.nodeViews[n.type.name],a=o&&o(n,i,r);return(!a||!a.dom)&&(a=Fi.renderSpec(document,n.type.spec.toDOM(n,r))),new t(e,n,a.dom,a.contentDOM||a.dom)}parseRule(){return this.dirty&Qa||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Qa&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=Po){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(o=uT(o,0,e,r));for(let s=0;s{if(!l)return a;if(l.parent)return l.parent.posBeforeChild(l)},r,i),d=c&&c.dom,u=c&&c.contentDOM;if(n.isText){if(!d)d=document.createTextNode(n.text);else if(d.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else d||({dom:d,contentDOM:u}=Fi.renderSpec(document,n.type.spec.toDOM(n)));!u&&!n.isText&&d.nodeName!="BR"&&(d.hasAttribute("contenteditable")||(d.contentEditable="false"),n.type.spec.draggable&&(d.draggable=!0));let f=d;return d=hL(d,r,n),c?l=new sT(e,n,r,i,d,u||null,f,c,o,a+1):n.isText?new L1(e,n,r,i,d,f,o):new t(e,n,r,i,d,u||null,f,o,a+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>Z.empty)}return e}matchesNode(e,n,r){return this.dirty==Po&&e.eq(this.node)&&cT(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,i=n,o=e.composing?this.localCompositionInfo(e,n):null,a=o&&o.pos>-1?o:null,s=o&&o.pos<0,l=new dT(this,a&&a.node,e);Pce(this.node,this.innerDeco,(c,d,u)=>{c.spec.marks?l.syncToMarks(c.spec.marks,r,e):c.type.side>=0&&!u&&l.syncToMarks(d==this.node.childCount?jt.none:this.node.child(d).marks,r,e),l.placeWidget(c,e,i)},(c,d,u,f)=>{l.syncToMarks(c.marks,r,e);let p;l.findNodeMatch(c,d,u,f)||s&&e.state.selection.from>i&&e.state.selection.to-1&&l.updateNodeAt(c,d,u,p,e)||l.updateNextNode(c,d,u,e,f,i)||l.addNode(c,d,u,e,i),i+=c.nodeSize}),l.syncToMarks([],r,e),this.node.isTextblock&&l.addTextblockHacks(),l.destroyRest(),(l.changed||this.dirty==au)&&(a&&this.protectLocalComposition(e,a),fL(this.contentDOM,this.children,e),Yp&&Fce(this.dom))}localCompositionInfo(e,n){let{from:r,to:i}=e.state.selection;if(!(e.state.selection instanceof je)||rn+this.node.content.size)return null;let o=e.domSelectionRange(),a=Nce(o.focusNode,o.focusOffset);if(!a||!this.dom.contains(a.parentNode))return null;if(this.node.inlineContent){let s=a.nodeValue,l=Rce(this.node.content,s,r-n,i-n);return l<0?null:{node:a,pos:l,text:s}}else return{node:a,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:i}){if(this.getDesc(n))return;let o=n;for(;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=void 0)}let a=new aT(this,o,n,i);e.input.compositionNodes.push(a),this.children=uT(this.children,r,r+i.length,e,a)}update(e,n,r,i){return this.dirty==Qa||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,i),!0)}updateInner(e,n,r,i){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=Po}updateOuterDeco(e){if(cT(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=pL(this.dom,this.nodeDOM,lT(this.outerDeco,this.node,n),lT(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.dom.draggable=!0)}deselectNode(){this.nodeDOM.nodeType==1&&this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.dom.removeAttribute("draggable")}get domAtom(){return this.node.isAtom}};function N9(t,e,n,r,i){hL(r,e,t);let o=new mc(void 0,t,e,n,r,r,r,i,0);return o.contentDOM&&o.updateChildren(i,0),o}var L1=class t extends mc{constructor(e,n,r,i,o,a,s){super(e,n,r,i,o,null,a,s,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,i){return this.dirty==Qa||this.dirty!=Po&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=Po||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,i.trackWrites==this.nodeDOM&&(i.trackWrites=null)),this.node=e,this.dirty=Po,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let i=this.node.cut(e,n),o=document.createTextNode(i.text);return new t(this.parent,i,this.outerDeco,this.innerDeco,o,o,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Qa)}get domAtom(){return!1}},B1=class extends fu{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Po&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}},sT=class extends mc{constructor(e,n,r,i,o,a,s,l,c,d){super(e,n,r,i,o,a,s,c,d),this.spec=l}update(e,n,r,i){if(this.dirty==Qa)return!1;if(this.spec.update){let o=this.spec.update(e,n,r);return o&&this.updateInner(e,n,r,i),o}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,i){this.spec.setSelection?this.spec.setSelection(e,n,r):super.setSelection(e,n,r,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};function fL(t,e,n){let r=t.firstChild,i=!1;for(let o=0;o>1,a=Math.min(o,e.length);for(;i-1)s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index];else{let l=Kp.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,l),this.top=l,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,i){let o=-1,a;if(i>=this.preMatch.index&&(a=this.preMatch.matches[i-this.preMatch.index]).parent==this.top&&a.matchesNode(e,n,r))o=this.top.children.indexOf(a,this.index);else for(let s=this.index,l=Math.min(this.top.children.length,s+5);s0;){let s;for(;;)if(r){let c=n.children[r-1];if(c instanceof Kp)n=c,r=c.children.length;else{s=c,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let l=s.node;if(l){if(l!=t.child(i-1))break;--i,o.set(s,i),a.push(s)}}return{index:i,matched:o,matches:a.reverse()}}function Oce(t,e){return t.type.side-e.type.side}function Pce(t,e,n,r){let i=e.locals(t),o=0;if(i.length==0){for(let c=0;co;)s.push(i[a++]);let h=o+f.nodeSize;if(f.isText){let b=h;a!b.inline):s.slice();r(f,g,e.forChild(o,f),p),o=h}}function Fce(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function Nce(t,e){for(;;){if(t.nodeType==3)return t;if(t.nodeType==1&&e>0){if(t.childNodes.length>e&&t.childNodes[e].nodeType==3)return t.childNodes[e];t=t.childNodes[e-1],e=Za(t)}else if(t.nodeType==1&&e=n){if(o>=r&&l.slice(r-e.length-s,r-s)==e)return r-e.length;let c=s=0&&c+e.length+s>=n)return s+c;if(n==r&&l.length>=r+e.length-s&&l.slice(r-s,r-s+e.length)==e)return r}}return-1}function uT(t,e,n,r,i){let o=[];for(let a=0,s=0;a=n||d<=e?o.push(l):(cn&&o.push(l.slice(n-c,l.size,r)))}return o}function xT(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let i=t.docView.nearestDesc(n.focusNode),o=i&&i.size==0,a=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(a<0)return null;let s=r.resolve(a),l,c;if(Y1(n)){for(l=s;i&&!i.node;)i=i.parent;let d=i.node;if(i&&d.isAtom&&Ue.isSelectable(d)&&i.parent&&!(d.isInline&&cce(n.focusNode,n.focusOffset,i.dom))){let u=i.posBefore;c=new Ue(a==u?s:r.resolve(u))}}else{let d=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(d<0)return null;l=r.resolve(d)}if(!c){let d=e=="pointer"||t.state.selection.head{(n.anchorNode!=r||n.anchorOffset!=i)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!mL(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function zce(t){let e=t.domSelection(),n=document.createRange(),r=t.cursorWrapper.dom,i=r.nodeName=="IMG";i?n.setEnd(r.parentNode,mi(r)+1):n.setEnd(r,0),n.collapse(!1),e.removeAllRanges(),e.addRange(n),!i&&!t.state.selection.visible&&Ni&&hc<=11&&(r.disabled=!0,r.disabled=!1)}function gL(t,e){if(e instanceof Ue){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(B9(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else B9(t)}function B9(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function CT(t,e,n,r){return t.someProp("createSelectionBetween",i=>i(t,e,n))||je.between(e,n,r)}function V9(t){return t.editable&&!t.hasFocus()?!1:yL(t)}function yL(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function Lce(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return uu(e.node,e.offset,n.anchorNode,n.anchorOffset)}function fT(t,e){let{$anchor:n,$head:r}=t.selection,i=e>0?n.max(r):n.min(r),o=i.parent.inlineContent?i.depth?t.doc.resolve(e>0?i.after():i.before()):null:i;return o&&Ne.findFrom(o,e)}function fc(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function U9(t,e,n){let r=t.state.selection;if(r instanceof je)if(n.indexOf("s")>-1){let{$head:i}=r,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter;if(!o||o.isText||!o.isLeaf)return!1;let a=t.state.doc.resolve(i.pos+o.nodeSize*(e<0?-1:1));return fc(t,new je(r.$anchor,a))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let i=fT(t.state,e);return i&&i instanceof Ue?fc(t,i):!1}else if(!(Oo&&n.indexOf("m")>-1)){let i=r.$head,o=i.textOffset?null:e<0?i.nodeBefore:i.nodeAfter,a;if(!o||o.isText)return!1;let s=e<0?i.pos-o.nodeSize:i.pos;return o.isAtom||(a=t.docView.descAt(s))&&!a.contentDOM?Ue.isSelectable(o)?fc(t,new Ue(e<0?t.state.doc.resolve(i.pos-o.nodeSize):i)):N0?fc(t,new je(t.state.doc.resolve(e<0?s:s+o.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Ue&&r.node.isInline)return fc(t,new je(e>0?r.$to:r.$from));{let i=fT(t.state,e);return i?fc(t,i):!1}}}function V1(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function A0(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function qp(t,e){return e<0?Bce(t):Vce(t)}function Bce(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i,o,a=!1;for(ha&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let s=n.childNodes[r-1];if(A0(s,-1))i=n,o=--r;else if(s.nodeType==3)n=s,r=n.nodeValue.length;else break}}else{if(bL(n))break;{let s=n.previousSibling;for(;s&&A0(s,-1);)i=n.parentNode,o=mi(s),s=s.previousSibling;if(s)n=s,r=V1(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}a?pT(t,n,r):i&&pT(t,i,o)}function Vce(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let i=V1(n),o,a;for(;;)if(r{t.state==i&&Gs(t)},50)}function H9(t,e){let n=t.state.doc.resolve(e);if(!(Qr||pce)&&n.parent.inlineContent){let i=t.coordsAtPos(e);if(e>n.start()){let o=t.coordsAtPos(e-1),a=(o.top+o.bottom)/2;if(a>i.top&&a1)return o.lefti.top&&a1)return o.left>i.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function $9(t,e,n){let r=t.state.selection;if(r instanceof je&&!r.empty||n.indexOf("s")>-1||Oo&&n.indexOf("m")>-1)return!1;let{$from:i,$to:o}=r;if(!i.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let a=fT(t.state,e);if(a&&a instanceof Ue)return fc(t,a)}if(!i.parent.inlineContent){let a=e<0?i:o,s=r instanceof hi?Ne.near(a,e):Ne.findFrom(a,e);return s?fc(t,s):!1}return!1}function q9(t,e){if(!(t.state.selection instanceof je))return!0;let{$head:n,$anchor:r,empty:i}=t.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(o&&!o.isText){let a=t.state.tr;return e<0?a.delete(n.pos-o.nodeSize,n.pos):a.delete(n.pos,n.pos+o.nodeSize),t.dispatch(a),!0}return!1}function W9(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function $ce(t){if(!gi||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;W9(t,r,"true"),setTimeout(()=>W9(t,r,"false"),20)}return!1}function qce(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function Wce(t,e){let n=e.keyCode,r=qce(e);if(n==8||Oo&&n==72&&r=="c")return q9(t,-1)||qp(t,-1);if(n==46&&!e.shiftKey||Oo&&n==68&&r=="c")return q9(t,1)||qp(t,1);if(n==13||n==27)return!0;if(n==37||Oo&&n==66&&r=="c"){let i=n==37?H9(t,t.state.selection.from)=="ltr"?-1:1:-1;return U9(t,i,r)||qp(t,i)}else if(n==39||Oo&&n==70&&r=="c"){let i=n==39?H9(t,t.state.selection.from)=="ltr"?1:-1:1;return U9(t,i,r)||qp(t,i)}else{if(n==38||Oo&&n==80&&r=="c")return $9(t,-1,r)||qp(t,-1);if(n==40||Oo&&n==78&&r=="c")return $ce(t)||$9(t,1,r)||qp(t,1);if(r==(Oo?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function _L(t,e){t.someProp("transformCopied",p=>{e=p(e,t)});let n=[],{content:r,openStart:i,openEnd:o}=e;for(;i>1&&o>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,o--;let p=r.firstChild;n.push(p.type.name,p.attrs!=p.type.defaultAttrs?p.attrs:null),r=p.content}let a=t.someProp("clipboardSerializer")||Fi.fromSchema(t.state.schema),s=DL(),l=s.createElement("div");l.appendChild(a.serializeFragment(r,{document:s}));let c=l.firstChild,d,u=0;for(;c&&c.nodeType==1&&(d=CL[c.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let h=s.createElement(d[p]);for(;l.firstChild;)h.appendChild(l.firstChild);l.appendChild(h),u++}c=l.firstChild}c&&c.nodeType==1&&c.setAttribute("data-pm-slice",`${i} ${o}${u?` -${u}`:""} ${JSON.stringify(n)}`);let f=t.someProp("clipboardTextSerializer",p=>p(e,t))||e.content.textBetween(0,e.content.size,` -`);return{dom:l,text:f}}function _L(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let l=e&&(r||o||!n);if(l){if(t.someProp("transformPastedText",f=>{e=f(e,o||r,t)}),o)return e?new ce(Z.from(t.state.schema.text(e.replace(/\r\n?/g,` -`))),0,0):ce.empty;let u=t.someProp("clipboardTextParser",f=>f(e,i,r,t));if(u)s=u;else{let f=i.marks(),{schema:h}=t.state,p=Ao.fromSchema(h);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let b=a.appendChild(document.createElement("p"));g&&b.appendChild(p.serializeNode(h.text(g,f)))})}}else t.someProp("transformPastedHTML",u=>{n=u(n,t)}),a=Lce(n),P0&&Bce(a);let c=a&&a.querySelector("[data-pm-slice]"),d=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let u=+d[3];u>0;u--){let f=a.firstChild;for(;f&&f.nodeType!=1;)f=f.nextSibling;if(!f)break;a=f}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||Hs.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||d),context:i,ruleFromNode(f){return f.nodeName=="BR"&&!f.nextSibling&&f.parentNode&&!jce.test(f.parentNode.nodeName)?{ignore:!0}:null}})),d)s=Vce(W9(s,+d[1],+d[2]),d[4]);else if(s=ce.maxOpen(zce(s.content,i),!0),s.openStart||s.openEnd){let u=0,f=0;for(let h=s.content.firstChild;u{s=u(s,t)}),s}var jce=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function zce(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),o,a=[];if(t.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),c;if(!l)return a=null;if(c=a.length&&o.length&&vL(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=kL(a[a.length-1],o.length));let d=wL(s,l);a.push(d),i=i.matchType(d.type),o=l}}),a)return Z.from(a)}return t}function wL(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,Z.from(t));return t}function vL(t,e,n,r,i){if(i1&&(o=0),i=n&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Z.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function W9(t,e,n){return e]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=CL().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&xL[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"").reverse().join("")),n.innerHTML=t,i)for(let o=0;o=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=Z.from(l.create(r[s+1],i)),o++,a++}return new ce(i,o,a)}var bi={},_i={},Uce={touchstart:!0,touchmove:!0},hT=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function Hce(t){for(let e in bi){let n=bi[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{qce(t,r)&&!xT(t,r)&&(t.editable||!(r.type in _i))&&n(t,r)},Uce[e]?{passive:!0}:void 0)}yi&&t.dom.addEventListener("input",()=>null),pT(t)}function pc(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function $ce(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function pT(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>xT(t,r))})}function xT(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function qce(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function Wce(t,e){!xT(t,e)&&bi[e.type]&&(t.editable||!(e.type in _i))&&bi[e.type](t,e)}_i.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!SL(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(fa&&Qr&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),Gh&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,iu(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||Rce(t,n)?n.preventDefault():pc(t,"key")};_i.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};_i.keypress=(t,e)=>{let n=e;if(SL(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Io&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Ne)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function Y1(t){return{left:t.clientX,top:t.clientY}}function Gce(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function CT(t,e,n,r,i){if(r==-1)return!1;let o=t.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(t.someProp(e,s=>a>o.depth?s(t,n,o.nodeAfter,o.before(a),i,!0):s(t,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Wh(t,e,n){t.focused||t.focus();let r=t.state.tr.setSelection(e);n=="pointer"&&r.setMeta("pointer",!0),t.dispatch(r)}function Yce(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Le.isSelectable(r)?(Wh(t,new Le(n),"pointer"),!0):!1}function Kce(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof Le&&(r=n.node);let o=t.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(Le.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(Wh(t,Le.create(t.state.doc,i),"pointer"),!0):!1}function Zce(t,e,n,r,i){return CT(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?Kce(t,n):Yce(t,n))}function Xce(t,e,n,r){return CT(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function Qce(t,e,n,r){return CT(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||Jce(t,n,r)}function Jce(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Wh(t,Ne.create(r,0,r.content.size),"pointer"),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)Wh(t,Ne.create(r,s+1,s+1+a.content.size),"pointer");else if(Le.isSelectable(a))Wh(t,Le.create(r,s),"pointer");else continue;return!0}}function DT(t){return V1(t)}var DL=Io?"metaKey":"ctrlKey";bi.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=DT(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&Gce(n,t.input.lastClick)&&!n[DL]&&(t.input.lastClick.type=="singleClick"?o="doubleClick":t.input.lastClick.type=="doubleClick"&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=t.posAtCoords(Y1(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new mT(t,a,n,!!r)):(o=="doubleClick"?Xce:Qce)(t,a.pos,a.inside,n)?n.preventDefault():pc(t,"pointer"))};var mT=class{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[DL],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let d=e.state.doc.resolve(n.pos);o=d.parent,a=d.depth?d.before():0}let s=i?null:r.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l?l.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof Le&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&ha&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),pc(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Ys(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Y1(e))),this.updateAllowDefault(e),this.allowDefault||!n?pc(this.view,"pointer"):Zce(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||yi&&this.mightDrag&&!this.mightDrag.node.isAtom||Qr&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Wh(this.view,Pe.near(this.view.state.doc.resolve(n.pos)),"pointer"),e.preventDefault()):pc(this.view,"pointer")}move(e){this.updateAllowDefault(e),pc(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}};bi.touchstart=t=>{t.input.lastTouch=Date.now(),DT(t),pc(t,"pointer")};bi.touchmove=t=>{t.input.lastTouch=Date.now(),pc(t,"pointer")};bi.contextmenu=t=>DT(t);function SL(t,e){return t.composing?!0:yi&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}var ede=fa?5e3:-1;_i.compositionstart=_i.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),V1(t,!0),t.markCursor=null;else if(V1(t),ha&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){t.domSelection().collapse(a,a.nodeValue.length);break}else i=a,o=-1}}t.input.composing=!0}EL(t,ede)};_i.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,EL(t,20))};function EL(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>V1(t),e))}function ML(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=tde());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function tde(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function V1(t,e=!1){if(!(fa&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),ML(t),e||t.docView&&t.docView.dirty){let n=vT(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):t.updateState(t.state),!0}return!1}}function nde(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}var A0=Ni&&mc<15||Gh&&ice<604;bi.copy=_i.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=A0?null:n.clipboardData,a=r.content(),{dom:s,text:l}=bL(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):nde(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function rde(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function ide(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?I0(t,r.value,null,i,e):I0(t,r.textContent,r.innerHTML,i,e)},50)}function I0(t,e,n,r,i){let o=_L(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",l=>l(t,i,o||ce.empty)))return!0;if(!o)return!1;let a=rde(o),s=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(o);return t.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function TL(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}_i.paste=(t,e)=>{let n=e;if(t.composing&&!fa)return;let r=A0?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&I0(t,TL(r),r.getData("text/html"),i,n)?n.preventDefault():ide(t,n)};var U1=class{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}},AL=Io?"altKey":"ctrlKey";bi.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,o=i.empty?null:t.posAtCoords(Y1(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Le?i.to-1:i.to))){if(r&&r.mightDrag)a=Le.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let d=t.docView.nearestDesc(n.target,!0);d&&d.node.type.spec.draggable&&d!=t.docView&&(a=Le.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:l,text:c}=bL(t,s);n.dataTransfer.clearData(),n.dataTransfer.setData(A0?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",A0||n.dataTransfer.setData("text/plain",c),t.dragging=new U1(s,!n[AL],a)};bi.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};_i.dragover=_i.dragenter=(t,e)=>e.preventDefault();_i.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(Y1(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",p=>{a=p(a,t)}):a=_L(t,TL(n.dataTransfer),A0?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[AL]);if(t.someProp("handleDrop",p=>p(t,n,a||ce.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?Vh(t.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let c=t.state.tr;if(s){let{node:p}=r;p?p.replace(c):c.deleteSelection()}let d=c.mapping.map(l),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,f=c.doc;if(u?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),c.doc.eq(f))return;let h=c.doc.resolve(d);if(u&&Le.isSelectable(a.content.firstChild)&&h.nodeAfter&&h.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new Le(h));else{let p=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((g,b,_,x)=>p=x),c.setSelection(kT(t,h,c.doc.resolve(p)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};bi.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Ys(t)},20))};bi.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};bi.beforeinput=(t,e)=>{if(Qr&&fa&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",o=>o(t,iu(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in _i)bi[t]=_i[t];function O0(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}var H1=class t{constructor(e,n){this.toDOM=e,this.spec=n||lu,this.side=this.spec.side||0}map(e,n,r,i){let{pos:o,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new pn(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof t&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&O0(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},su=class t{constructor(e,n){this.attrs=e,this.spec=n||lu}map(e,n,r,i){let o=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new pn(o,a,this)}valid(e,n){return n.from=e&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;ae){let s=this.children[a]+1;this.children[a+2].findInner(e-s,n-s,r,i+s,o)}}map(e,n,r){return this==Xr||e.maps.length==0?this:this.mapInner(e,n,0,0,r||lu)}mapInner(e,n,r,i,o){let a;for(let s=0;s{let c=l+r,d;if(d=OL(n,s,c)){for(i||(i=this.children.slice());os&&u.to=e){this.children[s]==e&&(r=this.children[s+2]);break}let o=e+1,a=o+n.content.size;for(let s=0;so&&l.type instanceof su){let c=Math.max(o,l.from)-o,d=Math.min(a,l.to)-o;ci.map(e,n,lu));return t.from(r)}forChild(e,n){if(n.isLeaf)return Et.empty;let r=[];for(let i=0;in instanceof Et)?e:e.reduce((n,r)=>n.concat(r instanceof Et?r:r.members),[]))}}};function ode(t,e,n,r,i,o,a){let s=t.slice();for(let c=0,d=o;c{let b=g-p-(h-f);for(let _=0;_x+d-u)continue;let E=s[_]+d-u;h>=E?s[_+1]=f<=E?-2:-1:f>=d&&b&&(s[_]+=b,s[_+1]+=b)}u+=b}),d=n.maps[c].map(d,-1)}let l=!1;for(let c=0;c=r.content.size){l=!0;continue}let f=n.map(t[c+1]+o,-1),h=f-i,{index:p,offset:g}=r.content.findIndex(u),b=r.maybeChild(p);if(b&&g==u&&g+b.nodeSize==h){let _=s[c+2].mapInner(n,b,d+1,t[c]+o+1,a);_!=Xr?(s[c]=u,s[c+1]=h,s[c+2]=_):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=ade(s,t,e,n,i,o,a),d=q1(c,r,0,a);e=d.local;for(let u=0;un&&a.to{let c=OL(t,s,l+n);if(c){o=!0;let d=q1(c,s,n+l+1,r);d!=Xr&&i.push(l,l+s.nodeSize,d)}});let a=IL(o?PL(t):t,-n).sort(cu);for(let s=0;s0;)e++;t.splice(e,0,n)}function J4(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=Xr&&e.push(r)}),t.cursorWrapper&&e.push(Et.create(t.state.doc,[t.cursorWrapper.deco])),$1.from(e)}var sde={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},lde=Ni&&mc<=11,yT=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},bT=class{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new yT,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;ii.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),lde&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,sde)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(B9(this.view)){if(this.suppressingSelectionUpdates)return Ys(this.view);if(Ni&&mc<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&du(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let o=e.focusNode;o;o=T0(o))n.add(o);for(let o=e.anchorNode;o;o=T0(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&B9(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(e.editable)for(let d=0;d1){let d=l.filter(u=>u.nodeName=="BR");if(d.length==2){let u=d[0],f=d[1];u.parentNode&&u.parentNode.parentNode==f.parentNode?f.remove():u.remove()}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||i)&&(o>-1&&(e.docView.markDirty(o,a),cde(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Ys(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let d=0;di;b--){let _=r.childNodes[b-1],x=_.pmViewDesc;if(_.nodeName=="BR"&&!x){o=b;break}if(!x||x.size)break}let u=t.state.doc,f=t.someProp("domParser")||Hs.fromSchema(t.state.schema),h=u.resolve(a),p=null,g=f.parse(r,{topNode:h.parent,topMatch:h.parent.contentMatchAt(h.index()),topOpen:!0,from:i,to:o,preserveWhitespace:h.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:fde,context:h});if(c&&c[0].pos!=null){let b=c[0].pos,_=c[1]&&c[1].pos;_==null&&(_=b),p={anchor:b+a,head:_+a}}return{doc:g,sel:p,from:a,to:s}}function fde(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(yi&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||yi&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}var hde=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function pde(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let N=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,O=vT(t,N);if(O&&!t.state.selection.eq(O)){if(Qr&&fa&&t.input.lastKeyCode===13&&Date.now()-100V(t,iu(13,"Enter"))))return;let J=t.state.tr.setSelection(O);N=="pointer"?J.setMeta("pointer",!0):N=="key"&&J.scrollIntoView(),o&&J.setMeta("composition",o),t.dispatch(J)}return}let a=t.state.doc.resolve(e),s=a.sharedDepth(n);e=a.before(s+1),n=t.state.doc.resolve(n).after(s+1);let l=t.state.selection,c=ude(t,e,n),d=t.state.doc,u=d.slice(c.from,c.to),f,h;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||fa)&&i.some(N=>N.nodeType==1&&!hde.test(N.nodeName))&&(!p||p.endA>=p.endB)&&t.someProp("handleKeyDown",N=>N(t,iu(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!p)if(r&&l instanceof Ne&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))p={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let N=X9(t,t.state.doc,c.sel);if(N&&!N.eq(t.state.selection)){let O=t.state.tr.setSelection(N);o&&O.setMeta("composition",o),t.dispatch(O)}}return}if(Qr&&t.cursorWrapper&&c.sel&&c.sel.anchor==t.cursorWrapper.deco.from&&c.sel.head==c.sel.anchor){let N=p.endB-p.start;c.sel={anchor:c.sel.anchor+N,head:c.sel.anchor+N}}t.input.domChangeCount++,t.state.selection.fromt.state.selection.from&&p.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?p.start=t.state.selection.from:p.endA=t.state.selection.to-2&&t.state.selection.to<=c.to&&(p.endB+=t.state.selection.to-p.endA,p.endA=t.state.selection.to)),Ni&&mc<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>c.from&&c.doc.textBetween(p.start-c.from-1,p.start-c.from+1)==" \xA0"&&(p.start--,p.endA--,p.endB--);let g=c.doc.resolveNoCache(p.start-c.from),b=c.doc.resolveNoCache(p.endB-c.from),_=d.resolve(p.start),x=g.sameParent(b)&&g.parent.inlineContent&&_.end()>=p.endA,E;if((Gh&&t.input.lastIOSEnter>Date.now()-225&&(!x||i.some(N=>N.nodeName=="DIV"||N.nodeName=="P"))||!x&&g.posN(t,iu(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>p.start&&gde(d,p.start,p.endA,g,b)&&t.someProp("handleKeyDown",N=>N(t,iu(8,"Backspace")))){fa&&Qr&&t.domObserver.suppressSelectionUpdates();return}Qr&&fa&&p.endB==p.start&&(t.input.lastAndroidDelete=Date.now()),fa&&!x&&g.start()!=b.start()&&b.parentOffset==0&&g.depth==b.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==p.endA&&(p.endB-=2,b=c.doc.resolveNoCache(p.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(N){return N(t,iu(13,"Enter"))})},20));let v=p.start,j=p.endA,C,P,z;if(x){if(g.pos==b.pos)Ni&&mc<=11&&g.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Ys(t),20)),C=t.state.tr.delete(v,j),P=d.resolve(p.start).marksAcross(d.resolve(p.endA));else if(p.endA==p.endB&&(z=mde(g.parent.content.cut(g.parentOffset,b.parentOffset),_.parent.content.cut(_.parentOffset,p.endA-_.start()))))C=t.state.tr,z.type=="add"?C.addMark(v,j,z.mark):C.removeMark(v,j,z.mark);else if(g.parent.child(g.index()).isText&&g.index()==b.index()-(b.textOffset?0:1)){let N=g.parent.textBetween(g.parentOffset,b.parentOffset);if(t.someProp("handleTextInput",O=>O(t,v,j,N)))return;C=t.state.tr.insertText(N,v,j)}}if(C||(C=t.state.tr.replace(v,j,c.doc.slice(p.start-c.from,p.endB-c.from))),c.sel){let N=X9(t,C.doc,c.sel);N&&!(Qr&&fa&&t.composing&&N.empty&&(p.start!=p.endB||t.input.lastAndroidDeletee.content.size?null:kT(t,e.resolve(n.anchor),e.resolve(n.head))}function mde(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,l;for(let d=0;dd.mark(s.addToSet(d.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=d=>d.mark(s.removeFromSet(d.marks));else return null;let c=[];for(let d=0;dn||eT(a,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let o=t.node(r).maybeChild(t.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function yde(t,e,n,r,i){let o=t.findDiffStart(e,n);if(o==null)return null;let{a,b:s}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a=a?o-r:0;o-=l,o&&o=s?o-r:0;o-=l,o&&o=56320&&e<=57343&&n>=55296&&n<=56319}var W1=class{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new hT,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(rL),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=tL(this),eL(this),this.nodeViews=nL(this),this.docView=F9(this.state.doc,J9(this),J4(this),this.dom,this),this.domObserver=new bT(this,(r,i,o,a)=>pde(this,r,i,o,a)),this.domObserver.start(),Hce(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&pT(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(rL),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(ML(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let h=nL(this);_de(h,this.nodeViews)&&(this.nodeViews=h,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&pT(this),this.editable=tL(this),eL(this);let l=J4(this),c=J9(this),d=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",u=o||!this.docView.matchesNode(e.doc,c,l);(u||!e.selection.eq(i.selection))&&(a=!0);let f=d=="preserve"&&a&&this.dom.style.overflowAnchor==null&&sce(this);if(a){this.domObserver.stop();let h=u&&(Ni||Qr)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&bde(i.selection,e.selection);if(u){let p=Qr?this.trackWrites=this.domSelectionRange().focusNode:null;(o||!this.docView.update(e.doc,c,l,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=F9(e.doc,c,l,this.dom,this)),p&&!this.trackWrites&&(h=!0)}h||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Tce(this))?Ys(this,h):(mL(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():f&&lce(f)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Le){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&M9(this,n.getBoundingClientRect(),e)}else M9(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new U1(e.slice,e.move,i<0?void 0:Le.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;an.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return pce(this,e)}coordsAtPos(e,n=1){return cL(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return _ce(this,n||this.state,e)}pasteHTML(e,n){return I0(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return I0(this,e,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&($ce(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],J4(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Wce(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return yi&&this.root.nodeType===11&&ece(this.dom.ownerDocument)==this.dom?dde(this):this.domSelection()}domSelection(){return this.root.getSelection()}};function J9(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[pn.node(0,t.state.doc.content.size,e)]}function eL(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:pn.widget(t.state.selection.head,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function tL(t){return!t.someProp("editable",e=>e(t.state)===!1)}function bde(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function nL(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function _de(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}function rL(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var zn=class{constructor(e,n,r={}){this.match=e,this.match=e,this.handler=typeof n=="string"?wde(n):n,this.undoable=r.undoable!==!1}};function wde(t){return function(e,n,r,i){let o=t;if(n[1]){let a=n[0].lastIndexOf(n[1]);o+=n[0].slice(a+n[1].length),r+=a;let s=r-i;s>0&&(o=n[0].slice(a-s,a)+o,r=i)}return e.tr.insertText(o,r,i)}}var ZFe=new zn(/--$/,"\u2014"),XFe=new zn(/\.\.\.$/,"\u2026"),QFe=new zn(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C"),JFe=new zn(/"$/,"\u201D"),e7e=new zn(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),t7e=new zn(/'$/,"\u2019");function K1(t,e,n=null,r){return new zn(t,(i,o,a,s)=>{let l=n instanceof Function?n(o):n,c=i.tr.delete(a,s),d=c.doc.resolve(a),u=d.blockRange(),f=u&&x0(u,e,l);if(!f)return null;c.wrap(u,f);let h=c.doc.resolve(a-1).nodeBefore;return h&&h.type==e&&nu(c.doc,a-1)&&(!r||r(o,h))&&c.join(a-1),c})}function ET(t,e,n=null){return new zn(t,(r,i,o,a)=>{let s=r.doc.resolve(o),l=n instanceof Function?n(i):n;return s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),e)?r.tr.delete(o,a).setBlockType(o,o,e,l):null})}var bc=typeof navigator<"u"?navigator:null,FL=typeof document<"u"?document:null,_c=bc&&bc.userAgent||"",TT=/Edge\/(\d+)/.exec(_c),zL=/MSIE \d/.exec(_c),AT=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(_c),Z1=!!(zL||AT||TT),vde=zL?document.documentMode:AT?+AT[1]:TT?+TT[1]:0,LL=!Z1&&/gecko\/(\d+)/i.test(_c),kde=LL&&+(/Firefox\/(\d+)/.exec(_c)||[0,0])[1],IT=!Z1&&/Chrome\/(\d+)/.exec(_c),xde=!!IT,Cde=IT?+IT[1]:0,BL=!Z1&&!!bc&&/Apple Computer/.test(bc.vendor),VL=BL&&(/Mobile\/\w+/.test(_c)||!!bc&&bc.maxTouchPoints>2),Dde=VL||(bc?/Mac/.test(bc.platform):!1),Sde=/Android \d/.test(_c),UL=!!FL&&"webkitFontSmoothing"in FL.documentElement.style,Ede=UL?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,wc=Object.freeze({__proto__:null,android:Sde,chrome:xde,chrome_version:Cde,gecko:LL,gecko_version:kde,ie:Z1,ie_version:vde,ios:VL,mac:Dde,safari:BL,webkit:UL,webkit_version:Ede});function MT(t,e,n,r,i,o){if(t.composing)return!1;let a=t.state,s=a.doc.resolve(e);if(s.parent.type.spec.code)return!1;let l=s.parent.textBetween(Math.max(0,s.parentOffset-500),s.parentOffset,void 0,"\uFFFC")+r;for(let c=0;c(setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&MT(n,r.pos,r.pos,"",t,e)}),!1)},handleKeyDown(n,r){if(r.key!=="Enter")return!1;let{$cursor:i}=n.state.selection;return i?MT(n,i.pos,i.pos,` -`,t,e):!1}}});return e}var Tde=Object.defineProperty,Ade=Object.defineProperties,Ide=Object.getOwnPropertyDescriptors,NL=Object.getOwnPropertySymbols,Ode=Object.prototype.hasOwnProperty,Pde=Object.prototype.propertyIsEnumerable,RL=(t,e,n)=>e in t?Tde(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Fde=(t,e)=>{for(var n in e||(e={}))Ode.call(e,n)&&RL(t,n,e[n]);if(NL)for(var n of NL(e))Pde.call(e,n)&&RL(t,n,e[n]);return t},Nde=(t,e)=>Ade(t,Ide(e));function jL(t=0,e=0,n=0){return Math.min(Math.max(t,e),n)}function X1(t,e,n){let i=t.state.doc.content.size,o=jL(e,0,i),a=jL(n,0,i),s=t.coordsAtPos(o),l=t.coordsAtPos(a,-1),c=Math.min(s.top,l.top),d=Math.max(s.bottom,l.bottom),u=Math.min(s.left,l.left),f=Math.max(s.right,l.right),h=f-u,p=d-c,_={top:c,bottom:d,left:u,right:f,width:h,height:p,x:u,y:c};return Nde(Fde({},_),{toJSON:()=>_})}function F0(t){return Object.assign(Object.create(t),t).setTime(Date.now())}function Rde(t,e){return Array.isArray(t)&&t.includes(e.type)||e.type===t}function jde(t,e=!0){let n=[];return t.descendants((r,i)=>{if(n.push({node:r,pos:i}),!e)return!1}),n}function Q1(t){return(e,n)=>jde(e,n).filter(r=>t(r.node))}function $L(t,e){let n=e.nodes[t];if(!n)throw sj("node",t);return n}function zde(t){return e=>{for(let n=e.depth;n>0;n--){let r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}}function J1(t){return e=>zde(t)(e.$from)}function qL(t,e){if(!(t instanceof Le))return;let{node:n,$from:r}=t;if(Rde(e,n))return{node:n,pos:r.pos,start:r.start(r.depth),depth:r.depth}}var GL=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function Lde(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}var Bde=(t,e,n)=>{let r=Lde(t,n);if(!r)return!1;let i=YL(r);if(!i){let a=r.blockRange(),s=a&&Bh(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(!o.type.spec.isolating&&ZL(t,i,e))return!0;if(r.parent.content.size==0&&(Kh(o,"end")||Le.isSelectable(o))){let a=P1(t.doc,r.before(),r.after(),ce.empty);if(a&&a.slice.size{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;o=YL(r)}let a=o&&o.nodeBefore;return!a||!Le.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Le.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function YL(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function Ude(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=Ude(t,n);if(!r)return!1;let i=KL(r);if(!i)return!1;let o=i.nodeAfter;if(ZL(t,i,e))return!0;if(r.parent.content.size==0&&(Kh(o,"start")||Le.isSelectable(o))){let a=P1(t.doc,r.before(),r.after(),ce.empty);if(a&&a.slice.size{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` -`).scrollIntoView()),!0)};function PT(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=PT(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),l=t.tr.replaceWith(s,s,a.createAndFill());l.setSelection(Pe.near(l.doc.resolve(s),1)),e(l.scrollIntoView())}return!0},Gde=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof mi||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=PT(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(tu(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Bh(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};function Kde(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Le&&e.selection.node.isBlock)return!r.parentOffset||!tu(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let o=i.parentOffset==i.parent.content.size,a=e.tr;(e.selection instanceof Ne||e.selection instanceof mi)&&a.deleteSelection();let s=r.depth==0?null:PT(r.node(-1).contentMatchAt(r.indexAfter(-1))),l=t&&t(i.parent,o),c=l?[l]:o&&s?[{type:s}]:void 0,d=tu(a.doc,a.mapping.map(r.pos),1,c);if(!c&&!d&&tu(a.doc,a.mapping.map(r.pos),1,s?[{type:s}]:void 0)&&(s&&(c=[{type:s}]),d=!0),d&&(a.split(a.mapping.map(r.pos),1,c),!o&&!r.parentOffset&&r.parent.type!=s)){let u=a.mapping.map(r.before()),f=a.doc.resolve(u);s&&r.node(-1).canReplaceWith(f.index(),f.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}var Zde=Kde();var Xde=(t,e)=>(e&&e(t.tr.setSelection(new mi(t.doc))),!0);function Qde(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||nu(t.doc,e.pos))?!1:(n&&n(t.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function ZL(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o,a;if(r.type.spec.isolating||i.type.spec.isolating)return!1;if(Qde(t,e,n))return!0;let s=e.parent.canReplace(e.index(),e.index()+1);if(s&&(o=(a=r.contentMatchAt(r.childCount)).findWrapping(i.type))&&a.matchType(o[0]||i.type).validEnd){if(n){let u=e.pos+i.nodeSize,f=Z.empty;for(let g=o.length-1;g>=0;g--)f=Z.from(o[g].create(null,f));f=Z.from(r.copy(f));let h=t.tr.step(new jr(e.pos-1,u,e.pos,u,new ce(f,1,0),o.length,!0)),p=u+2*o.length;nu(h.doc,p)&&h.join(p),n(h.scrollIntoView())}return!0}let l=Pe.findFrom(e,1),c=l&&l.$from.blockRange(l.$to),d=c&&Bh(c);if(d!=null&&d>=e.depth)return n&&n(t.tr.lift(c,d).scrollIntoView()),!0;if(s&&Kh(i,"start",!0)&&Kh(r,"end")){let u=r,f=[];for(;f.push(u),!u.isTextblock;)u=u.lastChild;let h=i,p=1;for(;!h.isTextblock;h=h.firstChild)p++;if(u.canReplace(u.childCount,u.childCount,h.content)){if(n){let g=Z.empty;for(let _=f.length-1;_>=0;_--)g=Z.from(f[_].copy(g));let b=t.tr.step(new jr(e.pos-f.length,e.pos+i.nodeSize,e.pos+p,e.pos+i.nodeSize-p,new ce(g,f.length,0),0,!0));n(b.scrollIntoView())}return!0}}return!1}function XL(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(e.tr.setSelection(Ne.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}var Jde=XL(-1),eue=XL(1);function ek(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&x0(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function vc(t,e=null){return function(n,r){let i=!1;for(let o=0;o{if(i)return!1;if(!(!l.isTextblock||l.hasMarkup(t,e)))if(l.type==t)i=!0;else{let d=n.doc.resolve(c),u=d.index();i=d.parent.canReplaceWith(u,u+1,t)}})}if(!i)return!1;if(r){let o=n.tr;for(let a=0;a{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(n)}),a)return!0}return!1}function Zh(t,e=null){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!tue(n.doc,a,t))return!1;if(r)if(o)t.isInSet(n.storedMarks||o.marks())?r(n.tr.removeStoredMark(t)):r(n.tr.addStoredMark(t.create(e)));else{let s=!1,l=n.tr;for(let c=0;!s&&c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},rue=typeof navigator<"u"&&/Mac/.test(navigator.platform),iue=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(nr=0;nr<10;nr++)Zs[48+nr]=Zs[96+nr]=String(nr);var nr;for(nr=1;nr<=24;nr++)Zs[nr+111]="F"+nr;var nr;for(nr=65;nr<=90;nr++)Zs[nr]=String.fromCharCode(nr+32),nk[nr]=String.fromCharCode(nr);var nr;for(tk in Zs)nk.hasOwnProperty(tk)||(nk[tk]=Zs[tk]);var tk;function eB(t){var e=rue&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||iue&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?nk:Zs)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}var oue=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function aue(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s127)&&(o=Zs[r.keyCode])&&o!=i){let s=e[NT(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var rB=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Ue=(t,e,n)=>(rB(t,e,"read from private field"),n?n.call(t):e.get(t)),zr=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Tn=(t,e,n,r)=>(rB(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);function Cc(t,e){return t.meta=S({package:"@milkdown/core",group:"System"},e),t}var iB={strong:(t,e,n,r)=>{let i=t.marker||n.options.strong||"*",o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);return s+=a.move(n.containerPhrasing(t,S({before:s,after:i},a.current()))),s+=a.move(i+i),o(),s},emphasis:(t,e,n,r)=>{let i=t.marker||n.options.emphasis||"*",o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);return s+=a.move(n.containerPhrasing(t,S({before:s,after:i},a.current()))),s+=a.move(i),o(),s}},ik=To("ConfigReady");function lue(t){let e=n=>(n.record(ik),()=>ot(this,null,function*(){return yield t(n),n.done(ik),()=>{n.clearTimer(ik)}}));return Cc(e,{displayName:"Config"}),e}var Xs=To("InitReady"),RT=Ft([],"initTimer"),tB=Ft({},"editor"),op=Ft([],"inputRules"),ei=Ft([],"prosePlugins"),ap=Ft([],"remarkPlugins"),sp=Ft([],"nodeView"),lp=Ft([],"markView"),mu=Ft(l0().use(Oh).use(Nh),"remark"),tp=Ft({handlers:iB},"remarkStringifyOptions");function cue(t){let e=n=>(n.inject(tB,t).inject(ei,[]).inject(ap,[]).inject(op,[]).inject(sp,[]).inject(lp,[]).inject(tp,{handlers:iB}).inject(mu,l0().use(Oh).use(Nh)).inject(RT,[ik]).record(Xs),()=>ot(this,null,function*(){yield n.waitTimers(RT);let r=n.get(tp);return n.set(mu,l0().use(Oh).use(Nh,r)),n.done(Xs),()=>{n.remove(tB).remove(ei).remove(ap).remove(op).remove(sp).remove(lp).remove(tp).remove(mu).remove(RT).clearTimer(Xs)}}));return Cc(e,{displayName:"Init"}),e}var Fo=To("SchemaReady"),ok=Ft([],"schemaTimer"),Jr=Ft({},"schema"),gu=Ft([],"nodes"),yu=Ft([],"marks");function nB(t){var e;return W(S({},t),{parseDOM:(e=t.parseDOM)==null?void 0:e.map(n=>S({priority:t.priority},n))})}var oB=t=>(t.inject(Jr,{}).inject(gu,[]).inject(yu,[]).inject(ok,[Xs]).record(Fo),()=>ot(void 0,null,function*(){yield t.waitTimers(ok);let e=t.get(mu),n=t.get(ap).reduce((a,s)=>a.use(s.plugin,s.options),e);t.set(mu,n);let r=Object.fromEntries(t.get(gu).map(([a,s])=>[a,nB(s)])),i=Object.fromEntries(t.get(yu).map(([a,s])=>[a,nB(s)])),o=new Xv({nodes:r,marks:i});return t.set(Jr,o),t.done(Fo),()=>{t.remove(Jr).remove(gu).remove(yu).remove(ok).clearTimer(Fo)}}));Cc(oB,{displayName:"Schema"});var ak=To("ParserReady"),aB=()=>{throw Bg()},pa=Ft(aB,"parser"),jT=Ft([],"parserTimer"),sB=t=>(t.inject(pa,aB).inject(jT,[Fo]).record(ak),()=>ot(void 0,null,function*(){yield t.waitTimers(jT);let e=t.get(mu),n=t.get(Jr);return t.set(pa,i9.create(n,e)),t.done(ak),()=>{t.remove(pa).remove(jT).clearTimer(ak)}}));Cc(sB,{displayName:"Parser"});var np=To("SerializerReady"),zT=Ft([],"serializerTimer"),lB=()=>{throw Bg()},Ja=Ft(lB,"serializer"),cB=t=>(t.inject(Ja,lB).inject(zT,[Fo]).record(np),()=>ot(void 0,null,function*(){yield t.waitTimers(zT);let e=t.get(mu),n=t.get(Jr);return t.set(Ja,o9.create(n,e)),t.done(np),()=>{t.remove(Ja).remove(zT).clearTimer(np)}}));Cc(cB,{displayName:"Serializer"});var rp=Ft("","defaultValue"),N0=Ft({},"editorState"),sk=Ft(t=>t,"stateOptions"),lk=Ft([],"editorStateTimer"),ck=To("EditorStateReady");function BT(t,e,n){if(typeof t=="string")return e(t);if(t.type==="html")return Hs.fromSchema(n).parse(t.dom);if(t.type==="json")return Fi.fromJSON(n,t.value);throw tj(t)}var due=new at("MILKDOWN_STATE_TRACKER"),dB=t=>(t.inject(rp,"").inject(N0,{}).inject(sk,e=>e).inject(lk,[ak,np,ip]).record(ck),()=>ot(void 0,null,function*(){yield t.waitTimers(lk);let e=t.get(Jr),n=t.get(pa),r=t.get(op),i=t.get(sk),o=t.get(ei),a=t.get(rp),s=BT(a,n,e),l=[...o,new Be({key:due,state:{init:()=>{},apply:(u,f,h,p)=>{t.set(N0,p)}}}),HL({rules:r}),rk(JL)];t.set(ei,l);let c=i({schema:e,doc:s,plugins:l}),d=R1.create(c);return t.set(N0,d),t.done(ck),()=>{t.remove(rp).remove(N0).remove(sk).remove(lk).clearTimer(ck)}}));Cc(dB,{displayName:"EditorState"});var bu=To("EditorViewReady"),wn=Ft({},"editorView"),dk=Ft([],"editorViewTimer"),ma=Ft({},"editorViewOptions"),L0=Ft(null,"root"),B0=Ft(null,"rootDOM"),LT=Ft({},"rootAttrs");function uue(t,e){let n=document.createElement("div");n.className="milkdown",t.appendChild(n),e.set(B0,n);let r=e.get(LT);return Object.entries(r).forEach(([i,o])=>n.setAttribute(i,o)),n}function fue(t){t.classList.add("editor"),t.setAttribute("role","textbox")}var hue=new at("MILKDOWN_VIEW_CLEAR"),uB=t=>(t.inject(L0,document.body).inject(wn,{}).inject(ma,{}).inject(B0,null).inject(LT,{}).inject(dk,[ck]).record(bu),()=>ot(void 0,null,function*(){yield t.wait(Xs);let e=t.get(L0)||document.body,n=typeof e=="string"?document.querySelector(e):e;t.update(ei,l=>[new Be({key:hue,view:c=>{let d=n?uue(n,t):void 0;return(()=>{if(d&&n){let u=c.dom;n.replaceChild(d,u),d.appendChild(u)}})(),{destroy:()=>{d!=null&&d.parentNode&&d?.parentNode.replaceChild(c.dom,d),d?.remove()}}}}),...l]),yield t.waitTimers(dk);let r=t.get(N0),i=t.get(ma),o=Object.fromEntries(t.get(sp)),a=Object.fromEntries(t.get(lp)),s=new W1(n,S({state:r,nodeViews:o,markViews:a},i));return fue(s.dom),t.set(wn,s),t.done(bu),()=>{s?.destroy(),t.remove(L0).remove(wn).remove(ma).remove(B0).remove(LT).remove(dk).clearTimer(bu)}}));Cc(uB,{displayName:"EditorView"});var Xh,hu,gk=class{constructor(){zr(this,Xh,void 0),zr(this,hu,void 0),Tn(this,Xh,new Yg),Tn(this,hu,null),this.setCtx=e=>{Tn(this,hu,e)}}get ctx(){return Ue(this,hu)}create(e,n){let r=e.create(Ue(this,Xh).sliceMap);return r.set(n),r}get(e){return Ue(this,Xh).get(e).get()}remove(e){return Ue(this,Xh).remove(e)}call(e,n){if(Ue(this,hu)==null)throw lj();let r=this.get(e)(n),i=Ue(this,hu).get(wn);return r(i.state,i.dispatch,i)}};Xh=new WeakMap,hu=new WeakMap;function fB(t="cmdKey"){return Ft(()=>()=>!1,t)}var nt=Ft(new gk,"commands"),uk=Ft([Fo],"commandsTimer"),ip=To("CommandsReady"),hB=t=>{let e=new gk;return e.setCtx(t),t.inject(nt,e).inject(uk,[Fo]).record(ip),()=>ot(void 0,null,function*(){return yield t.waitTimers(uk),t.done(ip),()=>{t.remove(nt).remove(uk).clearTimer(ip)}})};Cc(hB,{displayName:"Commands"});var Qh,Po,kc,R0,fk,hk,oo,xc,Jh,pk,ep,j0,mk,pu,z0,pue=class pB{constructor(){zr(this,Qh,void 0),zr(this,Po,void 0),zr(this,kc,void 0),zr(this,R0,void 0),zr(this,fk,void 0),zr(this,hk,void 0),zr(this,oo,void 0),zr(this,xc,void 0),zr(this,Jh,void 0),zr(this,pk,void 0),zr(this,ep,void 0),zr(this,j0,void 0),zr(this,mk,void 0),zr(this,pu,void 0),zr(this,z0,void 0),Tn(this,Qh,!1),Tn(this,Po,"Idle"),Tn(this,kc,[]),Tn(this,R0,()=>{}),Tn(this,fk,new Yg),Tn(this,hk,new Wv),Tn(this,oo,new Map),Tn(this,xc,new Map),Tn(this,Jh,new fj(Ue(this,fk),Ue(this,hk))),Tn(this,pk,()=>{let e=lue(r=>ot(this,null,function*(){yield Promise.all(Ue(this,kc).map(i=>i(r)))})),n=[oB,sB,cB,hB,dB,uB,cue(this),e];Ue(this,ep).call(this,n,Ue(this,xc))}),Tn(this,ep,(e,n)=>{e.forEach(r=>{let i=Ue(this,Jh).produce(Ue(this,Qh)?r.meta:void 0),o=r(i);n.set(r,{ctx:i,handler:o,cleanup:void 0})})}),Tn(this,j0,(e,n=!1)=>Promise.all([e].flat().map(r=>{let i=Ue(this,oo).get(r),o=i?.cleanup;return n?Ue(this,oo).delete(r):Ue(this,oo).set(r,{ctx:void 0,handler:void 0,cleanup:void 0}),typeof o=="function"?o():o}))),Tn(this,mk,()=>ot(this,null,function*(){yield Promise.all([...Ue(this,xc).entries()].map(([e,{cleanup:n}])=>typeof n=="function"?n():n)),Ue(this,xc).clear()})),Tn(this,pu,e=>{Tn(this,Po,e),Ue(this,R0).call(this,e)}),Tn(this,z0,e=>[...e.entries()].map(i=>ot(this,[i],function*([n,r]){let{ctx:o,handler:a}=r;if(!a)return;let s=yield a();e.set(n,{ctx:o,handler:a,cleanup:s})}))),this.enableInspector=(e=!0)=>(Tn(this,Qh,e),this),this.onStatusChange=e=>(Tn(this,R0,e),this),this.config=e=>(Ue(this,kc).push(e),this),this.removeConfig=e=>(Tn(this,kc,Ue(this,kc).filter(n=>n!==e)),this),this.use=e=>{let n=[e].flat();return n.flat().forEach(r=>{Ue(this,oo).set(r,{ctx:void 0,handler:void 0,cleanup:void 0})}),Ue(this,Po)==="Created"&&Ue(this,ep).call(this,n,Ue(this,oo)),this},this.remove=e=>ot(this,null,function*(){return Ue(this,Po)==="OnCreate"?(console.warn("[Milkdown]: You are trying to remove plugins when the editor is creating, this is not recommended, please check your code."),new Promise(n=>{setTimeout(()=>{n(this.remove(e))},50)})):(yield Ue(this,j0).call(this,[e].flat(),!0),this)}),this.create=()=>ot(this,null,function*(){return Ue(this,Po)==="OnCreate"?this:(Ue(this,Po)==="Created"&&(yield this.destroy()),Ue(this,pu).call(this,"OnCreate"),Ue(this,pk).call(this),Ue(this,ep).call(this,[...Ue(this,oo).keys()],Ue(this,oo)),yield Promise.all([Ue(this,z0).call(this,Ue(this,xc)),Ue(this,z0).call(this,Ue(this,oo))].flat()),Ue(this,pu).call(this,"Created"),this)}),this.destroy=(e=!1)=>ot(this,null,function*(){return Ue(this,Po)==="Destroyed"||Ue(this,Po)==="OnDestroy"?this:Ue(this,Po)==="OnCreate"?new Promise(n=>{setTimeout(()=>{n(this.destroy(e))},50)}):(e&&Tn(this,kc,[]),Ue(this,pu).call(this,"OnDestroy"),yield Ue(this,j0).call(this,[...Ue(this,oo).keys()],e),yield Ue(this,mk).call(this),Ue(this,pu).call(this,"Destroyed"),this)}),this.action=e=>e(Ue(this,Jh)),this.inspect=()=>Ue(this,Qh)?[...Ue(this,xc).values(),...Ue(this,oo).values()].map(({ctx:e})=>{var n;return(n=e?.inspector)==null?void 0:n.read()}).filter(e=>!!e):(console.warn("[Milkdown]: You are trying to collect inspection when inspector is disabled, please enable inspector by `editor.enableInspector()` first."),[])}static make(){return new pB}get ctx(){return Ue(this,Jh)}get status(){return Ue(this,Po)}};Qh=new WeakMap,Po=new WeakMap,kc=new WeakMap,R0=new WeakMap,fk=new WeakMap,hk=new WeakMap,oo=new WeakMap,xc=new WeakMap,Jh=new WeakMap,pk=new WeakMap,ep=new WeakMap,j0=new WeakMap,mk=new WeakMap,pu=new WeakMap,z0=new WeakMap;var mB=pue;var _B=wo(V0(),1);var yk=class{constructor(){this.beforeMountedListeners=[],this.mountedListeners=[],this.updatedListeners=[],this.markdownUpdatedListeners=[],this.blurListeners=[],this.focusListeners=[],this.destroyListeners=[],this.beforeMount=e=>(this.beforeMountedListeners.push(e),this),this.mounted=e=>(this.mountedListeners.push(e),this),this.updated=e=>(this.updatedListeners.push(e),this)}get listeners(){return{beforeMount:this.beforeMountedListeners,mounted:this.mountedListeners,updated:this.updatedListeners,markdownUpdated:this.markdownUpdatedListeners,blur:this.blurListeners,focus:this.focusListeners,destroy:this.destroyListeners}}markdownUpdated(e){return this.markdownUpdatedListeners.push(e),this}blur(e){return this.blurListeners.push(e),this}focus(e){return this.focusListeners.push(e),this}destroy(e){return this.destroyListeners.push(e),this}},bk=Ft(new yk,"listener"),Oue=new at("MILKDOWN_LISTENER"),HT=t=>(t.inject(bk,new yk),()=>ot(void 0,null,function*(){yield t.wait(Xs);let e=t.get(bk),{listeners:n}=e;n.beforeMount.forEach(s=>s(t)),yield t.wait(np);let r=t.get(Ja),i=null,o=null,a=new Be({key:Oue,view:()=>({destroy:()=>{n.destroy.forEach(s=>s(t))}}),props:{handleDOMEvents:{focus:()=>(n.focus.forEach(s=>s(t)),!1),blur:()=>(n.blur.forEach(s=>s(t)),!1)}},state:{init:()=>{},apply:s=>!s.docChanged||s.getMeta("addToHistory")===!1?void 0:(0,_B.default)(()=>{let{doc:l}=s;if(n.updated.length>0&&(i==null||!i.eq(l))&&n.updated.forEach(c=>{c(t,l,i)}),n.markdownUpdated.length>0&&(i==null||!i.eq(l))){let c=r(l);n.markdownUpdated.forEach(d=>{d(t,c,o)}),o=c}i=l},200)()}});t.update(ei,s=>s.concat(a)),yield t.wait(bu),n.mounted.forEach(s=>s(t))}));HT.meta={package:"@milkdown/plugin-listener",displayName:"Listener"};function wB(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e{let n=e.attributes;return W(S({},e),{attributes:r=>{let i=typeof n=="function"?n(r):n;return W(S({},i),{class:vB("prose dark:prose-invert outline-none",i?.class||"","milkdown-theme-nord")})}})})}var Fue=t=>crypto.getRandomValues(new Uint8Array(t)),Nue=(t,e,n)=>{let r=(2<{let a="";for(;;){let s=n(i),l=i;for(;l--;)if(a+=t[s[l]&r]||"",a.length===o)return a}}},_k=(t,e=21)=>Nue(t,e,Fue),wk=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");var Y7e=_k("abcedfghicklmn",10);function ct(t,e){let n=fB(t),r=i=>()=>ot(this,null,function*(){r.key=n,yield i.wait(ip);let o=e(i);return i.get(nt).create(n,o),r.run=a=>i.get(nt).call(t,a),()=>{i.get(nt).remove(n)}});return r}function Lr(t){let e=n=>()=>ot(this,null,function*(){yield n.wait(Fo);let r=t(n);return n.update(op,i=>[...i,r]),e.inputRule=r,()=>{n.update(op,i=>i.filter(o=>o!==r))}});return e}function Rue(t,e){let n=r=>()=>ot(this,null,function*(){let i=e(r);return r.update(yu,o=>[...o.filter(a=>a[0]!==t),[t,i]]),n.id=t,n.schema=i,()=>{r.update(yu,o=>o.filter(([a])=>a!==t))}});return n.type=r=>{let i=r.get(Jr).marks[t];if(!i)throw cj(t);return i},n}function vk(t,e){let n=r=>()=>ot(this,null,function*(){let i=e(r);return r.update(gu,o=>[...o.filter(a=>a[0]!==t),[t,i]]),n.id=t,n.schema=i,()=>{r.update(gu,o=>o.filter(([a])=>a!==t))}});return n.type=r=>{let i=r.get(Jr).nodes[t];if(!i)throw Bv(t);return i},n}function $t(t){let e,n=r=>()=>ot(this,null,function*(){return yield r.wait(Fo),e=t(r),r.update(ei,i=>[...i,e]),()=>{r.update(ei,i=>i.filter(o=>o!==e))}});return n.plugin=()=>e,n.key=()=>e.spec.key,n}function $T(t){let e=n=>()=>ot(this,null,function*(){yield n.wait(Fo);let r=t(n),i=rk(r);return n.update(ei,o=>[...o,i]),e.keymap=r,()=>{n.update(ei,o=>o.filter(a=>a!==i))}});return e}function _u(t,e){let n=r=>()=>ot(this,null,function*(){yield r.wait(Fo);let i=e(r);return t.type(r)instanceof Ud?r.update(sp,o=>[...o,[t.id,i]]):r.update(lp,o=>[...o,[t.id,i]]),n.view=i,n.type=t,()=>{t.type(r)instanceof Ud?r.update(sp,o=>o.filter(a=>a[0]!==t.id)):r.update(lp,o=>o.filter(a=>a[0]!==t.id))}});return n}function Bt(t,e){let n=Ft(t,e),r=i=>(i.inject(n),()=>()=>{i.remove(n)});return r.key=n,r}function mn(t,e){let n=Bt(e,t),r=vk(t,o=>o.get(n.key)(o)),i=[n,r];return i.id=r.id,i.node=r,i.type=o=>r.type(o),i.schema=r.schema,i.ctx=n,i.key=n.key,i.extendSchema=o=>a=>()=>{let s=a.get(n.key),l=o(s)(a);a.update(gu,c=>[...c.filter(d=>d[0]!==t),[t,l]]),i.schema=l},i}function wu(t,e){let n=Bt(e,t),r=Rue(t,o=>o.get(n.key)(o)),i=[n,r];return i.id=r.id,i.mark=r,i.type=r.type,i.schema=r.schema,i.ctx=n,i.key=n.key,i.extendSchema=o=>a=>()=>{let s=a.get(n.key),l=o(s)(a);a.update(yu,c=>[...c.filter(d=>d[0]!==t),[t,l]]),i.schema=l},i}function Br(t,e){let n=Object.fromEntries(Object.entries(e).map(([a,{shortcuts:s}])=>[a,s])),r=Bt(n,`${t}Keymap`),i=$T(a=>{let s=a.get(r.key),l=Object.entries(e).flatMap(([c,{command:d}])=>[s[c]].flat().map(u=>[u,d(a)]));return Object.fromEntries(l)}),o=[r,i];return o.ctx=r,o.shortcuts=i,o.key=r.key,o.keymap=i.keymap,o}var Ri=(t,e=()=>({}))=>Bt(e,`${t}Attr`),vu=(t,e=()=>({}))=>Bt(e,`${t}Attr`);function wi(t,e,n){let r=Bt(n??{},t),i=a=>()=>ot(this,null,function*(){yield a.wait(Xs);let s={plugin:e(a),options:a.get(r.key)};return a.update(ap,l=>[...l,s]),()=>{a.update(ap,l=>l.filter(c=>c!==s))}}),o=[r,i];return o.id=t,o.plugin=i,o.options=r,o}function cp(t,e){return n=>n.get(nt).call(t,e)}var xB=(...t)=>{let e=t.length,n=e;for(;n--;)if(typeof t[n]!="function")throw new TypeError("Expected a function");return(...r)=>{let i=0,o=e?t[i](...r):r[0];for(;++i{for(let[n,r]of e)t=t.replace(new RegExp(Dc(n),"g"),r);return t};function qT(t,e){if(typeof t!="string")throw new TypeError(`Expected a string, got \`${typeof t}\``);e=S({customReplacements:[]},e);let n=new Map([...CB,...e.customReplacements]);return t=t.normalize(),t=zue(t,n),t=t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").normalize(),t}var Lue=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]],DB=Lue;var Bue=t=>t.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),Vue=(t,e)=>{let n=Dc(e);return t.replace(new RegExp(`${n}{2,}`,"g"),e).replace(new RegExp(`^${n}|${n}$`,"g"),"")},Uue=t=>{let e="a-z\\d";if(e+=t.lowercase?"":"A-Z",t.preserveCharacters.length>0)for(let n of t.preserveCharacters){if(n===t.separator)throw new Error(`The separator character \`${t.separator}\` cannot be included in preserved characters: ${t.preserveCharacters}`);e+=Dc(n)}return new RegExp(`[^${e}]+`,"g")};function WT(t,e){if(typeof t!="string")throw new TypeError(`Expected a string, got \`${typeof t}\``);e=S({separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[]},e);let n=e.preserveLeadingUnderscore&&t.startsWith("_"),r=e.preserveTrailingDash&&t.endsWith("-"),i=new Map([...DB,...e.customReplacements]);t=qT(t,{customReplacements:i}),e.decamelize&&(t=Bue(t));let o=Uue(e);return e.lowercase&&(t=t.toLowerCase()),t=t.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3"),t=t.replace(o,e.separator),t=t.replace(/\\/g,""),e.separator&&(t=Vue(t,e.separator)),n&&(t=`_${t}`),r&&(t=`${t}-`),t}function SB(t,e){return function(n,r){let{$from:i,$to:o,node:a}=n.selection;if(a&&a.isBlock||i.depth<2||!i.sameParent(o))return!1;let s=i.node(-1);if(s.type!=t)return!1;if(i.parent.content.size==0&&i.node(-1).childCount==i.indexAfter(-1)){if(i.depth==3||i.node(-3).type!=t||i.index(-2)!=i.node(-2).childCount-1)return!1;if(r){let u=Z.empty,f=i.index(-1)?1:i.index(-2)?2:3;for(let _=i.depth-f;_>=i.depth-3;_--)u=Z.from(i.node(_).copy(u));let h=i.indexAfter(-1){if(b>-1)return!1;_.isTextblock&&_.content.size==0&&(b=x+1)}),b>-1&&g.setSelection(Pe.near(g.doc.resolve(b))),r(g.scrollIntoView())}return!0}let l=o.pos==i.end()?s.contentMatchAt(0).defaultType:null,c=n.tr.delete(i.pos,o.pos),d=l?[e?{type:t,attrs:e}:null,{type:l}]:void 0;return tu(c.doc,i.pos,2,d)?(r&&r(c.split(i.pos,2,d).scrollIntoView()),!0):!1}}function GT(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==t);return o?n?r.node(o.depth-1).type==t?Hue(e,n,t,o):$ue(e,n,o):!0:!1}}function Hue(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);og;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,c=o.node(-1),d=o.index(-1);if(!c.canReplace(d+(s?0:1),d+1,a.content.append(l?Z.empty:Z.from(i))))return!1;let u=o.pos,f=u+a.nodeSize;return r.step(new jr(u-(s?1:0),f+(l?1:0),u+1,f-1,new ce((s?Z.empty:Z.from(i.copy(Z.empty))).append(l?Z.empty:Z.from(i.copy(Z.empty))),s?0:1,l?0:1),s?0:1)),e(r.scrollIntoView()),!0}function EB(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=t)return!1;if(n){let c=l.lastChild&&l.lastChild.type==s.type,d=Z.from(c?t.create():null),u=new ce(Z.from(t.create(null,Z.from(s.type.create(null,d)))),c?3:1,0),f=o.start,h=o.end;n(e.tr.step(new jr(f-(c?3:1),h,f,h,u,1,!0)).scrollIntoView())}return!0}}function YT(t){let e=new Map;if(!t||!t.type)throw new Error("mdast-util-definitions expected node");return io(t,"definition",function(r){let i=MB(r.identifier);i&&!e.get(i)&&e.set(i,r)}),n;function n(r){let i=MB(r);return e.get(i)}}function MB(t){return String(t||"").toUpperCase()}function kk(){return function(t){let e=YT(t);io(t,function(n,r,i){if(n.type==="definition"&&i!==void 0&&typeof r=="number")return i.children.splice(r,1),[Zd,r];if(n.type==="imageReference"||n.type==="linkReference"){let o=e(n.identifier);if(o&&i&&typeof r=="number")return i.children[r]=n.type==="imageReference"?{type:"image",url:o.url,title:o.title,alt:n.alt}:{type:"link",url:o.url,title:o.title,children:n.children},[Zd,r]}})}}function TB(t,e){var n;if(!(e.childCount>=1&&((n=e.lastChild)==null?void 0:n.type.name)==="hardbreak")){t.next(e.content);return}let r=[];e.content.forEach((i,o,a)=>{a!==e.childCount-1&&r.push(i)}),t.next(Z.fromArray(r))}function K(t,e){return Object.assign(t,{meta:S({package:"@milkdown/preset-commonmark"},e)}),t}var e3=vu("emphasis");K(e3,{displayName:"Attr",group:"Emphasis"});var xk=wu("emphasis",t=>({attrs:{marker:{default:t.get(tp).emphasis||"*"}},parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style",getAttrs:e=>e==="italic"}],toDOM:e=>["em",t.get(e3.key)(e)],parseMarkdown:{match:e=>e.type==="emphasis",runner:(e,n,r)=>{e.openMark(r,{marker:n.marker}),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="emphasis",runner:(e,n)=>{e.withMark(n,"emphasis",void 0,{marker:n.attrs.marker})}}}));K(xk.mark,{displayName:"MarkSchema",group:"Emphasis"});K(xk.ctx,{displayName:"MarkSchemaCtx",group:"Emphasis"});var Cu=ct("ToggleEmphasis",t=>()=>Zh(xk.type(t)));K(Cu,{displayName:"Command",group:"Emphasis"});var t3=Br("emphasisKeymap",{ToggleEmphasis:{shortcuts:"Mod-i",command:t=>{let e=t.get(nt);return()=>e.call(Cu.key)}}});K(t3.ctx,{displayName:"KeymapCtx",group:"Emphasis"});K(t3.shortcuts,{displayName:"Keymap",group:"Emphasis"});var n3=vu("strong");K(n3,{displayName:"Attr",group:"Strong"});var Ck=wu("strong",t=>({attrs:{marker:{default:t.get(tp).strong||"*"}},parseDOM:[{tag:"b"},{tag:"strong"},{style:"font-style",getAttrs:e=>e==="bold"}],toDOM:e=>["strong",t.get(n3.key)(e)],parseMarkdown:{match:e=>e.type==="strong",runner:(e,n,r)=>{e.openMark(r,{marker:n.marker}),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="strong",runner:(e,n)=>{e.withMark(n,"strong",void 0,{marker:n.attrs.marker})}}}));K(Ck.mark,{displayName:"MarkSchema",group:"Strong"});K(Ck.ctx,{displayName:"MarkSchemaCtx",group:"Strong"});var Du=ct("ToggleStrong",t=>()=>Zh(Ck.type(t)));K(Du,{displayName:"Command",group:"Strong"});var r3=Br("strongKeymap",{ToggleBold:{shortcuts:["Mod-b"],command:t=>{let e=t.get(nt);return()=>e.call(Du.key)}}});K(r3.ctx,{displayName:"KeymapCtx",group:"Strong"});K(r3.shortcuts,{displayName:"Keymap",group:"Strong"});var U0=vu("inlineCode");K(U0,{displayName:"Attr",group:"InlineCode"});var ku=wu("inlineCode",t=>({priority:100,code:!0,inclusive:!1,parseDOM:[{tag:"code"}],toDOM:e=>["code",t.get(U0.key)(e)],parseMarkdown:{match:e=>e.type==="inlineCode",runner:(e,n,r)=>{e.openMark(r),e.addText(n.value),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="inlineCode",runner:(e,n,r)=>{e.withMark(n,"inlineCode",r.text||"")}}}));K(ku.mark,{displayName:"MarkSchema",group:"InlineCode"});K(ku.ctx,{displayName:"MarkSchemaCtx",group:"InlineCode"});var i3=ct("ToggleInlineCode",t=>()=>(e,n)=>{let{selection:r,tr:i}=e;if(r.empty)return!1;let{from:o,to:a}=r;return e.doc.rangeHasMark(o,a,ku.type(t))?(n?.(i.removeMark(o,a,ku.type(t))),!0):(Object.keys(e.schema.marks).filter(s=>s!==ku.type.name).map(s=>e.schema.marks[s]).forEach(s=>{i.removeMark(o,a,s)}),n?.(i.addMark(o,a,ku.type(t).create())),!0)});K(i3,{displayName:"Command",group:"InlineCode"});var o3=Br("inlineCodeKeymap",{ToggleInlineCode:{shortcuts:"Mod-e",command:t=>{let e=t.get(nt);return()=>e.call(i3.key)}}});K(o3.ctx,{displayName:"KeymapCtx",group:"InlineCode"});K(o3.shortcuts,{displayName:"Keymap",group:"InlineCode"});var a3=vu("link");K(a3,{displayName:"Attr",group:"Link"});var dp=wu("link",t=>({attrs:{href:{},title:{default:null}},parseDOM:[{tag:"a[href]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM:e=>["a",S(S({},t.get(a3.key)(e)),e.attrs)],parseMarkdown:{match:e=>e.type==="link",runner:(e,n,r)=>{let i=n.url,o=n.title;e.openMark(r,{href:i,title:o}),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="link",runner:(e,n)=>{e.withMark(n,"link",void 0,{title:n.attrs.title,url:n.attrs.href})}}}));K(dp.mark,{displayName:"MarkSchema",group:"Link"});var AB=ct("ToggleLink",t=>(e={})=>Zh(dp.type(t),e));K(AB,{displayName:"Command",group:"Link"});var H0=ct("UpdateLink",t=>(e={})=>(n,r)=>{if(!r)return!1;let i,o=-1,{selection:a}=n,{from:s,to:l}=a;if(n.doc.nodesBetween(s,s===l?l+1:l,(p,g)=>{if(dp.type(t).isInSet(p.marks))return i=p,o=g,!1}),!i)return!1;let c=i.marks.find(({type:p})=>p===dp.type(t));if(!c)return!1;let d=o,u=o+i.nodeSize,{tr:f}=n,h=dp.type(t).create(S(S({},c.attrs),e));return h?(r(f.removeMark(d,u,c).addMark(d,u,h).setSelection(new Ne(f.selection.$anchor)).scrollIntoView()),!0):!1});K(H0,{displayName:"Command",group:"Link"});var IB=vk("doc",()=>({content:"block+",parseMarkdown:{match:({type:t})=>t==="root",runner:(t,e,n)=>{t.injectRoot(e,n)}},toMarkdown:{match:t=>t.type.name==="doc",runner:(t,e)=>{t.openNode("root"),t.next(e.content)}}}));K(IB,{displayName:"NodeSchema",group:"Doc"});var s3=Ri("paragraph");K(s3,{displayName:"Attr",group:"Paragraph"});var es=mn("paragraph",t=>({content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:e=>["p",t.get(s3.key)(e),0],parseMarkdown:{match:e=>e.type==="paragraph",runner:(e,n,r)=>{e.openNode(r),n.children?e.next(n.children):e.addText(n.value||""),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="paragraph",runner:(e,n)=>{e.openNode("paragraph"),TB(e,n),e.closeNode()}}}));K(es.node,{displayName:"NodeSchema",group:"Paragraph"});K(es.ctx,{displayName:"NodeSchemaCtx",group:"Paragraph"});var l3=ct("TurnIntoText",t=>()=>vc(es.type(t)));K(l3,{displayName:"Command",group:"Paragraph"});var c3=Br("paragraphKeymap",{TurnIntoText:{shortcuts:"Mod-Alt-0",command:t=>{let e=t.get(nt);return()=>e.call(l3.key)}}});K(c3.ctx,{displayName:"KeymapCtx",group:"Paragraph"});K(c3.shortcuts,{displayName:"Keymap",group:"Paragraph"});var que=Array(6).fill(0).map((t,e)=>e+1);function Wue(t){return WT(t.textContent)}var Dk=Bt(Wue,"headingIdGenerator");K(Dk,{displayName:"Ctx",group:"Heading"});var d3=Ri("heading");K(d3,{displayName:"Attr",group:"Heading"});var Su=mn("heading",t=>{let e=t.get(Dk.key);return{content:"inline*",group:"block",defining:!0,attrs:{id:{default:""},level:{default:1}},parseDOM:que.map(n=>({tag:`h${n}`,getAttrs:r=>{if(!(r instanceof HTMLElement))throw lr(r);return{level:n,id:r.id}}})),toDOM:n=>[`h${n.attrs.level}`,W(S({},t.get(d3.key)(n)),{id:n.attrs.id||e(n)}),0],parseMarkdown:{match:({type:n})=>n==="heading",runner:(n,r,i)=>{let o=r.depth;n.openNode(i,{level:o}),n.next(r.children),n.closeNode()}},toMarkdown:{match:n=>n.type.name==="heading",runner:(n,r)=>{n.openNode("heading",void 0,{depth:r.attrs.level}),TB(n,r),n.closeNode()}}}});K(Su.node,{displayName:"NodeSchema",group:"Heading"});K(Su.ctx,{displayName:"NodeSchemaCtx",group:"Heading"});var OB=Lr(t=>ET(/^(?#+)\s$/,Su.type(t),e=>{var n,r;let i=((r=(n=e.groups)==null?void 0:n.hashes)==null?void 0:r.length)||0,o=t.get(wn),{$from:a}=o.state.selection,s=a.node();if(s.type.name==="heading"){let l=Number(s.attrs.level)+Number(i);return l>6&&(l=6),{level:l}}return{level:i}}));K(OB,{displayName:"InputRule",group:"Heading"});var ti=ct("WrapInHeading",t=>e=>(e??(e=1),e<1?vc(es.type(t)):vc(Su.type(t),{level:e})));K(ti,{displayName:"Command",group:"Heading"});var u3=ct("DowngradeHeading",t=>()=>(e,n,r)=>{let{$from:i}=e.selection,o=i.node();if(o.type!==Su.type(t)||!e.selection.empty||i.parentOffset!==0)return!1;let a=o.attrs.level-1;return a?(n?.(e.tr.setNodeMarkup(e.selection.$from.before(),void 0,W(S({},o.attrs),{level:a}))),!0):vc(es.type(t))(e,n,r)});K(u3,{displayName:"Command",group:"Heading"});var f3=Br("headingKeymap",{TurnIntoH1:{shortcuts:"Mod-Alt-1",command:t=>{let e=t.get(nt);return()=>e.call(ti.key,1)}},TurnIntoH2:{shortcuts:"Mod-Alt-2",command:t=>{let e=t.get(nt);return()=>e.call(ti.key,2)}},TurnIntoH3:{shortcuts:"Mod-Alt-3",command:t=>{let e=t.get(nt);return()=>e.call(ti.key,3)}},TurnIntoH4:{shortcuts:"Mod-Alt-4",command:t=>{let e=t.get(nt);return()=>e.call(ti.key,4)}},TurnIntoH5:{shortcuts:"Mod-Alt-5",command:t=>{let e=t.get(nt);return()=>e.call(ti.key,5)}},TurnIntoH6:{shortcuts:"Mod-Alt-6",command:t=>{let e=t.get(nt);return()=>e.call(ti.key,6)}},DowngradeHeading:{shortcuts:["Delete","Backspace"],command:t=>{let e=t.get(nt);return()=>e.call(u3.key)}}});K(f3.ctx,{displayName:"KeymapCtx",group:"Heading"});K(f3.shortcuts,{displayName:"Keymap",group:"Heading"});var $0=Ri("blockquote");K($0,{displayName:"Attr
",group:"Blockquote"});var q0=mn("blockquote",t=>({content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:e=>["blockquote",t.get($0.key)(e),0],parseMarkdown:{match:({type:e})=>e==="blockquote",runner:(e,n,r)=>{e.openNode(r).next(n.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="blockquote",runner:(e,n)=>{e.openNode("blockquote").next(n.content).closeNode()}}}));K(q0.node,{displayName:"NodeSchema
",group:"Blockquote"});K(q0.ctx,{displayName:"NodeSchemaCtx
",group:"Blockquote"});var PB=Lr(t=>K1(/^\s*>\s$/,q0.type(t)));K(PB,{displayName:"InputRule",group:"Blockquote"});var Qs=ct("WrapInBlockquote",t=>()=>ek(q0.type(t)));K(Qs,{displayName:"Command",group:"Blockquote"});var h3=Br("blockquoteKeymap",{WrapInBlockquote:{shortcuts:"Mod-Shift-b",command:t=>{let e=t.get(nt);return()=>e.call(Qs.key)}}});K(h3.ctx,{displayName:"KeymapCtx
",group:"Blockquote"});K(h3.shortcuts,{displayName:"Keymap
",group:"Blockquote"});var p3=Ri("codeBlock",()=>({pre:{},code:{}}));K(p3,{displayName:"Attr",group:"CodeBlock"});var Eu=mn("code_block",t=>({content:"text*",group:"block",marks:"",defining:!0,code:!0,attrs:{language:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{language:e.dataset.language}}}],toDOM:e=>{let n=t.get(p3.key)(e);return["pre",W(S({},n.pre),{"data-language":e.attrs.language}),["code",n.code,0]]},parseMarkdown:{match:({type:e})=>e==="code",runner:(e,n,r)=>{let i=n.lang,o=n.value;e.openNode(r,{language:i}),o&&e.addText(o),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="code_block",runner:(e,n)=>{var r;e.addNode("code",void 0,((r=n.content.firstChild)==null?void 0:r.text)||"",{lang:n.attrs.language})}}}));K(Eu.node,{displayName:"NodeSchema",group:"CodeBlock"});K(Eu.ctx,{displayName:"NodeSchemaCtx",group:"CodeBlock"});var FB=Lr(t=>ET(/^```(?[a-z]*)?[\s\n]$/,Eu.type(t),e=>{var n;return{language:((n=e.groups)==null?void 0:n.language)??""}}));K(FB,{displayName:"InputRule",group:"CodeBlock"});var Mu=ct("CreateCodeBlock",t=>(e="")=>vc(Eu.type(t),{language:e}));K(Mu,{displayName:"Command",group:"CodeBlock"});var Gue=ct("UpdateCodeBlockLanguage",()=>({pos:t,language:e}={pos:-1,language:""})=>(n,r)=>t>=0?(r?.(n.tr.setNodeAttribute(t,"language",e)),!0):!1);K(Gue,{displayName:"Command",group:"CodeBlock"});var m3=Br("codeBlockKeymap",{CreateCodeBlock:{shortcuts:"Mod-Alt-c",command:t=>{let e=t.get(nt);return()=>e.call(Mu.key)}}});K(m3.ctx,{displayName:"KeymapCtx",group:"CodeBlock"});K(m3.shortcuts,{displayName:"Keymap",group:"CodeBlock"});var g3=Ri("image");K(g3,{displayName:"Attr",group:"Image"});var up=mn("image",t=>({inline:!0,group:"inline",selectable:!0,draggable:!0,marks:"",atom:!0,defining:!0,isolating:!0,attrs:{src:{default:""},alt:{default:""},title:{default:""}},parseDOM:[{tag:"img[src]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{src:e.getAttribute("src")||"",alt:e.getAttribute("alt")||"",title:e.getAttribute("title")||e.getAttribute("alt")||""}}}],toDOM:e=>["img",S(S({},t.get(g3.key)(e)),e.attrs)],parseMarkdown:{match:({type:e})=>e==="image",runner:(e,n,r)=>{let i=n.url,o=n.alt,a=n.title;e.addNode(r,{src:i,alt:o,title:a})}},toMarkdown:{match:e=>e.type.name==="image",runner:(e,n)=>{e.addNode("image",void 0,void 0,{title:n.attrs.title,url:n.attrs.src,alt:n.attrs.alt})}}}));K(up.node,{displayName:"NodeSchema",group:"Image"});K(up.ctx,{displayName:"NodeSchemaCtx",group:"Image"});var NB=ct("InsertImage",t=>(e={})=>(n,r)=>{if(!r)return!0;let{src:i="",alt:o="",title:a=""}=e,s=up.type(t).create({src:i,alt:o,title:a});return s&&r(n.tr.replaceSelectionWith(s).scrollIntoView()),!0});K(NB,{displayName:"Command",group:"Image"});var Sk=ct("UpdateImage",t=>(e={})=>(n,r)=>{let i=qL(n.selection,up.type(t));if(!i)return!1;let{node:o,pos:a}=i,s=S({},o.attrs),{src:l,alt:c,title:d}=e;return l!==void 0&&(s.src=l),c!==void 0&&(s.alt=c),d!==void 0&&(s.title=d),r?.(n.tr.setNodeMarkup(a,void 0,s).scrollIntoView()),!0});K(Sk,{displayName:"Command",group:"Image"});var Yue=Lr(t=>new zn(/!\[(?.*?)]\((?.*?)\s*(?="|\))"?(?[^"]+)?"?\)/,(e,n,r,i)=>{let[o,a,s="",l]=n;return o?e.tr.replaceWith(r,i,up.type(t).create({src:s,alt:a,title:l})):null}));K(Yue,{displayName:"InputRule<insertImageInputRule>",group:"Image"});var y3=Ri("hardbreak",t=>({"data-is-inline":t.attrs.isInline}));K(y3,{displayName:"Attr<hardbreak>",group:"Hardbreak"});var xu=mn("hardbreak",t=>({inline:!0,group:"inline",attrs:{isInline:{default:!1}},selectable:!1,parseDOM:[{tag:"br"}],toDOM:e=>["br",t.get(y3.key)(e)],parseMarkdown:{match:({type:e})=>e==="break",runner:(e,n,r)=>{var i;e.addNode(r,{isInline:!!((i=n.data)!=null&&i.isInline)})}},leafText:()=>` +`);return{dom:l,text:f}}function wL(t,e,n,r,i){let o=i.parent.type.spec.code,a,s;if(!n&&!e)return null;let l=e&&(r||o||!n);if(l){if(t.someProp("transformPastedText",f=>{e=f(e,o||r,t)}),o)return e?new ce(Z.from(t.state.schema.text(e.replace(/\r\n?/g,` +`))),0,0):ce.empty;let u=t.someProp("clipboardTextParser",f=>f(e,i,r,t));if(u)s=u;else{let f=i.marks(),{schema:p}=t.state,h=Fi.fromSchema(p);a=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(g=>{let b=a.appendChild(document.createElement("p"));g&&b.appendChild(h.serializeNode(p.text(g,f)))})}}else t.someProp("transformPastedHTML",u=>{n=u(n,t)}),a=Kce(n),N0&&Zce(a);let c=a&&a.querySelector("[data-pm-slice]"),d=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(d&&d[3])for(let u=+d[3];u>0;u--){let f=a.firstChild;for(;f&&f.nodeType!=1;)f=f.nextSibling;if(!f)break;a=f}if(s||(s=(t.someProp("clipboardParser")||t.someProp("domParser")||ua.fromSchema(t.state.schema)).parseSlice(a,{preserveWhitespace:!!(l||d),context:i,ruleFromNode(f){return f.nodeName=="BR"&&!f.nextSibling&&f.parentNode&&!Gce.test(f.parentNode.nodeName)?{ignore:!0}:null}})),d)s=Xce(G9(s,+d[1],+d[2]),d[4]);else if(s=ce.maxOpen(Yce(s.content,i),!0),s.openStart||s.openEnd){let u=0,f=0;for(let p=s.content.firstChild;u<s.openStart&&!p.type.spec.isolating;u++,p=p.firstChild);for(let p=s.content.lastChild;f<s.openEnd&&!p.type.spec.isolating;f++,p=p.lastChild);s=G9(s,u,f)}return t.someProp("transformPasted",u=>{s=u(s,t)}),s}var Gce=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Yce(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let i=e.node(n).contentMatchAt(e.index(n)),o,a=[];if(t.forEach(s=>{if(!a)return;let l=i.findWrapping(s.type),c;if(!l)return a=null;if(c=a.length&&o.length&&kL(l,o,s,a[a.length-1],0))a[a.length-1]=c;else{a.length&&(a[a.length-1]=xL(a[a.length-1],o.length));let d=vL(s,l);a.push(d),i=i.matchType(d.type),o=l}}),a)return Z.from(a)}return t}function vL(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,Z.from(t));return t}function kL(t,e,n,r,i){if(i<t.length&&i<e.length&&t[i]==e[i]){let o=kL(t,e,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==t.length-1?n.type:t[i+1]))return r.copy(r.content.append(Z.from(vL(n,t,i+1))))}}function xL(t,e){if(e==0)return t;let n=t.content.replaceChild(t.childCount-1,xL(t.lastChild,e-1)),r=t.contentMatchAt(t.childCount).fillBefore(Z.empty,!0);return t.copy(n.append(r))}function hT(t,e,n,r,i,o){let a=e<0?t.firstChild:t.lastChild,s=a.content;return t.childCount>1&&(o=0),i<r-1&&(s=hT(s,e,n,r,i+1,o)),i>=n&&(s=e<0?a.contentMatchAt(0).fillBefore(s,o<=i).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(Z.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,a.copy(s))}function G9(t,e,n){return e<t.openStart&&(t=new ce(hT(t.content,-1,e,t.openStart,0,t.openEnd),e,t.openEnd)),n<t.openEnd&&(t=new ce(hT(t.content,1,n,t.openEnd,0,0),t.openStart,n)),t}var CL={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},Y9=null;function DL(){return Y9||(Y9=document.implementation.createHTMLDocument("title"))}function Kce(t){let e=/^(\s*<meta [^>]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=DL().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),i;if((i=r&&CL[r[1].toLowerCase()])&&(t=i.map(o=>"<"+o+">").join("")+t+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=t,i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function Zce(t){let e=t.querySelectorAll(Qr?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<e.length;n++){let r=e[n];r.childNodes.length==1&&r.textContent=="\xA0"&&r.parentNode&&r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "),r)}}function Xce(t,e){if(!t.size)return t;let n=t.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return t}let{content:i,openStart:o,openEnd:a}=t;for(let s=r.length-2;s>=0;s-=2){let l=n.nodes[r[s]];if(!l||l.hasRequiredAttrs())break;i=Z.from(l.create(r[s+1],i)),o++,a++}return new ce(i,o,a)}var yi={},bi={},Qce={touchstart:!0,touchmove:!0},mT=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function Jce(t){for(let e in yi){let n=yi[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{tde(t,r)&&!DT(t,r)&&(t.editable||!(r.type in bi))&&n(t,r)},Qce[e]?{passive:!0}:void 0)}gi&&t.dom.addEventListener("input",()=>null),gT(t)}function pc(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function ede(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function gT(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>DT(t,r))})}function DT(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function tde(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function nde(t,e){!DT(t,e)&&yi[e.type]&&(t.editable||!(e.type in bi))&&yi[e.type](t,e)}bi.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!EL(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(pa&&Qr&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),Yp&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",i=>i(t,ou(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||Wce(t,n)?n.preventDefault():pc(t,"key")};bi.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};bi.keypress=(t,e)=>{let n=e;if(EL(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Oo&&n.metaKey)return;if(t.someProp("handleKeyPress",i=>i(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof je)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(n.charCode);!/[\r\n]/.test(i)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,i))&&t.dispatch(t.state.tr.insertText(i).scrollIntoView()),n.preventDefault()}};function K1(t){return{left:t.clientX,top:t.clientY}}function rde(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function ST(t,e,n,r,i){if(r==-1)return!1;let o=t.state.doc.resolve(r);for(let a=o.depth+1;a>0;a--)if(t.someProp(e,s=>a>o.depth?s(t,n,o.nodeAfter,o.before(a),i,!0):s(t,n,o.node(a),o.before(a),i,!1)))return!0;return!1}function Gp(t,e,n){t.focused||t.focus();let r=t.state.tr.setSelection(e);n=="pointer"&&r.setMeta("pointer",!0),t.dispatch(r)}function ide(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Ue.isSelectable(r)?(Gp(t,new Ue(n),"pointer"),!0):!1}function ode(t,e){if(e==-1)return!1;let n=t.state.selection,r,i;n instanceof Ue&&(r=n.node);let o=t.state.doc.resolve(e);for(let a=o.depth+1;a>0;a--){let s=a>o.depth?o.nodeAfter:o.node(a);if(Ue.isSelectable(s)){r&&n.$from.depth>0&&a>=n.$from.depth&&o.before(n.$from.depth+1)==n.$from.pos?i=o.before(n.$from.depth):i=o.before(a);break}}return i!=null?(Gp(t,Ue.create(t.state.doc,i),"pointer"),!0):!1}function ade(t,e,n,r,i){return ST(t,"handleClickOn",e,n,r)||t.someProp("handleClick",o=>o(t,e,r))||(i?ode(t,n):ide(t,n))}function sde(t,e,n,r){return ST(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",i=>i(t,e,r))}function lde(t,e,n,r){return ST(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",i=>i(t,e,r))||cde(t,n,r)}function cde(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Gp(t,je.create(r,0,r.content.size),"pointer"),!0):!1;let i=r.resolve(e);for(let o=i.depth+1;o>0;o--){let a=o>i.depth?i.nodeAfter:i.node(o),s=i.before(o);if(a.inlineContent)Gp(t,je.create(r,s+1,s+1+a.content.size),"pointer");else if(Ue.isSelectable(a))Gp(t,Ue.create(r,s),"pointer");else continue;return!0}}function ET(t){return U1(t)}var SL=Oo?"metaKey":"ctrlKey";yi.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=ET(t),i=Date.now(),o="singleClick";i-t.input.lastClick.time<500&&rde(n,t.input.lastClick)&&!n[SL]&&(t.input.lastClick.type=="singleClick"?o="doubleClick":t.input.lastClick.type=="doubleClick"&&(o="tripleClick")),t.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:o};let a=t.posAtCoords(K1(n));a&&(o=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new yT(t,a,n,!!r)):(o=="doubleClick"?sde:lde)(t,a.pos,a.inside,n)?n.preventDefault():pc(t,"pointer"))};var yT=class{constructor(e,n,r,i){this.view=e,this.pos=n,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[SL],this.allowDefault=r.shiftKey;let o,a;if(n.inside>-1)o=e.state.doc.nodeAt(n.inside),a=n.inside;else{let d=e.state.doc.resolve(n.pos);o=d.parent,a=d.depth?d.before():0}let s=i?null:r.target,l=s?e.docView.nearestDesc(s,!0):null;this.target=l?l.dom:null;let{selection:c}=e.state;(r.button==0&&o.type.spec.draggable&&o.type.spec.selectable!==!1||c instanceof Ue&&c.from<=a&&c.to>a)&&(this.mightDrag={node:o,pos:a,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&ha&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),pc(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Gs(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(K1(e))),this.updateAllowDefault(e),this.allowDefault||!n?pc(this.view,"pointer"):ade(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||gi&&this.mightDrag&&!this.mightDrag.node.isAtom||Qr&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Gp(this.view,Ne.near(this.view.state.doc.resolve(n.pos)),"pointer"),e.preventDefault()):pc(this.view,"pointer")}move(e){this.updateAllowDefault(e),pc(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}};yi.touchstart=t=>{t.input.lastTouch=Date.now(),ET(t),pc(t,"pointer")};yi.touchmove=t=>{t.input.lastTouch=Date.now(),pc(t,"pointer")};yi.contextmenu=t=>ET(t);function EL(t,e){return t.composing?!0:gi&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}var dde=pa?5e3:-1;bi.compositionstart=bi.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$from;if(e.selection.empty&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)))t.markCursor=t.state.storedMarks||n.marks(),U1(t,!0),t.markCursor=null;else if(U1(t),ha&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let i=r.focusNode,o=r.focusOffset;i&&i.nodeType==1&&o!=0;){let a=o<0?i.lastChild:i.childNodes[o-1];if(!a)break;if(a.nodeType==3){t.domSelection().collapse(a,a.nodeValue.length);break}else i=a,o=-1}}t.input.composing=!0}ML(t,dde)};bi.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,ML(t,20))};function ML(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>U1(t),e))}function TL(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=ude());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function ude(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function U1(t,e=!1){if(!(pa&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),TL(t),e||t.docView&&t.docView.dirty){let n=xT(t);return n&&!n.eq(t.state.selection)?t.dispatch(t.state.tr.setSelection(n)):t.updateState(t.state),!0}return!1}}function fde(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}var O0=Ni&&hc<15||Yp&&hce<604;yi.copy=bi.cut=(t,e)=>{let n=e,r=t.state.selection,i=n.type=="cut";if(r.empty)return;let o=O0?null:n.clipboardData,a=r.content(),{dom:s,text:l}=_L(t,a);o?(n.preventDefault(),o.clearData(),o.setData("text/html",s.innerHTML),o.setData("text/plain",l)):fde(t,s),i&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function pde(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function hde(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?P0(t,r.value,null,i,e):P0(t,r.textContent,r.innerHTML,i,e)},50)}function P0(t,e,n,r,i){let o=wL(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",l=>l(t,i,o||ce.empty)))return!0;if(!o)return!1;let a=pde(o),s=a?t.state.tr.replaceSelectionWith(a,r):t.state.tr.replaceSelection(o);return t.dispatch(s.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function AL(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}bi.paste=(t,e)=>{let n=e;if(t.composing&&!pa)return;let r=O0?null:n.clipboardData,i=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&P0(t,AL(r),r.getData("text/html"),i,n)?n.preventDefault():hde(t,n)};var H1=class{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}},IL=Oo?"altKey":"ctrlKey";yi.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=t.state.selection,o=i.empty?null:t.posAtCoords(K1(n)),a;if(!(o&&o.pos>=i.from&&o.pos<=(i instanceof Ue?i.to-1:i.to))){if(r&&r.mightDrag)a=Ue.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let d=t.docView.nearestDesc(n.target,!0);d&&d.node.type.spec.draggable&&d!=t.docView&&(a=Ue.create(t.state.doc,d.posBefore))}}let s=(a||t.state.selection).content(),{dom:l,text:c}=_L(t,s);n.dataTransfer.clearData(),n.dataTransfer.setData(O0?"Text":"text/html",l.innerHTML),n.dataTransfer.effectAllowed="copyMove",O0||n.dataTransfer.setData("text/plain",c),t.dragging=new H1(s,!n[IL],a)};yi.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};bi.dragover=bi.dragenter=(t,e)=>e.preventDefault();bi.drop=(t,e)=>{let n=e,r=t.dragging;if(t.dragging=null,!n.dataTransfer)return;let i=t.posAtCoords(K1(n));if(!i)return;let o=t.state.doc.resolve(i.pos),a=r&&r.slice;a?t.someProp("transformPasted",h=>{a=h(a,t)}):a=wL(t,AL(n.dataTransfer),O0?null:n.dataTransfer.getData("text/html"),!1,o);let s=!!(r&&!n[IL]);if(t.someProp("handleDrop",h=>h(t,n,a||ce.empty,s))){n.preventDefault();return}if(!a)return;n.preventDefault();let l=a?Up(t.state.doc,o.pos,a):o.pos;l==null&&(l=o.pos);let c=t.state.tr;if(s){let{node:h}=r;h?h.replace(c):c.deleteSelection()}let d=c.mapping.map(l),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,f=c.doc;if(u?c.replaceRangeWith(d,d,a.content.firstChild):c.replaceRange(d,d,a),c.doc.eq(f))return;let p=c.doc.resolve(d);if(u&&Ue.isSelectable(a.content.firstChild)&&p.nodeAfter&&p.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new Ue(p));else{let h=c.mapping.map(l);c.mapping.maps[c.mapping.maps.length-1].forEach((g,b,_,x)=>h=x),c.setSelection(CT(t,p,c.doc.resolve(h)))}t.focus(),t.dispatch(c.setMeta("uiEvent","drop"))};yi.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Gs(t)},20))};yi.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};yi.beforeinput=(t,e)=>{if(Qr&&pa&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",o=>o(t,ou(8,"Backspace")))))return;let{$cursor:i}=t.state.selection;i&&i.pos>0&&t.dispatch(t.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let t in bi)yi[t]=bi[t];function F0(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}var $1=class t{constructor(e,n){this.toDOM=e,this.spec=n||cu,this.side=this.spec.side||0}map(e,n,r,i){let{pos:o,deleted:a}=e.mapResult(n.from+i,this.side<0?-1:1);return a?null:new gn(o-r,o-r,this)}valid(){return!0}eq(e){return this==e||e instanceof t&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&F0(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},lu=class t{constructor(e,n){this.attrs=e,this.spec=n||cu}map(e,n,r,i){let o=e.map(n.from+i,this.spec.inclusiveStart?-1:1)-r,a=e.map(n.to+i,this.spec.inclusiveEnd?1:-1)-r;return o>=a?null:new gn(o,a,this)}valid(e,n){return n.from<n.to}eq(e){return this==e||e instanceof t&&F0(this.attrs,e.attrs)&&F0(this.spec,e.spec)}static is(e){return e.type instanceof t}destroy(){}},bT=class t{constructor(e,n){this.attrs=e,this.spec=n||cu}map(e,n,r,i){let o=e.mapResult(n.from+i,1);if(o.deleted)return null;let a=e.mapResult(n.to+i,-1);return a.deleted||a.pos<=o.pos?null:new gn(o.pos-r,a.pos-r,this)}valid(e,n){let{index:r,offset:i}=e.content.findIndex(n.from),o;return i==n.from&&!(o=e.child(r)).isText&&i+o.nodeSize==n.to}eq(e){return this==e||e instanceof t&&F0(this.attrs,e.attrs)&&F0(this.spec,e.spec)}destroy(){}},gn=class t{constructor(e,n,r){this.from=e,this.to=n,this.type=r}copy(e,n){return new t(e,n,this.type)}eq(e,n=0){return this.type.eq(e.type)&&this.from+n==e.from&&this.to+n==e.to}map(e,n,r){return this.type.map(e,this,n,r)}static widget(e,n,r){return new t(e,e,new $1(n,r))}static inline(e,n,r,i){return new t(e,n,new lu(r,i))}static node(e,n,r,i){return new t(e,n,new bT(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof lu}get widget(){return this.type instanceof $1}},Wp=[],cu={},wt=class t{constructor(e,n){this.local=e.length?e:Wp,this.children=n.length?n:Wp}static create(e,n){return n.length?W1(n,e,0,cu):Xr}find(e,n,r){let i=[];return this.findInner(e??0,n??1e9,i,0,r),i}findInner(e,n,r,i,o){for(let a=0;a<this.local.length;a++){let s=this.local[a];s.from<=n&&s.to>=e&&(!o||o(s.spec))&&r.push(s.copy(s.from+i,s.to+i))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<n&&this.children[a+1]>e){let s=this.children[a]+1;this.children[a+2].findInner(e-s,n-s,r,i+s,o)}}map(e,n,r){return this==Xr||e.maps.length==0?this:this.mapInner(e,n,0,0,r||cu)}mapInner(e,n,r,i,o){let a;for(let s=0;s<this.local.length;s++){let l=this.local[s].map(e,r,i);l&&l.type.valid(n,l)?(a||(a=[])).push(l):o.onRemove&&o.onRemove(this.local[s].spec)}return this.children.length?mde(this.children,a||[],e,n,r,i,o):a?new t(a.sort(du),Wp):Xr}add(e,n){return n.length?this==Xr?t.create(e,n):this.addInner(e,n,0):this}addInner(e,n,r){let i,o=0;e.forEach((s,l)=>{let c=l+r,d;if(d=PL(n,s,c)){for(i||(i=this.children.slice());o<i.length&&i[o]<l;)o+=3;i[o]==l?i[o+2]=i[o+2].addInner(s,d,c+1):i.splice(o,0,l,l+s.nodeSize,W1(d,s,c+1,cu)),o+=3}});let a=OL(o?FL(n):n,-r);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||a.splice(s--,1);return new t(a.length?this.local.concat(a).sort(du):this.local,i||this.children)}remove(e){return e.length==0||this==Xr?this:this.removeInner(e,0)}removeInner(e,n){let r=this.children,i=this.local;for(let o=0;o<r.length;o+=3){let a,s=r[o]+n,l=r[o+1]+n;for(let d=0,u;d<e.length;d++)(u=e[d])&&u.from>s&&u.to<l&&(e[d]=null,(a||(a=[])).push(u));if(!a)continue;r==this.children&&(r=this.children.slice());let c=r[o+2].removeInner(a,s+1);c!=Xr?r[o+2]=c:(r.splice(o,3),o-=3)}if(i.length){for(let o=0,a;o<e.length;o++)if(a=e[o])for(let s=0;s<i.length;s++)i[s].eq(a,n)&&(i==this.local&&(i=this.local.slice()),i.splice(s--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new t(i,r):Xr}forChild(e,n){if(this==Xr)return this;if(n.isLeaf)return t.empty;let r,i;for(let s=0;s<this.children.length;s+=3)if(this.children[s]>=e){this.children[s]==e&&(r=this.children[s+2]);break}let o=e+1,a=o+n.content.size;for(let s=0;s<this.local.length;s++){let l=this.local[s];if(l.from<a&&l.to>o&&l.type instanceof lu){let c=Math.max(o,l.from)-o,d=Math.min(a,l.to)-o;c<d&&(i||(i=[])).push(l.copy(c,d))}}if(i){let s=new t(i.sort(du),Wp);return r?new q1([s,r]):s}return r||Xr}eq(e){if(this==e)return!0;if(!(e instanceof t)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let n=0;n<this.local.length;n++)if(!this.local[n].eq(e.local[n]))return!1;for(let n=0;n<this.children.length;n+=3)if(this.children[n]!=e.children[n]||this.children[n+1]!=e.children[n+1]||!this.children[n+2].eq(e.children[n+2]))return!1;return!0}locals(e){return MT(this.localsInner(e))}localsInner(e){if(this==Xr)return Wp;if(e.inlineContent||!this.local.some(lu.is))return this.local;let n=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof lu||n.push(this.local[r]);return n}};wt.empty=new wt([],[]);wt.removeOverlap=MT;var Xr=wt.empty,q1=class t{constructor(e){this.members=e}map(e,n){let r=this.members.map(i=>i.map(e,n,cu));return t.from(r)}forChild(e,n){if(n.isLeaf)return wt.empty;let r=[];for(let i=0;i<this.members.length;i++){let o=this.members[i].forChild(e,n);o!=Xr&&(o instanceof t?r=r.concat(o.members):r.push(o))}return t.from(r)}eq(e){if(!(e instanceof t)||e.members.length!=this.members.length)return!1;for(let n=0;n<this.members.length;n++)if(!this.members[n].eq(e.members[n]))return!1;return!0}locals(e){let n,r=!0;for(let i=0;i<this.members.length;i++){let o=this.members[i].localsInner(e);if(o.length)if(!n)n=o;else{r&&(n=n.slice(),r=!1);for(let a=0;a<o.length;a++)n.push(o[a])}}return n?MT(r?n:n.sort(du)):Wp}static from(e){switch(e.length){case 0:return Xr;case 1:return e[0];default:return new t(e.every(n=>n instanceof wt)?e:e.reduce((n,r)=>n.concat(r instanceof wt?r:r.members),[]))}}};function mde(t,e,n,r,i,o,a){let s=t.slice();for(let c=0,d=o;c<n.maps.length;c++){let u=0;n.maps[c].forEach((f,p,h,g)=>{let b=g-h-(p-f);for(let _=0;_<s.length;_+=3){let x=s[_+1];if(x<0||f>x+d-u)continue;let E=s[_]+d-u;p>=E?s[_+1]=f<=E?-2:-1:f>=d&&b&&(s[_]+=b,s[_+1]+=b)}u+=b}),d=n.maps[c].map(d,-1)}let l=!1;for(let c=0;c<s.length;c+=3)if(s[c+1]<0){if(s[c+1]==-2){l=!0,s[c+1]=-1;continue}let d=n.map(t[c]+o),u=d-i;if(u<0||u>=r.content.size){l=!0;continue}let f=n.map(t[c+1]+o,-1),p=f-i,{index:h,offset:g}=r.content.findIndex(u),b=r.maybeChild(h);if(b&&g==u&&g+b.nodeSize==p){let _=s[c+2].mapInner(n,b,d+1,t[c]+o+1,a);_!=Xr?(s[c]=u,s[c+1]=p,s[c+2]=_):(s[c+1]=-2,l=!0)}else l=!0}if(l){let c=gde(s,t,e,n,i,o,a),d=W1(c,r,0,a);e=d.local;for(let u=0;u<s.length;u+=3)s[u+1]<0&&(s.splice(u,3),u-=3);for(let u=0,f=0;u<d.children.length;u+=3){let p=d.children[u];for(;f<s.length&&s[f]<p;)f+=3;s.splice(f,0,d.children[u],d.children[u+1],d.children[u+2])}}return new wt(e.sort(du),s)}function OL(t,e){if(!e||!t.length)return t;let n=[];for(let r=0;r<t.length;r++){let i=t[r];n.push(new gn(i.from+e,i.to+e,i.type))}return n}function gde(t,e,n,r,i,o,a){function s(l,c){for(let d=0;d<l.local.length;d++){let u=l.local[d].map(r,i,c);u?n.push(u):a.onRemove&&a.onRemove(l.local[d].spec)}for(let d=0;d<l.children.length;d+=3)s(l.children[d+2],l.children[d]+c+1)}for(let l=0;l<t.length;l+=3)t[l+1]==-1&&s(t[l+2],e[l]+o+1);return n}function PL(t,e,n){if(e.isLeaf)return null;let r=n+e.nodeSize,i=null;for(let o=0,a;o<t.length;o++)(a=t[o])&&a.from>n&&a.to<r&&((i||(i=[])).push(a),t[o]=null);return i}function FL(t){let e=[];for(let n=0;n<t.length;n++)t[n]!=null&&e.push(t[n]);return e}function W1(t,e,n,r){let i=[],o=!1;e.forEach((s,l)=>{let c=PL(t,s,l+n);if(c){o=!0;let d=W1(c,s,n+l+1,r);d!=Xr&&i.push(l,l+s.nodeSize,d)}});let a=OL(o?FL(t):t,-n).sort(du);for(let s=0;s<a.length;s++)a[s].type.valid(e,a[s])||(r.onRemove&&r.onRemove(a[s].spec),a.splice(s--,1));return a.length||i.length?new wt(a,i):Xr}function du(t,e){return t.from-e.from||t.to-e.to}function MT(t){let e=t;for(let n=0;n<e.length-1;n++){let r=e[n];if(r.from!=r.to)for(let i=n+1;i<e.length;i++){let o=e[i];if(o.from==r.from){o.to!=r.to&&(e==t&&(e=t.slice()),e[i]=o.copy(o.from,r.to),K9(e,i+1,o.copy(r.to,o.to)));continue}else{o.from<r.to&&(e==t&&(e=t.slice()),e[n]=r.copy(r.from,o.from),K9(e,i,r.copy(o.from,r.to)));break}}}return e}function K9(t,e,n){for(;e<t.length&&du(n,t[e])>0;)e++;t.splice(e,0,n)}function tT(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=Xr&&e.push(r)}),t.cursorWrapper&&e.push(wt.create(t.state.doc,[t.cursorWrapper.deco])),q1.from(e)}var yde={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},bde=Ni&&hc<=11,_T=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},wT=class{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new _T,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;i<r.length;i++)this.queue.push(r[i]);Ni&&hc<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():this.flush()}),bde&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,yde)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;n<e.length;n++)this.queue.push(e[n]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(V9(this.view)){if(this.suppressingSelectionUpdates)return Gs(this.view);if(Ni&&hc<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&uu(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let o=e.focusNode;o;o=I0(o))n.add(o);for(let o=e.anchorNode;o;o=I0(o))if(n.has(o)){r=o;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&V9(e)&&!this.ignoreSelectionChange(r),o=-1,a=-1,s=!1,l=[];if(e.editable)for(let d=0;d<n.length;d++){let u=this.registerMutation(n[d],l);u&&(o=o<0?u.from:Math.min(u.from,o),a=a<0?u.to:Math.max(u.to,a),u.typeOver&&(s=!0))}if(ha&&l.length>1){let d=l.filter(u=>u.nodeName=="BR");if(d.length==2){let u=d[0],f=d[1];u.parentNode&&u.parentNode.parentNode==f.parentNode?f.remove():u.remove()}}let c=null;o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Y1(r)&&(c=xT(e))&&c.eq(Ne.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Gs(e),this.currentSelection.set(r),e.scrollToSelection()):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,a),_de(e)),this.handleDOMChange(o,a,s,l),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Gs(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let d=0;d<e.addedNodes.length;d++)n.push(e.addedNodes[d]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let i=e.previousSibling,o=e.nextSibling;if(Ni&&hc<=11&&e.addedNodes.length)for(let d=0;d<e.addedNodes.length;d++){let{previousSibling:u,nextSibling:f}=e.addedNodes[d];(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(i=u),(!f||Array.prototype.indexOf.call(e.addedNodes,f)<0)&&(o=f)}let a=i&&i.parentNode==e.target?mi(i)+1:0,s=r.localPosFromDOM(e.target,a,-1),l=o&&o.parentNode==e.target?mi(o):e.target.childNodes.length,c=r.localPosFromDOM(e.target,l,1);return{from:s,to:c}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}}},Z9=new WeakMap,X9=!1;function _de(t){if(!Z9.has(t)&&(Z9.set(t,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(t.dom).whiteSpace)!==-1)){if(t.requiresGeckoHackNode=ha,X9)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),X9=!0}}function wde(t){let e;function n(l){l.preventDefault(),l.stopImmediatePropagation(),e=l.getTargetRanges()[0]}t.dom.addEventListener("beforeinput",n,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",n,!0);let r=e.startContainer,i=e.startOffset,o=e.endContainer,a=e.endOffset,s=t.domAtPos(t.state.selection.anchor);return uu(s.node,s.offset,o,a)&&([r,i,o,a]=[o,a,r,i]),{anchorNode:r,anchorOffset:i,focusNode:o,focusOffset:a}}function vde(t,e,n){let{node:r,fromOffset:i,toOffset:o,from:a,to:s}=t.docView.parseRange(e,n),l=t.domSelectionRange(),c,d=l.anchorNode;if(d&&t.dom.contains(d.nodeType==1?d:d.parentNode)&&(c=[{node:d,offset:l.anchorOffset}],Y1(l)||c.push({node:l.focusNode,offset:l.focusOffset})),Qr&&t.input.lastKeyCode===8)for(let b=o;b>i;b--){let _=r.childNodes[b-1],x=_.pmViewDesc;if(_.nodeName=="BR"&&!x){o=b;break}if(!x||x.size)break}let u=t.state.doc,f=t.someProp("domParser")||ua.fromSchema(t.state.schema),p=u.resolve(a),h=null,g=f.parse(r,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:i,to:o,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:c,ruleFromNode:kde,context:p});if(c&&c[0].pos!=null){let b=c[0].pos,_=c[1]&&c[1].pos;_==null&&(_=b),h={anchor:b+a,head:_+a}}return{doc:g,sel:h,from:a,to:s}}function kde(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(gi&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||gi&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}var xde=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function Cde(t,e,n,r,i){let o=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let N=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,O=xT(t,N);if(O&&!t.state.selection.eq(O)){if(Qr&&pa&&t.input.lastKeyCode===13&&Date.now()-100<t.input.lastKeyCodeTime&&t.someProp("handleKeyDown",V=>V(t,ou(13,"Enter"))))return;let J=t.state.tr.setSelection(O);N=="pointer"?J.setMeta("pointer",!0):N=="key"&&J.scrollIntoView(),o&&J.setMeta("composition",o),t.dispatch(J)}return}let a=t.state.doc.resolve(e),s=a.sharedDepth(n);e=a.before(s+1),n=t.state.doc.resolve(n).after(s+1);let l=t.state.selection,c=vde(t,e,n),d=t.state.doc,u=d.slice(c.from,c.to),f,p;t.input.lastKeyCode===8&&Date.now()-100<t.input.lastKeyCodeTime?(f=t.state.selection.to,p="end"):(f=t.state.selection.from,p="start"),t.input.lastKeyCode=null;let h=Ede(u.content,c.doc.content,c.from,f,p);if((Yp&&t.input.lastIOSEnter>Date.now()-225||pa)&&i.some(N=>N.nodeType==1&&!xde.test(N.nodeName))&&(!h||h.endA>=h.endB)&&t.someProp("handleKeyDown",N=>N(t,ou(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!h)if(r&&l instanceof je&&!l.empty&&l.$head.sameParent(l.$anchor)&&!t.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))h={start:l.from,endA:l.to,endB:l.to};else{if(c.sel){let N=Q9(t,t.state.doc,c.sel);if(N&&!N.eq(t.state.selection)){let O=t.state.tr.setSelection(N);o&&O.setMeta("composition",o),t.dispatch(O)}}return}if(Qr&&t.cursorWrapper&&c.sel&&c.sel.anchor==t.cursorWrapper.deco.from&&c.sel.head==c.sel.anchor){let N=h.endB-h.start;c.sel={anchor:c.sel.anchor+N,head:c.sel.anchor+N}}t.input.domChangeCount++,t.state.selection.from<t.state.selection.to&&h.start==h.endB&&t.state.selection instanceof je&&(h.start>t.state.selection.from&&h.start<=t.state.selection.from+2&&t.state.selection.from>=c.from?h.start=t.state.selection.from:h.endA<t.state.selection.to&&h.endA>=t.state.selection.to-2&&t.state.selection.to<=c.to&&(h.endB+=t.state.selection.to-h.endA,h.endA=t.state.selection.to)),Ni&&hc<=11&&h.endB==h.start+1&&h.endA==h.start&&h.start>c.from&&c.doc.textBetween(h.start-c.from-1,h.start-c.from+1)==" \xA0"&&(h.start--,h.endA--,h.endB--);let g=c.doc.resolveNoCache(h.start-c.from),b=c.doc.resolveNoCache(h.endB-c.from),_=d.resolve(h.start),x=g.sameParent(b)&&g.parent.inlineContent&&_.end()>=h.endA,E;if((Yp&&t.input.lastIOSEnter>Date.now()-225&&(!x||i.some(N=>N.nodeName=="DIV"||N.nodeName=="P"))||!x&&g.pos<c.doc.content.size&&!g.sameParent(b)&&(E=Ne.findFrom(c.doc.resolve(g.pos+1),1,!0))&&E.head==b.pos)&&t.someProp("handleKeyDown",N=>N(t,ou(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>h.start&&Sde(d,h.start,h.endA,g,b)&&t.someProp("handleKeyDown",N=>N(t,ou(8,"Backspace")))){pa&&Qr&&t.domObserver.suppressSelectionUpdates();return}Qr&&pa&&h.endB==h.start&&(t.input.lastAndroidDelete=Date.now()),pa&&!x&&g.start()!=b.start()&&b.parentOffset==0&&g.depth==b.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==h.endA&&(h.endB-=2,b=c.doc.resolveNoCache(h.endB-c.from),setTimeout(()=>{t.someProp("handleKeyDown",function(N){return N(t,ou(13,"Enter"))})},20));let v=h.start,j=h.endA,C,P,z;if(x){if(g.pos==b.pos)Ni&&hc<=11&&g.parentOffset==0&&(t.domObserver.suppressSelectionUpdates(),setTimeout(()=>Gs(t),20)),C=t.state.tr.delete(v,j),P=d.resolve(h.start).marksAcross(d.resolve(h.endA));else if(h.endA==h.endB&&(z=Dde(g.parent.content.cut(g.parentOffset,b.parentOffset),_.parent.content.cut(_.parentOffset,h.endA-_.start()))))C=t.state.tr,z.type=="add"?C.addMark(v,j,z.mark):C.removeMark(v,j,z.mark);else if(g.parent.child(g.index()).isText&&g.index()==b.index()-(b.textOffset?0:1)){let N=g.parent.textBetween(g.parentOffset,b.parentOffset);if(t.someProp("handleTextInput",O=>O(t,v,j,N)))return;C=t.state.tr.insertText(N,v,j)}}if(C||(C=t.state.tr.replace(v,j,c.doc.slice(h.start-c.from,h.endB-c.from))),c.sel){let N=Q9(t,C.doc,c.sel);N&&!(Qr&&pa&&t.composing&&N.empty&&(h.start!=h.endB||t.input.lastAndroidDelete<Date.now()-100)&&(N.head==v||N.head==C.mapping.map(j)-1)||Ni&&N.empty&&N.head==v)&&C.setSelection(N)}P&&C.ensureMarks(P),o&&C.setMeta("composition",o),t.dispatch(C.scrollIntoView())}function Q9(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:CT(t,e.resolve(n.anchor),e.resolve(n.head))}function Dde(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,i=n,o=r,a,s,l;for(let d=0;d<r.length;d++)i=r[d].removeFromSet(i);for(let d=0;d<n.length;d++)o=n[d].removeFromSet(o);if(i.length==1&&o.length==0)s=i[0],a="add",l=d=>d.mark(s.addToSet(d.marks));else if(i.length==0&&o.length==1)s=o[0],a="remove",l=d=>d.mark(s.removeFromSet(d.marks));else return null;let c=[];for(let d=0;d<e.childCount;d++)c.push(l(e.child(d)));if(Z.from(c).eq(t))return{mark:s,type:a}}function Sde(t,e,n,r,i){if(!r.parent.isTextblock||n-e<=i.pos-r.pos||nT(r,!0,!1)<i.pos)return!1;let o=t.resolve(e);if(o.parentOffset<o.parent.content.size||!o.parent.isTextblock)return!1;let a=t.resolve(nT(o,!0,!0));return!a.parent.isTextblock||a.pos>n||nT(a,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(a.parent.content)}function nT(t,e,n){let r=t.depth,i=e?t.end():t.pos;for(;r>0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,i++,e=!1;if(n){let o=t.node(r).maybeChild(t.indexAfter(r));for(;o&&!o.isLeaf;)o=o.firstChild,i++}return i}function Ede(t,e,n,r,i){let o=t.findDiffStart(e,n);if(o==null)return null;let{a,b:s}=t.findDiffEnd(e,n+t.size,n+e.size);if(i=="end"){let l=Math.max(0,o-Math.min(a,s));r-=a+l-o}if(a<o&&t.size<e.size){let l=r<=o&&r>=a?o-r:0;o-=l,o&&o<e.size&&J9(e.textBetween(o-1,o+1))&&(o+=l?1:-1),s=o+(s-a),a=o}else if(s<o){let l=r<=o&&r>=s?o-r:0;o-=l,o&&o<t.size&&J9(t.textBetween(o-1,o+1))&&(o+=l?1:-1),a=o+(a-s),s=o}return{start:o,endA:a,endB:s}}function J9(t){if(t.length!=2)return!1;let e=t.charCodeAt(0),n=t.charCodeAt(1);return e>=56320&&e<=57343&&n>=55296&&n<=56319}var G1=class{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new mT,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(iL),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=nL(this),tL(this),this.nodeViews=rL(this),this.docView=N9(this.state.doc,eL(this),tT(this),this.dom,this),this.domObserver=new wT(this,(r,i,o,a)=>Cde(this,r,i,o,a)),this.domObserver.start(),Jce(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&gT(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(iL),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let i=this.state,o=!1,a=!1;e.storedMarks&&this.composing&&(TL(this),a=!0),this.state=e;let s=i.plugins!=e.plugins||this._props.plugins!=n.plugins;if(s||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let p=rL(this);Tde(p,this.nodeViews)&&(this.nodeViews=p,o=!0)}(s||n.handleDOMEvents!=this._props.handleDOMEvents)&&gT(this),this.editable=nL(this),tL(this);let l=tT(this),c=eL(this),d=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",u=o||!this.docView.matchesNode(e.doc,c,l);(u||!e.selection.eq(i.selection))&&(a=!0);let f=d=="preserve"&&a&&this.dom.style.overflowAnchor==null&&yce(this);if(a){this.domObserver.stop();let p=u&&(Ni||Qr)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&Mde(i.selection,e.selection);if(u){let h=Qr?this.trackWrites=this.domSelectionRange().focusNode:null;(o||!this.docView.update(e.doc,c,l,this))&&(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=N9(e.doc,c,l,this.dom,this)),h&&!this.trackWrites&&(p=!0)}p||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Lce(this))?Gs(this,p):(gL(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),d=="reset"?this.dom.scrollTop=0:d=="to selection"?this.scrollToSelection():f&&bce(f)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Ue){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&T9(this,n.getBoundingClientRect(),e)}else T9(this,this.coordsAtPos(this.state.selection.head,1),e)}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n<this.directPlugins.length;n++){let r=this.directPlugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let n=0;n<this.state.plugins.length;n++){let r=this.state.plugins[n];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let n=0;n<this.pluginViews.length;n++){let r=this.pluginViews[n];r.update&&r.update(this,e)}}updateDraggedNode(e,n){let r=e.node,i=-1;if(this.state.doc.nodeAt(r.from)==r.node)i=r.from;else{let o=r.from+(this.state.doc.content.size-n.doc.content.size);(o>0&&this.state.doc.nodeAt(o))==r.node&&(i=o)}this.dragging=new H1(e.slice,e.move,i<0?void 0:Ue.create(this.state.doc,i))}someProp(e,n){let r=this._props&&this._props[e],i;if(r!=null&&(i=n?n(r):r))return i;for(let a=0;a<this.directPlugins.length;a++){let s=this.directPlugins[a].props[e];if(s!=null&&(i=n?n(s):s))return i}let o=this.state.plugins;if(o)for(let a=0;a<o.length;a++){let s=o[a].props[e];if(s!=null&&(i=n?n(s):s))return i}}hasFocus(){if(Ni){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&_ce(this.dom),Gs(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let n=this.dom.parentNode;n;n=n.parentNode)if(n.nodeType==9||n.nodeType==11&&n.host)return n.getSelection||(Object.getPrototypeOf(n).getSelection=()=>n.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return Cce(this,e)}coordsAtPos(e,n=1){return dL(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let i=this.docView.posFromDOM(e,n,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,n){return Tce(this,n||this.state,e)}pasteHTML(e,n){return P0(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return P0(this,e,null,!0,n||new ClipboardEvent("paste"))}destroy(){this.docView&&(ede(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],tT(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)}get isDestroyed(){return this.docView==null}dispatchEvent(e){return nde(this,e)}dispatch(e){let n=this._props.dispatchTransaction;n?n.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){return gi&&this.root.nodeType===11&&dce(this.dom.ownerDocument)==this.dom?wde(this):this.domSelection()}domSelection(){return this.root.getSelection()}};function eL(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[gn.node(0,t.state.doc.content.size,e)]}function tL(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:gn.widget(t.state.selection.head,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function nL(t){return!t.someProp("editable",e=>e(t.state)===!1)}function Mde(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function rL(t){let e=Object.create(null);function n(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function Tde(t,e){let n=0,r=0;for(let i in t){if(t[i]!=e[i])return!0;n++}for(let i in e)r++;return n!=r}function iL(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var zn=class{constructor(e,n,r={}){this.match=e,this.match=e,this.handler=typeof n=="string"?Ade(n):n,this.undoable=r.undoable!==!1}};function Ade(t){return function(e,n,r,i){let o=t;if(n[1]){let a=n[0].lastIndexOf(n[1]);o+=n[0].slice(a+n[1].length),r+=a;let s=r-i;s>0&&(o=n[0].slice(a-s,a)+o,r=i)}return e.tr.insertText(o,r,i)}}var o7e=new zn(/--$/,"\u2014"),a7e=new zn(/\.\.\.$/,"\u2026"),s7e=new zn(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C"),l7e=new zn(/"$/,"\u201D"),c7e=new zn(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018"),d7e=new zn(/'$/,"\u2019");function Z1(t,e,n=null,r){return new zn(t,(i,o,a,s)=>{let l=n instanceof Function?n(o):n,c=i.tr.delete(a,s),d=c.doc.resolve(a),u=d.blockRange(),f=u&&D0(u,e,l);if(!f)return null;c.wrap(u,f);let p=c.doc.resolve(a-1).nodeBefore;return p&&p.type==e&&ru(c.doc,a-1)&&(!r||r(o,p))&&c.join(a-1),c})}function TT(t,e,n=null){return new zn(t,(r,i,o,a)=>{let s=r.doc.resolve(o),l=n instanceof Function?n(i):n;return s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),e)?r.tr.delete(o,a).setBlockType(o,o,e,l):null})}var yc=typeof navigator<"u"?navigator:null,NL=typeof document<"u"?document:null,bc=yc&&yc.userAgent||"",IT=/Edge\/(\d+)/.exec(bc),LL=/MSIE \d/.exec(bc),OT=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(bc),X1=!!(LL||OT||IT),Ide=LL?document.documentMode:OT?+OT[1]:IT?+IT[1]:0,BL=!X1&&/gecko\/(\d+)/i.test(bc),Ode=BL&&+(/Firefox\/(\d+)/.exec(bc)||[0,0])[1],PT=!X1&&/Chrome\/(\d+)/.exec(bc),Pde=!!PT,Fde=PT?+PT[1]:0,VL=!X1&&!!yc&&/Apple Computer/.test(yc.vendor),UL=VL&&(/Mobile\/\w+/.test(bc)||!!yc&&yc.maxTouchPoints>2),Nde=UL||(yc?/Mac/.test(yc.platform):!1),Rde=/Android \d/.test(bc),HL=!!NL&&"webkitFontSmoothing"in NL.documentElement.style,jde=HL?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,_c=Object.freeze({__proto__:null,android:Rde,chrome:Pde,chrome_version:Fde,gecko:BL,gecko_version:Ode,ie:X1,ie_version:Ide,ios:UL,mac:Nde,safari:VL,webkit:HL,webkit_version:jde});function AT(t,e,n,r,i,o){if(t.composing)return!1;let a=t.state,s=a.doc.resolve(e);if(s.parent.type.spec.code)return!1;let l=s.parent.textBetween(Math.max(0,s.parentOffset-500),s.parentOffset,void 0,"\uFFFC")+r;for(let c=0;c<i.length;c++){let d=i[c].match.exec(l),u=d&&d[0]&&i[c].handler(a,d,e-(d[0].length-r.length),n);if(u)return t.dispatch(u.setMeta(o,{transform:u,from:e,to:n,text:r})),!0}return!1}var zde=new Je("MILKDOWN_CUSTOM_INPUTRULES");function $L({rules:t}){let e=new Le({key:zde,isInputRules:!0,state:{init(){return null},apply(n,r){let i=n.getMeta(this);return i||(n.selectionSet||n.docChanged?null:r)}},props:{handleTextInput(n,r,i,o){return AT(n,r,i,o,t,e)},handleDOMEvents:{compositionend:n=>(setTimeout(()=>{let{$cursor:r}=n.state.selection;r&&AT(n,r.pos,r.pos,"",t,e)}),!1)},handleKeyDown(n,r){if(r.key!=="Enter")return!1;let{$cursor:i}=n.state.selection;return i?AT(n,i.pos,i.pos,` +`,t,e):!1}}});return e}var Lde=Object.defineProperty,Bde=Object.defineProperties,Vde=Object.getOwnPropertyDescriptors,RL=Object.getOwnPropertySymbols,Ude=Object.prototype.hasOwnProperty,Hde=Object.prototype.propertyIsEnumerable,jL=(t,e,n)=>e in t?Lde(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,$de=(t,e)=>{for(var n in e||(e={}))Ude.call(e,n)&&jL(t,n,e[n]);if(RL)for(var n of RL(e))Hde.call(e,n)&&jL(t,n,e[n]);return t},qde=(t,e)=>Bde(t,Vde(e));function zL(t=0,e=0,n=0){return Math.min(Math.max(t,e),n)}function Q1(t,e,n){let i=t.state.doc.content.size,o=zL(e,0,i),a=zL(n,0,i),s=t.coordsAtPos(o),l=t.coordsAtPos(a,-1),c=Math.min(s.top,l.top),d=Math.max(s.bottom,l.bottom),u=Math.min(s.left,l.left),f=Math.max(s.right,l.right),p=f-u,h=d-c,_={top:c,bottom:d,left:u,right:f,width:p,height:h,x:u,y:c};return qde($de({},_),{toJSON:()=>_})}function R0(t){return Object.assign(Object.create(t),t).setTime(Date.now())}function Wde(t,e){return Array.isArray(t)&&t.includes(e.type)||e.type===t}function Gde(t,e=!0){let n=[];return t.descendants((r,i)=>{if(n.push({node:r,pos:i}),!e)return!1}),n}function J1(t){return(e,n)=>Gde(e,n).filter(r=>t(r.node))}function qL(t,e){let n=e.nodes[t];if(!n)throw lj("node",t);return n}function Yde(t){return e=>{for(let n=e.depth;n>0;n--){let r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}}function ek(t){return e=>Yde(t)(e.$from)}function WL(t,e){if(!(t instanceof Ue))return;let{node:n,$from:r}=t;if(Wde(e,n))return{node:n,pos:r.pos,start:r.start(r.depth),depth:r.depth}}var YL=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function Kde(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}var Zde=(t,e,n)=>{let r=Kde(t,n);if(!r)return!1;let i=KL(r);if(!i){let a=r.blockRange(),s=a&&Vp(a);return s==null?!1:(e&&e(t.tr.lift(a,s).scrollIntoView()),!0)}let o=i.nodeBefore;if(!o.type.spec.isolating&&XL(t,i,e))return!0;if(r.parent.content.size==0&&(Zp(o,"end")||Ue.isSelectable(o))){let a=F1(t.doc,r.before(),r.after(),ce.empty);if(a&&a.slice.size<a.to-a.from){if(e){let s=t.tr.step(a);s.setSelection(Zp(o,"end")?Ne.findFrom(s.doc.resolve(s.mapping.map(i.pos,-1)),-1):Ue.create(s.doc,i.pos-o.nodeSize)),e(s.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos-o.nodeSize,i.pos).scrollIntoView()),!0):!1};function Zp(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}var Xde=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;o=KL(r)}let a=o&&o.nodeBefore;return!a||!Ue.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ue.create(t.doc,o.pos-a.nodeSize)).scrollIntoView()),!0)};function KL(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function Qde(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset<n.parent.content.size)?null:n}var Jde=(t,e,n)=>{let r=Qde(t,n);if(!r)return!1;let i=ZL(r);if(!i)return!1;let o=i.nodeAfter;if(XL(t,i,e))return!0;if(r.parent.content.size==0&&(Zp(o,"start")||Ue.isSelectable(o))){let a=F1(t.doc,r.before(),r.after(),ce.empty);if(a&&a.slice.size<a.to-a.from){if(e){let s=t.tr.step(a);s.setSelection(Zp(o,"start")?Ne.findFrom(s.doc.resolve(s.mapping.map(i.pos)),1):Ue.create(s.doc,s.mapping.map(i.pos))),e(s.scrollIntoView())}return!0}}return o.isAtom&&i.depth==r.depth-1?(e&&e(t.tr.delete(i.pos,i.pos+o.nodeSize).scrollIntoView()),!0):!1},eue=(t,e,n)=>{let{$head:r,empty:i}=t.selection,o=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset<r.parent.content.size)return!1;o=ZL(r)}let a=o&&o.nodeAfter;return!a||!Ue.isSelectable(a)?!1:(e&&e(t.tr.setSelection(Ue.create(t.doc,o.pos)).scrollIntoView()),!0)};function ZL(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){let n=t.node(e);if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1));if(n.type.spec.isolating)break}return null}var tue=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` +`).scrollIntoView()),!0)};function NT(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var nue=(t,e)=>{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),a=NT(i.contentMatchAt(o));if(!a||!i.canReplaceWith(o,o,a))return!1;if(e){let s=n.after(),l=t.tr.replaceWith(s,s,a.createAndFill());l.setSelection(Ne.near(l.doc.resolve(s),1)),e(l.scrollIntoView())}return!0},rue=(t,e)=>{let n=t.selection,{$from:r,$to:i}=n;if(n instanceof hi||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=NT(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(e){let a=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,s=t.tr.insert(a,o.createAndFill());s.setSelection(je.create(s.doc,a+1)),e(s.scrollIntoView())}return!0},iue=(t,e)=>{let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(nu(t.doc,o))return e&&e(t.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Vp(r);return i==null?!1:(e&&e(t.tr.lift(r,i).scrollIntoView()),!0)};function oue(t){return(e,n)=>{let{$from:r,$to:i}=e.selection;if(e.selection instanceof Ue&&e.selection.node.isBlock)return!r.parentOffset||!nu(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.parent.isBlock)return!1;if(n){let o=i.parentOffset==i.parent.content.size,a=e.tr;(e.selection instanceof je||e.selection instanceof hi)&&a.deleteSelection();let s=r.depth==0?null:NT(r.node(-1).contentMatchAt(r.indexAfter(-1))),l=t&&t(i.parent,o),c=l?[l]:o&&s?[{type:s}]:void 0,d=nu(a.doc,a.mapping.map(r.pos),1,c);if(!c&&!d&&nu(a.doc,a.mapping.map(r.pos),1,s?[{type:s}]:void 0)&&(s&&(c=[{type:s}]),d=!0),d&&(a.split(a.mapping.map(r.pos),1,c),!o&&!r.parentOffset&&r.parent.type!=s)){let u=a.mapping.map(r.before()),f=a.doc.resolve(u);s&&r.node(-1).canReplaceWith(f.index(),f.index()+1,s)&&a.setNodeMarkup(a.mapping.map(r.before()),s)}n(a.scrollIntoView())}return!0}}var aue=oue();var sue=(t,e)=>(e&&e(t.tr.setSelection(new hi(t.doc))),!0);function lue(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(o,o+1)||!(i.isTextblock||ru(t.doc,e.pos))?!1:(n&&n(t.tr.clearIncompatible(e.pos,r.type,r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()),!0)}function XL(t,e,n){let r=e.nodeBefore,i=e.nodeAfter,o,a;if(r.type.spec.isolating||i.type.spec.isolating)return!1;if(lue(t,e,n))return!0;let s=e.parent.canReplace(e.index(),e.index()+1);if(s&&(o=(a=r.contentMatchAt(r.childCount)).findWrapping(i.type))&&a.matchType(o[0]||i.type).validEnd){if(n){let u=e.pos+i.nodeSize,f=Z.empty;for(let g=o.length-1;g>=0;g--)f=Z.from(o[g].create(null,f));f=Z.from(r.copy(f));let p=t.tr.step(new Nr(e.pos-1,u,e.pos,u,new ce(f,1,0),o.length,!0)),h=u+2*o.length;ru(p.doc,h)&&p.join(h),n(p.scrollIntoView())}return!0}let l=Ne.findFrom(e,1),c=l&&l.$from.blockRange(l.$to),d=c&&Vp(c);if(d!=null&&d>=e.depth)return n&&n(t.tr.lift(c,d).scrollIntoView()),!0;if(s&&Zp(i,"start",!0)&&Zp(r,"end")){let u=r,f=[];for(;f.push(u),!u.isTextblock;)u=u.lastChild;let p=i,h=1;for(;!p.isTextblock;p=p.firstChild)h++;if(u.canReplace(u.childCount,u.childCount,p.content)){if(n){let g=Z.empty;for(let _=f.length-1;_>=0;_--)g=Z.from(f[_].copy(g));let b=t.tr.step(new Nr(e.pos-f.length,e.pos+i.nodeSize,e.pos+h,e.pos+i.nodeSize-h,new ce(g,f.length,0),0,!0));n(b.scrollIntoView())}return!0}}return!1}function QL(t){return function(e,n){let r=e.selection,i=t<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(e.tr.setSelection(je.create(e.doc,t<0?i.start(o):i.end(o)))),!0):!1}}var cue=QL(-1),due=QL(1);function tk(t,e=null){return function(n,r){let{$from:i,$to:o}=n.selection,a=i.blockRange(o),s=a&&D0(a,t,e);return s?(r&&r(n.tr.wrap(a,s).scrollIntoView()),!0):!1}}function wc(t,e=null){return function(n,r){let i=!1;for(let o=0;o<n.selection.ranges.length&&!i;o++){let{$from:{pos:a},$to:{pos:s}}=n.selection.ranges[o];n.doc.nodesBetween(a,s,(l,c)=>{if(i)return!1;if(!(!l.isTextblock||l.hasMarkup(t,e)))if(l.type==t)i=!0;else{let d=n.doc.resolve(c),u=d.index();i=d.parent.canReplaceWith(u,u+1,t)}})}if(!i)return!1;if(r){let o=n.tr;for(let a=0;a<n.selection.ranges.length;a++){let{$from:{pos:s},$to:{pos:l}}=n.selection.ranges[a];o.setBlockType(s,l,t,e)}r(o.scrollIntoView())}return!0}}function uue(t,e,n){for(let r=0;r<e.length;r++){let{$from:i,$to:o}=e[r],a=i.depth==0?t.inlineContent&&t.type.allowsMarkType(n):!1;if(t.nodesBetween(i.pos,o.pos,s=>{if(a)return!1;a=s.inlineContent&&s.type.allowsMarkType(n)}),a)return!0}return!1}function Xp(t,e=null){return function(n,r){let{empty:i,$cursor:o,ranges:a}=n.selection;if(i&&!o||!uue(n.doc,a,t))return!1;if(r)if(o)t.isInSet(n.storedMarks||o.marks())?r(n.tr.removeStoredMark(t)):r(n.tr.addStoredMark(t.create(e)));else{let s=!1,l=n.tr;for(let c=0;!s&&c<a.length;c++){let{$from:d,$to:u}=a[c];s=n.doc.rangeHasMark(d.pos,u.pos,t)}for(let c=0;c<a.length;c++){let{$from:d,$to:u}=a[c];if(s)l.removeMark(d.pos,u.pos,t);else{let f=d.pos,p=u.pos,h=d.nodeAfter,g=u.nodeBefore,b=h&&h.isText?/^\s*/.exec(h.text)[0].length:0,_=g&&g.isText?/\s*$/.exec(g.text)[0].length:0;f+b<p&&(f+=b,p-=_),l.addMark(f,p,t.create(e))}}r(l.scrollIntoView())}return!0}}function RT(...t){return function(e,n,r){for(let i=0;i<t.length;i++)if(t[i](e,n,r))return!0;return!1}}var FT=RT(YL,Zde,Xde),GL=RT(YL,Jde,eue),Ys={Enter:RT(tue,rue,iue,aue),"Mod-Enter":nue,Backspace:FT,"Mod-Backspace":FT,"Shift-Backspace":FT,Delete:GL,"Mod-Delete":GL,"Mod-a":sue},JL={"Ctrl-h":Ys.Backspace,"Alt-Backspace":Ys["Mod-Backspace"],"Ctrl-d":Ys.Delete,"Ctrl-Alt-Backspace":Ys["Mod-Delete"],"Alt-Delete":Ys["Mod-Delete"],"Alt-d":Ys["Mod-Delete"],"Ctrl-a":cue,"Ctrl-e":due};for(let t in Ys)JL[t]=Ys[t];var fue=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,eB=fue?JL:Ys;var Ks={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:"'"},rk={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},pue=typeof navigator<"u"&&/Mac/.test(navigator.platform),hue=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(nr=0;nr<10;nr++)Ks[48+nr]=Ks[96+nr]=String(nr);var nr;for(nr=1;nr<=24;nr++)Ks[nr+111]="F"+nr;var nr;for(nr=65;nr<=90;nr++)Ks[nr]=String.fromCharCode(nr+32),rk[nr]=String.fromCharCode(nr);var nr;for(nk in Ks)rk.hasOwnProperty(nk)||(rk[nk]=Ks[nk]);var nk;function tB(t){var e=pue&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||hue&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?rk:Ks)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}var mue=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):!1;function gue(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,i,o,a;for(let s=0;s<e.length-1;s++){let l=e[s];if(/^(cmd|meta|m)$/i.test(l))a=!0;else if(/^a(lt)?$/i.test(l))r=!0;else if(/^(c|ctrl|control)$/i.test(l))i=!0;else if(/^s(hift)?$/i.test(l))o=!0;else if(/^mod$/i.test(l))mue?a=!0:i=!0;else throw new Error("Unrecognized modifier name: "+l)}return r&&(n="Alt-"+n),i&&(n="Ctrl-"+n),a&&(n="Meta-"+n),o&&(n="Shift-"+n),n}function yue(t){let e=Object.create(null);for(let n in t)e[gue(n)]=t[n];return e}function jT(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function ik(t){return new Le({props:{handleKeyDown:pu(t)}})}function pu(t){let e=yue(t);return function(n,r){let i=tB(r),o,a=e[jT(i,r)];if(a&&a(n.state,n.dispatch,n))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let s=e[jT(i,r,!1)];if(s&&s(n.state,n.dispatch,n))return!0}if((r.shiftKey||r.altKey||r.metaKey||i.charCodeAt(0)>127)&&(o=Ks[r.keyCode])&&o!=i){let s=e[jT(o,r)];if(s&&s(n.state,n.dispatch,n))return!0}}return!1}}var iB=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},$e=(t,e,n)=>(iB(t,e,"read from private field"),n?n.call(t):e.get(t)),Rr=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},In=(t,e,n,r)=>(iB(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n);function xc(t,e){return t.meta=D({package:"@milkdown/core",group:"System"},e),t}var oB={strong:(t,e,n,r)=>{let i=t.marker||n.options.strong||"*",o=n.enter("strong"),a=n.createTracker(r),s=a.move(i+i);return s+=a.move(n.containerPhrasing(t,D({before:s,after:i},a.current()))),s+=a.move(i+i),o(),s},emphasis:(t,e,n,r)=>{let i=t.marker||n.options.emphasis||"*",o=n.enter("emphasis"),a=n.createTracker(r),s=a.move(i);return s+=a.move(n.containerPhrasing(t,D({before:s,after:i},a.current()))),s+=a.move(i),o(),s}},ok=Io("ConfigReady");function bue(t){let e=n=>(n.record(ok),()=>st(this,null,function*(){return yield t(n),n.done(ok),()=>{n.clearTimer(ok)}}));return xc(e,{displayName:"Config"}),e}var Zs=Io("InitReady"),zT=Ft([],"initTimer"),nB=Ft({},"editor"),ah=Ft([],"inputRules"),ei=Ft([],"prosePlugins"),sh=Ft([],"remarkPlugins"),lh=Ft([],"nodeView"),ch=Ft([],"markView"),gu=Ft(d0().use(Pp).use(Rp),"remark"),nh=Ft({handlers:oB},"remarkStringifyOptions");function _ue(t){let e=n=>(n.inject(nB,t).inject(ei,[]).inject(sh,[]).inject(ah,[]).inject(lh,[]).inject(ch,[]).inject(nh,{handlers:oB}).inject(gu,d0().use(Pp).use(Rp)).inject(zT,[ok]).record(Zs),()=>st(this,null,function*(){yield n.waitTimers(zT);let r=n.get(nh);return n.set(gu,d0().use(Pp).use(Rp,r)),n.done(Zs),()=>{n.remove(nB).remove(ei).remove(sh).remove(ah).remove(lh).remove(ch).remove(nh).remove(gu).remove(zT).clearTimer(Zs)}}));return xc(e,{displayName:"Init"}),e}var No=Io("SchemaReady"),ak=Ft([],"schemaTimer"),Jr=Ft({},"schema"),yu=Ft([],"nodes"),bu=Ft([],"marks");function rB(t){var e;return q(D({},t),{parseDOM:(e=t.parseDOM)==null?void 0:e.map(n=>D({priority:t.priority},n))})}var aB=t=>(t.inject(Jr,{}).inject(yu,[]).inject(bu,[]).inject(ak,[Zs]).record(No),()=>st(void 0,null,function*(){yield t.waitTimers(ak);let e=t.get(gu),n=t.get(sh).reduce((a,s)=>a.use(s.plugin,s.options),e);t.set(gu,n);let r=Object.fromEntries(t.get(yu).map(([a,s])=>[a,rB(s)])),i=Object.fromEntries(t.get(bu).map(([a,s])=>[a,rB(s)])),o=new Qv({nodes:r,marks:i});return t.set(Jr,o),t.done(No),()=>{t.remove(Jr).remove(yu).remove(bu).remove(ak).clearTimer(No)}}));xc(aB,{displayName:"Schema"});var sk=Io("ParserReady"),sB=()=>{throw Ug()},so=Ft(sB,"parser"),LT=Ft([],"parserTimer"),lB=t=>(t.inject(so,sB).inject(LT,[No]).record(sk),()=>st(void 0,null,function*(){yield t.waitTimers(LT);let e=t.get(gu),n=t.get(Jr);return t.set(so,o9.create(n,e)),t.done(sk),()=>{t.remove(so).remove(LT).clearTimer(sk)}}));xc(lB,{displayName:"Parser"});var rh=Io("SerializerReady"),BT=Ft([],"serializerTimer"),cB=()=>{throw Ug()},Ro=Ft(cB,"serializer"),dB=t=>(t.inject(Ro,cB).inject(BT,[No]).record(rh),()=>st(void 0,null,function*(){yield t.waitTimers(BT);let e=t.get(gu),n=t.get(Jr);return t.set(Ro,a9.create(n,e)),t.done(rh),()=>{t.remove(Ro).remove(BT).clearTimer(rh)}}));xc(dB,{displayName:"Serializer"});var ih=Ft("","defaultValue"),j0=Ft({},"editorState"),lk=Ft(t=>t,"stateOptions"),ck=Ft([],"editorStateTimer"),dk=Io("EditorStateReady");function UT(t,e,n){if(typeof t=="string")return e(t);if(t.type==="html")return ua.fromSchema(n).parse(t.dom);if(t.type==="json")return Pi.fromJSON(n,t.value);throw nj(t)}var wue=new Je("MILKDOWN_STATE_TRACKER"),uB=t=>(t.inject(ih,"").inject(j0,{}).inject(lk,e=>e).inject(ck,[sk,rh,oh]).record(dk),()=>st(void 0,null,function*(){yield t.waitTimers(ck);let e=t.get(Jr),n=t.get(so),r=t.get(ah),i=t.get(lk),o=t.get(ei),a=t.get(ih),s=UT(a,n,e),l=[...o,new Le({key:wue,state:{init:()=>{},apply:(u,f,p,h)=>{t.set(j0,h)}}}),$L({rules:r}),ik(eB)];t.set(ei,l);let c=i({schema:e,doc:s,plugins:l}),d=j1.create(c);return t.set(j0,d),t.done(dk),()=>{t.remove(ih).remove(j0).remove(lk).remove(ck).clearTimer(dk)}}));xc(uB,{displayName:"EditorState"});var _u=Io("EditorViewReady"),on=Ft({},"editorView"),uk=Ft([],"editorViewTimer"),ma=Ft({},"editorViewOptions"),V0=Ft(null,"root"),U0=Ft(null,"rootDOM"),VT=Ft({},"rootAttrs");function vue(t,e){let n=document.createElement("div");n.className="milkdown",t.appendChild(n),e.set(U0,n);let r=e.get(VT);return Object.entries(r).forEach(([i,o])=>n.setAttribute(i,o)),n}function kue(t){t.classList.add("editor"),t.setAttribute("role","textbox")}var xue=new Je("MILKDOWN_VIEW_CLEAR"),fB=t=>(t.inject(V0,document.body).inject(on,{}).inject(ma,{}).inject(U0,null).inject(VT,{}).inject(uk,[dk]).record(_u),()=>st(void 0,null,function*(){yield t.wait(Zs);let e=t.get(V0)||document.body,n=typeof e=="string"?document.querySelector(e):e;t.update(ei,l=>[new Le({key:xue,view:c=>{let d=n?vue(n,t):void 0;return(()=>{if(d&&n){let u=c.dom;n.replaceChild(d,u),d.appendChild(u)}})(),{destroy:()=>{d!=null&&d.parentNode&&d?.parentNode.replaceChild(c.dom,d),d?.remove()}}}}),...l]),yield t.waitTimers(uk);let r=t.get(j0),i=t.get(ma),o=Object.fromEntries(t.get(lh)),a=Object.fromEntries(t.get(ch)),s=new G1(n,D({state:r,nodeViews:o,markViews:a},i));return kue(s.dom),t.set(on,s),t.done(_u),()=>{s?.destroy(),t.remove(V0).remove(on).remove(ma).remove(U0).remove(VT).remove(uk).clearTimer(_u)}}));xc(fB,{displayName:"EditorView"});var Qp,hu,yk=class{constructor(){Rr(this,Qp,void 0),Rr(this,hu,void 0),In(this,Qp,new Zg),In(this,hu,null),this.setCtx=e=>{In(this,hu,e)}}get ctx(){return $e(this,hu)}create(e,n){let r=e.create($e(this,Qp).sliceMap);return r.set(n),r}get(e){return $e(this,Qp).get(e).get()}remove(e){return $e(this,Qp).remove(e)}call(e,n){if($e(this,hu)==null)throw cj();let r=this.get(e)(n),i=$e(this,hu).get(on);return r(i.state,i.dispatch,i)}};Qp=new WeakMap,hu=new WeakMap;function pB(t="cmdKey"){return Ft(()=>()=>!1,t)}var it=Ft(new yk,"commands"),fk=Ft([No],"commandsTimer"),oh=Io("CommandsReady"),hB=t=>{let e=new yk;return e.setCtx(t),t.inject(it,e).inject(fk,[No]).record(oh),()=>st(void 0,null,function*(){return yield t.waitTimers(fk),t.done(oh),()=>{t.remove(it).remove(fk).clearTimer(oh)}})};xc(hB,{displayName:"Commands"});var Jp,Fo,vc,z0,pk,hk,ao,kc,eh,mk,th,L0,gk,mu,B0,Cue=class mB{constructor(){Rr(this,Jp,void 0),Rr(this,Fo,void 0),Rr(this,vc,void 0),Rr(this,z0,void 0),Rr(this,pk,void 0),Rr(this,hk,void 0),Rr(this,ao,void 0),Rr(this,kc,void 0),Rr(this,eh,void 0),Rr(this,mk,void 0),Rr(this,th,void 0),Rr(this,L0,void 0),Rr(this,gk,void 0),Rr(this,mu,void 0),Rr(this,B0,void 0),In(this,Jp,!1),In(this,Fo,"Idle"),In(this,vc,[]),In(this,z0,()=>{}),In(this,pk,new Zg),In(this,hk,new Gv),In(this,ao,new Map),In(this,kc,new Map),In(this,eh,new pj($e(this,pk),$e(this,hk))),In(this,mk,()=>{let e=bue(r=>st(this,null,function*(){yield Promise.all($e(this,vc).map(i=>i(r)))})),n=[aB,lB,dB,hB,uB,fB,_ue(this),e];$e(this,th).call(this,n,$e(this,kc))}),In(this,th,(e,n)=>{e.forEach(r=>{let i=$e(this,eh).produce($e(this,Jp)?r.meta:void 0),o=r(i);n.set(r,{ctx:i,handler:o,cleanup:void 0})})}),In(this,L0,(e,n=!1)=>Promise.all([e].flat().map(r=>{let i=$e(this,ao).get(r),o=i?.cleanup;return n?$e(this,ao).delete(r):$e(this,ao).set(r,{ctx:void 0,handler:void 0,cleanup:void 0}),typeof o=="function"?o():o}))),In(this,gk,()=>st(this,null,function*(){yield Promise.all([...$e(this,kc).entries()].map(([e,{cleanup:n}])=>typeof n=="function"?n():n)),$e(this,kc).clear()})),In(this,mu,e=>{In(this,Fo,e),$e(this,z0).call(this,e)}),In(this,B0,e=>[...e.entries()].map(i=>st(this,[i],function*([n,r]){let{ctx:o,handler:a}=r;if(!a)return;let s=yield a();e.set(n,{ctx:o,handler:a,cleanup:s})}))),this.enableInspector=(e=!0)=>(In(this,Jp,e),this),this.onStatusChange=e=>(In(this,z0,e),this),this.config=e=>($e(this,vc).push(e),this),this.removeConfig=e=>(In(this,vc,$e(this,vc).filter(n=>n!==e)),this),this.use=e=>{let n=[e].flat();return n.flat().forEach(r=>{$e(this,ao).set(r,{ctx:void 0,handler:void 0,cleanup:void 0})}),$e(this,Fo)==="Created"&&$e(this,th).call(this,n,$e(this,ao)),this},this.remove=e=>st(this,null,function*(){return $e(this,Fo)==="OnCreate"?(console.warn("[Milkdown]: You are trying to remove plugins when the editor is creating, this is not recommended, please check your code."),new Promise(n=>{setTimeout(()=>{n(this.remove(e))},50)})):(yield $e(this,L0).call(this,[e].flat(),!0),this)}),this.create=()=>st(this,null,function*(){return $e(this,Fo)==="OnCreate"?this:($e(this,Fo)==="Created"&&(yield this.destroy()),$e(this,mu).call(this,"OnCreate"),$e(this,mk).call(this),$e(this,th).call(this,[...$e(this,ao).keys()],$e(this,ao)),yield Promise.all([$e(this,B0).call(this,$e(this,kc)),$e(this,B0).call(this,$e(this,ao))].flat()),$e(this,mu).call(this,"Created"),this)}),this.destroy=(e=!1)=>st(this,null,function*(){return $e(this,Fo)==="Destroyed"||$e(this,Fo)==="OnDestroy"?this:$e(this,Fo)==="OnCreate"?new Promise(n=>{setTimeout(()=>{n(this.destroy(e))},50)}):(e&&In(this,vc,[]),$e(this,mu).call(this,"OnDestroy"),yield $e(this,L0).call(this,[...$e(this,ao).keys()],e),yield $e(this,gk).call(this),$e(this,mu).call(this,"Destroyed"),this)}),this.action=e=>e($e(this,eh)),this.inspect=()=>$e(this,Jp)?[...$e(this,kc).values(),...$e(this,ao).values()].map(({ctx:e})=>{var n;return(n=e?.inspector)==null?void 0:n.read()}).filter(e=>!!e):(console.warn("[Milkdown]: You are trying to collect inspection when inspector is disabled, please enable inspector by `editor.enableInspector()` first."),[])}static make(){return new mB}get ctx(){return $e(this,eh)}get status(){return $e(this,Fo)}};Jp=new WeakMap,Fo=new WeakMap,vc=new WeakMap,z0=new WeakMap,pk=new WeakMap,hk=new WeakMap,ao=new WeakMap,kc=new WeakMap,eh=new WeakMap,mk=new WeakMap,th=new WeakMap,L0=new WeakMap,gk=new WeakMap,mu=new WeakMap,B0=new WeakMap;var gB=Cue;var wB=ko(H0(),1);var bk=class{constructor(){this.beforeMountedListeners=[],this.mountedListeners=[],this.updatedListeners=[],this.markdownUpdatedListeners=[],this.blurListeners=[],this.focusListeners=[],this.destroyListeners=[],this.beforeMount=e=>(this.beforeMountedListeners.push(e),this),this.mounted=e=>(this.mountedListeners.push(e),this),this.updated=e=>(this.updatedListeners.push(e),this)}get listeners(){return{beforeMount:this.beforeMountedListeners,mounted:this.mountedListeners,updated:this.updatedListeners,markdownUpdated:this.markdownUpdatedListeners,blur:this.blurListeners,focus:this.focusListeners,destroy:this.destroyListeners}}markdownUpdated(e){return this.markdownUpdatedListeners.push(e),this}blur(e){return this.blurListeners.push(e),this}focus(e){return this.focusListeners.push(e),this}destroy(e){return this.destroyListeners.push(e),this}},_k=Ft(new bk,"listener"),Uue=new Je("MILKDOWN_LISTENER"),qT=t=>(t.inject(_k,new bk),()=>st(void 0,null,function*(){yield t.wait(Zs);let e=t.get(_k),{listeners:n}=e;n.beforeMount.forEach(s=>s(t)),yield t.wait(rh);let r=t.get(Ro),i=null,o=null,a=new Le({key:Uue,view:()=>({destroy:()=>{n.destroy.forEach(s=>s(t))}}),props:{handleDOMEvents:{focus:()=>(n.focus.forEach(s=>s(t)),!1),blur:()=>(n.blur.forEach(s=>s(t)),!1)}},state:{init:()=>{},apply:s=>!s.docChanged||s.getMeta("addToHistory")===!1?void 0:(0,wB.default)(()=>{let{doc:l}=s;if(n.updated.length>0&&(i==null||!i.eq(l))&&n.updated.forEach(c=>{c(t,l,i)}),n.markdownUpdated.length>0&&(i==null||!i.eq(l))){let c=r(l);n.markdownUpdated.forEach(d=>{d(t,c,o)}),o=c}i=l},200)()}});t.update(ei,s=>s.concat(a)),yield t.wait(_u),n.mounted.forEach(s=>s(t))}));qT.meta={package:"@milkdown/plugin-listener",displayName:"Listener"};function vB(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=vB(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Hue(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=vB(t))&&(r&&(r+=" "),r+=e);return r}var kB=Hue;function xB(t){t.update(ma,e=>{let n=e.attributes;return q(D({},e),{attributes:r=>{let i=typeof n=="function"?n(r):n;return q(D({},i),{class:kB("prose dark:prose-invert outline-none",i?.class||"","milkdown-theme-nord")})}})})}var $ue=t=>crypto.getRandomValues(new Uint8Array(t)),que=(t,e,n)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*r*e/t.length);return(o=e)=>{let a="";for(;;){let s=n(i),l=i;for(;l--;)if(a+=t[s[l]&r]||"",a.length===o)return a}}},wk=(t,e=21)=>que(t,e,$ue),vk=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");var rNe=wk("abcedfghicklmn",10);function ut(t,e){let n=pB(t),r=i=>()=>st(this,null,function*(){r.key=n,yield i.wait(oh);let o=e(i);return i.get(it).create(n,o),r.run=a=>i.get(it).call(t,a),()=>{i.get(it).remove(n)}});return r}function jr(t){let e=n=>()=>st(this,null,function*(){yield n.wait(No);let r=t(n);return n.update(ah,i=>[...i,r]),e.inputRule=r,()=>{n.update(ah,i=>i.filter(o=>o!==r))}});return e}function Wue(t,e){let n=r=>()=>st(this,null,function*(){let i=e(r);return r.update(bu,o=>[...o.filter(a=>a[0]!==t),[t,i]]),n.id=t,n.schema=i,()=>{r.update(bu,o=>o.filter(([a])=>a!==t))}});return n.type=r=>{let i=r.get(Jr).marks[t];if(!i)throw dj(t);return i},n}function kk(t,e){let n=r=>()=>st(this,null,function*(){let i=e(r);return r.update(yu,o=>[...o.filter(a=>a[0]!==t),[t,i]]),n.id=t,n.schema=i,()=>{r.update(yu,o=>o.filter(([a])=>a!==t))}});return n.type=r=>{let i=r.get(Jr).nodes[t];if(!i)throw Vv(t);return i},n}function Bt(t){let e,n=r=>()=>st(this,null,function*(){return yield r.wait(No),e=t(r),r.update(ei,i=>[...i,e]),()=>{r.update(ei,i=>i.filter(o=>o!==e))}});return n.plugin=()=>e,n.key=()=>e.spec.key,n}function WT(t){let e=n=>()=>st(this,null,function*(){yield n.wait(No);let r=t(n),i=ik(r);return n.update(ei,o=>[...o,i]),e.keymap=r,()=>{n.update(ei,o=>o.filter(a=>a!==i))}});return e}function wu(t,e){let n=r=>()=>st(this,null,function*(){yield r.wait(No);let i=e(r);return t.type(r)instanceof Hd?r.update(lh,o=>[...o,[t.id,i]]):r.update(ch,o=>[...o,[t.id,i]]),n.view=i,n.type=t,()=>{t.type(r)instanceof Hd?r.update(lh,o=>o.filter(a=>a[0]!==t.id)):r.update(ch,o=>o.filter(a=>a[0]!==t.id))}});return n}function Vt(t,e){let n=Ft(t,e),r=i=>(i.inject(n),()=>()=>{i.remove(n)});return r.key=n,r}function yn(t,e){let n=Vt(e,t),r=kk(t,o=>o.get(n.key)(o)),i=[n,r];return i.id=r.id,i.node=r,i.type=o=>r.type(o),i.schema=r.schema,i.ctx=n,i.key=n.key,i.extendSchema=o=>a=>()=>{let s=a.get(n.key),l=o(s)(a);a.update(yu,c=>[...c.filter(d=>d[0]!==t),[t,l]]),i.schema=l},i}function vu(t,e){let n=Vt(e,t),r=Wue(t,o=>o.get(n.key)(o)),i=[n,r];return i.id=r.id,i.mark=r,i.type=r.type,i.schema=r.schema,i.ctx=n,i.key=n.key,i.extendSchema=o=>a=>()=>{let s=a.get(n.key),l=o(s)(a);a.update(bu,c=>[...c.filter(d=>d[0]!==t),[t,l]]),i.schema=l},i}function zr(t,e){let n=Object.fromEntries(Object.entries(e).map(([a,{shortcuts:s}])=>[a,s])),r=Vt(n,`${t}Keymap`),i=WT(a=>{let s=a.get(r.key),l=Object.entries(e).flatMap(([c,{command:d}])=>[s[c]].flat().map(u=>[u,d(a)]));return Object.fromEntries(l)}),o=[r,i];return o.ctx=r,o.shortcuts=i,o.key=r.key,o.keymap=i.keymap,o}var Ri=(t,e=()=>({}))=>Vt(e,`${t}Attr`),ku=(t,e=()=>({}))=>Vt(e,`${t}Attr`);function _i(t,e,n){let r=Vt(n??{},t),i=a=>()=>st(this,null,function*(){yield a.wait(Zs);let s={plugin:e(a),options:a.get(r.key)};return a.update(sh,l=>[...l,s]),()=>{a.update(sh,l=>l.filter(c=>c!==s))}}),o=[r,i];return o.id=t,o.plugin=i,o.options=r,o}function dh(t,e){return n=>n.get(it).call(t,e)}var CB=(...t)=>{let e=t.length,n=e;for(;n--;)if(typeof t[n]!="function")throw new TypeError("Expected a function");return(...r)=>{let i=0,o=e?t[i](...r):r[0];for(;++i<e;)o=t[i](o);return o}};function Cc(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Gue=[["\xDF","ss"],["\u1E9E","Ss"],["\xE4","ae"],["\xC4","Ae"],["\xF6","oe"],["\xD6","Oe"],["\xFC","ue"],["\xDC","Ue"],["\xC0","A"],["\xC1","A"],["\xC2","A"],["\xC3","A"],["\xC4","Ae"],["\xC5","A"],["\xC6","AE"],["\xC7","C"],["\xC8","E"],["\xC9","E"],["\xCA","E"],["\xCB","E"],["\xCC","I"],["\xCD","I"],["\xCE","I"],["\xCF","I"],["\xD0","D"],["\xD1","N"],["\xD2","O"],["\xD3","O"],["\xD4","O"],["\xD5","O"],["\xD6","Oe"],["\u0150","O"],["\xD8","O"],["\xD9","U"],["\xDA","U"],["\xDB","U"],["\xDC","Ue"],["\u0170","U"],["\xDD","Y"],["\xDE","TH"],["\xDF","ss"],["\xE0","a"],["\xE1","a"],["\xE2","a"],["\xE3","a"],["\xE4","ae"],["\xE5","a"],["\xE6","ae"],["\xE7","c"],["\xE8","e"],["\xE9","e"],["\xEA","e"],["\xEB","e"],["\xEC","i"],["\xED","i"],["\xEE","i"],["\xEF","i"],["\xF0","d"],["\xF1","n"],["\xF2","o"],["\xF3","o"],["\xF4","o"],["\xF5","o"],["\xF6","oe"],["\u0151","o"],["\xF8","o"],["\xF9","u"],["\xFA","u"],["\xFB","u"],["\xFC","ue"],["\u0171","u"],["\xFD","y"],["\xFE","th"],["\xFF","y"],["\u1E9E","SS"],["\xE0","a"],["\xC0","A"],["\xE1","a"],["\xC1","A"],["\xE2","a"],["\xC2","A"],["\xE3","a"],["\xC3","A"],["\xE8","e"],["\xC8","E"],["\xE9","e"],["\xC9","E"],["\xEA","e"],["\xCA","E"],["\xEC","i"],["\xCC","I"],["\xED","i"],["\xCD","I"],["\xF2","o"],["\xD2","O"],["\xF3","o"],["\xD3","O"],["\xF4","o"],["\xD4","O"],["\xF5","o"],["\xD5","O"],["\xF9","u"],["\xD9","U"],["\xFA","u"],["\xDA","U"],["\xFD","y"],["\xDD","Y"],["\u0103","a"],["\u0102","A"],["\u0110","D"],["\u0111","d"],["\u0129","i"],["\u0128","I"],["\u0169","u"],["\u0168","U"],["\u01A1","o"],["\u01A0","O"],["\u01B0","u"],["\u01AF","U"],["\u1EA1","a"],["\u1EA0","A"],["\u1EA3","a"],["\u1EA2","A"],["\u1EA5","a"],["\u1EA4","A"],["\u1EA7","a"],["\u1EA6","A"],["\u1EA9","a"],["\u1EA8","A"],["\u1EAB","a"],["\u1EAA","A"],["\u1EAD","a"],["\u1EAC","A"],["\u1EAF","a"],["\u1EAE","A"],["\u1EB1","a"],["\u1EB0","A"],["\u1EB3","a"],["\u1EB2","A"],["\u1EB5","a"],["\u1EB4","A"],["\u1EB7","a"],["\u1EB6","A"],["\u1EB9","e"],["\u1EB8","E"],["\u1EBB","e"],["\u1EBA","E"],["\u1EBD","e"],["\u1EBC","E"],["\u1EBF","e"],["\u1EBE","E"],["\u1EC1","e"],["\u1EC0","E"],["\u1EC3","e"],["\u1EC2","E"],["\u1EC5","e"],["\u1EC4","E"],["\u1EC7","e"],["\u1EC6","E"],["\u1EC9","i"],["\u1EC8","I"],["\u1ECB","i"],["\u1ECA","I"],["\u1ECD","o"],["\u1ECC","O"],["\u1ECF","o"],["\u1ECE","O"],["\u1ED1","o"],["\u1ED0","O"],["\u1ED3","o"],["\u1ED2","O"],["\u1ED5","o"],["\u1ED4","O"],["\u1ED7","o"],["\u1ED6","O"],["\u1ED9","o"],["\u1ED8","O"],["\u1EDB","o"],["\u1EDA","O"],["\u1EDD","o"],["\u1EDC","O"],["\u1EDF","o"],["\u1EDE","O"],["\u1EE1","o"],["\u1EE0","O"],["\u1EE3","o"],["\u1EE2","O"],["\u1EE5","u"],["\u1EE4","U"],["\u1EE7","u"],["\u1EE6","U"],["\u1EE9","u"],["\u1EE8","U"],["\u1EEB","u"],["\u1EEA","U"],["\u1EED","u"],["\u1EEC","U"],["\u1EEF","u"],["\u1EEE","U"],["\u1EF1","u"],["\u1EF0","U"],["\u1EF3","y"],["\u1EF2","Y"],["\u1EF5","y"],["\u1EF4","Y"],["\u1EF7","y"],["\u1EF6","Y"],["\u1EF9","y"],["\u1EF8","Y"],["\u0621","e"],["\u0622","a"],["\u0623","a"],["\u0624","w"],["\u0625","i"],["\u0626","y"],["\u0627","a"],["\u0628","b"],["\u0629","t"],["\u062A","t"],["\u062B","th"],["\u062C","j"],["\u062D","h"],["\u062E","kh"],["\u062F","d"],["\u0630","dh"],["\u0631","r"],["\u0632","z"],["\u0633","s"],["\u0634","sh"],["\u0635","s"],["\u0636","d"],["\u0637","t"],["\u0638","z"],["\u0639","e"],["\u063A","gh"],["\u0640","_"],["\u0641","f"],["\u0642","q"],["\u0643","k"],["\u0644","l"],["\u0645","m"],["\u0646","n"],["\u0647","h"],["\u0648","w"],["\u0649","a"],["\u064A","y"],["\u064E\u200E","a"],["\u064F","u"],["\u0650\u200E","i"],["\u0660","0"],["\u0661","1"],["\u0662","2"],["\u0663","3"],["\u0664","4"],["\u0665","5"],["\u0666","6"],["\u0667","7"],["\u0668","8"],["\u0669","9"],["\u0686","ch"],["\u06A9","k"],["\u06AF","g"],["\u067E","p"],["\u0698","zh"],["\u06CC","y"],["\u06F0","0"],["\u06F1","1"],["\u06F2","2"],["\u06F3","3"],["\u06F4","4"],["\u06F5","5"],["\u06F6","6"],["\u06F7","7"],["\u06F8","8"],["\u06F9","9"],["\u067C","p"],["\u0681","z"],["\u0685","c"],["\u0689","d"],["\uFEAB","d"],["\uFEAD","r"],["\u0693","r"],["\uFEAF","z"],["\u0696","g"],["\u069A","x"],["\u06AB","g"],["\u06BC","n"],["\u06C0","e"],["\u06D0","e"],["\u06CD","ai"],["\u0679","t"],["\u0688","d"],["\u0691","r"],["\u06BA","n"],["\u06C1","h"],["\u06BE","h"],["\u06D2","e"],["\u0410","A"],["\u0430","a"],["\u0411","B"],["\u0431","b"],["\u0412","V"],["\u0432","v"],["\u0413","G"],["\u0433","g"],["\u0414","D"],["\u0434","d"],["\u044A\u0435","ye"],["\u042A\u0435","Ye"],["\u044A\u0415","yE"],["\u042A\u0415","YE"],["\u0415","E"],["\u0435","e"],["\u0401","Yo"],["\u0451","yo"],["\u0416","Zh"],["\u0436","zh"],["\u0417","Z"],["\u0437","z"],["\u0418","I"],["\u0438","i"],["\u044B\u0439","iy"],["\u042B\u0439","Iy"],["\u042B\u0419","IY"],["\u044B\u0419","iY"],["\u0419","Y"],["\u0439","y"],["\u041A","K"],["\u043A","k"],["\u041B","L"],["\u043B","l"],["\u041C","M"],["\u043C","m"],["\u041D","N"],["\u043D","n"],["\u041E","O"],["\u043E","o"],["\u041F","P"],["\u043F","p"],["\u0420","R"],["\u0440","r"],["\u0421","S"],["\u0441","s"],["\u0422","T"],["\u0442","t"],["\u0423","U"],["\u0443","u"],["\u0424","F"],["\u0444","f"],["\u0425","Kh"],["\u0445","kh"],["\u0426","Ts"],["\u0446","ts"],["\u0427","Ch"],["\u0447","ch"],["\u0428","Sh"],["\u0448","sh"],["\u0429","Sch"],["\u0449","sch"],["\u042A",""],["\u044A",""],["\u042B","Y"],["\u044B","y"],["\u042C",""],["\u044C",""],["\u042D","E"],["\u044D","e"],["\u042E","Yu"],["\u044E","yu"],["\u042F","Ya"],["\u044F","ya"],["\u0103","a"],["\u0102","A"],["\u0219","s"],["\u0218","S"],["\u021B","t"],["\u021A","T"],["\u0163","t"],["\u0162","T"],["\u015F","s"],["\u015E","S"],["\xE7","c"],["\xC7","C"],["\u011F","g"],["\u011E","G"],["\u0131","i"],["\u0130","I"],["\u0561","a"],["\u0531","A"],["\u0562","b"],["\u0532","B"],["\u0563","g"],["\u0533","G"],["\u0564","d"],["\u0534","D"],["\u0565","ye"],["\u0535","Ye"],["\u0566","z"],["\u0536","Z"],["\u0567","e"],["\u0537","E"],["\u0568","y"],["\u0538","Y"],["\u0569","t"],["\u0539","T"],["\u056A","zh"],["\u053A","Zh"],["\u056B","i"],["\u053B","I"],["\u056C","l"],["\u053C","L"],["\u056D","kh"],["\u053D","Kh"],["\u056E","ts"],["\u053E","Ts"],["\u056F","k"],["\u053F","K"],["\u0570","h"],["\u0540","H"],["\u0571","dz"],["\u0541","Dz"],["\u0572","gh"],["\u0542","Gh"],["\u0573","tch"],["\u0543","Tch"],["\u0574","m"],["\u0544","M"],["\u0575","y"],["\u0545","Y"],["\u0576","n"],["\u0546","N"],["\u0577","sh"],["\u0547","Sh"],["\u0578","vo"],["\u0548","Vo"],["\u0579","ch"],["\u0549","Ch"],["\u057A","p"],["\u054A","P"],["\u057B","j"],["\u054B","J"],["\u057C","r"],["\u054C","R"],["\u057D","s"],["\u054D","S"],["\u057E","v"],["\u054E","V"],["\u057F","t"],["\u054F","T"],["\u0580","r"],["\u0550","R"],["\u0581","c"],["\u0551","C"],["\u0578\u0582","u"],["\u0548\u0552","U"],["\u0548\u0582","U"],["\u0583","p"],["\u0553","P"],["\u0584","q"],["\u0554","Q"],["\u0585","o"],["\u0555","O"],["\u0586","f"],["\u0556","F"],["\u0587","yev"],["\u10D0","a"],["\u10D1","b"],["\u10D2","g"],["\u10D3","d"],["\u10D4","e"],["\u10D5","v"],["\u10D6","z"],["\u10D7","t"],["\u10D8","i"],["\u10D9","k"],["\u10DA","l"],["\u10DB","m"],["\u10DC","n"],["\u10DD","o"],["\u10DE","p"],["\u10DF","zh"],["\u10E0","r"],["\u10E1","s"],["\u10E2","t"],["\u10E3","u"],["\u10E4","ph"],["\u10E5","q"],["\u10E6","gh"],["\u10E7","k"],["\u10E8","sh"],["\u10E9","ch"],["\u10EA","ts"],["\u10EB","dz"],["\u10EC","ts"],["\u10ED","tch"],["\u10EE","kh"],["\u10EF","j"],["\u10F0","h"],["\u010D","c"],["\u010F","d"],["\u011B","e"],["\u0148","n"],["\u0159","r"],["\u0161","s"],["\u0165","t"],["\u016F","u"],["\u017E","z"],["\u010C","C"],["\u010E","D"],["\u011A","E"],["\u0147","N"],["\u0158","R"],["\u0160","S"],["\u0164","T"],["\u016E","U"],["\u017D","Z"],["\u0780","h"],["\u0781","sh"],["\u0782","n"],["\u0783","r"],["\u0784","b"],["\u0785","lh"],["\u0786","k"],["\u0787","a"],["\u0788","v"],["\u0789","m"],["\u078A","f"],["\u078B","dh"],["\u078C","th"],["\u078D","l"],["\u078E","g"],["\u078F","gn"],["\u0790","s"],["\u0791","d"],["\u0792","z"],["\u0793","t"],["\u0794","y"],["\u0795","p"],["\u0796","j"],["\u0797","ch"],["\u0798","tt"],["\u0799","hh"],["\u079A","kh"],["\u079B","th"],["\u079C","z"],["\u079D","sh"],["\u079E","s"],["\u079F","d"],["\u07A0","t"],["\u07A1","z"],["\u07A2","a"],["\u07A3","gh"],["\u07A4","q"],["\u07A5","w"],["\u07A6","a"],["\u07A7","aa"],["\u07A8","i"],["\u07A9","ee"],["\u07AA","u"],["\u07AB","oo"],["\u07AC","e"],["\u07AD","ey"],["\u07AE","o"],["\u07AF","oa"],["\u07B0",""],["\u03B1","a"],["\u03B2","v"],["\u03B3","g"],["\u03B4","d"],["\u03B5","e"],["\u03B6","z"],["\u03B7","i"],["\u03B8","th"],["\u03B9","i"],["\u03BA","k"],["\u03BB","l"],["\u03BC","m"],["\u03BD","n"],["\u03BE","ks"],["\u03BF","o"],["\u03C0","p"],["\u03C1","r"],["\u03C3","s"],["\u03C4","t"],["\u03C5","y"],["\u03C6","f"],["\u03C7","x"],["\u03C8","ps"],["\u03C9","o"],["\u03AC","a"],["\u03AD","e"],["\u03AF","i"],["\u03CC","o"],["\u03CD","y"],["\u03AE","i"],["\u03CE","o"],["\u03C2","s"],["\u03CA","i"],["\u03B0","y"],["\u03CB","y"],["\u0390","i"],["\u0391","A"],["\u0392","B"],["\u0393","G"],["\u0394","D"],["\u0395","E"],["\u0396","Z"],["\u0397","I"],["\u0398","TH"],["\u0399","I"],["\u039A","K"],["\u039B","L"],["\u039C","M"],["\u039D","N"],["\u039E","KS"],["\u039F","O"],["\u03A0","P"],["\u03A1","R"],["\u03A3","S"],["\u03A4","T"],["\u03A5","Y"],["\u03A6","F"],["\u03A7","X"],["\u03A8","PS"],["\u03A9","O"],["\u0386","A"],["\u0388","E"],["\u038A","I"],["\u038C","O"],["\u038E","Y"],["\u0389","I"],["\u038F","O"],["\u03AA","I"],["\u03AB","Y"],["\u0101","a"],["\u0113","e"],["\u0123","g"],["\u012B","i"],["\u0137","k"],["\u013C","l"],["\u0146","n"],["\u016B","u"],["\u0100","A"],["\u0112","E"],["\u0122","G"],["\u012A","I"],["\u0136","K"],["\u013B","L"],["\u0145","N"],["\u016A","U"],["\u010D","c"],["\u0161","s"],["\u017E","z"],["\u010C","C"],["\u0160","S"],["\u017D","Z"],["\u0105","a"],["\u010D","c"],["\u0119","e"],["\u0117","e"],["\u012F","i"],["\u0161","s"],["\u0173","u"],["\u016B","u"],["\u017E","z"],["\u0104","A"],["\u010C","C"],["\u0118","E"],["\u0116","E"],["\u012E","I"],["\u0160","S"],["\u0172","U"],["\u016A","U"],["\u040C","Kj"],["\u045C","kj"],["\u0409","Lj"],["\u0459","lj"],["\u040A","Nj"],["\u045A","nj"],["\u0422\u0441","Ts"],["\u0442\u0441","ts"],["\u0105","a"],["\u0107","c"],["\u0119","e"],["\u0142","l"],["\u0144","n"],["\u015B","s"],["\u017A","z"],["\u017C","z"],["\u0104","A"],["\u0106","C"],["\u0118","E"],["\u0141","L"],["\u0143","N"],["\u015A","S"],["\u0179","Z"],["\u017B","Z"],["\u0404","Ye"],["\u0406","I"],["\u0407","Yi"],["\u0490","G"],["\u0454","ye"],["\u0456","i"],["\u0457","yi"],["\u0491","g"],["\u0132","IJ"],["\u0133","ij"],["\xA2","c"],["\xA5","Y"],["\u07FF","b"],["\u09F3","t"],["\u0AF1","Bo"],["\u0E3F","B"],["\u20A0","CE"],["\u20A1","C"],["\u20A2","Cr"],["\u20A3","F"],["\u20A5","m"],["\u20A6","N"],["\u20A7","Pt"],["\u20A8","Rs"],["\u20A9","W"],["\u20AB","s"],["\u20AC","E"],["\u20AD","K"],["\u20AE","T"],["\u20AF","Dp"],["\u20B0","S"],["\u20B1","P"],["\u20B2","G"],["\u20B3","A"],["\u20B4","S"],["\u20B5","C"],["\u20B6","tt"],["\u20B7","S"],["\u20B8","T"],["\u20B9","R"],["\u20BA","L"],["\u20BD","P"],["\u20BF","B"],["\uFE69","$"],["\uFFE0","c"],["\uFFE5","Y"],["\uFFE6","W"],["\u{1D400}","A"],["\u{1D401}","B"],["\u{1D402}","C"],["\u{1D403}","D"],["\u{1D404}","E"],["\u{1D405}","F"],["\u{1D406}","G"],["\u{1D407}","H"],["\u{1D408}","I"],["\u{1D409}","J"],["\u{1D40A}","K"],["\u{1D40B}","L"],["\u{1D40C}","M"],["\u{1D40D}","N"],["\u{1D40E}","O"],["\u{1D40F}","P"],["\u{1D410}","Q"],["\u{1D411}","R"],["\u{1D412}","S"],["\u{1D413}","T"],["\u{1D414}","U"],["\u{1D415}","V"],["\u{1D416}","W"],["\u{1D417}","X"],["\u{1D418}","Y"],["\u{1D419}","Z"],["\u{1D41A}","a"],["\u{1D41B}","b"],["\u{1D41C}","c"],["\u{1D41D}","d"],["\u{1D41E}","e"],["\u{1D41F}","f"],["\u{1D420}","g"],["\u{1D421}","h"],["\u{1D422}","i"],["\u{1D423}","j"],["\u{1D424}","k"],["\u{1D425}","l"],["\u{1D426}","m"],["\u{1D427}","n"],["\u{1D428}","o"],["\u{1D429}","p"],["\u{1D42A}","q"],["\u{1D42B}","r"],["\u{1D42C}","s"],["\u{1D42D}","t"],["\u{1D42E}","u"],["\u{1D42F}","v"],["\u{1D430}","w"],["\u{1D431}","x"],["\u{1D432}","y"],["\u{1D433}","z"],["\u{1D434}","A"],["\u{1D435}","B"],["\u{1D436}","C"],["\u{1D437}","D"],["\u{1D438}","E"],["\u{1D439}","F"],["\u{1D43A}","G"],["\u{1D43B}","H"],["\u{1D43C}","I"],["\u{1D43D}","J"],["\u{1D43E}","K"],["\u{1D43F}","L"],["\u{1D440}","M"],["\u{1D441}","N"],["\u{1D442}","O"],["\u{1D443}","P"],["\u{1D444}","Q"],["\u{1D445}","R"],["\u{1D446}","S"],["\u{1D447}","T"],["\u{1D448}","U"],["\u{1D449}","V"],["\u{1D44A}","W"],["\u{1D44B}","X"],["\u{1D44C}","Y"],["\u{1D44D}","Z"],["\u{1D44E}","a"],["\u{1D44F}","b"],["\u{1D450}","c"],["\u{1D451}","d"],["\u{1D452}","e"],["\u{1D453}","f"],["\u{1D454}","g"],["\u{1D456}","i"],["\u{1D457}","j"],["\u{1D458}","k"],["\u{1D459}","l"],["\u{1D45A}","m"],["\u{1D45B}","n"],["\u{1D45C}","o"],["\u{1D45D}","p"],["\u{1D45E}","q"],["\u{1D45F}","r"],["\u{1D460}","s"],["\u{1D461}","t"],["\u{1D462}","u"],["\u{1D463}","v"],["\u{1D464}","w"],["\u{1D465}","x"],["\u{1D466}","y"],["\u{1D467}","z"],["\u{1D468}","A"],["\u{1D469}","B"],["\u{1D46A}","C"],["\u{1D46B}","D"],["\u{1D46C}","E"],["\u{1D46D}","F"],["\u{1D46E}","G"],["\u{1D46F}","H"],["\u{1D470}","I"],["\u{1D471}","J"],["\u{1D472}","K"],["\u{1D473}","L"],["\u{1D474}","M"],["\u{1D475}","N"],["\u{1D476}","O"],["\u{1D477}","P"],["\u{1D478}","Q"],["\u{1D479}","R"],["\u{1D47A}","S"],["\u{1D47B}","T"],["\u{1D47C}","U"],["\u{1D47D}","V"],["\u{1D47E}","W"],["\u{1D47F}","X"],["\u{1D480}","Y"],["\u{1D481}","Z"],["\u{1D482}","a"],["\u{1D483}","b"],["\u{1D484}","c"],["\u{1D485}","d"],["\u{1D486}","e"],["\u{1D487}","f"],["\u{1D488}","g"],["\u{1D489}","h"],["\u{1D48A}","i"],["\u{1D48B}","j"],["\u{1D48C}","k"],["\u{1D48D}","l"],["\u{1D48E}","m"],["\u{1D48F}","n"],["\u{1D490}","o"],["\u{1D491}","p"],["\u{1D492}","q"],["\u{1D493}","r"],["\u{1D494}","s"],["\u{1D495}","t"],["\u{1D496}","u"],["\u{1D497}","v"],["\u{1D498}","w"],["\u{1D499}","x"],["\u{1D49A}","y"],["\u{1D49B}","z"],["\u{1D49C}","A"],["\u{1D49E}","C"],["\u{1D49F}","D"],["\u{1D4A2}","g"],["\u{1D4A5}","J"],["\u{1D4A6}","K"],["\u{1D4A9}","N"],["\u{1D4AA}","O"],["\u{1D4AB}","P"],["\u{1D4AC}","Q"],["\u{1D4AE}","S"],["\u{1D4AF}","T"],["\u{1D4B0}","U"],["\u{1D4B1}","V"],["\u{1D4B2}","W"],["\u{1D4B3}","X"],["\u{1D4B4}","Y"],["\u{1D4B5}","Z"],["\u{1D4B6}","a"],["\u{1D4B7}","b"],["\u{1D4B8}","c"],["\u{1D4B9}","d"],["\u{1D4BB}","f"],["\u{1D4BD}","h"],["\u{1D4BE}","i"],["\u{1D4BF}","j"],["\u{1D4C0}","h"],["\u{1D4C1}","l"],["\u{1D4C2}","m"],["\u{1D4C3}","n"],["\u{1D4C5}","p"],["\u{1D4C6}","q"],["\u{1D4C7}","r"],["\u{1D4C8}","s"],["\u{1D4C9}","t"],["\u{1D4CA}","u"],["\u{1D4CB}","v"],["\u{1D4CC}","w"],["\u{1D4CD}","x"],["\u{1D4CE}","y"],["\u{1D4CF}","z"],["\u{1D4D0}","A"],["\u{1D4D1}","B"],["\u{1D4D2}","C"],["\u{1D4D3}","D"],["\u{1D4D4}","E"],["\u{1D4D5}","F"],["\u{1D4D6}","G"],["\u{1D4D7}","H"],["\u{1D4D8}","I"],["\u{1D4D9}","J"],["\u{1D4DA}","K"],["\u{1D4DB}","L"],["\u{1D4DC}","M"],["\u{1D4DD}","N"],["\u{1D4DE}","O"],["\u{1D4DF}","P"],["\u{1D4E0}","Q"],["\u{1D4E1}","R"],["\u{1D4E2}","S"],["\u{1D4E3}","T"],["\u{1D4E4}","U"],["\u{1D4E5}","V"],["\u{1D4E6}","W"],["\u{1D4E7}","X"],["\u{1D4E8}","Y"],["\u{1D4E9}","Z"],["\u{1D4EA}","a"],["\u{1D4EB}","b"],["\u{1D4EC}","c"],["\u{1D4ED}","d"],["\u{1D4EE}","e"],["\u{1D4EF}","f"],["\u{1D4F0}","g"],["\u{1D4F1}","h"],["\u{1D4F2}","i"],["\u{1D4F3}","j"],["\u{1D4F4}","k"],["\u{1D4F5}","l"],["\u{1D4F6}","m"],["\u{1D4F7}","n"],["\u{1D4F8}","o"],["\u{1D4F9}","p"],["\u{1D4FA}","q"],["\u{1D4FB}","r"],["\u{1D4FC}","s"],["\u{1D4FD}","t"],["\u{1D4FE}","u"],["\u{1D4FF}","v"],["\u{1D500}","w"],["\u{1D501}","x"],["\u{1D502}","y"],["\u{1D503}","z"],["\u{1D504}","A"],["\u{1D505}","B"],["\u{1D507}","D"],["\u{1D508}","E"],["\u{1D509}","F"],["\u{1D50A}","G"],["\u{1D50D}","J"],["\u{1D50E}","K"],["\u{1D50F}","L"],["\u{1D510}","M"],["\u{1D511}","N"],["\u{1D512}","O"],["\u{1D513}","P"],["\u{1D514}","Q"],["\u{1D516}","S"],["\u{1D517}","T"],["\u{1D518}","U"],["\u{1D519}","V"],["\u{1D51A}","W"],["\u{1D51B}","X"],["\u{1D51C}","Y"],["\u{1D51E}","a"],["\u{1D51F}","b"],["\u{1D520}","c"],["\u{1D521}","d"],["\u{1D522}","e"],["\u{1D523}","f"],["\u{1D524}","g"],["\u{1D525}","h"],["\u{1D526}","i"],["\u{1D527}","j"],["\u{1D528}","k"],["\u{1D529}","l"],["\u{1D52A}","m"],["\u{1D52B}","n"],["\u{1D52C}","o"],["\u{1D52D}","p"],["\u{1D52E}","q"],["\u{1D52F}","r"],["\u{1D530}","s"],["\u{1D531}","t"],["\u{1D532}","u"],["\u{1D533}","v"],["\u{1D534}","w"],["\u{1D535}","x"],["\u{1D536}","y"],["\u{1D537}","z"],["\u{1D538}","A"],["\u{1D539}","B"],["\u{1D53B}","D"],["\u{1D53C}","E"],["\u{1D53D}","F"],["\u{1D53E}","G"],["\u{1D540}","I"],["\u{1D541}","J"],["\u{1D542}","K"],["\u{1D543}","L"],["\u{1D544}","M"],["\u{1D546}","N"],["\u{1D54A}","S"],["\u{1D54B}","T"],["\u{1D54C}","U"],["\u{1D54D}","V"],["\u{1D54E}","W"],["\u{1D54F}","X"],["\u{1D550}","Y"],["\u{1D552}","a"],["\u{1D553}","b"],["\u{1D554}","c"],["\u{1D555}","d"],["\u{1D556}","e"],["\u{1D557}","f"],["\u{1D558}","g"],["\u{1D559}","h"],["\u{1D55A}","i"],["\u{1D55B}","j"],["\u{1D55C}","k"],["\u{1D55D}","l"],["\u{1D55E}","m"],["\u{1D55F}","n"],["\u{1D560}","o"],["\u{1D561}","p"],["\u{1D562}","q"],["\u{1D563}","r"],["\u{1D564}","s"],["\u{1D565}","t"],["\u{1D566}","u"],["\u{1D567}","v"],["\u{1D568}","w"],["\u{1D569}","x"],["\u{1D56A}","y"],["\u{1D56B}","z"],["\u{1D56C}","A"],["\u{1D56D}","B"],["\u{1D56E}","C"],["\u{1D56F}","D"],["\u{1D570}","E"],["\u{1D571}","F"],["\u{1D572}","G"],["\u{1D573}","H"],["\u{1D574}","I"],["\u{1D575}","J"],["\u{1D576}","K"],["\u{1D577}","L"],["\u{1D578}","M"],["\u{1D579}","N"],["\u{1D57A}","O"],["\u{1D57B}","P"],["\u{1D57C}","Q"],["\u{1D57D}","R"],["\u{1D57E}","S"],["\u{1D57F}","T"],["\u{1D580}","U"],["\u{1D581}","V"],["\u{1D582}","W"],["\u{1D583}","X"],["\u{1D584}","Y"],["\u{1D585}","Z"],["\u{1D586}","a"],["\u{1D587}","b"],["\u{1D588}","c"],["\u{1D589}","d"],["\u{1D58A}","e"],["\u{1D58B}","f"],["\u{1D58C}","g"],["\u{1D58D}","h"],["\u{1D58E}","i"],["\u{1D58F}","j"],["\u{1D590}","k"],["\u{1D591}","l"],["\u{1D592}","m"],["\u{1D593}","n"],["\u{1D594}","o"],["\u{1D595}","p"],["\u{1D596}","q"],["\u{1D597}","r"],["\u{1D598}","s"],["\u{1D599}","t"],["\u{1D59A}","u"],["\u{1D59B}","v"],["\u{1D59C}","w"],["\u{1D59D}","x"],["\u{1D59E}","y"],["\u{1D59F}","z"],["\u{1D5A0}","A"],["\u{1D5A1}","B"],["\u{1D5A2}","C"],["\u{1D5A3}","D"],["\u{1D5A4}","E"],["\u{1D5A5}","F"],["\u{1D5A6}","G"],["\u{1D5A7}","H"],["\u{1D5A8}","I"],["\u{1D5A9}","J"],["\u{1D5AA}","K"],["\u{1D5AB}","L"],["\u{1D5AC}","M"],["\u{1D5AD}","N"],["\u{1D5AE}","O"],["\u{1D5AF}","P"],["\u{1D5B0}","Q"],["\u{1D5B1}","R"],["\u{1D5B2}","S"],["\u{1D5B3}","T"],["\u{1D5B4}","U"],["\u{1D5B5}","V"],["\u{1D5B6}","W"],["\u{1D5B7}","X"],["\u{1D5B8}","Y"],["\u{1D5B9}","Z"],["\u{1D5BA}","a"],["\u{1D5BB}","b"],["\u{1D5BC}","c"],["\u{1D5BD}","d"],["\u{1D5BE}","e"],["\u{1D5BF}","f"],["\u{1D5C0}","g"],["\u{1D5C1}","h"],["\u{1D5C2}","i"],["\u{1D5C3}","j"],["\u{1D5C4}","k"],["\u{1D5C5}","l"],["\u{1D5C6}","m"],["\u{1D5C7}","n"],["\u{1D5C8}","o"],["\u{1D5C9}","p"],["\u{1D5CA}","q"],["\u{1D5CB}","r"],["\u{1D5CC}","s"],["\u{1D5CD}","t"],["\u{1D5CE}","u"],["\u{1D5CF}","v"],["\u{1D5D0}","w"],["\u{1D5D1}","x"],["\u{1D5D2}","y"],["\u{1D5D3}","z"],["\u{1D5D4}","A"],["\u{1D5D5}","B"],["\u{1D5D6}","C"],["\u{1D5D7}","D"],["\u{1D5D8}","E"],["\u{1D5D9}","F"],["\u{1D5DA}","G"],["\u{1D5DB}","H"],["\u{1D5DC}","I"],["\u{1D5DD}","J"],["\u{1D5DE}","K"],["\u{1D5DF}","L"],["\u{1D5E0}","M"],["\u{1D5E1}","N"],["\u{1D5E2}","O"],["\u{1D5E3}","P"],["\u{1D5E4}","Q"],["\u{1D5E5}","R"],["\u{1D5E6}","S"],["\u{1D5E7}","T"],["\u{1D5E8}","U"],["\u{1D5E9}","V"],["\u{1D5EA}","W"],["\u{1D5EB}","X"],["\u{1D5EC}","Y"],["\u{1D5ED}","Z"],["\u{1D5EE}","a"],["\u{1D5EF}","b"],["\u{1D5F0}","c"],["\u{1D5F1}","d"],["\u{1D5F2}","e"],["\u{1D5F3}","f"],["\u{1D5F4}","g"],["\u{1D5F5}","h"],["\u{1D5F6}","i"],["\u{1D5F7}","j"],["\u{1D5F8}","k"],["\u{1D5F9}","l"],["\u{1D5FA}","m"],["\u{1D5FB}","n"],["\u{1D5FC}","o"],["\u{1D5FD}","p"],["\u{1D5FE}","q"],["\u{1D5FF}","r"],["\u{1D600}","s"],["\u{1D601}","t"],["\u{1D602}","u"],["\u{1D603}","v"],["\u{1D604}","w"],["\u{1D605}","x"],["\u{1D606}","y"],["\u{1D607}","z"],["\u{1D608}","A"],["\u{1D609}","B"],["\u{1D60A}","C"],["\u{1D60B}","D"],["\u{1D60C}","E"],["\u{1D60D}","F"],["\u{1D60E}","G"],["\u{1D60F}","H"],["\u{1D610}","I"],["\u{1D611}","J"],["\u{1D612}","K"],["\u{1D613}","L"],["\u{1D614}","M"],["\u{1D615}","N"],["\u{1D616}","O"],["\u{1D617}","P"],["\u{1D618}","Q"],["\u{1D619}","R"],["\u{1D61A}","S"],["\u{1D61B}","T"],["\u{1D61C}","U"],["\u{1D61D}","V"],["\u{1D61E}","W"],["\u{1D61F}","X"],["\u{1D620}","Y"],["\u{1D621}","Z"],["\u{1D622}","a"],["\u{1D623}","b"],["\u{1D624}","c"],["\u{1D625}","d"],["\u{1D626}","e"],["\u{1D627}","f"],["\u{1D628}","g"],["\u{1D629}","h"],["\u{1D62A}","i"],["\u{1D62B}","j"],["\u{1D62C}","k"],["\u{1D62D}","l"],["\u{1D62E}","m"],["\u{1D62F}","n"],["\u{1D630}","o"],["\u{1D631}","p"],["\u{1D632}","q"],["\u{1D633}","r"],["\u{1D634}","s"],["\u{1D635}","t"],["\u{1D636}","u"],["\u{1D637}","v"],["\u{1D638}","w"],["\u{1D639}","x"],["\u{1D63A}","y"],["\u{1D63B}","z"],["\u{1D63C}","A"],["\u{1D63D}","B"],["\u{1D63E}","C"],["\u{1D63F}","D"],["\u{1D640}","E"],["\u{1D641}","F"],["\u{1D642}","G"],["\u{1D643}","H"],["\u{1D644}","I"],["\u{1D645}","J"],["\u{1D646}","K"],["\u{1D647}","L"],["\u{1D648}","M"],["\u{1D649}","N"],["\u{1D64A}","O"],["\u{1D64B}","P"],["\u{1D64C}","Q"],["\u{1D64D}","R"],["\u{1D64E}","S"],["\u{1D64F}","T"],["\u{1D650}","U"],["\u{1D651}","V"],["\u{1D652}","W"],["\u{1D653}","X"],["\u{1D654}","Y"],["\u{1D655}","Z"],["\u{1D656}","a"],["\u{1D657}","b"],["\u{1D658}","c"],["\u{1D659}","d"],["\u{1D65A}","e"],["\u{1D65B}","f"],["\u{1D65C}","g"],["\u{1D65D}","h"],["\u{1D65E}","i"],["\u{1D65F}","j"],["\u{1D660}","k"],["\u{1D661}","l"],["\u{1D662}","m"],["\u{1D663}","n"],["\u{1D664}","o"],["\u{1D665}","p"],["\u{1D666}","q"],["\u{1D667}","r"],["\u{1D668}","s"],["\u{1D669}","t"],["\u{1D66A}","u"],["\u{1D66B}","v"],["\u{1D66C}","w"],["\u{1D66D}","x"],["\u{1D66E}","y"],["\u{1D66F}","z"],["\u{1D670}","A"],["\u{1D671}","B"],["\u{1D672}","C"],["\u{1D673}","D"],["\u{1D674}","E"],["\u{1D675}","F"],["\u{1D676}","G"],["\u{1D677}","H"],["\u{1D678}","I"],["\u{1D679}","J"],["\u{1D67A}","K"],["\u{1D67B}","L"],["\u{1D67C}","M"],["\u{1D67D}","N"],["\u{1D67E}","O"],["\u{1D67F}","P"],["\u{1D680}","Q"],["\u{1D681}","R"],["\u{1D682}","S"],["\u{1D683}","T"],["\u{1D684}","U"],["\u{1D685}","V"],["\u{1D686}","W"],["\u{1D687}","X"],["\u{1D688}","Y"],["\u{1D689}","Z"],["\u{1D68A}","a"],["\u{1D68B}","b"],["\u{1D68C}","c"],["\u{1D68D}","d"],["\u{1D68E}","e"],["\u{1D68F}","f"],["\u{1D690}","g"],["\u{1D691}","h"],["\u{1D692}","i"],["\u{1D693}","j"],["\u{1D694}","k"],["\u{1D695}","l"],["\u{1D696}","m"],["\u{1D697}","n"],["\u{1D698}","o"],["\u{1D699}","p"],["\u{1D69A}","q"],["\u{1D69B}","r"],["\u{1D69C}","s"],["\u{1D69D}","t"],["\u{1D69E}","u"],["\u{1D69F}","v"],["\u{1D6A0}","w"],["\u{1D6A1}","x"],["\u{1D6A2}","y"],["\u{1D6A3}","z"],["\u{1D6A4}","l"],["\u{1D6A5}","j"],["\u{1D6E2}","A"],["\u{1D6E3}","B"],["\u{1D6E4}","G"],["\u{1D6E5}","D"],["\u{1D6E6}","E"],["\u{1D6E7}","Z"],["\u{1D6E8}","I"],["\u{1D6E9}","TH"],["\u{1D6EA}","I"],["\u{1D6EB}","K"],["\u{1D6EC}","L"],["\u{1D6ED}","M"],["\u{1D6EE}","N"],["\u{1D6EF}","KS"],["\u{1D6F0}","O"],["\u{1D6F1}","P"],["\u{1D6F2}","R"],["\u{1D6F3}","TH"],["\u{1D6F4}","S"],["\u{1D6F5}","T"],["\u{1D6F6}","Y"],["\u{1D6F7}","F"],["\u{1D6F8}","x"],["\u{1D6F9}","PS"],["\u{1D6FA}","O"],["\u{1D6FB}","D"],["\u{1D6FC}","a"],["\u{1D6FD}","b"],["\u{1D6FE}","g"],["\u{1D6FF}","d"],["\u{1D700}","e"],["\u{1D701}","z"],["\u{1D702}","i"],["\u{1D703}","th"],["\u{1D704}","i"],["\u{1D705}","k"],["\u{1D706}","l"],["\u{1D707}","m"],["\u{1D708}","n"],["\u{1D709}","ks"],["\u{1D70A}","o"],["\u{1D70B}","p"],["\u{1D70C}","r"],["\u{1D70D}","s"],["\u{1D70E}","s"],["\u{1D70F}","t"],["\u{1D710}","y"],["\u{1D711}","f"],["\u{1D712}","x"],["\u{1D713}","ps"],["\u{1D714}","o"],["\u{1D715}","d"],["\u{1D716}","E"],["\u{1D717}","TH"],["\u{1D718}","K"],["\u{1D719}","f"],["\u{1D71A}","r"],["\u{1D71B}","p"],["\u{1D71C}","A"],["\u{1D71D}","V"],["\u{1D71E}","G"],["\u{1D71F}","D"],["\u{1D720}","E"],["\u{1D721}","Z"],["\u{1D722}","I"],["\u{1D723}","TH"],["\u{1D724}","I"],["\u{1D725}","K"],["\u{1D726}","L"],["\u{1D727}","M"],["\u{1D728}","N"],["\u{1D729}","KS"],["\u{1D72A}","O"],["\u{1D72B}","P"],["\u{1D72C}","S"],["\u{1D72D}","TH"],["\u{1D72E}","S"],["\u{1D72F}","T"],["\u{1D730}","Y"],["\u{1D731}","F"],["\u{1D732}","X"],["\u{1D733}","PS"],["\u{1D734}","O"],["\u{1D735}","D"],["\u{1D736}","a"],["\u{1D737}","v"],["\u{1D738}","g"],["\u{1D739}","d"],["\u{1D73A}","e"],["\u{1D73B}","z"],["\u{1D73C}","i"],["\u{1D73D}","th"],["\u{1D73E}","i"],["\u{1D73F}","k"],["\u{1D740}","l"],["\u{1D741}","m"],["\u{1D742}","n"],["\u{1D743}","ks"],["\u{1D744}","o"],["\u{1D745}","p"],["\u{1D746}","r"],["\u{1D747}","s"],["\u{1D748}","s"],["\u{1D749}","t"],["\u{1D74A}","y"],["\u{1D74B}","f"],["\u{1D74C}","x"],["\u{1D74D}","ps"],["\u{1D74E}","o"],["\u{1D74F}","a"],["\u{1D750}","e"],["\u{1D751}","i"],["\u{1D752}","k"],["\u{1D753}","f"],["\u{1D754}","r"],["\u{1D755}","p"],["\u{1D756}","A"],["\u{1D757}","B"],["\u{1D758}","G"],["\u{1D759}","D"],["\u{1D75A}","E"],["\u{1D75B}","Z"],["\u{1D75C}","I"],["\u{1D75D}","TH"],["\u{1D75E}","I"],["\u{1D75F}","K"],["\u{1D760}","L"],["\u{1D761}","M"],["\u{1D762}","N"],["\u{1D763}","KS"],["\u{1D764}","O"],["\u{1D765}","P"],["\u{1D766}","R"],["\u{1D767}","TH"],["\u{1D768}","S"],["\u{1D769}","T"],["\u{1D76A}","Y"],["\u{1D76B}","F"],["\u{1D76C}","X"],["\u{1D76D}","PS"],["\u{1D76E}","O"],["\u{1D76F}","D"],["\u{1D770}","a"],["\u{1D771}","v"],["\u{1D772}","g"],["\u{1D773}","d"],["\u{1D774}","e"],["\u{1D775}","z"],["\u{1D776}","i"],["\u{1D777}","th"],["\u{1D778}","i"],["\u{1D779}","k"],["\u{1D77A}","l"],["\u{1D77B}","m"],["\u{1D77C}","n"],["\u{1D77D}","ks"],["\u{1D77E}","o"],["\u{1D77F}","p"],["\u{1D780}","r"],["\u{1D781}","s"],["\u{1D782}","s"],["\u{1D783}","t"],["\u{1D784}","y"],["\u{1D785}","f"],["\u{1D786}","x"],["\u{1D787}","ps"],["\u{1D788}","o"],["\u{1D789}","a"],["\u{1D78A}","e"],["\u{1D78B}","i"],["\u{1D78C}","k"],["\u{1D78D}","f"],["\u{1D78E}","r"],["\u{1D78F}","p"],["\u{1D790}","A"],["\u{1D791}","V"],["\u{1D792}","G"],["\u{1D793}","D"],["\u{1D794}","E"],["\u{1D795}","Z"],["\u{1D796}","I"],["\u{1D797}","TH"],["\u{1D798}","I"],["\u{1D799}","K"],["\u{1D79A}","L"],["\u{1D79B}","M"],["\u{1D79C}","N"],["\u{1D79D}","KS"],["\u{1D79E}","O"],["\u{1D79F}","P"],["\u{1D7A0}","S"],["\u{1D7A1}","TH"],["\u{1D7A2}","S"],["\u{1D7A3}","T"],["\u{1D7A4}","Y"],["\u{1D7A5}","F"],["\u{1D7A6}","X"],["\u{1D7A7}","PS"],["\u{1D7A8}","O"],["\u{1D7A9}","D"],["\u{1D7AA}","av"],["\u{1D7AB}","g"],["\u{1D7AC}","d"],["\u{1D7AD}","e"],["\u{1D7AE}","z"],["\u{1D7AF}","i"],["\u{1D7B0}","i"],["\u{1D7B1}","th"],["\u{1D7B2}","i"],["\u{1D7B3}","k"],["\u{1D7B4}","l"],["\u{1D7B5}","m"],["\u{1D7B6}","n"],["\u{1D7B7}","ks"],["\u{1D7B8}","o"],["\u{1D7B9}","p"],["\u{1D7BA}","r"],["\u{1D7BB}","s"],["\u{1D7BC}","s"],["\u{1D7BD}","t"],["\u{1D7BE}","y"],["\u{1D7BF}","f"],["\u{1D7C0}","x"],["\u{1D7C1}","ps"],["\u{1D7C2}","o"],["\u{1D7C3}","a"],["\u{1D7C4}","e"],["\u{1D7C5}","i"],["\u{1D7C6}","k"],["\u{1D7C7}","f"],["\u{1D7C8}","r"],["\u{1D7C9}","p"],["\u{1D7CA}","F"],["\u{1D7CB}","f"],["\u249C","(a)"],["\u249D","(b)"],["\u249E","(c)"],["\u249F","(d)"],["\u24A0","(e)"],["\u24A1","(f)"],["\u24A2","(g)"],["\u24A3","(h)"],["\u24A4","(i)"],["\u24A5","(j)"],["\u24A6","(k)"],["\u24A7","(l)"],["\u24A8","(m)"],["\u24A9","(n)"],["\u24AA","(o)"],["\u24AB","(p)"],["\u24AC","(q)"],["\u24AD","(r)"],["\u24AE","(s)"],["\u24AF","(t)"],["\u24B0","(u)"],["\u24B1","(v)"],["\u24B2","(w)"],["\u24B3","(x)"],["\u24B4","(y)"],["\u24B5","(z)"],["\u24B6","(A)"],["\u24B7","(B)"],["\u24B8","(C)"],["\u24B9","(D)"],["\u24BA","(E)"],["\u24BB","(F)"],["\u24BC","(G)"],["\u24BD","(H)"],["\u24BE","(I)"],["\u24BF","(J)"],["\u24C0","(K)"],["\u24C1","(L)"],["\u24C3","(N)"],["\u24C4","(O)"],["\u24C5","(P)"],["\u24C6","(Q)"],["\u24C7","(R)"],["\u24C8","(S)"],["\u24C9","(T)"],["\u24CA","(U)"],["\u24CB","(V)"],["\u24CC","(W)"],["\u24CD","(X)"],["\u24CE","(Y)"],["\u24CF","(Z)"],["\u24D0","(a)"],["\u24D1","(b)"],["\u24D2","(b)"],["\u24D3","(c)"],["\u24D4","(e)"],["\u24D5","(f)"],["\u24D6","(g)"],["\u24D7","(h)"],["\u24D8","(i)"],["\u24D9","(j)"],["\u24DA","(k)"],["\u24DB","(l)"],["\u24DC","(m)"],["\u24DD","(n)"],["\u24DE","(o)"],["\u24DF","(p)"],["\u24E0","(q)"],["\u24E1","(r)"],["\u24E2","(s)"],["\u24E3","(t)"],["\u24E4","(u)"],["\u24E5","(v)"],["\u24E6","(w)"],["\u24E7","(x)"],["\u24E8","(y)"],["\u24E9","(z)"],["\u010A","C"],["\u010B","c"],["\u0120","G"],["\u0121","g"],["\u0126","H"],["\u0127","h"],["\u017B","Z"],["\u017C","z"],["\u{1D7CE}","0"],["\u{1D7CF}","1"],["\u{1D7D0}","2"],["\u{1D7D1}","3"],["\u{1D7D2}","4"],["\u{1D7D3}","5"],["\u{1D7D4}","6"],["\u{1D7D5}","7"],["\u{1D7D6}","8"],["\u{1D7D7}","9"],["\u{1D7D8}","0"],["\u{1D7D9}","1"],["\u{1D7DA}","2"],["\u{1D7DB}","3"],["\u{1D7DC}","4"],["\u{1D7DD}","5"],["\u{1D7DE}","6"],["\u{1D7DF}","7"],["\u{1D7E0}","8"],["\u{1D7E1}","9"],["\u{1D7E2}","0"],["\u{1D7E3}","1"],["\u{1D7E4}","2"],["\u{1D7E5}","3"],["\u{1D7E6}","4"],["\u{1D7E7}","5"],["\u{1D7E8}","6"],["\u{1D7E9}","7"],["\u{1D7EA}","8"],["\u{1D7EB}","9"],["\u{1D7EC}","0"],["\u{1D7ED}","1"],["\u{1D7EE}","2"],["\u{1D7EF}","3"],["\u{1D7F0}","4"],["\u{1D7F1}","5"],["\u{1D7F2}","6"],["\u{1D7F3}","7"],["\u{1D7F4}","8"],["\u{1D7F5}","9"],["\u{1D7F6}","0"],["\u{1D7F7}","1"],["\u{1D7F8}","2"],["\u{1D7F9}","3"],["\u{1D7FA}","4"],["\u{1D7FB}","5"],["\u{1D7FC}","6"],["\u{1D7FD}","7"],["\u{1D7FE}","8"],["\u{1D7FF}","9"],["\u2460","1"],["\u2461","2"],["\u2462","3"],["\u2463","4"],["\u2464","5"],["\u2465","6"],["\u2466","7"],["\u2467","8"],["\u2468","9"],["\u2469","10"],["\u246A","11"],["\u246B","12"],["\u246C","13"],["\u246D","14"],["\u246E","15"],["\u246F","16"],["\u2470","17"],["\u2471","18"],["\u2472","19"],["\u2473","20"],["\u2474","1"],["\u2475","2"],["\u2476","3"],["\u2477","4"],["\u2478","5"],["\u2479","6"],["\u247A","7"],["\u247B","8"],["\u247C","9"],["\u247D","10"],["\u247E","11"],["\u247F","12"],["\u2480","13"],["\u2481","14"],["\u2482","15"],["\u2483","16"],["\u2484","17"],["\u2485","18"],["\u2486","19"],["\u2487","20"],["\u2488","1."],["\u2489","2."],["\u248A","3."],["\u248B","4."],["\u248C","5."],["\u248D","6."],["\u248E","7."],["\u248F","8."],["\u2490","9."],["\u2491","10."],["\u2492","11."],["\u2493","12."],["\u2494","13."],["\u2495","14."],["\u2496","15."],["\u2497","16."],["\u2498","17."],["\u2499","18."],["\u249A","19."],["\u249B","20."],["\u24EA","0"],["\u24EB","11"],["\u24EC","12"],["\u24ED","13"],["\u24EE","14"],["\u24EF","15"],["\u24F0","16"],["\u24F1","17"],["\u24F2","18"],["\u24F3","19"],["\u24F4","20"],["\u24F5","1"],["\u24F6","2"],["\u24F7","3"],["\u24F8","4"],["\u24F9","5"],["\u24FA","6"],["\u24FB","7"],["\u24FC","8"],["\u24FD","9"],["\u24FE","10"],["\u24FF","0"],["\u{1F670}","&"],["\u{1F671}","&"],["\u{1F672}","&"],["\u{1F673}","&"],["\u{1F674}","&"],["\u{1F675}","&"],["\u{1F676}",'"'],["\u{1F677}",'"'],["\u{1F678}",'"'],["\u203D","?!"],["\u{1F679}","?!"],["\u{1F67A}","?!"],["\u{1F67B}","?!"],["\u{1F67C}","/"],["\u{1F67D}","\\"],["\u{1F707}","AR"],["\u{1F708}","V"],["\u{1F709}","V"],["\u{1F706}","VR"],["\u{1F705}","VF"],["\u{1F729}","2"],["\u{1F72A}","5"],["\u{1F761}","f"],["\u{1F762}","W"],["\u{1F763}","U"],["\u{1F767}","V"],["\u{1F768}","T"],["\u{1F76A}","V"],["\u{1F76B}","MB"],["\u{1F76C}","VB"],["\u{1F772}","3B"],["\u{1F773}","3B"],["\u{1F4AF}","100"],["\u{1F519}","BACK"],["\u{1F51A}","END"],["\u{1F51B}","ON!"],["\u{1F51C}","SOON"],["\u{1F51D}","TOP"],["\u{1F51E}","18"],["\u{1F524}","abc"],["\u{1F520}","ABCD"],["\u{1F521}","abcd"],["\u{1F522}","1234"],["\u{1F523}","T&@%"],["#\uFE0F\u20E3","#"],["*\uFE0F\u20E3","*"],["0\uFE0F\u20E3","0"],["1\uFE0F\u20E3","1"],["2\uFE0F\u20E3","2"],["3\uFE0F\u20E3","3"],["4\uFE0F\u20E3","4"],["5\uFE0F\u20E3","5"],["6\uFE0F\u20E3","6"],["7\uFE0F\u20E3","7"],["8\uFE0F\u20E3","8"],["9\uFE0F\u20E3","9"],["\u{1F51F}","10"],["\u{1F170}\uFE0F","A"],["\u{1F171}\uFE0F","B"],["\u{1F18E}","AB"],["\u{1F191}","CL"],["\u{1F17E}\uFE0F","O"],["\u{1F17F}","P"],["\u{1F198}","SOS"],["\u{1F172}","C"],["\u{1F173}","D"],["\u{1F174}","E"],["\u{1F175}","F"],["\u{1F176}","G"],["\u{1F177}","H"],["\u{1F178}","I"],["\u{1F179}","J"],["\u{1F17A}","K"],["\u{1F17B}","L"],["\u{1F17C}","M"],["\u{1F17D}","N"],["\u{1F180}","Q"],["\u{1F181}","R"],["\u{1F182}","S"],["\u{1F183}","T"],["\u{1F184}","U"],["\u{1F185}","V"],["\u{1F186}","W"],["\u{1F187}","X"],["\u{1F188}","Y"],["\u{1F189}","Z"]],DB=Gue;var Yue=(t,e)=>{for(let[n,r]of e)t=t.replace(new RegExp(Cc(n),"g"),r);return t};function GT(t,e){if(typeof t!="string")throw new TypeError(`Expected a string, got \`${typeof t}\``);e=D({customReplacements:[]},e);let n=new Map([...DB,...e.customReplacements]);return t=t.normalize(),t=Yue(t,n),t=t.normalize("NFD").replace(new RegExp("\\p{Diacritic}","gu"),"").normalize(),t}var Kue=[["&"," and "],["\u{1F984}"," unicorn "],["\u2665"," love "]],SB=Kue;var Zue=t=>t.replace(/([A-Z]{2,})(\d+)/g,"$1 $2").replace(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),Xue=(t,e)=>{let n=Cc(e);return t.replace(new RegExp(`${n}{2,}`,"g"),e).replace(new RegExp(`^${n}|${n}$`,"g"),"")},Que=t=>{let e="a-z\\d";if(e+=t.lowercase?"":"A-Z",t.preserveCharacters.length>0)for(let n of t.preserveCharacters){if(n===t.separator)throw new Error(`The separator character \`${t.separator}\` cannot be included in preserved characters: ${t.preserveCharacters}`);e+=Cc(n)}return new RegExp(`[^${e}]+`,"g")};function YT(t,e){if(typeof t!="string")throw new TypeError(`Expected a string, got \`${typeof t}\``);e=D({separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[]},e);let n=e.preserveLeadingUnderscore&&t.startsWith("_"),r=e.preserveTrailingDash&&t.endsWith("-"),i=new Map([...SB,...e.customReplacements]);t=GT(t,{customReplacements:i}),e.decamelize&&(t=Zue(t));let o=Que(e);return e.lowercase&&(t=t.toLowerCase()),t=t.replace(/([a-zA-Z\d]+)'([ts])(\s|$)/g,"$1$2$3"),t=t.replace(o,e.separator),t=t.replace(/\\/g,""),e.separator&&(t=Xue(t,e.separator)),n&&(t=`_${t}`),r&&(t=`${t}-`),t}function EB(t,e){return function(n,r){let{$from:i,$to:o,node:a}=n.selection;if(a&&a.isBlock||i.depth<2||!i.sameParent(o))return!1;let s=i.node(-1);if(s.type!=t)return!1;if(i.parent.content.size==0&&i.node(-1).childCount==i.indexAfter(-1)){if(i.depth==3||i.node(-3).type!=t||i.index(-2)!=i.node(-2).childCount-1)return!1;if(r){let u=Z.empty,f=i.index(-1)?1:i.index(-2)?2:3;for(let _=i.depth-f;_>=i.depth-3;_--)u=Z.from(i.node(_).copy(u));let p=i.indexAfter(-1)<i.node(-2).childCount?1:i.indexAfter(-2)<i.node(-3).childCount?2:3;u=u.append(Z.from(t.createAndFill()));let h=i.before(i.depth-(f-1)),g=n.tr.replace(h,i.after(-p),new ce(u,4-f,0)),b=-1;g.doc.nodesBetween(h,g.doc.content.size,(_,x)=>{if(b>-1)return!1;_.isTextblock&&_.content.size==0&&(b=x+1)}),b>-1&&g.setSelection(Ne.near(g.doc.resolve(b))),r(g.scrollIntoView())}return!0}let l=o.pos==i.end()?s.contentMatchAt(0).defaultType:null,c=n.tr.delete(i.pos,o.pos),d=l?[e?{type:t,attrs:e}:null,{type:l}]:void 0;return nu(c.doc,i.pos,2,d)?(r&&r(c.split(i.pos,2,d).scrollIntoView()),!0):!1}}function KT(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,a=>a.childCount>0&&a.firstChild.type==t);return o?n?r.node(o.depth-1).type==t?Jue(e,n,t,o):efe(e,n,o):!0:!1}}function Jue(t,e,n,r){let i=t.tr,o=r.end,a=r.$to.end(r.depth);o<a&&(i.step(new Nr(o-1,a,o,a,new ce(Z.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new Jg(i.doc.resolve(r.$from.pos),i.doc.resolve(a),r.depth));let s=Vp(r);if(s==null)return!1;i.lift(r,s);let l=i.mapping.map(o,-1)-1;return ru(i.doc,l)&&i.join(l),e(i.scrollIntoView()),!0}function efe(t,e,n){let r=t.tr,i=n.parent;for(let p=n.end,h=n.endIndex-1,g=n.startIndex;h>g;h--)p-=i.child(h).nodeSize,r.delete(p-1,p+1);let o=r.doc.resolve(n.start),a=o.nodeAfter;if(r.mapping.map(n.end)!=n.start+o.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,l=n.endIndex==i.childCount,c=o.node(-1),d=o.index(-1);if(!c.canReplace(d+(s?0:1),d+1,a.content.append(l?Z.empty:Z.from(i))))return!1;let u=o.pos,f=u+a.nodeSize;return r.step(new Nr(u-(s?1:0),f+(l?1:0),u+1,f-1,new ce((s?Z.empty:Z.from(i.copy(Z.empty))).append(l?Z.empty:Z.from(i.copy(Z.empty))),s?0:1,l?0:1),s?0:1)),e(r.scrollIntoView()),!0}function MB(t){return function(e,n){let{$from:r,$to:i}=e.selection,o=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==t);if(!o)return!1;let a=o.startIndex;if(a==0)return!1;let s=o.parent,l=s.child(a-1);if(l.type!=t)return!1;if(n){let c=l.lastChild&&l.lastChild.type==s.type,d=Z.from(c?t.create():null),u=new ce(Z.from(t.create(null,Z.from(s.type.create(null,d)))),c?3:1,0),f=o.start,p=o.end;n(e.tr.step(new Nr(f-(c?3:1),p,f,p,u,1,!0)).scrollIntoView())}return!0}}function ZT(t){let e=new Map;if(!t||!t.type)throw new Error("mdast-util-definitions expected node");return oo(t,"definition",function(r){let i=TB(r.identifier);i&&!e.get(i)&&e.set(i,r)}),n;function n(r){let i=TB(r);return e.get(i)}}function TB(t){return String(t||"").toUpperCase()}function xk(){return function(t){let e=ZT(t);oo(t,function(n,r,i){if(n.type==="definition"&&i!==void 0&&typeof r=="number")return i.children.splice(r,1),[Xd,r];if(n.type==="imageReference"||n.type==="linkReference"){let o=e(n.identifier);if(o&&i&&typeof r=="number")return i.children[r]=n.type==="imageReference"?{type:"image",url:o.url,title:o.title,alt:n.alt}:{type:"link",url:o.url,title:o.title,children:n.children},[Xd,r]}})}}function AB(t,e){var n;if(!(e.childCount>=1&&((n=e.lastChild)==null?void 0:n.type.name)==="hardbreak")){t.next(e.content);return}let r=[];e.content.forEach((i,o,a)=>{a!==e.childCount-1&&r.push(i)}),t.next(Z.fromArray(r))}function K(t,e){return Object.assign(t,{meta:D({package:"@milkdown/preset-commonmark"},e)}),t}var n3=ku("emphasis");K(n3,{displayName:"Attr<emphasis>",group:"Emphasis"});var Ck=vu("emphasis",t=>({attrs:{marker:{default:t.get(nh).emphasis||"*"}},parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style",getAttrs:e=>e==="italic"}],toDOM:e=>["em",t.get(n3.key)(e)],parseMarkdown:{match:e=>e.type==="emphasis",runner:(e,n,r)=>{e.openMark(r,{marker:n.marker}),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="emphasis",runner:(e,n)=>{e.withMark(n,"emphasis",void 0,{marker:n.attrs.marker})}}}));K(Ck.mark,{displayName:"MarkSchema<emphasis>",group:"Emphasis"});K(Ck.ctx,{displayName:"MarkSchemaCtx<emphasis>",group:"Emphasis"});var Du=ut("ToggleEmphasis",t=>()=>Xp(Ck.type(t)));K(Du,{displayName:"Command<toggleEmphasisCommand>",group:"Emphasis"});var r3=zr("emphasisKeymap",{ToggleEmphasis:{shortcuts:"Mod-i",command:t=>{let e=t.get(it);return()=>e.call(Du.key)}}});K(r3.ctx,{displayName:"KeymapCtx<emphasis>",group:"Emphasis"});K(r3.shortcuts,{displayName:"Keymap<emphasis>",group:"Emphasis"});var i3=ku("strong");K(i3,{displayName:"Attr<strong>",group:"Strong"});var Dk=vu("strong",t=>({attrs:{marker:{default:t.get(nh).strong||"*"}},parseDOM:[{tag:"b"},{tag:"strong"},{style:"font-style",getAttrs:e=>e==="bold"}],toDOM:e=>["strong",t.get(i3.key)(e)],parseMarkdown:{match:e=>e.type==="strong",runner:(e,n,r)=>{e.openMark(r,{marker:n.marker}),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="strong",runner:(e,n)=>{e.withMark(n,"strong",void 0,{marker:n.attrs.marker})}}}));K(Dk.mark,{displayName:"MarkSchema<strong>",group:"Strong"});K(Dk.ctx,{displayName:"MarkSchemaCtx<strong>",group:"Strong"});var Su=ut("ToggleStrong",t=>()=>Xp(Dk.type(t)));K(Su,{displayName:"Command<toggleStrongCommand>",group:"Strong"});var o3=zr("strongKeymap",{ToggleBold:{shortcuts:["Mod-b"],command:t=>{let e=t.get(it);return()=>e.call(Su.key)}}});K(o3.ctx,{displayName:"KeymapCtx<strong>",group:"Strong"});K(o3.shortcuts,{displayName:"Keymap<strong>",group:"Strong"});var $0=ku("inlineCode");K($0,{displayName:"Attr<inlineCode>",group:"InlineCode"});var xu=vu("inlineCode",t=>({priority:100,code:!0,inclusive:!1,parseDOM:[{tag:"code"}],toDOM:e=>["code",t.get($0.key)(e)],parseMarkdown:{match:e=>e.type==="inlineCode",runner:(e,n,r)=>{e.openMark(r),e.addText(n.value),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="inlineCode",runner:(e,n,r)=>{e.withMark(n,"inlineCode",r.text||"")}}}));K(xu.mark,{displayName:"MarkSchema<inlineCode>",group:"InlineCode"});K(xu.ctx,{displayName:"MarkSchemaCtx<inlineCode>",group:"InlineCode"});var a3=ut("ToggleInlineCode",t=>()=>(e,n)=>{let{selection:r,tr:i}=e;if(r.empty)return!1;let{from:o,to:a}=r;return e.doc.rangeHasMark(o,a,xu.type(t))?(n?.(i.removeMark(o,a,xu.type(t))),!0):(Object.keys(e.schema.marks).filter(s=>s!==xu.type.name).map(s=>e.schema.marks[s]).forEach(s=>{i.removeMark(o,a,s)}),n?.(i.addMark(o,a,xu.type(t).create())),!0)});K(a3,{displayName:"Command<toggleInlineCodeCommand>",group:"InlineCode"});var s3=zr("inlineCodeKeymap",{ToggleInlineCode:{shortcuts:"Mod-e",command:t=>{let e=t.get(it);return()=>e.call(a3.key)}}});K(s3.ctx,{displayName:"KeymapCtx<inlineCode>",group:"InlineCode"});K(s3.shortcuts,{displayName:"Keymap<inlineCode>",group:"InlineCode"});var l3=ku("link");K(l3,{displayName:"Attr<link>",group:"Link"});var uh=vu("link",t=>({attrs:{href:{},title:{default:null}},parseDOM:[{tag:"a[href]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM:e=>["a",D(D({},t.get(l3.key)(e)),e.attrs)],parseMarkdown:{match:e=>e.type==="link",runner:(e,n,r)=>{let i=n.url,o=n.title;e.openMark(r,{href:i,title:o}),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="link",runner:(e,n)=>{e.withMark(n,"link",void 0,{title:n.attrs.title,url:n.attrs.href})}}}));K(uh.mark,{displayName:"MarkSchema<link>",group:"Link"});var IB=ut("ToggleLink",t=>(e={})=>Xp(uh.type(t),e));K(IB,{displayName:"Command<toggleLinkCommand>",group:"Link"});var q0=ut("UpdateLink",t=>(e={})=>(n,r)=>{if(!r)return!1;let i,o=-1,{selection:a}=n,{from:s,to:l}=a;if(n.doc.nodesBetween(s,s===l?l+1:l,(h,g)=>{if(uh.type(t).isInSet(h.marks))return i=h,o=g,!1}),!i)return!1;let c=i.marks.find(({type:h})=>h===uh.type(t));if(!c)return!1;let d=o,u=o+i.nodeSize,{tr:f}=n,p=uh.type(t).create(D(D({},c.attrs),e));return p?(r(f.removeMark(d,u,c).addMark(d,u,p).setSelection(new je(f.selection.$anchor)).scrollIntoView()),!0):!1});K(q0,{displayName:"Command<updateLinkCommand>",group:"Link"});var OB=kk("doc",()=>({content:"block+",parseMarkdown:{match:({type:t})=>t==="root",runner:(t,e,n)=>{t.injectRoot(e,n)}},toMarkdown:{match:t=>t.type.name==="doc",runner:(t,e)=>{t.openNode("root"),t.next(e.content)}}}));K(OB,{displayName:"NodeSchema<doc>",group:"Doc"});var c3=Ri("paragraph");K(c3,{displayName:"Attr<paragraph>",group:"Paragraph"});var Ja=yn("paragraph",t=>({content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:e=>["p",t.get(c3.key)(e),0],parseMarkdown:{match:e=>e.type==="paragraph",runner:(e,n,r)=>{e.openNode(r),n.children?e.next(n.children):e.addText(n.value||""),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="paragraph",runner:(e,n)=>{e.openNode("paragraph"),AB(e,n),e.closeNode()}}}));K(Ja.node,{displayName:"NodeSchema<paragraph>",group:"Paragraph"});K(Ja.ctx,{displayName:"NodeSchemaCtx<paragraph>",group:"Paragraph"});var d3=ut("TurnIntoText",t=>()=>wc(Ja.type(t)));K(d3,{displayName:"Command<turnIntoTextCommand>",group:"Paragraph"});var u3=zr("paragraphKeymap",{TurnIntoText:{shortcuts:"Mod-Alt-0",command:t=>{let e=t.get(it);return()=>e.call(d3.key)}}});K(u3.ctx,{displayName:"KeymapCtx<paragraph>",group:"Paragraph"});K(u3.shortcuts,{displayName:"Keymap<paragraph>",group:"Paragraph"});var tfe=Array(6).fill(0).map((t,e)=>e+1);function nfe(t){return YT(t.textContent)}var Sk=Vt(nfe,"headingIdGenerator");K(Sk,{displayName:"Ctx<HeadingIdGenerator>",group:"Heading"});var f3=Ri("heading");K(f3,{displayName:"Attr<heading>",group:"Heading"});var Eu=yn("heading",t=>{let e=t.get(Sk.key);return{content:"inline*",group:"block",defining:!0,attrs:{id:{default:""},level:{default:1}},parseDOM:tfe.map(n=>({tag:`h${n}`,getAttrs:r=>{if(!(r instanceof HTMLElement))throw cr(r);return{level:n,id:r.id}}})),toDOM:n=>[`h${n.attrs.level}`,q(D({},t.get(f3.key)(n)),{id:n.attrs.id||e(n)}),0],parseMarkdown:{match:({type:n})=>n==="heading",runner:(n,r,i)=>{let o=r.depth;n.openNode(i,{level:o}),n.next(r.children),n.closeNode()}},toMarkdown:{match:n=>n.type.name==="heading",runner:(n,r)=>{n.openNode("heading",void 0,{depth:r.attrs.level}),AB(n,r),n.closeNode()}}}});K(Eu.node,{displayName:"NodeSchema<heading>",group:"Heading"});K(Eu.ctx,{displayName:"NodeSchemaCtx<heading>",group:"Heading"});var PB=jr(t=>TT(/^(?<hashes>#+)\s$/,Eu.type(t),e=>{var n,r;let i=((r=(n=e.groups)==null?void 0:n.hashes)==null?void 0:r.length)||0,o=t.get(on),{$from:a}=o.state.selection,s=a.node();if(s.type.name==="heading"){let l=Number(s.attrs.level)+Number(i);return l>6&&(l=6),{level:l}}return{level:i}}));K(PB,{displayName:"InputRule<wrapInHeadingInputRule>",group:"Heading"});var ti=ut("WrapInHeading",t=>e=>(e??(e=1),e<1?wc(Ja.type(t)):wc(Eu.type(t),{level:e})));K(ti,{displayName:"Command<wrapInHeadingCommand>",group:"Heading"});var p3=ut("DowngradeHeading",t=>()=>(e,n,r)=>{let{$from:i}=e.selection,o=i.node();if(o.type!==Eu.type(t)||!e.selection.empty||i.parentOffset!==0)return!1;let a=o.attrs.level-1;return a?(n?.(e.tr.setNodeMarkup(e.selection.$from.before(),void 0,q(D({},o.attrs),{level:a}))),!0):wc(Ja.type(t))(e,n,r)});K(p3,{displayName:"Command<downgradeHeadingCommand>",group:"Heading"});var h3=zr("headingKeymap",{TurnIntoH1:{shortcuts:"Mod-Alt-1",command:t=>{let e=t.get(it);return()=>e.call(ti.key,1)}},TurnIntoH2:{shortcuts:"Mod-Alt-2",command:t=>{let e=t.get(it);return()=>e.call(ti.key,2)}},TurnIntoH3:{shortcuts:"Mod-Alt-3",command:t=>{let e=t.get(it);return()=>e.call(ti.key,3)}},TurnIntoH4:{shortcuts:"Mod-Alt-4",command:t=>{let e=t.get(it);return()=>e.call(ti.key,4)}},TurnIntoH5:{shortcuts:"Mod-Alt-5",command:t=>{let e=t.get(it);return()=>e.call(ti.key,5)}},TurnIntoH6:{shortcuts:"Mod-Alt-6",command:t=>{let e=t.get(it);return()=>e.call(ti.key,6)}},DowngradeHeading:{shortcuts:["Delete","Backspace"],command:t=>{let e=t.get(it);return()=>e.call(p3.key)}}});K(h3.ctx,{displayName:"KeymapCtx<heading>",group:"Heading"});K(h3.shortcuts,{displayName:"Keymap<heading>",group:"Heading"});var W0=Ri("blockquote");K(W0,{displayName:"Attr<blockquote>",group:"Blockquote"});var G0=yn("blockquote",t=>({content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM:e=>["blockquote",t.get(W0.key)(e),0],parseMarkdown:{match:({type:e})=>e==="blockquote",runner:(e,n,r)=>{e.openNode(r).next(n.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="blockquote",runner:(e,n)=>{e.openNode("blockquote").next(n.content).closeNode()}}}));K(G0.node,{displayName:"NodeSchema<blockquote>",group:"Blockquote"});K(G0.ctx,{displayName:"NodeSchemaCtx<blockquote>",group:"Blockquote"});var FB=jr(t=>Z1(/^\s*>\s$/,G0.type(t)));K(FB,{displayName:"InputRule<wrapInBlockquoteInputRule>",group:"Blockquote"});var Xs=ut("WrapInBlockquote",t=>()=>tk(G0.type(t)));K(Xs,{displayName:"Command<wrapInBlockquoteCommand>",group:"Blockquote"});var m3=zr("blockquoteKeymap",{WrapInBlockquote:{shortcuts:"Mod-Shift-b",command:t=>{let e=t.get(it);return()=>e.call(Xs.key)}}});K(m3.ctx,{displayName:"KeymapCtx<blockquote>",group:"Blockquote"});K(m3.shortcuts,{displayName:"Keymap<blockquote>",group:"Blockquote"});var g3=Ri("codeBlock",()=>({pre:{},code:{}}));K(g3,{displayName:"Attr<codeBlock>",group:"CodeBlock"});var Mu=yn("code_block",t=>({content:"text*",group:"block",marks:"",defining:!0,code:!0,attrs:{language:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{language:e.dataset.language}}}],toDOM:e=>{let n=t.get(g3.key)(e);return["pre",q(D({},n.pre),{"data-language":e.attrs.language}),["code",n.code,0]]},parseMarkdown:{match:({type:e})=>e==="code",runner:(e,n,r)=>{let i=n.lang,o=n.value;e.openNode(r,{language:i}),o&&e.addText(o),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="code_block",runner:(e,n)=>{var r;e.addNode("code",void 0,((r=n.content.firstChild)==null?void 0:r.text)||"",{lang:n.attrs.language})}}}));K(Mu.node,{displayName:"NodeSchema<codeBlock>",group:"CodeBlock"});K(Mu.ctx,{displayName:"NodeSchemaCtx<codeBlock>",group:"CodeBlock"});var NB=jr(t=>TT(/^```(?<language>[a-z]*)?[\s\n]$/,Mu.type(t),e=>{var n;return{language:((n=e.groups)==null?void 0:n.language)??""}}));K(NB,{displayName:"InputRule<createCodeBlockInputRule>",group:"CodeBlock"});var Tu=ut("CreateCodeBlock",t=>(e="")=>wc(Mu.type(t),{language:e}));K(Tu,{displayName:"Command<createCodeBlockCommand>",group:"CodeBlock"});var rfe=ut("UpdateCodeBlockLanguage",()=>({pos:t,language:e}={pos:-1,language:""})=>(n,r)=>t>=0?(r?.(n.tr.setNodeAttribute(t,"language",e)),!0):!1);K(rfe,{displayName:"Command<updateCodeBlockLanguageCommand>",group:"CodeBlock"});var y3=zr("codeBlockKeymap",{CreateCodeBlock:{shortcuts:"Mod-Alt-c",command:t=>{let e=t.get(it);return()=>e.call(Tu.key)}}});K(y3.ctx,{displayName:"KeymapCtx<codeBlock>",group:"CodeBlock"});K(y3.shortcuts,{displayName:"Keymap<codeBlock>",group:"CodeBlock"});var b3=Ri("image");K(b3,{displayName:"Attr<image>",group:"Image"});var fh=yn("image",t=>({inline:!0,group:"inline",selectable:!0,draggable:!0,marks:"",atom:!0,defining:!0,isolating:!0,attrs:{src:{default:""},alt:{default:""},title:{default:""}},parseDOM:[{tag:"img[src]",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{src:e.getAttribute("src")||"",alt:e.getAttribute("alt")||"",title:e.getAttribute("title")||e.getAttribute("alt")||""}}}],toDOM:e=>["img",D(D({},t.get(b3.key)(e)),e.attrs)],parseMarkdown:{match:({type:e})=>e==="image",runner:(e,n,r)=>{let i=n.url,o=n.alt,a=n.title;e.addNode(r,{src:i,alt:o,title:a})}},toMarkdown:{match:e=>e.type.name==="image",runner:(e,n)=>{e.addNode("image",void 0,void 0,{title:n.attrs.title,url:n.attrs.src,alt:n.attrs.alt})}}}));K(fh.node,{displayName:"NodeSchema<image>",group:"Image"});K(fh.ctx,{displayName:"NodeSchemaCtx<image>",group:"Image"});var RB=ut("InsertImage",t=>(e={})=>(n,r)=>{if(!r)return!0;let{src:i="",alt:o="",title:a=""}=e,s=fh.type(t).create({src:i,alt:o,title:a});return s&&r(n.tr.replaceSelectionWith(s).scrollIntoView()),!0});K(RB,{displayName:"Command<insertImageCommand>",group:"Image"});var Ek=ut("UpdateImage",t=>(e={})=>(n,r)=>{let i=WL(n.selection,fh.type(t));if(!i)return!1;let{node:o,pos:a}=i,s=D({},o.attrs),{src:l,alt:c,title:d}=e;return l!==void 0&&(s.src=l),c!==void 0&&(s.alt=c),d!==void 0&&(s.title=d),r?.(n.tr.setNodeMarkup(a,void 0,s).scrollIntoView()),!0});K(Ek,{displayName:"Command<updateImageCommand>",group:"Image"});var ife=jr(t=>new zn(/!\[(?<alt>.*?)]\((?<filename>.*?)\s*(?="|\))"?(?<title>[^"]+)?"?\)/,(e,n,r,i)=>{let[o,a,s="",l]=n;return o?e.tr.replaceWith(r,i,fh.type(t).create({src:s,alt:a,title:l})):null}));K(ife,{displayName:"InputRule<insertImageInputRule>",group:"Image"});var _3=Ri("hardbreak",t=>({"data-is-inline":t.attrs.isInline}));K(_3,{displayName:"Attr<hardbreak>",group:"Hardbreak"});var Cu=yn("hardbreak",t=>({inline:!0,group:"inline",attrs:{isInline:{default:!1}},selectable:!1,parseDOM:[{tag:"br"}],toDOM:e=>["br",t.get(_3.key)(e)],parseMarkdown:{match:({type:e})=>e==="break",runner:(e,n,r)=>{var i;e.addNode(r,{isInline:!!((i=n.data)!=null&&i.isInline)})}},leafText:()=>` `,toMarkdown:{match:e=>e.type.name==="hardbreak",runner:(e,n)=>{n.attrs.isInline?e.addNode("text",void 0,` -`):e.addNode("break")}}}));K(xu.node,{displayName:"NodeSchema<hardbreak>",group:"Hardbreak"});K(xu.ctx,{displayName:"NodeSchemaCtx<hardbreak>",group:"Hardbreak"});var b3=ct("InsertHardbreak",t=>()=>(e,n)=>{var r;let{selection:i,tr:o}=e;if(!(i instanceof Ne))return!1;if(i.empty){let a=i.$from.node();if(a.childCount>0&&((r=a.lastChild)==null?void 0:r.type.name)==="hardbreak")return n?.(o.replaceRangeWith(i.to-1,i.to,e.schema.node("paragraph")).setSelection(Pe.near(o.doc.resolve(i.to))).scrollIntoView()),!0}return n?.(o.setMeta("hardbreak",!0).replaceSelectionWith(xu.type(t).create()).scrollIntoView()),!0});K(b3,{displayName:"Command<insertHardbreakCommand>",group:"Hardbreak"});var _3=Br("hardbreakKeymap",{InsertHardbreak:{shortcuts:"Shift-Enter",command:t=>{let e=t.get(nt);return()=>e.call(b3.key)}}});K(_3.ctx,{displayName:"KeymapCtx<hardbreak>",group:"Hardbreak"});K(_3.shortcuts,{displayName:"Keymap<hardbreak>",group:"Hardbreak"});var w3=Ri("hr");K(w3,{displayName:"Attr<hr>",group:"Hr"});var W0=mn("hr",t=>({group:"block",parseDOM:[{tag:"hr"}],toDOM:e=>["hr",t.get(w3.key)(e)],parseMarkdown:{match:({type:e})=>e==="thematicBreak",runner:(e,n,r)=>{e.addNode(r)}},toMarkdown:{match:e=>e.type.name==="hr",runner:e=>{e.addNode("thematicBreak")}}}));K(W0.node,{displayName:"NodeSchema<hr>",group:"Hr"});K(W0.ctx,{displayName:"NodeSchemaCtx<hr>",group:"Hr"});var RB=Lr(t=>new zn(/^(?:---|___\s|\*\*\*\s)$/,(e,n,r,i)=>{let{tr:o}=e;return n[0]&&o.replaceWith(r-1,i,W0.type(t).create()),o}));K(RB,{displayName:"InputRule<insertHrInputRule>",group:"Hr"});var fp=ct("InsertHr",t=>()=>(e,n)=>{if(!n)return!0;let r=es.node.type(t).create(),{tr:i,selection:o}=e,{from:a}=o,s=W0.type(t).create();if(!s)return!0;let l=i.replaceSelectionWith(s).insert(a,r),c=Pe.findFrom(l.doc.resolve(a),1,!0);return c&&n(l.setSelection(c).scrollIntoView()),!0});K(fp,{displayName:"Command<insertHrCommand>",group:"Hr"});var v3=Ri("bulletList");K(v3,{displayName:"Attr<bulletList>",group:"BulletList"});var hp=mn("bullet_list",t=>({content:"listItem+",group:"block",attrs:{spread:{default:!1}},parseDOM:[{tag:"ul",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{spread:e.dataset.spread}}}],toDOM:e=>["ul",W(S({},t.get(v3.key)(e)),{"data-spread":e.attrs.spread}),0],parseMarkdown:{match:({type:e,ordered:n})=>e==="list"&&!n,runner:(e,n,r)=>{let i=n.spread!=null?`${n.spread}`:"false";e.openNode(r,{spread:i}).next(n.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="bullet_list",runner:(e,n)=>{e.openNode("list",void 0,{ordered:!1,spread:n.attrs.spread==="true"}).next(n.content).closeNode()}}}));K(hp.node,{displayName:"NodeSchema<bulletList>",group:"BulletList"});K(hp.ctx,{displayName:"NodeSchemaCtx<bulletList>",group:"BulletList"});var jB=Lr(t=>K1(/^\s*([-+*])\s$/,hp.type(t)));K(jB,{displayName:"InputRule<wrapInBulletListInputRule>",group:"BulletList"});var G0=ct("WrapInBulletList",t=>()=>ek(hp.type(t)));K(G0,{displayName:"Command<wrapInBulletListCommand>",group:"BulletList"});var k3=Br("bulletListKeymap",{WrapInBulletList:{shortcuts:"Mod-Alt-8",command:t=>{let e=t.get(nt);return()=>e.call(G0.key)}}});K(k3.ctx,{displayName:"KeymapCtx<bulletListKeymap>",group:"BulletList"});K(k3.shortcuts,{displayName:"Keymap<bulletListKeymap>",group:"BulletList"});var x3=Ri("orderedList");K(x3,{displayName:"Attr<orderedList>",group:"OrderedList"});var pp=mn("ordered_list",t=>({content:"listItem+",group:"block",attrs:{order:{default:1},spread:{default:!1}},parseDOM:[{tag:"ol",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{spread:e.dataset.spread,order:e.hasAttribute("start")?Number(e.getAttribute("start")):1}}}],toDOM:e=>["ol",W(S(S({},t.get(x3.key)(e)),e.attrs.order===1?{}:e.attrs.order),{"data-spread":e.attrs.spread}),0],parseMarkdown:{match:({type:e,ordered:n})=>e==="list"&&!!n,runner:(e,n,r)=>{let i=n.spread!=null?`${n.spread}`:"true";e.openNode(r,{spread:i}).next(n.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="ordered_list",runner:(e,n)=>{e.openNode("list",void 0,{ordered:!0,start:1,spread:n.attrs.spread==="true"}),e.next(n.content),e.closeNode()}}}));K(pp.node,{displayName:"NodeSchema<orderedList>",group:"OrderedList"});K(pp.ctx,{displayName:"NodeSchemaCtx<orderedList>",group:"OrderedList"});var zB=Lr(t=>K1(/^\s*(\d+)\.\s$/,pp.type(t),e=>({order:Number(e[1])}),(e,n)=>n.childCount+n.attrs.order===Number(e[1])));K(zB,{displayName:"InputRule<wrapInOrderedListInputRule>",group:"OrderedList"});var Y0=ct("WrapInOrderedList",t=>()=>ek(pp.type(t)));K(Y0,{displayName:"Command<wrapInOrderedListCommand>",group:"OrderedList"});var C3=Br("orderedListKeymap",{WrapInOrderedList:{shortcuts:"Mod-Alt-7",command:t=>{let e=t.get(nt);return()=>e.call(Y0.key)}}});K(C3.ctx,{displayName:"KeymapCtx<orderedList>",group:"OrderedList"});K(C3.shortcuts,{displayName:"Keymap<orderedList>",group:"OrderedList"});var D3=Ri("listItem");K(D3,{displayName:"Attr<listItem>",group:"ListItem"});var ao=mn("list_item",t=>({group:"listItem",content:"paragraph block*",attrs:{label:{default:"\u2022"},listType:{default:"bullet"},spread:{default:"true"}},defining:!0,parseDOM:[{tag:"li",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{label:e.dataset.label,listType:e.dataset["list-type"],spread:e.dataset.spread}}}],toDOM:e=>["li",W(S({},t.get(D3.key)(e)),{"data-label":e.attrs.label,"data-list-type":e.attrs.listType,"data-spread":e.attrs.spread}),0],parseMarkdown:{match:({type:e})=>e==="listItem",runner:(e,n,r)=>{let i=n.label!=null?`${n.label}.`:"\u2022",o=n.label!=null?"ordered":"bullet",a=n.spread!=null?`${n.spread}`:"true";e.openNode(r,{label:i,listType:o,spread:a}),e.next(n.children),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="list_item",runner:(e,n)=>{e.openNode("listItem",void 0,{spread:n.attrs.spread==="true"}),e.next(n.content),e.closeNode()}}}));K(ao.node,{displayName:"NodeSchema<listItem>",group:"ListItem"});K(ao.ctx,{displayName:"NodeSchemaCtx<listItem>",group:"ListItem"});var S3=ct("SinkListItem",t=>()=>EB(ao.type(t)));K(S3,{displayName:"Command<sinkListItemCommand>",group:"ListItem"});var E3=ct("SplitListItem",t=>()=>GT(ao.type(t)));K(E3,{displayName:"Command<liftListItemCommand>",group:"ListItem"});var M3=ct("SplitListItem",t=>()=>SB(ao.type(t)));K(M3,{displayName:"Command<splitListItemCommand>",group:"ListItem"});function Kue(t){return(e,n,r)=>{let{selection:i}=e;if(!(i instanceof Ne))return!1;let{empty:o,$from:a}=i;if(!o||a.parentOffset!==0)return!1;let s=a.node(-1);return s.type!==ao.type(t)||s.firstChild!==a.node()||a.node(-2).childCount>1?!1:GT(ao.type(t))(e,n,r)}}var T3=ct("LiftFirstListItem",t=>()=>Kue(t));K(T3,{displayName:"Command<liftFirstListItemCommand>",group:"ListItem"});var A3=Br("listItemKeymap",{NextListItem:{shortcuts:"Enter",command:t=>{let e=t.get(nt);return()=>e.call(M3.key)}},SinkListItem:{shortcuts:["Tab","Mod-]"],command:t=>{let e=t.get(nt);return()=>e.call(S3.key)}},LiftListItem:{shortcuts:["Shift-Tab","Mod-["],command:t=>{let e=t.get(nt);return()=>e.call(E3.key)}},LiftFirstListItem:{shortcuts:["Backspace","Delete"],command:t=>{let e=t.get(nt);return()=>e.call(T3.key)}}});K(A3.ctx,{displayName:"KeymapCtx<listItem>",group:"ListItem"});K(A3.shortcuts,{displayName:"Keymap<listItem>",group:"ListItem"});var LB=vk("text",()=>({group:"inline",parseMarkdown:{match:({type:t})=>t==="text",runner:(t,e)=>{t.addText(e.value)}},toMarkdown:{match:t=>t.type.name==="text",runner:(t,e)=>{t.addNode("text",void 0,e.text)}}}));K(LB,{displayName:"NodeSchema<text>",group:"Text"});var I3=Ri("html");K(I3,{displayName:"Attr<html>",group:"Html"});var O3=mn("html",t=>({atom:!0,group:"inline",inline:!0,attrs:{value:{default:""}},toDOM:e=>{let n=document.createElement("span"),r=W(S({},t.get(I3.key)(e)),{"data-value":e.attrs.value,"data-type":"html"});return n.textContent=e.attrs.value,["span",r,e.attrs.value]},parseDOM:[{tag:'span[data-type="html"]',getAttrs:e=>({value:e.dataset.value??""})}],parseMarkdown:{match:({type:e})=>e==="html",runner:(e,n,r)=>{e.addNode(r,{value:n.value})}},toMarkdown:{match:e=>e.type.name==="html",runner:(e,n)=>{e.addNode("html",void 0,n.attrs.value)}}}));K(O3.node,{displayName:"NodeSchema<html>",group:"Html"});K(O3.ctx,{displayName:"NodeSchemaCtx<html>",group:"Html"});var Zue=[IB,s3,es,Dk,d3,Su,y3,xu,$0,q0,p3,Eu,w3,W0,g3,up,v3,hp,x3,pp,D3,ao,e3,xk,n3,Ck,U0,ku,a3,dp,I3,O3,LB].flat(),Xue=[PB,jB,zB,FB,RB,OB].flat(),Que=[l3,Qs,ti,u3,Mu,b3,fp,NB,Sk,Y0,G0,S3,M3,E3,T3,Cu,i3,Du,AB,H0],Jue=[h3,m3,_3,f3,A3,C3,k3,c3,t3,o3,r3].flat(),efe=/\[([^\]]+)]\([^\s\]]+\)/,KT=/\[(?<span>((www|https:\/\/|http:\/\/)[^\s\]]+))]\((?<url>[^\s\]]+)\)/;function tfe(t){return new RegExp(`\\\\(?=[^\\w\\s${t}\\\\]|_)`,"g")}var Ek="\u200B",ZT=`${Ek}*`,XT=`${Ek}\uFF0A`,QT=`${Ek}_`,JT=`${Ek}\u23BD`;function nfe(t){let e=t,n=e.match(KT);for(;n&&n.groups;){let{span:r}=n.groups;e=e.replace(KT,r),n=e.match(KT)}return e}function rfe(t){return t.replaceAll(/\\\\\*/g,ZT).replaceAll(/\\\\_/g,QT).replaceAll(ZT,XT).replaceAll(QT,JT)}function ife(t,e,n){let r=t.split(""),i=r[e];return r[e]&&r[n]&&(r[e]=r[n],r[n]=i),r.join("").toString()}function ofe(t){return e=>e.replace(tfe(t),"")}function afe(t){return e=>{let n=e.indexOf(t.hole),r=e.charAt(n-1),i=e.charAt(n+1),o=/[^\w]|_/;return i?r&&o.test(r)&&o.test(i)?t.punctuation:t.char:t.punctuation}}function sfe(t,e,n){let r=e,i=!1;return t.descendants(o=>{var a;if(i)return!1;if(!o.textContent.includes(n))return r+=o.nodeSize,!1;if(o.isText){let s=(a=o.text)==null?void 0:a.indexOf(n);if(s!=null&&s>=0)return i=!0,r+=s,!1}return r+=1,!0}),r}var lfe={placeholderConfig:{hole:"\u2205",punctuation:"\u2042",char:"\u2234"},globalNodes:["footnote_definition"],shouldSyncNode:({prevNode:t,nextNode:e})=>t.inlineContent&&e&&t.type===e.type&&!t.eq(e),movePlaceholder:(t,e)=>{let n=["*","_"],r=e.indexOf(t);for(;n.includes(e[r-1]||"")&&n.includes(e[r+1]||"");)e=ife(e,r,r+1),r=r+1;return e}},mp=Bt(lfe,"inlineSyncConfig");K(mp,{displayName:"Ctx<inlineSyncConfig>",group:"Prose"});function cfe(t){return t.selection.$from.node()}function dfe(t,e,n,r){let i=t.get(Ja),o=e.schema.topNodeType.create(void 0,[n,...r]);return i(o)}function ufe(t,e){let n=t.get(mp.key),r=n.placeholderConfig.hole,[i="",...o]=e.split(` +`):e.addNode("break")}}}));K(Cu.node,{displayName:"NodeSchema<hardbreak>",group:"Hardbreak"});K(Cu.ctx,{displayName:"NodeSchemaCtx<hardbreak>",group:"Hardbreak"});var w3=ut("InsertHardbreak",t=>()=>(e,n)=>{var r;let{selection:i,tr:o}=e;if(!(i instanceof je))return!1;if(i.empty){let a=i.$from.node();if(a.childCount>0&&((r=a.lastChild)==null?void 0:r.type.name)==="hardbreak")return n?.(o.replaceRangeWith(i.to-1,i.to,e.schema.node("paragraph")).setSelection(Ne.near(o.doc.resolve(i.to))).scrollIntoView()),!0}return n?.(o.setMeta("hardbreak",!0).replaceSelectionWith(Cu.type(t).create()).scrollIntoView()),!0});K(w3,{displayName:"Command<insertHardbreakCommand>",group:"Hardbreak"});var v3=zr("hardbreakKeymap",{InsertHardbreak:{shortcuts:"Shift-Enter",command:t=>{let e=t.get(it);return()=>e.call(w3.key)}}});K(v3.ctx,{displayName:"KeymapCtx<hardbreak>",group:"Hardbreak"});K(v3.shortcuts,{displayName:"Keymap<hardbreak>",group:"Hardbreak"});var k3=Ri("hr");K(k3,{displayName:"Attr<hr>",group:"Hr"});var Y0=yn("hr",t=>({group:"block",parseDOM:[{tag:"hr"}],toDOM:e=>["hr",t.get(k3.key)(e)],parseMarkdown:{match:({type:e})=>e==="thematicBreak",runner:(e,n,r)=>{e.addNode(r)}},toMarkdown:{match:e=>e.type.name==="hr",runner:e=>{e.addNode("thematicBreak")}}}));K(Y0.node,{displayName:"NodeSchema<hr>",group:"Hr"});K(Y0.ctx,{displayName:"NodeSchemaCtx<hr>",group:"Hr"});var jB=jr(t=>new zn(/^(?:---|___\s|\*\*\*\s)$/,(e,n,r,i)=>{let{tr:o}=e;return n[0]&&o.replaceWith(r-1,i,Y0.type(t).create()),o}));K(jB,{displayName:"InputRule<insertHrInputRule>",group:"Hr"});var ph=ut("InsertHr",t=>()=>(e,n)=>{if(!n)return!0;let r=Ja.node.type(t).create(),{tr:i,selection:o}=e,{from:a}=o,s=Y0.type(t).create();if(!s)return!0;let l=i.replaceSelectionWith(s).insert(a,r),c=Ne.findFrom(l.doc.resolve(a),1,!0);return c&&n(l.setSelection(c).scrollIntoView()),!0});K(ph,{displayName:"Command<insertHrCommand>",group:"Hr"});var x3=Ri("bulletList");K(x3,{displayName:"Attr<bulletList>",group:"BulletList"});var hh=yn("bullet_list",t=>({content:"listItem+",group:"block",attrs:{spread:{default:!1}},parseDOM:[{tag:"ul",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{spread:e.dataset.spread}}}],toDOM:e=>["ul",q(D({},t.get(x3.key)(e)),{"data-spread":e.attrs.spread}),0],parseMarkdown:{match:({type:e,ordered:n})=>e==="list"&&!n,runner:(e,n,r)=>{let i=n.spread!=null?`${n.spread}`:"false";e.openNode(r,{spread:i}).next(n.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="bullet_list",runner:(e,n)=>{e.openNode("list",void 0,{ordered:!1,spread:n.attrs.spread==="true"}).next(n.content).closeNode()}}}));K(hh.node,{displayName:"NodeSchema<bulletList>",group:"BulletList"});K(hh.ctx,{displayName:"NodeSchemaCtx<bulletList>",group:"BulletList"});var zB=jr(t=>Z1(/^\s*([-+*])\s$/,hh.type(t)));K(zB,{displayName:"InputRule<wrapInBulletListInputRule>",group:"BulletList"});var K0=ut("WrapInBulletList",t=>()=>tk(hh.type(t)));K(K0,{displayName:"Command<wrapInBulletListCommand>",group:"BulletList"});var C3=zr("bulletListKeymap",{WrapInBulletList:{shortcuts:"Mod-Alt-8",command:t=>{let e=t.get(it);return()=>e.call(K0.key)}}});K(C3.ctx,{displayName:"KeymapCtx<bulletListKeymap>",group:"BulletList"});K(C3.shortcuts,{displayName:"Keymap<bulletListKeymap>",group:"BulletList"});var D3=Ri("orderedList");K(D3,{displayName:"Attr<orderedList>",group:"OrderedList"});var mh=yn("ordered_list",t=>({content:"listItem+",group:"block",attrs:{order:{default:1},spread:{default:!1}},parseDOM:[{tag:"ol",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{spread:e.dataset.spread,order:e.hasAttribute("start")?Number(e.getAttribute("start")):1}}}],toDOM:e=>["ol",q(D(D({},t.get(D3.key)(e)),e.attrs.order===1?{}:e.attrs.order),{"data-spread":e.attrs.spread}),0],parseMarkdown:{match:({type:e,ordered:n})=>e==="list"&&!!n,runner:(e,n,r)=>{let i=n.spread!=null?`${n.spread}`:"true";e.openNode(r,{spread:i}).next(n.children).closeNode()}},toMarkdown:{match:e=>e.type.name==="ordered_list",runner:(e,n)=>{e.openNode("list",void 0,{ordered:!0,start:1,spread:n.attrs.spread==="true"}),e.next(n.content),e.closeNode()}}}));K(mh.node,{displayName:"NodeSchema<orderedList>",group:"OrderedList"});K(mh.ctx,{displayName:"NodeSchemaCtx<orderedList>",group:"OrderedList"});var LB=jr(t=>Z1(/^\s*(\d+)\.\s$/,mh.type(t),e=>({order:Number(e[1])}),(e,n)=>n.childCount+n.attrs.order===Number(e[1])));K(LB,{displayName:"InputRule<wrapInOrderedListInputRule>",group:"OrderedList"});var Z0=ut("WrapInOrderedList",t=>()=>tk(mh.type(t)));K(Z0,{displayName:"Command<wrapInOrderedListCommand>",group:"OrderedList"});var S3=zr("orderedListKeymap",{WrapInOrderedList:{shortcuts:"Mod-Alt-7",command:t=>{let e=t.get(it);return()=>e.call(Z0.key)}}});K(S3.ctx,{displayName:"KeymapCtx<orderedList>",group:"OrderedList"});K(S3.shortcuts,{displayName:"Keymap<orderedList>",group:"OrderedList"});var E3=Ri("listItem");K(E3,{displayName:"Attr<listItem>",group:"ListItem"});var lo=yn("list_item",t=>({group:"listItem",content:"paragraph block*",attrs:{label:{default:"\u2022"},listType:{default:"bullet"},spread:{default:"true"}},defining:!0,parseDOM:[{tag:"li",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{label:e.dataset.label,listType:e.dataset["list-type"],spread:e.dataset.spread}}}],toDOM:e=>["li",q(D({},t.get(E3.key)(e)),{"data-label":e.attrs.label,"data-list-type":e.attrs.listType,"data-spread":e.attrs.spread}),0],parseMarkdown:{match:({type:e})=>e==="listItem",runner:(e,n,r)=>{let i=n.label!=null?`${n.label}.`:"\u2022",o=n.label!=null?"ordered":"bullet",a=n.spread!=null?`${n.spread}`:"true";e.openNode(r,{label:i,listType:o,spread:a}),e.next(n.children),e.closeNode()}},toMarkdown:{match:e=>e.type.name==="list_item",runner:(e,n)=>{e.openNode("listItem",void 0,{spread:n.attrs.spread==="true"}),e.next(n.content),e.closeNode()}}}));K(lo.node,{displayName:"NodeSchema<listItem>",group:"ListItem"});K(lo.ctx,{displayName:"NodeSchemaCtx<listItem>",group:"ListItem"});var M3=ut("SinkListItem",t=>()=>MB(lo.type(t)));K(M3,{displayName:"Command<sinkListItemCommand>",group:"ListItem"});var T3=ut("SplitListItem",t=>()=>KT(lo.type(t)));K(T3,{displayName:"Command<liftListItemCommand>",group:"ListItem"});var A3=ut("SplitListItem",t=>()=>EB(lo.type(t)));K(A3,{displayName:"Command<splitListItemCommand>",group:"ListItem"});function ofe(t){return(e,n,r)=>{let{selection:i}=e;if(!(i instanceof je))return!1;let{empty:o,$from:a}=i;if(!o||a.parentOffset!==0)return!1;let s=a.node(-1);return s.type!==lo.type(t)||s.firstChild!==a.node()||a.node(-2).childCount>1?!1:KT(lo.type(t))(e,n,r)}}var I3=ut("LiftFirstListItem",t=>()=>ofe(t));K(I3,{displayName:"Command<liftFirstListItemCommand>",group:"ListItem"});var O3=zr("listItemKeymap",{NextListItem:{shortcuts:"Enter",command:t=>{let e=t.get(it);return()=>e.call(A3.key)}},SinkListItem:{shortcuts:["Tab","Mod-]"],command:t=>{let e=t.get(it);return()=>e.call(M3.key)}},LiftListItem:{shortcuts:["Shift-Tab","Mod-["],command:t=>{let e=t.get(it);return()=>e.call(T3.key)}},LiftFirstListItem:{shortcuts:["Backspace","Delete"],command:t=>{let e=t.get(it);return()=>e.call(I3.key)}}});K(O3.ctx,{displayName:"KeymapCtx<listItem>",group:"ListItem"});K(O3.shortcuts,{displayName:"Keymap<listItem>",group:"ListItem"});var BB=kk("text",()=>({group:"inline",parseMarkdown:{match:({type:t})=>t==="text",runner:(t,e)=>{t.addText(e.value)}},toMarkdown:{match:t=>t.type.name==="text",runner:(t,e)=>{t.addNode("text",void 0,e.text)}}}));K(BB,{displayName:"NodeSchema<text>",group:"Text"});var P3=Ri("html");K(P3,{displayName:"Attr<html>",group:"Html"});var F3=yn("html",t=>({atom:!0,group:"inline",inline:!0,attrs:{value:{default:""}},toDOM:e=>{let n=document.createElement("span"),r=q(D({},t.get(P3.key)(e)),{"data-value":e.attrs.value,"data-type":"html"});return n.textContent=e.attrs.value,["span",r,e.attrs.value]},parseDOM:[{tag:'span[data-type="html"]',getAttrs:e=>({value:e.dataset.value??""})}],parseMarkdown:{match:({type:e})=>e==="html",runner:(e,n,r)=>{e.addNode(r,{value:n.value})}},toMarkdown:{match:e=>e.type.name==="html",runner:(e,n)=>{e.addNode("html",void 0,n.attrs.value)}}}));K(F3.node,{displayName:"NodeSchema<html>",group:"Html"});K(F3.ctx,{displayName:"NodeSchemaCtx<html>",group:"Html"});var afe=[OB,c3,Ja,Sk,f3,Eu,_3,Cu,W0,G0,g3,Mu,k3,Y0,b3,fh,x3,hh,D3,mh,E3,lo,n3,Ck,i3,Dk,$0,xu,l3,uh,P3,F3,BB].flat(),sfe=[FB,zB,LB,NB,jB,PB].flat(),lfe=[d3,Xs,ti,p3,Tu,w3,ph,RB,Ek,Z0,K0,M3,A3,T3,I3,Du,a3,Su,IB,q0],cfe=[m3,y3,v3,h3,O3,S3,C3,u3,r3,s3,o3].flat(),dfe=/\[([^\]]+)]\([^\s\]]+\)/,XT=/\[(?<span>((www|https:\/\/|http:\/\/)[^\s\]]+))]\((?<url>[^\s\]]+)\)/;function ufe(t){return new RegExp(`\\\\(?=[^\\w\\s${t}\\\\]|_)`,"g")}var Mk="\u200B",QT=`${Mk}*`,JT=`${Mk}\uFF0A`,e3=`${Mk}_`,t3=`${Mk}\u23BD`;function ffe(t){let e=t,n=e.match(XT);for(;n&&n.groups;){let{span:r}=n.groups;e=e.replace(XT,r),n=e.match(XT)}return e}function pfe(t){return t.replaceAll(/\\\\\*/g,QT).replaceAll(/\\\\_/g,e3).replaceAll(QT,JT).replaceAll(e3,t3)}function hfe(t,e,n){let r=t.split(""),i=r[e];return r[e]&&r[n]&&(r[e]=r[n],r[n]=i),r.join("").toString()}function mfe(t){return e=>e.replace(ufe(t),"")}function gfe(t){return e=>{let n=e.indexOf(t.hole),r=e.charAt(n-1),i=e.charAt(n+1),o=/[^\w]|_/;return i?r&&o.test(r)&&o.test(i)?t.punctuation:t.char:t.punctuation}}function yfe(t,e,n){let r=e,i=!1;return t.descendants(o=>{var a;if(i)return!1;if(!o.textContent.includes(n))return r+=o.nodeSize,!1;if(o.isText){let s=(a=o.text)==null?void 0:a.indexOf(n);if(s!=null&&s>=0)return i=!0,r+=s,!1}return r+=1,!0}),r}var bfe={placeholderConfig:{hole:"\u2205",punctuation:"\u2042",char:"\u2234"},globalNodes:["footnote_definition"],shouldSyncNode:({prevNode:t,nextNode:e})=>t.inlineContent&&e&&t.type===e.type&&!t.eq(e),movePlaceholder:(t,e)=>{let n=["*","_"],r=e.indexOf(t);for(;n.includes(e[r-1]||"")&&n.includes(e[r+1]||"");)e=hfe(e,r,r+1),r=r+1;return e}},gh=Vt(bfe,"inlineSyncConfig");K(gh,{displayName:"Ctx<inlineSyncConfig>",group:"Prose"});function _fe(t){return t.selection.$from.node()}function wfe(t,e,n,r){let i=t.get(Ro),o=e.schema.topNodeType.create(void 0,[n,...r]);return i(o)}function vfe(t,e){let n=t.get(gh.key),r=n.placeholderConfig.hole,[i="",...o]=e.split(` -`),a=c=>n.movePlaceholder(r,c),s=xB(ofe(r),a,nfe,rfe)(i),l=afe(n.placeholderConfig)(s);return s=s.replace(r,l),s=[s,...o].join(` +`),a=c=>n.movePlaceholder(r,c),s=CB(mfe(r),a,ffe,pfe)(i),l=gfe(n.placeholderConfig)(s);return s=s.replace(r,l),s=[s,...o].join(` -`),[s,l]}function ffe(t,e){let n=t.get(pa)(e);return n?n.firstChild:null}function hfe(t,e){let{globalNodes:n}=t.get(mp.key),r=[];return e.doc.descendants(i=>{if(n.includes(i.type.name)||n.includes(i.type))return r.push(i),!1}),r}var pfe=t=>t.split(` +`),[s,l]}function kfe(t,e){let n=t.get(so)(e);return n?n.firstChild:null}function xfe(t,e){let{globalNodes:n}=t.get(gh.key),r=[];return e.doc.descendants(i=>{if(n.includes(i.type.name)||n.includes(i.type))return r.push(i),!1}),r}var Cfe=t=>t.split(` -`)[0]||"";function mfe(t){return t.childCount===1&&t.child(0).type.name==="html"}function BB(t,e){try{let n=hfe(t,e),r=cfe(e),i=dfe(t,e,r,n),[o,a]=ufe(t,i),s=ffe(t,o);return!s||r.type!==s.type||mfe(s)?null:(s.attrs=S({},r.attrs),s.descendants(l=>{var c,d,u;let f=l.marks.find(h=>h.type.name==="link");f&&(c=l.text)!=null&&c.includes(a)&&f.attrs.href.includes(a)&&(f.attrs.href=f.attrs.href.replace(a,"")),((d=l.text)!=null&&d.includes(XT)||(u=l.text)!=null&&u.includes(JT))&&(l.text=l.text.replaceAll(XT,ZT).replaceAll(JT,QT))}),{text:pfe(o),prevNode:r,nextNode:s,placeholder:a})}catch{return null}}function gfe(t,e,n,r,i){var o;let{placeholderConfig:a}=t.get(mp.key),s=a.hole,l=n.tr.setMeta(e,!0).insertText(s,n.selection.from),c=n.apply(l),d=BB(t,c);if(!d)return;let u=d.text.slice(0,d.text.indexOf(d.placeholder)),{$from:f}=c.selection,h=f.before(),p=f.after(),g=sfe(d.nextNode,h,d.placeholder);l=l.replaceWith(h,p,d.nextNode).setNodeMarkup(h,void 0,i).delete(g+1,g+2),l=l.setSelection(Ne.near(l.doc.resolve(g+1))),(efe.test(u)||["*","_","~"].includes(u.at(-1)||""))&&l.selection instanceof Ne&&(((o=l.selection.$cursor)==null?void 0:o.marks())??[]).forEach(b=>{l=l.removeStoredMark(b.type)}),r(l)}var VB=$t(t=>{let e=null,n=new at("MILKDOWN_INLINE_SYNC");return new Be({key:n,state:{init:()=>null,apply:(r,i,o,a)=>{var s;let l=t.get(wn);if(!((s=l.hasFocus)!=null&&s.call(l))||!l.editable||!r.docChanged||r.getMeta(n))return null;let c=BB(t,a);if(!c)return null;e&&(cancelAnimationFrame(e),e=null);let{prevNode:d,nextNode:u,text:f}=c,{shouldSyncNode:h}=t.get(mp.key);return h({prevNode:d,nextNode:u,ctx:t,tr:r,text:f})&&(e=requestAnimationFrame(()=>{e=null;let{dispatch:p,state:g}=t.get(wn);gfe(t,n,g,p,d.attrs)})),null}}})});K(VB,{displayName:"Prose<inlineSyncPlugin>",group:"Prose"});var P3=wi("remarkAddOrderInList",()=>()=>t=>{io(t,"list",e=>{if(e.ordered){let n=e.start??1;e.children.forEach((r,i)=>{r.label=i+n})}})});K(P3.plugin,{displayName:"Remark<remarkAddOrderInListPlugin>",group:"Remark"});K(P3.options,{displayName:"RemarkConfig<remarkAddOrderInListPlugin>",group:"Remark"});var F3=wi("remarkLineBreak",()=>()=>t=>{let e=/[\t ]*(?:\r?\n|\r)/g;io(t,"text",(n,r,i)=>{if(!n.value||typeof n.value!="string")return;let o=[],a=0;e.lastIndex=0;let s=e.exec(n.value);for(;s;){let l=s.index;a!==l&&o.push({type:"text",value:n.value.slice(a,l)}),o.push({type:"break",data:{isInline:!0}}),a=l+s[0].length,s=e.exec(n.value)}if(o.length>0&&i&&typeof r=="number")return a<n.value.length&&o.push({type:"text",value:n.value.slice(a)}),i.children.splice(r,1,...o),r+o.length})});K(F3.plugin,{displayName:"Remark<remarkLineBreak>",group:"Remark"});K(F3.options,{displayName:"RemarkConfig<remarkLineBreak>",group:"Remark"});var N3=wi("remarkInlineLink",()=>kk);K(N3.plugin,{displayName:"Remark<remarkInlineLinkPlugin>",group:"Remark"});K(N3.options,{displayName:"RemarkConfig<remarkInlineLinkPlugin>",group:"Remark"});var yfe=t=>!!t.children,bfe=t=>t.type==="html";function _fe(t,e){return n(t,0,null)[0];function n(r,i,o){if(yfe(r)){let a=[];for(let s=0,l=r.children.length;s<l;s++){let c=r.children[s];if(c){let d=n(c,s,r);if(d)for(let u=0,f=d.length;u<f;u++){let h=d[u];h&&a.push(h)}}}r.children=a}return e(r,i,o)}}var R3=wi("remarkHTMLTransformer",()=>()=>t=>{_fe(t,(e,n,r)=>bfe(e)?(r?.type==="root"&&(e.children=[S({},e)],delete e.value,e.type="paragraph"),[e]):[e])});K(R3.plugin,{displayName:"Remark<remarkHtmlTransformer>",group:"Remark"});K(R3.options,{displayName:"RemarkConfig<remarkHtmlTransformer>",group:"Remark"});var j3=wi("remarkMarker",()=>()=>(t,e)=>{let n=r=>e.value.charAt(r.position.start.offset);io(t,r=>["strong","emphasis"].includes(r.type),r=>{r.marker=n(r)})});K(j3.plugin,{displayName:"Remark<remarkMarker>",group:"Remark"});K(j3.options,{displayName:"RemarkConfig<remarkMarker>",group:"Remark"});var UB=$t(()=>{let t=!1,e=new at("MILKDOWN_INLINE_NODES_CURSOR"),n=new Be({key:e,state:{init(){return!1},apply(r){if(!r.selection.empty)return!1;let i=r.selection.$from,o=i.nodeBefore,a=i.nodeAfter;return!!(o&&a&&o.isInline&&!o.isText&&a.isInline&&!a.isText)}},props:{handleDOMEvents:{compositionend:(r,i)=>t?(t=!1,requestAnimationFrame(()=>{if(n.getState(r.state)){let o=r.state.selection.from;i.preventDefault(),r.dispatch(r.state.tr.insertText(i.data||"",o))}}),!0):!1,compositionstart:r=>(n.getState(r.state)&&(t=!0),!1),beforeinput:(r,i)=>{if(n.getState(r.state)&&i instanceof InputEvent&&i.data&&!t){let o=r.state.selection.from;return i.preventDefault(),r.dispatch(r.state.tr.insertText(i.data||"",o)),!0}return!1}},decorations(r){if(n.getState(r)){let i=r.selection.$from.pos,o=document.createElement("span"),a=pn.widget(i,o,{side:-1}),s=document.createElement("span"),l=pn.widget(i,s);return setTimeout(()=>{o.contentEditable="true",s.contentEditable="true"}),Et.create(r.doc,[a,l])}return Et.empty}}});return n});K(UB,{displayName:"Prose<inlineNodesCursorPlugin>",group:"Prose"});var HB=$t(t=>new Be({key:new at("MILKDOWN_HARDBREAK_MARKS"),appendTransaction:(e,n,r)=>{if(!e.length)return;let[i]=e;if(!i)return;let[o]=i.steps;if(i.getMeta("hardbreak")){if(!(o instanceof pi))return;let{from:a}=o;return r.tr.setNodeMarkup(a,xu.type(t),void 0,[])}if(o instanceof Jd){let a=r.tr,{from:s,to:l}=o;return r.doc.nodesBetween(s,l,(c,d)=>{c.type===xu.type(t)&&(a=a.setNodeMarkup(d,xu.type(t),void 0,[]))}),a}}}));K(HB,{displayName:"Prose<hardbreakClearMarkPlugin>",group:"Prose"});var z3=Bt(["table","code_block"],"hardbreakFilterNodes");K(z3,{displayName:"Ctx<hardbreakFilterNodes>",group:"Prose"});var $B=$t(t=>{let e=t.get(z3.key);return new Be({key:new at("MILKDOWN_HARDBREAK_FILTER"),filterTransaction:(n,r)=>{let i=n.getMeta("hardbreak"),[o]=n.steps;if(i&&o){let{from:a}=o,s=r.doc.resolve(a),l=s.depth,c=!0;for(;l>0;)e.includes(s.node(l).type.name)&&(c=!1),l--;return c}return!0}})});K($B,{displayName:"Prose<hardbreakFilterPlugin>",group:"Prose"});var qB=$t(t=>{let e=new at("MILKDOWN_HEADING_ID"),n=r=>{if(r.composing||!r.editable)return;let i=t.get(Dk.key),o=r.state.tr.setMeta("addToHistory",!1),a=!1;r.state.doc.descendants((s,l)=>{if(s.type===Su.type(t)){if(s.textContent.trim().length===0)return;let c=s.attrs,d=i(s);c.id!==d&&(a=!0,o.setMeta(e,!0).setNodeMarkup(l,void 0,W(S({},c),{id:d})))}}),a&&r.dispatch(o)};return new Be({key:e,view:r=>(n(r),{update:i=>{n(i)}})})});K(qB,{displayName:"Prose<syncHeadingIdPlugin>",group:"Prose"});var WB=$t(t=>{let e=n=>{if(n.composing||!n.editable)return;let r=pp.type(t),i=hp.type(t),o=ao.type(t),a=n.state,s=(d,u)=>{let f=!1,h=`${u+1}.`;return d.label!==h&&(d.label=h,f=!0),f},l=a.tr,c=!1;a.doc.descendants((d,u,f,h)=>{if(d.type===i){let p=d.maybeChild(0);p?.type===o&&p.attrs.listType==="ordered"&&(c=!0,l.setNodeMarkup(u,r,{spread:"true"}),d.descendants((g,b,_,x)=>{if(g.type===o){let E=S({},g.attrs);s(E,x)&&(l=l.setNodeMarkup(b,void 0,E))}return!1}))}else if(d.type===o&&f?.type===r){let p=S({},d.attrs),g=!1;p.listType!=="ordered"&&(p.listType="ordered",g=!0),f?.maybeChild(0)&&(g=s(p,h)),g&&(l=l.setNodeMarkup(u,void 0,p),c=!0)}}),c&&n.dispatch(l.setMeta("addToHistory",!1))};return new Be({key:new at("MILKDOWN_KEEP_LIST_ORDER"),view:n=>(e(n),{update:r=>{e(r)}})})});K(WB,{displayName:"Prose<syncListOrderPlugin>",group:"Prose"});var wfe=[mp,VB,HB,z3,$B,UB,P3,N3,F3,R3,j3,qB,WB].flat(),GB=[Zue,Xue,Que,Jue,wfe].flat();var Mk=(()=>{let e=class e{constructor(){this.loading=!0,this.editor=void 0,this.GetEditor=()=>this.editor}get editorReturn(){return{loading:this.loading,get:this.GetEditor}}get instance(){return[this.loading,this.GetEditor]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();var YB=(()=>{let e=class e{static ngTemplateContextGuard(r,i){return!0}recreateView(){this.viewContainer.clear();let r=this.stringTemplateOutlet instanceof _n,i=r?this.stringTemplateOutlet:this.templateRef;this.embeddedViewRef=this.viewContainer.createEmbeddedView(i,r?this.stringTemplateOutletContext:this.context)}updateContext(){let i=this.stringTemplateOutlet instanceof _n?this.stringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(i)for(let a of Object.keys(i))o[a]=i[a]}constructor(r,i){this.viewContainer=r,this.templateRef=i,this.embeddedViewRef=null,this.context=new L3,this.stringTemplateOutletContext=null,this.stringTemplateOutlet=null}ngOnChanges(r){let{stringTemplateOutletContext:i,stringTemplateOutlet:o}=r,a=()=>{let l=!1;if(o)if(o.firstChange)l=!0;else{let u=o.previousValue instanceof _n,f=o.currentValue instanceof _n;l=u||f}return i&&(u=>{let f=Object.keys(u.previousValue||{}),h=Object.keys(u.currentValue||{});if(f.length===h.length){for(let p of h)if(f.indexOf(p)===-1)return!0;return!1}else return!0})(i)||l};o&&(this.context.$implicit=o.currentValue),a()?this.recreateView():this.updateContext()}};e.\u0275fac=function(i){return new(i||e)(R($n),R(_n))},e.\u0275dir=ve({type:e,selectors:[["","stringTemplateOutlet",""]],inputs:{stringTemplateOutletContext:"stringTemplateOutletContext",stringTemplateOutlet:"stringTemplateOutlet"},exportAs:["stringTemplateOutlet"],standalone:!0,features:[Qn]});let t=e;return t})(),L3=class{};var K0=(()=>{let e=class e{constructor(r){this.el=r}get createNodeView(){return this.provider.createNodeView}get createPluginView(){return this.provider.createPluginView}get createWidgetView(){return this.provider.createWidgetView}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["ng-prosemirror-editor"]],standalone:!0});let t=e;return t})();var kfe=["spinner"],xfe=["editorRef"];function Cfe(t,e){t&1&&m2(0)}function Dfe(t,e){if(t&1&&bt(0,Cfe,1,0,"ng-container",3),t&2){Qe();let n=sa(4);Me("stringTemplateOutlet",n)}}function Sfe(t,e){t&1&&St(0,"div")}var Efe=()=>[];function Mfe(t,e){t&1&&(H(0,"div",4)(1,"div",5),kr(2,Sfe,1,0,"div",null,Oi),Y()()),t&2&&(se(2),xr(tr(0,Efe).constructor(9)))}function KB(t){return t instanceof Promise}var Tk=(()=>{let e=class e extends K0{constructor(r,i){super(r),this.el=r,this.ngMilkdownService=i,this.classList=[],this.loadingChange=new Xe,this._spinner=null,this._userEditor=null,this.value=null,this.onChanged=new Xe,this.plugins=[],this.editorConfig=(o,a)=>null,this.onReady=new Xe,this.onTouched=()=>{},this.onChange=o=>{this.onChanged.emit(o)},this.disabled=!1}get loading(){return this.ngMilkdownService.loading}set loading(r){this.ngMilkdownService.loading=r}get spinner(){return this._spinner||this._defaultSpinner}set spinner(r){this._spinner=r}get editor(){return this.ngMilkdownService.editor}set editor(r){this.ngMilkdownService.editor=r}set userEditor(r){this._userEditor=r}get userEditor(){return this._userEditor}writeValue(r){r!=null&&(this.value=r,this.editor&&this.editor.config(i=>ot(this,null,function*(){i.set(rp,r)})))}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r}render(){return ot(this,null,function*(){if(this.userEditor){this.editor=yield this.userEditor(this.editorRef.nativeElement),this.onReady.emit(this.editor);return}setTimeout(()=>ot(this,null,function*(){let r=mB.make().config(i=>ot(this,null,function*(){i.set(L0,this.editorRef.nativeElement),i.set(rp,this.value),i.get(bk).markdownUpdated((o,a)=>{this.value=a,this.onChange(a)}),KB(this.editorConfig)?yield this.editorConfig(i,this.provider):this.editorConfig(i,this.provider)})).config(kB).use(GB).use(HT);for(let i of this.plugins)if(i.plugin&&i.config){let{plugin:o,config:a}=i;r=r.use(o),KB(a)?r=r.config(yield a):r=r.config(a)}else r=r.use(i);r=yield r.create(),this.loading=!1,this.loadingChange.emit(!1),this.onReady.emit(r),this.editor=r}))})}ngAfterViewInit(){return ot(this,null,function*(){yield this.render()})}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(Mk))},e.\u0275cmp=De({type:e,selectors:[["ng-milkdown"]],viewQuery:function(i,o){if(i&1&&(sn(kfe,5),sn(xfe,5)),i&2){let a;_t(a=wt())&&(o._defaultSpinner=a.first),_t(a=wt())&&(o.editorRef=a.first)}},inputs:{classList:"classList",loading:"loading",spinner:"spinner",userEditor:"userEditor",value:"value",plugins:"plugins",editorConfig:"editorConfig"},outputs:{loadingChange:"loadingChange",onChanged:"onChanged",onReady:"onReady"},standalone:!0,features:[Rn([{provide:jv,useExisting:xo(()=>e),multi:!0},{provide:K0,useExisting:xo(()=>e)},Mk]),ke,He],decls:5,vars:3,consts:[[1,"milkdown-editor"],["editorRef",""],["spinner",""],[4,"stringTemplateOutlet"],[1,"milkdown-spinner"],[1,"lds-grid"]],template:function(i,o){if(i&1&&(St(0,"div",0,1),bt(2,Dfe,1,1,"ng-container")(3,Mfe,4,1,"ng-template",null,2,Zw)),i&2){let a=sa(4);sr(o.classList),se(2),tn(2,o.loading&&a?2:-1)}},dependencies:[YB],styles:[`*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], [type=button][_ngcontent-%COMP%], [type=reset][_ngcontent-%COMP%], [type=submit][_ngcontent-%COMP%]{-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]{display:none}[type=text][_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where(:not([type])), [type=email][_ngcontent-%COMP%], [type=url][_ngcontent-%COMP%], [type=password][_ngcontent-%COMP%], [type=number][_ngcontent-%COMP%], [type=date][_ngcontent-%COMP%], [type=datetime-local][_ngcontent-%COMP%], [type=month][_ngcontent-%COMP%], [type=search][_ngcontent-%COMP%], [type=tel][_ngcontent-%COMP%], [type=time][_ngcontent-%COMP%], [type=week][_ngcontent-%COMP%], [multiple][_ngcontent-%COMP%], textarea[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text][_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:where(:not([type])):focus, [type=email][_ngcontent-%COMP%]:focus, [type=url][_ngcontent-%COMP%]:focus, [type=password][_ngcontent-%COMP%]:focus, [type=number][_ngcontent-%COMP%]:focus, [type=date][_ngcontent-%COMP%]:focus, [type=datetime-local][_ngcontent-%COMP%]:focus, [type=month][_ngcontent-%COMP%]:focus, [type=search][_ngcontent-%COMP%]:focus, [type=tel][_ngcontent-%COMP%]:focus, [type=time][_ngcontent-%COMP%]:focus, [type=week][_ngcontent-%COMP%]:focus, [multiple][_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]:focus, select[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{color:#6b7280;opacity:1}[_ngcontent-%COMP%]::-webkit-datetime-edit-fields-wrapper{padding:0}[_ngcontent-%COMP%]::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}[_ngcontent-%COMP%]::-webkit-datetime-edit{display:inline-flex}[_ngcontent-%COMP%]::-webkit-datetime-edit, [_ngcontent-%COMP%]::-webkit-datetime-edit-year-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-month-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-day-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-hour-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-minute-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-second-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-millisecond-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple][_ngcontent-%COMP%], [size][_ngcontent-%COMP%]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox][_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox][_ngcontent-%COMP%]{border-radius:0}[type=radio][_ngcontent-%COMP%]{border-radius:100%}[type=checkbox][_ngcontent-%COMP%]:focus, [type=radio][_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox][_ngcontent-%COMP%]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox][_ngcontent-%COMP%]:checked{appearance:auto}}[type=radio][_ngcontent-%COMP%]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio][_ngcontent-%COMP%]:checked{appearance:auto}}[type=checkbox][_ngcontent-%COMP%]:checked:hover, [type=checkbox][_ngcontent-%COMP%]:checked:focus, [type=radio][_ngcontent-%COMP%]:checked:hover, [type=radio][_ngcontent-%COMP%]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox][_ngcontent-%COMP%]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox][_ngcontent-%COMP%]:indeterminate{appearance:auto}}[type=checkbox][_ngcontent-%COMP%]:indeterminate:hover, [type=checkbox][_ngcontent-%COMP%]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file][_ngcontent-%COMP%]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file][_ngcontent-%COMP%]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.container[_ngcontent-%COMP%]{max-width:1536px}}.prose[_ngcontent-%COMP%]{color:var(--tw-prose-body);max-width:65ch}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(p):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em;margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where([class~=lead]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(a):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(strong):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-bold);font-weight:600}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(a strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%] strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=A]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=a]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=A s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=a s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=I]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=i]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=I s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=i s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type="1"]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:decimal}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]::marker{font-weight:400;color:var(--tw-prose-counters)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]::marker{color:var(--tw-prose-bullets)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dt):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\\201c""\\201d""\\2018""\\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote p[_ngcontent-%COMP%]:first-of-type):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:before{content:open-quote}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote p[_ngcontent-%COMP%]:last-of-type):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:after{content:close-quote}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:900;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:800;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:700;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:700;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(img):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{display:block;margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(kbd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:before{content:"\`"}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:after{content:"\`"}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(a code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit;font-size:.875em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit;font-size:.9em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%] code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:before{content:none}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:after{content:none}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(table):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody tr)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody tr[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-bottom-width:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{vertical-align:baseline}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tfoot):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tfoot td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{vertical-align:top}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure > *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figcaption):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose[_ngcontent-%COMP%]{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture > img)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(video):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(li):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.5em;margin-bottom:.5em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.375em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.375em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] p)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.75em;margin-bottom:.75em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul ul[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] ol[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ol)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.75em;margin-bottom:.75em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dl):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em;margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.5em;padding-left:1.625em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%], tfoot[_ngcontent-%COMP%] td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding:.5714286em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:first-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:last-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > [_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > [_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:0}.form-checkbox[_ngcontent-%COMP%], .form-radio[_ngcontent-%COMP%]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}.form-checkbox[_ngcontent-%COMP%]{border-radius:0}.form-checkbox[_ngcontent-%COMP%]:focus, .form-radio[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.form-checkbox[_ngcontent-%COMP%]:checked, .form-radio[_ngcontent-%COMP%]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}.form-checkbox[_ngcontent-%COMP%]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){.form-checkbox[_ngcontent-%COMP%]:checked{appearance:auto}}.form-checkbox[_ngcontent-%COMP%]:checked:hover, .form-checkbox[_ngcontent-%COMP%]:checked:focus, .form-radio[_ngcontent-%COMP%]:checked:hover, .form-radio[_ngcontent-%COMP%]:checked:focus{border-color:transparent;background-color:currentColor}.form-checkbox[_ngcontent-%COMP%]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){.form-checkbox[_ngcontent-%COMP%]:indeterminate{appearance:auto}}.form-checkbox[_ngcontent-%COMP%]:indeterminate:hover, .form-checkbox[_ngcontent-%COMP%]:indeterminate:focus{border-color:transparent;background-color:currentColor}.static[_ngcontent-%COMP%]{position:static}.fixed[_ngcontent-%COMP%]{position:fixed}.absolute[_ngcontent-%COMP%]{position:absolute}.relative[_ngcontent-%COMP%]{position:relative}.-left-3[_ngcontent-%COMP%]{left:-.75rem}.-left-3\\.5[_ngcontent-%COMP%]{left:-.875rem}.-left-4[_ngcontent-%COMP%]{left:-1rem}.-top-3[_ngcontent-%COMP%]{top:-.75rem}.-top-3\\.5[_ngcontent-%COMP%]{top:-.875rem}.-top-4[_ngcontent-%COMP%]{top:-1rem}.left-0[_ngcontent-%COMP%]{left:0}.right-0[_ngcontent-%COMP%]{right:0}.right-1[_ngcontent-%COMP%]{right:.25rem}.right-px[_ngcontent-%COMP%]{right:1px}.top-0[_ngcontent-%COMP%]{top:0}.top-1[_ngcontent-%COMP%]{top:.25rem}.\\!m-0[_ngcontent-%COMP%]{margin:0!important}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.\\!mb-4[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.box-border[_ngcontent-%COMP%]{box-sizing:border-box}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.flex[_ngcontent-%COMP%]{display:flex}.inline-flex[_ngcontent-%COMP%]{display:inline-flex}.table[_ngcontent-%COMP%]{display:table}.list-item[_ngcontent-%COMP%]{display:list-item}.hidden[_ngcontent-%COMP%]{display:none}.h-10[_ngcontent-%COMP%]{height:2.5rem}.h-2[_ngcontent-%COMP%]{height:.5rem}.h-3[_ngcontent-%COMP%]{height:.75rem}.h-48[_ngcontent-%COMP%]{height:12rem}.h-6[_ngcontent-%COMP%]{height:1.5rem}.h-\\__ph-0__[_ngcontent-%COMP%]{height:1em}.h-full[_ngcontent-%COMP%]{height:100%}.w-10[_ngcontent-%COMP%]{width:2.5rem}.w-2[_ngcontent-%COMP%]{width:.5rem}.w-3[_ngcontent-%COMP%]{width:.75rem}.w-6[_ngcontent-%COMP%]{width:1.5rem}.w-64[_ngcontent-%COMP%]{width:16rem}.w-96[_ngcontent-%COMP%]{width:24rem}.w-\\__ph-0__[_ngcontent-%COMP%]{width:1em}.w-full[_ngcontent-%COMP%]{width:100%}.min-w-0[_ngcontent-%COMP%]{min-width:0px}.flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-grab[_ngcontent-%COMP%]{cursor:grab}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.list-none[_ngcontent-%COMP%]{list-style-type:none}.flex-row[_ngcontent-%COMP%]{flex-direction:row}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-start[_ngcontent-%COMP%]{align-items:flex-start}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overscroll-none[_ngcontent-%COMP%]{overscroll-behavior:none}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.\\!border-0[_ngcontent-%COMP%]{border-width:0px!important}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.border-l-4[_ngcontent-%COMP%]{border-left-width:4px}.border-none[_ngcontent-%COMP%]{border-style:none}.border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-nord10[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity))}.border-nord4[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(216 222 233 / var(--tw-border-opacity))}.border-b-blue-50[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-bottom-color:rgb(239 246 255 / var(--tw-border-opacity))}.bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-400[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-nord8[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.bg-slate-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-3[_ngcontent-%COMP%]{padding:.75rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-5[_ngcontent-%COMP%]{padding:1.25rem}.px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.py-0[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}.py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pl-4[_ngcontent-%COMP%]{padding-left:1rem}.pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.align-text-top[_ngcontent-%COMP%]{vertical-align:text-top}.font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base[_ngcontent-%COMP%]{font-size:1rem!important;line-height:1.5rem!important}.text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.font-light[_ngcontent-%COMP%]{font-weight:300}.font-medium[_ngcontent-%COMP%]{font-weight:500}.leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.tracking-tight[_ngcontent-%COMP%]{letter-spacing:-.025em}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-50[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-nord-10[_ngcontent-%COMP%], .text-nord10[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.text-nord8[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline[_ngcontent-%COMP%]{text-decoration-line:underline}.opacity-80[_ngcontent-%COMP%]{opacity:.8}.shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.ring[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur[_ngcontent-%COMP%]{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ease-in-out[_ngcontent-%COMP%]{transition-timing-function:cubic-bezier(.4,0,.2,1)}[_nghost-%COMP%]{display:contents}.milkdown-spinner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:999;width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center}.lds-grid[_ngcontent-%COMP%]{display:inline-block;position:relative;width:80px;height:80px}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;width:16px;height:16px;border-radius:50%;background:#81A1C1;animation:_ngcontent-%COMP%_lds-grid 1.2s linear infinite}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1){top:8px;left:8px;animation-delay:0s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){top:8px;left:32px;animation-delay:-.4s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(3){top:8px;left:56px;animation-delay:-.8s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(4){top:32px;left:8px;animation-delay:-.4s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(5){top:32px;left:32px;animation-delay:-.8s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(6){top:32px;left:56px;animation-delay:-1.2s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(7){top:56px;left:8px;animation-delay:-.8s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(8){top:56px;left:32px;animation-delay:-1.2s}.lds-grid[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(9){top:56px;left:56px;animation-delay:-1.6s}@keyframes _ngcontent-%COMP%_lds-grid{0%,to{opacity:1}50%{opacity:.5}}[_ngcontent-%COMP%]:is(.dark .dark\\:prose-invert)[_ngcontent-%COMP%]{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}@media (min-width: 1024px){.lg\\:prose-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.8}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(p):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where([class~=lead]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.5;margin-top:1em;margin-bottom:1em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.6em;margin-bottom:1.6em;padding-left:1.0666667em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:2.8em;margin-top:0;margin-bottom:.8571429em;line-height:1}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:1.8em;margin-top:1.5555556em;margin-bottom:.8888889em;line-height:1.1111111}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:1.5em;margin-top:1.6em;margin-bottom:.6666667em;line-height:1.3333333}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.8em;margin-bottom:.6em;line-height:1.6}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(img):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture > img)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(video):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(kbd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;border-radius:.3125rem;padding:.25em .4em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.8611111em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;line-height:1.7777778;margin-top:2em;margin-bottom:2em;border-radius:.5rem;padding:1.1111111em 1.3333333em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(li):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.6em;margin-bottom:.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.4em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.4em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] p)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.8em;margin-bottom:.8em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul ul[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] ol[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ol)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.8em;margin-bottom:.8em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dl):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dt):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.6em;padding-left:1.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2.8em;margin-bottom:2.8em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(table):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5555556}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:.6666667em;padding-bottom:.8888889em;padding-left:.6666667em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%], tfoot[_ngcontent-%COMP%] td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding:.8888889em .6666667em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:first-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:last-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure > *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figcaption):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5555556;margin-top:1em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > [_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > [_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:0}}@media (hover: hover) and (pointer: fine){.hover\\:bg-blue-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\\:bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\\:bg-gray-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\\:bg-gray-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-green-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\\:bg-green-400[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\\:bg-nord8[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.hover\\:bg-red-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\\:bg-slate-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\\:text-gray-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}}.focus\\:border-indigo-300[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.focus\\:ring[_ngcontent-%COMP%]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-2[_ngcontent-%COMP%]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-indigo-200\\/50[_ngcontent-%COMP%]:focus{--tw-ring-color: rgb(199 210 254 / .5)}.focus\\:ring-offset-2[_ngcontent-%COMP%]:focus{--tw-ring-offset-width: 2px}[_ngcontent-%COMP%]:is(.dark .dark\\:divide-gray-600)[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:border-gray-500)[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:border-gray-600)[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:border-nord8)[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(136 192 208 / var(--tw-border-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-black)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-500)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-600)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-800)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-900)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-green-600)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-nord9)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-red-600)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:text-nord-9)[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(129 161 193 / var(--tw-text-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:text-nord8)[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}@media (hover: hover) and (pointer: fine){[_ngcontent-%COMP%]:is(.dark .dark\\:hover\\:bg-gray-500[_ngcontent-%COMP%]:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .hover\\:dark\\:bg-nord9)[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}}`]});let t=e;return t})();var PV=wo(V0(),1);var Ln="top",fr="bottom",rr="right",qn="left",Ak="auto",Sc=[Ln,fr,rr,qn],Js="start",Tu="end",ZB="clippingParents",Ik="viewport",gp="popper",XB="reference",B3=Sc.reduce(function(t,e){return t.concat([e+"-"+Js,e+"-"+Tu])},[]),Ok=[].concat(Sc,[Ak]).reduce(function(t,e){return t.concat([e,e+"-"+Js,e+"-"+Tu])},[]),Tfe="beforeRead",Afe="read",Ife="afterRead",Ofe="beforeMain",Pfe="main",Ffe="afterMain",Nfe="beforeWrite",Rfe="write",jfe="afterWrite",QB=[Tfe,Afe,Ife,Ofe,Pfe,Ffe,Nfe,Rfe,jfe];function Er(t){return t?(t.nodeName||"").toLowerCase():null}function Cn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function No(t){var e=Cn(t).Element;return t instanceof e||t instanceof Element}function hr(t){var e=Cn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function yp(t){if(typeof ShadowRoot>"u")return!1;var e=Cn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function zfe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!hr(o)||!Er(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Lfe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!hr(i)||!Er(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}var Z0={name:"applyStyles",enabled:!0,phase:"write",fn:zfe,effect:Lfe,requires:["computeStyles"]};function Mr(t){return t.split("-")[0]}var ga=Math.max,Au=Math.min,el=Math.round;function bp(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function X0(){return!/^((?!chrome|android).)*safari/i.test(bp())}function Ro(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&hr(t)&&(i=t.offsetWidth>0&&el(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&el(r.height)/t.offsetHeight||1);var a=No(t)?Cn(t):window,s=a.visualViewport,l=!X0()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,u=r.width/i,f=r.height/o;return{width:u,height:f,top:d,right:c+u,bottom:d+f,left:c,x:c,y:d}}function Iu(t){var e=Ro(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Q0(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&yp(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function vi(t){return Cn(t).getComputedStyle(t)}function V3(t){return["table","td","th"].indexOf(Er(t))>=0}function Vr(t){return((No(t)?t.ownerDocument:t.document)||window.document).documentElement}function tl(t){return Er(t)==="html"?t:t.assignedSlot||t.parentNode||(yp(t)?t.host:null)||Vr(t)}function JB(t){return!hr(t)||vi(t).position==="fixed"?null:t.offsetParent}function Bfe(t){var e=/firefox/i.test(bp()),n=/Trident/i.test(bp());if(n&&hr(t)){var r=vi(t);if(r.position==="fixed")return null}var i=tl(t);for(yp(i)&&(i=i.host);hr(i)&&["html","body"].indexOf(Er(i))<0;){var o=vi(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ya(t){for(var e=Cn(t),n=JB(t);n&&V3(n)&&vi(n).position==="static";)n=JB(n);return n&&(Er(n)==="html"||Er(n)==="body"&&vi(n).position==="static")?e:n||Bfe(t)||e}function Ou(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Pu(t,e,n){return ga(t,Au(e,n))}function eV(t,e,n){var r=Pu(t,e,n);return r>n?n:r}function J0(){return{top:0,right:0,bottom:0,left:0}}function ey(t){return Object.assign({},J0(),t)}function ty(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Vfe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,ey(typeof e!="number"?e:ty(e,Sc))};function Ufe(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Mr(n.placement),l=Ou(s),c=[qn,rr].indexOf(s)>=0,d=c?"height":"width";if(!(!o||!a)){var u=Vfe(i.padding,n),f=Iu(o),h=l==="y"?Ln:qn,p=l==="y"?fr:rr,g=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],b=a[l]-n.rects.reference[l],_=ya(o),x=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,E=g/2-b/2,v=u[h],j=x-f[d]-u[p],C=x/2-f[d]/2+E,P=Pu(v,C,j),z=l;n.modifiersData[r]=(e={},e[z]=P,e.centerOffset=P-C,e)}}function Hfe(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||Q0(e.elements.popper,i)&&(e.elements.arrow=i))}var tV={name:"arrow",enabled:!0,phase:"main",fn:Ufe,effect:Hfe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jo(t){return t.split("-")[1]}var $fe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qfe(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:el(n*i)/i||0,y:el(r*i)/i||0}}function nV(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,d=t.roundOffsets,u=t.isFixed,f=a.x,h=f===void 0?0:f,p=a.y,g=p===void 0?0:p,b=typeof d=="function"?d({x:h,y:g}):{x:h,y:g};h=b.x,g=b.y;var _=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),E=qn,v=Ln,j=window;if(c){var C=ya(n),P="clientHeight",z="clientWidth";if(C===Cn(n)&&(C=Vr(n),vi(C).position!=="static"&&s==="absolute"&&(P="scrollHeight",z="scrollWidth")),C=C,i===Ln||(i===qn||i===rr)&&o===Tu){v=fr;var N=u&&C===j&&j.visualViewport?j.visualViewport.height:C[P];g-=N-r.height,g*=l?1:-1}if(i===qn||(i===Ln||i===fr)&&o===Tu){E=rr;var O=u&&C===j&&j.visualViewport?j.visualViewport.width:C[z];h-=O-r.width,h*=l?1:-1}}var J=Object.assign({position:s},c&&$fe),V=d===!0?qfe({x:h,y:g},Cn(n)):{x:h,y:g};if(h=V.x,g=V.y,l){var G;return Object.assign({},J,(G={},G[v]=x?"0":"",G[E]=_?"0":"",G.transform=(j.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",G))}return Object.assign({},J,(e={},e[v]=x?g+"px":"",e[E]=_?h+"px":"",e.transform="",e))}function Wfe(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Mr(e.placement),variation:jo(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,nV(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,nV(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var rV={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Wfe,data:{}};var Pk={passive:!0};function Gfe(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Cn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",n.update,Pk)}),s&&l.addEventListener("resize",n.update,Pk),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Pk)}),s&&l.removeEventListener("resize",n.update,Pk)}}var iV={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Gfe,data:{}};var Yfe={left:"right",right:"left",bottom:"top",top:"bottom"};function _p(t){return t.replace(/left|right|bottom|top/g,function(e){return Yfe[e]})}var Kfe={start:"end",end:"start"};function Fk(t){return t.replace(/start|end/g,function(e){return Kfe[e]})}function Fu(t){var e=Cn(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Nu(t){return Ro(Vr(t)).left+Fu(t).scrollLeft}function U3(t,e){var n=Cn(t),r=Vr(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=X0();(c||!c&&e==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Nu(t),y:l}}function H3(t){var e,n=Vr(t),r=Fu(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ga(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ga(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Nu(t),l=-r.scrollTop;return vi(i||n).direction==="rtl"&&(s+=ga(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function Ru(t){var e=vi(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Nk(t){return["html","body","#document"].indexOf(Er(t))>=0?t.ownerDocument.body:hr(t)&&Ru(t)?t:Nk(tl(t))}function Ec(t,e){var n;e===void 0&&(e=[]);var r=Nk(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Cn(r),a=i?[o].concat(o.visualViewport||[],Ru(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(Ec(tl(a)))}function wp(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Zfe(t,e){var n=Ro(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function oV(t,e,n){return e===Ik?wp(U3(t,n)):No(e)?Zfe(e,n):wp(H3(Vr(t)))}function Xfe(t){var e=Ec(tl(t)),n=["absolute","fixed"].indexOf(vi(t).position)>=0,r=n&&hr(t)?ya(t):t;return No(r)?e.filter(function(i){return No(i)&&Q0(i,r)&&Er(i)!=="body"}):[]}function $3(t,e,n,r){var i=e==="clippingParents"?Xfe(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var d=oV(t,c,r);return l.top=ga(d.top,l.top),l.right=Au(d.right,l.right),l.bottom=Au(d.bottom,l.bottom),l.left=ga(d.left,l.left),l},oV(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ny(t){var e=t.reference,n=t.element,r=t.placement,i=r?Mr(r):null,o=r?jo(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,l;switch(i){case Ln:l={x:a,y:e.y-n.height};break;case fr:l={x:a,y:e.y+e.height};break;case rr:l={x:e.x+e.width,y:s};break;case qn:l={x:e.x-n.width,y:s};break;default:l={x:e.x,y:e.y}}var c=i?Ou(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case Js:l[c]=l[c]-(e[d]/2-n[d]/2);break;case Tu:l[c]=l[c]+(e[d]/2-n[d]/2);break;default:}}return l}function ba(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,l=s===void 0?ZB:s,c=n.rootBoundary,d=c===void 0?Ik:c,u=n.elementContext,f=u===void 0?gp:u,h=n.altBoundary,p=h===void 0?!1:h,g=n.padding,b=g===void 0?0:g,_=ey(typeof b!="number"?b:ty(b,Sc)),x=f===gp?XB:gp,E=t.rects.popper,v=t.elements[p?x:f],j=$3(No(v)?v:v.contextElement||Vr(t.elements.popper),l,d,a),C=Ro(t.elements.reference),P=ny({reference:C,element:E,strategy:"absolute",placement:i}),z=wp(Object.assign({},E,P)),N=f===gp?z:C,O={top:j.top-N.top+_.top,bottom:N.bottom-j.bottom+_.bottom,left:j.left-N.left+_.left,right:N.right-j.right+_.right},J=t.modifiersData.offset;if(f===gp&&J){var V=J[i];Object.keys(O).forEach(function(G){var ie=[rr,fr].indexOf(G)>=0?1:-1,me=[Ln,fr].indexOf(G)>=0?"y":"x";O[G]+=V[me]*ie})}return O}function q3(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Ok:l,d=jo(r),u=d?s?B3:B3.filter(function(p){return jo(p)===d}):Sc,f=u.filter(function(p){return c.indexOf(p)>=0});f.length===0&&(f=u);var h=f.reduce(function(p,g){return p[g]=ba(t,{placement:g,boundary:i,rootBoundary:o,padding:a})[Mr(g)],p},{});return Object.keys(h).sort(function(p,g){return h[p]-h[g]})}function Qfe(t){if(Mr(t)===Ak)return[];var e=_p(t);return[Fk(t),e,Fk(e)]}function Jfe(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=h===void 0?!0:h,g=n.allowedAutoPlacements,b=e.options.placement,_=Mr(b),x=_===b,E=l||(x||!p?[_p(b)]:Qfe(b)),v=[b].concat(E).reduce(function(Ge,Qt){return Ge.concat(Mr(Qt)===Ak?q3(e,{placement:Qt,boundary:d,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:g}):Qt)},[]),j=e.rects.reference,C=e.rects.popper,P=new Map,z=!0,N=v[0],O=0;O<v.length;O++){var J=v[O],V=Mr(J),G=jo(J)===Js,ie=[Ln,fr].indexOf(V)>=0,me=ie?"width":"height",q=ba(e,{placement:J,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),X=ie?G?rr:qn:G?fr:Ln;j[me]>C[me]&&(X=_p(X));var ee=_p(X),_e=[];if(o&&_e.push(q[V]<=0),s&&_e.push(q[X]<=0,q[ee]<=0),_e.every(function(Ge){return Ge})){N=J,z=!1;break}P.set(J,_e)}if(z)for(var D=p?3:1,je=function(Qt){var _r=v.find(function(Nt){var mt=P.get(Nt);if(mt)return mt.slice(0,Qt).every(function(Wt){return Wt})});if(_r)return N=_r,"break"},Ie=D;Ie>0;Ie--){var I=je(Ie);if(I==="break")break}e.placement!==N&&(e.modifiersData[r]._skip=!0,e.placement=N,e.reset=!0)}}var aV={name:"flip",enabled:!0,phase:"main",fn:Jfe,requiresIfExists:["offset"],data:{_skip:!1}};function sV(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function lV(t){return[Ln,rr,fr,qn].some(function(e){return t[e]>=0})}function ehe(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=ba(e,{elementContext:"reference"}),s=ba(e,{altBoundary:!0}),l=sV(a,r),c=sV(s,i,o),d=lV(l),u=lV(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}var cV={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ehe};function the(t,e,n){var r=Mr(t),i=[qn,Ln].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[qn,rr].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function nhe(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Ok.reduce(function(d,u){return d[u]=the(u,e.rects,o),d},{}),s=a[e.placement],l=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}var dV={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nhe};function rhe(t){var e=t.state,n=t.name;e.modifiersData[n]=ny({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var uV={name:"popperOffsets",enabled:!0,phase:"read",fn:rhe,data:{}};function W3(t){return t==="x"?"y":"x"}function ihe(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,f=n.tether,h=f===void 0?!0:f,p=n.tetherOffset,g=p===void 0?0:p,b=ba(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),_=Mr(e.placement),x=jo(e.placement),E=!x,v=Ou(_),j=W3(v),C=e.modifiersData.popperOffsets,P=e.rects.reference,z=e.rects.popper,N=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,O=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),J=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(C){if(o){var G,ie=v==="y"?Ln:qn,me=v==="y"?fr:rr,q=v==="y"?"height":"width",X=C[v],ee=X+b[ie],_e=X-b[me],D=h?-z[q]/2:0,je=x===Js?P[q]:z[q],Ie=x===Js?-z[q]:-P[q],I=e.elements.arrow,Ge=h&&I?Iu(I):{width:0,height:0},Qt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:J0(),_r=Qt[ie],Nt=Qt[me],mt=Pu(0,P[q],Ge[q]),Wt=E?P[q]/2-D-mt-_r-O.mainAxis:je-mt-_r-O.mainAxis,Jt=E?-P[q]/2+D+mt+Nt+O.mainAxis:Ie+mt+Nt+O.mainAxis,or=e.elements.arrow&&ya(e.elements.arrow),Zi=or?v==="y"?or.clientTop||0:or.clientLeft||0:0,Zo=(G=J?.[v])!=null?G:0,Xo=X+Wt-Zo-Zi,Ia=X+Jt-Zo,Qo=Pu(h?Au(ee,Xo):ee,X,h?ga(_e,Ia):_e);C[v]=Qo,V[v]=Qo-X}if(s){var Jo,yo=v==="x"?Ln:qn,bo=v==="x"?fr:rr,ea=C[j],Oa=j==="y"?"height":"width",nd=ea+b[yo],Es=ea-b[bo],rd=[Ln,qn].indexOf(_)!==-1,$=(Jo=J?.[j])!=null?Jo:0,he=rd?nd:ea-P[Oa]-z[Oa]-$+O.altAxis,et=rd?ea+P[Oa]+z[Oa]-$-O.altAxis:Es,xt=h&&rd?eV(he,ea,et):Pu(h?he:nd,ea,h?et:Es);C[j]=xt,V[j]=xt-ea}e.modifiersData[r]=V}}var fV={name:"preventOverflow",enabled:!0,phase:"main",fn:ihe,requiresIfExists:["offset"]};function G3(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Y3(t){return t===Cn(t)||!hr(t)?Fu(t):G3(t)}function ohe(t){var e=t.getBoundingClientRect(),n=el(e.width)/t.offsetWidth||1,r=el(e.height)/t.offsetHeight||1;return n!==1||r!==1}function K3(t,e,n){n===void 0&&(n=!1);var r=hr(e),i=hr(e)&&ohe(e),o=Vr(e),a=Ro(t,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Er(e)!=="body"||Ru(o))&&(s=Y3(e)),hr(e)?(l=Ro(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Nu(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function ahe(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=e.get(s);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function Z3(t){var e=ahe(t);return QB.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function X3(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Q3(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var hV={placement:"bottom",modifiers:[],strategy:"absolute"};function pV(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function mV(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,i=e.defaultOptions,o=i===void 0?hV:i;return function(s,l,c){c===void 0&&(c=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},hV,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},u=[],f=!1,h={state:d,setOptions:function(_){var x=typeof _=="function"?_(d.options):_;g(),d.options=Object.assign({},o,d.options,x),d.scrollParents={reference:No(s)?Ec(s):s.contextElement?Ec(s.contextElement):[],popper:Ec(l)};var E=Z3(Q3([].concat(r,d.options.modifiers)));return d.orderedModifiers=E.filter(function(v){return v.enabled}),p(),h.update()},forceUpdate:function(){if(!f){var _=d.elements,x=_.reference,E=_.popper;if(pV(x,E)){d.rects={reference:K3(x,ya(E),d.options.strategy==="fixed"),popper:Iu(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(O){return d.modifiersData[O.name]=Object.assign({},O.data)});for(var v=0;v<d.orderedModifiers.length;v++){if(d.reset===!0){d.reset=!1,v=-1;continue}var j=d.orderedModifiers[v],C=j.fn,P=j.options,z=P===void 0?{}:P,N=j.name;typeof C=="function"&&(d=C({state:d,options:z,name:N,instance:h})||d)}}}},update:X3(function(){return new Promise(function(b){h.forceUpdate(),b(d)})}),destroy:function(){g(),f=!0}};if(!pV(s,l))return h;h.setOptions(c).then(function(b){!f&&c.onFirstUpdate&&c.onFirstUpdate(b)});function p(){d.orderedModifiers.forEach(function(b){var _=b.name,x=b.options,E=x===void 0?{}:x,v=b.effect;if(typeof v=="function"){var j=v({state:d,name:_,instance:h,options:E}),C=function(){};u.push(j||C)}})}function g(){u.forEach(function(b){return b()}),u=[]}return h}}var she=[iV,uV,rV,Z0,dV,aV,fV,tV,cV],J3=mV({defaultModifiers:she});var lhe="tippy-box",DV="tippy-content",che="tippy-backdrop",SV="tippy-arrow",EV="tippy-svg-arrow",ju={passive:!0,capture:!0},MV=function(){return document.body};function eA(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function aA(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function TV(t,e){return typeof t=="function"?t.apply(void 0,e):t}function gV(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function dhe(t){return t.split(/\s+/).filter(Boolean)}function vp(t){return[].concat(t)}function yV(t,e){t.indexOf(e)===-1&&t.push(e)}function uhe(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function fhe(t){return t.split("-")[0]}function jk(t){return[].slice.call(t)}function bV(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function ry(){return document.createElement("div")}function zk(t){return["Element","Fragment"].some(function(e){return aA(t,e)})}function hhe(t){return aA(t,"NodeList")}function phe(t){return aA(t,"MouseEvent")}function mhe(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function ghe(t){return zk(t)?[t]:hhe(t)?jk(t):Array.isArray(t)?t:jk(document.querySelectorAll(t))}function tA(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function _V(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function yhe(t){var e,n=vp(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function bhe(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,c=fhe(a.placement),d=a.modifiersData.offset;if(!d)return!0;var u=c==="bottom"?d.top.y:0,f=c==="top"?d.bottom.y:0,h=c==="right"?d.left.x:0,p=c==="left"?d.right.x:0,g=o.top-r+u>l,b=r-o.bottom-f>l,_=o.left-n+h>l,x=n-o.right-p>l;return g||b||_||x})}function nA(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function wV(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var ts={isTouch:!1},vV=0;function _he(){ts.isTouch||(ts.isTouch=!0,window.performance&&document.addEventListener("mousemove",AV))}function AV(){var t=performance.now();t-vV<20&&(ts.isTouch=!1,document.removeEventListener("mousemove",AV)),vV=t}function whe(){var t=document.activeElement;if(mhe(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function vhe(){document.addEventListener("touchstart",_he,ju),window.addEventListener("blur",whe)}var khe=typeof window<"u"&&typeof document<"u",xhe=khe?!!window.msCrypto:!1;var Che={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Dhe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},_a=Object.assign({appendTo:MV,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Che,Dhe),She=Object.keys(_a),Ehe=function(e){var n=Object.keys(e);n.forEach(function(r){_a[r]=e[r]})};function IV(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=t[o]!==void 0?t[o]:(s=_a[o])!=null?s:a}return r},{});return Object.assign({},t,n)}function Mhe(t,e){var n=e?Object.keys(IV(Object.assign({},_a,{plugins:e}))):She,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function kV(t,e){var n=Object.assign({},e,{content:TV(e.content,[t])},e.ignoreAttributes?{}:Mhe(t,e.plugins));return n.aria=Object.assign({},_a.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var The=function(){return"innerHTML"};function iA(t,e){t[The()]=e}function xV(t){var e=ry();return t===!0?e.className=SV:(e.className=EV,zk(t)?e.appendChild(t):iA(e,t)),e}function CV(t,e){zk(e.content)?(iA(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?iA(t,e.content):t.textContent=e.content)}function oA(t){var e=t.firstElementChild,n=jk(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(DV)}),arrow:n.find(function(r){return r.classList.contains(SV)||r.classList.contains(EV)}),backdrop:n.find(function(r){return r.classList.contains(che)})}}function OV(t){var e=ry(),n=ry();n.className=lhe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ry();r.className=DV,r.setAttribute("data-state","hidden"),CV(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var s=oA(e),l=s.box,c=s.content,d=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&CV(c,t.props),a.arrow?d?o.arrow!==a.arrow&&(l.removeChild(d),l.appendChild(xV(a.arrow))):l.appendChild(xV(a.arrow)):d&&l.removeChild(d)}return{popper:e,onUpdate:i}}OV.$$tippy=!0;var Ahe=1,Rk=[],rA=[];function Ihe(t,e){var n=kV(t,Object.assign({},_a,IV(bV(e)))),r,i,o,a=!1,s=!1,l=!1,c=!1,d,u,f,h=[],p=gV(Xo,n.interactiveDebounce),g,b=Ahe++,_=null,x=uhe(n.plugins),E={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},v={id:b,reference:t,popper:ry(),popperInstance:_,props:n,state:E,plugins:x,clearDelayTimeouts:he,setProps:et,setContent:xt,show:Gt,hide:Xi,hideWithInteractivity:Ms,enable:rd,disable:$,unmount:ta,destroy:id};if(!n.render)return v;var j=n.render(v),C=j.popper,P=j.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+v.id,v.popper=C,t._tippy=v,C._tippy=v;var z=x.map(function(U){return U.fn(v)}),N=t.hasAttribute("aria-expanded");return or(),D(),X(),ee("onCreate",[v]),n.showOnCreate&&nd(),C.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),C.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&ie().addEventListener("mousemove",p)}),v;function O(){var U=v.props.touch;return Array.isArray(U)?U:[U,0]}function J(){return O()[0]==="hold"}function V(){var U;return!!((U=v.props.render)!=null&&U.$$tippy)}function G(){return g||t}function ie(){var U=G().parentNode;return U?yhe(U):document}function me(){return oA(C)}function q(U){return v.state.isMounted&&!v.state.isVisible||ts.isTouch||d&&d.type==="focus"?0:eA(v.props.delay,U?0:1,_a.delay)}function X(U){U===void 0&&(U=!1),C.style.pointerEvents=v.props.interactive&&!U?"":"none",C.style.zIndex=""+v.props.zIndex}function ee(U,ge,Ve){if(Ve===void 0&&(Ve=!0),z.forEach(function(Vt){Vt[U]&&Vt[U].apply(Vt,ge)}),Ve){var Ct;(Ct=v.props)[U].apply(Ct,ge)}}function _e(){var U=v.props.aria;if(U.content){var ge="aria-"+U.content,Ve=C.id,Ct=vp(v.props.triggerTarget||t);Ct.forEach(function(Vt){var si=Vt.getAttribute(ge);if(v.state.isVisible)Vt.setAttribute(ge,si?si+" "+Ve:Ve);else{var _o=si&&si.replace(Ve,"").trim();_o?Vt.setAttribute(ge,_o):Vt.removeAttribute(ge)}})}}function D(){if(!(N||!v.props.aria.expanded)){var U=vp(v.props.triggerTarget||t);U.forEach(function(ge){v.props.interactive?ge.setAttribute("aria-expanded",v.state.isVisible&&ge===G()?"true":"false"):ge.removeAttribute("aria-expanded")})}}function je(){ie().removeEventListener("mousemove",p),Rk=Rk.filter(function(U){return U!==p})}function Ie(U){if(!(ts.isTouch&&(l||U.type==="mousedown"))){var ge=U.composedPath&&U.composedPath()[0]||U.target;if(!(v.props.interactive&&wV(C,ge))){if(vp(v.props.triggerTarget||t).some(function(Ve){return wV(Ve,ge)})){if(ts.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else ee("onClickOutside",[v,U]);v.props.hideOnClick===!0&&(v.clearDelayTimeouts(),v.hide(),s=!0,setTimeout(function(){s=!1}),v.state.isMounted||_r())}}}function I(){l=!0}function Ge(){l=!1}function Qt(){var U=ie();U.addEventListener("mousedown",Ie,!0),U.addEventListener("touchend",Ie,ju),U.addEventListener("touchstart",Ge,ju),U.addEventListener("touchmove",I,ju)}function _r(){var U=ie();U.removeEventListener("mousedown",Ie,!0),U.removeEventListener("touchend",Ie,ju),U.removeEventListener("touchstart",Ge,ju),U.removeEventListener("touchmove",I,ju)}function Nt(U,ge){Wt(U,function(){!v.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&ge()})}function mt(U,ge){Wt(U,ge)}function Wt(U,ge){var Ve=me().box;function Ct(Vt){Vt.target===Ve&&(nA(Ve,"remove",Ct),ge())}if(U===0)return ge();nA(Ve,"remove",u),nA(Ve,"add",Ct),u=Ct}function Jt(U,ge,Ve){Ve===void 0&&(Ve=!1);var Ct=vp(v.props.triggerTarget||t);Ct.forEach(function(Vt){Vt.addEventListener(U,ge,Ve),h.push({node:Vt,eventType:U,handler:ge,options:Ve})})}function or(){J()&&(Jt("touchstart",Zo,{passive:!0}),Jt("touchend",Ia,{passive:!0})),dhe(v.props.trigger).forEach(function(U){if(U!=="manual")switch(Jt(U,Zo),U){case"mouseenter":Jt("mouseleave",Ia);break;case"focus":Jt(xhe?"focusout":"blur",Qo);break;case"focusin":Jt("focusout",Qo);break}})}function Zi(){h.forEach(function(U){var ge=U.node,Ve=U.eventType,Ct=U.handler,Vt=U.options;ge.removeEventListener(Ve,Ct,Vt)}),h=[]}function Zo(U){var ge,Ve=!1;if(!(!v.state.isEnabled||Jo(U)||s)){var Ct=((ge=d)==null?void 0:ge.type)==="focus";d=U,g=U.currentTarget,D(),!v.state.isVisible&&phe(U)&&Rk.forEach(function(Vt){return Vt(U)}),U.type==="click"&&(v.props.trigger.indexOf("mouseenter")<0||a)&&v.props.hideOnClick!==!1&&v.state.isVisible?Ve=!0:nd(U),U.type==="click"&&(a=!Ve),Ve&&!Ct&&Es(U)}}function Xo(U){var ge=U.target,Ve=G().contains(ge)||C.contains(ge);if(!(U.type==="mousemove"&&Ve)){var Ct=Oa().concat(C).map(function(Vt){var si,_o=Vt._tippy,Af=(si=_o.popperInstance)==null?void 0:si.state;return Af?{popperRect:Vt.getBoundingClientRect(),popperState:Af,props:n}:null}).filter(Boolean);bhe(Ct,U)&&(je(),Es(U))}}function Ia(U){var ge=Jo(U)||v.props.trigger.indexOf("click")>=0&&a;if(!ge){if(v.props.interactive){v.hideWithInteractivity(U);return}Es(U)}}function Qo(U){v.props.trigger.indexOf("focusin")<0&&U.target!==G()||v.props.interactive&&U.relatedTarget&&C.contains(U.relatedTarget)||Es(U)}function Jo(U){return ts.isTouch?J()!==U.type.indexOf("touch")>=0:!1}function yo(){bo();var U=v.props,ge=U.popperOptions,Ve=U.placement,Ct=U.offset,Vt=U.getReferenceClientRect,si=U.moveTransition,_o=V()?oA(C).arrow:null,Af=Vt?{getBoundingClientRect:Vt,contextElement:Vt.contextElement||G()}:t,x5={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(m_){var If=m_.state;if(V()){var CZ=me(),eS=CZ.box;["placement","reference-hidden","escaped"].forEach(function(g_){g_==="placement"?eS.setAttribute("data-placement",If.placement):If.attributes.popper["data-popper-"+g_]?eS.setAttribute("data-"+g_,""):eS.removeAttribute("data-"+g_)}),If.attributes.popper={}}}},od=[{name:"offset",options:{offset:Ct}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!si}},x5];V()&&_o&&od.push({name:"arrow",options:{element:_o,padding:3}}),od.push.apply(od,ge?.modifiers||[]),v.popperInstance=J3(Af,C,Object.assign({},ge,{placement:Ve,onFirstUpdate:f,modifiers:od}))}function bo(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function ea(){var U=v.props.appendTo,ge,Ve=G();v.props.interactive&&U===MV||U==="parent"?ge=Ve.parentNode:ge=TV(U,[Ve]),ge.contains(C)||ge.appendChild(C),v.state.isMounted=!0,yo()}function Oa(){return jk(C.querySelectorAll("[data-tippy-root]"))}function nd(U){v.clearDelayTimeouts(),U&&ee("onTrigger",[v,U]),Qt();var ge=q(!0),Ve=O(),Ct=Ve[0],Vt=Ve[1];ts.isTouch&&Ct==="hold"&&Vt&&(ge=Vt),ge?r=setTimeout(function(){v.show()},ge):v.show()}function Es(U){if(v.clearDelayTimeouts(),ee("onUntrigger",[v,U]),!v.state.isVisible){_r();return}if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(U.type)>=0&&a)){var ge=q(!1);ge?i=setTimeout(function(){v.state.isVisible&&v.hide()},ge):o=requestAnimationFrame(function(){v.hide()})}}function rd(){v.state.isEnabled=!0}function $(){v.hide(),v.state.isEnabled=!1}function he(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function et(U){if(!v.state.isDestroyed){ee("onBeforeUpdate",[v,U]),Zi();var ge=v.props,Ve=kV(t,Object.assign({},ge,bV(U),{ignoreAttributes:!0}));v.props=Ve,or(),ge.interactiveDebounce!==Ve.interactiveDebounce&&(je(),p=gV(Xo,Ve.interactiveDebounce)),ge.triggerTarget&&!Ve.triggerTarget?vp(ge.triggerTarget).forEach(function(Ct){Ct.removeAttribute("aria-expanded")}):Ve.triggerTarget&&t.removeAttribute("aria-expanded"),D(),X(),P&&P(ge,Ve),v.popperInstance&&(yo(),Oa().forEach(function(Ct){requestAnimationFrame(Ct._tippy.popperInstance.forceUpdate)})),ee("onAfterUpdate",[v,U])}}function xt(U){v.setProps({content:U})}function Gt(){var U=v.state.isVisible,ge=v.state.isDestroyed,Ve=!v.state.isEnabled,Ct=ts.isTouch&&!v.props.touch,Vt=eA(v.props.duration,0,_a.duration);if(!(U||ge||Ve||Ct)&&!G().hasAttribute("disabled")&&(ee("onShow",[v],!1),v.props.onShow(v)!==!1)){if(v.state.isVisible=!0,V()&&(C.style.visibility="visible"),X(),Qt(),v.state.isMounted||(C.style.transition="none"),V()){var si=me(),_o=si.box,Af=si.content;tA([_o,Af],0)}f=function(){var od;if(!(!v.state.isVisible||c)){if(c=!0,C.offsetHeight,C.style.transition=v.props.moveTransition,V()&&v.props.animation){var JD=me(),m_=JD.box,If=JD.content;tA([m_,If],Vt),_V([m_,If],"visible")}_e(),D(),yV(rA,v),(od=v.popperInstance)==null||od.forceUpdate(),ee("onMount",[v]),v.props.animation&&V()&&mt(Vt,function(){v.state.isShown=!0,ee("onShown",[v])})}},ea()}}function Xi(){var U=!v.state.isVisible,ge=v.state.isDestroyed,Ve=!v.state.isEnabled,Ct=eA(v.props.duration,1,_a.duration);if(!(U||ge||Ve)&&(ee("onHide",[v],!1),v.props.onHide(v)!==!1)){if(v.state.isVisible=!1,v.state.isShown=!1,c=!1,a=!1,V()&&(C.style.visibility="hidden"),je(),_r(),X(!0),V()){var Vt=me(),si=Vt.box,_o=Vt.content;v.props.animation&&(tA([si,_o],Ct),_V([si,_o],"hidden"))}_e(),D(),v.props.animation?V()&&Nt(Ct,v.unmount):v.unmount()}}function Ms(U){ie().addEventListener("mousemove",p),yV(Rk,p),p(U)}function ta(){v.state.isVisible&&v.hide(),v.state.isMounted&&(bo(),Oa().forEach(function(U){U._tippy.unmount()}),C.parentNode&&C.parentNode.removeChild(C),rA=rA.filter(function(U){return U!==v}),v.state.isMounted=!1,ee("onHidden",[v]))}function id(){v.state.isDestroyed||(v.clearDelayTimeouts(),v.unmount(),Zi(),delete t._tippy,v.state.isDestroyed=!0,ee("onDestroy",[v]))}}function iy(t,e){e===void 0&&(e={});var n=_a.plugins.concat(e.plugins||[]);vhe();var r=Object.assign({},e,{plugins:n}),i=ghe(t);if(!1)var o,a;var s=i.reduce(function(l,c){var d=c&&Ihe(c,r);return d&&l.push(d),l},[]);return zk(t)?s[0]:s}iy.defaultProps=_a;iy.setDefaultProps=Ehe;iy.currentInput=ts;var eLe=Object.assign({},Z0,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});iy.setDefaultProps({render:OV});var kp=iy;var lA=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},ns=(t,e,n)=>(lA(t,e,"read from private field"),n?n.call(t):e.get(t)),xp=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},oy=(t,e,n,r)=>(lA(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Ohe=(t,e,n)=>(lA(t,e,"access private method"),n),nl,Lk,Bk,Vk,Uk,sA,FV,rs=class{constructor(e){xp(this,sA),xp(this,nl,void 0),xp(this,Lk,void 0),xp(this,Bk,void 0),xp(this,Vk,void 0),xp(this,Uk,void 0),oy(this,Uk,(n,r)=>{let{state:i,composing:o}=n,{selection:a,doc:s}=i,{ranges:l}=a,c=Math.min(...l.map(f=>f.$from.pos)),d=Math.max(...l.map(f=>f.$to.pos)),u=r&&r.doc.eq(s)&&r.selection.eq(a);if(ns(this,nl)??oy(this,nl,kp(n.dom,W(S({trigger:"manual",interactive:!0},ns(this,Lk)),{content:this.element}))),!(o||u)){if(!ns(this,Vk).call(this,n,r)){this.hide();return}ns(this,nl).setProps({getReferenceClientRect:()=>X1(n,c,d)}),this.show()}}),this.update=(n,r)=>{(0,PV.default)(ns(this,Uk),ns(this,Bk))(n,r)},this.destroy=()=>{var n;(n=ns(this,nl))==null||n.destroy()},this.show=()=>{var n;(n=ns(this,nl))==null||n.show()},this.hide=()=>{var n;(n=ns(this,nl))==null||n.hide()},this.getInstance=()=>ns(this,nl),this.element=e.content,oy(this,Lk,e.tippyOptions??{}),oy(this,Bk,e.debounce??200),oy(this,Vk,e.shouldShow??Ohe(this,sA,FV))}};nl=new WeakMap,Lk=new WeakMap,Bk=new WeakMap,Vk=new WeakMap,Uk=new WeakMap,sA=new WeakSet,FV=function(t){let{doc:e,selection:n}=t.state,{empty:r,from:i,to:o}=n,a=!e.textBetween(i,o).length&&t.state.selection instanceof Ne,s=this.element.contains(document.activeElement),l=!t.hasFocus()&&!s,c=!t.editable;return!(l||r||a||c)};function ay(t){let e=Bt({},`${t}_TOOLTIP_SPEC`),n=$t(i=>{let o=i.get(e.key);return new Be(S({key:new at(`${t}_TOOLTIP`)},o))}),r=[e,n];return r.key=e.key,r.pluginKey=n.key,e.meta={package:"@milkdown/plugin-tooltip",displayName:`Ctx<tooltipSpec>|${t}`},n.meta={package:"@milkdown/plugin-tooltip",displayName:`Prose<tooltip>|${t}`},r}var NV=wo(V0(),1);var dA=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},so=(t,e,n)=>(dA(t,e,"read from private field"),n?n.call(t):e.get(t)),zu=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Cp=(t,e,n,r)=>(dA(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Phe=(t,e,n)=>(dA(t,e,"access private method"),n);function uA(t){let e=Bt({},`${t}_SLASH_SPEC`),n=$t(i=>{let o=i.get(e.key);return new Be(S({key:new at(`${t}_SLASH`)},o))}),r=[e,n];return r.key=e.key,r.pluginKey=n.key,e.meta={package:"@milkdown/plugin-slash",displayName:`Ctx<slashSpec>|${t}`},n.meta={package:"@milkdown/plugin-slash",displayName:`Prose<slash>|${t}`},r}var rl,Hk,$k,Dp,qk,Wk,cA,RV,Sp=class{constructor(e){zu(this,cA),zu(this,rl,void 0),zu(this,Hk,void 0),zu(this,$k,void 0),zu(this,Dp,void 0),zu(this,qk,void 0),zu(this,Wk,void 0),Cp(this,Wk,(n,r)=>{let{state:i,composing:o}=n,{selection:a,doc:s}=i,{ranges:l}=a,c=Math.min(...l.map(f=>f.$from.pos)),d=Math.max(...l.map(f=>f.$to.pos)),u=r&&r.doc.eq(s)&&r.selection.eq(a);if(so(this,rl)??Cp(this,rl,kp(n.dom,W(S({trigger:"manual",placement:"bottom-start",interactive:!0},so(this,Hk)),{content:this.element}))),!(o||u)){if(!so(this,qk).call(this,n,r)){this.hide();return}so(this,rl).setProps({getReferenceClientRect:()=>X1(n,c,d)}),this.show()}}),this.update=(n,r)=>{(0,NV.default)(so(this,Wk),so(this,$k))(n,r)},this.getContent=(n,r=i=>i.type.name==="paragraph")=>{let{selection:i}=n.state,{empty:o}=i,a=n.state.selection instanceof Ne,s=this.element.contains(document.activeElement),l=!n.hasFocus()&&!s,c=!n.editable,d=J1(r)(n.state.selection);if(!(l||c||!o||!a||!d))return d.node.textContent},this.destroy=()=>{var n;(n=so(this,rl))==null||n.destroy()},this.show=()=>{var n;(n=so(this,rl))==null||n.show()},this.hide=()=>{var n;(n=so(this,rl))==null||n.hide()},this.getInstance=()=>so(this,rl),this.element=e.content,Cp(this,Hk,e.tippyOptions??{}),Cp(this,$k,e.debounce??200),Cp(this,qk,e.shouldShow??Phe(this,cA,RV)),Cp(this,Dp,e.trigger??"/")}};rl=new WeakMap,Hk=new WeakMap,$k=new WeakMap,Dp=new WeakMap,qk=new WeakMap,Wk=new WeakMap,cA=new WeakSet,RV=function(t){let e=this.getContent(t);if(!e)return!1;let n=e.at(-1);return n?Array.isArray(so(this,Dp))?so(this,Dp).includes(n):so(this,Dp)===n:!1};var hA,pA;if(typeof WeakMap<"u"){let t=new WeakMap;hA=e=>t.get(e),pA=(e,n)=>(t.set(e,n),n)}else{let t=[],n=0;hA=r=>{for(let i=0;i<t.length;i+=2)if(t[i]==r)return t[i+1]},pA=(r,i)=>(n==10&&(n=0),t[n++]=r,t[n++]=i)}var qt=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e<this.map.length;e++){let n=this.map[e];if(n!=t)continue;let r=e%this.width,i=e/this.width|0,o=r+1,a=i+1;for(let s=1;o<this.width&&this.map[e+s]==n;s++)o++;for(let s=1;a<this.height&&this.map[e+this.width*s]==n;s++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${t} found`)}colCount(t){for(let e=0;e<this.map.length;e++)if(this.map[e]==t)return e%this.width;throw new RangeError(`No cell with offset ${t} found`)}nextCell(t,e,n){let{left:r,right:i,top:o,bottom:a}=this.findCell(t);return e=="horiz"?(n<0?r==0:i==this.width)?null:this.map[o*this.width+(n<0?r-1:i)]:(n<0?o==0:a==this.height)?null:this.map[r+this.width*(n<0?o-1:a)]}rectBetween(t,e){let{left:n,right:r,top:i,bottom:o}=this.findCell(t),{left:a,right:s,top:l,bottom:c}=this.findCell(e);return{left:Math.min(n,a),top:Math.min(i,l),right:Math.max(r,s),bottom:Math.max(o,c)}}cellsInRect(t){let e=[],n={};for(let r=t.top;r<t.bottom;r++)for(let i=t.left;i<t.right;i++){let o=r*this.width+i,a=this.map[o];n[a]||(n[a]=!0,!(i==t.left&&i&&this.map[o-1]==a||r==t.top&&r&&this.map[o-this.width]==a)&&e.push(a))}return e}positionAt(t,e,n){for(let r=0,i=0;;r++){let o=i+n.child(r).nodeSize;if(r==t){let a=e+t*this.width,s=(t+1)*this.width;for(;a<s&&this.map[a]<i;)a++;return a==s?o-1:this.map[a]}i=o}}static get(t){return hA(t)||pA(t,Fhe(t))}};function Fhe(t){if(t.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+t.type.name);let e=Nhe(t),n=t.childCount,r=[],i=0,o=null,a=[];for(let c=0,d=e*n;c<d;c++)r[c]=0;for(let c=0,d=0;c<n;c++){let u=t.child(c);d++;for(let p=0;;p++){for(;i<r.length&&r[i]!=0;)i++;if(p==u.childCount)break;let g=u.child(p),{colspan:b,rowspan:_,colwidth:x}=g.attrs;for(let E=0;E<_;E++){if(E+c>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:d,n:_-E});break}let v=i+E*e;for(let j=0;j<b;j++){r[v+j]==0?r[v+j]=d:(o||(o=[])).push({type:"collision",row:c,pos:d,n:b-j});let C=x&&x[j];if(C){let P=(v+j)%e*2,z=a[P];z==null||z!=C&&a[P+1]==1?(a[P]=C,a[P+1]=1):z==C&&a[P+1]++}}}i+=b,d+=g.nodeSize}let f=(c+1)*e,h=0;for(;i<f;)r[i++]==0&&h++;h&&(o||(o=[])).push({type:"missing",row:c,n:h}),d++}let s=new qt(e,n,r,o),l=!1;for(let c=0;!l&&c<a.length;c+=2)a[c]!=null&&a[c+1]<n&&(l=!0);return l&&Rhe(s,a,t),s}function Nhe(t){let e=-1,n=!1;for(let r=0;r<t.childCount;r++){let i=t.child(r),o=0;if(n)for(let a=0;a<r;a++){let s=t.child(a);for(let l=0;l<s.childCount;l++){let c=s.child(l);a+c.attrs.rowspan>r&&(o+=c.attrs.colspan)}}for(let a=0;a<i.childCount;a++){let s=i.child(a);o+=s.attrs.colspan,s.attrs.rowspan>1&&(n=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function Rhe(t,e,n){t.problems||(t.problems=[]);let r={};for(let i=0;i<t.map.length;i++){let o=t.map[i];if(r[o])continue;r[o]=!0;let a=n.nodeAt(o);if(!a)throw new RangeError(`No cell with offset ${o} found`);let s=null,l=a.attrs;for(let c=0;c<l.colspan;c++){let d=(i+c)%t.width,u=e[d*2];u!=null&&(!l.colwidth||l.colwidth[c]!=u)&&((s||(s=jhe(l)))[c]=u)}s&&t.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function jhe(t){if(t.colwidth)return t.colwidth.slice();let e=[];for(let n=0;n<t.colspan;n++)e.push(0);return e}function jV(t,e){if(typeof t=="string")return{};let n=t.getAttribute("data-colwidth"),r=n&&/^\d+(,\d+)*$/.test(n)?n.split(",").map(a=>Number(a)):null,i=Number(t.getAttribute("colspan")||1),o={colspan:i,rowspan:Number(t.getAttribute("rowspan")||1),colwidth:r&&r.length==i?r:null};for(let a in e){let s=e[a].getFromDOM,l=s&&s(t);l!=null&&(o[a]=l)}return o}function zV(t,e){let n={};t.attrs.colspan!=1&&(n.colspan=t.attrs.colspan),t.attrs.rowspan!=1&&(n.rowspan=t.attrs.rowspan),t.attrs.colwidth&&(n["data-colwidth"]=t.attrs.colwidth.join(","));for(let r in e){let i=e[r].setDOMAttr;i&&i(t.attrs[r],n)}return n}function WV(t){let e=t.cellAttributes||{},n={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(let r in e)n[r]={default:e[r].default};return{table:{content:"table_row+",tableRole:"table",isolating:!0,group:t.tableGroup,parseDOM:[{tag:"table"}],toDOM(){return["table",["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM(){return["tr",0]}},table_cell:{content:t.cellContent,attrs:n,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:r=>jV(r,e)}],toDOM(r){return["td",zV(r,e),0]}},table_header:{content:t.cellContent,attrs:n,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:r=>jV(r,e)}],toDOM(r){return["th",zV(r,e),0]}}}}function Lo(t){let e=t.cached.tableNodeTypes;if(!e){e=t.cached.tableNodeTypes={};for(let n in t.nodes){let r=t.nodes[n],i=r.spec.tableRole;i&&(e[i]=r)}}return e}var Mc=new at("selectingCells");function sy(t){for(let e=t.depth-1;e>0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function ki(t){let e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function Qk(t){let e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;let n=sy(e.$head)||zhe(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function zhe(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){let r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){let r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function mA(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function Lhe(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function bA(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function GV(t,e,n){let r=t.node(-1),i=qt.get(r),o=t.start(-1),a=i.nextCell(t.pos-o,e,n);return a==null?null:t.node(0).resolve(o+a)}function Lu(t,e,n=1){let r=W(S({},t),{colspan:t.colspan-n});return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function Bhe(t,e,n=1){let r=W(S({},t),{colspan:t.colspan+n});if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;i<n;i++)r.colwidth.splice(e,0,0)}return r}function Vhe(t,e,n){let r=Lo(e.type.schema).header_cell;for(let i=0;i<t.height;i++)if(e.nodeAt(t.map[n+i*t.width]).type!=r)return!1;return!0}var nn=class il extends Pe{constructor(e,n=e){let r=e.node(-1),i=qt.get(r),o=e.start(-1),a=i.rectBetween(e.pos-o,n.pos-o),s=e.node(0),l=i.cellsInRect(a).filter(d=>d!=n.pos-o);l.unshift(n.pos-o);let c=l.map(d=>{let u=r.nodeAt(d);if(!u)throw RangeError(`No cell with offset ${d} found`);let f=o+d+1;return new D0(s.resolve(f),s.resolve(f+u.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=e,this.$headCell=n}map(e,n){let r=e.resolve(n.map(this.$anchorCell.pos)),i=e.resolve(n.map(this.$headCell.pos));if(mA(r)&&mA(i)&&bA(r,i)){let o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?il.rowSelection(r,i):o&&this.isColSelection()?il.colSelection(r,i):new il(r,i)}return Ne.between(r,i)}content(){let e=this.$anchorCell.node(-1),n=qt.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l<i.bottom;l++){let c=[];for(let d=l*n.width+i.left,u=i.left;u<i.right;u++,d++){let f=n.map[d];if(o[f])continue;o[f]=!0;let h=n.findCell(f),p=e.nodeAt(f);if(!p)throw RangeError(`No cell with offset ${f} found`);let g=i.left-h.left,b=h.right-i.right;if(g>0||b>0){let _=p.attrs;if(g>0&&(_=Lu(_,0,g)),b>0&&(_=Lu(_,_.colspan-b,b)),h.left<i.left){if(p=p.type.createAndFill(_),!p)throw RangeError(`Could not create cell with attrs ${JSON.stringify(_)}`)}else p=p.type.create(_,p.content)}if(h.top<i.top||h.bottom>i.bottom){let _=W(S({},p.attrs),{rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)});h.top<i.top?p=p.type.createAndFill(_):p=p.type.create(_,p.content)}c.push(p)}a.push(e.child(l).copy(Z.from(c)))}let s=this.isColSelection()&&this.isRowSelection()?e:a;return new ce(Z.from(s),1,1)}replace(e,n=ce.empty){let r=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){let{$from:s,$to:l}=i[a],c=e.mapping.slice(r);e.replace(c.map(s.pos),c.map(l.pos),a?ce.empty:n)}let o=Pe.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,n){this.replace(e,new ce(Z.from(n),0,0))}forEachCell(e){let n=this.$anchorCell.node(-1),r=qt.get(n),i=this.$anchorCell.start(-1),o=r.cellsInRect(r.rectBetween(this.$anchorCell.pos-i,this.$headCell.pos-i));for(let a=0;a<o.length;a++)e(n.nodeAt(o[a]),i+o[a])}isColSelection(){let e=this.$anchorCell.index(-1),n=this.$headCell.index(-1);if(Math.min(e,n)>0)return!1;let r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){let r=e.node(-1),i=qt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.top<=s.top?(a.top>0&&(e=l.resolve(o+i.map[a.left])),s.bottom<i.height&&(n=l.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(n=l.resolve(o+i.map[s.left])),a.bottom<i.height&&(e=l.resolve(o+i.map[i.width*(i.height-1)+a.right-1]))),new il(e,n)}isRowSelection(){let e=this.$anchorCell.node(-1),n=qt.get(e),r=this.$anchorCell.start(-1),i=n.colCount(this.$anchorCell.pos-r),o=n.colCount(this.$headCell.pos-r);if(Math.min(i,o)>0)return!1;let a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(e){return e instanceof il&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){let r=e.node(-1),i=qt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.left<=s.left?(a.left>0&&(e=l.resolve(o+i.map[a.top*i.width])),s.right<i.width&&(n=l.resolve(o+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right<i.width&&(e=l.resolve(o+i.map[i.width*(a.top+1)-1]))),new il(e,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,n){return new il(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){return new il(e.resolve(n),e.resolve(r))}getBookmark(){return new Uhe(this.$anchorCell.pos,this.$headCell.pos)}};nn.prototype.visible=!1;Pe.jsonID("cell",nn);var Uhe=class YV{constructor(e,n){this.anchor=e,this.head=n}map(e){return new YV(e.map(this.anchor),e.map(this.head))}resolve(e){let n=e.resolve(this.anchor),r=e.resolve(this.head);return n.parent.type.spec.tableRole=="row"&&r.parent.type.spec.tableRole=="row"&&n.index()<n.parent.childCount&&r.index()<r.parent.childCount&&bA(n,r)?new nn(n,r):Pe.near(r,1)}};function Hhe(t){if(!(t.selection instanceof nn))return null;let e=[];return t.selection.forEachCell((n,r)=>{e.push(pn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Et.create(t.doc,e)}function $he({$from:t,$to:e}){if(t.pos==e.pos||t.pos<t.pos-6)return!1;let n=t.pos,r=e.pos,i=t.depth;for(;i>=0&&!(t.after(i+1)<t.end(i));i--,n++);for(let o=e.depth;o>=0&&!(e.before(o+1)>e.start(o));o--,r--);return n==r&&/row|table/.test(t.node(i).type.spec.tableRole)}function qhe({$from:t,$to:e}){let n,r;for(let i=t.depth;i>0;i--){let o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=e.depth;i>0;i--){let o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&e.parentOffset===0}function Whe(t,e,n){let r=(e||t).selection,i=(e||t).doc,o,a;if(r instanceof Le&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=nn.create(i,r.from);else if(a=="row"){let s=i.resolve(r.from+1);o=nn.rowSelection(s,s)}else if(!n){let s=qt.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=nn.create(i,l+1,c)}}else r instanceof Ne&&$he(r)?o=Ne.create(i,r.from):r instanceof Ne&&qhe(r)&&(o=Ne.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var Ghe=new at("fix-tables");function KV(t,e,n,r){let i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a<o;a++){let l=e.child(a);for(let c=s,d=Math.min(i,a+3);c<d;c++)if(t.child(c)==l){s=c+1,n+=l.nodeSize;continue e}r(l,n),s<i&&t.child(s).sameMarkup(l)?KV(t.child(s),l,n+1,r):l.nodesBetween(0,l.content.size,r,n+1),n+=l.nodeSize}}function Yhe(t,e){let n,r=(i,o)=>{i.type.spec.tableRole=="table"&&(n=Khe(t,i,o,n))};return e?e.doc!=t.doc&&KV(e.doc,t.doc,0,r):t.doc.descendants(r),n}function Khe(t,e,n,r){let i=qt.get(e);if(!i.problems)return r;r||(r=t.tr);let o=[];for(let l=0;l<i.height;l++)o.push(0);for(let l=0;l<i.problems.length;l++){let c=i.problems[l];if(c.type=="collision"){let d=e.nodeAt(c.pos);if(!d)continue;let u=d.attrs;for(let f=0;f<u.rowspan;f++)o[c.row+f]+=c.n;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,Lu(u,u.colspan-c.n,c.n))}else if(c.type=="missing")o[c.row]+=c.n;else if(c.type=="overlong_rowspan"){let d=e.nodeAt(c.pos);if(!d)continue;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,W(S({},d.attrs),{rowspan:d.attrs.rowspan-c.n}))}else if(c.type=="colwidth mismatch"){let d=e.nodeAt(c.pos);if(!d)continue;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,W(S({},d.attrs),{colwidth:c.colwidth}))}}let a,s;for(let l=0;l<o.length;l++)o[l]&&(a==null&&(a=l),s=l);for(let l=0,c=n+1;l<i.height;l++){let d=e.child(l),u=c+d.nodeSize,f=o[l];if(f>0){let h="cell";d.firstChild&&(h=d.firstChild.type.spec.tableRole);let p=[];for(let b=0;b<f;b++){let _=Lo(t.schema)[h].createAndFill();_&&p.push(_)}let g=(l==0||a==l-1)&&s==l?c+1:u-1;r.insert(r.mapping.map(g),p)}c=u}return r.setMeta(Ghe,{fixTables:!0})}function Zhe(t){if(!t.size)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;let i=e.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let l=0;l<e.childCount;l++){let c=e.child(l).content,d=l?0:Math.max(0,n-1),u=l<e.childCount-1?0:Math.max(0,r-1);(d||u)&&(c=gA(Lo(a).row,new ce(c,d,u)).content),s.push(c)}else if(o=="cell"||o=="header_cell")s.push(n||r?gA(Lo(a).row,new ce(e,n,r)).content:e);else return null;return Xhe(a,s)}function Xhe(t,e){let n=[];for(let i=0;i<e.length;i++){let o=e[i];for(let a=o.childCount-1;a>=0;a--){let{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=i;c<i+s;c++)n[c]=(n[c]||0)+l}}let r=0;for(let i=0;i<n.length;i++)r=Math.max(r,n[i]);for(let i=0;i<n.length;i++)if(i>=e.length&&e.push(Z.empty),n[i]<r){let o=Lo(t).cell.createAndFill(),a=[];for(let s=n[i];s<r;s++)a.push(o);e[i]=e[i].append(Z.from(a))}return{height:e.length,width:r,rows:e}}function gA(t,e){let n=t.createAndFill();return new Lh(n).replace(0,n.content.size,e).doc}function Qhe({width:t,height:e,rows:n},r,i){if(t!=r){let o=[],a=[];for(let s=0;s<n.length;s++){let l=n[s],c=[];for(let d=o[s]||0,u=0;d<r;u++){let f=l.child(u%l.childCount);d+f.attrs.colspan>r&&(f=f.type.createChecked(Lu(f.attrs,f.attrs.colspan,d+f.attrs.colspan-r),f.content)),c.push(f),d+=f.attrs.colspan;for(let h=1;h<f.attrs.rowspan;h++)o[s+h]=(o[s+h]||0)+f.attrs.colspan}a.push(Z.from(c))}n=a,t=r}if(e!=i){let o=[];for(let a=0,s=0;a<i;a++,s++){let l=[],c=n[s%e];for(let d=0;d<c.childCount;d++){let u=c.child(d);a+u.attrs.rowspan>i&&(u=u.type.create(W(S({},u.attrs),{rowspan:Math.max(1,i-u.attrs.rowspan)}),u.content)),l.push(u)}o.push(Z.from(l))}n=o,e=i}return{width:t,height:e,rows:n}}function Jhe(t,e,n,r,i,o,a){let s=t.doc.type.schema,l=Lo(s),c,d;if(i>e.width)for(let u=0,f=0;u<e.height;u++){let h=n.child(u);f+=h.nodeSize;let p=[],g;h.lastChild==null||h.lastChild.type==l.cell?g=c||(c=l.cell.createAndFill()):g=d||(d=l.header_cell.createAndFill());for(let b=e.width;b<i;b++)p.push(g);t.insert(t.mapping.slice(a).map(f-1+r),p)}if(o>e.height){let u=[];for(let p=0,g=(e.height-1)*e.width;p<Math.max(e.width,i);p++){let b=p>=e.width?!1:n.nodeAt(e.map[g+p]).type==l.header_cell;u.push(b?d||(d=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}let f=l.row.create(null,Z.from(u)),h=[];for(let p=e.height;p<o;p++)h.push(f);t.insert(t.mapping.slice(a).map(r+n.nodeSize-2),h)}return!!(c||d)}function LV(t,e,n,r,i,o,a,s){if(a==0||a==e.height)return!1;let l=!1;for(let c=i;c<o;c++){let d=a*e.width+c,u=e.map[d];if(e.map[d-e.width]==u){l=!0;let f=n.nodeAt(u),{top:h,left:p}=e.findCell(u);t.setNodeMarkup(t.mapping.slice(s).map(u+r),null,W(S({},f.attrs),{rowspan:a-h})),t.insert(t.mapping.slice(s).map(e.positionAt(a,p,n)),f.type.createAndFill(W(S({},f.attrs),{rowspan:h+f.attrs.rowspan-a}))),c+=f.attrs.colspan-1}}return l}function BV(t,e,n,r,i,o,a,s){if(a==0||a==e.width)return!1;let l=!1;for(let c=i;c<o;c++){let d=c*e.width+a,u=e.map[d];if(e.map[d-1]==u){l=!0;let f=n.nodeAt(u),h=e.colCount(u),p=t.mapping.slice(s).map(u+r);t.setNodeMarkup(p,null,Lu(f.attrs,a-h,f.attrs.colspan-(a-h))),t.insert(p+f.nodeSize,f.type.createAndFill(Lu(f.attrs,0,a-h))),c+=f.attrs.rowspan-1}}return l}function VV(t,e,n,r,i){let o=n?t.doc.nodeAt(n-1):t.doc;if(!o)throw new Error("No table found");let a=qt.get(o),{top:s,left:l}=r,c=l+i.width,d=s+i.height,u=t.tr,f=0;function h(){if(o=n?u.doc.nodeAt(n-1):u.doc,!o)throw new Error("No table found");a=qt.get(o),f=u.mapping.maps.length}Jhe(u,a,o,n,c,d,f)&&h(),LV(u,a,o,n,l,c,s,f)&&h(),LV(u,a,o,n,l,c,d,f)&&h(),BV(u,a,o,n,s,d,l,f)&&h(),BV(u,a,o,n,s,d,c,f)&&h();for(let p=s;p<d;p++){let g=a.positionAt(p,l,o),b=a.positionAt(p,c,o);u.replace(u.mapping.slice(f).map(g+n),u.mapping.slice(f).map(b+n),new ce(i.rows[p-s],0,0))}h(),u.setSelection(new nn(u.doc.resolve(n+a.positionAt(s,l,o)),u.doc.resolve(n+a.positionAt(d-1,c-1,o)))),e(u)}var epe=fu({ArrowLeft:Gk("horiz",-1),ArrowRight:Gk("horiz",1),ArrowUp:Gk("vert",-1),ArrowDown:Gk("vert",1),"Shift-ArrowLeft":Yk("horiz",-1),"Shift-ArrowRight":Yk("horiz",1),"Shift-ArrowUp":Yk("vert",-1),"Shift-ArrowDown":Yk("vert",1),Backspace:Kk,"Mod-Backspace":Kk,Delete:Kk,"Mod-Delete":Kk});function Zk(t,e,n){return n.eq(t.selection)?!1:(e&&e(t.tr.setSelection(n).scrollIntoView()),!0)}function Gk(t,e){return(n,r,i)=>{if(!i)return!1;let o=n.selection;if(o instanceof nn)return Zk(n,r,Pe.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;let a=ZV(i,t,e);if(a==null)return!1;if(t=="horiz")return Zk(n,r,Pe.near(n.doc.resolve(o.head+e),e));{let s=n.doc.resolve(a),l=GV(s,t,e),c;return l?c=Pe.near(l,1):e<0?c=Pe.near(n.doc.resolve(s.before(-1)),-1):c=Pe.near(n.doc.resolve(s.after(-1)),1),Zk(n,r,c)}}}function Yk(t,e){return(n,r,i)=>{if(!i)return!1;let o=n.selection,a;if(o instanceof nn)a=o;else{let l=ZV(i,t,e);if(l==null)return!1;a=new nn(n.doc.resolve(l))}let s=GV(a.$headCell,t,e);return s?Zk(n,r,new nn(a.$anchorCell,s)):!1}}function Kk(t,e){let n=t.selection;if(!(n instanceof nn))return!1;if(e){let r=t.tr,i=Lo(t.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new ce(i,0,0))}),r.docChanged&&e(r)}return!0}function tpe(t,e){let n=t.state.doc,r=sy(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new nn(r))),!0):!1}function npe(t,e,n){if(!ki(t.state))return!1;let r=Zhe(n),i=t.state.selection;if(i instanceof nn){r||(r={width:1,height:1,rows:[Z.from(gA(Lo(t.state.schema).cell,n))]});let o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=qt.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=Qhe(r,s.right-s.left,s.bottom-s.top),VV(t.state,t.dispatch,a,s,r),!0}else if(r){let o=Qk(t.state),a=o.start(-1);return VV(t.state,t.dispatch,a,qt.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function rpe(t,e){var n;if(e.ctrlKey||e.metaKey)return;let r=UV(t,e.target),i;if(e.shiftKey&&t.state.selection instanceof nn)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=sy(t.state.selection.$anchor))!=null&&((n=fA(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(l,c){let d=fA(t,c),u=Mc.getState(t.state)==null;if(!d||!bA(l,d))if(u)d=l;else return;let f=new nn(l,d);if(u||!t.state.selection.eq(f)){let h=t.state.tr.setSelection(f);u&&h.setMeta(Mc,l.pos),t.dispatch(h)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),Mc.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(Mc,-1))}function s(l){let c=l,d=Mc.getState(t.state),u;if(d!=null)u=t.state.doc.resolve(d);else if(UV(t,c.target)!=r&&(u=fA(t,e),!u))return a();u&&o(u,c)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function ZV(t,e,n){if(!(t.state.selection instanceof Ne))return null;let{$head:r}=t.state.selection;for(let i=r.depth-1;i>=0;i--){let o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){let s=r.before(i),l=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(l)?s:null}}return null}function UV(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function fA(t,e){let n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?sy(t.state.doc.resolve(n.pos)):null}var ipe=class{constructor(t,e){this.node=t,this.cellMinWidth=e,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),yA(t,this.colgroup,this.table,e),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(t){return t.type!=this.node.type?!1:(this.node=t,yA(t,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(t){return t.type=="attributes"&&(t.target==this.table||this.colgroup.contains(t.target))}};function yA(t,e,n,r,i,o){var a;let s=0,l=!0,c=e.firstChild,d=t.firstChild;if(d){for(let u=0,f=0;u<d.childCount;u++){let{colspan:h,colwidth:p}=d.child(u).attrs;for(let g=0;g<h;g++,f++){let b=i==f?o:p&&p[g],_=b?b+"px":"";s+=b||r,b||(l=!1),c?(c.style.width!=_&&(c.style.width=_),c=c.nextSibling):e.appendChild(document.createElement("col")).style.width=_}}for(;c;){let u=c.nextSibling;(a=c.parentNode)==null||a.removeChild(c),c=u}l?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var zo=new at("tableColumnResizing");function XV({handleWidth:t=5,cellMinWidth:e=25,View:n=ipe,lastColumnResizable:r=!0}={}){let i=new Be({key:zo,state:{init(o,a){return i.spec.props.nodeViews[Lo(a.schema).table.name]=(s,l)=>new n(s,e,l),new ope(-1,!1)},apply(o,a){return a.apply(o)}},props:{attributes:o=>{let a=zo.getState(o);return a&&a.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,a)=>{ape(o,a,t,e,r)},mouseleave:o=>{spe(o)},mousedown:(o,a)=>{lpe(o,a,e)}},decorations:o=>{let a=zo.getState(o);if(a&&a.activeHandle>-1)return ppe(o,a.activeHandle)},nodeViews:{}}});return i}var ope=class Xk{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){let n=this,r=e.getMeta(zo);if(r&&r.setHandle!=null)return new Xk(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new Xk(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return mA(e.doc.resolve(i))||(i=-1),new Xk(i,n.dragging)}return n}};function ape(t,e,n,r,i){let o=zo.getState(t.state);if(o&&!o.dragging){let a=dpe(e.target),s=-1;if(a){let{left:l,right:c}=a.getBoundingClientRect();e.clientX-l<=n?s=HV(t,e,"left",n):c-e.clientX<=n&&(s=HV(t,e,"right",n))}if(s!=o.activeHandle){if(!i&&s!==-1){let l=t.state.doc.resolve(s),c=l.node(-1),d=qt.get(c),u=l.start(-1);if(d.colCount(l.pos-u)+l.nodeAfter.attrs.colspan-1==d.width-1)return}QV(t,s)}}}function spe(t){let e=zo.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&QV(t,-1)}function lpe(t,e,n){let r=zo.getState(t.state);if(!r||r.activeHandle==-1||r.dragging)return!1;let i=t.state.doc.nodeAt(r.activeHandle),o=cpe(t,r.activeHandle,i.attrs);t.dispatch(t.state.tr.setMeta(zo,{setDragging:{startX:e.clientX,startWidth:o}}));function a(l){window.removeEventListener("mouseup",a),window.removeEventListener("mousemove",s);let c=zo.getState(t.state);c?.dragging&&(upe(t,c.activeHandle,$V(c.dragging,l,n)),t.dispatch(t.state.tr.setMeta(zo,{setDragging:null})))}function s(l){if(!l.which)return a(l);let c=zo.getState(t.state);if(c&&c.dragging){let d=$V(c.dragging,l,n);fpe(t,c.activeHandle,d,n)}}return window.addEventListener("mouseup",a),window.addEventListener("mousemove",s),e.preventDefault(),!0}function cpe(t,e,{colspan:n,colwidth:r}){let i=r&&r[r.length-1];if(i)return i;let o=t.domAtPos(e),s=o.node.childNodes[o.offset].offsetWidth,l=n;if(r)for(let c=0;c<n;c++)r[c]&&(s-=r[c],l--);return s/l}function dpe(t){for(;t&&t.nodeName!="TD"&&t.nodeName!="TH";)t=t.classList&&t.classList.contains("ProseMirror")?null:t.parentNode;return t}function HV(t,e,n,r){let i=n=="right"?-r:r,o=t.posAtCoords({left:e.clientX+i,top:e.clientY});if(!o)return-1;let{pos:a}=o,s=sy(t.state.doc.resolve(a));if(!s)return-1;if(n=="right")return s.pos;let l=qt.get(s.node(-1)),c=s.start(-1),d=l.map.indexOf(s.pos-c);return d%l.width==0?-1:c+l.map[d-1]}function $V(t,e,n){let r=e.clientX-t.startX;return Math.max(n,t.startWidth+r)}function QV(t,e){t.dispatch(t.state.tr.setMeta(zo,{setHandle:e}))}function upe(t,e,n){let r=t.state.doc.resolve(e),i=r.node(-1),o=qt.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,l=t.state.tr;for(let c=0;c<o.height;c++){let d=c*o.width+s;if(c&&o.map[d]==o.map[d-o.width])continue;let u=o.map[d],f=i.nodeAt(u).attrs,h=f.colspan==1?0:s-o.colCount(u);if(f.colwidth&&f.colwidth[h]==n)continue;let p=f.colwidth?f.colwidth.slice():hpe(f.colspan);p[h]=n,l.setNodeMarkup(a+u,null,W(S({},f),{colwidth:p}))}l.docChanged&&t.dispatch(l)}function fpe(t,e,n,r){let i=t.state.doc.resolve(e),o=i.node(-1),a=i.start(-1),s=qt.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1,l=t.domAtPos(i.start(-1)).node;for(;l&&l.nodeName!="TABLE";)l=l.parentNode;l&&yA(o,l.firstChild,l,r,s,n)}function hpe(t){return Array(t).fill(0)}function ppe(t,e){let n=[],r=t.doc.resolve(e),i=r.node(-1);if(!i)return Et.empty;let o=qt.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan;for(let l=0;l<o.height;l++){let c=s+l*o.width-1;if((s==o.width||o.map[c]!=o.map[c+1])&&(l==0||o.map[c]!=o.map[c-o.width])){let d=o.map[c],u=a+d+i.nodeAt(d).nodeSize-1,f=document.createElement("div");f.className="column-resize-handle",n.push(pn.widget(u,f))}}return Et.create(t.doc,n)}function ol(t){let e=t.selection,n=Qk(t),r=n.node(-1),i=n.start(-1),o=qt.get(r),a=e instanceof nn?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(n.pos-i);return W(S({},a),{tableStart:i,map:o,table:r})}function JV(t,{map:e,tableStart:n,table:r},i){let o=i>0?-1:0;Vhe(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let a=0;a<e.height;a++){let s=a*e.width+i;if(i>0&&i<e.width&&e.map[s-1]==e.map[s]){let l=e.map[s],c=r.nodeAt(l);t.setNodeMarkup(t.mapping.map(n+l),null,Bhe(c.attrs,i-e.colCount(l))),a+=c.attrs.rowspan-1}else{let l=o==null?Lo(r.type.schema).cell:r.nodeAt(e.map[s+o]).type,c=e.positionAt(a,i,r);t.insert(t.mapping.map(n+c),l.createAndFill())}}return t}function eU(t,e){if(!ki(t))return!1;if(e){let n=ol(t);e(JV(t.tr,n,n.left))}return!0}function tU(t,e){if(!ki(t))return!1;if(e){let n=ol(t);e(JV(t.tr,n,n.right))}return!0}function mpe(t,{map:e,table:n,tableStart:r},i){let o=t.mapping.maps.length;for(let a=0;a<e.height;){let s=a*e.width+i,l=e.map[s],c=n.nodeAt(l),d=c.attrs;if(i>0&&e.map[s-1]==l||i<e.width-1&&e.map[s+1]==l)t.setNodeMarkup(t.mapping.slice(o).map(r+l),null,Lu(d,i-e.colCount(l)));else{let u=t.mapping.slice(o).map(r+l);t.delete(u,u+c.nodeSize)}a+=d.rowspan}}function nU(t,e){if(!ki(t))return!1;if(e){let n=ol(t),r=t.tr;if(n.left==0&&n.right==n.map.width)return!1;for(let i=n.right-1;mpe(r,n,i),i!=n.left;i--){let o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=qt.get(o)}e(r)}return!0}function gpe(t,{map:e,table:n,tableStart:r},i){let o=0;for(let c=0;c<i;c++)o+=n.child(c).nodeSize;let a=o+n.child(i).nodeSize,s=t.mapping.maps.length;t.delete(o+r,a+r);let l=new Set;for(let c=0,d=i*e.width;c<e.width;c++,d++){let u=e.map[d];if(!l.has(u)){if(l.add(u),i>0&&u==e.map[d-e.width]){let f=n.nodeAt(u).attrs;t.setNodeMarkup(t.mapping.slice(s).map(u+r),null,W(S({},f),{rowspan:f.rowspan-1})),c+=f.colspan-1}else if(i<e.height&&u==e.map[d+e.width]){let f=n.nodeAt(u),h=f.attrs,p=f.type.create(W(S({},h),{rowspan:f.attrs.rowspan-1}),f.content),g=e.positionAt(i+1,c,n);t.insert(t.mapping.slice(s).map(r+g),p),c+=h.colspan-1}}}}function rU(t,e){if(!ki(t))return!1;if(e){let n=ol(t),r=t.tr;if(n.top==0&&n.bottom==n.map.height)return!1;for(let i=n.bottom-1;gpe(r,n,i),i!=n.top;i--){let o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=qt.get(n.table)}e(r)}return!0}function iU(t,e){return function(n,r){if(!ki(n))return!1;let i=Qk(n);if(i.nodeAfter.attrs[t]===e)return!1;if(r){let o=n.tr;n.selection instanceof nn?n.selection.forEachCell((a,s)=>{a.attrs[t]!==e&&o.setNodeMarkup(s,null,W(S({},a.attrs),{[t]:e}))}):o.setNodeMarkup(i.pos,null,W(S({},i.nodeAfter.attrs),{[t]:e})),r(o)}return!0}}function ype(t){return function(e,n){if(!ki(e))return!1;if(n){let r=Lo(e.schema),i=ol(e),o=e.tr,a=i.map.cellsInRect(t=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:t=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(l=>i.table.nodeAt(l));for(let l=0;l<a.length;l++)s[l].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[l],r.cell,s[l].attrs);if(o.steps.length==0)for(let l=0;l<a.length;l++)o.setNodeMarkup(i.tableStart+a[l],r.header_cell,s[l].attrs);n(o)}return!0}}function qV(t,e,n){let r=e.map.cellsInRect({left:0,top:0,right:t=="row"?e.map.width:1,bottom:t=="column"?e.map.height:1});for(let i=0;i<r.length;i++){let o=e.table.nodeAt(r[i]);if(o&&o.type!==n.header_cell)return!1}return!0}function _A(t,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?ype(t):function(n,r){if(!ki(n))return!1;if(r){let i=Lo(n.schema),o=ol(n),a=n.tr,s=qV("row",o,i),l=qV("column",o,i),d=(t==="column"?s:t==="row"?l:!1)?1:0,u=t=="column"?{left:0,top:d,right:1,bottom:o.map.height}:t=="row"?{left:d,top:0,right:o.map.width,bottom:1}:o,f=t=="column"?l?i.cell:i.header_cell:t=="row"?s?i.cell:i.header_cell:i.cell;o.map.cellsInRect(u).forEach(h=>{let p=h+o.tableStart,g=a.doc.nodeAt(p);g&&a.setNodeMarkup(p,f,g.attrs)}),r(a)}return!0}}var MLe=_A("row",{useDeprecatedLogic:!0}),TLe=_A("column",{useDeprecatedLogic:!0}),ALe=_A("cell",{useDeprecatedLogic:!0});function bpe(t,e){if(e<0){let n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,i=t.before();r>=0;r--){let o=t.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(t.index()<t.parent.childCount-1)return t.pos+t.nodeAfter.nodeSize;let n=t.node(-1);for(let r=t.indexAfter(-1),i=t.after();r<n.childCount;r++){let o=n.child(r);if(o.childCount)return i+1;i+=o.nodeSize}}return null}function wA(t){return function(e,n){if(!ki(e))return!1;let r=bpe(Qk(e),t);if(r==null)return!1;if(n){let i=e.doc.resolve(r);n(e.tr.setSelection(Ne.between(i,Lhe(i))).scrollIntoView())}return!0}}function oU(t,e){let n=t.selection.$anchor;for(let r=n.depth;r>0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function aU({allowTableNodeSelection:t=!1}={}){return new Be({key:Mc,state:{init(){return null},apply(e,n){let r=e.getMeta(Mc);if(r!=null)return r==-1?null:r;if(n==null||!e.docChanged)return n;let{deleted:i,pos:o}=e.mapping.mapResult(n);return i?null:o}},props:{decorations:Hhe,handleDOMEvents:{mousedown:rpe},createSelectionBetween(e){return Mc.getState(e.state)!=null?e.state.selection:null},handleTripleClick:tpe,handleKeyDown:epe,handlePaste:npe},appendTransaction(e,n,r){return Whe(r,Yhe(r,n),t)}})}function vA(t,e){let n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;i!==-1;)r++,i=n.indexOf(e,i+e.length);return r}function ly(t,e,n){let i=uc((n||{}).ignore||[]),o=_pe(e),a=-1;for(;++a<o.length;)i0(t,"text",s);function s(c,d){let u=-1,f;for(;++u<d.length;){let h=d[u],p=f?f.children:void 0;if(i(h,p?p.indexOf(h):void 0,f))return;f=h}if(f)return l(c,d)}function l(c,d){let u=d[d.length-1],f=o[a][0],h=o[a][1],p=0,b=u.children.indexOf(c),_=!1,x=[];f.lastIndex=0;let E=f.exec(c.value);for(;E;){let v=E.index,j={index:E.index,input:E.input,stack:[...d,c]},C=h(...E,j);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?f.lastIndex=v+1:(p!==v&&x.push({type:"text",value:c.value.slice(p,v)}),Array.isArray(C)?x.push(...C):C&&x.push(C),p=v+E[0].length,_=!0),!f.global)break;E=f.exec(c.value)}return _?(p<c.value.length&&x.push({type:"text",value:c.value.slice(p)}),u.children.splice(b,1,...x)):x=[c],b+x.length}}function _pe(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let n=!t[0]||Array.isArray(t[0])?t:[t],r=-1;for(;++r<n.length;){let i=n[r];e.push([wpe(i[0]),vpe(i[1])])}return e}function wpe(t){return typeof t=="string"?new RegExp(Dc(t),"g"):t}function vpe(t){return typeof t=="function"?t:function(){return t}}var kA="phrasing",xA=["autolink","link","image","label"];function DA(){return{transforms:[Epe],enter:{literalAutolink:kpe,literalAutolinkEmail:CA,literalAutolinkHttp:CA,literalAutolinkWww:CA},exit:{literalAutolink:Spe,literalAutolinkEmail:Dpe,literalAutolinkHttp:xpe,literalAutolinkWww:Cpe}}}function SA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:kA,notInConstruct:xA},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:kA,notInConstruct:xA},{character:":",before:"[ps]",after:"\\/",inConstruct:kA,notInConstruct:xA}]}}function kpe(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function CA(t){this.config.enter.autolinkProtocol.call(this,t)}function xpe(t){this.config.exit.autolinkProtocol.call(this,t)}function Cpe(t){this.config.exit.data.call(this,t);let e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Dpe(t){this.config.exit.autolinkEmail.call(this,t)}function Spe(t){this.exit(t)}function Epe(t){ly(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Mpe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Tpe]],{ignore:["link","linkReference"]})}function Mpe(t,e,n,r,i){let o="";if(!sU(i)||(/^w/i.test(e)&&(n=e+n,e="",o="http://"),!Ape(n)))return!1;let a=Ipe(n+r);if(!a[0])return!1;let s={type:"link",title:null,url:o+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function Tpe(t,e,n,r){return!sU(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function Ape(t){let e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function Ipe(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],r=n.indexOf(")"),i=vA(t,"("),o=vA(t,")");for(;r!==-1&&i>o;)t+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[t,n]}function sU(t,e){let n=t.input.charCodeAt(t.index-1);return(t.index===0||Ga(n)||qd(n))&&(!e||n!==47)}lU.peek=Bpe;function EA(){return{enter:{gfmFootnoteDefinition:Ope,gfmFootnoteDefinitionLabelString:Ppe,gfmFootnoteCall:Rpe,gfmFootnoteCallString:jpe},exit:{gfmFootnoteDefinition:Npe,gfmFootnoteDefinitionLabelString:Fpe,gfmFootnoteCall:Lpe,gfmFootnoteCallString:zpe}}}function MA(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Vpe,footnoteReference:lU}}}function Ope(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Ppe(){this.buffer()}function Fpe(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Kr(this.sliceSerialize(t)).toLowerCase()}function Npe(t){this.exit(t)}function Rpe(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function jpe(){this.buffer()}function zpe(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Kr(this.sliceSerialize(t)).toLowerCase()}function Lpe(t){this.exit(t)}function lU(t,e,n,r){let i=n.createTracker(r),o=i.move("[^"),a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(t),W(S({},i.current()),{before:o,after:"]"}))),s(),a(),o+=i.move("]"),o}function Bpe(){return"["}function Vpe(t,e,n,r){let i=n.createTracker(r),o=i.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(n.safe(n.associationId(t),W(S({},i.current()),{before:o,after:"]"}))),s(),o+=i.move("]:"+(t.children&&t.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(t,i.current()),Upe)),a(),o}function Upe(t,e,n){return e===0?t:(n?"":" ")+t}var Hpe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];cU.peek=Wpe;function TA(){return{canContainEols:["delete"],enter:{strikethrough:$pe},exit:{strikethrough:qpe}}}function AA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Hpe}],handlers:{delete:cU}}}function $pe(t){this.enter({type:"delete",children:[]},t)}function qpe(t){this.exit(t)}function cU(t,e,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),a=i.move("~~");return a+=n.containerPhrasing(t,W(S({},i.current()),{before:a,after:"~"})),a+=i.move("~~"),o(),a}function Wpe(){return"~"}function uU(t,e={}){let n=(e.align||[]).concat(),r=e.stringLength||Ype,i=[],o=[],a=[],s=[],l=0,c=-1;for(;++c<t.length;){let p=[],g=[],b=-1;for(t[c].length>l&&(l=t[c].length);++b<t[c].length;){let _=Gpe(t[c][b]);if(e.alignDelimiters!==!1){let x=r(_);g[b]=x,(s[b]===void 0||x>s[b])&&(s[b]=x)}p.push(_)}o[c]=p,a[c]=g}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<l;)i[d]=dU(n[d]);else{let p=dU(n);for(;++d<l;)i[d]=p}d=-1;let u=[],f=[];for(;++d<l;){let p=i[d],g="",b="";p===99?(g=":",b=":"):p===108?g=":":p===114&&(b=":");let _=e.alignDelimiters===!1?1:Math.max(1,s[d]-g.length-b.length),x=g+"-".repeat(_)+b;e.alignDelimiters!==!1&&(_=g.length+_+b.length,_>s[d]&&(s[d]=_),f[d]=_),u[d]=x}o.splice(1,0,u),a.splice(1,0,f),c=-1;let h=[];for(;++c<o.length;){let p=o[c],g=a[c];d=-1;let b=[];for(;++d<l;){let _=p[d]||"",x="",E="";if(e.alignDelimiters!==!1){let v=s[d]-(g[d]||0),j=i[d];j===114?x=" ".repeat(v):j===99?v%2?(x=" ".repeat(v/2+.5),E=" ".repeat(v/2-.5)):(x=" ".repeat(v/2),E=x):E=" ".repeat(v)}e.delimiterStart!==!1&&!d&&b.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&_==="")&&(e.delimiterStart!==!1||d)&&b.push(" "),e.alignDelimiters!==!1&&b.push(x),b.push(_),e.alignDelimiters!==!1&&b.push(E),e.padding!==!1&&b.push(" "),(e.delimiterEnd!==!1||d!==l-1)&&b.push("|")}h.push(e.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return h.join(` -`)}function Gpe(t){return t==null?"":String(t)}function Ype(t){return t.length}function dU(t){let e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function OA(){return{enter:{table:Kpe,tableData:fU,tableHeader:fU,tableRow:Xpe},exit:{codeText:Qpe,table:Zpe,tableData:IA,tableHeader:IA,tableRow:IA}}}function Kpe(t){let e=t._align;this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function Zpe(t){this.exit(t),this.data.inTable=void 0}function Xpe(t){this.enter({type:"tableRow",children:[]},t)}function IA(t){this.exit(t)}function fU(t){this.enter({type:"tableCell",children:[]},t)}function Qpe(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,Jpe));let n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function Jpe(t,e){return e==="|"?e:t}function PA(t){let e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` -`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:a,tableCell:l,tableRow:s}};function a(h,p,g,b){return c(d(h,g,b),h.align)}function s(h,p,g,b){let _=u(h,g,b),x=c([_]);return x.slice(0,x.indexOf(` -`))}function l(h,p,g,b){let _=g.enter("tableCell"),x=g.enter("phrasing"),E=g.containerPhrasing(h,W(S({},b),{before:o,after:o}));return x(),_(),E}function c(h,p){return uU(h,{align:p,alignDelimiters:r,padding:n,stringLength:i})}function d(h,p,g){let b=h.children,_=-1,x=[],E=p.enter("table");for(;++_<b.length;)x[_]=u(b[_],p,g);return E(),x}function u(h,p,g){let b=h.children,_=-1,x=[],E=p.enter("tableRow");for(;++_<b.length;)x[_]=l(b[_],h,p,g);return E(),x}function f(h,p,g){let b=Xd.inlineCode(h,p,g);return g.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function FA(){return{exit:{taskListCheckValueChecked:hU,taskListCheckValueUnchecked:hU,paragraph:eme}}}function NA(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tme}}}function hU(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function eme(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let r=n.children[0];if(r&&r.type==="text"){let i=e.children,o=-1,a;for(;++o<i.length;){let s=i[o];if(s.type==="paragraph"){a=s;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function tme(t,e,n,r){let i=t.children[0],o=typeof t.checked=="boolean"&&i&&i.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=Xd.listItem(t,e,n,S(S({},r),s.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(d){return d+a}}function RA(){return[DA(),EA(),TA(),OA(),FA()]}function jA(t){return{extensions:[SA(),MA(),AA(),PA(t),NA()]}}var nme={tokenize:sme,partial:!0},pU={tokenize:lme,partial:!0},mU={tokenize:cme,partial:!0},gU={tokenize:dme,partial:!0},rme={tokenize:ume,partial:!0},yU={tokenize:ome,previous:_U},bU={tokenize:ame,previous:wU},al={tokenize:ime,previous:vU},is={};function LA(){return{text:is}}var Bu=48;for(;Bu<123;)is[Bu]=al,Bu++,Bu===58?Bu=65:Bu===91&&(Bu=97);is[43]=al;is[45]=al;is[46]=al;is[95]=al;is[72]=[al,bU];is[104]=[al,bU];is[87]=[al,yU];is[119]=[al,yU];function ime(t,e,n){let r=this,i,o;return a;function a(u){return!zA(u)||!vU.call(r,r.previous)||BA(r.events)?n(u):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(u))}function s(u){return zA(u)?(t.consume(u),s):u===64?(t.consume(u),l):n(u)}function l(u){return u===46?t.check(rme,d,c)(u):u===45||u===95||dr(u)?(o=!0,t.consume(u),l):d(u)}function c(u){return t.consume(u),i=!0,l}function d(u){return o&&i&&cr(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(u)):n(u)}}function ome(t,e,n){let r=this;return i;function i(a){return a!==87&&a!==119||!_U.call(r,r.previous)||BA(r.events)?n(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(nme,t.attempt(pU,t.attempt(mU,o),n),n)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function ame(t,e,n){let r=this,i="",o=!1;return a;function a(u){return(u===72||u===104)&&wU.call(r,r.previous)&&!BA(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(u),t.consume(u),s):n(u)}function s(u){if(cr(u)&&i.length<5)return i+=String.fromCodePoint(u),t.consume(u),s;if(u===58){let f=i.toLowerCase();if(f==="http"||f==="https")return t.consume(u),l}return n(u)}function l(u){return u===47?(t.consume(u),o?c:(o=!0,l)):n(u)}function c(u){return u===null||$d(u)||Ot(u)||Ga(u)||qd(u)?n(u):t.attempt(pU,t.attempt(mU,d),n)(u)}function d(u){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(u)}}function sme(t,e,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,t.consume(a),i):a===46&&r===3?(t.consume(a),o):n(a)}function o(a){return a===null?n(a):e(a)}}function lme(t,e,n){let r,i,o;return a;function a(c){return c===46||c===95?t.check(gU,l,s)(c):c===null||Ot(c)||Ga(c)||c!==45&&qd(c)?l(c):(o=!0,t.consume(c),a)}function s(c){return c===95?r=!0:(i=r,r=void 0),t.consume(c),a}function l(c){return i||r||!o?n(c):e(c)}}function cme(t,e){let n=0,r=0;return i;function i(a){return a===40?(n++,t.consume(a),i):a===41&&r<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?t.check(gU,e,o)(a):a===null||Ot(a)||Ga(a)?e(a):(t.consume(a),i)}function o(a){return a===41&&r++,t.consume(a),i}}function dme(t,e,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(t.consume(s),r):s===38?(t.consume(s),o):s===93?(t.consume(s),i):s===60||s===null||Ot(s)||Ga(s)?e(s):n(s)}function i(s){return s===null||s===40||s===91||Ot(s)||Ga(s)?e(s):r(s)}function o(s){return cr(s)?a(s):n(s)}function a(s){return s===59?(t.consume(s),r):cr(s)?(t.consume(s),a):n(s)}}function ume(t,e,n){return r;function r(o){return t.consume(o),i}function i(o){return dr(o)?n(o):e(o)}}function _U(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Ot(t)}function wU(t){return!cr(t)}function vU(t){return!(t===47||zA(t))}function zA(t){return t===43||t===45||t===46||t===95||dr(t)}function BA(t){let e=t.length,n=!1;for(;e--;){let r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var fme={tokenize:_me,partial:!0};function VA(){return{document:{91:{tokenize:gme,continuation:{tokenize:yme},exit:bme}},text:{91:{tokenize:mme},93:{add:"after",tokenize:hme,resolveTo:pme}}}}function hme(t,e,n){let r=this,i=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a;for(;i--;){let l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return n(l);let c=Kr(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function pme(t,e){let n=t.length,r;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){r=t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[t[n+1],t[n+2],["enter",i,e],t[n+3],t[n+4],["enter",o,e],["exit",o,e],["enter",a,e],["enter",s,e],["exit",s,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(n,t.length-n+1,...l),t}function mme(t,e,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,a;return s;function s(u){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(u),t.exit("gfmFootnoteCallLabelMarker"),l}function l(u){return u!==94?n(u):(t.enter("gfmFootnoteCallMarker"),t.consume(u),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(u){if(o>999||u===93&&!a||u===null||u===91||Ot(u))return n(u);if(u===93){t.exit("chunkString");let f=t.exit("gfmFootnoteCallString");return i.includes(Kr(r.sliceSerialize(f)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(u),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(u)}return Ot(u)||(a=!0),o++,t.consume(u),u===92?d:c}function d(u){return u===91||u===92||u===93?(t.consume(u),o++,c):c(u)}}function gme(t,e,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,a=0,s;return l;function l(p){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(p),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(p){return p===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(p),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",d):n(p)}function d(p){if(a>999||p===93&&!s||p===null||p===91||Ot(p))return n(p);if(p===93){t.exit("chunkString");let g=t.exit("gfmFootnoteDefinitionLabelString");return o=Kr(r.sliceSerialize(g)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(p),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),f}return Ot(p)||(s=!0),a++,t.consume(p),p===92?u:d}function u(p){return p===91||p===92||p===93?(t.consume(p),a++,d):d(p)}function f(p){return p===58?(t.enter("definitionMarker"),t.consume(p),t.exit("definitionMarker"),i.includes(o)||i.push(o),Te(t,h,"gfmFootnoteDefinitionWhitespace")):n(p)}function h(p){return e(p)}}function yme(t,e,n){return t.check(Ya,e,t.attempt(fme,e,n))}function bme(t){t.exit("gfmFootnoteDefinition")}function _me(t,e,n){let r=this;return Te(t,i,"gfmFootnoteDefinitionIndent",4+1);function i(o){let a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(o):n(o)}}function UA(t){let n=(t||{}).singleTilde,r={tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},u={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},f=[["enter",d,s],["enter",a[c][1],s],["exit",a[c][1],s],["enter",u,s]],h=s.parser.constructs.insideSpan.null;h&&kn(f,f.length,0,lc(h,a.slice(c+1,l),s)),kn(f,f.length,0,[["exit",u,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",d,s]]),kn(a,c-1,l-c+3,f),l=c+f.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){let c=this.previous,d=this.events,u=0;return f;function f(p){return c===126&&d[d.length-1][1].type!=="characterEscape"?l(p):(a.enter("strikethroughSequenceTemporary"),h(p))}function h(p){let g=Ih(c);if(p===126)return u>1?l(p):(a.consume(p),u++,h);if(u<2&&!n)return l(p);let b=a.exit("strikethroughSequenceTemporary"),_=Ih(p);return b._open=!_||_===2&&!!g,b._close=!g||g===2&&!!_,s(p)}}}var Jk=class{constructor(){this.map=[]}add(e,n,r){wme(this,e,n,r)}consume(e){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length,r=[];for(;n>0;)n-=1,r.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];r.push([...e]),e.length=0;let i=r.pop();for(;i;)e.push(...i),i=r.pop();this.map.length=0}};function wme(t,e,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=n,t.map[i][2].push(...r);return}i+=1}t.map.push([e,n,r])}}function kU(t,e){let n=!1,r=[];for(;e<t.length;){let i=t[e];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return r}function HA(){return{flow:{null:{tokenize:vme,resolveAll:kme}}}}function vme(t,e,n){let r=this,i=0,o=0,a;return s;function s(O){let J=r.events.length-1;for(;J>-1;){let ie=r.events[J][1].type;if(ie==="lineEnding"||ie==="linePrefix")J--;else break}let V=J>-1?r.events[J][1].type:null,G=V==="tableHead"||V==="tableRow"?C:l;return G===C&&r.parser.lazy[r.now().line]?n(O):G(O)}function l(O){return t.enter("tableHead"),t.enter("tableRow"),c(O)}function c(O){return O===124||(a=!0,o+=1),d(O)}function d(O){return O===null?n(O):pe(O)?o>1?(o=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),h):n(O):$e(O)?Te(t,d,"whitespace")(O):(o+=1,a&&(a=!1,i+=1),O===124?(t.enter("tableCellDivider"),t.consume(O),t.exit("tableCellDivider"),a=!0,d):(t.enter("data"),u(O)))}function u(O){return O===null||O===124||Ot(O)?(t.exit("data"),d(O)):(t.consume(O),O===92?f:u)}function f(O){return O===92||O===124?(t.consume(O),u):u(O)}function h(O){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(O):(t.enter("tableDelimiterRow"),a=!1,$e(O)?Te(t,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):p(O))}function p(O){return O===45||O===58?b(O):O===124?(a=!0,t.enter("tableCellDivider"),t.consume(O),t.exit("tableCellDivider"),g):j(O)}function g(O){return $e(O)?Te(t,b,"whitespace")(O):b(O)}function b(O){return O===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(O),t.exit("tableDelimiterMarker"),_):O===45?(o+=1,_(O)):O===null||pe(O)?v(O):j(O)}function _(O){return O===45?(t.enter("tableDelimiterFiller"),x(O)):j(O)}function x(O){return O===45?(t.consume(O),x):O===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(O),t.exit("tableDelimiterMarker"),E):(t.exit("tableDelimiterFiller"),E(O))}function E(O){return $e(O)?Te(t,v,"whitespace")(O):v(O)}function v(O){return O===124?p(O):O===null||pe(O)?!a||i!==o?j(O):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(O)):j(O)}function j(O){return n(O)}function C(O){return t.enter("tableRow"),P(O)}function P(O){return O===124?(t.enter("tableCellDivider"),t.consume(O),t.exit("tableCellDivider"),P):O===null||pe(O)?(t.exit("tableRow"),e(O)):$e(O)?Te(t,P,"whitespace")(O):(t.enter("data"),z(O))}function z(O){return O===null||O===124||Ot(O)?(t.exit("data"),P(O)):(t.consume(O),O===92?N:z)}function N(O){return O===92||O===124?(t.consume(O),z):z(O)}}function kme(t,e){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,d,u,f=new Jk;for(;++n<t.length;){let h=t[n],p=h[1];h[0]==="enter"?p.type==="tableHead"?(s=!1,l!==0&&(xU(f,e,l,c,d),d=void 0,l=0),c={type:"table",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(n,0,[["enter",c,e]])):p.type==="tableRow"||p.type==="tableDelimiterRow"?(r=!0,u=void 0,o=[0,0,0,0],a=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},p.start),end:Object.assign({},p.end)},f.add(n,0,[["enter",d,e]])),i=p.type==="tableDelimiterRow"?2:d?3:1):i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],u=ex(f,e,o,i,void 0,u),o=[0,0,0,0]),a[2]=n)):p.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(a[0]=a[1],u=ex(f,e,o,i,void 0,u)),o=a,a=[o[1],n,0,0])):p.type==="tableHead"?(s=!0,l=n):p.type==="tableRow"||p.type==="tableDelimiterRow"?(l=n,o[1]!==0?(a[0]=a[1],u=ex(f,e,o,i,n,u)):a[1]!==0&&(u=ex(f,e,a,i,n,u)),i=0):i&&(p.type==="data"||p.type==="tableDelimiterMarker"||p.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&xU(f,e,l,c,d),f.consume(e.events),n=-1;++n<e.events.length;){let h=e.events[n];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=kU(e.events,n))}return t}function ex(t,e,n,r,i,o){let a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(o.end=Object.assign({},Ep(e.events,n[0])),t.add(n[0],0,[["exit",o,e]]));let l=Ep(e.events,n[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},t.add(n[1],0,[["enter",o,e]]),n[2]!==0){let c=Ep(e.events,n[2]),d=Ep(e.events,n[3]),u={type:s,start:Object.assign({},c),end:Object.assign({},d)};if(t.add(n[2],0,[["enter",u,e]]),r!==2){let f=e.events[n[2]],h=e.events[n[3]];if(f[1].end=Object.assign({},h[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){let p=n[2]+1,g=n[3]-n[2]-1;t.add(p,g,[])}}t.add(n[3]+1,0,[["exit",u,e]])}return i!==void 0&&(o.end=Object.assign({},Ep(e.events,i)),t.add(i,0,[["exit",o,e]]),o=void 0),o}function xU(t,e,n,r,i){let o=[],a=Ep(e.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,e])),r.end=Object.assign({},a),o.push(["exit",r,e]),t.add(n+1,0,o)}function Ep(t,e){let n=t[e],r=n[0]==="enter"?"start":"end";return n[1][r]}var xme={tokenize:Cme};function $A(){return{text:{91:xme}}}function Cme(t,e,n){let r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return Ot(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),s):n(l)}function s(l){return pe(l)?e(l):$e(l)?t.check({tokenize:Dme},e,n)(l):n(l)}}function Dme(t,e,n){return Te(t,r,"whitespace");function r(i){return i===null?n(i):e(i)}}function CU(t){return t1([LA(),VA(),UA(t),HA(),$A()])}var Sme={};function tx(t){let e=this,n=t||Sme,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(CU(n)),o.push(RA()),a.push(jA(n))}function pt(t,e){return Object.assign(t,{meta:S({package:"@milkdown/preset-gfm"},e)}),t}var GA=vu("strike_through");pt(GA,{displayName:"Attr<strikethrough>",group:"Strikethrough"});var nx=wu("strike_through",t=>({parseDOM:[{tag:"del"},{style:"text-decoration",getAttrs:e=>e==="line-through"}],toDOM:e=>["del",t.get(GA.key)(e)],parseMarkdown:{match:e=>e.type==="delete",runner:(e,n,r)=>{e.openMark(r),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="strike_through",runner:(e,n)=>{e.withMark(n,"delete")}}}));pt(nx.mark,{displayName:"MarkSchema<strikethrough>",group:"Strikethrough"});pt(nx.ctx,{displayName:"MarkSchemaCtx<strikethrough>",group:"Strikethrough"});var Vu=ct("ToggleStrikeThrough",t=>()=>Zh(nx.type(t)));pt(Vu,{displayName:"Command<ToggleStrikethrough>",group:"Strikethrough"});var YA=Br("strikeThroughKeymap",{ToggleStrikethrough:{shortcuts:"Mod-Alt-x",command:t=>{let e=t.get(nt);return()=>e.call(Vu.key)}}});pt(YA.ctx,{displayName:"KeymapCtx<strikethrough>",group:"Strikethrough"});pt(YA.shortcuts,{displayName:"Keymap<strikethrough>",group:"Strikethrough"});function TU(t,e=3,n=3){let r=Array(n).fill(0).map(()=>uy.type(t).createAndFill()),i=Array(n).fill(0).map(()=>ix.type(t).createAndFill()),o=Array(e).fill(0).map((a,s)=>dy.type(t).create(null,s===0?i:r));return cy.type(t).create(null,o)}function Mp(t){return J1(e=>e.type.spec.tableRole==="table")(t)}function Tc(t,e){let n=Mp(e);if(!n)return;let r=qt.get(n.node);if(!(t<0||t>=r.width))return r.cellsInRect({left:t,right:t+1,top:0,bottom:r.height}).map(i=>{let o=n.node.nodeAt(i);if(!o)return;let a=i+n.start;return{pos:a,start:a+1,node:o}}).filter(i=>i!=null)}function Ac(t,e){let n=Mp(e);if(!n)return;let r=qt.get(n.node);if(!(t<0||t>=r.height))return r.cellsInRect({left:0,right:r.width,top:t,bottom:t+1}).map(i=>{let o=n.node.nodeAt(i);if(!o)return;let a=i+n.start;return{pos:a,start:a+1,node:o}}).filter(i=>i!=null)}function Eme(t){let e=Mp(t);if(!e)return;let n=qt.get(e.node);return n.cellsInRect({left:0,right:n.width,top:0,bottom:n.height}).map(r=>{let i=e.node.nodeAt(r),o=r+e.start;return{pos:o,start:o+1,node:i}})}function Mme(t){let e=Eme(t.selection);if(e&&e[0]){let n=t.doc.resolve(e[0].pos),r=e[e.length-1];if(r){let i=t.doc.resolve(r.pos);return F0(t.setSelection(new nn(i,n)))}}return t}function AU(t,e,{map:n,tableStart:r,table:i},o){let a=Array(o).fill(0).reduce((l,c,d)=>l+i.child(d).nodeSize,r),s=Array(n.width).fill(0).map((l,c)=>{let d=i.nodeAt(n.map[c]);return uy.type(t).createAndFill({alignment:d?.attrs.alignment})});return e.insert(a,dy.type(t).create(null,s)),e}function IU(t){return e=>n=>{let r=Mp(n.selection),i=t==="row";if(r){let o=qt.get(r.node);if(e>=0&&e<(i?o.height:o.width)){let a=o.positionAt(i?e:o.height-1,i?o.width-1:e,r.node),s=n.doc.resolve(r.start+a),l=i?nn.rowSelection:nn.colSelection,c=o.positionAt(i?e:0,i?0:e,r.node),d=n.doc.resolve(r.start+c);return F0(n.setSelection(l(s,d)))}}return n}}var Tme=IU("row"),Ame=IU("col");function DU(t){return t[0].map((e,n)=>t.map(r=>r[n]))}function OU(t,e){let n=[],r=qt.get(t);for(let i=0;i<r.height;i++){let o=t.child(i),a=[];for(let s=0;s<r.width;s++){if(!e[i][s])continue;let l=r.map[i*r.width+s],c=e[i][s],d=t.nodeAt(l).type.createChecked(Object.assign({},c.attrs),c.content,c.marks);a.push(d)}n.push(o.type.createChecked(o.attrs,a,o.marks))}return t.type.createChecked(t.attrs,n,t.marks)}function PU(t){let e=qt.get(t),n=[];for(let r=0;r<e.height;r++){let i=[],o={};for(let a=0;a<e.width;a++){let s=e.map[r*e.width+a],l=t.nodeAt(s),c=e.findCell(s);if(o[s]||c.top!==r){i.push(null);continue}o[s]=!0,i.push(l)}n.push(i)}return n}function FU(t,e,n,r){let i=e[0]>n[0]?-1:1,o=t.splice(e[0],e.length),a=o.length%2===0?1:0,s;return r===-1&&i===1?s=n[0]-1:r===1&&i===-1?s=n[n.length-1]-a+1:s=i===-1?n[0]:n[n.length-1]-a,t.splice(s,0,...o),t}function Ime(t,e,n,r){let i=DU(PU(t.node));return i=FU(i,e,n,r),i=DU(i),OU(t.node,i)}function Ome(t,e,n,r){let i=PU(t.node);return i=FU(i,e,n,r),OU(t.node,i)}function SU(t,e){let n=t,r=t;for(let d=t;d>=0;d--){let u=Tc(d,e.selection);u&&u.forEach(f=>{let h=f.node.attrs.colspan+d-1;h>=n&&(n=d),h>r&&(r=h)})}for(let d=t;d<=r;d++){let u=Tc(d,e.selection);u&&u.forEach(f=>{let h=f.node.attrs.colspan+d-1;f.node.attrs.colspan>1&&h>r&&(r=h)})}let i=[];for(let d=n;d<=r;d++){let u=Tc(d,e.selection);u&&u.length&&i.push(d)}n=i[0],r=i[i.length-1];let o=Tc(n,e.selection),a=Ac(0,e.selection),s=e.doc.resolve(o[o.length-1].pos),l;for(let d=r;d>=n;d--){let u=Tc(d,e.selection);if(u&&u.length){for(let f=a.length-1;f>=0;f--)if(a[f].pos===u[0].pos){l=u[0];break}if(l)break}}let c=e.doc.resolve(l.pos);return{$anchor:s,$head:c,indexes:i}}function EU(t,e){let n=t,r=t;for(let d=t;d>=0;d--)Ac(d,e.selection).forEach(u=>{let f=u.node.attrs.rowspan+d-1;f>=n&&(n=d),f>r&&(r=f)});for(let d=t;d<=r;d++)Ac(d,e.selection).forEach(u=>{let f=u.node.attrs.rowspan+d-1;u.node.attrs.rowspan>1&&f>r&&(r=f)});let i=[];for(let d=n;d<=r;d++){let u=Ac(d,e.selection);u&&u.length&&i.push(d)}n=i[0],r=i[i.length-1];let o=Ac(n,e.selection),a=Tc(0,e.selection),s=e.doc.resolve(o[o.length-1].pos),l;for(let d=r;d>=n;d--){let u=Ac(d,e.selection);if(u&&u.length){for(let f=a.length-1;f>=0;f--)if(a[f].pos===u[0].pos){l=u[0];break}if(l)break}}let c=e.doc.resolve(l.pos);return{$anchor:s,$head:c,indexes:i}}function Pme(t,e,n,r=!0){let i=Mp(t.selection);if(!i)return t;let{indexes:o}=SU(e,t),{indexes:a}=SU(n,t);if(o.includes(n))return t;let s=Ime(i,o,a,0),l=F0(t).replaceWith(i.pos,i.pos+i.node.nodeSize,s);if(!r)return l;let c=qt.get(s),d=i.start,u=n,f=c.positionAt(c.height-1,u,s),h=l.doc.resolve(d+f),p=nn.colSelection,g=c.positionAt(0,u,s),b=l.doc.resolve(d+g);return l.setSelection(p(h,b))}function Fme(t,e,n,r=!0){let i=Mp(t.selection);if(!i)return t;let{indexes:o}=EU(e,t),{indexes:a}=EU(n,t);if(o.includes(n))return t;let s=Ome(i,o,a,0),l=F0(t).replaceWith(i.pos,i.pos+i.node.nodeSize,s);if(!r)return l;let c=qt.get(s),d=i.start,u=n,f=c.positionAt(u,c.width-1,s),h=l.doc.resolve(d+f),p=nn.rowSelection,g=c.positionAt(u,0,s),b=l.doc.resolve(d+g);return l.setSelection(p(h,b))}var rx=WV({tableGroup:"block",cellContent:"paragraph",cellAttributes:{alignment:{default:"left",getFromDOM:t=>t.style.textAlign||"left",setDOMAttr:(t,e)=>{e.style=`text-align: ${t||"left"}`}}}}),cy=mn("table",()=>W(S({},rx.table),{parseMarkdown:{match:t=>t.type==="table",runner:(t,e,n)=>{let r=e.align,i=e.children.map((o,a)=>W(S({},o),{align:r,isHeader:a===0}));t.openNode(n),t.next(i),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="table",runner:(t,e)=>{var n;let r=(n=e.content.firstChild)==null?void 0:n.content;if(!r)return;let i=[];r.forEach(o=>{i.push(o.attrs.alignment)}),t.openNode("table",void 0,{align:i}),t.next(e.content),t.closeNode()}}}));pt(cy.node,{displayName:"NodeSchema<table>",group:"Table"});pt(cy.ctx,{displayName:"NodeSchemaCtx<table>",group:"Table"});var dy=mn("table_row",()=>W(S({},rx.table_row),{parseMarkdown:{match:t=>t.type==="tableRow",runner:(t,e,n)=>{let r=e.align,i=e.children.map((o,a)=>W(S({},o),{align:r[a],isHeader:e.isHeader}));t.openNode(n),t.next(i),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="table_row",runner:(t,e)=>{t.openNode("tableRow"),t.next(e.content),t.closeNode()}}}));pt(dy.node,{displayName:"NodeSchema<tableRow>",group:"Table"});pt(dy.ctx,{displayName:"NodeSchemaCtx<tableRow>",group:"Table"});var uy=mn("table_cell",()=>W(S({},rx.table_cell),{parseMarkdown:{match:t=>t.type==="tableCell"&&!t.isHeader,runner:(t,e,n)=>{let r=e.align;t.openNode(n,{alignment:r}).openNode(t.schema.nodes.paragraph).next(e.children).closeNode().closeNode()}},toMarkdown:{match:t=>t.type.name==="table_cell",runner:(t,e)=>{t.openNode("tableCell").next(e.content).closeNode()}}}));pt(uy.node,{displayName:"NodeSchema<tableCell>",group:"Table"});pt(uy.ctx,{displayName:"NodeSchemaCtx<tableCell>",group:"Table"});var ix=mn("table_header",()=>W(S({},rx.table_header),{parseMarkdown:{match:t=>t.type==="tableCell"&&!!t.isHeader,runner:(t,e,n)=>{let r=e.align;t.openNode(n,{alignment:r}),t.openNode(t.schema.nodes.paragraph),t.next(e.children),t.closeNode(),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="table_header",runner:(t,e)=>{t.openNode("tableCell"),t.next(e.content),t.closeNode()}}}));pt(ix.node,{displayName:"NodeSchema<tableHeader>",group:"Table"});pt(ix.ctx,{displayName:"NodeSchemaCtx<tableHeader>",group:"Table"});var NU=Lr(t=>new zn(/^\|(?<col>\d+)[xX](?<row>\d+)\|\s$/,(e,n,r,i)=>{var o,a;let s=e.doc.resolve(r);if(!s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),cy.type(t)))return null;let l=TU(t,Number((o=n.groups)==null?void 0:o.row),Number((a=n.groups)==null?void 0:a.col)),c=e.tr.replaceRangeWith(r,i,l);return c.setSelection(Ne.create(c.doc,r+3)).scrollIntoView()}));pt(NU,{displayName:"InputRule<insertTableInputRule>",group:"Table"});var KA=ct("GoToPrevTableCell",()=>()=>wA(-1));pt(KA,{displayName:"Command<goToPrevTableCellCommand>",group:"Table"});var ZA=ct("GoToNextTableCell",()=>()=>wA(1));pt(ZA,{displayName:"Command<goToNextTableCellCommand>",group:"Table"});var XA=ct("BreakTable",t=>()=>(e,n)=>{if(!ki(e))return!1;let{$head:r}=e.selection,i=r.after(),o=e.tr.replaceWith(i,i,es.type(t).createAndFill());return o.setSelection(Pe.near(o.doc.resolve(i),1)).scrollIntoView(),n?.(o),!0});pt(XA,{displayName:"Command<breakTableCommand>",group:"Table"});var ox=ct("InsertTable",t=>({row:e,col:n}={})=>(r,i)=>{let{selection:o,tr:a}=r,{from:s}=o,l=TU(t,e,n),c=a.replaceSelectionWith(l),d=Pe.findFrom(c.doc.resolve(s),1,!0);return d&&c.setSelection(d),i?.(c),!0});pt(ox,{displayName:"Command<insertTableCommand>",group:"Table"});var ax=ct("MoveRow",()=>({from:t,to:e}={})=>(n,r)=>{let{tr:i}=n;return!!r?.(Fme(i,t??0,e??0,!0))});pt(ax,{displayName:"Command<moveRowCommand>",group:"Table"});var sx=ct("MoveCol",()=>({from:t,to:e}={})=>(n,r)=>{let{tr:i}=n;return!!r?.(Pme(i,t??0,e??0,!0))});pt(sx,{displayName:"Command<moveColCommand>",group:"Table"});var lx=ct("SelectRow",()=>(t=0)=>(e,n)=>{let{tr:r}=e;return!!n?.(Tme(t)(r))});pt(lx,{displayName:"Command<selectRowCommand>",group:"Table"});var cx=ct("SelectCol",()=>(t=0)=>(e,n)=>{let{tr:r}=e;return!!n?.(Ame(t)(r))});pt(cx,{displayName:"Command<selectColCommand>",group:"Table"});var dx=ct("SelectTable",()=>()=>(t,e)=>{let{tr:n}=t;return!!e?.(Mme(n))});pt(dx,{displayName:"Command<selectTableCommand>",group:"Table"});var ux=ct("DeleteSelectedCells",()=>()=>(t,e)=>{let{selection:n}=t;if(!(n instanceof nn))return!1;let r=n.isRowSelection(),i=n.isColSelection();return r&&i?oU(t,e):i?nU(t,e):rU(t,e)});pt(ux,{displayName:"Command<deleteSelectedCellsCommand>",group:"Table"});var fx=ct("AddColBefore",()=>()=>eU);pt(fx,{displayName:"Command<addColBeforeCommand>",group:"Table"});var hx=ct("AddColAfter",()=>()=>tU);pt(hx,{displayName:"Command<addColAfterCommand>",group:"Table"});var px=ct("AddRowBefore",t=>()=>(e,n)=>{if(!ki(e))return!1;if(n){let r=ol(e);n(AU(t,e.tr,r,r.top))}return!0});pt(px,{displayName:"Command<addRowBeforeCommand>",group:"Table"});var mx=ct("AddRowAfter",t=>()=>(e,n)=>{if(!ki(e))return!1;if(n){let r=ol(e);n(AU(t,e.tr,r,r.bottom))}return!0});pt(mx,{displayName:"Command<addRowAfterCommand>",group:"Table"});var Tp=ct("SetAlign",()=>(t="left")=>iU("alignment",t));pt(Tp,{displayName:"Command<setAlignCommand>",group:"Table"});var QA=Br("tableKeymap",{NextCell:{shortcuts:["Mod-]","Tab"],command:t=>{let e=t.get(nt);return()=>e.call(ZA.key)}},PrevCell:{shortcuts:["Mod-[","Shift-Tab"],command:t=>{let e=t.get(nt);return()=>e.call(KA.key)}},ExitTable:{shortcuts:["Mod-Enter"],command:t=>{let e=t.get(nt);return()=>e.call(XA.key)}}});pt(QA.ctx,{displayName:"KeymapCtx<table>",group:"Table"});pt(QA.shortcuts,{displayName:"Keymap<table>",group:"Table"});var qA="footnote_definition",MU="footnoteDefinition",fy=mn("footnote_definition",()=>({group:"block",content:"block+",defining:!0,attrs:{label:{default:""}},parseDOM:[{tag:`dl[data-type="${qA}"]`,getAttrs:t=>{if(!(t instanceof HTMLElement))throw lr(t);return{label:t.dataset.label}},contentElement:"dd"}],toDOM:t=>{let e=t.attrs.label;return["dl",{"data-label":e,"data-type":qA},["dt",e],["dd",0]]},parseMarkdown:{match:({type:t})=>t===MU,runner:(t,e,n)=>{t.openNode(n,{label:e.label}).next(e.children).closeNode()}},toMarkdown:{match:t=>t.type.name===qA,runner:(t,e)=>{t.openNode(MU,void 0,{label:e.attrs.label,identifier:e.attrs.label}).next(e.content).closeNode()}}}));pt(fy.ctx,{displayName:"NodeSchemaCtx<footnodeDef>",group:"footnote"});pt(fy.node,{displayName:"NodeSchema<footnodeDef>",group:"footnote"});var WA="footnote_reference",hy=mn("footnote_reference",()=>({group:"inline",inline:!0,atom:!0,attrs:{label:{default:""}},parseDOM:[{tag:`sup[data-type="${WA}"]`,getAttrs:t=>{if(!(t instanceof HTMLElement))throw lr(t);return{label:t.dataset.label}}}],toDOM:t=>{let e=t.attrs.label;return["sup",{"data-label":e,"data-type":WA},e]},parseMarkdown:{match:({type:t})=>t==="footnoteReference",runner:(t,e,n)=>{t.addNode(n,{label:e.label})}},toMarkdown:{match:t=>t.type.name===WA,runner:(t,e)=>{t.addNode("footnoteReference",void 0,void 0,{label:e.attrs.label,identifier:e.attrs.label})}}}));pt(hy.ctx,{displayName:"NodeSchemaCtx<footnodeRef>",group:"footnote"});pt(hy.node,{displayName:"NodeSchema<footnodeRef>",group:"footnote"});var RU=ao.extendSchema(t=>e=>{let n=t(e);return W(S({},n),{attrs:W(S({},n.attrs),{checked:{default:null}}),parseDOM:[{tag:'li[data-item-type="task"]',getAttrs:r=>{if(!(r instanceof HTMLElement))throw lr(r);return{label:r.dataset.label,listType:r.dataset["list-type"],spread:r.dataset.spread,checked:r.dataset.checked?r.dataset.checked==="true":null}}},...n?.parseDOM||[]],toDOM:r=>n.toDOM&&r.attrs.checked==null?n.toDOM(r):["li",{"data-item-type":"task","data-label":r.attrs.label,"data-list-type":r.attrs.listType,"data-spread":r.attrs.spread,"data-checked":r.attrs.checked},0],parseMarkdown:{match:({type:r})=>r==="listItem",runner:(r,i,o)=>{if(i.checked==null){n.parseMarkdown.runner(r,i,o);return}let a=i.label!=null?`${i.label}.`:"\u2022",s=i.checked!=null?!!i.checked:null,l=i.label!=null?"ordered":"bullet",c=i.spread!=null?`${i.spread}`:"true";r.openNode(o,{label:a,listType:l,spread:c,checked:s}),r.next(i.children),r.closeNode()}},toMarkdown:{match:r=>r.type.name==="list_item",runner:(r,i)=>{if(i.attrs.checked==null){n.toMarkdown.runner(r,i);return}let o=i.attrs.label,a=i.attrs.listType,s=i.attrs.spread==="true",l=i.attrs.checked;r.openNode("listItem",void 0,{label:o,listType:a,spread:s,checked:l}),r.next(i.content),r.closeNode()}}})});pt(RU,{displayName:"NodeSchema<listItem>",group:"ListItem"});var jU=Lr(()=>new zn(/^\[(?<checked>\s|x)\]\s$/,(t,e,n,r)=>{var i;let o=t.doc.resolve(n),a=0,s=o.node(a);for(;s&&s.type.name!=="list_item";)a--,s=o.node(a);if(!s||s.attrs.checked!=null)return null;let l=((i=e.groups)==null?void 0:i.checked)==="x",c=o.before(a),d=t.tr;return d.deleteRange(n,r).setNodeMarkup(c,void 0,W(S({},s.attrs),{checked:l})),d}));pt(jU,{displayName:"InputRule<wrapInTaskListInputRule>",group:"ListItem"});var Nme=[YA,QA].flat(),Rme=[NU,jU],zU=$t(t=>{let e=new at("MILKDOWN_AUTO_INSERT_ZERO_SPACE"),n=i=>i.type===es.type(t),r=i=>n(i)&&i.nodeSize===2;return new Be({key:e,props:{handleDOMEvents:{compositionstart(i){let{state:o,dispatch:a}=i,{tr:s,selection:l}=o,{$from:c}=l;return wc.safari&&ki(o)&&l.empty&&r(c.parent)&&a(s.insertText("\u2060",c.start())),!1},compositionend(i){let{state:o,dispatch:a}=i,{tr:s,selection:l}=o,{$from:c}=l;return wc.safari&&ki(o)&&l.empty&&n(c.parent)&&c.parent.textContent.startsWith("\u2060")&&a(s.delete(c.start(),c.start()+1)),!1}}}})});pt(zU,{displayName:"Prose<autoInsertZeroSpaceInTablePlugin>",group:"Prose"});var LU=$t(()=>XV({}));pt(LU,{displayName:"Prose<columnResizingPlugin>",group:"Prose"});var BU=$t(()=>aU());pt(BU,{displayName:"Prose<tableEditingPlugin>",group:"Prose"});var JA=wi("remarkGFM",()=>tx);pt(JA.plugin,{displayName:"Remark<remarkGFMPlugin>",group:"Remark"});pt(JA.options,{displayName:"RemarkConfig<remarkGFMPlugin>",group:"Remark"});var jme=[zU,LU,BU,JA].flat(),zme=[RU,cy,dy,ix,uy,fy,hy,GA,nx].flat(),Lme=[ZA,KA,XA,ox,ax,sx,lx,cx,dx,ux,px,mx,fx,hx,Tp,Vu],VU=[zme,Rme,Nme,jme,Lme].flat();function eI(t){if(!t)return!1;if(Array.isArray(t))return t.length>1?!1:eI(t[0]);let e=t.content;return e?eI(e):t.type==="text"}function Bme(t){if(t.content.childCount===1){let e=t.content.firstChild;if(e?.type.name==="text"&&e.marks.length===0)return e;if(e?.type.name==="paragraph"&&e.childCount===1){let n=e.firstChild;if(n?.type.name==="text"&&n.marks.length===0)return n}}return!1}var tI=$t(t=>{let e=t.get(Jr);t.update(ma,r=>W(S({},r),{editable:r.editable??(()=>!0)}));let n=new at("MILKDOWN_CLIPBOARD");return new Be({key:n,props:{handlePaste:(r,i)=>{var o,a;let s=t.get(pa),l=(a=(o=r.props).editable)==null?void 0:a.call(o,r.state),{clipboardData:c}=i;if(!l||!c||r.state.selection.$from.node().type.spec.code)return!1;let d=c.getData("text/plain"),u=c.getData("vscode-editor-data");if(u){let _=JSON.parse(u),x=_?.mode;if(d&&x){let{tr:E}=r.state,v=$L("code_block",e);return E.replaceSelectionWith(v.create({language:x})).setSelection(Ne.near(E.doc.resolve(Math.max(0,E.selection.from-2)))).insertText(d.replace(/\r\n?/g,` -`)),r.dispatch(E),!0}}let f=c.getData("text/html");if(f.length===0&&d.length===0)return!1;let h=Hs.fromSchema(e),p;if(f.length===0){let _=s(d);if(!_||typeof _=="string")return!1;p=Ao.fromSchema(e).serializeFragment(_.content)}else{let _=document.createElement("template");_.innerHTML=f,p=_.content.cloneNode(!0),_.remove()}let g=h.parseSlice(p),b=Bme(g);return b?(r.dispatch(r.state.tr.replaceSelectionWith(b,!0)),!0):(r.dispatch(r.state.tr.replaceSelection(g)),!0)},clipboardTextSerializer:r=>{let i=t.get(Ja);if(eI(r.content.toJSON()))return r.content.textBetween(0,r.content.size,` +`)[0]||"";function Dfe(t){return t.childCount===1&&t.child(0).type.name==="html"}function VB(t,e){try{let n=xfe(t,e),r=_fe(e),i=wfe(t,e,r,n),[o,a]=vfe(t,i),s=kfe(t,o);return!s||r.type!==s.type||Dfe(s)?null:(s.attrs=D({},r.attrs),s.descendants(l=>{var c,d,u;let f=l.marks.find(p=>p.type.name==="link");f&&(c=l.text)!=null&&c.includes(a)&&f.attrs.href.includes(a)&&(f.attrs.href=f.attrs.href.replace(a,"")),((d=l.text)!=null&&d.includes(JT)||(u=l.text)!=null&&u.includes(t3))&&(l.text=l.text.replaceAll(JT,QT).replaceAll(t3,e3))}),{text:Cfe(o),prevNode:r,nextNode:s,placeholder:a})}catch{return null}}function Sfe(t,e,n,r,i){var o;let{placeholderConfig:a}=t.get(gh.key),s=a.hole,l=n.tr.setMeta(e,!0).insertText(s,n.selection.from),c=n.apply(l),d=VB(t,c);if(!d)return;let u=d.text.slice(0,d.text.indexOf(d.placeholder)),{$from:f}=c.selection,p=f.before(),h=f.after(),g=yfe(d.nextNode,p,d.placeholder);l=l.replaceWith(p,h,d.nextNode).setNodeMarkup(p,void 0,i).delete(g+1,g+2),l=l.setSelection(je.near(l.doc.resolve(g+1))),(dfe.test(u)||["*","_","~"].includes(u.at(-1)||""))&&l.selection instanceof je&&(((o=l.selection.$cursor)==null?void 0:o.marks())??[]).forEach(b=>{l=l.removeStoredMark(b.type)}),r(l)}var UB=Bt(t=>{let e=null,n=new Je("MILKDOWN_INLINE_SYNC");return new Le({key:n,state:{init:()=>null,apply:(r,i,o,a)=>{var s;let l=t.get(on);if(!((s=l.hasFocus)!=null&&s.call(l))||!l.editable||!r.docChanged||r.getMeta(n))return null;let c=VB(t,a);if(!c)return null;e&&(cancelAnimationFrame(e),e=null);let{prevNode:d,nextNode:u,text:f}=c,{shouldSyncNode:p}=t.get(gh.key);return p({prevNode:d,nextNode:u,ctx:t,tr:r,text:f})&&(e=requestAnimationFrame(()=>{e=null;let{dispatch:h,state:g}=t.get(on);Sfe(t,n,g,h,d.attrs)})),null}}})});K(UB,{displayName:"Prose<inlineSyncPlugin>",group:"Prose"});var N3=_i("remarkAddOrderInList",()=>()=>t=>{oo(t,"list",e=>{if(e.ordered){let n=e.start??1;e.children.forEach((r,i)=>{r.label=i+n})}})});K(N3.plugin,{displayName:"Remark<remarkAddOrderInListPlugin>",group:"Remark"});K(N3.options,{displayName:"RemarkConfig<remarkAddOrderInListPlugin>",group:"Remark"});var R3=_i("remarkLineBreak",()=>()=>t=>{let e=/[\t ]*(?:\r?\n|\r)/g;oo(t,"text",(n,r,i)=>{if(!n.value||typeof n.value!="string")return;let o=[],a=0;e.lastIndex=0;let s=e.exec(n.value);for(;s;){let l=s.index;a!==l&&o.push({type:"text",value:n.value.slice(a,l)}),o.push({type:"break",data:{isInline:!0}}),a=l+s[0].length,s=e.exec(n.value)}if(o.length>0&&i&&typeof r=="number")return a<n.value.length&&o.push({type:"text",value:n.value.slice(a)}),i.children.splice(r,1,...o),r+o.length})});K(R3.plugin,{displayName:"Remark<remarkLineBreak>",group:"Remark"});K(R3.options,{displayName:"RemarkConfig<remarkLineBreak>",group:"Remark"});var j3=_i("remarkInlineLink",()=>xk);K(j3.plugin,{displayName:"Remark<remarkInlineLinkPlugin>",group:"Remark"});K(j3.options,{displayName:"RemarkConfig<remarkInlineLinkPlugin>",group:"Remark"});var Efe=t=>!!t.children,Mfe=t=>t.type==="html";function Tfe(t,e){return n(t,0,null)[0];function n(r,i,o){if(Efe(r)){let a=[];for(let s=0,l=r.children.length;s<l;s++){let c=r.children[s];if(c){let d=n(c,s,r);if(d)for(let u=0,f=d.length;u<f;u++){let p=d[u];p&&a.push(p)}}}r.children=a}return e(r,i,o)}}var z3=_i("remarkHTMLTransformer",()=>()=>t=>{Tfe(t,(e,n,r)=>Mfe(e)?(r?.type==="root"&&(e.children=[D({},e)],delete e.value,e.type="paragraph"),[e]):[e])});K(z3.plugin,{displayName:"Remark<remarkHtmlTransformer>",group:"Remark"});K(z3.options,{displayName:"RemarkConfig<remarkHtmlTransformer>",group:"Remark"});var L3=_i("remarkMarker",()=>()=>(t,e)=>{let n=r=>e.value.charAt(r.position.start.offset);oo(t,r=>["strong","emphasis"].includes(r.type),r=>{r.marker=n(r)})});K(L3.plugin,{displayName:"Remark<remarkMarker>",group:"Remark"});K(L3.options,{displayName:"RemarkConfig<remarkMarker>",group:"Remark"});var HB=Bt(()=>{let t=!1,e=new Je("MILKDOWN_INLINE_NODES_CURSOR"),n=new Le({key:e,state:{init(){return!1},apply(r){if(!r.selection.empty)return!1;let i=r.selection.$from,o=i.nodeBefore,a=i.nodeAfter;return!!(o&&a&&o.isInline&&!o.isText&&a.isInline&&!a.isText)}},props:{handleDOMEvents:{compositionend:(r,i)=>t?(t=!1,requestAnimationFrame(()=>{if(n.getState(r.state)){let o=r.state.selection.from;i.preventDefault(),r.dispatch(r.state.tr.insertText(i.data||"",o))}}),!0):!1,compositionstart:r=>(n.getState(r.state)&&(t=!0),!1),beforeinput:(r,i)=>{if(n.getState(r.state)&&i instanceof InputEvent&&i.data&&!t){let o=r.state.selection.from;return i.preventDefault(),r.dispatch(r.state.tr.insertText(i.data||"",o)),!0}return!1}},decorations(r){if(n.getState(r)){let i=r.selection.$from.pos,o=document.createElement("span"),a=gn.widget(i,o,{side:-1}),s=document.createElement("span"),l=gn.widget(i,s);return setTimeout(()=>{o.contentEditable="true",s.contentEditable="true"}),wt.create(r.doc,[a,l])}return wt.empty}}});return n});K(HB,{displayName:"Prose<inlineNodesCursorPlugin>",group:"Prose"});var $B=Bt(t=>new Le({key:new Je("MILKDOWN_HARDBREAK_MARKS"),appendTransaction:(e,n,r)=>{if(!e.length)return;let[i]=e;if(!i)return;let[o]=i.steps;if(i.getMeta("hardbreak")){if(!(o instanceof pi))return;let{from:a}=o;return r.tr.setNodeMarkup(a,Cu.type(t),void 0,[])}if(o instanceof eu){let a=r.tr,{from:s,to:l}=o;return r.doc.nodesBetween(s,l,(c,d)=>{c.type===Cu.type(t)&&(a=a.setNodeMarkup(d,Cu.type(t),void 0,[]))}),a}}}));K($B,{displayName:"Prose<hardbreakClearMarkPlugin>",group:"Prose"});var B3=Vt(["table","code_block"],"hardbreakFilterNodes");K(B3,{displayName:"Ctx<hardbreakFilterNodes>",group:"Prose"});var qB=Bt(t=>{let e=t.get(B3.key);return new Le({key:new Je("MILKDOWN_HARDBREAK_FILTER"),filterTransaction:(n,r)=>{let i=n.getMeta("hardbreak"),[o]=n.steps;if(i&&o){let{from:a}=o,s=r.doc.resolve(a),l=s.depth,c=!0;for(;l>0;)e.includes(s.node(l).type.name)&&(c=!1),l--;return c}return!0}})});K(qB,{displayName:"Prose<hardbreakFilterPlugin>",group:"Prose"});var WB=Bt(t=>{let e=new Je("MILKDOWN_HEADING_ID"),n=r=>{if(r.composing||!r.editable)return;let i=t.get(Sk.key),o=r.state.tr.setMeta("addToHistory",!1),a=!1;r.state.doc.descendants((s,l)=>{if(s.type===Eu.type(t)){if(s.textContent.trim().length===0)return;let c=s.attrs,d=i(s);c.id!==d&&(a=!0,o.setMeta(e,!0).setNodeMarkup(l,void 0,q(D({},c),{id:d})))}}),a&&r.dispatch(o)};return new Le({key:e,view:r=>(n(r),{update:i=>{n(i)}})})});K(WB,{displayName:"Prose<syncHeadingIdPlugin>",group:"Prose"});var GB=Bt(t=>{let e=n=>{if(n.composing||!n.editable)return;let r=mh.type(t),i=hh.type(t),o=lo.type(t),a=n.state,s=(d,u)=>{let f=!1,p=`${u+1}.`;return d.label!==p&&(d.label=p,f=!0),f},l=a.tr,c=!1;a.doc.descendants((d,u,f,p)=>{if(d.type===i){let h=d.maybeChild(0);h?.type===o&&h.attrs.listType==="ordered"&&(c=!0,l.setNodeMarkup(u,r,{spread:"true"}),d.descendants((g,b,_,x)=>{if(g.type===o){let E=D({},g.attrs);s(E,x)&&(l=l.setNodeMarkup(b,void 0,E))}return!1}))}else if(d.type===o&&f?.type===r){let h=D({},d.attrs),g=!1;h.listType!=="ordered"&&(h.listType="ordered",g=!0),f?.maybeChild(0)&&(g=s(h,p)),g&&(l=l.setNodeMarkup(u,void 0,h),c=!0)}}),c&&n.dispatch(l.setMeta("addToHistory",!1))};return new Le({key:new Je("MILKDOWN_KEEP_LIST_ORDER"),view:n=>(e(n),{update:r=>{e(r)}})})});K(GB,{displayName:"Prose<syncListOrderPlugin>",group:"Prose"});var Afe=[gh,UB,$B,B3,qB,HB,N3,j3,R3,z3,L3,WB,GB].flat(),YB=[afe,sfe,lfe,cfe,Afe].flat();var Tk=(()=>{let e=class e{constructor(){this.loading=!0,this.editor=void 0,this.GetEditor=()=>this.editor}get editorReturn(){return{loading:this.loading,get:this.GetEditor}}get instance(){return[this.loading,this.GetEditor]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();var KB=(()=>{let e=class e{static ngTemplateContextGuard(r,i){return!0}recreateView(){this.viewContainer.clear();let r=this.stringTemplateOutlet instanceof vn,i=r?this.stringTemplateOutlet:this.templateRef;this.embeddedViewRef=this.viewContainer.createEmbeddedView(i,r?this.stringTemplateOutletContext:this.context)}updateContext(){let i=this.stringTemplateOutlet instanceof vn?this.stringTemplateOutletContext:this.context,o=this.embeddedViewRef.context;if(i)for(let a of Object.keys(i))o[a]=i[a]}constructor(r,i){this.viewContainer=r,this.templateRef=i,this.embeddedViewRef=null,this.context=new V3,this.stringTemplateOutletContext=null,this.stringTemplateOutlet=null}ngOnChanges(r){let{stringTemplateOutletContext:i,stringTemplateOutlet:o}=r,a=()=>{let l=!1;if(o)if(o.firstChange)l=!0;else{let u=o.previousValue instanceof vn,f=o.currentValue instanceof vn;l=u||f}return i&&(u=>{let f=Object.keys(u.previousValue||{}),p=Object.keys(u.currentValue||{});if(f.length===p.length){for(let h of p)if(f.indexOf(h)===-1)return!0;return!1}else return!0})(i)||l};o&&(this.context.$implicit=o.currentValue),a()?this.recreateView():this.updateContext()}};e.\u0275fac=function(i){return new(i||e)(R($n),R(vn))},e.\u0275dir=ke({type:e,selectors:[["","stringTemplateOutlet",""]],inputs:{stringTemplateOutletContext:"stringTemplateOutletContext",stringTemplateOutlet:"stringTemplateOutlet"},exportAs:["stringTemplateOutlet"],standalone:!0,features:[Qn]});let t=e;return t})(),V3=class{};var Ofe=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},ZB=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},U3=(t,e,n)=>(Ofe(t,e,"access private method"),n),Ak,H3,Ik=class{constructor({node:e,view:n,getPos:r,decorations:i,innerDecorations:o,options:a}){ZB(this,Ak),this.selected=!1,this.selectNode=()=>{var s,l;this.selected=!0,(l=(s=this.options).selectNode)==null||l.call(s)},this.deselectNode=()=>{var s,l;this.selected=!1,(l=(s=this.options).deselectNode)==null||l.call(s)},this.shouldUpdate=s=>!(s.type!==this.node.type||s.sameMarkup(this.node)&&s.content.eq(this.node.content)),this.update=(s,l,c)=>{var d,u;let f=this.options.update,p;return f&&(p=f(s,l,c)),typeof p!="boolean"&&(p=this.shouldUpdate(s)),this.node=s,this.decorations=l,this.innerDecorations=c,p&&((u=(d=this.options).onUpdate)==null||u.call(d)),p},this.shouldIgnoreMutation=s=>!this.dom||!this.contentDOM||this.node.isLeaf||this.node.isAtom?!0:s.type==="selection"?!1:this.contentDOM===s.target&&s.type==="attributes"?!0:!this.contentDOM.contains(s.target),this.ignoreMutation=s=>{if(!this.dom||!this.contentDOM)return!0;let l,c=this.options.ignoreMutation;return c&&(l=c(s)),typeof l!="boolean"&&(l=this.shouldIgnoreMutation(s)),l},this.destroy=()=>{var s,l,c;(l=(s=this.options).destroy)==null||l.call(s),this.dom.remove(),(c=this.contentDOM)==null||c.remove()},this.setAttrs=s=>{let{dispatch:l,state:c}=this.view,d=this.getPos();if(typeof d=="number")return l(c.tr.setNodeMarkup(d,void 0,D(D({},this.node.attrs),s)))},this.node=e,this.view=n,this.getPos=r,this.decorations=i,this.innerDecorations=o,this.options=a,this.dom=this.createDOM(a.as),this.contentDOM=e.isLeaf?null:this.createContentDOM(a.contentAs),this.dom.setAttribute("data-node-view-root","true"),this.contentDOM&&(this.contentDOM.setAttribute("data-node-view-content","true"),this.contentDOM.style.whiteSpace="inherit"),this.setSelection=a.setSelection,this.stopEvent=a.stopEvent}createDOM(e){return U3(this,Ak,H3).call(this,e)}createContentDOM(e){return U3(this,Ak,H3).call(this,e)}get component(){return this.options.component}};Ak=new WeakSet,H3=function(t){let{node:e}=this;return t==null?document.createElement(e.isInline?"span":"div"):t instanceof HTMLElement?t:t instanceof Function?t(e):document.createElement(t)};var Ok=class{constructor(e){this.view=e.view,this.options=e.options}get component(){return this.options.component}get root(){var e,n;let r=(n=(e=this.options).root)==null?void 0:n.call(e,this.view.dom);return r||(r=this.view.dom.parentElement??document.body),r}update(e,n){var r,i;this.view=e,this.prevState=n,(i=(r=this.options).update)==null||i.call(r,e,n)}destroy(){var e,n;(n=(e=this.options).destroy)==null||n.call(e)}},$3,XB,Pk=class{constructor({pos:e,spec:n,options:r}){ZB(this,$3),this.pos=e,this.options=r,this.spec=n,this.dom=U3(this,$3,XB).call(this,r.as),this.dom.setAttribute("data-widget-view-root","true")}bind(e,n){this.view=e,this.getPos=n}get component(){return this.options.component}};$3=new WeakSet,XB=function(t){return t instanceof HTMLElement?t:document.createElement(t)};var Pfe=["*"],Fk=t=>t.firstElementChild?t.firstElementChild:t,Nk=(()=>{let e=class e{constructor(r,i){this._injector=r,this._vcf=i,this.nodeView={},this.nodeViewContext={},this.createNodeView=o=>(a,s,l,c,d)=>{let u=this._vcf.createComponent(o.component,{injector:this._injector}),f=o.key||vk();return Object.keys(o.inputs||{}).forEach(p=>{u.setInput(p,o.inputs[p])}),u.setInput("provider",this.provider),u.setInput("key",f),this.nodeView[f]=new Ik({node:a,view:s,getPos:l,decorations:c,innerDecorations:d,options:q(D({},o),{component:u,onUpdate:()=>{o.onUpdate?.(),this.updateNodeViewContext(f),this.nodeViewContext[f].contentRef(u.instance.el.nativeElement)},selectNode:()=>{o.selectNode?.(),this.updateNodeViewContext(f)},deselectNode:()=>{o.deselectNode?.(),this.updateNodeViewContext(f)},destroy:()=>{o.destroy?.(),this.updateNodeViewContext(f)}})}),Fk(this.nodeView[f].dom).appendChild(u.location.nativeElement),this.updateNodeViewContext(f),this.nodeViewContext[f].contentRef(u.instance.container),this.nodeView[f]},this.pluginView={},this.pluginViewContext={},this.createPluginView=o=>a=>{let s=o.key||vk(),l=this._vcf.createComponent(o.component,{injector:this._injector});return Object.keys(o.inputs||{}).forEach(c=>{l.setInput(c,o.inputs[c])}),l.setInput("provider",this.provider),l.setInput("key",s),this.pluginView[s]=l.instance.pluginView||new Ok({view:a,options:q(D({},o),{component:l.instance,update:(c,d)=>{o.update?.(c,d),this.updatePluginViewContext(s)},destroy:()=>{l.destroy(),o.destroy?.(),this.pluginView[s].destroy(),delete this.pluginView[s]}})}),Fk(this.provider.editor.el.nativeElement).appendChild(l.instance.container),this.pluginView[s].update(a,a.state),this.updatePluginViewContext(s,a,a.state),this.pluginView[s]},this.widgetView={},this.widgetViewContext={},this.createWidgetView=o=>(a,s={})=>{let l=this._vcf.createComponent(o.component,{injector:this._injector}),c=o.key||vk();Object.keys(o.inputs||{}).forEach(u=>{l.setInput(u,o.inputs[u])}),l.setInput("provider",this.provider),l.setInput("key",c);let d=q(D({key:c},s),{destroy:u=>{s.destroy?.(u),l.destroy()}});return this.widgetView[c]=new Pk({pos:a,spec:d,options:q(D({},o),{component:l.instance})}),gn.widget(a,(u,f)=>(this.widgetView[c].bind(u,f),this.updateWidgetViewContext(c,u,f,d),l.instance.onUpdate.emit(this.widgetViewContext[c]),Fk(this.widgetView[c].dom).appendChild(l.instance.container),this.widgetView[c].dom),d)}}updateNodeViewContext(r){let i=this.nodeView[r];i.view&&(this.nodeViewContext[r]=q(D({},this.nodeViewContext[r]),{setAttrs:i.setAttrs,view:Object.assign(Object.create(Object.getPrototypeOf(i.view)),i.view),getPos:i.getPos,node:i.node,selected:i.selected,decorations:i.decorations,innerDecorations:i.innerDecorations,contentRef:o=>{o&&o instanceof HTMLElement&&i.contentDOM&&o.firstChild!==i.contentDOM&&Fk(o).appendChild(i.contentDOM)}}))}updatePluginViewContext(r,i,o){let a=this.pluginView[r];a.view||(a.view=i,a.prevState=o),this.pluginViewContext[r]={view:a.view,prevState:a.prevState}}updateWidgetViewContext(r,i,o,a){let s=this.widgetView[r];s.view=s.view||i,s.getPos=s.getPos||o,s.spec=s.spec||a,this.widgetViewContext[r]=q(D(D({},this.widgetViewContext[r]),s),{spec:s.spec})}};e.\u0275fac=function(i){return new(i||e)(B(er),B($n))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),Rk=(()=>{let e=class e{constructor(r){this.el=r}get createNodeView(){return this.provider.createNodeView}get createPluginView(){return this.provider.createPluginView}get createWidgetView(){return this.provider.createWidgetView}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["ng-prosemirror-editor"]],standalone:!0});let t=e;return t})(),QB=(()=>{let e=class e{set editor(r){this._editorComp=r,r&&(this._editorComp.provider=this,this.service.editor=this._editorComp)}get editor(){return this._editorComp}constructor(r){this.service=r,this.createNodeView=this.service.createNodeView,this.createPluginView=this.service.createPluginView,this.createWidgetView=this.service.createWidgetView,this.service.provider=this}};e.\u0275fac=function(i){return new(i||e)(R(Nk))},e.\u0275cmp=_e({type:e,selectors:[["ng-prosemirror-adapter-provider"]],contentQueries:function(i,o,a){if(i&1&&Wr(a,Rk,5),i&2){let s;Dt(s=St())&&(o.editor=s.first)}},standalone:!0,features:[hn([Nk]),Oe],ngContentSelectors:Pfe,decls:1,vars:0,template:function(i,o){i&1&&(Ii(),xn(0))},dependencies:[to],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]});let t=e;return t})(),JB=(()=>{let e=class e{constructor(r){this.el=r}get context(){return this.provider?.service?.nodeViewContext?.[this.key]}get view(){return this.context?.view}get contentRef(){return this.context?.contentRef}get getPos(){return this.context?.getPos}get setAttrs(){return this.context?.setAttrs}get node(){return this.context?.node}get selected(){return this.context?.selected}get decorations(){return this.context?.decorations}get innerDecorations(){return this.context?.innerDecorations}get container(){return this.el.nativeElement}ngAfterViewInit(){this.context?.contentRef(this.container)}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["ng-prosemirror-node"]],inputs:{key:"key",provider:"provider"},standalone:!0});let t=e;return t})(),eV=(()=>{let e=class e{constructor(r){this.el=r}get context(){return this.provider?.service?.pluginViewContext?.[this.key]}get view(){return this.provider?.service?.pluginViewContext?.[this.key]?.view}get state(){return this.provider?.service?.pluginViewContext?.[this.key]?.view?.state}get prevState(){return this.provider?.service?.pluginViewContext?.[this.key]?.prevState}get container(){return this.el.nativeElement}get pluginView(){return null}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["ng-prosemirror-plugin"]],inputs:{key:"key",provider:"provider"},standalone:!0});let t=e;return t})(),tV=(()=>{let e=class e{constructor(r){this.el=r,this.onUpdate=new Qe}get context(){return this.provider?.service?.widgetViewContext?.[this.key]}get view(){return this.provider?.service?.widgetViewContext?.[this.key]?.view}get getPos(){return this.provider.service.widgetViewContext?.[this.key]?.getPos}get spec(){return this.provider.service.widgetViewContext?.[this.key]?.spec}get container(){return this.el.nativeElement}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["ng-prosemirror-widget"]],inputs:{key:"key",provider:"provider"},standalone:!0});let t=e;return t})();var Ffe=["editorRef"];function Nfe(t,e){t&1&&(yE(0),we(1,"loading..."),bE())}function Rfe(t,e){if(t&1&&ct(0,Nfe,2,0,"ng-container",2),t&2){let n=ze();Se("stringTemplateOutlet",n.spinner)}}function nV(t){return t instanceof Promise}var jk=(()=>{let e=class e extends Rk{constructor(r,i){super(r),this.el=r,this.ngMilkdownService=i,this.classList=[],this.loadingChange=new Qe,this.spinner=null,this._editorFn=null,this.value=null,this.onChanged=new Qe,this.plugins=[],this.config=(o,a)=>null,this.onReady=new Qe,this.onTouched=()=>{},this.onChange=o=>{this.onChanged.emit(o)},this.disabled=!1}get loading(){return this.ngMilkdownService.loading}set loading(r){this.ngMilkdownService.loading=r}get editor(){return this.ngMilkdownService.editor}set editor(r){this._editorFn=r}writeValue(r){r!=null&&(this.value=r,this.editor&&this.editor.config(i=>st(this,null,function*(){i.set(ih,r)})))}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.disabled=r}render(){return st(this,null,function*(){if(this._editorFn){this.ngMilkdownService.editor=yield this._editorFn(this.editorRef.nativeElement),this.onReady.emit(this.editor);return}setTimeout(()=>st(this,null,function*(){let r=gB.make().config(i=>st(this,null,function*(){i.set(V0,this.editorRef.nativeElement),i.set(ih,this.value),i.get(_k).markdownUpdated((o,a)=>{this.value=a,this.onChange(a)}),nV(this.config)?yield this.config(i,this.provider):this.config(i,this.provider)})).config(xB).use(YB).use(qT);for(let i of this.plugins)if(i.plugin&&i.config){let{plugin:o,config:a}=i;r=r.use(o),nV(a)?r=r.config(yield a):r=r.config(a)}else r=r.use(i);r=yield r.create(),this.loading=!1,this.loadingChange.emit(!1),this.onReady.emit(r),this.ngMilkdownService.editor=r}))})}ngAfterViewInit(){return st(this,null,function*(){yield this.render()})}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(Tk))},e.\u0275cmp=_e({type:e,selectors:[["ng-milkdown"]],viewQuery:function(i,o){if(i&1&&mn(Ffe,5),i&2){let a;Dt(a=St())&&(o.editorRef=a.first)}},inputs:{classList:"classList",loading:"loading",spinner:"spinner",editor:"editor",value:"value",plugins:"plugins",config:"config"},outputs:{loadingChange:"loadingChange",onChanged:"onChanged",onReady:"onReady"},standalone:!0,features:[hn([{provide:zv,useExisting:Do(()=>e),multi:!0},{provide:Rk,useExisting:Do(()=>e)},Tk]),ge,Oe],decls:3,vars:4,consts:[[1,"milkdown-editor",3,"hidden"],["editorRef",""],[4,"stringTemplateOutlet"]],template:function(i,o){i&1&&(_t(0,"div",0,1),ct(2,Rfe,1,1,"ng-container")),i&2&&(sr(o.classList),Se("hidden",o.loading),oe(2),Ht(2,o.loading?2:-1))},dependencies:[KB],styles:[`*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}[_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-content: ""}html[_ngcontent-%COMP%]{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body[_ngcontent-%COMP%]{margin:0;line-height:inherit}hr[_ngcontent-%COMP%]{height:0;color:inherit;border-top-width:1px}abbr[_ngcontent-%COMP%]:where([title]){text-decoration:underline dotted}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-size:inherit;font-weight:inherit}a[_ngcontent-%COMP%]{color:inherit;text-decoration:inherit}b[_ngcontent-%COMP%], strong[_ngcontent-%COMP%]{font-weight:bolder}code[_ngcontent-%COMP%], kbd[_ngcontent-%COMP%], samp[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small[_ngcontent-%COMP%]{font-size:80%}sub[_ngcontent-%COMP%], sup[_ngcontent-%COMP%]{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub[_ngcontent-%COMP%]{bottom:-.25em}sup[_ngcontent-%COMP%]{top:-.5em}table[_ngcontent-%COMP%]{text-indent:0;border-color:inherit;border-collapse:collapse}button[_ngcontent-%COMP%], input[_ngcontent-%COMP%], optgroup[_ngcontent-%COMP%], select[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{text-transform:none}button[_ngcontent-%COMP%], [type=button][_ngcontent-%COMP%], [type=reset][_ngcontent-%COMP%], [type=submit][_ngcontent-%COMP%]{-webkit-appearance:button;background-color:transparent;background-image:none}[_ngcontent-%COMP%]:-moz-focusring{outline:auto}[_ngcontent-%COMP%]:-moz-ui-invalid{box-shadow:none}progress[_ngcontent-%COMP%]{vertical-align:baseline}[_ngcontent-%COMP%]::-webkit-inner-spin-button, [_ngcontent-%COMP%]::-webkit-outer-spin-button{height:auto}[type=search][_ngcontent-%COMP%]{-webkit-appearance:textfield;outline-offset:-2px}[_ngcontent-%COMP%]::-webkit-search-decoration{-webkit-appearance:none}[_ngcontent-%COMP%]::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary[_ngcontent-%COMP%]{display:list-item}blockquote[_ngcontent-%COMP%], dl[_ngcontent-%COMP%], dd[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%], hr[_ngcontent-%COMP%], figure[_ngcontent-%COMP%], p[_ngcontent-%COMP%], pre[_ngcontent-%COMP%]{margin:0}fieldset[_ngcontent-%COMP%]{margin:0;padding:0}legend[_ngcontent-%COMP%]{padding:0}ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], menu[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}dialog[_ngcontent-%COMP%]{padding:0}textarea[_ngcontent-%COMP%]{resize:vertical}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{opacity:1;color:#9ca3af}button[_ngcontent-%COMP%], [role=button][_ngcontent-%COMP%]{cursor:pointer}[_ngcontent-%COMP%]:disabled{cursor:default}img[_ngcontent-%COMP%], svg[_ngcontent-%COMP%], video[_ngcontent-%COMP%], canvas[_ngcontent-%COMP%], audio[_ngcontent-%COMP%], iframe[_ngcontent-%COMP%], embed[_ngcontent-%COMP%], object[_ngcontent-%COMP%]{display:block;vertical-align:middle}img[_ngcontent-%COMP%], video[_ngcontent-%COMP%]{max-width:100%;height:auto}[hidden][_ngcontent-%COMP%]{display:none}[type=text][_ngcontent-%COMP%], input[_ngcontent-%COMP%]:where(:not([type])), [type=email][_ngcontent-%COMP%], [type=url][_ngcontent-%COMP%], [type=password][_ngcontent-%COMP%], [type=number][_ngcontent-%COMP%], [type=date][_ngcontent-%COMP%], [type=datetime-local][_ngcontent-%COMP%], [type=month][_ngcontent-%COMP%], [type=search][_ngcontent-%COMP%], [type=tel][_ngcontent-%COMP%], [type=time][_ngcontent-%COMP%], [type=week][_ngcontent-%COMP%], [multiple][_ngcontent-%COMP%], textarea[_ngcontent-%COMP%], select[_ngcontent-%COMP%]{appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text][_ngcontent-%COMP%]:focus, input[_ngcontent-%COMP%]:where(:not([type])):focus, [type=email][_ngcontent-%COMP%]:focus, [type=url][_ngcontent-%COMP%]:focus, [type=password][_ngcontent-%COMP%]:focus, [type=number][_ngcontent-%COMP%]:focus, [type=date][_ngcontent-%COMP%]:focus, [type=datetime-local][_ngcontent-%COMP%]:focus, [type=month][_ngcontent-%COMP%]:focus, [type=search][_ngcontent-%COMP%]:focus, [type=tel][_ngcontent-%COMP%]:focus, [type=time][_ngcontent-%COMP%]:focus, [type=week][_ngcontent-%COMP%]:focus, [multiple][_ngcontent-%COMP%]:focus, textarea[_ngcontent-%COMP%]:focus, select[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input[_ngcontent-%COMP%]::placeholder, textarea[_ngcontent-%COMP%]::placeholder{color:#6b7280;opacity:1}[_ngcontent-%COMP%]::-webkit-datetime-edit-fields-wrapper{padding:0}[_ngcontent-%COMP%]::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}[_ngcontent-%COMP%]::-webkit-datetime-edit{display:inline-flex}[_ngcontent-%COMP%]::-webkit-datetime-edit, [_ngcontent-%COMP%]::-webkit-datetime-edit-year-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-month-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-day-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-hour-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-minute-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-second-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-millisecond-field, [_ngcontent-%COMP%]::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select[_ngcontent-%COMP%]{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple][_ngcontent-%COMP%], [size][_ngcontent-%COMP%]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox][_ngcontent-%COMP%], [type=radio][_ngcontent-%COMP%]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox][_ngcontent-%COMP%]{border-radius:0}[type=radio][_ngcontent-%COMP%]{border-radius:100%}[type=checkbox][_ngcontent-%COMP%]:focus, [type=radio][_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox][_ngcontent-%COMP%]:checked, [type=radio][_ngcontent-%COMP%]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox][_ngcontent-%COMP%]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox][_ngcontent-%COMP%]:checked{appearance:auto}}[type=radio][_ngcontent-%COMP%]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio][_ngcontent-%COMP%]:checked{appearance:auto}}[type=checkbox][_ngcontent-%COMP%]:checked:hover, [type=checkbox][_ngcontent-%COMP%]:checked:focus, [type=radio][_ngcontent-%COMP%]:checked:hover, [type=radio][_ngcontent-%COMP%]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox][_ngcontent-%COMP%]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox][_ngcontent-%COMP%]:indeterminate{appearance:auto}}[type=checkbox][_ngcontent-%COMP%]:indeterminate:hover, [type=checkbox][_ngcontent-%COMP%]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file][_ngcontent-%COMP%]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file][_ngcontent-%COMP%]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*[_ngcontent-%COMP%], [_ngcontent-%COMP%]:before, [_ngcontent-%COMP%]:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }[_ngcontent-%COMP%]::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container[_ngcontent-%COMP%]{width:100%}@media (min-width: 640px){.container[_ngcontent-%COMP%]{max-width:640px}}@media (min-width: 768px){.container[_ngcontent-%COMP%]{max-width:768px}}@media (min-width: 1024px){.container[_ngcontent-%COMP%]{max-width:1024px}}@media (min-width: 1280px){.container[_ngcontent-%COMP%]{max-width:1280px}}@media (min-width: 1536px){.container[_ngcontent-%COMP%]{max-width:1536px}}.prose[_ngcontent-%COMP%]{color:var(--tw-prose-body);max-width:65ch}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(p):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em;margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where([class~=lead]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(a):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(strong):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-bold);font-weight:600}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(a strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%] strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=A]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=a]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=A s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=a s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-alpha}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=I]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=i]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=I s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:upper-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type=i s]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:lower-roman}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol[type="1"]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:decimal}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]::marker{font-weight:400;color:var(--tw-prose-counters)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]::marker{color:var(--tw-prose-bullets)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dt):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\\201c""\\201d""\\2018""\\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote p[_ngcontent-%COMP%]:first-of-type):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:before{content:open-quote}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote p[_ngcontent-%COMP%]:last-of-type):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:after{content:close-quote}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:900;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:800;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:700;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 strong)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:700;color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(img):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{display:block;margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(kbd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:before{content:"\`"}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:after{content:"\`"}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(a code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit;font-size:.875em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit;font-size:.9em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%] code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:before{content:none}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]:after{content:none}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(table):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody tr)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody tr[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-bottom-width:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{vertical-align:baseline}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tfoot):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tfoot td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{vertical-align:top}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure > *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figcaption):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose[_ngcontent-%COMP%]{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture > img)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(video):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(li):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.5em;margin-bottom:.5em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.375em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.375em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] p)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.75em;margin-bottom:.75em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul ul[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] ol[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ol)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.75em;margin-bottom:.75em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dl):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.25em;margin-bottom:1.25em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.5em;padding-left:1.625em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%], tfoot[_ngcontent-%COMP%] td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding:.5714286em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:first-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:last-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > [_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.prose[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.prose > [_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:0}.form-checkbox[_ngcontent-%COMP%], .form-radio[_ngcontent-%COMP%]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}.form-checkbox[_ngcontent-%COMP%]{border-radius:0}.form-checkbox[_ngcontent-%COMP%]:focus, .form-radio[_ngcontent-%COMP%]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.form-checkbox[_ngcontent-%COMP%]:checked, .form-radio[_ngcontent-%COMP%]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}.form-checkbox[_ngcontent-%COMP%]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){.form-checkbox[_ngcontent-%COMP%]:checked{appearance:auto}}.form-checkbox[_ngcontent-%COMP%]:checked:hover, .form-checkbox[_ngcontent-%COMP%]:checked:focus, .form-radio[_ngcontent-%COMP%]:checked:hover, .form-radio[_ngcontent-%COMP%]:checked:focus{border-color:transparent;background-color:currentColor}.form-checkbox[_ngcontent-%COMP%]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){.form-checkbox[_ngcontent-%COMP%]:indeterminate{appearance:auto}}.form-checkbox[_ngcontent-%COMP%]:indeterminate:hover, .form-checkbox[_ngcontent-%COMP%]:indeterminate:focus{border-color:transparent;background-color:currentColor}.static[_ngcontent-%COMP%]{position:static}.fixed[_ngcontent-%COMP%]{position:fixed}.absolute[_ngcontent-%COMP%]{position:absolute}.relative[_ngcontent-%COMP%]{position:relative}.-left-3[_ngcontent-%COMP%]{left:-.75rem}.-left-3\\.5[_ngcontent-%COMP%]{left:-.875rem}.-left-4[_ngcontent-%COMP%]{left:-1rem}.-top-3[_ngcontent-%COMP%]{top:-.75rem}.-top-3\\.5[_ngcontent-%COMP%]{top:-.875rem}.-top-4[_ngcontent-%COMP%]{top:-1rem}.left-0[_ngcontent-%COMP%]{left:0}.right-0[_ngcontent-%COMP%]{right:0}.right-1[_ngcontent-%COMP%]{right:.25rem}.right-px[_ngcontent-%COMP%]{right:1px}.top-0[_ngcontent-%COMP%]{top:0}.top-1[_ngcontent-%COMP%]{top:.25rem}.\\!m-0[_ngcontent-%COMP%]{margin:0!important}.m-0[_ngcontent-%COMP%]{margin:0}.mx-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.my-4[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}.\\!mb-4[_ngcontent-%COMP%]{margin-bottom:1rem!important}.mb-1[_ngcontent-%COMP%]{margin-bottom:.25rem}.mb-2[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-2[_ngcontent-%COMP%]{margin-right:.5rem}.mt-1[_ngcontent-%COMP%]{margin-top:.25rem}.box-border[_ngcontent-%COMP%]{box-sizing:border-box}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.flex[_ngcontent-%COMP%]{display:flex}.inline-flex[_ngcontent-%COMP%]{display:inline-flex}.table[_ngcontent-%COMP%]{display:table}.list-item[_ngcontent-%COMP%]{display:list-item}.hidden[_ngcontent-%COMP%]{display:none}.h-10[_ngcontent-%COMP%]{height:2.5rem}.h-2[_ngcontent-%COMP%]{height:.5rem}.h-3[_ngcontent-%COMP%]{height:.75rem}.h-48[_ngcontent-%COMP%]{height:12rem}.h-6[_ngcontent-%COMP%]{height:1.5rem}.h-\\__ph-0__[_ngcontent-%COMP%]{height:1em}.h-full[_ngcontent-%COMP%]{height:100%}.w-10[_ngcontent-%COMP%]{width:2.5rem}.w-2[_ngcontent-%COMP%]{width:.5rem}.w-3[_ngcontent-%COMP%]{width:.75rem}.w-6[_ngcontent-%COMP%]{width:1.5rem}.w-64[_ngcontent-%COMP%]{width:16rem}.w-96[_ngcontent-%COMP%]{width:24rem}.w-\\__ph-0__[_ngcontent-%COMP%]{width:1em}.w-full[_ngcontent-%COMP%]{width:100%}.min-w-0[_ngcontent-%COMP%]{min-width:0px}.flex-1[_ngcontent-%COMP%]{flex:1 1 0%}.transform[_ngcontent-%COMP%]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-grab[_ngcontent-%COMP%]{cursor:grab}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.list-none[_ngcontent-%COMP%]{list-style-type:none}.flex-row[_ngcontent-%COMP%]{flex-direction:row}.flex-col[_ngcontent-%COMP%]{flex-direction:column}.items-start[_ngcontent-%COMP%]{align-items:flex-start}.items-center[_ngcontent-%COMP%]{align-items:center}.justify-center[_ngcontent-%COMP%]{justify-content:center}.justify-between[_ngcontent-%COMP%]{justify-content:space-between}.gap-2[_ngcontent-%COMP%]{gap:.5rem}.gap-4[_ngcontent-%COMP%]{gap:1rem}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overscroll-none[_ngcontent-%COMP%]{overscroll-behavior:none}.rounded[_ngcontent-%COMP%]{border-radius:.25rem}.rounded-full[_ngcontent-%COMP%]{border-radius:9999px}.rounded-md[_ngcontent-%COMP%]{border-radius:.375rem}.\\!border-0[_ngcontent-%COMP%]{border-width:0px!important}.border[_ngcontent-%COMP%]{border-width:1px}.border-2[_ngcontent-%COMP%]{border-width:2px}.border-b[_ngcontent-%COMP%]{border-bottom-width:1px}.border-l-4[_ngcontent-%COMP%]{border-left-width:4px}.border-none[_ngcontent-%COMP%]{border-style:none}.border-gray-200[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-nord10[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity))}.border-nord4[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(216 222 233 / var(--tw-border-opacity))}.border-b-blue-50[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-bottom-color:rgb(239 246 255 / var(--tw-border-opacity))}.bg-gray-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-400[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-nord8[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.bg-slate-200[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-800[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-white[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-2[_ngcontent-%COMP%]{padding:.5rem}.p-3[_ngcontent-%COMP%]{padding:.75rem}.p-4[_ngcontent-%COMP%]{padding:1rem}.p-5[_ngcontent-%COMP%]{padding:1.25rem}.px-2[_ngcontent-%COMP%]{padding-left:.5rem;padding-right:.5rem}.px-4[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem}.px-6[_ngcontent-%COMP%]{padding-left:1.5rem;padding-right:1.5rem}.py-0[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.py-1[_ngcontent-%COMP%]{padding-top:.25rem;padding-bottom:.25rem}.py-2[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}.py-3[_ngcontent-%COMP%]{padding-top:.75rem;padding-bottom:.75rem}.py-4[_ngcontent-%COMP%]{padding-top:1rem;padding-bottom:1rem}.pl-4[_ngcontent-%COMP%]{padding-left:1rem}.pt-10[_ngcontent-%COMP%]{padding-top:2.5rem}.align-text-top[_ngcontent-%COMP%]{vertical-align:text-top}.font-mono[_ngcontent-%COMP%]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base[_ngcontent-%COMP%]{font-size:1rem!important;line-height:1.5rem!important}.\\!text-xs[_ngcontent-%COMP%]{font-size:.75rem!important;line-height:1rem!important}.text-base[_ngcontent-%COMP%]{font-size:1rem;line-height:1.5rem}.text-xs[_ngcontent-%COMP%]{font-size:.75rem;line-height:1rem}.font-light[_ngcontent-%COMP%]{font-weight:300}.font-medium[_ngcontent-%COMP%]{font-weight:500}.leading-6[_ngcontent-%COMP%]{line-height:1.5rem}.tracking-tight[_ngcontent-%COMP%]{letter-spacing:-.025em}.text-blue-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-400[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-50[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-600[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-nord-10[_ngcontent-%COMP%], .text-nord10[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.text-nord8[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}.text-red-500[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline[_ngcontent-%COMP%]{text-decoration-line:underline}.opacity-80[_ngcontent-%COMP%]{opacity:.8}.shadow[_ngcontent-%COMP%]{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg[_ngcontent-%COMP%]{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm[_ngcontent-%COMP%]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none[_ngcontent-%COMP%]{outline:2px solid transparent;outline-offset:2px}.ring[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2[_ngcontent-%COMP%]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur[_ngcontent-%COMP%]{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter[_ngcontent-%COMP%]{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ease-in-out[_ngcontent-%COMP%]{transition-timing-function:cubic-bezier(.4,0,.2,1)}[_nghost-%COMP%]{display:contents}[_ngcontent-%COMP%]:is(.dark .dark\\:prose-invert)[_ngcontent-%COMP%]{--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}@media (min-width: 1024px){.lg\\:prose-xl[_ngcontent-%COMP%]{font-size:1.25rem;line-height:1.8}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(p):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where([class~=lead]):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:1.2em;line-height:1.5;margin-top:1em;margin-bottom:1em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(blockquote):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.6em;margin-bottom:1.6em;padding-left:1.0666667em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h1):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:2.8em;margin-top:0;margin-bottom:.8571429em;line-height:1}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:1.8em;margin-top:1.5555556em;margin-bottom:.8888889em;line-height:1.1111111}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:1.5em;margin-top:1.6em;margin-bottom:.6666667em;line-height:1.3333333}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.8em;margin-bottom:.6em;line-height:1.6}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(img):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(picture > img)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(video):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(kbd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;border-radius:.3125rem;padding:.25em .4em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(code):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.8611111em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 code)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(pre):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;line-height:1.7777778;margin-top:2em;margin-bottom:2em;border-radius:.5rem;padding:1.1111111em 1.3333333em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(li):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.6em;margin-bottom:.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ol > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.4em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul > li)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:.4em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] p)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.8em;margin-bottom:.8em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > ol[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(ul ul[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] ol[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%] ol)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.8em;margin-bottom:.8em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dl):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em;margin-bottom:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dt):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:1.2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(dd):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:.6em;padding-left:1.6em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2.8em;margin-bottom:2.8em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(hr + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h2 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h3 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(h4 + *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(table):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5555556}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:.6666667em;padding-bottom:.8888889em;padding-left:.6666667em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(thead th[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%], tfoot[_ngcontent-%COMP%] td)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding:.8888889em .6666667em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:first-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-left:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(tbody td[_ngcontent-%COMP%]:last-child, tfoot[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{padding-right:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:2em;margin-bottom:2em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figure > *)[_ngcontent-%COMP%]:not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(figcaption):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{font-size:.9em;line-height:1.5555556;margin-top:1em}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > [_ngcontent-%COMP%]:first-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-top:0}.lg\\:prose-xl[_ngcontent-%COMP%] [_ngcontent-%COMP%]:where(.lg\\:prose-xl > [_ngcontent-%COMP%]:last-child):not(:where([class~=not-prose], [class~=not-prose][_ngcontent-%COMP%] *))[_ngcontent-%COMP%]{margin-bottom:0}}@media (hover: hover) and (pointer: fine){.hover\\:bg-blue-200[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\\:bg-gray-100[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\\:bg-gray-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\\:bg-gray-50[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\\:bg-green-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\\:bg-green-400[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\\:bg-nord8[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.hover\\:bg-red-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\\:bg-slate-300[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\\:text-gray-900[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}}.focus\\:border-indigo-300[_ngcontent-%COMP%]:focus{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.focus\\:ring[_ngcontent-%COMP%]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-2[_ngcontent-%COMP%]:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:ring-indigo-200\\/50[_ngcontent-%COMP%]:focus{--tw-ring-color: rgb(199 210 254 / .5)}.focus\\:ring-offset-2[_ngcontent-%COMP%]:focus{--tw-ring-offset-width: 2px}[_ngcontent-%COMP%]:is(.dark .dark\\:divide-gray-600)[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not([hidden]) ~ [_ngcontent-%COMP%]:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:border-gray-500)[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:border-gray-600)[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:border-nord8)[_ngcontent-%COMP%]{--tw-border-opacity: 1;border-color:rgb(136 192 208 / var(--tw-border-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-black)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-500)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-600)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-800)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-gray-900)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-green-600)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-nord9)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:bg-red-600)[_ngcontent-%COMP%]{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:text-gray-50)[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:text-nord-9)[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(129 161 193 / var(--tw-text-opacity))}[_ngcontent-%COMP%]:is(.dark .dark\\:text-nord8)[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}@media (hover: hover) and (pointer: fine){[_ngcontent-%COMP%]:is(.dark .dark\\:hover\\:bg-gray-500[_ngcontent-%COMP%]:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}[_ngcontent-%COMP%]:is(.dark .hover\\:dark\\:bg-nord9)[_ngcontent-%COMP%]:hover{--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}}`]});let t=e;return t})();var BV=ko(H0(),1);var Ln="top",pr="bottom",rr="right",qn="left",zk="auto",Dc=[Ln,pr,rr,qn],Qs="start",Au="end",rV="clippingParents",Lk="viewport",yh="popper",iV="reference",q3=Dc.reduce(function(t,e){return t.concat([e+"-"+Qs,e+"-"+Au])},[]),Bk=[].concat(Dc,[zk]).reduce(function(t,e){return t.concat([e,e+"-"+Qs,e+"-"+Au])},[]),jfe="beforeRead",zfe="read",Lfe="afterRead",Bfe="beforeMain",Vfe="main",Ufe="afterMain",Hfe="beforeWrite",$fe="write",qfe="afterWrite",oV=[jfe,zfe,Lfe,Bfe,Vfe,Ufe,Hfe,$fe,qfe];function Sr(t){return t?(t.nodeName||"").toLowerCase():null}function Sn(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function jo(t){var e=Sn(t).Element;return t instanceof e||t instanceof Element}function hr(t){var e=Sn(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function bh(t){if(typeof ShadowRoot>"u")return!1;var e=Sn(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Wfe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!hr(o)||!Sr(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var s=i[a];s===!1?o.removeAttribute(a):o.setAttribute(a,s===!0?"":s)}))})}function Gfe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),s=a.reduce(function(l,c){return l[c]="",l},{});!hr(i)||!Sr(i)||(Object.assign(i.style,s),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}var X0={name:"applyStyles",enabled:!0,phase:"write",fn:Wfe,effect:Gfe,requires:["computeStyles"]};function Er(t){return t.split("-")[0]}var ga=Math.max,Iu=Math.min,Js=Math.round;function _h(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Q0(){return!/^((?!chrome|android).)*safari/i.test(_h())}function zo(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&hr(t)&&(i=t.offsetWidth>0&&Js(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Js(r.height)/t.offsetHeight||1);var a=jo(t)?Sn(t):window,s=a.visualViewport,l=!Q0()&&n,c=(r.left+(l&&s?s.offsetLeft:0))/i,d=(r.top+(l&&s?s.offsetTop:0))/o,u=r.width/i,f=r.height/o;return{width:u,height:f,top:d,right:c+u,bottom:d+f,left:c,x:c,y:d}}function Ou(t){var e=zo(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function J0(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&bh(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function wi(t){return Sn(t).getComputedStyle(t)}function W3(t){return["table","td","th"].indexOf(Sr(t))>=0}function Lr(t){return((jo(t)?t.ownerDocument:t.document)||window.document).documentElement}function el(t){return Sr(t)==="html"?t:t.assignedSlot||t.parentNode||(bh(t)?t.host:null)||Lr(t)}function aV(t){return!hr(t)||wi(t).position==="fixed"?null:t.offsetParent}function Yfe(t){var e=/firefox/i.test(_h()),n=/Trident/i.test(_h());if(n&&hr(t)){var r=wi(t);if(r.position==="fixed")return null}var i=el(t);for(bh(i)&&(i=i.host);hr(i)&&["html","body"].indexOf(Sr(i))<0;){var o=wi(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ya(t){for(var e=Sn(t),n=aV(t);n&&W3(n)&&wi(n).position==="static";)n=aV(n);return n&&(Sr(n)==="html"||Sr(n)==="body"&&wi(n).position==="static")?e:n||Yfe(t)||e}function Pu(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Fu(t,e,n){return ga(t,Iu(e,n))}function sV(t,e,n){var r=Fu(t,e,n);return r>n?n:r}function ey(){return{top:0,right:0,bottom:0,left:0}}function ty(t){return Object.assign({},ey(),t)}function ny(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var Kfe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,ty(typeof e!="number"?e:ny(e,Dc))};function Zfe(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Er(n.placement),l=Pu(s),c=[qn,rr].indexOf(s)>=0,d=c?"height":"width";if(!(!o||!a)){var u=Kfe(i.padding,n),f=Ou(o),p=l==="y"?Ln:qn,h=l==="y"?pr:rr,g=n.rects.reference[d]+n.rects.reference[l]-a[l]-n.rects.popper[d],b=a[l]-n.rects.reference[l],_=ya(o),x=_?l==="y"?_.clientHeight||0:_.clientWidth||0:0,E=g/2-b/2,v=u[p],j=x-f[d]-u[h],C=x/2-f[d]/2+E,P=Fu(v,C,j),z=l;n.modifiersData[r]=(e={},e[z]=P,e.centerOffset=P-C,e)}}function Xfe(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||J0(e.elements.popper,i)&&(e.elements.arrow=i))}var lV={name:"arrow",enabled:!0,phase:"main",fn:Zfe,effect:Xfe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lo(t){return t.split("-")[1]}var Qfe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jfe(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:Js(n*i)/i||0,y:Js(r*i)/i||0}}function cV(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,c=t.adaptive,d=t.roundOffsets,u=t.isFixed,f=a.x,p=f===void 0?0:f,h=a.y,g=h===void 0?0:h,b=typeof d=="function"?d({x:p,y:g}):{x:p,y:g};p=b.x,g=b.y;var _=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),E=qn,v=Ln,j=window;if(c){var C=ya(n),P="clientHeight",z="clientWidth";if(C===Sn(n)&&(C=Lr(n),wi(C).position!=="static"&&s==="absolute"&&(P="scrollHeight",z="scrollWidth")),C=C,i===Ln||(i===qn||i===rr)&&o===Au){v=pr;var N=u&&C===j&&j.visualViewport?j.visualViewport.height:C[P];g-=N-r.height,g*=l?1:-1}if(i===qn||(i===Ln||i===pr)&&o===Au){E=rr;var O=u&&C===j&&j.visualViewport?j.visualViewport.width:C[z];p-=O-r.width,p*=l?1:-1}}var J=Object.assign({position:s},c&&Qfe),V=d===!0?Jfe({x:p,y:g},Sn(n)):{x:p,y:g};if(p=V.x,g=V.y,l){var Y;return Object.assign({},J,(Y={},Y[v]=x?"0":"",Y[E]=_?"0":"",Y.transform=(j.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",Y))}return Object.assign({},J,(e={},e[v]=x?g+"px":"",e[E]=_?p+"px":"",e.transform="",e))}function epe(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,a=o===void 0?!0:o,s=n.roundOffsets,l=s===void 0?!0:s,c={placement:Er(e.placement),variation:Lo(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,cV(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,cV(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var dV={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:epe,data:{}};var Vk={passive:!0};function tpe(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,s=a===void 0?!0:a,l=Sn(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&c.forEach(function(d){d.addEventListener("scroll",n.update,Vk)}),s&&l.addEventListener("resize",n.update,Vk),function(){o&&c.forEach(function(d){d.removeEventListener("scroll",n.update,Vk)}),s&&l.removeEventListener("resize",n.update,Vk)}}var uV={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tpe,data:{}};var npe={left:"right",right:"left",bottom:"top",top:"bottom"};function wh(t){return t.replace(/left|right|bottom|top/g,function(e){return npe[e]})}var rpe={start:"end",end:"start"};function Uk(t){return t.replace(/start|end/g,function(e){return rpe[e]})}function Nu(t){var e=Sn(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ru(t){return zo(Lr(t)).left+Nu(t).scrollLeft}function G3(t,e){var n=Sn(t),r=Lr(t),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;var c=Q0();(c||!c&&e==="fixed")&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s+Ru(t),y:l}}function Y3(t){var e,n=Lr(t),r=Nu(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ga(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=ga(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+Ru(t),l=-r.scrollTop;return wi(i||n).direction==="rtl"&&(s+=ga(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}function ju(t){var e=wi(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Hk(t){return["html","body","#document"].indexOf(Sr(t))>=0?t.ownerDocument.body:hr(t)&&ju(t)?t:Hk(el(t))}function Sc(t,e){var n;e===void 0&&(e=[]);var r=Hk(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Sn(r),a=i?[o].concat(o.visualViewport||[],ju(r)?r:[]):r,s=e.concat(a);return i?s:s.concat(Sc(el(a)))}function vh(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function ipe(t,e){var n=zo(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function fV(t,e,n){return e===Lk?vh(G3(t,n)):jo(e)?ipe(e,n):vh(Y3(Lr(t)))}function ope(t){var e=Sc(el(t)),n=["absolute","fixed"].indexOf(wi(t).position)>=0,r=n&&hr(t)?ya(t):t;return jo(r)?e.filter(function(i){return jo(i)&&J0(i,r)&&Sr(i)!=="body"}):[]}function K3(t,e,n,r){var i=e==="clippingParents"?ope(t):[].concat(e),o=[].concat(i,[n]),a=o[0],s=o.reduce(function(l,c){var d=fV(t,c,r);return l.top=ga(d.top,l.top),l.right=Iu(d.right,l.right),l.bottom=Iu(d.bottom,l.bottom),l.left=ga(d.left,l.left),l},fV(t,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ry(t){var e=t.reference,n=t.element,r=t.placement,i=r?Er(r):null,o=r?Lo(r):null,a=e.x+e.width/2-n.width/2,s=e.y+e.height/2-n.height/2,l;switch(i){case Ln:l={x:a,y:e.y-n.height};break;case pr:l={x:a,y:e.y+e.height};break;case rr:l={x:e.x+e.width,y:s};break;case qn:l={x:e.x-n.width,y:s};break;default:l={x:e.x,y:e.y}}var c=i?Pu(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(o){case Qs:l[c]=l[c]-(e[d]/2-n[d]/2);break;case Au:l[c]=l[c]+(e[d]/2-n[d]/2);break;default:}}return l}function ba(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,a=o===void 0?t.strategy:o,s=n.boundary,l=s===void 0?rV:s,c=n.rootBoundary,d=c===void 0?Lk:c,u=n.elementContext,f=u===void 0?yh:u,p=n.altBoundary,h=p===void 0?!1:p,g=n.padding,b=g===void 0?0:g,_=ty(typeof b!="number"?b:ny(b,Dc)),x=f===yh?iV:yh,E=t.rects.popper,v=t.elements[h?x:f],j=K3(jo(v)?v:v.contextElement||Lr(t.elements.popper),l,d,a),C=zo(t.elements.reference),P=ry({reference:C,element:E,strategy:"absolute",placement:i}),z=vh(Object.assign({},E,P)),N=f===yh?z:C,O={top:j.top-N.top+_.top,bottom:N.bottom-j.bottom+_.bottom,left:j.left-N.left+_.left,right:N.right-j.right+_.right},J=t.modifiersData.offset;if(f===yh&&J){var V=J[i];Object.keys(O).forEach(function(Y){var ie=[rr,pr].indexOf(Y)>=0?1:-1,me=[Ln,pr].indexOf(Y)>=0?"y":"x";O[Y]+=V[me]*ie})}return O}function Z3(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Bk:l,d=Lo(r),u=d?s?q3:q3.filter(function(h){return Lo(h)===d}):Dc,f=u.filter(function(h){return c.indexOf(h)>=0});f.length===0&&(f=u);var p=f.reduce(function(h,g){return h[g]=ba(t,{placement:g,boundary:i,rootBoundary:o,padding:a})[Er(g)],h},{});return Object.keys(p).sort(function(h,g){return p[h]-p[g]})}function ape(t){if(Er(t)===zk)return[];var e=wh(t);return[Uk(t),e,Uk(e)]}function spe(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!0:a,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=p===void 0?!0:p,g=n.allowedAutoPlacements,b=e.options.placement,_=Er(b),x=_===b,E=l||(x||!h?[wh(b)]:ape(b)),v=[b].concat(E).reduce(function(Ye,Jt){return Ye.concat(Er(Jt)===zk?Z3(e,{placement:Jt,boundary:d,rootBoundary:u,padding:c,flipVariations:h,allowedAutoPlacements:g}):Jt)},[]),j=e.rects.reference,C=e.rects.popper,P=new Map,z=!0,N=v[0],O=0;O<v.length;O++){var J=v[O],V=Er(J),Y=Lo(J)===Qs,ie=[Ln,pr].indexOf(V)>=0,me=ie?"width":"height",W=ba(e,{placement:J,boundary:d,rootBoundary:u,altBoundary:f,padding:c}),X=ie?Y?rr:qn:Y?pr:Ln;j[me]>C[me]&&(X=wh(X));var te=wh(X),xe=[];if(o&&xe.push(W[V]<=0),s&&xe.push(W[X]<=0,W[te]<=0),xe.every(function(Ye){return Ye})){N=J,z=!1;break}P.set(J,xe)}if(z)for(var S=h?3:1,Be=function(Jt){var wr=v.find(function(Nt){var yt=P.get(Nt);if(yt)return yt.slice(0,Jt).every(function(Gt){return Gt})});if(wr)return N=wr,"break"},Ie=S;Ie>0;Ie--){var I=Be(Ie);if(I==="break")break}e.placement!==N&&(e.modifiersData[r]._skip=!0,e.placement=N,e.reset=!0)}}var pV={name:"flip",enabled:!0,phase:"main",fn:spe,requiresIfExists:["offset"],data:{_skip:!1}};function hV(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function mV(t){return[Ln,rr,pr,qn].some(function(e){return t[e]>=0})}function lpe(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=ba(e,{elementContext:"reference"}),s=ba(e,{altBoundary:!0}),l=hV(a,r),c=hV(s,i,o),d=mV(l),u=mV(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}var gV={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:lpe};function cpe(t,e,n){var r=Er(t),i=[qn,Ln].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[qn,rr].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}function dpe(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,a=Bk.reduce(function(d,u){return d[u]=cpe(u,e.rects,o),d},{}),s=a[e.placement],l=s.x,c=s.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}var yV={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:dpe};function upe(t){var e=t.state,n=t.name;e.modifiersData[n]=ry({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var bV={name:"popperOffsets",enabled:!0,phase:"read",fn:upe,data:{}};function X3(t){return t==="x"?"y":"x"}function fpe(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,a=n.altAxis,s=a===void 0?!1:a,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,f=n.tether,p=f===void 0?!0:f,h=n.tetherOffset,g=h===void 0?0:h,b=ba(e,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),_=Er(e.placement),x=Lo(e.placement),E=!x,v=Pu(_),j=X3(v),C=e.modifiersData.popperOffsets,P=e.rects.reference,z=e.rects.popper,N=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,O=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),J=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,V={x:0,y:0};if(C){if(o){var Y,ie=v==="y"?Ln:qn,me=v==="y"?pr:rr,W=v==="y"?"height":"width",X=C[v],te=X+b[ie],xe=X-b[me],S=p?-z[W]/2:0,Be=x===Qs?P[W]:z[W],Ie=x===Qs?-z[W]:-P[W],I=e.elements.arrow,Ye=p&&I?Ou(I):{width:0,height:0},Jt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:ey(),wr=Jt[ie],Nt=Jt[me],yt=Fu(0,P[W],Ye[W]),Gt=E?P[W]/2-S-yt-wr-O.mainAxis:Be-yt-wr-O.mainAxis,en=E?-P[W]/2+S+yt+Nt+O.mainAxis:Ie+yt+Nt+O.mainAxis,or=e.elements.arrow&&ya(e.elements.arrow),Zi=or?v==="y"?or.clientTop||0:or.clientLeft||0:0,Qo=(Y=J?.[v])!=null?Y:0,Jo=X+Gt-Qo-Zi,Ia=X+en-Qo,ea=Fu(p?Iu(te,Jo):te,X,p?ga(xe,Ia):xe);C[v]=ea,V[v]=ea-X}if(s){var ta,_o=v==="x"?Ln:qn,wo=v==="x"?pr:rr,na=C[j],Oa=j==="y"?"height":"width",rd=na+b[_o],Ss=na-b[wo],id=[Ln,qn].indexOf(_)!==-1,$=(ta=J?.[j])!=null?ta:0,pe=id?rd:na-P[Oa]-z[Oa]-$+O.altAxis,tt=id?na+P[Oa]+z[Oa]-$-O.altAxis:Ss,Ct=p&&id?sV(pe,na,tt):Fu(p?pe:rd,na,p?tt:Ss);C[j]=Ct,V[j]=Ct-na}e.modifiersData[r]=V}}var _V={name:"preventOverflow",enabled:!0,phase:"main",fn:fpe,requiresIfExists:["offset"]};function Q3(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function J3(t){return t===Sn(t)||!hr(t)?Nu(t):Q3(t)}function ppe(t){var e=t.getBoundingClientRect(),n=Js(e.width)/t.offsetWidth||1,r=Js(e.height)/t.offsetHeight||1;return n!==1||r!==1}function eA(t,e,n){n===void 0&&(n=!1);var r=hr(e),i=hr(e)&&ppe(e),o=Lr(e),a=zo(t,i,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Sr(e)!=="body"||ju(o))&&(s=J3(e)),hr(e)?(l=zo(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=Ru(o))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function hpe(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(s){if(!n.has(s)){var l=e.get(s);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function tA(t){var e=hpe(t);return oV.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function nA(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function rA(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var wV={placement:"bottom",modifiers:[],strategy:"absolute"};function vV(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function kV(t){t===void 0&&(t={});var e=t,n=e.defaultModifiers,r=n===void 0?[]:n,i=e.defaultOptions,o=i===void 0?wV:i;return function(s,l,c){c===void 0&&(c=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},wV,o),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},u=[],f=!1,p={state:d,setOptions:function(_){var x=typeof _=="function"?_(d.options):_;g(),d.options=Object.assign({},o,d.options,x),d.scrollParents={reference:jo(s)?Sc(s):s.contextElement?Sc(s.contextElement):[],popper:Sc(l)};var E=tA(rA([].concat(r,d.options.modifiers)));return d.orderedModifiers=E.filter(function(v){return v.enabled}),h(),p.update()},forceUpdate:function(){if(!f){var _=d.elements,x=_.reference,E=_.popper;if(vV(x,E)){d.rects={reference:eA(x,ya(E),d.options.strategy==="fixed"),popper:Ou(E)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(O){return d.modifiersData[O.name]=Object.assign({},O.data)});for(var v=0;v<d.orderedModifiers.length;v++){if(d.reset===!0){d.reset=!1,v=-1;continue}var j=d.orderedModifiers[v],C=j.fn,P=j.options,z=P===void 0?{}:P,N=j.name;typeof C=="function"&&(d=C({state:d,options:z,name:N,instance:p})||d)}}}},update:nA(function(){return new Promise(function(b){p.forceUpdate(),b(d)})}),destroy:function(){g(),f=!0}};if(!vV(s,l))return p;p.setOptions(c).then(function(b){!f&&c.onFirstUpdate&&c.onFirstUpdate(b)});function h(){d.orderedModifiers.forEach(function(b){var _=b.name,x=b.options,E=x===void 0?{}:x,v=b.effect;if(typeof v=="function"){var j=v({state:d,name:_,instance:p,options:E}),C=function(){};u.push(j||C)}})}function g(){u.forEach(function(b){return b()}),u=[]}return p}}var mpe=[uV,bV,dV,X0,yV,pV,_V,lV,gV],iA=kV({defaultModifiers:mpe});var gpe="tippy-box",OV="tippy-content",ype="tippy-backdrop",PV="tippy-arrow",FV="tippy-svg-arrow",zu={passive:!0,capture:!0},NV=function(){return document.body};function oA(t,e,n){if(Array.isArray(t)){var r=t[e];return r??(Array.isArray(n)?n[e]:n)}return t}function uA(t,e){var n={}.toString.call(t);return n.indexOf("[object")===0&&n.indexOf(e+"]")>-1}function RV(t,e){return typeof t=="function"?t.apply(void 0,e):t}function xV(t,e){if(e===0)return t;var n;return function(r){clearTimeout(n),n=setTimeout(function(){t(r)},e)}}function bpe(t){return t.split(/\s+/).filter(Boolean)}function kh(t){return[].concat(t)}function CV(t,e){t.indexOf(e)===-1&&t.push(e)}function _pe(t){return t.filter(function(e,n){return t.indexOf(e)===n})}function wpe(t){return t.split("-")[0]}function qk(t){return[].slice.call(t)}function DV(t){return Object.keys(t).reduce(function(e,n){return t[n]!==void 0&&(e[n]=t[n]),e},{})}function iy(){return document.createElement("div")}function Wk(t){return["Element","Fragment"].some(function(e){return uA(t,e)})}function vpe(t){return uA(t,"NodeList")}function kpe(t){return uA(t,"MouseEvent")}function xpe(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function Cpe(t){return Wk(t)?[t]:vpe(t)?qk(t):Array.isArray(t)?t:qk(document.querySelectorAll(t))}function aA(t,e){t.forEach(function(n){n&&(n.style.transitionDuration=e+"ms")})}function SV(t,e){t.forEach(function(n){n&&n.setAttribute("data-state",e)})}function Dpe(t){var e,n=kh(t),r=n[0];return r!=null&&(e=r.ownerDocument)!=null&&e.body?r.ownerDocument:document}function Spe(t,e){var n=e.clientX,r=e.clientY;return t.every(function(i){var o=i.popperRect,a=i.popperState,s=i.props,l=s.interactiveBorder,c=wpe(a.placement),d=a.modifiersData.offset;if(!d)return!0;var u=c==="bottom"?d.top.y:0,f=c==="top"?d.bottom.y:0,p=c==="right"?d.left.x:0,h=c==="left"?d.right.x:0,g=o.top-r+u>l,b=r-o.bottom-f>l,_=o.left-n+p>l,x=n-o.right-h>l;return g||b||_||x})}function sA(t,e,n){var r=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(i){t[r](i,n)})}function EV(t,e){for(var n=e;n;){var r;if(t.contains(n))return!0;n=n.getRootNode==null||(r=n.getRootNode())==null?void 0:r.host}return!1}var es={isTouch:!1},MV=0;function Epe(){es.isTouch||(es.isTouch=!0,window.performance&&document.addEventListener("mousemove",jV))}function jV(){var t=performance.now();t-MV<20&&(es.isTouch=!1,document.removeEventListener("mousemove",jV)),MV=t}function Mpe(){var t=document.activeElement;if(xpe(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function Tpe(){document.addEventListener("touchstart",Epe,zu),window.addEventListener("blur",Mpe)}var Ape=typeof window<"u"&&typeof document<"u",Ipe=Ape?!!window.msCrypto:!1;var Ope={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ppe={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},_a=Object.assign({appendTo:NV,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Ope,Ppe),Fpe=Object.keys(_a),Npe=function(e){var n=Object.keys(e);n.forEach(function(r){_a[r]=e[r]})};function zV(t){var e=t.plugins||[],n=e.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=t[o]!==void 0?t[o]:(s=_a[o])!=null?s:a}return r},{});return Object.assign({},t,n)}function Rpe(t,e){var n=e?Object.keys(zV(Object.assign({},_a,{plugins:e}))):Fpe,r=n.reduce(function(i,o){var a=(t.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function TV(t,e){var n=Object.assign({},e,{content:RV(e.content,[t])},e.ignoreAttributes?{}:Rpe(t,e.plugins));return n.aria=Object.assign({},_a.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?e.interactive:n.aria.expanded,content:n.aria.content==="auto"?e.interactive?null:"describedby":n.aria.content},n}var jpe=function(){return"innerHTML"};function cA(t,e){t[jpe()]=e}function AV(t){var e=iy();return t===!0?e.className=PV:(e.className=FV,Wk(t)?e.appendChild(t):cA(e,t)),e}function IV(t,e){Wk(e.content)?(cA(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?cA(t,e.content):t.textContent=e.content)}function dA(t){var e=t.firstElementChild,n=qk(e.children);return{box:e,content:n.find(function(r){return r.classList.contains(OV)}),arrow:n.find(function(r){return r.classList.contains(PV)||r.classList.contains(FV)}),backdrop:n.find(function(r){return r.classList.contains(ype)})}}function LV(t){var e=iy(),n=iy();n.className=gpe,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=iy();r.className=OV,r.setAttribute("data-state","hidden"),IV(r,t.props),e.appendChild(n),n.appendChild(r),i(t.props,t.props);function i(o,a){var s=dA(e),l=s.box,c=s.content,d=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&IV(c,t.props),a.arrow?d?o.arrow!==a.arrow&&(l.removeChild(d),l.appendChild(AV(a.arrow))):l.appendChild(AV(a.arrow)):d&&l.removeChild(d)}return{popper:e,onUpdate:i}}LV.$$tippy=!0;var zpe=1,$k=[],lA=[];function Lpe(t,e){var n=TV(t,Object.assign({},_a,zV(DV(e)))),r,i,o,a=!1,s=!1,l=!1,c=!1,d,u,f,p=[],h=xV(Jo,n.interactiveDebounce),g,b=zpe++,_=null,x=_pe(n.plugins),E={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},v={id:b,reference:t,popper:iy(),popperInstance:_,props:n,state:E,plugins:x,clearDelayTimeouts:pe,setProps:tt,setContent:Ct,show:Yt,hide:Xi,hideWithInteractivity:Es,enable:id,disable:$,unmount:ra,destroy:od};if(!n.render)return v;var j=n.render(v),C=j.popper,P=j.onUpdate;C.setAttribute("data-tippy-root",""),C.id="tippy-"+v.id,v.popper=C,t._tippy=v,C._tippy=v;var z=x.map(function(H){return H.fn(v)}),N=t.hasAttribute("aria-expanded");return or(),S(),X(),te("onCreate",[v]),n.showOnCreate&&rd(),C.addEventListener("mouseenter",function(){v.props.interactive&&v.state.isVisible&&v.clearDelayTimeouts()}),C.addEventListener("mouseleave",function(){v.props.interactive&&v.props.trigger.indexOf("mouseenter")>=0&&ie().addEventListener("mousemove",h)}),v;function O(){var H=v.props.touch;return Array.isArray(H)?H:[H,0]}function J(){return O()[0]==="hold"}function V(){var H;return!!((H=v.props.render)!=null&&H.$$tippy)}function Y(){return g||t}function ie(){var H=Y().parentNode;return H?Dpe(H):document}function me(){return dA(C)}function W(H){return v.state.isMounted&&!v.state.isVisible||es.isTouch||d&&d.type==="focus"?0:oA(v.props.delay,H?0:1,_a.delay)}function X(H){H===void 0&&(H=!1),C.style.pointerEvents=v.props.interactive&&!H?"":"none",C.style.zIndex=""+v.props.zIndex}function te(H,ye,He){if(He===void 0&&(He=!0),z.forEach(function(Ut){Ut[H]&&Ut[H].apply(Ut,ye)}),He){var Et;(Et=v.props)[H].apply(Et,ye)}}function xe(){var H=v.props.aria;if(H.content){var ye="aria-"+H.content,He=C.id,Et=kh(v.props.triggerTarget||t);Et.forEach(function(Ut){var ai=Ut.getAttribute(ye);if(v.state.isVisible)Ut.setAttribute(ye,ai?ai+" "+He:He);else{var vo=ai&&ai.replace(He,"").trim();vo?Ut.setAttribute(ye,vo):Ut.removeAttribute(ye)}})}}function S(){if(!(N||!v.props.aria.expanded)){var H=kh(v.props.triggerTarget||t);H.forEach(function(ye){v.props.interactive?ye.setAttribute("aria-expanded",v.state.isVisible&&ye===Y()?"true":"false"):ye.removeAttribute("aria-expanded")})}}function Be(){ie().removeEventListener("mousemove",h),$k=$k.filter(function(H){return H!==h})}function Ie(H){if(!(es.isTouch&&(l||H.type==="mousedown"))){var ye=H.composedPath&&H.composedPath()[0]||H.target;if(!(v.props.interactive&&EV(C,ye))){if(kh(v.props.triggerTarget||t).some(function(He){return EV(He,ye)})){if(es.isTouch||v.state.isVisible&&v.props.trigger.indexOf("click")>=0)return}else te("onClickOutside",[v,H]);v.props.hideOnClick===!0&&(v.clearDelayTimeouts(),v.hide(),s=!0,setTimeout(function(){s=!1}),v.state.isMounted||wr())}}}function I(){l=!0}function Ye(){l=!1}function Jt(){var H=ie();H.addEventListener("mousedown",Ie,!0),H.addEventListener("touchend",Ie,zu),H.addEventListener("touchstart",Ye,zu),H.addEventListener("touchmove",I,zu)}function wr(){var H=ie();H.removeEventListener("mousedown",Ie,!0),H.removeEventListener("touchend",Ie,zu),H.removeEventListener("touchstart",Ye,zu),H.removeEventListener("touchmove",I,zu)}function Nt(H,ye){Gt(H,function(){!v.state.isVisible&&C.parentNode&&C.parentNode.contains(C)&&ye()})}function yt(H,ye){Gt(H,ye)}function Gt(H,ye){var He=me().box;function Et(Ut){Ut.target===He&&(sA(He,"remove",Et),ye())}if(H===0)return ye();sA(He,"remove",u),sA(He,"add",Et),u=Et}function en(H,ye,He){He===void 0&&(He=!1);var Et=kh(v.props.triggerTarget||t);Et.forEach(function(Ut){Ut.addEventListener(H,ye,He),p.push({node:Ut,eventType:H,handler:ye,options:He})})}function or(){J()&&(en("touchstart",Qo,{passive:!0}),en("touchend",Ia,{passive:!0})),bpe(v.props.trigger).forEach(function(H){if(H!=="manual")switch(en(H,Qo),H){case"mouseenter":en("mouseleave",Ia);break;case"focus":en(Ipe?"focusout":"blur",ea);break;case"focusin":en("focusout",ea);break}})}function Zi(){p.forEach(function(H){var ye=H.node,He=H.eventType,Et=H.handler,Ut=H.options;ye.removeEventListener(He,Et,Ut)}),p=[]}function Qo(H){var ye,He=!1;if(!(!v.state.isEnabled||ta(H)||s)){var Et=((ye=d)==null?void 0:ye.type)==="focus";d=H,g=H.currentTarget,S(),!v.state.isVisible&&kpe(H)&&$k.forEach(function(Ut){return Ut(H)}),H.type==="click"&&(v.props.trigger.indexOf("mouseenter")<0||a)&&v.props.hideOnClick!==!1&&v.state.isVisible?He=!0:rd(H),H.type==="click"&&(a=!He),He&&!Et&&Ss(H)}}function Jo(H){var ye=H.target,He=Y().contains(ye)||C.contains(ye);if(!(H.type==="mousemove"&&He)){var Et=Oa().concat(C).map(function(Ut){var ai,vo=Ut._tippy,If=(ai=vo.popperInstance)==null?void 0:ai.state;return If?{popperRect:Ut.getBoundingClientRect(),popperState:If,props:n}:null}).filter(Boolean);Spe(Et,H)&&(Be(),Ss(H))}}function Ia(H){var ye=ta(H)||v.props.trigger.indexOf("click")>=0&&a;if(!ye){if(v.props.interactive){v.hideWithInteractivity(H);return}Ss(H)}}function ea(H){v.props.trigger.indexOf("focusin")<0&&H.target!==Y()||v.props.interactive&&H.relatedTarget&&C.contains(H.relatedTarget)||Ss(H)}function ta(H){return es.isTouch?J()!==H.type.indexOf("touch")>=0:!1}function _o(){wo();var H=v.props,ye=H.popperOptions,He=H.placement,Et=H.offset,Ut=H.getReferenceClientRect,ai=H.moveTransition,vo=V()?dA(C).arrow:null,If=Ut?{getBoundingClientRect:Ut,contextElement:Ut.contextElement||Y()}:t,D5={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(g_){var Of=g_.state;if(V()){var NZ=me(),nS=NZ.box;["placement","reference-hidden","escaped"].forEach(function(y_){y_==="placement"?nS.setAttribute("data-placement",Of.placement):Of.attributes.popper["data-popper-"+y_]?nS.setAttribute("data-"+y_,""):nS.removeAttribute("data-"+y_)}),Of.attributes.popper={}}}},ad=[{name:"offset",options:{offset:Et}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ai}},D5];V()&&vo&&ad.push({name:"arrow",options:{element:vo,padding:3}}),ad.push.apply(ad,ye?.modifiers||[]),v.popperInstance=iA(If,C,Object.assign({},ye,{placement:He,onFirstUpdate:f,modifiers:ad}))}function wo(){v.popperInstance&&(v.popperInstance.destroy(),v.popperInstance=null)}function na(){var H=v.props.appendTo,ye,He=Y();v.props.interactive&&H===NV||H==="parent"?ye=He.parentNode:ye=RV(H,[He]),ye.contains(C)||ye.appendChild(C),v.state.isMounted=!0,_o()}function Oa(){return qk(C.querySelectorAll("[data-tippy-root]"))}function rd(H){v.clearDelayTimeouts(),H&&te("onTrigger",[v,H]),Jt();var ye=W(!0),He=O(),Et=He[0],Ut=He[1];es.isTouch&&Et==="hold"&&Ut&&(ye=Ut),ye?r=setTimeout(function(){v.show()},ye):v.show()}function Ss(H){if(v.clearDelayTimeouts(),te("onUntrigger",[v,H]),!v.state.isVisible){wr();return}if(!(v.props.trigger.indexOf("mouseenter")>=0&&v.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(H.type)>=0&&a)){var ye=W(!1);ye?i=setTimeout(function(){v.state.isVisible&&v.hide()},ye):o=requestAnimationFrame(function(){v.hide()})}}function id(){v.state.isEnabled=!0}function $(){v.hide(),v.state.isEnabled=!1}function pe(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function tt(H){if(!v.state.isDestroyed){te("onBeforeUpdate",[v,H]),Zi();var ye=v.props,He=TV(t,Object.assign({},ye,DV(H),{ignoreAttributes:!0}));v.props=He,or(),ye.interactiveDebounce!==He.interactiveDebounce&&(Be(),h=xV(Jo,He.interactiveDebounce)),ye.triggerTarget&&!He.triggerTarget?kh(ye.triggerTarget).forEach(function(Et){Et.removeAttribute("aria-expanded")}):He.triggerTarget&&t.removeAttribute("aria-expanded"),S(),X(),P&&P(ye,He),v.popperInstance&&(_o(),Oa().forEach(function(Et){requestAnimationFrame(Et._tippy.popperInstance.forceUpdate)})),te("onAfterUpdate",[v,H])}}function Ct(H){v.setProps({content:H})}function Yt(){var H=v.state.isVisible,ye=v.state.isDestroyed,He=!v.state.isEnabled,Et=es.isTouch&&!v.props.touch,Ut=oA(v.props.duration,0,_a.duration);if(!(H||ye||He||Et)&&!Y().hasAttribute("disabled")&&(te("onShow",[v],!1),v.props.onShow(v)!==!1)){if(v.state.isVisible=!0,V()&&(C.style.visibility="visible"),X(),Jt(),v.state.isMounted||(C.style.transition="none"),V()){var ai=me(),vo=ai.box,If=ai.content;aA([vo,If],0)}f=function(){var ad;if(!(!v.state.isVisible||c)){if(c=!0,C.offsetHeight,C.style.transition=v.props.moveTransition,V()&&v.props.animation){var tS=me(),g_=tS.box,Of=tS.content;aA([g_,Of],Ut),SV([g_,Of],"visible")}xe(),S(),CV(lA,v),(ad=v.popperInstance)==null||ad.forceUpdate(),te("onMount",[v]),v.props.animation&&V()&&yt(Ut,function(){v.state.isShown=!0,te("onShown",[v])})}},na()}}function Xi(){var H=!v.state.isVisible,ye=v.state.isDestroyed,He=!v.state.isEnabled,Et=oA(v.props.duration,1,_a.duration);if(!(H||ye||He)&&(te("onHide",[v],!1),v.props.onHide(v)!==!1)){if(v.state.isVisible=!1,v.state.isShown=!1,c=!1,a=!1,V()&&(C.style.visibility="hidden"),Be(),wr(),X(!0),V()){var Ut=me(),ai=Ut.box,vo=Ut.content;v.props.animation&&(aA([ai,vo],Et),SV([ai,vo],"hidden"))}xe(),S(),v.props.animation?V()&&Nt(Et,v.unmount):v.unmount()}}function Es(H){ie().addEventListener("mousemove",h),CV($k,h),h(H)}function ra(){v.state.isVisible&&v.hide(),v.state.isMounted&&(wo(),Oa().forEach(function(H){H._tippy.unmount()}),C.parentNode&&C.parentNode.removeChild(C),lA=lA.filter(function(H){return H!==v}),v.state.isMounted=!1,te("onHidden",[v]))}function od(){v.state.isDestroyed||(v.clearDelayTimeouts(),v.unmount(),Zi(),delete t._tippy,v.state.isDestroyed=!0,te("onDestroy",[v]))}}function oy(t,e){e===void 0&&(e={});var n=_a.plugins.concat(e.plugins||[]);Tpe();var r=Object.assign({},e,{plugins:n}),i=Cpe(t);if(!1)var o,a;var s=i.reduce(function(l,c){var d=c&&Lpe(c,r);return d&&l.push(d),l},[]);return Wk(t)?s[0]:s}oy.defaultProps=_a;oy.setDefaultProps=Npe;oy.currentInput=es;var kLe=Object.assign({},X0,{effect:function(e){var n=e.state,r={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,r.popper),n.styles=r,n.elements.arrow&&Object.assign(n.elements.arrow.style,r.arrow)}});oy.setDefaultProps({render:LV});var xh=oy;var pA=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},ts=(t,e,n)=>(pA(t,e,"read from private field"),n?n.call(t):e.get(t)),Ch=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},ay=(t,e,n,r)=>(pA(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Bpe=(t,e,n)=>(pA(t,e,"access private method"),n),tl,Gk,Yk,Kk,Zk,fA,VV,ns=class{constructor(e){Ch(this,fA),Ch(this,tl,void 0),Ch(this,Gk,void 0),Ch(this,Yk,void 0),Ch(this,Kk,void 0),Ch(this,Zk,void 0),ay(this,Zk,(n,r)=>{let{state:i,composing:o}=n,{selection:a,doc:s}=i,{ranges:l}=a,c=Math.min(...l.map(f=>f.$from.pos)),d=Math.max(...l.map(f=>f.$to.pos)),u=r&&r.doc.eq(s)&&r.selection.eq(a);if(ts(this,tl)??ay(this,tl,xh(n.dom,q(D({trigger:"manual",interactive:!0},ts(this,Gk)),{content:this.element}))),!(o||u)){if(!ts(this,Kk).call(this,n,r)){this.hide();return}ts(this,tl).setProps({getReferenceClientRect:()=>Q1(n,c,d)}),this.show()}}),this.update=(n,r)=>{(0,BV.default)(ts(this,Zk),ts(this,Yk))(n,r)},this.destroy=()=>{var n;(n=ts(this,tl))==null||n.destroy()},this.show=()=>{var n;(n=ts(this,tl))==null||n.show()},this.hide=()=>{var n;(n=ts(this,tl))==null||n.hide()},this.getInstance=()=>ts(this,tl),this.element=e.content,ay(this,Gk,e.tippyOptions??{}),ay(this,Yk,e.debounce??200),ay(this,Kk,e.shouldShow??Bpe(this,fA,VV))}};tl=new WeakMap,Gk=new WeakMap,Yk=new WeakMap,Kk=new WeakMap,Zk=new WeakMap,fA=new WeakSet,VV=function(t){let{doc:e,selection:n}=t.state,{empty:r,from:i,to:o}=n,a=!e.textBetween(i,o).length&&t.state.selection instanceof je,s=this.element.contains(document.activeElement),l=!t.hasFocus()&&!s,c=!t.editable;return!(l||r||a||c)};function sy(t){let e=Vt({},`${t}_TOOLTIP_SPEC`),n=Bt(i=>{let o=i.get(e.key);return new Le(D({key:new Je(`${t}_TOOLTIP`)},o))}),r=[e,n];return r.key=e.key,r.pluginKey=n.key,e.meta={package:"@milkdown/plugin-tooltip",displayName:`Ctx<tooltipSpec>|${t}`},n.meta={package:"@milkdown/plugin-tooltip",displayName:`Prose<tooltip>|${t}`},r}var UV=ko(H0(),1);var mA=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},co=(t,e,n)=>(mA(t,e,"read from private field"),n?n.call(t):e.get(t)),Lu=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Dh=(t,e,n,r)=>(mA(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Vpe=(t,e,n)=>(mA(t,e,"access private method"),n);function gA(t){let e=Vt({},`${t}_SLASH_SPEC`),n=Bt(i=>{let o=i.get(e.key);return new Le(D({key:new Je(`${t}_SLASH`)},o))}),r=[e,n];return r.key=e.key,r.pluginKey=n.key,e.meta={package:"@milkdown/plugin-slash",displayName:`Ctx<slashSpec>|${t}`},n.meta={package:"@milkdown/plugin-slash",displayName:`Prose<slash>|${t}`},r}var nl,Xk,Qk,Sh,Jk,ex,hA,HV,Eh=class{constructor(e){Lu(this,hA),Lu(this,nl,void 0),Lu(this,Xk,void 0),Lu(this,Qk,void 0),Lu(this,Sh,void 0),Lu(this,Jk,void 0),Lu(this,ex,void 0),Dh(this,ex,(n,r)=>{let{state:i,composing:o}=n,{selection:a,doc:s}=i,{ranges:l}=a,c=Math.min(...l.map(f=>f.$from.pos)),d=Math.max(...l.map(f=>f.$to.pos)),u=r&&r.doc.eq(s)&&r.selection.eq(a);if(co(this,nl)??Dh(this,nl,xh(n.dom,q(D({trigger:"manual",placement:"bottom-start",interactive:!0},co(this,Xk)),{content:this.element}))),!(o||u)){if(!co(this,Jk).call(this,n,r)){this.hide();return}co(this,nl).setProps({getReferenceClientRect:()=>Q1(n,c,d)}),this.show()}}),this.update=(n,r)=>{(0,UV.default)(co(this,ex),co(this,Qk))(n,r)},this.getContent=(n,r=i=>i.type.name==="paragraph")=>{let{selection:i}=n.state,{empty:o}=i,a=n.state.selection instanceof je,s=this.element.contains(document.activeElement),l=!n.hasFocus()&&!s,c=!n.editable,d=ek(r)(n.state.selection);if(!(l||c||!o||!a||!d))return d.node.textContent},this.destroy=()=>{var n;(n=co(this,nl))==null||n.destroy()},this.show=()=>{var n;(n=co(this,nl))==null||n.show()},this.hide=()=>{var n;(n=co(this,nl))==null||n.hide()},this.getInstance=()=>co(this,nl),this.element=e.content,Dh(this,Xk,e.tippyOptions??{}),Dh(this,Qk,e.debounce??200),Dh(this,Jk,e.shouldShow??Vpe(this,hA,HV)),Dh(this,Sh,e.trigger??"/")}};nl=new WeakMap,Xk=new WeakMap,Qk=new WeakMap,Sh=new WeakMap,Jk=new WeakMap,ex=new WeakMap,hA=new WeakSet,HV=function(t){let e=this.getContent(t);if(!e)return!1;let n=e.at(-1);return n?Array.isArray(co(this,Sh))?co(this,Sh).includes(n):co(this,Sh)===n:!1};var bA,_A;if(typeof WeakMap<"u"){let t=new WeakMap;bA=e=>t.get(e),_A=(e,n)=>(t.set(e,n),n)}else{let t=[],n=0;bA=r=>{for(let i=0;i<t.length;i+=2)if(t[i]==r)return t[i+1]},_A=(r,i)=>(n==10&&(n=0),t[n++]=r,t[n++]=i)}var Wt=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e<this.map.length;e++){let n=this.map[e];if(n!=t)continue;let r=e%this.width,i=e/this.width|0,o=r+1,a=i+1;for(let s=1;o<this.width&&this.map[e+s]==n;s++)o++;for(let s=1;a<this.height&&this.map[e+this.width*s]==n;s++)a++;return{left:r,top:i,right:o,bottom:a}}throw new RangeError(`No cell with offset ${t} found`)}colCount(t){for(let e=0;e<this.map.length;e++)if(this.map[e]==t)return e%this.width;throw new RangeError(`No cell with offset ${t} found`)}nextCell(t,e,n){let{left:r,right:i,top:o,bottom:a}=this.findCell(t);return e=="horiz"?(n<0?r==0:i==this.width)?null:this.map[o*this.width+(n<0?r-1:i)]:(n<0?o==0:a==this.height)?null:this.map[r+this.width*(n<0?o-1:a)]}rectBetween(t,e){let{left:n,right:r,top:i,bottom:o}=this.findCell(t),{left:a,right:s,top:l,bottom:c}=this.findCell(e);return{left:Math.min(n,a),top:Math.min(i,l),right:Math.max(r,s),bottom:Math.max(o,c)}}cellsInRect(t){let e=[],n={};for(let r=t.top;r<t.bottom;r++)for(let i=t.left;i<t.right;i++){let o=r*this.width+i,a=this.map[o];n[a]||(n[a]=!0,!(i==t.left&&i&&this.map[o-1]==a||r==t.top&&r&&this.map[o-this.width]==a)&&e.push(a))}return e}positionAt(t,e,n){for(let r=0,i=0;;r++){let o=i+n.child(r).nodeSize;if(r==t){let a=e+t*this.width,s=(t+1)*this.width;for(;a<s&&this.map[a]<i;)a++;return a==s?o-1:this.map[a]}i=o}}static get(t){return bA(t)||_A(t,Upe(t))}};function Upe(t){if(t.type.spec.tableRole!="table")throw new RangeError("Not a table node: "+t.type.name);let e=Hpe(t),n=t.childCount,r=[],i=0,o=null,a=[];for(let c=0,d=e*n;c<d;c++)r[c]=0;for(let c=0,d=0;c<n;c++){let u=t.child(c);d++;for(let h=0;;h++){for(;i<r.length&&r[i]!=0;)i++;if(h==u.childCount)break;let g=u.child(h),{colspan:b,rowspan:_,colwidth:x}=g.attrs;for(let E=0;E<_;E++){if(E+c>=n){(o||(o=[])).push({type:"overlong_rowspan",pos:d,n:_-E});break}let v=i+E*e;for(let j=0;j<b;j++){r[v+j]==0?r[v+j]=d:(o||(o=[])).push({type:"collision",row:c,pos:d,n:b-j});let C=x&&x[j];if(C){let P=(v+j)%e*2,z=a[P];z==null||z!=C&&a[P+1]==1?(a[P]=C,a[P+1]=1):z==C&&a[P+1]++}}}i+=b,d+=g.nodeSize}let f=(c+1)*e,p=0;for(;i<f;)r[i++]==0&&p++;p&&(o||(o=[])).push({type:"missing",row:c,n:p}),d++}let s=new Wt(e,n,r,o),l=!1;for(let c=0;!l&&c<a.length;c+=2)a[c]!=null&&a[c+1]<n&&(l=!0);return l&&$pe(s,a,t),s}function Hpe(t){let e=-1,n=!1;for(let r=0;r<t.childCount;r++){let i=t.child(r),o=0;if(n)for(let a=0;a<r;a++){let s=t.child(a);for(let l=0;l<s.childCount;l++){let c=s.child(l);a+c.attrs.rowspan>r&&(o+=c.attrs.colspan)}}for(let a=0;a<i.childCount;a++){let s=i.child(a);o+=s.attrs.colspan,s.attrs.rowspan>1&&(n=!0)}e==-1?e=o:e!=o&&(e=Math.max(e,o))}return e}function $pe(t,e,n){t.problems||(t.problems=[]);let r={};for(let i=0;i<t.map.length;i++){let o=t.map[i];if(r[o])continue;r[o]=!0;let a=n.nodeAt(o);if(!a)throw new RangeError(`No cell with offset ${o} found`);let s=null,l=a.attrs;for(let c=0;c<l.colspan;c++){let d=(i+c)%t.width,u=e[d*2];u!=null&&(!l.colwidth||l.colwidth[c]!=u)&&((s||(s=qpe(l)))[c]=u)}s&&t.problems.unshift({type:"colwidth mismatch",pos:o,colwidth:s})}}function qpe(t){if(t.colwidth)return t.colwidth.slice();let e=[];for(let n=0;n<t.colspan;n++)e.push(0);return e}function $V(t,e){if(typeof t=="string")return{};let n=t.getAttribute("data-colwidth"),r=n&&/^\d+(,\d+)*$/.test(n)?n.split(",").map(a=>Number(a)):null,i=Number(t.getAttribute("colspan")||1),o={colspan:i,rowspan:Number(t.getAttribute("rowspan")||1),colwidth:r&&r.length==i?r:null};for(let a in e){let s=e[a].getFromDOM,l=s&&s(t);l!=null&&(o[a]=l)}return o}function qV(t,e){let n={};t.attrs.colspan!=1&&(n.colspan=t.attrs.colspan),t.attrs.rowspan!=1&&(n.rowspan=t.attrs.rowspan),t.attrs.colwidth&&(n["data-colwidth"]=t.attrs.colwidth.join(","));for(let r in e){let i=e[r].setDOMAttr;i&&i(t.attrs[r],n)}return n}function JV(t){let e=t.cellAttributes||{},n={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(let r in e)n[r]={default:e[r].default};return{table:{content:"table_row+",tableRole:"table",isolating:!0,group:t.tableGroup,parseDOM:[{tag:"table"}],toDOM(){return["table",["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM(){return["tr",0]}},table_cell:{content:t.cellContent,attrs:n,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:r=>$V(r,e)}],toDOM(r){return["td",qV(r,e),0]}},table_header:{content:t.cellContent,attrs:n,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:r=>$V(r,e)}],toDOM(r){return["th",qV(r,e),0]}}}}function Vo(t){let e=t.cached.tableNodeTypes;if(!e){e=t.cached.tableNodeTypes={};for(let n in t.nodes){let r=t.nodes[n],i=r.spec.tableRole;i&&(e[i]=r)}}return e}var Ec=new Je("selectingCells");function ly(t){for(let e=t.depth-1;e>0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function vi(t){let e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function ax(t){let e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;let n=ly(e.$head)||Wpe(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function Wpe(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){let r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){let r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function wA(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function Gpe(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function xA(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function eU(t,e,n){let r=t.node(-1),i=Wt.get(r),o=t.start(-1),a=i.nextCell(t.pos-o,e,n);return a==null?null:t.node(0).resolve(o+a)}function Bu(t,e,n=1){let r=q(D({},t),{colspan:t.colspan-n});return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function Ype(t,e,n=1){let r=q(D({},t),{colspan:t.colspan+n});if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;i<n;i++)r.colwidth.splice(e,0,0)}return r}function Kpe(t,e,n){let r=Vo(e.type.schema).header_cell;for(let i=0;i<t.height;i++)if(e.nodeAt(t.map[n+i*t.width]).type!=r)return!1;return!0}var an=class rl extends Ne{constructor(e,n=e){let r=e.node(-1),i=Wt.get(r),o=e.start(-1),a=i.rectBetween(e.pos-o,n.pos-o),s=e.node(0),l=i.cellsInRect(a).filter(d=>d!=n.pos-o);l.unshift(n.pos-o);let c=l.map(d=>{let u=r.nodeAt(d);if(!u)throw RangeError(`No cell with offset ${d} found`);let f=o+d+1;return new E0(s.resolve(f),s.resolve(f+u.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=e,this.$headCell=n}map(e,n){let r=e.resolve(n.map(this.$anchorCell.pos)),i=e.resolve(n.map(this.$headCell.pos));if(wA(r)&&wA(i)&&xA(r,i)){let o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?rl.rowSelection(r,i):o&&this.isColSelection()?rl.colSelection(r,i):new rl(r,i)}return je.between(r,i)}content(){let e=this.$anchorCell.node(-1),n=Wt.get(e),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l<i.bottom;l++){let c=[];for(let d=l*n.width+i.left,u=i.left;u<i.right;u++,d++){let f=n.map[d];if(o[f])continue;o[f]=!0;let p=n.findCell(f),h=e.nodeAt(f);if(!h)throw RangeError(`No cell with offset ${f} found`);let g=i.left-p.left,b=p.right-i.right;if(g>0||b>0){let _=h.attrs;if(g>0&&(_=Bu(_,0,g)),b>0&&(_=Bu(_,_.colspan-b,b)),p.left<i.left){if(h=h.type.createAndFill(_),!h)throw RangeError(`Could not create cell with attrs ${JSON.stringify(_)}`)}else h=h.type.create(_,h.content)}if(p.top<i.top||p.bottom>i.bottom){let _=q(D({},h.attrs),{rowspan:Math.min(p.bottom,i.bottom)-Math.max(p.top,i.top)});p.top<i.top?h=h.type.createAndFill(_):h=h.type.create(_,h.content)}c.push(h)}a.push(e.child(l).copy(Z.from(c)))}let s=this.isColSelection()&&this.isRowSelection()?e:a;return new ce(Z.from(s),1,1)}replace(e,n=ce.empty){let r=e.steps.length,i=this.ranges;for(let a=0;a<i.length;a++){let{$from:s,$to:l}=i[a],c=e.mapping.slice(r);e.replace(c.map(s.pos),c.map(l.pos),a?ce.empty:n)}let o=Ne.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);o&&e.setSelection(o)}replaceWith(e,n){this.replace(e,new ce(Z.from(n),0,0))}forEachCell(e){let n=this.$anchorCell.node(-1),r=Wt.get(n),i=this.$anchorCell.start(-1),o=r.cellsInRect(r.rectBetween(this.$anchorCell.pos-i,this.$headCell.pos-i));for(let a=0;a<o.length;a++)e(n.nodeAt(o[a]),i+o[a])}isColSelection(){let e=this.$anchorCell.index(-1),n=this.$headCell.index(-1);if(Math.min(e,n)>0)return!1;let r=e+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){let r=e.node(-1),i=Wt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.top<=s.top?(a.top>0&&(e=l.resolve(o+i.map[a.left])),s.bottom<i.height&&(n=l.resolve(o+i.map[i.width*(i.height-1)+s.right-1]))):(s.top>0&&(n=l.resolve(o+i.map[s.left])),a.bottom<i.height&&(e=l.resolve(o+i.map[i.width*(i.height-1)+a.right-1]))),new rl(e,n)}isRowSelection(){let e=this.$anchorCell.node(-1),n=Wt.get(e),r=this.$anchorCell.start(-1),i=n.colCount(this.$anchorCell.pos-r),o=n.colCount(this.$headCell.pos-r);if(Math.min(i,o)>0)return!1;let a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(e){return e instanceof rl&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){let r=e.node(-1),i=Wt.get(r),o=e.start(-1),a=i.findCell(e.pos-o),s=i.findCell(n.pos-o),l=e.node(0);return a.left<=s.left?(a.left>0&&(e=l.resolve(o+i.map[a.top*i.width])),s.right<i.width&&(n=l.resolve(o+i.map[i.width*(s.top+1)-1]))):(s.left>0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right<i.width&&(e=l.resolve(o+i.map[i.width*(a.top+1)-1]))),new rl(e,n)}toJSON(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}}static fromJSON(e,n){return new rl(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){return new rl(e.resolve(n),e.resolve(r))}getBookmark(){return new Zpe(this.$anchorCell.pos,this.$headCell.pos)}};an.prototype.visible=!1;Ne.jsonID("cell",an);var Zpe=class tU{constructor(e,n){this.anchor=e,this.head=n}map(e){return new tU(e.map(this.anchor),e.map(this.head))}resolve(e){let n=e.resolve(this.anchor),r=e.resolve(this.head);return n.parent.type.spec.tableRole=="row"&&r.parent.type.spec.tableRole=="row"&&n.index()<n.parent.childCount&&r.index()<r.parent.childCount&&xA(n,r)?new an(n,r):Ne.near(r,1)}};function Xpe(t){if(!(t.selection instanceof an))return null;let e=[];return t.selection.forEachCell((n,r)=>{e.push(gn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),wt.create(t.doc,e)}function Qpe({$from:t,$to:e}){if(t.pos==e.pos||t.pos<t.pos-6)return!1;let n=t.pos,r=e.pos,i=t.depth;for(;i>=0&&!(t.after(i+1)<t.end(i));i--,n++);for(let o=e.depth;o>=0&&!(e.before(o+1)>e.start(o));o--,r--);return n==r&&/row|table/.test(t.node(i).type.spec.tableRole)}function Jpe({$from:t,$to:e}){let n,r;for(let i=t.depth;i>0;i--){let o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=e.depth;i>0;i--){let o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&e.parentOffset===0}function ehe(t,e,n){let r=(e||t).selection,i=(e||t).doc,o,a;if(r instanceof Ue&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=an.create(i,r.from);else if(a=="row"){let s=i.resolve(r.from+1);o=an.rowSelection(s,s)}else if(!n){let s=Wt.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=an.create(i,l+1,c)}}else r instanceof je&&Qpe(r)?o=je.create(i,r.from):r instanceof je&&Jpe(r)&&(o=je.create(i,r.$from.start(),r.$from.end()));return o&&(e||(e=t.tr)).setSelection(o),e}var the=new Je("fix-tables");function nU(t,e,n,r){let i=t.childCount,o=e.childCount;e:for(let a=0,s=0;a<o;a++){let l=e.child(a);for(let c=s,d=Math.min(i,a+3);c<d;c++)if(t.child(c)==l){s=c+1,n+=l.nodeSize;continue e}r(l,n),s<i&&t.child(s).sameMarkup(l)?nU(t.child(s),l,n+1,r):l.nodesBetween(0,l.content.size,r,n+1),n+=l.nodeSize}}function nhe(t,e){let n,r=(i,o)=>{i.type.spec.tableRole=="table"&&(n=rhe(t,i,o,n))};return e?e.doc!=t.doc&&nU(e.doc,t.doc,0,r):t.doc.descendants(r),n}function rhe(t,e,n,r){let i=Wt.get(e);if(!i.problems)return r;r||(r=t.tr);let o=[];for(let l=0;l<i.height;l++)o.push(0);for(let l=0;l<i.problems.length;l++){let c=i.problems[l];if(c.type=="collision"){let d=e.nodeAt(c.pos);if(!d)continue;let u=d.attrs;for(let f=0;f<u.rowspan;f++)o[c.row+f]+=c.n;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,Bu(u,u.colspan-c.n,c.n))}else if(c.type=="missing")o[c.row]+=c.n;else if(c.type=="overlong_rowspan"){let d=e.nodeAt(c.pos);if(!d)continue;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,q(D({},d.attrs),{rowspan:d.attrs.rowspan-c.n}))}else if(c.type=="colwidth mismatch"){let d=e.nodeAt(c.pos);if(!d)continue;r.setNodeMarkup(r.mapping.map(n+1+c.pos),null,q(D({},d.attrs),{colwidth:c.colwidth}))}}let a,s;for(let l=0;l<o.length;l++)o[l]&&(a==null&&(a=l),s=l);for(let l=0,c=n+1;l<i.height;l++){let d=e.child(l),u=c+d.nodeSize,f=o[l];if(f>0){let p="cell";d.firstChild&&(p=d.firstChild.type.spec.tableRole);let h=[];for(let b=0;b<f;b++){let _=Vo(t.schema)[p].createAndFill();_&&h.push(_)}let g=(l==0||a==l-1)&&s==l?c+1:u-1;r.insert(r.mapping.map(g),h)}c=u}return r.setMeta(the,{fixTables:!0})}function ihe(t){if(!t.size)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;let i=e.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let l=0;l<e.childCount;l++){let c=e.child(l).content,d=l?0:Math.max(0,n-1),u=l<e.childCount-1?0:Math.max(0,r-1);(d||u)&&(c=vA(Vo(a).row,new ce(c,d,u)).content),s.push(c)}else if(o=="cell"||o=="header_cell")s.push(n||r?vA(Vo(a).row,new ce(e,n,r)).content:e);else return null;return ohe(a,s)}function ohe(t,e){let n=[];for(let i=0;i<e.length;i++){let o=e[i];for(let a=o.childCount-1;a>=0;a--){let{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=i;c<i+s;c++)n[c]=(n[c]||0)+l}}let r=0;for(let i=0;i<n.length;i++)r=Math.max(r,n[i]);for(let i=0;i<n.length;i++)if(i>=e.length&&e.push(Z.empty),n[i]<r){let o=Vo(t).cell.createAndFill(),a=[];for(let s=n[i];s<r;s++)a.push(o);e[i]=e[i].append(Z.from(a))}return{height:e.length,width:r,rows:e}}function vA(t,e){let n=t.createAndFill();return new Bp(n).replace(0,n.content.size,e).doc}function ahe({width:t,height:e,rows:n},r,i){if(t!=r){let o=[],a=[];for(let s=0;s<n.length;s++){let l=n[s],c=[];for(let d=o[s]||0,u=0;d<r;u++){let f=l.child(u%l.childCount);d+f.attrs.colspan>r&&(f=f.type.createChecked(Bu(f.attrs,f.attrs.colspan,d+f.attrs.colspan-r),f.content)),c.push(f),d+=f.attrs.colspan;for(let p=1;p<f.attrs.rowspan;p++)o[s+p]=(o[s+p]||0)+f.attrs.colspan}a.push(Z.from(c))}n=a,t=r}if(e!=i){let o=[];for(let a=0,s=0;a<i;a++,s++){let l=[],c=n[s%e];for(let d=0;d<c.childCount;d++){let u=c.child(d);a+u.attrs.rowspan>i&&(u=u.type.create(q(D({},u.attrs),{rowspan:Math.max(1,i-u.attrs.rowspan)}),u.content)),l.push(u)}o.push(Z.from(l))}n=o,e=i}return{width:t,height:e,rows:n}}function she(t,e,n,r,i,o,a){let s=t.doc.type.schema,l=Vo(s),c,d;if(i>e.width)for(let u=0,f=0;u<e.height;u++){let p=n.child(u);f+=p.nodeSize;let h=[],g;p.lastChild==null||p.lastChild.type==l.cell?g=c||(c=l.cell.createAndFill()):g=d||(d=l.header_cell.createAndFill());for(let b=e.width;b<i;b++)h.push(g);t.insert(t.mapping.slice(a).map(f-1+r),h)}if(o>e.height){let u=[];for(let h=0,g=(e.height-1)*e.width;h<Math.max(e.width,i);h++){let b=h>=e.width?!1:n.nodeAt(e.map[g+h]).type==l.header_cell;u.push(b?d||(d=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}let f=l.row.create(null,Z.from(u)),p=[];for(let h=e.height;h<o;h++)p.push(f);t.insert(t.mapping.slice(a).map(r+n.nodeSize-2),p)}return!!(c||d)}function WV(t,e,n,r,i,o,a,s){if(a==0||a==e.height)return!1;let l=!1;for(let c=i;c<o;c++){let d=a*e.width+c,u=e.map[d];if(e.map[d-e.width]==u){l=!0;let f=n.nodeAt(u),{top:p,left:h}=e.findCell(u);t.setNodeMarkup(t.mapping.slice(s).map(u+r),null,q(D({},f.attrs),{rowspan:a-p})),t.insert(t.mapping.slice(s).map(e.positionAt(a,h,n)),f.type.createAndFill(q(D({},f.attrs),{rowspan:p+f.attrs.rowspan-a}))),c+=f.attrs.colspan-1}}return l}function GV(t,e,n,r,i,o,a,s){if(a==0||a==e.width)return!1;let l=!1;for(let c=i;c<o;c++){let d=c*e.width+a,u=e.map[d];if(e.map[d-1]==u){l=!0;let f=n.nodeAt(u),p=e.colCount(u),h=t.mapping.slice(s).map(u+r);t.setNodeMarkup(h,null,Bu(f.attrs,a-p,f.attrs.colspan-(a-p))),t.insert(h+f.nodeSize,f.type.createAndFill(Bu(f.attrs,0,a-p))),c+=f.attrs.rowspan-1}}return l}function YV(t,e,n,r,i){let o=n?t.doc.nodeAt(n-1):t.doc;if(!o)throw new Error("No table found");let a=Wt.get(o),{top:s,left:l}=r,c=l+i.width,d=s+i.height,u=t.tr,f=0;function p(){if(o=n?u.doc.nodeAt(n-1):u.doc,!o)throw new Error("No table found");a=Wt.get(o),f=u.mapping.maps.length}she(u,a,o,n,c,d,f)&&p(),WV(u,a,o,n,l,c,s,f)&&p(),WV(u,a,o,n,l,c,d,f)&&p(),GV(u,a,o,n,s,d,l,f)&&p(),GV(u,a,o,n,s,d,c,f)&&p();for(let h=s;h<d;h++){let g=a.positionAt(h,l,o),b=a.positionAt(h,c,o);u.replace(u.mapping.slice(f).map(g+n),u.mapping.slice(f).map(b+n),new ce(i.rows[h-s],0,0))}p(),u.setSelection(new an(u.doc.resolve(n+a.positionAt(s,l,o)),u.doc.resolve(n+a.positionAt(d-1,c-1,o)))),e(u)}var lhe=pu({ArrowLeft:tx("horiz",-1),ArrowRight:tx("horiz",1),ArrowUp:tx("vert",-1),ArrowDown:tx("vert",1),"Shift-ArrowLeft":nx("horiz",-1),"Shift-ArrowRight":nx("horiz",1),"Shift-ArrowUp":nx("vert",-1),"Shift-ArrowDown":nx("vert",1),Backspace:rx,"Mod-Backspace":rx,Delete:rx,"Mod-Delete":rx});function ix(t,e,n){return n.eq(t.selection)?!1:(e&&e(t.tr.setSelection(n).scrollIntoView()),!0)}function tx(t,e){return(n,r,i)=>{if(!i)return!1;let o=n.selection;if(o instanceof an)return ix(n,r,Ne.near(o.$headCell,e));if(t!="horiz"&&!o.empty)return!1;let a=rU(i,t,e);if(a==null)return!1;if(t=="horiz")return ix(n,r,Ne.near(n.doc.resolve(o.head+e),e));{let s=n.doc.resolve(a),l=eU(s,t,e),c;return l?c=Ne.near(l,1):e<0?c=Ne.near(n.doc.resolve(s.before(-1)),-1):c=Ne.near(n.doc.resolve(s.after(-1)),1),ix(n,r,c)}}}function nx(t,e){return(n,r,i)=>{if(!i)return!1;let o=n.selection,a;if(o instanceof an)a=o;else{let l=rU(i,t,e);if(l==null)return!1;a=new an(n.doc.resolve(l))}let s=eU(a.$headCell,t,e);return s?ix(n,r,new an(a.$anchorCell,s)):!1}}function rx(t,e){let n=t.selection;if(!(n instanceof an))return!1;if(e){let r=t.tr,i=Vo(t.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new ce(i,0,0))}),r.docChanged&&e(r)}return!0}function che(t,e){let n=t.state.doc,r=ly(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new an(r))),!0):!1}function dhe(t,e,n){if(!vi(t.state))return!1;let r=ihe(n),i=t.state.selection;if(i instanceof an){r||(r={width:1,height:1,rows:[Z.from(vA(Vo(t.state.schema).cell,n))]});let o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Wt.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=ahe(r,s.right-s.left,s.bottom-s.top),YV(t.state,t.dispatch,a,s,r),!0}else if(r){let o=ax(t.state),a=o.start(-1);return YV(t.state,t.dispatch,a,Wt.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function uhe(t,e){var n;if(e.ctrlKey||e.metaKey)return;let r=KV(t,e.target),i;if(e.shiftKey&&t.state.selection instanceof an)o(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(i=ly(t.state.selection.$anchor))!=null&&((n=yA(t,e))==null?void 0:n.pos)!=i.pos)o(i,e),e.preventDefault();else if(!r)return;function o(l,c){let d=yA(t,c),u=Ec.getState(t.state)==null;if(!d||!xA(l,d))if(u)d=l;else return;let f=new an(l,d);if(u||!t.state.selection.eq(f)){let p=t.state.tr.setSelection(f);u&&p.setMeta(Ec,l.pos),t.dispatch(p)}}function a(){t.root.removeEventListener("mouseup",a),t.root.removeEventListener("dragstart",a),t.root.removeEventListener("mousemove",s),Ec.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(Ec,-1))}function s(l){let c=l,d=Ec.getState(t.state),u;if(d!=null)u=t.state.doc.resolve(d);else if(KV(t,c.target)!=r&&(u=yA(t,e),!u))return a();u&&o(u,c)}t.root.addEventListener("mouseup",a),t.root.addEventListener("dragstart",a),t.root.addEventListener("mousemove",s)}function rU(t,e,n){if(!(t.state.selection instanceof je))return null;let{$head:r}=t.state.selection;for(let i=r.depth-1;i>=0;i--){let o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){let s=r.before(i),l=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(l)?s:null}}return null}function KV(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function yA(t,e){let n=t.posAtCoords({left:e.clientX,top:e.clientY});return n&&n?ly(t.state.doc.resolve(n.pos)):null}var fhe=class{constructor(t,e){this.node=t,this.cellMinWidth=e,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.colgroup=this.table.appendChild(document.createElement("colgroup")),kA(t,this.colgroup,this.table,e),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(t){return t.type!=this.node.type?!1:(this.node=t,kA(t,this.colgroup,this.table,this.cellMinWidth),!0)}ignoreMutation(t){return t.type=="attributes"&&(t.target==this.table||this.colgroup.contains(t.target))}};function kA(t,e,n,r,i,o){var a;let s=0,l=!0,c=e.firstChild,d=t.firstChild;if(d){for(let u=0,f=0;u<d.childCount;u++){let{colspan:p,colwidth:h}=d.child(u).attrs;for(let g=0;g<p;g++,f++){let b=i==f?o:h&&h[g],_=b?b+"px":"";s+=b||r,b||(l=!1),c?(c.style.width!=_&&(c.style.width=_),c=c.nextSibling):e.appendChild(document.createElement("col")).style.width=_}}for(;c;){let u=c.nextSibling;(a=c.parentNode)==null||a.removeChild(c),c=u}l?(n.style.width=s+"px",n.style.minWidth=""):(n.style.width="",n.style.minWidth=s+"px")}}var Bo=new Je("tableColumnResizing");function iU({handleWidth:t=5,cellMinWidth:e=25,View:n=fhe,lastColumnResizable:r=!0}={}){let i=new Le({key:Bo,state:{init(o,a){return i.spec.props.nodeViews[Vo(a.schema).table.name]=(s,l)=>new n(s,e,l),new phe(-1,!1)},apply(o,a){return a.apply(o)}},props:{attributes:o=>{let a=Bo.getState(o);return a&&a.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,a)=>{hhe(o,a,t,e,r)},mouseleave:o=>{mhe(o)},mousedown:(o,a)=>{ghe(o,a,e)}},decorations:o=>{let a=Bo.getState(o);if(a&&a.activeHandle>-1)return khe(o,a.activeHandle)},nodeViews:{}}});return i}var phe=class ox{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){let n=this,r=e.getMeta(Bo);if(r&&r.setHandle!=null)return new ox(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new ox(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let i=e.mapping.map(n.activeHandle,-1);return wA(e.doc.resolve(i))||(i=-1),new ox(i,n.dragging)}return n}};function hhe(t,e,n,r,i){let o=Bo.getState(t.state);if(o&&!o.dragging){let a=bhe(e.target),s=-1;if(a){let{left:l,right:c}=a.getBoundingClientRect();e.clientX-l<=n?s=ZV(t,e,"left",n):c-e.clientX<=n&&(s=ZV(t,e,"right",n))}if(s!=o.activeHandle){if(!i&&s!==-1){let l=t.state.doc.resolve(s),c=l.node(-1),d=Wt.get(c),u=l.start(-1);if(d.colCount(l.pos-u)+l.nodeAfter.attrs.colspan-1==d.width-1)return}oU(t,s)}}}function mhe(t){let e=Bo.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&oU(t,-1)}function ghe(t,e,n){let r=Bo.getState(t.state);if(!r||r.activeHandle==-1||r.dragging)return!1;let i=t.state.doc.nodeAt(r.activeHandle),o=yhe(t,r.activeHandle,i.attrs);t.dispatch(t.state.tr.setMeta(Bo,{setDragging:{startX:e.clientX,startWidth:o}}));function a(l){window.removeEventListener("mouseup",a),window.removeEventListener("mousemove",s);let c=Bo.getState(t.state);c?.dragging&&(_he(t,c.activeHandle,XV(c.dragging,l,n)),t.dispatch(t.state.tr.setMeta(Bo,{setDragging:null})))}function s(l){if(!l.which)return a(l);let c=Bo.getState(t.state);if(c&&c.dragging){let d=XV(c.dragging,l,n);whe(t,c.activeHandle,d,n)}}return window.addEventListener("mouseup",a),window.addEventListener("mousemove",s),e.preventDefault(),!0}function yhe(t,e,{colspan:n,colwidth:r}){let i=r&&r[r.length-1];if(i)return i;let o=t.domAtPos(e),s=o.node.childNodes[o.offset].offsetWidth,l=n;if(r)for(let c=0;c<n;c++)r[c]&&(s-=r[c],l--);return s/l}function bhe(t){for(;t&&t.nodeName!="TD"&&t.nodeName!="TH";)t=t.classList&&t.classList.contains("ProseMirror")?null:t.parentNode;return t}function ZV(t,e,n,r){let i=n=="right"?-r:r,o=t.posAtCoords({left:e.clientX+i,top:e.clientY});if(!o)return-1;let{pos:a}=o,s=ly(t.state.doc.resolve(a));if(!s)return-1;if(n=="right")return s.pos;let l=Wt.get(s.node(-1)),c=s.start(-1),d=l.map.indexOf(s.pos-c);return d%l.width==0?-1:c+l.map[d-1]}function XV(t,e,n){let r=e.clientX-t.startX;return Math.max(n,t.startWidth+r)}function oU(t,e){t.dispatch(t.state.tr.setMeta(Bo,{setHandle:e}))}function _he(t,e,n){let r=t.state.doc.resolve(e),i=r.node(-1),o=Wt.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan-1,l=t.state.tr;for(let c=0;c<o.height;c++){let d=c*o.width+s;if(c&&o.map[d]==o.map[d-o.width])continue;let u=o.map[d],f=i.nodeAt(u).attrs,p=f.colspan==1?0:s-o.colCount(u);if(f.colwidth&&f.colwidth[p]==n)continue;let h=f.colwidth?f.colwidth.slice():vhe(f.colspan);h[p]=n,l.setNodeMarkup(a+u,null,q(D({},f),{colwidth:h}))}l.docChanged&&t.dispatch(l)}function whe(t,e,n,r){let i=t.state.doc.resolve(e),o=i.node(-1),a=i.start(-1),s=Wt.get(o).colCount(i.pos-a)+i.nodeAfter.attrs.colspan-1,l=t.domAtPos(i.start(-1)).node;for(;l&&l.nodeName!="TABLE";)l=l.parentNode;l&&kA(o,l.firstChild,l,r,s,n)}function vhe(t){return Array(t).fill(0)}function khe(t,e){let n=[],r=t.doc.resolve(e),i=r.node(-1);if(!i)return wt.empty;let o=Wt.get(i),a=r.start(-1),s=o.colCount(r.pos-a)+r.nodeAfter.attrs.colspan;for(let l=0;l<o.height;l++){let c=s+l*o.width-1;if((s==o.width||o.map[c]!=o.map[c+1])&&(l==0||o.map[c]!=o.map[c-o.width])){let d=o.map[c],u=a+d+i.nodeAt(d).nodeSize-1,f=document.createElement("div");f.className="column-resize-handle",n.push(gn.widget(u,f))}}return wt.create(t.doc,n)}function il(t){let e=t.selection,n=ax(t),r=n.node(-1),i=n.start(-1),o=Wt.get(r),a=e instanceof an?o.rectBetween(e.$anchorCell.pos-i,e.$headCell.pos-i):o.findCell(n.pos-i);return q(D({},a),{tableStart:i,map:o,table:r})}function aU(t,{map:e,tableStart:n,table:r},i){let o=i>0?-1:0;Kpe(e,r,i+o)&&(o=i==0||i==e.width?null:0);for(let a=0;a<e.height;a++){let s=a*e.width+i;if(i>0&&i<e.width&&e.map[s-1]==e.map[s]){let l=e.map[s],c=r.nodeAt(l);t.setNodeMarkup(t.mapping.map(n+l),null,Ype(c.attrs,i-e.colCount(l))),a+=c.attrs.rowspan-1}else{let l=o==null?Vo(r.type.schema).cell:r.nodeAt(e.map[s+o]).type,c=e.positionAt(a,i,r);t.insert(t.mapping.map(n+c),l.createAndFill())}}return t}function sU(t,e){if(!vi(t))return!1;if(e){let n=il(t);e(aU(t.tr,n,n.left))}return!0}function lU(t,e){if(!vi(t))return!1;if(e){let n=il(t);e(aU(t.tr,n,n.right))}return!0}function xhe(t,{map:e,table:n,tableStart:r},i){let o=t.mapping.maps.length;for(let a=0;a<e.height;){let s=a*e.width+i,l=e.map[s],c=n.nodeAt(l),d=c.attrs;if(i>0&&e.map[s-1]==l||i<e.width-1&&e.map[s+1]==l)t.setNodeMarkup(t.mapping.slice(o).map(r+l),null,Bu(d,i-e.colCount(l)));else{let u=t.mapping.slice(o).map(r+l);t.delete(u,u+c.nodeSize)}a+=d.rowspan}}function cU(t,e){if(!vi(t))return!1;if(e){let n=il(t),r=t.tr;if(n.left==0&&n.right==n.map.width)return!1;for(let i=n.right-1;xhe(r,n,i),i!=n.left;i--){let o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=Wt.get(o)}e(r)}return!0}function Che(t,{map:e,table:n,tableStart:r},i){let o=0;for(let c=0;c<i;c++)o+=n.child(c).nodeSize;let a=o+n.child(i).nodeSize,s=t.mapping.maps.length;t.delete(o+r,a+r);let l=new Set;for(let c=0,d=i*e.width;c<e.width;c++,d++){let u=e.map[d];if(!l.has(u)){if(l.add(u),i>0&&u==e.map[d-e.width]){let f=n.nodeAt(u).attrs;t.setNodeMarkup(t.mapping.slice(s).map(u+r),null,q(D({},f),{rowspan:f.rowspan-1})),c+=f.colspan-1}else if(i<e.height&&u==e.map[d+e.width]){let f=n.nodeAt(u),p=f.attrs,h=f.type.create(q(D({},p),{rowspan:f.attrs.rowspan-1}),f.content),g=e.positionAt(i+1,c,n);t.insert(t.mapping.slice(s).map(r+g),h),c+=p.colspan-1}}}}function dU(t,e){if(!vi(t))return!1;if(e){let n=il(t),r=t.tr;if(n.top==0&&n.bottom==n.map.height)return!1;for(let i=n.bottom-1;Che(r,n,i),i!=n.top;i--){let o=n.tableStart?r.doc.nodeAt(n.tableStart-1):r.doc;if(!o)throw RangeError("No table found");n.table=o,n.map=Wt.get(n.table)}e(r)}return!0}function uU(t,e){return function(n,r){if(!vi(n))return!1;let i=ax(n);if(i.nodeAfter.attrs[t]===e)return!1;if(r){let o=n.tr;n.selection instanceof an?n.selection.forEachCell((a,s)=>{a.attrs[t]!==e&&o.setNodeMarkup(s,null,q(D({},a.attrs),{[t]:e}))}):o.setNodeMarkup(i.pos,null,q(D({},i.nodeAfter.attrs),{[t]:e})),r(o)}return!0}}function Dhe(t){return function(e,n){if(!vi(e))return!1;if(n){let r=Vo(e.schema),i=il(e),o=e.tr,a=i.map.cellsInRect(t=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:t=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(l=>i.table.nodeAt(l));for(let l=0;l<a.length;l++)s[l].type==r.header_cell&&o.setNodeMarkup(i.tableStart+a[l],r.cell,s[l].attrs);if(o.steps.length==0)for(let l=0;l<a.length;l++)o.setNodeMarkup(i.tableStart+a[l],r.header_cell,s[l].attrs);n(o)}return!0}}function QV(t,e,n){let r=e.map.cellsInRect({left:0,top:0,right:t=="row"?e.map.width:1,bottom:t=="column"?e.map.height:1});for(let i=0;i<r.length;i++){let o=e.table.nodeAt(r[i]);if(o&&o.type!==n.header_cell)return!1}return!0}function CA(t,e){return e=e||{useDeprecatedLogic:!1},e.useDeprecatedLogic?Dhe(t):function(n,r){if(!vi(n))return!1;if(r){let i=Vo(n.schema),o=il(n),a=n.tr,s=QV("row",o,i),l=QV("column",o,i),d=(t==="column"?s:t==="row"?l:!1)?1:0,u=t=="column"?{left:0,top:d,right:1,bottom:o.map.height}:t=="row"?{left:d,top:0,right:o.map.width,bottom:1}:o,f=t=="column"?l?i.cell:i.header_cell:t=="row"?s?i.cell:i.header_cell:i.cell;o.map.cellsInRect(u).forEach(p=>{let h=p+o.tableStart,g=a.doc.nodeAt(h);g&&a.setNodeMarkup(h,f,g.attrs)}),r(a)}return!0}}var ZLe=CA("row",{useDeprecatedLogic:!0}),XLe=CA("column",{useDeprecatedLogic:!0}),QLe=CA("cell",{useDeprecatedLogic:!0});function She(t,e){if(e<0){let n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,i=t.before();r>=0;r--){let o=t.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(t.index()<t.parent.childCount-1)return t.pos+t.nodeAfter.nodeSize;let n=t.node(-1);for(let r=t.indexAfter(-1),i=t.after();r<n.childCount;r++){let o=n.child(r);if(o.childCount)return i+1;i+=o.nodeSize}}return null}function DA(t){return function(e,n){if(!vi(e))return!1;let r=She(ax(e),t);if(r==null)return!1;if(n){let i=e.doc.resolve(r);n(e.tr.setSelection(je.between(i,Gpe(i))).scrollIntoView())}return!0}}function fU(t,e){let n=t.selection.$anchor;for(let r=n.depth;r>0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function pU({allowTableNodeSelection:t=!1}={}){return new Le({key:Ec,state:{init(){return null},apply(e,n){let r=e.getMeta(Ec);if(r!=null)return r==-1?null:r;if(n==null||!e.docChanged)return n;let{deleted:i,pos:o}=e.mapping.mapResult(n);return i?null:o}},props:{decorations:Xpe,handleDOMEvents:{mousedown:uhe},createSelectionBetween(e){return Ec.getState(e.state)!=null?e.state.selection:null},handleTripleClick:che,handleKeyDown:lhe,handlePaste:dhe},appendTransaction(e,n,r){return ehe(r,nhe(r,n),t)}})}function SA(t,e){let n=String(t);if(typeof e!="string")throw new TypeError("Expected character");let r=0,i=n.indexOf(e);for(;i!==-1;)r++,i=n.indexOf(e,i+e.length);return r}function cy(t,e,n){let i=dc((n||{}).ignore||[]),o=Ehe(e),a=-1;for(;++a<o.length;)a0(t,"text",s);function s(c,d){let u=-1,f;for(;++u<d.length;){let p=d[u],h=f?f.children:void 0;if(i(p,h?h.indexOf(p):void 0,f))return;f=p}if(f)return l(c,d)}function l(c,d){let u=d[d.length-1],f=o[a][0],p=o[a][1],h=0,b=u.children.indexOf(c),_=!1,x=[];f.lastIndex=0;let E=f.exec(c.value);for(;E;){let v=E.index,j={index:E.index,input:E.input,stack:[...d,c]},C=p(...E,j);if(typeof C=="string"&&(C=C.length>0?{type:"text",value:C}:void 0),C===!1?f.lastIndex=v+1:(h!==v&&x.push({type:"text",value:c.value.slice(h,v)}),Array.isArray(C)?x.push(...C):C&&x.push(C),h=v+E[0].length,_=!0),!f.global)break;E=f.exec(c.value)}return _?(h<c.value.length&&x.push({type:"text",value:c.value.slice(h)}),u.children.splice(b,1,...x)):x=[c],b+x.length}}function Ehe(t){let e=[];if(!Array.isArray(t))throw new TypeError("Expected find and replace tuple or list of tuples");let n=!t[0]||Array.isArray(t[0])?t:[t],r=-1;for(;++r<n.length;){let i=n[r];e.push([Mhe(i[0]),The(i[1])])}return e}function Mhe(t){return typeof t=="string"?new RegExp(Cc(t),"g"):t}function The(t){return typeof t=="function"?t:function(){return t}}var EA="phrasing",MA=["autolink","link","image","label"];function AA(){return{transforms:[Nhe],enter:{literalAutolink:Ahe,literalAutolinkEmail:TA,literalAutolinkHttp:TA,literalAutolinkWww:TA},exit:{literalAutolink:Fhe,literalAutolinkEmail:Phe,literalAutolinkHttp:Ihe,literalAutolinkWww:Ohe}}}function IA(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:EA,notInConstruct:MA},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:EA,notInConstruct:MA},{character:":",before:"[ps]",after:"\\/",inConstruct:EA,notInConstruct:MA}]}}function Ahe(t){this.enter({type:"link",title:null,url:"",children:[]},t)}function TA(t){this.config.enter.autolinkProtocol.call(this,t)}function Ihe(t){this.config.exit.autolinkProtocol.call(this,t)}function Ohe(t){this.config.exit.data.call(this,t);let e=this.stack[this.stack.length-1];e.type,e.url="http://"+this.sliceSerialize(t)}function Phe(t){this.config.exit.autolinkEmail.call(this,t)}function Fhe(t){this.exit(t)}function Nhe(t){cy(t,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Rhe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,jhe]],{ignore:["link","linkReference"]})}function Rhe(t,e,n,r,i){let o="";if(!hU(i)||(/^w/i.test(e)&&(n=e+n,e="",o="http://"),!zhe(n)))return!1;let a=Lhe(n+r);if(!a[0])return!1;let s={type:"link",title:null,url:o+e+a[0],children:[{type:"text",value:e+a[0]}]};return a[1]?[s,{type:"text",value:a[1]}]:s}function jhe(t,e,n,r){return!hU(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+e+"@"+n,children:[{type:"text",value:e+"@"+n}]}}function zhe(t){let e=t.split(".");return!(e.length<2||e[e.length-1]&&(/_/.test(e[e.length-1])||!/[a-zA-Z\d]/.test(e[e.length-1]))||e[e.length-2]&&(/_/.test(e[e.length-2])||!/[a-zA-Z\d]/.test(e[e.length-2])))}function Lhe(t){let e=/[!"&'),.:;<>?\]}]+$/.exec(t);if(!e)return[t,void 0];t=t.slice(0,e.index);let n=e[0],r=n.indexOf(")"),i=SA(t,"("),o=SA(t,")");for(;r!==-1&&i>o;)t+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[t,n]}function hU(t,e){let n=t.input.charCodeAt(t.index-1);return(t.index===0||Ga(n)||Wd(n))&&(!e||n!==47)}mU.peek=Yhe;function OA(){return{enter:{gfmFootnoteDefinition:Bhe,gfmFootnoteDefinitionLabelString:Vhe,gfmFootnoteCall:$he,gfmFootnoteCallString:qhe},exit:{gfmFootnoteDefinition:Hhe,gfmFootnoteDefinitionLabelString:Uhe,gfmFootnoteCall:Ghe,gfmFootnoteCallString:Whe}}}function PA(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Khe,footnoteReference:mU}}}function Bhe(t){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},t)}function Vhe(){this.buffer()}function Uhe(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Kr(this.sliceSerialize(t)).toLowerCase()}function Hhe(t){this.exit(t)}function $he(t){this.enter({type:"footnoteReference",identifier:"",label:""},t)}function qhe(){this.buffer()}function Whe(t){let e=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=e,n.identifier=Kr(this.sliceSerialize(t)).toLowerCase()}function Ghe(t){this.exit(t)}function mU(t,e,n,r){let i=n.createTracker(r),o=i.move("[^"),a=n.enter("footnoteReference"),s=n.enter("reference");return o+=i.move(n.safe(n.associationId(t),q(D({},i.current()),{before:o,after:"]"}))),s(),a(),o+=i.move("]"),o}function Yhe(){return"["}function Khe(t,e,n,r){let i=n.createTracker(r),o=i.move("[^"),a=n.enter("footnoteDefinition"),s=n.enter("label");return o+=i.move(n.safe(n.associationId(t),q(D({},i.current()),{before:o,after:"]"}))),s(),o+=i.move("]:"+(t.children&&t.children.length>0?" ":"")),i.shift(4),o+=i.move(n.indentLines(n.containerFlow(t,i.current()),Zhe)),a(),o}function Zhe(t,e,n){return e===0?t:(n?"":" ")+t}var Xhe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];gU.peek=eme;function FA(){return{canContainEols:["delete"],enter:{strikethrough:Qhe},exit:{strikethrough:Jhe}}}function NA(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Xhe}],handlers:{delete:gU}}}function Qhe(t){this.enter({type:"delete",children:[]},t)}function Jhe(t){this.exit(t)}function gU(t,e,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),a=i.move("~~");return a+=n.containerPhrasing(t,q(D({},i.current()),{before:a,after:"~"})),a+=i.move("~~"),o(),a}function eme(){return"~"}function bU(t,e={}){let n=(e.align||[]).concat(),r=e.stringLength||nme,i=[],o=[],a=[],s=[],l=0,c=-1;for(;++c<t.length;){let h=[],g=[],b=-1;for(t[c].length>l&&(l=t[c].length);++b<t[c].length;){let _=tme(t[c][b]);if(e.alignDelimiters!==!1){let x=r(_);g[b]=x,(s[b]===void 0||x>s[b])&&(s[b]=x)}h.push(_)}o[c]=h,a[c]=g}let d=-1;if(typeof n=="object"&&"length"in n)for(;++d<l;)i[d]=yU(n[d]);else{let h=yU(n);for(;++d<l;)i[d]=h}d=-1;let u=[],f=[];for(;++d<l;){let h=i[d],g="",b="";h===99?(g=":",b=":"):h===108?g=":":h===114&&(b=":");let _=e.alignDelimiters===!1?1:Math.max(1,s[d]-g.length-b.length),x=g+"-".repeat(_)+b;e.alignDelimiters!==!1&&(_=g.length+_+b.length,_>s[d]&&(s[d]=_),f[d]=_),u[d]=x}o.splice(1,0,u),a.splice(1,0,f),c=-1;let p=[];for(;++c<o.length;){let h=o[c],g=a[c];d=-1;let b=[];for(;++d<l;){let _=h[d]||"",x="",E="";if(e.alignDelimiters!==!1){let v=s[d]-(g[d]||0),j=i[d];j===114?x=" ".repeat(v):j===99?v%2?(x=" ".repeat(v/2+.5),E=" ".repeat(v/2-.5)):(x=" ".repeat(v/2),E=x):E=" ".repeat(v)}e.delimiterStart!==!1&&!d&&b.push("|"),e.padding!==!1&&!(e.alignDelimiters===!1&&_==="")&&(e.delimiterStart!==!1||d)&&b.push(" "),e.alignDelimiters!==!1&&b.push(x),b.push(_),e.alignDelimiters!==!1&&b.push(E),e.padding!==!1&&b.push(" "),(e.delimiterEnd!==!1||d!==l-1)&&b.push("|")}p.push(e.delimiterEnd===!1?b.join("").replace(/ +$/,""):b.join(""))}return p.join(` +`)}function tme(t){return t==null?"":String(t)}function nme(t){return t.length}function yU(t){let e=typeof t=="string"?t.codePointAt(0):0;return e===67||e===99?99:e===76||e===108?108:e===82||e===114?114:0}function jA(){return{enter:{table:rme,tableData:_U,tableHeader:_U,tableRow:ome},exit:{codeText:ame,table:ime,tableData:RA,tableHeader:RA,tableRow:RA}}}function rme(t){let e=t._align;this.enter({type:"table",align:e.map(function(n){return n==="none"?null:n}),children:[]},t),this.data.inTable=!0}function ime(t){this.exit(t),this.data.inTable=void 0}function ome(t){this.enter({type:"tableRow",children:[]},t)}function RA(t){this.exit(t)}function _U(t){this.enter({type:"tableCell",children:[]},t)}function ame(t){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,sme));let n=this.stack[this.stack.length-1];n.type,n.value=e,this.exit(t)}function sme(t,e){return e==="|"?e:t}function zA(t){let e=t||{},n=e.tableCellPadding,r=e.tablePipeAlign,i=e.stringLength,o=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:f,table:a,tableCell:l,tableRow:s}};function a(p,h,g,b){return c(d(p,g,b),p.align)}function s(p,h,g,b){let _=u(p,g,b),x=c([_]);return x.slice(0,x.indexOf(` +`))}function l(p,h,g,b){let _=g.enter("tableCell"),x=g.enter("phrasing"),E=g.containerPhrasing(p,q(D({},b),{before:o,after:o}));return x(),_(),E}function c(p,h){return bU(p,{align:h,alignDelimiters:r,padding:n,stringLength:i})}function d(p,h,g){let b=p.children,_=-1,x=[],E=h.enter("table");for(;++_<b.length;)x[_]=u(b[_],h,g);return E(),x}function u(p,h,g){let b=p.children,_=-1,x=[],E=h.enter("tableRow");for(;++_<b.length;)x[_]=l(b[_],p,h,g);return E(),x}function f(p,h,g){let b=Qd.inlineCode(p,h,g);return g.stack.includes("tableCell")&&(b=b.replace(/\|/g,"\\$&")),b}}function LA(){return{exit:{taskListCheckValueChecked:wU,taskListCheckValueUnchecked:wU,paragraph:lme}}}function BA(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:cme}}}function wU(t){let e=this.stack[this.stack.length-2];e.type,e.checked=t.type==="taskListCheckValueChecked"}function lme(t){let e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){let n=this.stack[this.stack.length-1];n.type;let r=n.children[0];if(r&&r.type==="text"){let i=e.children,o=-1,a;for(;++o<i.length;){let s=i[o];if(s.type==="paragraph"){a=s;break}}a===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(t)}function cme(t,e,n,r){let i=t.children[0],o=typeof t.checked=="boolean"&&i&&i.type==="paragraph",a="["+(t.checked?"x":" ")+"] ",s=n.createTracker(r);o&&s.move(a);let l=Qd.listItem(t,e,n,D(D({},r),s.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(d){return d+a}}function VA(){return[AA(),OA(),FA(),jA(),LA()]}function UA(t){return{extensions:[IA(),PA(),NA(),zA(t),BA()]}}var dme={tokenize:mme,partial:!0},vU={tokenize:gme,partial:!0},kU={tokenize:yme,partial:!0},xU={tokenize:bme,partial:!0},ume={tokenize:_me,partial:!0},CU={tokenize:pme,previous:SU},DU={tokenize:hme,previous:EU},ol={tokenize:fme,previous:MU},rs={};function $A(){return{text:rs}}var Vu=48;for(;Vu<123;)rs[Vu]=ol,Vu++,Vu===58?Vu=65:Vu===91&&(Vu=97);rs[43]=ol;rs[45]=ol;rs[46]=ol;rs[95]=ol;rs[72]=[ol,DU];rs[104]=[ol,DU];rs[87]=[ol,CU];rs[119]=[ol,CU];function fme(t,e,n){let r=this,i,o;return a;function a(u){return!HA(u)||!MU.call(r,r.previous)||qA(r.events)?n(u):(t.enter("literalAutolink"),t.enter("literalAutolinkEmail"),s(u))}function s(u){return HA(u)?(t.consume(u),s):u===64?(t.consume(u),l):n(u)}function l(u){return u===46?t.check(ume,d,c)(u):u===45||u===95||ur(u)?(o=!0,t.consume(u),l):d(u)}function c(u){return t.consume(u),i=!0,l}function d(u){return o&&i&&dr(r.previous)?(t.exit("literalAutolinkEmail"),t.exit("literalAutolink"),e(u)):n(u)}}function pme(t,e,n){let r=this;return i;function i(a){return a!==87&&a!==119||!SU.call(r,r.previous)||qA(r.events)?n(a):(t.enter("literalAutolink"),t.enter("literalAutolinkWww"),t.check(dme,t.attempt(vU,t.attempt(kU,o),n),n)(a))}function o(a){return t.exit("literalAutolinkWww"),t.exit("literalAutolink"),e(a)}}function hme(t,e,n){let r=this,i="",o=!1;return a;function a(u){return(u===72||u===104)&&EU.call(r,r.previous)&&!qA(r.events)?(t.enter("literalAutolink"),t.enter("literalAutolinkHttp"),i+=String.fromCodePoint(u),t.consume(u),s):n(u)}function s(u){if(dr(u)&&i.length<5)return i+=String.fromCodePoint(u),t.consume(u),s;if(u===58){let f=i.toLowerCase();if(f==="http"||f==="https")return t.consume(u),l}return n(u)}function l(u){return u===47?(t.consume(u),o?c:(o=!0,l)):n(u)}function c(u){return u===null||qd(u)||Ot(u)||Ga(u)||Wd(u)?n(u):t.attempt(vU,t.attempt(kU,d),n)(u)}function d(u){return t.exit("literalAutolinkHttp"),t.exit("literalAutolink"),e(u)}}function mme(t,e,n){let r=0;return i;function i(a){return(a===87||a===119)&&r<3?(r++,t.consume(a),i):a===46&&r===3?(t.consume(a),o):n(a)}function o(a){return a===null?n(a):e(a)}}function gme(t,e,n){let r,i,o;return a;function a(c){return c===46||c===95?t.check(xU,l,s)(c):c===null||Ot(c)||Ga(c)||c!==45&&Wd(c)?l(c):(o=!0,t.consume(c),a)}function s(c){return c===95?r=!0:(i=r,r=void 0),t.consume(c),a}function l(c){return i||r||!o?n(c):e(c)}}function yme(t,e){let n=0,r=0;return i;function i(a){return a===40?(n++,t.consume(a),i):a===41&&r<n?o(a):a===33||a===34||a===38||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===60||a===63||a===93||a===95||a===126?t.check(xU,e,o)(a):a===null||Ot(a)||Ga(a)?e(a):(t.consume(a),i)}function o(a){return a===41&&r++,t.consume(a),i}}function bme(t,e,n){return r;function r(s){return s===33||s===34||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===63||s===95||s===126?(t.consume(s),r):s===38?(t.consume(s),o):s===93?(t.consume(s),i):s===60||s===null||Ot(s)||Ga(s)?e(s):n(s)}function i(s){return s===null||s===40||s===91||Ot(s)||Ga(s)?e(s):r(s)}function o(s){return dr(s)?a(s):n(s)}function a(s){return s===59?(t.consume(s),r):dr(s)?(t.consume(s),a):n(s)}}function _me(t,e,n){return r;function r(o){return t.consume(o),i}function i(o){return ur(o)?n(o):e(o)}}function SU(t){return t===null||t===40||t===42||t===95||t===91||t===93||t===126||Ot(t)}function EU(t){return!dr(t)}function MU(t){return!(t===47||HA(t))}function HA(t){return t===43||t===45||t===46||t===95||ur(t)}function qA(t){let e=t.length,n=!1;for(;e--;){let r=t[e][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return t.length>0&&!n&&(t[t.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var wme={tokenize:Eme,partial:!0};function WA(){return{document:{91:{tokenize:Cme,continuation:{tokenize:Dme},exit:Sme}},text:{91:{tokenize:xme},93:{add:"after",tokenize:vme,resolveTo:kme}}}}function vme(t,e,n){let r=this,i=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),a;for(;i--;){let l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return s;function s(l){if(!a||!a._balanced)return n(l);let c=Kr(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!o.includes(c.slice(1))?n(l):(t.enter("gfmFootnoteCallLabelMarker"),t.consume(l),t.exit("gfmFootnoteCallLabelMarker"),e(l))}}function kme(t,e){let n=t.length,r;for(;n--;)if(t[n][1].type==="labelImage"&&t[n][0]==="enter"){r=t[n][1];break}t[n+1][1].type="data",t[n+3][1].type="gfmFootnoteCallLabelMarker";let i={type:"gfmFootnoteCall",start:Object.assign({},t[n+3][1].start),end:Object.assign({},t[t.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},t[n+3][1].end),end:Object.assign({},t[n+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},t[t.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[t[n+1],t[n+2],["enter",i,e],t[n+3],t[n+4],["enter",o,e],["exit",o,e],["enter",a,e],["enter",s,e],["exit",s,e],["exit",a,e],t[t.length-2],t[t.length-1],["exit",i,e]];return t.splice(n,t.length-n+1,...l),t}function xme(t,e,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,a;return s;function s(u){return t.enter("gfmFootnoteCall"),t.enter("gfmFootnoteCallLabelMarker"),t.consume(u),t.exit("gfmFootnoteCallLabelMarker"),l}function l(u){return u!==94?n(u):(t.enter("gfmFootnoteCallMarker"),t.consume(u),t.exit("gfmFootnoteCallMarker"),t.enter("gfmFootnoteCallString"),t.enter("chunkString").contentType="string",c)}function c(u){if(o>999||u===93&&!a||u===null||u===91||Ot(u))return n(u);if(u===93){t.exit("chunkString");let f=t.exit("gfmFootnoteCallString");return i.includes(Kr(r.sliceSerialize(f)))?(t.enter("gfmFootnoteCallLabelMarker"),t.consume(u),t.exit("gfmFootnoteCallLabelMarker"),t.exit("gfmFootnoteCall"),e):n(u)}return Ot(u)||(a=!0),o++,t.consume(u),u===92?d:c}function d(u){return u===91||u===92||u===93?(t.consume(u),o++,c):c(u)}}function Cme(t,e,n){let r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,a=0,s;return l;function l(h){return t.enter("gfmFootnoteDefinition")._container=!0,t.enter("gfmFootnoteDefinitionLabel"),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(h),t.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(h){return h===94?(t.enter("gfmFootnoteDefinitionMarker"),t.consume(h),t.exit("gfmFootnoteDefinitionMarker"),t.enter("gfmFootnoteDefinitionLabelString"),t.enter("chunkString").contentType="string",d):n(h)}function d(h){if(a>999||h===93&&!s||h===null||h===91||Ot(h))return n(h);if(h===93){t.exit("chunkString");let g=t.exit("gfmFootnoteDefinitionLabelString");return o=Kr(r.sliceSerialize(g)),t.enter("gfmFootnoteDefinitionLabelMarker"),t.consume(h),t.exit("gfmFootnoteDefinitionLabelMarker"),t.exit("gfmFootnoteDefinitionLabel"),f}return Ot(h)||(s=!0),a++,t.consume(h),h===92?u:d}function u(h){return h===91||h===92||h===93?(t.consume(h),a++,d):d(h)}function f(h){return h===58?(t.enter("definitionMarker"),t.consume(h),t.exit("definitionMarker"),i.includes(o)||i.push(o),Te(t,p,"gfmFootnoteDefinitionWhitespace")):n(h)}function p(h){return e(h)}}function Dme(t,e,n){return t.check(Ya,e,t.attempt(wme,e,n))}function Sme(t){t.exit("gfmFootnoteDefinition")}function Eme(t,e,n){let r=this;return Te(t,i,"gfmFootnoteDefinitionIndent",4+1);function i(o){let a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?e(o):n(o)}}function GA(t){let n=(t||{}).singleTilde,r={tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,s){let l=-1;for(;++l<a.length;)if(a[l][0]==="enter"&&a[l][1].type==="strikethroughSequenceTemporary"&&a[l][1]._close){let c=l;for(;c--;)if(a[c][0]==="exit"&&a[c][1].type==="strikethroughSequenceTemporary"&&a[c][1]._open&&a[l][1].end.offset-a[l][1].start.offset===a[c][1].end.offset-a[c][1].start.offset){a[l][1].type="strikethroughSequence",a[c][1].type="strikethroughSequence";let d={type:"strikethrough",start:Object.assign({},a[c][1].start),end:Object.assign({},a[l][1].end)},u={type:"strikethroughText",start:Object.assign({},a[c][1].end),end:Object.assign({},a[l][1].start)},f=[["enter",d,s],["enter",a[c][1],s],["exit",a[c][1],s],["enter",u,s]],p=s.parser.constructs.insideSpan.null;p&&Cn(f,f.length,0,sc(p,a.slice(c+1,l),s)),Cn(f,f.length,0,[["exit",u,s],["enter",a[l][1],s],["exit",a[l][1],s],["exit",d,s]]),Cn(a,c-1,l-c+3,f),l=c+f.length-2;break}}for(l=-1;++l<a.length;)a[l][1].type==="strikethroughSequenceTemporary"&&(a[l][1].type="data");return a}function o(a,s,l){let c=this.previous,d=this.events,u=0;return f;function f(h){return c===126&&d[d.length-1][1].type!=="characterEscape"?l(h):(a.enter("strikethroughSequenceTemporary"),p(h))}function p(h){let g=Op(c);if(h===126)return u>1?l(h):(a.consume(h),u++,p);if(u<2&&!n)return l(h);let b=a.exit("strikethroughSequenceTemporary"),_=Op(h);return b._open=!_||_===2&&!!g,b._close=!g||g===2&&!!_,s(h)}}}var sx=class{constructor(){this.map=[]}add(e,n,r){Mme(this,e,n,r)}consume(e){if(this.map.sort(function(o,a){return o[0]-a[0]}),this.map.length===0)return;let n=this.map.length,r=[];for(;n>0;)n-=1,r.push(e.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),e.length=this.map[n][0];r.push([...e]),e.length=0;let i=r.pop();for(;i;)e.push(...i),i=r.pop();this.map.length=0}};function Mme(t,e,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<t.map.length;){if(t.map[i][0]===e){t.map[i][1]+=n,t.map[i][2].push(...r);return}i+=1}t.map.push([e,n,r])}}function TU(t,e){let n=!1,r=[];for(;e<t.length;){let i=t[e];if(n){if(i[0]==="enter")i[1].type==="tableContent"&&r.push(t[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(t[e-1][1].type==="tableDelimiterMarker"){let o=r.length-1;r[o]=r[o]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(n=!0);e+=1}return r}function YA(){return{flow:{null:{tokenize:Tme,resolveAll:Ame}}}}function Tme(t,e,n){let r=this,i=0,o=0,a;return s;function s(O){let J=r.events.length-1;for(;J>-1;){let ie=r.events[J][1].type;if(ie==="lineEnding"||ie==="linePrefix")J--;else break}let V=J>-1?r.events[J][1].type:null,Y=V==="tableHead"||V==="tableRow"?C:l;return Y===C&&r.parser.lazy[r.now().line]?n(O):Y(O)}function l(O){return t.enter("tableHead"),t.enter("tableRow"),c(O)}function c(O){return O===124||(a=!0,o+=1),d(O)}function d(O){return O===null?n(O):he(O)?o>1?(o=0,r.interrupt=!0,t.exit("tableRow"),t.enter("lineEnding"),t.consume(O),t.exit("lineEnding"),p):n(O):qe(O)?Te(t,d,"whitespace")(O):(o+=1,a&&(a=!1,i+=1),O===124?(t.enter("tableCellDivider"),t.consume(O),t.exit("tableCellDivider"),a=!0,d):(t.enter("data"),u(O)))}function u(O){return O===null||O===124||Ot(O)?(t.exit("data"),d(O)):(t.consume(O),O===92?f:u)}function f(O){return O===92||O===124?(t.consume(O),u):u(O)}function p(O){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(O):(t.enter("tableDelimiterRow"),a=!1,qe(O)?Te(t,h,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(O):h(O))}function h(O){return O===45||O===58?b(O):O===124?(a=!0,t.enter("tableCellDivider"),t.consume(O),t.exit("tableCellDivider"),g):j(O)}function g(O){return qe(O)?Te(t,b,"whitespace")(O):b(O)}function b(O){return O===58?(o+=1,a=!0,t.enter("tableDelimiterMarker"),t.consume(O),t.exit("tableDelimiterMarker"),_):O===45?(o+=1,_(O)):O===null||he(O)?v(O):j(O)}function _(O){return O===45?(t.enter("tableDelimiterFiller"),x(O)):j(O)}function x(O){return O===45?(t.consume(O),x):O===58?(a=!0,t.exit("tableDelimiterFiller"),t.enter("tableDelimiterMarker"),t.consume(O),t.exit("tableDelimiterMarker"),E):(t.exit("tableDelimiterFiller"),E(O))}function E(O){return qe(O)?Te(t,v,"whitespace")(O):v(O)}function v(O){return O===124?h(O):O===null||he(O)?!a||i!==o?j(O):(t.exit("tableDelimiterRow"),t.exit("tableHead"),e(O)):j(O)}function j(O){return n(O)}function C(O){return t.enter("tableRow"),P(O)}function P(O){return O===124?(t.enter("tableCellDivider"),t.consume(O),t.exit("tableCellDivider"),P):O===null||he(O)?(t.exit("tableRow"),e(O)):qe(O)?Te(t,P,"whitespace")(O):(t.enter("data"),z(O))}function z(O){return O===null||O===124||Ot(O)?(t.exit("data"),P(O)):(t.consume(O),O===92?N:z)}function N(O){return O===92||O===124?(t.consume(O),z):z(O)}}function Ame(t,e){let n=-1,r=!0,i=0,o=[0,0,0,0],a=[0,0,0,0],s=!1,l=0,c,d,u,f=new sx;for(;++n<t.length;){let p=t[n],h=p[1];p[0]==="enter"?h.type==="tableHead"?(s=!1,l!==0&&(AU(f,e,l,c,d),d=void 0,l=0),c={type:"table",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(n,0,[["enter",c,e]])):h.type==="tableRow"||h.type==="tableDelimiterRow"?(r=!0,u=void 0,o=[0,0,0,0],a=[0,n+1,0,0],s&&(s=!1,d={type:"tableBody",start:Object.assign({},h.start),end:Object.assign({},h.end)},f.add(n,0,[["enter",d,e]])),i=h.type==="tableDelimiterRow"?2:d?3:1):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")?(r=!1,a[2]===0&&(o[1]!==0&&(a[0]=a[1],u=lx(f,e,o,i,void 0,u),o=[0,0,0,0]),a[2]=n)):h.type==="tableCellDivider"&&(r?r=!1:(o[1]!==0&&(a[0]=a[1],u=lx(f,e,o,i,void 0,u)),o=a,a=[o[1],n,0,0])):h.type==="tableHead"?(s=!0,l=n):h.type==="tableRow"||h.type==="tableDelimiterRow"?(l=n,o[1]!==0?(a[0]=a[1],u=lx(f,e,o,i,n,u)):a[1]!==0&&(u=lx(f,e,a,i,n,u)),i=0):i&&(h.type==="data"||h.type==="tableDelimiterMarker"||h.type==="tableDelimiterFiller")&&(a[3]=n)}for(l!==0&&AU(f,e,l,c,d),f.consume(e.events),n=-1;++n<e.events.length;){let p=e.events[n];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=TU(e.events,n))}return t}function lx(t,e,n,r,i,o){let a=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",s="tableContent";n[0]!==0&&(o.end=Object.assign({},Mh(e.events,n[0])),t.add(n[0],0,[["exit",o,e]]));let l=Mh(e.events,n[1]);if(o={type:a,start:Object.assign({},l),end:Object.assign({},l)},t.add(n[1],0,[["enter",o,e]]),n[2]!==0){let c=Mh(e.events,n[2]),d=Mh(e.events,n[3]),u={type:s,start:Object.assign({},c),end:Object.assign({},d)};if(t.add(n[2],0,[["enter",u,e]]),r!==2){let f=e.events[n[2]],p=e.events[n[3]];if(f[1].end=Object.assign({},p[1].end),f[1].type="chunkText",f[1].contentType="text",n[3]>n[2]+1){let h=n[2]+1,g=n[3]-n[2]-1;t.add(h,g,[])}}t.add(n[3]+1,0,[["exit",u,e]])}return i!==void 0&&(o.end=Object.assign({},Mh(e.events,i)),t.add(i,0,[["exit",o,e]]),o=void 0),o}function AU(t,e,n,r,i){let o=[],a=Mh(e.events,n);i&&(i.end=Object.assign({},a),o.push(["exit",i,e])),r.end=Object.assign({},a),o.push(["exit",r,e]),t.add(n+1,0,o)}function Mh(t,e){let n=t[e],r=n[0]==="enter"?"start":"end";return n[1][r]}var Ime={tokenize:Ome};function KA(){return{text:{91:Ime}}}function Ome(t,e,n){let r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(t.enter("taskListCheck"),t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),o)}function o(l){return Ot(l)?(t.enter("taskListCheckValueUnchecked"),t.consume(l),t.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(t.enter("taskListCheckValueChecked"),t.consume(l),t.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(t.enter("taskListCheckMarker"),t.consume(l),t.exit("taskListCheckMarker"),t.exit("taskListCheck"),s):n(l)}function s(l){return he(l)?e(l):qe(l)?t.check({tokenize:Pme},e,n)(l):n(l)}}function Pme(t,e,n){return Te(t,r,"whitespace");function r(i){return i===null?n(i):e(i)}}function IU(t){return n1([$A(),WA(),GA(t),YA(),KA()])}var Fme={};function cx(t){let e=this,n=t||Fme,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(IU(n)),o.push(VA()),a.push(UA(n))}function gt(t,e){return Object.assign(t,{meta:D({package:"@milkdown/preset-gfm"},e)}),t}var QA=ku("strike_through");gt(QA,{displayName:"Attr<strikethrough>",group:"Strikethrough"});var dx=vu("strike_through",t=>({parseDOM:[{tag:"del"},{style:"text-decoration",getAttrs:e=>e==="line-through"}],toDOM:e=>["del",t.get(QA.key)(e)],parseMarkdown:{match:e=>e.type==="delete",runner:(e,n,r)=>{e.openMark(r),e.next(n.children),e.closeMark(r)}},toMarkdown:{match:e=>e.type.name==="strike_through",runner:(e,n)=>{e.withMark(n,"delete")}}}));gt(dx.mark,{displayName:"MarkSchema<strikethrough>",group:"Strikethrough"});gt(dx.ctx,{displayName:"MarkSchemaCtx<strikethrough>",group:"Strikethrough"});var Uu=ut("ToggleStrikeThrough",t=>()=>Xp(dx.type(t)));gt(Uu,{displayName:"Command<ToggleStrikethrough>",group:"Strikethrough"});var JA=zr("strikeThroughKeymap",{ToggleStrikethrough:{shortcuts:"Mod-Alt-x",command:t=>{let e=t.get(it);return()=>e.call(Uu.key)}}});gt(JA.ctx,{displayName:"KeymapCtx<strikethrough>",group:"Strikethrough"});gt(JA.shortcuts,{displayName:"Keymap<strikethrough>",group:"Strikethrough"});function RU(t,e=3,n=3){let r=Array(n).fill(0).map(()=>fy.type(t).createAndFill()),i=Array(n).fill(0).map(()=>fx.type(t).createAndFill()),o=Array(e).fill(0).map((a,s)=>uy.type(t).create(null,s===0?i:r));return dy.type(t).create(null,o)}function Th(t){return ek(e=>e.type.spec.tableRole==="table")(t)}function Mc(t,e){let n=Th(e);if(!n)return;let r=Wt.get(n.node);if(!(t<0||t>=r.width))return r.cellsInRect({left:t,right:t+1,top:0,bottom:r.height}).map(i=>{let o=n.node.nodeAt(i);if(!o)return;let a=i+n.start;return{pos:a,start:a+1,node:o}}).filter(i=>i!=null)}function Tc(t,e){let n=Th(e);if(!n)return;let r=Wt.get(n.node);if(!(t<0||t>=r.height))return r.cellsInRect({left:0,right:r.width,top:t,bottom:t+1}).map(i=>{let o=n.node.nodeAt(i);if(!o)return;let a=i+n.start;return{pos:a,start:a+1,node:o}}).filter(i=>i!=null)}function Nme(t){let e=Th(t);if(!e)return;let n=Wt.get(e.node);return n.cellsInRect({left:0,right:n.width,top:0,bottom:n.height}).map(r=>{let i=e.node.nodeAt(r),o=r+e.start;return{pos:o,start:o+1,node:i}})}function Rme(t){let e=Nme(t.selection);if(e&&e[0]){let n=t.doc.resolve(e[0].pos),r=e[e.length-1];if(r){let i=t.doc.resolve(r.pos);return R0(t.setSelection(new an(i,n)))}}return t}function jU(t,e,{map:n,tableStart:r,table:i},o){let a=Array(o).fill(0).reduce((l,c,d)=>l+i.child(d).nodeSize,r),s=Array(n.width).fill(0).map((l,c)=>{let d=i.nodeAt(n.map[c]);return fy.type(t).createAndFill({alignment:d?.attrs.alignment})});return e.insert(a,uy.type(t).create(null,s)),e}function zU(t){return e=>n=>{let r=Th(n.selection),i=t==="row";if(r){let o=Wt.get(r.node);if(e>=0&&e<(i?o.height:o.width)){let a=o.positionAt(i?e:o.height-1,i?o.width-1:e,r.node),s=n.doc.resolve(r.start+a),l=i?an.rowSelection:an.colSelection,c=o.positionAt(i?e:0,i?0:e,r.node),d=n.doc.resolve(r.start+c);return R0(n.setSelection(l(s,d)))}}return n}}var jme=zU("row"),zme=zU("col");function OU(t){return t[0].map((e,n)=>t.map(r=>r[n]))}function LU(t,e){let n=[],r=Wt.get(t);for(let i=0;i<r.height;i++){let o=t.child(i),a=[];for(let s=0;s<r.width;s++){if(!e[i][s])continue;let l=r.map[i*r.width+s],c=e[i][s],d=t.nodeAt(l).type.createChecked(Object.assign({},c.attrs),c.content,c.marks);a.push(d)}n.push(o.type.createChecked(o.attrs,a,o.marks))}return t.type.createChecked(t.attrs,n,t.marks)}function BU(t){let e=Wt.get(t),n=[];for(let r=0;r<e.height;r++){let i=[],o={};for(let a=0;a<e.width;a++){let s=e.map[r*e.width+a],l=t.nodeAt(s),c=e.findCell(s);if(o[s]||c.top!==r){i.push(null);continue}o[s]=!0,i.push(l)}n.push(i)}return n}function VU(t,e,n,r){let i=e[0]>n[0]?-1:1,o=t.splice(e[0],e.length),a=o.length%2===0?1:0,s;return r===-1&&i===1?s=n[0]-1:r===1&&i===-1?s=n[n.length-1]-a+1:s=i===-1?n[0]:n[n.length-1]-a,t.splice(s,0,...o),t}function Lme(t,e,n,r){let i=OU(BU(t.node));return i=VU(i,e,n,r),i=OU(i),LU(t.node,i)}function Bme(t,e,n,r){let i=BU(t.node);return i=VU(i,e,n,r),LU(t.node,i)}function PU(t,e){let n=t,r=t;for(let d=t;d>=0;d--){let u=Mc(d,e.selection);u&&u.forEach(f=>{let p=f.node.attrs.colspan+d-1;p>=n&&(n=d),p>r&&(r=p)})}for(let d=t;d<=r;d++){let u=Mc(d,e.selection);u&&u.forEach(f=>{let p=f.node.attrs.colspan+d-1;f.node.attrs.colspan>1&&p>r&&(r=p)})}let i=[];for(let d=n;d<=r;d++){let u=Mc(d,e.selection);u&&u.length&&i.push(d)}n=i[0],r=i[i.length-1];let o=Mc(n,e.selection),a=Tc(0,e.selection),s=e.doc.resolve(o[o.length-1].pos),l;for(let d=r;d>=n;d--){let u=Mc(d,e.selection);if(u&&u.length){for(let f=a.length-1;f>=0;f--)if(a[f].pos===u[0].pos){l=u[0];break}if(l)break}}let c=e.doc.resolve(l.pos);return{$anchor:s,$head:c,indexes:i}}function FU(t,e){let n=t,r=t;for(let d=t;d>=0;d--)Tc(d,e.selection).forEach(u=>{let f=u.node.attrs.rowspan+d-1;f>=n&&(n=d),f>r&&(r=f)});for(let d=t;d<=r;d++)Tc(d,e.selection).forEach(u=>{let f=u.node.attrs.rowspan+d-1;u.node.attrs.rowspan>1&&f>r&&(r=f)});let i=[];for(let d=n;d<=r;d++){let u=Tc(d,e.selection);u&&u.length&&i.push(d)}n=i[0],r=i[i.length-1];let o=Tc(n,e.selection),a=Mc(0,e.selection),s=e.doc.resolve(o[o.length-1].pos),l;for(let d=r;d>=n;d--){let u=Tc(d,e.selection);if(u&&u.length){for(let f=a.length-1;f>=0;f--)if(a[f].pos===u[0].pos){l=u[0];break}if(l)break}}let c=e.doc.resolve(l.pos);return{$anchor:s,$head:c,indexes:i}}function Vme(t,e,n,r=!0){let i=Th(t.selection);if(!i)return t;let{indexes:o}=PU(e,t),{indexes:a}=PU(n,t);if(o.includes(n))return t;let s=Lme(i,o,a,0),l=R0(t).replaceWith(i.pos,i.pos+i.node.nodeSize,s);if(!r)return l;let c=Wt.get(s),d=i.start,u=n,f=c.positionAt(c.height-1,u,s),p=l.doc.resolve(d+f),h=an.colSelection,g=c.positionAt(0,u,s),b=l.doc.resolve(d+g);return l.setSelection(h(p,b))}function Ume(t,e,n,r=!0){let i=Th(t.selection);if(!i)return t;let{indexes:o}=FU(e,t),{indexes:a}=FU(n,t);if(o.includes(n))return t;let s=Bme(i,o,a,0),l=R0(t).replaceWith(i.pos,i.pos+i.node.nodeSize,s);if(!r)return l;let c=Wt.get(s),d=i.start,u=n,f=c.positionAt(u,c.width-1,s),p=l.doc.resolve(d+f),h=an.rowSelection,g=c.positionAt(u,0,s),b=l.doc.resolve(d+g);return l.setSelection(h(p,b))}var ux=JV({tableGroup:"block",cellContent:"paragraph",cellAttributes:{alignment:{default:"left",getFromDOM:t=>t.style.textAlign||"left",setDOMAttr:(t,e)=>{e.style=`text-align: ${t||"left"}`}}}}),dy=yn("table",()=>q(D({},ux.table),{parseMarkdown:{match:t=>t.type==="table",runner:(t,e,n)=>{let r=e.align,i=e.children.map((o,a)=>q(D({},o),{align:r,isHeader:a===0}));t.openNode(n),t.next(i),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="table",runner:(t,e)=>{var n;let r=(n=e.content.firstChild)==null?void 0:n.content;if(!r)return;let i=[];r.forEach(o=>{i.push(o.attrs.alignment)}),t.openNode("table",void 0,{align:i}),t.next(e.content),t.closeNode()}}}));gt(dy.node,{displayName:"NodeSchema<table>",group:"Table"});gt(dy.ctx,{displayName:"NodeSchemaCtx<table>",group:"Table"});var uy=yn("table_row",()=>q(D({},ux.table_row),{parseMarkdown:{match:t=>t.type==="tableRow",runner:(t,e,n)=>{let r=e.align,i=e.children.map((o,a)=>q(D({},o),{align:r[a],isHeader:e.isHeader}));t.openNode(n),t.next(i),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="table_row",runner:(t,e)=>{t.openNode("tableRow"),t.next(e.content),t.closeNode()}}}));gt(uy.node,{displayName:"NodeSchema<tableRow>",group:"Table"});gt(uy.ctx,{displayName:"NodeSchemaCtx<tableRow>",group:"Table"});var fy=yn("table_cell",()=>q(D({},ux.table_cell),{parseMarkdown:{match:t=>t.type==="tableCell"&&!t.isHeader,runner:(t,e,n)=>{let r=e.align;t.openNode(n,{alignment:r}).openNode(t.schema.nodes.paragraph).next(e.children).closeNode().closeNode()}},toMarkdown:{match:t=>t.type.name==="table_cell",runner:(t,e)=>{t.openNode("tableCell").next(e.content).closeNode()}}}));gt(fy.node,{displayName:"NodeSchema<tableCell>",group:"Table"});gt(fy.ctx,{displayName:"NodeSchemaCtx<tableCell>",group:"Table"});var fx=yn("table_header",()=>q(D({},ux.table_header),{parseMarkdown:{match:t=>t.type==="tableCell"&&!!t.isHeader,runner:(t,e,n)=>{let r=e.align;t.openNode(n,{alignment:r}),t.openNode(t.schema.nodes.paragraph),t.next(e.children),t.closeNode(),t.closeNode()}},toMarkdown:{match:t=>t.type.name==="table_header",runner:(t,e)=>{t.openNode("tableCell"),t.next(e.content),t.closeNode()}}}));gt(fx.node,{displayName:"NodeSchema<tableHeader>",group:"Table"});gt(fx.ctx,{displayName:"NodeSchemaCtx<tableHeader>",group:"Table"});var UU=jr(t=>new zn(/^\|(?<col>\d+)[xX](?<row>\d+)\|\s$/,(e,n,r,i)=>{var o,a;let s=e.doc.resolve(r);if(!s.node(-1).canReplaceWith(s.index(-1),s.indexAfter(-1),dy.type(t)))return null;let l=RU(t,Number((o=n.groups)==null?void 0:o.row),Number((a=n.groups)==null?void 0:a.col)),c=e.tr.replaceRangeWith(r,i,l);return c.setSelection(je.create(c.doc,r+3)).scrollIntoView()}));gt(UU,{displayName:"InputRule<insertTableInputRule>",group:"Table"});var eI=ut("GoToPrevTableCell",()=>()=>DA(-1));gt(eI,{displayName:"Command<goToPrevTableCellCommand>",group:"Table"});var tI=ut("GoToNextTableCell",()=>()=>DA(1));gt(tI,{displayName:"Command<goToNextTableCellCommand>",group:"Table"});var nI=ut("BreakTable",t=>()=>(e,n)=>{if(!vi(e))return!1;let{$head:r}=e.selection,i=r.after(),o=e.tr.replaceWith(i,i,Ja.type(t).createAndFill());return o.setSelection(Ne.near(o.doc.resolve(i),1)).scrollIntoView(),n?.(o),!0});gt(nI,{displayName:"Command<breakTableCommand>",group:"Table"});var px=ut("InsertTable",t=>({row:e,col:n}={})=>(r,i)=>{let{selection:o,tr:a}=r,{from:s}=o,l=RU(t,e,n),c=a.replaceSelectionWith(l),d=Ne.findFrom(c.doc.resolve(s),1,!0);return d&&c.setSelection(d),i?.(c),!0});gt(px,{displayName:"Command<insertTableCommand>",group:"Table"});var hx=ut("MoveRow",()=>({from:t,to:e}={})=>(n,r)=>{let{tr:i}=n;return!!r?.(Ume(i,t??0,e??0,!0))});gt(hx,{displayName:"Command<moveRowCommand>",group:"Table"});var mx=ut("MoveCol",()=>({from:t,to:e}={})=>(n,r)=>{let{tr:i}=n;return!!r?.(Vme(i,t??0,e??0,!0))});gt(mx,{displayName:"Command<moveColCommand>",group:"Table"});var gx=ut("SelectRow",()=>(t=0)=>(e,n)=>{let{tr:r}=e;return!!n?.(jme(t)(r))});gt(gx,{displayName:"Command<selectRowCommand>",group:"Table"});var yx=ut("SelectCol",()=>(t=0)=>(e,n)=>{let{tr:r}=e;return!!n?.(zme(t)(r))});gt(yx,{displayName:"Command<selectColCommand>",group:"Table"});var bx=ut("SelectTable",()=>()=>(t,e)=>{let{tr:n}=t;return!!e?.(Rme(n))});gt(bx,{displayName:"Command<selectTableCommand>",group:"Table"});var _x=ut("DeleteSelectedCells",()=>()=>(t,e)=>{let{selection:n}=t;if(!(n instanceof an))return!1;let r=n.isRowSelection(),i=n.isColSelection();return r&&i?fU(t,e):i?cU(t,e):dU(t,e)});gt(_x,{displayName:"Command<deleteSelectedCellsCommand>",group:"Table"});var wx=ut("AddColBefore",()=>()=>sU);gt(wx,{displayName:"Command<addColBeforeCommand>",group:"Table"});var vx=ut("AddColAfter",()=>()=>lU);gt(vx,{displayName:"Command<addColAfterCommand>",group:"Table"});var kx=ut("AddRowBefore",t=>()=>(e,n)=>{if(!vi(e))return!1;if(n){let r=il(e);n(jU(t,e.tr,r,r.top))}return!0});gt(kx,{displayName:"Command<addRowBeforeCommand>",group:"Table"});var xx=ut("AddRowAfter",t=>()=>(e,n)=>{if(!vi(e))return!1;if(n){let r=il(e);n(jU(t,e.tr,r,r.bottom))}return!0});gt(xx,{displayName:"Command<addRowAfterCommand>",group:"Table"});var Ah=ut("SetAlign",()=>(t="left")=>uU("alignment",t));gt(Ah,{displayName:"Command<setAlignCommand>",group:"Table"});var rI=zr("tableKeymap",{NextCell:{shortcuts:["Mod-]","Tab"],command:t=>{let e=t.get(it);return()=>e.call(tI.key)}},PrevCell:{shortcuts:["Mod-[","Shift-Tab"],command:t=>{let e=t.get(it);return()=>e.call(eI.key)}},ExitTable:{shortcuts:["Mod-Enter"],command:t=>{let e=t.get(it);return()=>e.call(nI.key)}}});gt(rI.ctx,{displayName:"KeymapCtx<table>",group:"Table"});gt(rI.shortcuts,{displayName:"Keymap<table>",group:"Table"});var ZA="footnote_definition",NU="footnoteDefinition",py=yn("footnote_definition",()=>({group:"block",content:"block+",defining:!0,attrs:{label:{default:""}},parseDOM:[{tag:`dl[data-type="${ZA}"]`,getAttrs:t=>{if(!(t instanceof HTMLElement))throw cr(t);return{label:t.dataset.label}},contentElement:"dd"}],toDOM:t=>{let e=t.attrs.label;return["dl",{"data-label":e,"data-type":ZA},["dt",e],["dd",0]]},parseMarkdown:{match:({type:t})=>t===NU,runner:(t,e,n)=>{t.openNode(n,{label:e.label}).next(e.children).closeNode()}},toMarkdown:{match:t=>t.type.name===ZA,runner:(t,e)=>{t.openNode(NU,void 0,{label:e.attrs.label,identifier:e.attrs.label}).next(e.content).closeNode()}}}));gt(py.ctx,{displayName:"NodeSchemaCtx<footnodeDef>",group:"footnote"});gt(py.node,{displayName:"NodeSchema<footnodeDef>",group:"footnote"});var XA="footnote_reference",hy=yn("footnote_reference",()=>({group:"inline",inline:!0,atom:!0,attrs:{label:{default:""}},parseDOM:[{tag:`sup[data-type="${XA}"]`,getAttrs:t=>{if(!(t instanceof HTMLElement))throw cr(t);return{label:t.dataset.label}}}],toDOM:t=>{let e=t.attrs.label;return["sup",{"data-label":e,"data-type":XA},e]},parseMarkdown:{match:({type:t})=>t==="footnoteReference",runner:(t,e,n)=>{t.addNode(n,{label:e.label})}},toMarkdown:{match:t=>t.type.name===XA,runner:(t,e)=>{t.addNode("footnoteReference",void 0,void 0,{label:e.attrs.label,identifier:e.attrs.label})}}}));gt(hy.ctx,{displayName:"NodeSchemaCtx<footnodeRef>",group:"footnote"});gt(hy.node,{displayName:"NodeSchema<footnodeRef>",group:"footnote"});var HU=lo.extendSchema(t=>e=>{let n=t(e);return q(D({},n),{attrs:q(D({},n.attrs),{checked:{default:null}}),parseDOM:[{tag:'li[data-item-type="task"]',getAttrs:r=>{if(!(r instanceof HTMLElement))throw cr(r);return{label:r.dataset.label,listType:r.dataset["list-type"],spread:r.dataset.spread,checked:r.dataset.checked?r.dataset.checked==="true":null}}},...n?.parseDOM||[]],toDOM:r=>n.toDOM&&r.attrs.checked==null?n.toDOM(r):["li",{"data-item-type":"task","data-label":r.attrs.label,"data-list-type":r.attrs.listType,"data-spread":r.attrs.spread,"data-checked":r.attrs.checked},0],parseMarkdown:{match:({type:r})=>r==="listItem",runner:(r,i,o)=>{if(i.checked==null){n.parseMarkdown.runner(r,i,o);return}let a=i.label!=null?`${i.label}.`:"\u2022",s=i.checked!=null?!!i.checked:null,l=i.label!=null?"ordered":"bullet",c=i.spread!=null?`${i.spread}`:"true";r.openNode(o,{label:a,listType:l,spread:c,checked:s}),r.next(i.children),r.closeNode()}},toMarkdown:{match:r=>r.type.name==="list_item",runner:(r,i)=>{if(i.attrs.checked==null){n.toMarkdown.runner(r,i);return}let o=i.attrs.label,a=i.attrs.listType,s=i.attrs.spread==="true",l=i.attrs.checked;r.openNode("listItem",void 0,{label:o,listType:a,spread:s,checked:l}),r.next(i.content),r.closeNode()}}})});gt(HU,{displayName:"NodeSchema<listItem>",group:"ListItem"});var $U=jr(()=>new zn(/^\[(?<checked>\s|x)\]\s$/,(t,e,n,r)=>{var i;let o=t.doc.resolve(n),a=0,s=o.node(a);for(;s&&s.type.name!=="list_item";)a--,s=o.node(a);if(!s||s.attrs.checked!=null)return null;let l=((i=e.groups)==null?void 0:i.checked)==="x",c=o.before(a),d=t.tr;return d.deleteRange(n,r).setNodeMarkup(c,void 0,q(D({},s.attrs),{checked:l})),d}));gt($U,{displayName:"InputRule<wrapInTaskListInputRule>",group:"ListItem"});var Hme=[JA,rI].flat(),$me=[UU,$U],qU=Bt(t=>{let e=new Je("MILKDOWN_AUTO_INSERT_ZERO_SPACE"),n=i=>i.type===Ja.type(t),r=i=>n(i)&&i.nodeSize===2;return new Le({key:e,props:{handleDOMEvents:{compositionstart(i){let{state:o,dispatch:a}=i,{tr:s,selection:l}=o,{$from:c}=l;return _c.safari&&vi(o)&&l.empty&&r(c.parent)&&a(s.insertText("\u2060",c.start())),!1},compositionend(i){let{state:o,dispatch:a}=i,{tr:s,selection:l}=o,{$from:c}=l;return _c.safari&&vi(o)&&l.empty&&n(c.parent)&&c.parent.textContent.startsWith("\u2060")&&a(s.delete(c.start(),c.start()+1)),!1}}}})});gt(qU,{displayName:"Prose<autoInsertZeroSpaceInTablePlugin>",group:"Prose"});var WU=Bt(()=>iU({}));gt(WU,{displayName:"Prose<columnResizingPlugin>",group:"Prose"});var GU=Bt(()=>pU());gt(GU,{displayName:"Prose<tableEditingPlugin>",group:"Prose"});var iI=_i("remarkGFM",()=>cx);gt(iI.plugin,{displayName:"Remark<remarkGFMPlugin>",group:"Remark"});gt(iI.options,{displayName:"RemarkConfig<remarkGFMPlugin>",group:"Remark"});var qme=[qU,WU,GU,iI].flat(),Wme=[HU,dy,uy,fx,fy,py,hy,QA,dx].flat(),Gme=[tI,eI,nI,px,hx,mx,gx,yx,bx,_x,kx,xx,wx,vx,Ah,Uu],YU=[Wme,$me,Hme,qme,Gme].flat();function oI(t){if(!t)return!1;if(Array.isArray(t))return t.length>1?!1:oI(t[0]);let e=t.content;return e?oI(e):t.type==="text"}function Yme(t){if(t.content.childCount===1){let e=t.content.firstChild;if(e?.type.name==="text"&&e.marks.length===0)return e;if(e?.type.name==="paragraph"&&e.childCount===1){let n=e.firstChild;if(n?.type.name==="text"&&n.marks.length===0)return n}}return!1}var aI=Bt(t=>{let e=t.get(Jr);t.update(ma,r=>q(D({},r),{editable:r.editable??(()=>!0)}));let n=new Je("MILKDOWN_CLIPBOARD");return new Le({key:n,props:{handlePaste:(r,i)=>{var o,a;let s=t.get(so),l=(a=(o=r.props).editable)==null?void 0:a.call(o,r.state),{clipboardData:c}=i;if(!l||!c||r.state.selection.$from.node().type.spec.code)return!1;let d=c.getData("text/plain"),u=c.getData("vscode-editor-data");if(u){let _=JSON.parse(u),x=_?.mode;if(d&&x){let{tr:E}=r.state,v=qL("code_block",e);return E.replaceSelectionWith(v.create({language:x})).setSelection(je.near(E.doc.resolve(Math.max(0,E.selection.from-2)))).insertText(d.replace(/\r\n?/g,` +`)),r.dispatch(E),!0}}let f=c.getData("text/html");if(f.length===0&&d.length===0)return!1;let p=ua.fromSchema(e),h;if(f.length===0){let _=s(d);if(!_||typeof _=="string")return!1;h=Fi.fromSchema(e).serializeFragment(_.content)}else{let _=document.createElement("template");_.innerHTML=f,h=_.content.cloneNode(!0),_.remove()}let g=p.parseSlice(h),b=Yme(g);return b?(r.dispatch(r.state.tr.replaceSelectionWith(b,!0)),!0):(r.dispatch(r.state.tr.replaceSelection(g)),!0)},clipboardTextSerializer:r=>{let i=t.get(Ro);if(oI(r.content.toJSON()))return r.content.textBetween(0,r.content.size,` -`);let o=e.topNodeType.createAndFill(void 0,r.content);return o?i(o):""}}})});tI.meta={displayName:"Prose<clipboard>",package:"@milkdown/plugin-clipboard"};pr.displayName="clike";pr.aliases=[];function pr(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}sl.displayName="c";sl.aliases=[];function sl(t){t.register(pr),t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}Uu.displayName="cpp";Uu.aliases=[];function Uu(t){t.register(sl),function(e){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return n.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(t)}py.displayName="arduino";py.aliases=["ino"];function py(t){t.register(Uu),t.languages.arduino=t.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),t.languages.ino=t.languages.arduino}my.displayName="bash";my.aliases=["sh","shell"];function my(t){(function(e){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,s=0;s<o.length;s++)a[o[s]]=e.languages.bash[o[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(t)}gy.displayName="csharp";gy.aliases=["cs","dotnet"];function gy(t){t.register(pr),function(e){function n(D,je){return D.replace(/<<(\d+)>>/g,function(Ie,I){return"(?:"+je[+I]+")"})}function r(D,je,Ie){return RegExp(n(D,je),Ie||"")}function i(D,je){for(var Ie=0;Ie<je;Ie++)D=D.replace(/<<self>>/g,function(){return"(?:"+D+")"});return D.replace(/<<self>>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function a(D){return"\\b(?:"+D.trim().replace(/ /g,"|")+")\\b"}var s=a(o.typeDeclaration),l=RegExp(a(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),c=a(o.typeDeclaration+" "+o.contextual+" "+o.other),d=a(o.type+" "+o.typeDeclaration+" "+o.other),u=i(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),f=i(/\((?:[^()]|<<self>>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,p=n(/<<0>>(?:\s*<<1>>)?/.source,[h,u]),g=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,p]),b=/\[\s*(?:,\s*)*\]/.source,_=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,b]),x=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,f,b]),E=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),v=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,g,b]),j={keyword:l,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,P=/"(?:\\.|[^\\"\r\n])*"/.source,z=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[z]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[P]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:j},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,v]),lookbehind:!0,inside:j},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[s,p]),lookbehind:!0,inside:j},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:j},{pattern:r(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[_]),lookbehind:!0,inside:j},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[v,d,h]),inside:j}],keyword:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:j},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[v,g]),inside:j,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[v]),lookbehind:!0,inside:j,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,u]),inside:{function:r(/^<<0>>/.source,[h]),generic:{pattern:RegExp(u),alias:"class-name",inside:j}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[s,p,h,v,l.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[p,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:l,"class-name":{pattern:RegExp(v),greedy:!0,inside:j},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var N=P+"|"+C,O=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[N]),J=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[O]),2),V=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,G=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,J]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[V,G]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[V]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[J]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var ie=/:[^}\r\n]+/.source,me=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[O]),2),q=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[me,ie]),X=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[N]),2),ee=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[X,ie]);function _e(D,je){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[D]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[je,ie]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[q]),lookbehind:!0,greedy:!0,inside:_e(q,me)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[ee]),lookbehind:!0,greedy:!0,inside:_e(ee,X)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(t)}ll.displayName="markup";ll.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function ll(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};o["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}wa.displayName="css";wa.aliases=[];function wa(t){(function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(t)}yy.displayName="diff";yy.aliases=[];function yy(t){(function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var i=n[r],o=[];/^\w+$/.test(r)||o.push(/\w+/.exec(r)[0]),r==="diff"&&o.push("bold"),e.languages.diff[r]={pattern:RegExp("^(?:["+i+`].*(?:\r +`);let o=e.topNodeType.createAndFill(void 0,r.content);return o?i(o):""}}})});aI.meta={displayName:"Prose<clipboard>",package:"@milkdown/plugin-clipboard"};mr.displayName="clike";mr.aliases=[];function mr(t){t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}al.displayName="c";al.aliases=[];function al(t){t.register(mr),t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}Hu.displayName="cpp";Hu.aliases=[];function Hu(t){t.register(al),function(e){var n=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return n.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:n,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(t)}my.displayName="arduino";my.aliases=["ino"];function my(t){t.register(Hu),t.languages.arduino=t.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),t.languages.ino=t.languages.arduino}gy.displayName="bash";gy.aliases=["sh","shell"];function gy(t){(function(e){var n="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},i={bash:r,environment:{pattern:RegExp("\\$"+n),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+n),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+n),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:i},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+n),alias:"constant"},variable:i.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=i.variable[1].inside,s=0;s<o.length;s++)a[o[s]]=e.languages.bash[o[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash})(t)}yy.displayName="csharp";yy.aliases=["cs","dotnet"];function yy(t){t.register(mr),function(e){function n(S,Be){return S.replace(/<<(\d+)>>/g,function(Ie,I){return"(?:"+Be[+I]+")"})}function r(S,Be,Ie){return RegExp(n(S,Be),Ie||"")}function i(S,Be){for(var Ie=0;Ie<Be;Ie++)S=S.replace(/<<self>>/g,function(){return"(?:"+S+")"});return S.replace(/<<self>>/g,"[^\\s\\S]")}var o={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function a(S){return"\\b(?:"+S.trim().replace(/ /g,"|")+")\\b"}var s=a(o.typeDeclaration),l=RegExp(a(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),c=a(o.typeDeclaration+" "+o.contextual+" "+o.other),d=a(o.type+" "+o.typeDeclaration+" "+o.other),u=i(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),f=i(/\((?:[^()]|<<self>>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,h=n(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),g=n(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[c,h]),b=/\[\s*(?:,\s*)*\]/.source,_=n(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[g,b]),x=n(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,f,b]),E=n(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),v=n(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,g,b]),j={keyword:l,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,P=/"(?:\\.|[^\\"\r\n])*"/.source,z=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[z]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[P]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[g]),lookbehind:!0,inside:j},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,v]),lookbehind:!0,inside:j},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[s,h]),lookbehind:!0,inside:j},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[g]),lookbehind:!0,inside:j},{pattern:r(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[_]),lookbehind:!0,inside:j},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[v,d,p]),inside:j}],keyword:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:j},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[v,g]),inside:j,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[v]),lookbehind:!0,inside:j,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:r(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:j}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[s,h,p,v,l.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:l,"class-name":{pattern:RegExp(v),greedy:!0,inside:j},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var N=P+"|"+C,O=n(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[N]),J=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[O]),2),V=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,Y=n(/<<0>>(?:\s*\(<<1>>*\))?/.source,[g,J]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[V,Y]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[V]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[J]),inside:e.languages.csharp},"class-name":{pattern:RegExp(g),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var ie=/:[^}\r\n]+/.source,me=i(n(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[O]),2),W=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[me,ie]),X=i(n(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[N]),2),te=n(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[X,ie]);function xe(S,Be){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[S]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Be,ie]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[W]),lookbehind:!0,greedy:!0,inside:xe(W,me)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[te]),lookbehind:!0,greedy:!0,inside:xe(te,X)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(t)}sl.displayName="markup";sl.aliases=["atom","html","mathml","rss","ssml","svg","xml"];function sl(t){t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};o["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml}wa.displayName="css";wa.aliases=[];function wa(t){(function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+n.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(t)}by.displayName="diff";by.aliases=[];function by(t){(function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var n={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(n).forEach(function(r){var i=n[r],o=[];/^\w+$/.test(r)||o.push(/\w+/.exec(r)[0]),r==="diff"&&o.push("bold"),e.languages.diff[r]={pattern:RegExp("^(?:["+i+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:n})})(t)}by.displayName="go";by.aliases=[];function by(t){t.register(pr),t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}_y.displayName="ini";_y.aliases=[];function _y(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}wy.displayName="java";wy.aliases=[];function wy(t){t.register(pr),function(e){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:i.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:i.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:i.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(t)}vy.displayName="regex";vy.aliases=[];function vy(t){(function(e){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a="(?:[^\\\\-]|"+r.source+")",s=RegExp(a+"-"+a),l={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":o,escape:r}},"special-escape":n,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":l}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":l}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}Hu.displayName="javascript";Hu.aliases=["js"];function Hu(t){t.register(pr),t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}ky.displayName="json";ky.aliases=["webmanifest"];function ky(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}xy.displayName="kotlin";xy.aliases=["kt","kts"];function xy(t){t.register(pr),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(t)}Cy.displayName="less";Cy.aliases=[];function Cy(t){t.register(wa),t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}Dy.displayName="lua";Dy.aliases=[];function Dy(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}Sy.displayName="makefile";Sy.aliases=[];function Sy(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}Ey.displayName="yaml";Ey.aliases=["yml"];function Ey(t){(function(e){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(l,c){c=(c||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return l});return RegExp(d,c)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(a),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(t)}My.displayName="markdown";My.aliases=["md"];function My(t){t.register(ll),function(e){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(u){return u=u.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+u+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(u){["url","bold","italic","strike","code-snippet"].forEach(function(f){u!==f&&(e.languages.markdown[u].inside.content.inside[f]=e.languages.markdown[f])})}),e.hooks.add("after-tokenize",function(u){if(u.language!=="markdown"&&u.language!=="md")return;function f(h){if(!(!h||typeof h=="string"))for(var p=0,g=h.length;p<g;p++){var b=h[p];if(b.type!=="code"){f(b.content);continue}var _=b.content[1],x=b.content[3];if(_&&x&&_.type==="code-language"&&x.type==="code-block"&&typeof _.content=="string"){var E=_.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");E=(/[a-z][\w-]*/i.exec(E)||[""])[0].toLowerCase();var v="language-"+E;x.alias?typeof x.alias=="string"?x.alias=[x.alias,v]:x.alias.push(v):x.alias=[v]}}}f(u.tokens)}),e.hooks.add("wrap",function(u){if(u.type==="code-block"){for(var f="",h=0,p=u.classes.length;h<p;h++){var g=u.classes[h],b=/language-(.+)/.exec(g);if(b){f=b[1];break}}var _=e.languages[f];if(_)u.content=e.highlight(u.content.value,_,f);else if(f&&f!=="none"&&e.plugins.autoloader){var x="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);u.attributes.id=x,e.plugins.autoloader.loadLanguages(f,function(){var E=document.getElementById(x);E&&(E.innerHTML=e.highlight(E.textContent,e.languages[f],f))})}}});var s=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function d(u){var f=u.replace(s,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(h,p){if(p=p.toLowerCase(),p[0]==="#"){var g;return p[1]==="x"?g=parseInt(p.slice(2),16):g=Number(p.slice(1)),c(g)}else{var b=l[p];return b||h}}),f}e.languages.md=e.languages.markdown}(t)}Ty.displayName="objectivec";Ty.aliases=["objc"];function Ty(t){t.register(sl),t.languages.objectivec=t.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete t.languages.objectivec["class-name"],t.languages.objc=t.languages.objectivec}Ay.displayName="perl";Ay.aliases=[];function Ay(t){(function(e){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}$u.displayName="markup-templating";$u.aliases=[];function $u(t){t.register(ll),function(e){function n(r,i){return"___"+r.toUpperCase()+i+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,i,o,a){if(r.language===i){var s=r.tokenStack=[];r.code=r.code.replace(o,function(l){if(typeof a=="function"&&!a(l))return l;for(var c=s.length,d;r.code.indexOf(d=n(i,c))!==-1;)++c;return s[c]=l,d}),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,i){if(r.language!==i||!r.tokenStack)return;r.grammar=e.languages[i];var o=0,a=Object.keys(r.tokenStack);function s(l){for(var c=0;c<l.length&&!(o>=a.length);c++){var d=l[c];if(typeof d=="string"||d.content&&typeof d.content=="string"){var u=a[o],f=r.tokenStack[u],h=typeof d=="string"?d:d.content,p=n(i,u),g=h.indexOf(p);if(g>-1){++o;var b=h.substring(0,g),_=new e.Token(i,e.tokenize(f,r.grammar),"language-"+i,f),x=h.substring(g+p.length),E=[];b&&E.push.apply(E,s([b])),E.push(_),x&&E.push.apply(E,s([x])),typeof d=="string"?l.splice.apply(l,[c,1].concat(E)):d.content=E}}else d.content&&s(d.content)}return l}s(r.tokens)}}})}(t)}Iy.displayName="php";Iy.aliases=[];function Iy(t){t.register($u),function(e){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:o,punctuation:a};var s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}];e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:i,operator:o,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(c,"php",d)}}),e.hooks.add("after-tokenize",function(c){e.languages["markup-templating"].tokenizePlaceholders(c,"php")})}(t)}Oy.displayName="python";Oy.aliases=["py"];function Oy(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}Py.displayName="r";Py.aliases=[];function Py(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}Fy.displayName="ruby";Fy.aliases=["rb"];function Fy(t){t.register(pr),function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(t)}Ny.displayName="rust";Ny.aliases=[];function Ny(t){(function(e){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(t)}Ry.displayName="sass";Ry.aliases=[];function Ry(t){t.register(wa),function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(t)}jy.displayName="scss";jy.aliases=[];function jy(t){t.register(wa),t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}zy.displayName="sql";zy.aliases=[];function zy(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}Ly.displayName="swift";Ly.aliases=[];function Ly(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=t.languages.swift})}By.displayName="typescript";By.aliases=["ts"];function By(t){t.register(Hu),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}(t)}qu.displayName="basic";qu.aliases=[];function qu(t){t.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}Vy.displayName="vbnet";Vy.aliases=[];function Vy(t){t.register(qu),t.languages.vbnet=t.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}var cl=class{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}};cl.prototype.property={};cl.prototype.normal={};cl.prototype.space=null;function nI(t,e){let n={},r={},i=-1;for(;++i<t.length;)Object.assign(n,t[i].property),Object.assign(r,t[i].normal);return new cl(n,r,e)}function dl(t){return t.toLowerCase()}var ni=class{constructor(e,n){this.property=e,this.attribute=n}};ni.prototype.space=null;ni.prototype.boolean=!1;ni.prototype.booleanish=!1;ni.prototype.overloadedBoolean=!1;ni.prototype.number=!1;ni.prototype.commaSeparated=!1;ni.prototype.spaceSeparated=!1;ni.prototype.commaOrSpaceSeparated=!1;ni.prototype.mustUseProperty=!1;ni.prototype.defined=!1;var Uy={};C5(Uy,{boolean:()=>dt,booleanish:()=>Bn,commaOrSpaceSeparated:()=>ji,commaSeparated:()=>Ic,number:()=>re,overloadedBoolean:()=>rI,spaceSeparated:()=>rn});var Vme=0,dt=Wu(),Bn=Wu(),rI=Wu(),re=Wu(),rn=Wu(),Ic=Wu(),ji=Wu();function Wu(){return 2**++Vme}var iI=Object.keys(Uy),Gu=class extends ni{constructor(e,n,r,i){let o=-1;if(super(e,n),UU(this,"space",i),typeof r=="number")for(;++o<iI.length;){let a=iI[o];UU(this,iI[o],(r&Uy[a])===Uy[a])}}};Gu.prototype.defined=!0;function UU(t,e,n){n&&(t[e]=n)}var Ume={}.hasOwnProperty;function Bo(t){let e={},n={},r;for(r in t.properties)if(Ume.call(t.properties,r)){let i=t.properties[r],o=new Gu(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[dl(r)]=r,n[dl(o.attribute)]=r}return new cl(e,n,t.space)}var oI=Bo({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var aI=Bo({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function gx(t,e){return e in t?t[e]:e}function yx(t,e){return gx(t,e.toLowerCase())}var sI=Bo({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:yx,properties:{xmlns:null,xmlnsXLink:null}});var lI=Bo({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Bn,ariaAutoComplete:null,ariaBusy:Bn,ariaChecked:Bn,ariaColCount:re,ariaColIndex:re,ariaColSpan:re,ariaControls:rn,ariaCurrent:null,ariaDescribedBy:rn,ariaDetails:null,ariaDisabled:Bn,ariaDropEffect:rn,ariaErrorMessage:null,ariaExpanded:Bn,ariaFlowTo:rn,ariaGrabbed:Bn,ariaHasPopup:null,ariaHidden:Bn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rn,ariaLevel:re,ariaLive:null,ariaModal:Bn,ariaMultiLine:Bn,ariaMultiSelectable:Bn,ariaOrientation:null,ariaOwns:rn,ariaPlaceholder:null,ariaPosInSet:re,ariaPressed:Bn,ariaReadOnly:Bn,ariaRelevant:null,ariaRequired:Bn,ariaRoleDescription:rn,ariaRowCount:re,ariaRowIndex:re,ariaRowSpan:re,ariaSelected:Bn,ariaSetSize:re,ariaSort:null,ariaValueMax:re,ariaValueMin:re,ariaValueNow:re,ariaValueText:null,role:null}});var HU=Bo({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:yx,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ic,acceptCharset:rn,accessKey:rn,action:null,allow:null,allowFullScreen:dt,allowPaymentRequest:dt,allowUserMedia:dt,alt:null,as:null,async:dt,autoCapitalize:null,autoComplete:rn,autoFocus:dt,autoPlay:dt,blocking:rn,capture:dt,charSet:null,checked:dt,cite:null,className:rn,cols:re,colSpan:null,content:null,contentEditable:Bn,controls:dt,controlsList:rn,coords:re|Ic,crossOrigin:null,data:null,dateTime:null,decoding:null,default:dt,defer:dt,dir:null,dirName:null,disabled:dt,download:rI,draggable:Bn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:dt,formTarget:null,headers:rn,height:re,hidden:dt,high:re,href:null,hrefLang:null,htmlFor:rn,httpEquiv:rn,id:null,imageSizes:null,imageSrcSet:null,inert:dt,inputMode:null,integrity:null,is:null,isMap:dt,itemId:null,itemProp:rn,itemRef:rn,itemScope:dt,itemType:rn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:dt,low:re,manifest:null,max:null,maxLength:re,media:null,method:null,min:null,minLength:re,multiple:dt,muted:dt,name:null,nonce:null,noModule:dt,noValidate:dt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:dt,optimum:re,pattern:null,ping:rn,placeholder:null,playsInline:dt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:dt,referrerPolicy:null,rel:rn,required:dt,reversed:dt,rows:re,rowSpan:re,sandbox:rn,scope:null,scoped:dt,seamless:dt,selected:dt,shadowRootDelegatesFocus:dt,shadowRootMode:null,shape:null,size:re,sizes:null,slot:null,span:re,spellCheck:Bn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:re,step:null,style:null,tabIndex:re,target:null,title:null,translate:null,type:null,typeMustMatch:dt,useMap:null,value:Bn,width:re,wrap:null,align:null,aLink:null,archive:rn,axis:null,background:null,bgColor:null,border:re,borderColor:null,bottomMargin:re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:dt,declare:dt,event:null,face:null,frame:null,frameBorder:null,hSpace:re,leftMargin:re,link:null,longDesc:null,lowSrc:null,marginHeight:re,marginWidth:re,noResize:dt,noHref:dt,noShade:dt,noWrap:dt,object:null,profile:null,prompt:null,rev:null,rightMargin:re,rules:null,scheme:null,scrolling:Bn,standby:null,summary:null,text:null,topMargin:re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:dt,disableRemotePlayback:dt,prefix:null,property:null,results:re,security:null,unselectable:null}});var $U=Bo({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:gx,properties:{about:ji,accentHeight:re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:re,amplitude:re,arabicForm:null,ascent:re,attributeName:null,attributeType:null,azimuth:re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:re,by:null,calcMode:null,capHeight:re,className:rn,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:re,diffuseConstant:re,direction:null,display:null,dur:null,divisor:re,dominantBaseline:null,download:dt,dx:null,dy:null,edgeMode:null,editable:null,elevation:re,enableBackground:null,end:null,event:null,exponent:re,externalResourcesRequired:null,fill:null,fillOpacity:re,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:Ic,g2:Ic,glyphName:Ic,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:re,horizOriginX:re,horizOriginY:re,id:null,ideographic:re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:re,k:re,k1:re,k2:re,k3:re,k4:re,kernelMatrix:ji,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:re,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:re,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:re,overlineThickness:re,paintOrder:null,panose1:null,path:null,pathLength:re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:re,pointsAtY:re,pointsAtZ:re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ji,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ji,rev:ji,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ji,requiredFeatures:ji,requiredFonts:ji,requiredFormats:ji,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:re,specularExponent:re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:re,strikethroughThickness:re,string:null,stroke:null,strokeDashArray:ji,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:re,strokeOpacity:re,strokeWidth:null,style:null,surfaceScale:re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ji,tabIndex:re,tableValues:null,target:null,targetX:re,targetY:re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ji,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:re,underlineThickness:re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:re,values:null,vAlphabetic:re,vMathematical:re,vectorEffect:null,vHanging:re,vIdeographic:re,version:null,vertAdvY:re,vertOriginX:re,vertOriginY:re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var Hme=/^data[-\w.:]+$/i,qU=/-[a-z]/g,$me=/[A-Z]/g;function cI(t,e){let n=dl(e),r=e,i=ni;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Hme.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(qU,Wme);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!qU.test(o)){let a=o.replace($me,qme);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=Gu}return new i(r,e)}function qme(t){return"-"+t.toLowerCase()}function Wme(t){return t.charAt(1).toUpperCase()}var WU=nI([aI,oI,sI,lI,HU],"html"),SHe=nI([aI,oI,sI,lI,$U],"svg");var GU=/[#.]/g;function dI(t,e){let n=t||"",r={},i=0,o,a;for(;i<n.length;){GU.lastIndex=i;let s=GU.exec(n),l=n.slice(i,s?s.index:n.length);l&&(o?o==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),s&&(o=s[0],i++)}return{type:"element",tagName:a||e||"div",properties:r,children:[]}}function uI(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function fI(t){let e=[],n=String(t||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);let a=n.slice(i,r).trim();(a||!o)&&e.push(a),i=r+1,r=n.indexOf(",",i)}return e}var Gme=new Set(["menu","submit","reset","button"]),hI={}.hasOwnProperty;function KU(t,e,n){let r=n&&Xme(n);return function(o,a,...s){let l=-1,c;if(o==null)c={type:"root",children:[]},s.unshift(a);else if(c=dI(o,e),c.tagName=c.tagName.toLowerCase(),r&&hI.call(r,c.tagName)&&(c.tagName=r[c.tagName]),Yme(a,c.tagName)){let d;for(d in a)hI.call(a,d)&&Kme(t,c.properties,d,a[d])}else s.unshift(a);for(;++l<s.length;)pI(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}}function Yme(t,e){return t==null||typeof t!="object"||Array.isArray(t)?!1:e==="input"||!t.type||typeof t.type!="string"?!0:"children"in t&&Array.isArray(t.children)?!1:e==="button"?Gme.has(t.type.toLowerCase()):!("value"in t)}function Kme(t,e,n,r){let i=cI(t,n),o=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=uI(r):i.commaSeparated?a=fI(r):i.commaOrSpaceSeparated?a=uI(fI(r).join(" ")):a=YU(i,i.property,r):Array.isArray(r)?a=r.concat():a=i.property==="style"?Zme(r):String(r);if(Array.isArray(a)){let s=[];for(;++o<a.length;)s[o]=YU(i,i.property,a[o]);a=s}i.property==="className"&&Array.isArray(e.className)&&(a=e.className.concat(a)),e[i.property]=a}}function pI(t,e){let n=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++n<e.length;)pI(t,e[n]);else if(typeof e=="object"&&"type"in e)e.type==="root"?pI(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function YU(t,e,n){if(typeof n=="string"){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(n===""||dl(n)===dl(e)))return!0}return n}function Zme(t){let e=[],n;for(n in t)hI.call(t,n)&&e.push([n,t[n]].join(": "));return e.join("; ")}function Xme(t){let e={},n=-1;for(;++n<t.length;)e[t[n].toLowerCase()]=t[n];return e}var bx=KU(WU,"div");var ZU=["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"];var mI={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 _x(t){let e=typeof t=="string"?t.charCodeAt(0):t;return e>=48&&e<=57}function XU(t){let e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}function QU(t){let e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}function gI(t){return QU(t)||_x(t)}var Ap=String.fromCharCode,Qme=["","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 yI(t,e={}){let n=typeof e.additional=="string"?e.additional.charCodeAt(0):e.additional,r=[],i=0,o=-1,a="",s,l;e.position&&("start"in e.position||"indent"in e.position?(l=e.position.indent,s=e.position.start):s=e.position);let c=(s?s.line:0)||1,d=(s?s.column:0)||1,u=h(),f;for(i--;++i<=t.length;)if(f===10&&(d=(l?l[o]:0)||1),f=t.charCodeAt(i),f===38){let b=t.charCodeAt(i+1);if(b===9||b===10||b===12||b===32||b===38||b===60||Number.isNaN(b)||n&&b===n){a+=Ap(f),d++;continue}let _=i+1,x=_,E=_,v;if(b===35){E=++x;let V=t.charCodeAt(E);V===88||V===120?(v="hexadecimal",E=++x):v="decimal"}else v="named";let j="",C="",P="",z=v==="named"?gI:v==="decimal"?_x:XU;for(E--;++E<=t.length;){let V=t.charCodeAt(E);if(!z(V))break;P+=Ap(V),v==="named"&&ZU.includes(P)&&(j=P,C=As(P))}let N=t.charCodeAt(E)===59;if(N){E++;let V=v==="named"?As(P):!1;V&&(j=P,C=V)}let O=1+E-_,J="";if(!(!N&&e.nonTerminated===!1))if(!P)v!=="named"&&p(4,O);else if(v==="named"){if(N&&!C)p(5,1);else if(j!==P&&(E=x+j.length,O=1+E-x,N=!1),!N){let V=j?1:3;if(e.attribute){let G=t.charCodeAt(E);G===61?(p(V,O),C=""):gI(G)?C="":p(V,O)}else p(V,O)}J=C}else{N||p(2,O);let V=Number.parseInt(P,v==="hexadecimal"?16:10);if(Jme(V))p(7,O),J=Ap(65533);else if(V in mI)p(6,O),J=mI[V];else{let G="";ege(V)&&p(6,O),V>65535&&(V-=65536,G+=Ap(V>>>10|55296),V=56320|V&1023),J=G+Ap(V)}}if(J){g(),u=h(),i=E-1,d+=E-_+1,r.push(J);let V=h();V.offset++,e.reference&&e.reference.call(e.referenceContext,J,{start:u,end:V},t.slice(_-1,E)),u=V}else P=t.slice(_-1,E),a+=P,d+=P.length,i=E-1}else f===10&&(c++,o++,d=0),Number.isNaN(f)?g():(a+=Ap(f),d++);return r.join("");function h(){return{line:c,column:d,offset:i+((s?s.offset:0)||0)}}function p(b,_){let x;e.warning&&(x=h(),x.column+=_,x.offset+=_,e.warning.call(e.warningContext,Qme[b],x,b))}function g(){a&&(r.push(a),e.text&&e.text.call(e.textContext,a,{start:u,end:h()}),a="")}}function Jme(t){return t>=55296&&t<=57343||t>1114111}function ege(t){return t>=1&&t<=8||t===11||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534}var tge=0,wx={},Tr={util:{type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++tge}),t.__id},clone:function t(e,n){n=n||{};var r,i;switch(Tr.util.type(e)){case"Object":if(i=Tr.util.objId(e),n[i])return n[i];r={},n[i]=r;for(var o in e)e.hasOwnProperty(o)&&(r[o]=t(e[o],n));return r;case"Array":return i=Tr.util.objId(e),n[i]?n[i]:(r=[],n[i]=r,e.forEach(function(a,s){r[s]=t(a,n)}),r);default:return e}}},languages:{plain:wx,plaintext:wx,text:wx,txt:wx,extend:function(t,e){var n=Tr.util.clone(Tr.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){r=r||Tr.languages;var i=r[t],o={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);n.hasOwnProperty(a)||(o[a]=i[a])}var l=r[t];return r[t]=o,Tr.languages.DFS(Tr.languages,function(c,d){d===l&&c!=t&&(this[c]=o)}),o},DFS:function t(e,n,r,i){i=i||{};var o=Tr.util.objId;for(var a in e)if(e.hasOwnProperty(a)){n.call(e,a,e[a],r||a);var s=e[a],l=Tr.util.type(s);l==="Object"&&!i[o(s)]?(i[o(s)]=!0,t(s,n,null,i)):l==="Array"&&!i[o(s)]&&(i[o(s)]=!0,t(s,n,a,i))}}},plugins:{},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(Tr.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=Tr.tokenize(r.code,r.grammar),Tr.hooks.run("after-tokenize",r),Hy.stringify(Tr.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var i=new nge;return vx(i,i.head,t),eH(t,i,e,i.head,0),ige(i)},hooks:{all:{},add:function(t,e){var n=Tr.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=Tr.hooks.all[t];if(!(!n||!n.length))for(var r=0,i;i=n[r++];)i(e)}},Token:Hy};function Hy(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=(r||"").length|0}function JU(t,e,n,r){t.lastIndex=e;var i=t.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function eH(t,e,n,r,i,o){for(var a in n)if(!(!n.hasOwnProperty(a)||!n[a])){var s=n[a];s=Array.isArray(s)?s:[s];for(var l=0;l<s.length;++l){if(o&&o.cause==a+","+l)return;var c=s[l],d=c.inside,u=!!c.lookbehind,f=!!c.greedy,h=c.alias;if(f&&!c.pattern.global){var p=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,p+"g")}for(var g=c.pattern||c,b=r.next,_=i;b!==e.tail&&!(o&&_>=o.reach);_+=b.value.length,b=b.next){var x=b.value;if(e.length>t.length)return;if(!(x instanceof Hy)){var E=1,v;if(f){if(v=JU(g,_,t,u),!v||v.index>=t.length)break;var z=v.index,j=v.index+v[0].length,C=_;for(C+=b.value.length;z>=C;)b=b.next,C+=b.value.length;if(C-=b.value.length,_=C,b.value instanceof Hy)continue;for(var P=b;P!==e.tail&&(C<j||typeof P.value=="string");P=P.next)E++,C+=P.value.length;E--,x=t.slice(_,C),v.index-=_}else if(v=JU(g,0,x,u),!v)continue;var z=v.index,N=v[0],O=x.slice(0,z),J=x.slice(z+N.length),V=_+x.length;o&&V>o.reach&&(o.reach=V);var G=b.prev;O&&(G=vx(e,G,O),_+=O.length),rge(e,G,E);var ie=new Hy(a,d?Tr.tokenize(N,d):N,h,N);if(b=vx(e,G,ie),J&&vx(e,b,J),E>1){var me={cause:a+","+l,reach:V};eH(t,e,n,b.prev,_,me),o&&me.reach>o.reach&&(o.reach=me.reach)}}}}}}function nge(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function vx(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}function rge(t,e,n){for(var r=e.next,i=0;i<n&&r!==t.tail;i++)r=r.next;e.next=r,r.prev=e,t.length-=i}function ige(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}var bI=Tr;var Ip={}.hasOwnProperty;function tH(){}tH.prototype=bI;var Ae=new tH;Ae.highlight=oge;Ae.register=age;Ae.alias=sge;Ae.registered=lge;Ae.listLanguages=cge;Ae.util.encode=dge;Ae.Token.stringify=_I;function oge(t,e){if(typeof t!="string")throw new TypeError("Expected `string` for `value`, got `"+t+"`");let n,r;if(e&&typeof e=="object")n=e;else{if(r=e,typeof r!="string")throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(Ip.call(Ae.languages,r))n=Ae.languages[r];else throw new Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:bI.highlight.call(Ae,t,n,r)}}function age(t){if(typeof t!="function"||!t.displayName)throw new Error("Expected `function` for `syntax`, got `"+t+"`");Ip.call(Ae.languages,t.displayName)||t(Ae)}function sge(t,e){let n=Ae.languages,r={};typeof t=="string"?e&&(r[t]=e):r=t;let i;for(i in r)if(Ip.call(r,i)){let o=r[i],a=typeof o=="string"?[o]:o,s=-1;for(;++s<a.length;)n[a[s]]=n[i]}}function lge(t){if(typeof t!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+t+"`");return Ip.call(Ae.languages,t)}function cge(){let t=Ae.languages,e=[],n;for(n in t)Ip.call(t,n)&&typeof t[n]=="object"&&e.push(n);return e}function _I(t,e){if(typeof t=="string")return{type:"text",value:t};if(Array.isArray(t)){let r=[],i=-1;for(;++i<t.length;)t[i]!==""&&t[i]!==null&&t[i]!==void 0&&r.push(_I(t[i],e));return r}let n={type:t.type,content:_I(t.content,e),tag:"span",classes:["token",t.type],attributes:{},language:e};return t.alias&&n.classes.push(...typeof t.alias=="string"?[t.alias]:t.alias),Ae.hooks.run("wrap",n),bx(n.tag+"."+n.classes.join("."),uge(n.attributes),n.content)}function dge(t){return t}function uge(t){let e;for(e in t)Ip.call(t,e)&&(t[e]=yI(t[e]));return t}Ae.register(pr);Ae.register(sl);Ae.register(Uu);Ae.register(py);Ae.register(my);Ae.register(gy);Ae.register(ll);Ae.register(wa);Ae.register(yy);Ae.register(by);Ae.register(_y);Ae.register(wy);Ae.register(vy);Ae.register(Hu);Ae.register(ky);Ae.register(xy);Ae.register(Cy);Ae.register(Dy);Ae.register(Sy);Ae.register(Ey);Ae.register(My);Ae.register(Ty);Ae.register(Ay);Ae.register($u);Ae.register(Iy);Ae.register(Oy);Ae.register(Py);Ae.register(Fy);Ae.register(Ny);Ae.register(Ry);Ae.register(jy);Ae.register(zy);Ae.register(Ly);Ae.register(By);Ae.register(qu);Ae.register(Vy);function rH(t,e=[]){return t.flatMap(n=>{var r;return n.type==="element"?rH(n.children,[...e,...((r=n.properties)==null?void 0:r.className)||[]]):[{text:n.value,className:e}]})}function nH(t,e,n){let{highlight:r,listLanguages:i}=n,o=i(),a=[];return Q1(s=>s.type.name===e)(t).forEach(s=>{let l=s.pos+1,{language:c}=s.node.attrs;if(!c||!o.includes(c)){console.warn("Unsupported language detected, this language has not been supported by current prism config: ",c);return}let d=r(s.node.textContent,c);rH(d.children).forEach(u=>{let f=l+u.text.length;if(u.className.length){let h=pn.inline(l,f,{class:u.className.join(" ")});a.push(h)}l=f})}),Et.create(t,a)}var wI=Bt({configureRefractor:()=>{}},"prismConfig");wI.meta={package:"@milkdown/plugin-prism",displayName:"Ctx<prism>"};var iH=$t(t=>{let{configureRefractor:e}=t.get(wI.key),n="code_block";return new Be({key:new at("MILKDOWN_PRISM"),state:{init:(r,{doc:i})=>{let o=e(Ae);return nH(i,n,o??Ae)},apply:(r,i,o,a)=>{var s,l;let c=a.selection.$head.parent.type.name===n,d=o.selection.$head.parent.type.name===n,u=Q1(h=>h.type.name===n)(o.doc),f=Q1(h=>h.type.name===n)(a.doc);return r.docChanged&&(c||d||u.length!==f.length||((s=u[0])==null?void 0:s.node.attrs.language)!==((l=f[0])==null?void 0:l.node.attrs.language)||r.steps.some(h=>{let p=h;return p.from!==void 0&&p.to!==void 0&&u.some(g=>g.pos>=p.from&&g.pos+g.node.nodeSize<=p.to)}))?nH(r.doc,n,Ae):i.map(r.mapping,r.doc)}},props:{decorations(r){return this.getState(r)}}})});iH.meta={package:"@milkdown/plugin-prism",displayName:"Prose<prism>"};var kx=[iH,wI];function oH(t={}){return new Be({view(e){return new vI(e,t)}})}var vI=class{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return e.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let s=e.nodeBefore,l=e.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let d=c.getBoundingClientRect(),u=s?d.bottom:d.top;s&&l&&(u=(u+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:d.left,right:d.right,top:u-this.width/2,bottom:u+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=Vh(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}};var ri=class t extends Pe{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return t.valid(r)?new t(r):Pe.near(r)}content(){return ce.empty}eq(e){return e instanceof t&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new t(e.resolve(n.pos))}getBookmark(){return new kI(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!fge(e)||!hge(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&t.valid(e))return e;let i=e.pos,o=null;for(let a=e.depth;;a--){let s=e.node(a);if(n>0?e.indexAfter(a)<s.childCount:e.index(a)>0){o=s.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let l=e.doc.resolve(i);if(t.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Le.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=e.doc.resolve(i);if(t.valid(s))return s}return null}}};ri.prototype.visible=!1;ri.findFrom=ri.findGapCursorFrom;Pe.jsonID("gapcursor",ri);var kI=class t{constructor(e){this.pos=e}map(e){return new t(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return ri.valid(n)?new ri(n):Pe.near(n)}};function fge(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function hge(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function aH(){return new Be({props:{decorations:yge,createSelectionBetween(t,e,n){return e.pos==n.pos&&ri.valid(n)?new ri(n):null},handleClick:mge,handleKeyDown:pge,handleDOMEvents:{beforeinput:gge}}})}var pge=fu({ArrowLeft:xx("horiz",-1),ArrowRight:xx("horiz",1),ArrowUp:xx("vert",-1),ArrowDown:xx("vert",1)});function xx(t,e){let n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,o){let a=r.selection,s=e>0?a.$to:a.$from,l=a.empty;if(a instanceof Ne){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(e>0?s.after():s.before())}let c=ri.findGapCursorFrom(s,e,l);return c?(i&&i(r.tr.setSelection(new ri(c))),!0):!1}}function mge(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!ri.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Le.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new ri(r))),!0)}function gge(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof ri))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=Z.empty;for(let a=r.length-1;a>=0;a--)i=Z.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new ce(i,0,0));return o.setSelection(Ne.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function yge(t){if(!(t.selection instanceof ri))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Et.create(t.doc,[pn.widget(t.selection.head,e,{key:"gapcursor"})])}function xI(t,e){return Object.assign(t,{meta:S({package:"@milkdown/plugin-cursor"},e)}),t}var CI=Bt({},"dropCursorConfig");xI(CI,{displayName:"Ctx<dropCursor>"});var sH=$t(t=>oH(t.get(CI.key)));xI(sH,{displayName:"Prose<dropCursor>"});var lH=$t(()=>aH());xI(lH,{displayName:"Prose<gapCursor>"});var cH=[CI,sH,lH];var hH=wo(V0(),1);var MI=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Ze=(t,e,n)=>(MI(t,e,"read from private field"),n?n.call(t):e.get(t)),Dn=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Pt=(t,e,n,r)=>(MI(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),bge=(t,e,n)=>(MI(t,e,"access private method"),n);function _ge(t,e){var n;let{state:r}=t,i=r.selection.$anchor;for(let o=i.depth;o>0;o--)if(i.node(o).type.spec.tableRole==="table"){let a=t.posAtCoords({left:e.clientX,top:e.clientY});if(!a)return null;let s=(n=t.dragging)==null?void 0:n.slice;if(!s)return null;let l=t.state.doc.resolve(a.pos),c=Vh(t.state.doc,l.pos,s);if(c==null||c<0)return null;let d=r.tr;d=d.delete(i.before(o),i.after(o));let u=d.mapping.map(c);return d=d.replaceRange(u,u,s),d}return null}function wge(t,e,n){let{node:r}=t.domAtPos(n.pos),i=r,o=i.parentElement;for(;o&&o!==e&&n.pos===t.posAtDOM(o,0);)i=o,o=o.parentElement;return i}var vge=t=>!t.type.isBlock;function kge(t){let e=t.parent,n=t.node();return e===n&&(e=t.node(t.depth-1)),!e||e.type.name==="doc"?!1:e.firstChild===n}function xge(t,e,n){let r=e.dom.parentElement;if(!r)return null;let i=e.posAtDOM(t,0);if(i<=0)return null;let o=e.state.doc.resolve(i),a=o.node();if(a.type.name==="doc")return null;for(;a&&(vge(a)||kge(o)||!n(a));)o=e.state.doc.resolve(o.before()),a=o.node();o=e.state.doc.resolve(o.pos-o.parentOffset);let s=wge(e,r,o);return{node:a,$pos:o,el:s}}var dH=null;function Cge(){return dH||(dH=document.implementation.createHTMLDocument("title"))}var Dge={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};function Sge(t,e){let n=[],{openStart:r,openEnd:i,content:o}=e;for(;r>1&&i>1&&o.childCount===1&&o.firstChild.childCount===1;){r-=1,i-=1;let h=o.firstChild;n.push(h.type.name,h.attrs!==h.type.defaultAttrs?h.attrs:null),o=h.content}let a=t.someProp("clipboardSerializer")||Ao.fromSchema(t.state.schema),s=Cge(),l=s.createElement("div");l.appendChild(a.serializeFragment(o,{document:s}));let c=l.firstChild,d,u=0;for(;c&&c.nodeType===1&&(d=Dge[c.nodeName.toLowerCase()]);){for(let h=d.length-1;h>=0;h--){let p=s.createElement(d[h]);for(;l.firstChild;)p.appendChild(l.firstChild);l.appendChild(p),u++}c=l.firstChild}c&&c.nodeType===1&&c.setAttribute("data-pm-slice",`${r} ${i}${u?` -${u}`:""} ${JSON.stringify(n)}`);let f=t.someProp("clipboardTextSerializer",h=>h(e,t))||e.content.textBetween(0,e.content.size,` +|(?![\\s\\S])))+`,"m"),alias:o,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(r)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:n})})(t)}_y.displayName="go";_y.aliases=[];function _y(t){t.register(mr),t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}wy.displayName="ini";wy.aliases=[];function wy(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}vy.displayName="java";vy.aliases=[];function vy(t){t.register(mr),function(e){var n=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,i={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[i,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:i.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:i.inside}],keyword:n,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":i,keyword:n,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:i.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:i.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return n.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(t)}ky.displayName="regex";ky.aliases=[];function ky(t){(function(e){var n={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},a="(?:[^\\\\-]|"+r.source+")",s=RegExp(a+"-"+a),l={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:s,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":n,"char-set":o,escape:r}},"special-escape":n,"char-set":i,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":l}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":l}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}})(t)}$u.displayName="javascript";$u.aliases=["js"];function $u(t){t.register(mr),t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript}xy.displayName="json";xy.aliases=["webmanifest"];function xy(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}Cy.displayName="kotlin";Cy.aliases=["kt","kts"];function Cy(t){t.register(mr),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var n={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:n},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:n},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(t)}Dy.displayName="less";Dy.aliases=[];function Dy(t){t.register(wa),t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}Sy.displayName="lua";Sy.aliases=[];function Sy(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}Ey.displayName="makefile";Ey.aliases=[];function Ey(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}My.displayName="yaml";My.aliases=["yml"];function My(t){(function(e){var n=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+r.source+"(?:[ ]+"+n.source+")?|"+n.source+"(?:[ ]+"+r.source+")?)",o=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function s(l,c){c=(c||"").replace(/m/g,"")+"m";var d=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<value>>/g,function(){return l});return RegExp(d,c)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return i}).replace(/<<key>>/g,function(){return"(?:"+o+"|"+a+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:s(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:s(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:s(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:s(a),lookbehind:!0,greedy:!0},number:{pattern:s(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:n,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml})(t)}Ty.displayName="markdown";Ty.aliases=["md"];function Ty(t){t.register(sl),function(e){var n=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(u){return u=u.replace(/<inner>/g,function(){return n}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+u+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+a+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+a+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(u){["url","bold","italic","strike","code-snippet"].forEach(function(f){u!==f&&(e.languages.markdown[u].inside.content.inside[f]=e.languages.markdown[f])})}),e.hooks.add("after-tokenize",function(u){if(u.language!=="markdown"&&u.language!=="md")return;function f(p){if(!(!p||typeof p=="string"))for(var h=0,g=p.length;h<g;h++){var b=p[h];if(b.type!=="code"){f(b.content);continue}var _=b.content[1],x=b.content[3];if(_&&x&&_.type==="code-language"&&x.type==="code-block"&&typeof _.content=="string"){var E=_.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp");E=(/[a-z][\w-]*/i.exec(E)||[""])[0].toLowerCase();var v="language-"+E;x.alias?typeof x.alias=="string"?x.alias=[x.alias,v]:x.alias.push(v):x.alias=[v]}}}f(u.tokens)}),e.hooks.add("wrap",function(u){if(u.type==="code-block"){for(var f="",p=0,h=u.classes.length;p<h;p++){var g=u.classes[p],b=/language-(.+)/.exec(g);if(b){f=b[1];break}}var _=e.languages[f];if(_)u.content=e.highlight(u.content.value,_,f);else if(f&&f!=="none"&&e.plugins.autoloader){var x="md-"+new Date().valueOf()+"-"+Math.floor(Math.random()*1e16);u.attributes.id=x,e.plugins.autoloader.loadLanguages(f,function(){var E=document.getElementById(x);E&&(E.innerHTML=e.highlight(E.textContent,e.languages[f],f))})}}});var s=RegExp(e.languages.markup.tag.pattern.source,"gi"),l={amp:"&",lt:"<",gt:">",quot:'"'},c=String.fromCodePoint||String.fromCharCode;function d(u){var f=u.replace(s,"");return f=f.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(p,h){if(h=h.toLowerCase(),h[0]==="#"){var g;return h[1]==="x"?g=parseInt(h.slice(2),16):g=Number(h.slice(1)),c(g)}else{var b=l[h];return b||p}}),f}e.languages.md=e.languages.markdown}(t)}Ay.displayName="objectivec";Ay.aliases=["objc"];function Ay(t){t.register(al),t.languages.objectivec=t.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete t.languages.objectivec["class-name"],t.languages.objc=t.languages.objectivec}Iy.displayName="perl";Iy.aliases=[];function Iy(t){(function(e){var n=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,n].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,n+/\s*/.source+n].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}qu.displayName="markup-templating";qu.aliases=[];function qu(t){t.register(sl),function(e){function n(r,i){return"___"+r.toUpperCase()+i+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(r,i,o,a){if(r.language===i){var s=r.tokenStack=[];r.code=r.code.replace(o,function(l){if(typeof a=="function"&&!a(l))return l;for(var c=s.length,d;r.code.indexOf(d=n(i,c))!==-1;)++c;return s[c]=l,d}),r.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(r,i){if(r.language!==i||!r.tokenStack)return;r.grammar=e.languages[i];var o=0,a=Object.keys(r.tokenStack);function s(l){for(var c=0;c<l.length&&!(o>=a.length);c++){var d=l[c];if(typeof d=="string"||d.content&&typeof d.content=="string"){var u=a[o],f=r.tokenStack[u],p=typeof d=="string"?d:d.content,h=n(i,u),g=p.indexOf(h);if(g>-1){++o;var b=p.substring(0,g),_=new e.Token(i,e.tokenize(f,r.grammar),"language-"+i,f),x=p.substring(g+h.length),E=[];b&&E.push.apply(E,s([b])),E.push(_),x&&E.push.apply(E,s([x])),typeof d=="string"?l.splice.apply(l,[c,1].concat(E)):d.content=E}}else d.content&&s(d.content)}return l}s(r.tokens)}}})}(t)}Oy.displayName="php";Oy.aliases=[];function Oy(t){t.register(qu),function(e){var n=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:n,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:o,punctuation:a};var s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}];e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:n,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:i,operator:o,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(c){if(/<\?/.test(c.code)){var d=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;e.languages["markup-templating"].buildPlaceholders(c,"php",d)}}),e.hooks.add("after-tokenize",function(c){e.languages["markup-templating"].tokenizePlaceholders(c,"php")})}(t)}Py.displayName="python";Py.aliases=["py"];function Py(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}Fy.displayName="r";Fy.aliases=[];function Fy(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}Ny.displayName="ruby";Ny.aliases=["rb"];function Ny(t){t.register(mr),function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var n={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",i=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:n,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:n,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(t)}Ry.displayName="rust";Ry.aliases=[];function Ry(t){(function(e){for(var n=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,r=0;r<2;r++)n=n.replace(/<self>/g,function(){return n});n=n.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+n),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string})(t)}jy.displayName="sass";jy.aliases=[];function jy(t){t.register(wa),function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var n=/\$[-\w]+|#\{\$[-\w]+\}/,r=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:n,operator:r}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:n,operator:r,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(t)}zy.displayName="scss";zy.aliases=[];function zy(t){t.register(wa),t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}Ly.displayName="sql";Ly.aliases=[];function Ly(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}By.displayName="swift";By.aliases=[];function By(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=t.languages.swift})}Vy.displayName="typescript";Vy.aliases=["ts"];function Vy(t){t.register($u),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var n=e.languages.extend("typescript",{});delete n["class-name"],e.languages.typescript["class-name"].inside=n,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:n}}}}),e.languages.ts=e.languages.typescript}(t)}Wu.displayName="basic";Wu.aliases=[];function Wu(t){t.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}Uy.displayName="vbnet";Uy.aliases=[];function Uy(t){t.register(Wu),t.languages.vbnet=t.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}var ll=class{constructor(e,n,r){this.property=e,this.normal=n,r&&(this.space=r)}};ll.prototype.property={};ll.prototype.normal={};ll.prototype.space=null;function sI(t,e){let n={},r={},i=-1;for(;++i<t.length;)Object.assign(n,t[i].property),Object.assign(r,t[i].normal);return new ll(n,r,e)}function cl(t){return t.toLowerCase()}var ni=class{constructor(e,n){this.property=e,this.attribute=n}};ni.prototype.space=null;ni.prototype.boolean=!1;ni.prototype.booleanish=!1;ni.prototype.overloadedBoolean=!1;ni.prototype.number=!1;ni.prototype.commaSeparated=!1;ni.prototype.spaceSeparated=!1;ni.prototype.commaOrSpaceSeparated=!1;ni.prototype.mustUseProperty=!1;ni.prototype.defined=!1;var Hy={};S5(Hy,{boolean:()=>ft,booleanish:()=>Bn,commaOrSpaceSeparated:()=>ji,commaSeparated:()=>Ac,number:()=>re,overloadedBoolean:()=>lI,spaceSeparated:()=>sn});var Kme=0,ft=Gu(),Bn=Gu(),lI=Gu(),re=Gu(),sn=Gu(),Ac=Gu(),ji=Gu();function Gu(){return 2**++Kme}var cI=Object.keys(Hy),Yu=class extends ni{constructor(e,n,r,i){let o=-1;if(super(e,n),KU(this,"space",i),typeof r=="number")for(;++o<cI.length;){let a=cI[o];KU(this,cI[o],(r&Hy[a])===Hy[a])}}};Yu.prototype.defined=!0;function KU(t,e,n){n&&(t[e]=n)}var Zme={}.hasOwnProperty;function Uo(t){let e={},n={},r;for(r in t.properties)if(Zme.call(t.properties,r)){let i=t.properties[r],o=new Yu(r,t.transform(t.attributes||{},r),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),e[r]=o,n[cl(r)]=r,n[cl(o.attribute)]=r}return new ll(e,n,t.space)}var dI=Uo({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var uI=Uo({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Cx(t,e){return e in t?t[e]:e}function Dx(t,e){return Cx(t,e.toLowerCase())}var fI=Uo({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Dx,properties:{xmlns:null,xmlnsXLink:null}});var pI=Uo({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Bn,ariaAutoComplete:null,ariaBusy:Bn,ariaChecked:Bn,ariaColCount:re,ariaColIndex:re,ariaColSpan:re,ariaControls:sn,ariaCurrent:null,ariaDescribedBy:sn,ariaDetails:null,ariaDisabled:Bn,ariaDropEffect:sn,ariaErrorMessage:null,ariaExpanded:Bn,ariaFlowTo:sn,ariaGrabbed:Bn,ariaHasPopup:null,ariaHidden:Bn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:sn,ariaLevel:re,ariaLive:null,ariaModal:Bn,ariaMultiLine:Bn,ariaMultiSelectable:Bn,ariaOrientation:null,ariaOwns:sn,ariaPlaceholder:null,ariaPosInSet:re,ariaPressed:Bn,ariaReadOnly:Bn,ariaRelevant:null,ariaRequired:Bn,ariaRoleDescription:sn,ariaRowCount:re,ariaRowIndex:re,ariaRowSpan:re,ariaSelected:Bn,ariaSetSize:re,ariaSort:null,ariaValueMax:re,ariaValueMin:re,ariaValueNow:re,ariaValueText:null,role:null}});var ZU=Uo({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Dx,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ac,acceptCharset:sn,accessKey:sn,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:sn,autoFocus:ft,autoPlay:ft,blocking:sn,capture:ft,charSet:null,checked:ft,cite:null,className:sn,cols:re,colSpan:null,content:null,contentEditable:Bn,controls:ft,controlsList:sn,coords:re|Ac,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:lI,draggable:Bn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:sn,height:re,hidden:ft,high:re,href:null,hrefLang:null,htmlFor:sn,httpEquiv:sn,id:null,imageSizes:null,imageSrcSet:null,inert:ft,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:sn,itemRef:sn,itemScope:ft,itemType:sn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:re,manifest:null,max:null,maxLength:re,media:null,method:null,min:null,minLength:re,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ft,optimum:re,pattern:null,ping:sn,placeholder:null,playsInline:ft,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:sn,required:ft,reversed:ft,rows:re,rowSpan:re,sandbox:sn,scope:null,scoped:ft,seamless:ft,selected:ft,shadowRootDelegatesFocus:ft,shadowRootMode:null,shape:null,size:re,sizes:null,slot:null,span:re,spellCheck:Bn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:re,step:null,style:null,tabIndex:re,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:Bn,width:re,wrap:null,align:null,aLink:null,archive:sn,axis:null,background:null,bgColor:null,border:re,borderColor:null,bottomMargin:re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:re,leftMargin:re,link:null,longDesc:null,lowSrc:null,marginHeight:re,marginWidth:re,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:re,rules:null,scheme:null,scrolling:Bn,standby:null,summary:null,text:null,topMargin:re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:re,security:null,unselectable:null}});var XU=Uo({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Cx,properties:{about:ji,accentHeight:re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:re,amplitude:re,arabicForm:null,ascent:re,attributeName:null,attributeType:null,azimuth:re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:re,by:null,calcMode:null,capHeight:re,className:sn,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:re,diffuseConstant:re,direction:null,display:null,dur:null,divisor:re,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:re,enableBackground:null,end:null,event:null,exponent:re,externalResourcesRequired:null,fill:null,fillOpacity:re,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:Ac,g2:Ac,glyphName:Ac,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:re,horizOriginX:re,horizOriginY:re,id:null,ideographic:re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:re,k:re,k1:re,k2:re,k3:re,k4:re,kernelMatrix:ji,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:re,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:re,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:re,overlineThickness:re,paintOrder:null,panose1:null,path:null,pathLength:re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:sn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:re,pointsAtY:re,pointsAtZ:re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ji,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ji,rev:ji,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ji,requiredFeatures:ji,requiredFonts:ji,requiredFormats:ji,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:re,specularExponent:re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:re,strikethroughThickness:re,string:null,stroke:null,strokeDashArray:ji,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:re,strokeOpacity:re,strokeWidth:null,style:null,surfaceScale:re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ji,tabIndex:re,tableValues:null,target:null,targetX:re,targetY:re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ji,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:re,underlineThickness:re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:re,values:null,vAlphabetic:re,vMathematical:re,vectorEffect:null,vHanging:re,vIdeographic:re,version:null,vertAdvY:re,vertOriginX:re,vertOriginY:re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var Xme=/^data[-\w.:]+$/i,QU=/-[a-z]/g,Qme=/[A-Z]/g;function hI(t,e){let n=cl(e),r=e,i=ni;if(n in t.normal)return t.property[t.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Xme.test(e)){if(e.charAt(4)==="-"){let o=e.slice(5).replace(QU,ege);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=e.slice(4);if(!QU.test(o)){let a=o.replace(Qme,Jme);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=Yu}return new i(r,e)}function Jme(t){return"-"+t.toLowerCase()}function ege(t){return t.charAt(1).toUpperCase()}var JU=sI([uI,dI,fI,pI,ZU],"html"),YHe=sI([uI,dI,fI,pI,XU],"svg");var eH=/[#.]/g;function mI(t,e){let n=t||"",r={},i=0,o,a;for(;i<n.length;){eH.lastIndex=i;let s=eH.exec(n),l=n.slice(i,s?s.index:n.length);l&&(o?o==="#"?r.id=l:Array.isArray(r.className)?r.className.push(l):r.className=[l]:a=l,i+=l.length),s&&(o=s[0],i++)}return{type:"element",tagName:a||e||"div",properties:r,children:[]}}function gI(t){let e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function yI(t){let e=[],n=String(t||""),r=n.indexOf(","),i=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);let a=n.slice(i,r).trim();(a||!o)&&e.push(a),i=r+1,r=n.indexOf(",",i)}return e}var tge=new Set(["menu","submit","reset","button"]),bI={}.hasOwnProperty;function nH(t,e,n){let r=n&&oge(n);return function(o,a,...s){let l=-1,c;if(o==null)c={type:"root",children:[]},s.unshift(a);else if(c=mI(o,e),c.tagName=c.tagName.toLowerCase(),r&&bI.call(r,c.tagName)&&(c.tagName=r[c.tagName]),nge(a,c.tagName)){let d;for(d in a)bI.call(a,d)&&rge(t,c.properties,d,a[d])}else s.unshift(a);for(;++l<s.length;)_I(c.children,s[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}}function nge(t,e){return t==null||typeof t!="object"||Array.isArray(t)?!1:e==="input"||!t.type||typeof t.type!="string"?!0:"children"in t&&Array.isArray(t.children)?!1:e==="button"?tge.has(t.type.toLowerCase()):!("value"in t)}function rge(t,e,n,r){let i=hI(t,n),o=-1,a;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;a=r}else typeof r=="boolean"?a=r:typeof r=="string"?i.spaceSeparated?a=gI(r):i.commaSeparated?a=yI(r):i.commaOrSpaceSeparated?a=gI(yI(r).join(" ")):a=tH(i,i.property,r):Array.isArray(r)?a=r.concat():a=i.property==="style"?ige(r):String(r);if(Array.isArray(a)){let s=[];for(;++o<a.length;)s[o]=tH(i,i.property,a[o]);a=s}i.property==="className"&&Array.isArray(e.className)&&(a=e.className.concat(a)),e[i.property]=a}}function _I(t,e){let n=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++n<e.length;)_I(t,e[n]);else if(typeof e=="object"&&"type"in e)e.type==="root"?_I(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function tH(t,e,n){if(typeof n=="string"){if(t.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((t.boolean||t.overloadedBoolean)&&(n===""||cl(n)===cl(e)))return!0}return n}function ige(t){let e=[],n;for(n in t)bI.call(t,n)&&e.push([n,t[n]].join(": "));return e.join("; ")}function oge(t){let e={},n=-1;for(;++n<t.length;)e[t[n].toLowerCase()]=t[n];return e}var Sx=nH(JU,"div");var rH=["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"];var wI={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 Ex(t){let e=typeof t=="string"?t.charCodeAt(0):t;return e>=48&&e<=57}function iH(t){let e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=102||e>=65&&e<=70||e>=48&&e<=57}function oH(t){let e=typeof t=="string"?t.charCodeAt(0):t;return e>=97&&e<=122||e>=65&&e<=90}function vI(t){return oH(t)||Ex(t)}var Ih=String.fromCharCode,age=["","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 kI(t,e={}){let n=typeof e.additional=="string"?e.additional.charCodeAt(0):e.additional,r=[],i=0,o=-1,a="",s,l;e.position&&("start"in e.position||"indent"in e.position?(l=e.position.indent,s=e.position.start):s=e.position);let c=(s?s.line:0)||1,d=(s?s.column:0)||1,u=p(),f;for(i--;++i<=t.length;)if(f===10&&(d=(l?l[o]:0)||1),f=t.charCodeAt(i),f===38){let b=t.charCodeAt(i+1);if(b===9||b===10||b===12||b===32||b===38||b===60||Number.isNaN(b)||n&&b===n){a+=Ih(f),d++;continue}let _=i+1,x=_,E=_,v;if(b===35){E=++x;let V=t.charCodeAt(E);V===88||V===120?(v="hexadecimal",E=++x):v="decimal"}else v="named";let j="",C="",P="",z=v==="named"?vI:v==="decimal"?Ex:iH;for(E--;++E<=t.length;){let V=t.charCodeAt(E);if(!z(V))break;P+=Ih(V),v==="named"&&rH.includes(P)&&(j=P,C=Ts(P))}let N=t.charCodeAt(E)===59;if(N){E++;let V=v==="named"?Ts(P):!1;V&&(j=P,C=V)}let O=1+E-_,J="";if(!(!N&&e.nonTerminated===!1))if(!P)v!=="named"&&h(4,O);else if(v==="named"){if(N&&!C)h(5,1);else if(j!==P&&(E=x+j.length,O=1+E-x,N=!1),!N){let V=j?1:3;if(e.attribute){let Y=t.charCodeAt(E);Y===61?(h(V,O),C=""):vI(Y)?C="":h(V,O)}else h(V,O)}J=C}else{N||h(2,O);let V=Number.parseInt(P,v==="hexadecimal"?16:10);if(sge(V))h(7,O),J=Ih(65533);else if(V in wI)h(6,O),J=wI[V];else{let Y="";lge(V)&&h(6,O),V>65535&&(V-=65536,Y+=Ih(V>>>10|55296),V=56320|V&1023),J=Y+Ih(V)}}if(J){g(),u=p(),i=E-1,d+=E-_+1,r.push(J);let V=p();V.offset++,e.reference&&e.reference.call(e.referenceContext,J,{start:u,end:V},t.slice(_-1,E)),u=V}else P=t.slice(_-1,E),a+=P,d+=P.length,i=E-1}else f===10&&(c++,o++,d=0),Number.isNaN(f)?g():(a+=Ih(f),d++);return r.join("");function p(){return{line:c,column:d,offset:i+((s?s.offset:0)||0)}}function h(b,_){let x;e.warning&&(x=p(),x.column+=_,x.offset+=_,e.warning.call(e.warningContext,age[b],x,b))}function g(){a&&(r.push(a),e.text&&e.text.call(e.textContext,a,{start:u,end:p()}),a="")}}function sge(t){return t>=55296&&t<=57343||t>1114111}function lge(t){return t>=1&&t<=8||t===11||t>=13&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534}var cge=0,Mx={},Mr={util:{type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++cge}),t.__id},clone:function t(e,n){n=n||{};var r,i;switch(Mr.util.type(e)){case"Object":if(i=Mr.util.objId(e),n[i])return n[i];r={},n[i]=r;for(var o in e)e.hasOwnProperty(o)&&(r[o]=t(e[o],n));return r;case"Array":return i=Mr.util.objId(e),n[i]?n[i]:(r=[],n[i]=r,e.forEach(function(a,s){r[s]=t(a,n)}),r);default:return e}}},languages:{plain:Mx,plaintext:Mx,text:Mx,txt:Mx,extend:function(t,e){var n=Mr.util.clone(Mr.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){r=r||Mr.languages;var i=r[t],o={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);n.hasOwnProperty(a)||(o[a]=i[a])}var l=r[t];return r[t]=o,Mr.languages.DFS(Mr.languages,function(c,d){d===l&&c!=t&&(this[c]=o)}),o},DFS:function t(e,n,r,i){i=i||{};var o=Mr.util.objId;for(var a in e)if(e.hasOwnProperty(a)){n.call(e,a,e[a],r||a);var s=e[a],l=Mr.util.type(s);l==="Object"&&!i[o(s)]?(i[o(s)]=!0,t(s,n,null,i)):l==="Array"&&!i[o(s)]&&(i[o(s)]=!0,t(s,n,a,i))}}},plugins:{},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(Mr.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=Mr.tokenize(r.code,r.grammar),Mr.hooks.run("after-tokenize",r),$y.stringify(Mr.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var i=new dge;return Tx(i,i.head,t),sH(t,i,e,i.head,0),fge(i)},hooks:{all:{},add:function(t,e){var n=Mr.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=Mr.hooks.all[t];if(!(!n||!n.length))for(var r=0,i;i=n[r++];)i(e)}},Token:$y};function $y(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=(r||"").length|0}function aH(t,e,n,r){t.lastIndex=e;var i=t.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function sH(t,e,n,r,i,o){for(var a in n)if(!(!n.hasOwnProperty(a)||!n[a])){var s=n[a];s=Array.isArray(s)?s:[s];for(var l=0;l<s.length;++l){if(o&&o.cause==a+","+l)return;var c=s[l],d=c.inside,u=!!c.lookbehind,f=!!c.greedy,p=c.alias;if(f&&!c.pattern.global){var h=c.pattern.toString().match(/[imsuy]*$/)[0];c.pattern=RegExp(c.pattern.source,h+"g")}for(var g=c.pattern||c,b=r.next,_=i;b!==e.tail&&!(o&&_>=o.reach);_+=b.value.length,b=b.next){var x=b.value;if(e.length>t.length)return;if(!(x instanceof $y)){var E=1,v;if(f){if(v=aH(g,_,t,u),!v||v.index>=t.length)break;var z=v.index,j=v.index+v[0].length,C=_;for(C+=b.value.length;z>=C;)b=b.next,C+=b.value.length;if(C-=b.value.length,_=C,b.value instanceof $y)continue;for(var P=b;P!==e.tail&&(C<j||typeof P.value=="string");P=P.next)E++,C+=P.value.length;E--,x=t.slice(_,C),v.index-=_}else if(v=aH(g,0,x,u),!v)continue;var z=v.index,N=v[0],O=x.slice(0,z),J=x.slice(z+N.length),V=_+x.length;o&&V>o.reach&&(o.reach=V);var Y=b.prev;O&&(Y=Tx(e,Y,O),_+=O.length),uge(e,Y,E);var ie=new $y(a,d?Mr.tokenize(N,d):N,p,N);if(b=Tx(e,Y,ie),J&&Tx(e,b,J),E>1){var me={cause:a+","+l,reach:V};sH(t,e,n,b.prev,_,me),o&&me.reach>o.reach&&(o.reach=me.reach)}}}}}}function dge(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function Tx(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}function uge(t,e,n){for(var r=e.next,i=0;i<n&&r!==t.tail;i++)r=r.next;e.next=r,r.prev=e,t.length-=i}function fge(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}var xI=Mr;var Oh={}.hasOwnProperty;function lH(){}lH.prototype=xI;var Ae=new lH;Ae.highlight=pge;Ae.register=hge;Ae.alias=mge;Ae.registered=gge;Ae.listLanguages=yge;Ae.util.encode=bge;Ae.Token.stringify=CI;function pge(t,e){if(typeof t!="string")throw new TypeError("Expected `string` for `value`, got `"+t+"`");let n,r;if(e&&typeof e=="object")n=e;else{if(r=e,typeof r!="string")throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(Oh.call(Ae.languages,r))n=Ae.languages[r];else throw new Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:xI.highlight.call(Ae,t,n,r)}}function hge(t){if(typeof t!="function"||!t.displayName)throw new Error("Expected `function` for `syntax`, got `"+t+"`");Oh.call(Ae.languages,t.displayName)||t(Ae)}function mge(t,e){let n=Ae.languages,r={};typeof t=="string"?e&&(r[t]=e):r=t;let i;for(i in r)if(Oh.call(r,i)){let o=r[i],a=typeof o=="string"?[o]:o,s=-1;for(;++s<a.length;)n[a[s]]=n[i]}}function gge(t){if(typeof t!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+t+"`");return Oh.call(Ae.languages,t)}function yge(){let t=Ae.languages,e=[],n;for(n in t)Oh.call(t,n)&&typeof t[n]=="object"&&e.push(n);return e}function CI(t,e){if(typeof t=="string")return{type:"text",value:t};if(Array.isArray(t)){let r=[],i=-1;for(;++i<t.length;)t[i]!==""&&t[i]!==null&&t[i]!==void 0&&r.push(CI(t[i],e));return r}let n={type:t.type,content:CI(t.content,e),tag:"span",classes:["token",t.type],attributes:{},language:e};return t.alias&&n.classes.push(...typeof t.alias=="string"?[t.alias]:t.alias),Ae.hooks.run("wrap",n),Sx(n.tag+"."+n.classes.join("."),_ge(n.attributes),n.content)}function bge(t){return t}function _ge(t){let e;for(e in t)Oh.call(t,e)&&(t[e]=kI(t[e]));return t}Ae.register(mr);Ae.register(al);Ae.register(Hu);Ae.register(my);Ae.register(gy);Ae.register(yy);Ae.register(sl);Ae.register(wa);Ae.register(by);Ae.register(_y);Ae.register(wy);Ae.register(vy);Ae.register(ky);Ae.register($u);Ae.register(xy);Ae.register(Cy);Ae.register(Dy);Ae.register(Sy);Ae.register(Ey);Ae.register(My);Ae.register(Ty);Ae.register(Ay);Ae.register(Iy);Ae.register(qu);Ae.register(Oy);Ae.register(Py);Ae.register(Fy);Ae.register(Ny);Ae.register(Ry);Ae.register(jy);Ae.register(zy);Ae.register(Ly);Ae.register(By);Ae.register(Vy);Ae.register(Wu);Ae.register(Uy);function dH(t,e=[]){return t.flatMap(n=>{var r;return n.type==="element"?dH(n.children,[...e,...((r=n.properties)==null?void 0:r.className)||[]]):[{text:n.value,className:e}]})}function cH(t,e,n){let{highlight:r,listLanguages:i}=n,o=i(),a=[];return J1(s=>s.type.name===e)(t).forEach(s=>{let l=s.pos+1,{language:c}=s.node.attrs;if(!c||!o.includes(c)){console.warn("Unsupported language detected, this language has not been supported by current prism config: ",c);return}let d=r(s.node.textContent,c);dH(d.children).forEach(u=>{let f=l+u.text.length;if(u.className.length){let p=gn.inline(l,f,{class:u.className.join(" ")});a.push(p)}l=f})}),wt.create(t,a)}var DI=Vt({configureRefractor:()=>{}},"prismConfig");DI.meta={package:"@milkdown/plugin-prism",displayName:"Ctx<prism>"};var uH=Bt(t=>{let{configureRefractor:e}=t.get(DI.key),n="code_block";return new Le({key:new Je("MILKDOWN_PRISM"),state:{init:(r,{doc:i})=>{let o=e(Ae);return cH(i,n,o??Ae)},apply:(r,i,o,a)=>{var s,l;let c=a.selection.$head.parent.type.name===n,d=o.selection.$head.parent.type.name===n,u=J1(p=>p.type.name===n)(o.doc),f=J1(p=>p.type.name===n)(a.doc);return r.docChanged&&(c||d||u.length!==f.length||((s=u[0])==null?void 0:s.node.attrs.language)!==((l=f[0])==null?void 0:l.node.attrs.language)||r.steps.some(p=>{let h=p;return h.from!==void 0&&h.to!==void 0&&u.some(g=>g.pos>=h.from&&g.pos+g.node.nodeSize<=h.to)}))?cH(r.doc,n,Ae):i.map(r.mapping,r.doc)}},props:{decorations(r){return this.getState(r)}}})});uH.meta={package:"@milkdown/plugin-prism",displayName:"Prose<prism>"};var Ax=[uH,DI];function fH(t={}){return new Le({view(e){return new SI(e,t)}})}var SI=class{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return e.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r;if(n){let s=e.nodeBefore,l=e.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let d=c.getBoundingClientRect(),u=s?d.bottom:d.top;s&&l&&(u=(u+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:d.left,right:d.right,top:u-this.width/2,bottom:u+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,e):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=Up(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){(e.target==this.editorView.dom||!this.editorView.dom.contains(e.relatedTarget))&&this.setCursor(null)}};var ri=class t extends Ne{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return t.valid(r)?new t(r):Ne.near(r)}content(){return ce.empty}eq(e){return e instanceof t&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new t(e.resolve(n.pos))}getBookmark(){return new EI(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!wge(e)||!vge(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(e.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&t.valid(e))return e;let i=e.pos,o=null;for(let a=e.depth;;a--){let s=e.node(a);if(n>0?e.indexAfter(a)<s.childCount:e.index(a)>0){o=s.child(n>0?e.indexAfter(a):e.index(a)-1);break}else if(a==0)return null;i+=n;let l=e.doc.resolve(i);if(t.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!Ue.isSelectable(o)){e=e.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=e.doc.resolve(i);if(t.valid(s))return s}return null}}};ri.prototype.visible=!1;ri.findFrom=ri.findGapCursorFrom;Ne.jsonID("gapcursor",ri);var EI=class t{constructor(e){this.pos=e}map(e){return new t(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return ri.valid(n)?new ri(n):Ne.near(n)}};function wge(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function vge(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function pH(){return new Le({props:{decorations:Dge,createSelectionBetween(t,e,n){return e.pos==n.pos&&ri.valid(n)?new ri(n):null},handleClick:xge,handleKeyDown:kge,handleDOMEvents:{beforeinput:Cge}}})}var kge=pu({ArrowLeft:Ix("horiz",-1),ArrowRight:Ix("horiz",1),ArrowUp:Ix("vert",-1),ArrowDown:Ix("vert",1)});function Ix(t,e){let n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,i,o){let a=r.selection,s=e>0?a.$to:a.$from,l=a.empty;if(a instanceof je){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(e>0?s.after():s.before())}let c=ri.findGapCursorFrom(s,e,l);return c?(i&&i(r.tr.setSelection(new ri(c))),!0):!1}}function xge(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!ri.valid(r))return!1;let i=t.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&Ue.isSelectable(t.state.doc.nodeAt(i.inside))?!1:(t.dispatch(t.state.tr.setSelection(new ri(r))),!0)}function Cge(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof ri))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let i=Z.empty;for(let a=r.length-1;a>=0;a--)i=Z.from(r[a].createAndFill(null,i));let o=t.state.tr.replace(n.pos,n.pos,new ce(i,0,0));return o.setSelection(je.near(o.doc.resolve(n.pos+1))),t.dispatch(o),!1}function Dge(t){if(!(t.selection instanceof ri))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",wt.create(t.doc,[gn.widget(t.selection.head,e,{key:"gapcursor"})])}function MI(t,e){return Object.assign(t,{meta:D({package:"@milkdown/plugin-cursor"},e)}),t}var TI=Vt({},"dropCursorConfig");MI(TI,{displayName:"Ctx<dropCursor>"});var hH=Bt(t=>fH(t.get(TI.key)));MI(hH,{displayName:"Prose<dropCursor>"});var mH=Bt(()=>pH());MI(mH,{displayName:"Prose<gapCursor>"});var gH=[TI,hH,mH];var wH=ko(H0(),1);var PI=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Xe=(t,e,n)=>(PI(t,e,"read from private field"),n?n.call(t):e.get(t)),En=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Pt=(t,e,n,r)=>(PI(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),Sge=(t,e,n)=>(PI(t,e,"access private method"),n);function Ege(t,e){var n;let{state:r}=t,i=r.selection.$anchor;for(let o=i.depth;o>0;o--)if(i.node(o).type.spec.tableRole==="table"){let a=t.posAtCoords({left:e.clientX,top:e.clientY});if(!a)return null;let s=(n=t.dragging)==null?void 0:n.slice;if(!s)return null;let l=t.state.doc.resolve(a.pos),c=Up(t.state.doc,l.pos,s);if(c==null||c<0)return null;let d=r.tr;d=d.delete(i.before(o),i.after(o));let u=d.mapping.map(c);return d=d.replaceRange(u,u,s),d}return null}function Mge(t,e,n){let{node:r}=t.domAtPos(n.pos),i=r,o=i.parentElement;for(;o&&o!==e&&n.pos===t.posAtDOM(o,0);)i=o,o=o.parentElement;return i}var Tge=t=>!t.type.isBlock;function Age(t){let e=t.parent,n=t.node();return e===n&&(e=t.node(t.depth-1)),!e||e.type.name==="doc"?!1:e.firstChild===n}function Ige(t,e,n){let r=e.dom.parentElement;if(!r)return null;let i=e.posAtDOM(t,0);if(i<=0)return null;let o=e.state.doc.resolve(i),a=o.node();if(a.type.name==="doc")return null;for(;a&&(Tge(a)||Age(o)||!n(a));)o=e.state.doc.resolve(o.before()),a=o.node();o=e.state.doc.resolve(o.pos-o.parentOffset);let s=Mge(e,r,o);return{node:a,$pos:o,el:s}}var yH=null;function Oge(){return yH||(yH=document.implementation.createHTMLDocument("title"))}var Pge={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};function Fge(t,e){let n=[],{openStart:r,openEnd:i,content:o}=e;for(;r>1&&i>1&&o.childCount===1&&o.firstChild.childCount===1;){r-=1,i-=1;let p=o.firstChild;n.push(p.type.name,p.attrs!==p.type.defaultAttrs?p.attrs:null),o=p.content}let a=t.someProp("clipboardSerializer")||Fi.fromSchema(t.state.schema),s=Oge(),l=s.createElement("div");l.appendChild(a.serializeFragment(o,{document:s}));let c=l.firstChild,d,u=0;for(;c&&c.nodeType===1&&(d=Pge[c.nodeName.toLowerCase()]);){for(let p=d.length-1;p>=0;p--){let h=s.createElement(d[p]);for(;l.firstChild;)h.appendChild(l.firstChild);l.appendChild(h),u++}c=l.firstChild}c&&c.nodeType===1&&c.setAttribute("data-pm-slice",`${r} ${i}${u?` -${u}`:""} ${JSON.stringify(n)}`);let f=t.someProp("clipboardTextSerializer",p=>p(e,t))||e.content.textBetween(0,e.content.size,` -`);return{dom:l,text:f}}var uH=wc.ie&&wc.ie_version<15||wc.ios&&wc.webkit_version<604,fH=20,Xy,Cx,Op,ul,$y,va,Oc,DI,pH,Pp,qy,Fp,Np,Dx,Wy,Gy,Yy,Ky,Zy,Sx,SI=class{constructor(){Dn(this,DI),Dn(this,Pp),Dn(this,Xy,void 0),Dn(this,Cx,void 0),Dn(this,Op,void 0),Dn(this,ul,void 0),Dn(this,$y,void 0),Dn(this,va,void 0),Dn(this,Oc,void 0),Dn(this,Fp,void 0),Dn(this,Np,void 0),Dn(this,Dx,void 0),Dn(this,Wy,void 0),Dn(this,Gy,void 0),Dn(this,Yy,void 0),Dn(this,Ky,void 0),Dn(this,Zy,void 0),Dn(this,Sx,void 0),Pt(this,Cx,()=>{if(!Ze(this,ul))return null;let e=Ze(this,ul),n=Ze(this,Pp,qy);if(n&&Le.isSelectable(e.node)){let r=Le.create(n.state.doc,e.$pos.pos-(e.node.isLeaf?0:1));return n.dispatch(n.state.tr.setSelection(r)),n.focus(),Pt(this,Op,r),r}return null}),Pt(this,Op,null),Pt(this,ul,null),Pt(this,$y,void 0),Pt(this,va,!1),Pt(this,Oc,!1),Pt(this,Np,()=>{var e;(e=Ze(this,Fp))==null||e.call(this,{type:"hide"}),Pt(this,Oc,!1),Pt(this,ul,null)}),Pt(this,Dx,e=>{var n;Pt(this,ul,e),(n=Ze(this,Fp))==null||n.call(this,{type:"show",active:e})}),this.bind=(e,n)=>{Pt(this,Xy,e),Pt(this,Fp,n)},this.addEvent=e=>{e.addEventListener("mousedown",Ze(this,Yy)),e.addEventListener("mouseenter",Ze(this,Wy)),e.addEventListener("mouseleave",Ze(this,Gy)),e.addEventListener("mouseup",Ze(this,Ky)),e.addEventListener("dragstart",Ze(this,Zy))},this.removeEvent=e=>{e.removeEventListener("mousedown",Ze(this,Yy)),e.removeEventListener("mouseenter",Ze(this,Wy)),e.removeEventListener("mouseleave",Ze(this,Gy)),e.removeEventListener("mouseup",Ze(this,Ky)),e.removeEventListener("dragstart",Ze(this,Zy))},this.unBind=()=>{Pt(this,Fp,void 0)},Pt(this,Wy,()=>{Pt(this,Oc,!0)}),Pt(this,Gy,()=>{Pt(this,Oc,!1)}),Pt(this,Yy,()=>{var e;Pt(this,$y,(e=Ze(this,ul))==null?void 0:e.el.getBoundingClientRect()),Ze(this,Cx).call(this)}),Pt(this,Ky,()=>{if(!Ze(this,va)){requestAnimationFrame(()=>{var e;Ze(this,$y)&&((e=Ze(this,Pp,qy))==null||e.focus())});return}Pt(this,va,!1),Pt(this,Op,null)}),Pt(this,Zy,e=>{Pt(this,va,!0);let n=Ze(this,Op),r=Ze(this,Pp,qy);if(r&&e.dataTransfer&&n){let i=n.content();e.dataTransfer.effectAllowed="copyMove";let{dom:o,text:a}=Sge(r,i);e.dataTransfer.clearData(),e.dataTransfer.setData(uH?"Text":"text/html",o.innerHTML),uH||e.dataTransfer.setData("text/plain",a),r.dragging={slice:i,move:!0}}}),this.keydownCallback=()=>(Ze(this,Np).call(this),!1),Pt(this,Sx,(e,n)=>{if(!e.editable||Ze(this,Oc)||Ze(this,va))return;let r=n.target;if(!(r instanceof Element)){Ze(this,Np).call(this);return}let i=Ze(this,DI,pH);if(!i)return;let o=xge(r,e,i);if(!o){Ze(this,Np).call(this);return}Ze(this,Dx).call(this,o)}),this.mousemoveCallback=(e,n)=>(e.composing||!e.editable||(0,hH.default)(Ze(this,Sx),200)(e,n),!1),this.dragoverCallback=(e,n)=>{var r;if(Ze(this,va)){let i=(r=Ze(this,Pp,qy))==null?void 0:r.dom.parentElement;if(!i)return!1;let o=i.scrollHeight>i.clientHeight,a=i.getBoundingClientRect();if(o){if(i.scrollTop>0&&Math.abs(n.y-a.y)<fH){let l=i.scrollTop>10?i.scrollTop-10:0;return i.scrollTop=l,!1}let s=Math.round(e.dom.getBoundingClientRect().height);if(Math.round(i.scrollTop+a.height)<s&&Math.abs(n.y-(a.height+a.y))<fH){let l=i.scrollTop+10;return i.scrollTop=l,!1}}}return!1},this.dragenterCallback=()=>{Pt(this,va,!0)},this.dragleaveCallback=()=>{Pt(this,va,!1),Pt(this,ul,null),Pt(this,Oc,!1)},this.dropCallback=(e,n)=>{let r=n,i=_ge(e,r);return Pt(this,va,!1),i?(e.dispatch(i),r.preventDefault(),!0):!1}}};Xy=new WeakMap,Cx=new WeakMap,Op=new WeakMap,ul=new WeakMap,$y=new WeakMap,va=new WeakMap,Oc=new WeakMap,DI=new WeakSet,pH=function(){var t;return(t=Ze(this,Xy))==null?void 0:t.get(Qy.key).filterNodes},Pp=new WeakSet,qy=function(){var t;return(t=Ze(this,Xy))==null?void 0:t.get(wn)},Fp=new WeakMap,Np=new WeakMap,Dx=new WeakMap,Wy=new WeakMap,Gy=new WeakMap,Yy=new WeakMap,Ky=new WeakMap,Zy=new WeakMap,Sx=new WeakMap;function Tx(t,e){return Object.assign(t,{meta:S({package:"@milkdown/plugin-block"},e)}),t}var Ege=t=>{let{name:e}=t.type;return!(e.startsWith("table")&&e!=="table")},Qy=Bt({filterNodes:Ege},"blockConfig");Tx(Qy,{displayName:"Ctx<blockConfig>"});var TI=Bt(new SI,"blockService");Tx(Qy,{displayName:"Ctx<blockService>"});var AI=Bt({},"blockSpec");Tx(Qy,{displayName:"Ctx<blockSpec>"});var II=$t(t=>{let e=new at("MILKDOWN_BLOCK"),n=t.get(TI.key),r=t.get(AI.key);return new Be(W(S({key:e},r),{props:W(S({},r.props),{handleDOMEvents:{drop:(i,o)=>n.dropCallback(i,o),mousemove:(i,o)=>n.mousemoveCallback(i,o),keydown:()=>n.keydownCallback(),dragover:(i,o)=>n.dragoverCallback(i,o),dragleave:()=>n.dragleaveCallback(),dragenter:()=>n.dragenterCallback()}})}))});Tx(II,{displayName:"Prose<block>"});var fl,Yu,Ex,Rp,jp,EI,mH,Mx=class{constructor(e){Dn(this,EI),Dn(this,fl,void 0),Dn(this,Yu,void 0),Dn(this,Ex,void 0),Dn(this,Rp,void 0),Dn(this,jp,void 0),this.update=n=>{requestAnimationFrame(()=>{if(!Ze(this,fl))try{bge(this,EI,mH).call(this,n)}catch{}})},this.destroy=()=>{var n,r,i;(n=Ze(this,jp))==null||n.unBind(),(r=Ze(this,jp))==null||r.removeEvent(Ze(this,Yu)),(i=Ze(this,fl))==null||i.destroy(),Pt(this,fl,void 0)},this.show=n=>{let r=Ze(this,Rp).get(wn);requestAnimationFrame(()=>{var i,o;(i=Ze(this,fl))==null||i.setProps({getReferenceClientRect:()=>{let a=r.nodeDOM(n.$pos.pos-1);return(!a||!(a instanceof HTMLElement))&&(a=n.el),a.getBoundingClientRect()}}),(o=Ze(this,fl))==null||o.show()})},this.hide=()=>{var n;(n=Ze(this,fl))==null||n.hide()},Pt(this,Rp,e.ctx),Pt(this,Yu,e.content),Pt(this,Ex,e.tippyOptions??{})}};fl=new WeakMap,Yu=new WeakMap,Ex=new WeakMap,Rp=new WeakMap,jp=new WeakMap,EI=new WeakSet,mH=function(t){let e=Ze(this,Rp).get(TI.key);e.bind(Ze(this,Rp),n=>{n.type==="hide"?this.hide():this.show(n.active)}),Pt(this,jp,e),Ze(this,jp).addEvent(Ze(this,Yu)),Ze(this,Yu).draggable=!0,Pt(this,fl,kp(t.dom,W(S({trigger:"manual",placement:"left-start",interactive:!0},Ze(this,Ex)),{content:Ze(this,Yu)})))};var Jy=[AI,Qy,TI,II];Jy.key=AI.key;Jy.pluginKey=II.key;var lo=class t{constructor(e,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=n,this.end=r}static range(e,n){return n?!e||!e.loc||!n.loc||e.loc.lexer!==n.loc.lexer?null:new t(e.loc.lexer,e.loc.start,n.loc.end):e&&e.loc}},cs=class t{constructor(e,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=n}range(e,n){return new t(n,lo.range(this,e))}},oe=class t{constructor(e,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,i,o,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;i=a.start,o=a.end,i===s.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=s.slice(i,o).replace(/[^]/g,"$&\u0332"),c;i>15?c="\u2026"+s.slice(i-15,i):c=s.slice(0,i);var d;o+15<s.length?d=s.slice(o,o+15)+"\u2026":d=s.slice(o),r+=c+l+d}var u=new Error(r);return u.name="ParseError",u.__proto__=t.prototype,u.position=i,i!=null&&o!=null&&(u.length=o-i),u.rawMessage=e,u}};oe.prototype.__proto__=Error.prototype;var Mge=function(e,n){return e.indexOf(n)!==-1},Tge=function(e,n){return e===void 0?n:e},Age=/([A-Z])/g,Ige=function(e){return e.replace(Age,"-$1").toLowerCase()},Oge={"&":"&",">":">","<":"<",'"':""","'":"'"},Pge=/[&><"']/g;function Fge(t){return String(t).replace(Pge,e=>Oge[e])}var GH=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Nge=function(e){var n=GH(e);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},Rge=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},jge=function(e){var n=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return n!=null?n[1]:"_relative"},it={contains:Mge,deflt:Tge,escape:Fge,hyphenate:Ige,getBaseElem:GH,isCharacterBox:Nge,protocolFromUrl:jge},Vx={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function zge(t){if(t.default)return t.default;var e=t.type,n=Array.isArray(e)?e[0]:e;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var ib=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var n in Vx)if(Vx.hasOwnProperty(n)){var r=Vx[n];this[n]=e[n]!==void 0?r.processor?r.processor(e[n]):e[n]:zge(r)}}reportNonstrict(e,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(e,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new oe("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+e+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+e+"]"))}}useStrictBehavior(e,n,r){var i=this.strict;if(typeof i=="function")try{i=i(e,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=it.protocolFromUrl(e.url));var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}},as=class{constructor(e,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=n,this.cramped=r}sup(){return ss[Lge[this.id]]}sub(){return ss[Bge[this.id]]}fracNum(){return ss[Vge[this.id]]}fracDen(){return ss[Uge[this.id]]}cramp(){return ss[Hge[this.id]]}text(){return ss[$ge[this.id]]}isTight(){return this.size>=2}},nO=0,Hx=1,Lp=2,ml=3,ob=4,Vo=5,Bp=6,xi=7,ss=[new as(nO,0,!1),new as(Hx,0,!0),new as(Lp,1,!1),new as(ml,1,!0),new as(ob,2,!1),new as(Vo,2,!0),new as(Bp,3,!1),new as(xi,3,!0)],Lge=[ob,Vo,ob,Vo,Bp,xi,Bp,xi],Bge=[Vo,Vo,Vo,Vo,xi,xi,xi,xi],Vge=[Lp,ml,ob,Vo,Bp,xi,Bp,xi],Uge=[ml,ml,Vo,Vo,xi,xi,xi,xi],Hge=[Hx,Hx,ml,ml,Vo,Vo,xi,xi],$ge=[nO,Hx,Lp,ml,Lp,ml,Lp,ml],We={DISPLAY:ss[nO],TEXT:ss[Lp],SCRIPT:ss[ob],SCRIPTSCRIPT:ss[Bp]},$I=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function qge(t){for(var e=0;e<$I.length;e++)for(var n=$I[e],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(t>=i[0]&&t<=i[1])return n.name}return null}var Ux=[];$I.forEach(t=>t.blocks.forEach(e=>Ux.push(...e)));function YH(t){for(var e=0;e<Ux.length;e+=2)if(t>=Ux[e]&&t<=Ux[e+1])return!0;return!1}var zp=80,Wge=function(e,n){return"M95,"+(622+e+n)+` +`);return{dom:l,text:f}}var bH=_c.ie&&_c.ie_version<15||_c.ios&&_c.webkit_version<604,_H=20,Qy,Ox,Ph,dl,qy,va,Ic,AI,vH,Fh,Wy,Nh,Rh,Px,Gy,Yy,Ky,Zy,Xy,Fx,II=class{constructor(){En(this,AI),En(this,Fh),En(this,Qy,void 0),En(this,Ox,void 0),En(this,Ph,void 0),En(this,dl,void 0),En(this,qy,void 0),En(this,va,void 0),En(this,Ic,void 0),En(this,Nh,void 0),En(this,Rh,void 0),En(this,Px,void 0),En(this,Gy,void 0),En(this,Yy,void 0),En(this,Ky,void 0),En(this,Zy,void 0),En(this,Xy,void 0),En(this,Fx,void 0),Pt(this,Ox,()=>{if(!Xe(this,dl))return null;let e=Xe(this,dl),n=Xe(this,Fh,Wy);if(n&&Ue.isSelectable(e.node)){let r=Ue.create(n.state.doc,e.$pos.pos-(e.node.isLeaf?0:1));return n.dispatch(n.state.tr.setSelection(r)),n.focus(),Pt(this,Ph,r),r}return null}),Pt(this,Ph,null),Pt(this,dl,null),Pt(this,qy,void 0),Pt(this,va,!1),Pt(this,Ic,!1),Pt(this,Rh,()=>{var e;(e=Xe(this,Nh))==null||e.call(this,{type:"hide"}),Pt(this,Ic,!1),Pt(this,dl,null)}),Pt(this,Px,e=>{var n;Pt(this,dl,e),(n=Xe(this,Nh))==null||n.call(this,{type:"show",active:e})}),this.bind=(e,n)=>{Pt(this,Qy,e),Pt(this,Nh,n)},this.addEvent=e=>{e.addEventListener("mousedown",Xe(this,Ky)),e.addEventListener("mouseenter",Xe(this,Gy)),e.addEventListener("mouseleave",Xe(this,Yy)),e.addEventListener("mouseup",Xe(this,Zy)),e.addEventListener("dragstart",Xe(this,Xy))},this.removeEvent=e=>{e.removeEventListener("mousedown",Xe(this,Ky)),e.removeEventListener("mouseenter",Xe(this,Gy)),e.removeEventListener("mouseleave",Xe(this,Yy)),e.removeEventListener("mouseup",Xe(this,Zy)),e.removeEventListener("dragstart",Xe(this,Xy))},this.unBind=()=>{Pt(this,Nh,void 0)},Pt(this,Gy,()=>{Pt(this,Ic,!0)}),Pt(this,Yy,()=>{Pt(this,Ic,!1)}),Pt(this,Ky,()=>{var e;Pt(this,qy,(e=Xe(this,dl))==null?void 0:e.el.getBoundingClientRect()),Xe(this,Ox).call(this)}),Pt(this,Zy,()=>{if(!Xe(this,va)){requestAnimationFrame(()=>{var e;Xe(this,qy)&&((e=Xe(this,Fh,Wy))==null||e.focus())});return}Pt(this,va,!1),Pt(this,Ph,null)}),Pt(this,Xy,e=>{Pt(this,va,!0);let n=Xe(this,Ph),r=Xe(this,Fh,Wy);if(r&&e.dataTransfer&&n){let i=n.content();e.dataTransfer.effectAllowed="copyMove";let{dom:o,text:a}=Fge(r,i);e.dataTransfer.clearData(),e.dataTransfer.setData(bH?"Text":"text/html",o.innerHTML),bH||e.dataTransfer.setData("text/plain",a),r.dragging={slice:i,move:!0}}}),this.keydownCallback=()=>(Xe(this,Rh).call(this),!1),Pt(this,Fx,(e,n)=>{if(!e.editable||Xe(this,Ic)||Xe(this,va))return;let r=n.target;if(!(r instanceof Element)){Xe(this,Rh).call(this);return}let i=Xe(this,AI,vH);if(!i)return;let o=Ige(r,e,i);if(!o){Xe(this,Rh).call(this);return}Xe(this,Px).call(this,o)}),this.mousemoveCallback=(e,n)=>(e.composing||!e.editable||(0,wH.default)(Xe(this,Fx),200)(e,n),!1),this.dragoverCallback=(e,n)=>{var r;if(Xe(this,va)){let i=(r=Xe(this,Fh,Wy))==null?void 0:r.dom.parentElement;if(!i)return!1;let o=i.scrollHeight>i.clientHeight,a=i.getBoundingClientRect();if(o){if(i.scrollTop>0&&Math.abs(n.y-a.y)<_H){let l=i.scrollTop>10?i.scrollTop-10:0;return i.scrollTop=l,!1}let s=Math.round(e.dom.getBoundingClientRect().height);if(Math.round(i.scrollTop+a.height)<s&&Math.abs(n.y-(a.height+a.y))<_H){let l=i.scrollTop+10;return i.scrollTop=l,!1}}}return!1},this.dragenterCallback=()=>{Pt(this,va,!0)},this.dragleaveCallback=()=>{Pt(this,va,!1),Pt(this,dl,null),Pt(this,Ic,!1)},this.dropCallback=(e,n)=>{let r=n,i=Ege(e,r);return Pt(this,va,!1),i?(e.dispatch(i),r.preventDefault(),!0):!1}}};Qy=new WeakMap,Ox=new WeakMap,Ph=new WeakMap,dl=new WeakMap,qy=new WeakMap,va=new WeakMap,Ic=new WeakMap,AI=new WeakSet,vH=function(){var t;return(t=Xe(this,Qy))==null?void 0:t.get(Jy.key).filterNodes},Fh=new WeakSet,Wy=function(){var t;return(t=Xe(this,Qy))==null?void 0:t.get(on)},Nh=new WeakMap,Rh=new WeakMap,Px=new WeakMap,Gy=new WeakMap,Yy=new WeakMap,Ky=new WeakMap,Zy=new WeakMap,Xy=new WeakMap,Fx=new WeakMap;function jx(t,e){return Object.assign(t,{meta:D({package:"@milkdown/plugin-block"},e)}),t}var Nge=t=>{let{name:e}=t.type;return!(e.startsWith("table")&&e!=="table")},Jy=Vt({filterNodes:Nge},"blockConfig");jx(Jy,{displayName:"Ctx<blockConfig>"});var FI=Vt(new II,"blockService");jx(Jy,{displayName:"Ctx<blockService>"});var NI=Vt({},"blockSpec");jx(Jy,{displayName:"Ctx<blockSpec>"});var RI=Bt(t=>{let e=new Je("MILKDOWN_BLOCK"),n=t.get(FI.key),r=t.get(NI.key);return new Le(q(D({key:e},r),{props:q(D({},r.props),{handleDOMEvents:{drop:(i,o)=>n.dropCallback(i,o),mousemove:(i,o)=>n.mousemoveCallback(i,o),keydown:()=>n.keydownCallback(),dragover:(i,o)=>n.dragoverCallback(i,o),dragleave:()=>n.dragleaveCallback(),dragenter:()=>n.dragenterCallback()}})}))});jx(RI,{displayName:"Prose<block>"});var ul,Ku,Nx,jh,zh,OI,kH,Rx=class{constructor(e){En(this,OI),En(this,ul,void 0),En(this,Ku,void 0),En(this,Nx,void 0),En(this,jh,void 0),En(this,zh,void 0),this.update=n=>{requestAnimationFrame(()=>{if(!Xe(this,ul))try{Sge(this,OI,kH).call(this,n)}catch{}})},this.destroy=()=>{var n,r,i;(n=Xe(this,zh))==null||n.unBind(),(r=Xe(this,zh))==null||r.removeEvent(Xe(this,Ku)),(i=Xe(this,ul))==null||i.destroy(),Pt(this,ul,void 0)},this.show=n=>{let r=Xe(this,jh).get(on);requestAnimationFrame(()=>{var i,o;(i=Xe(this,ul))==null||i.setProps({getReferenceClientRect:()=>{let a=r.nodeDOM(n.$pos.pos-1);return(!a||!(a instanceof HTMLElement))&&(a=n.el),a.getBoundingClientRect()}}),(o=Xe(this,ul))==null||o.show()})},this.hide=()=>{var n;(n=Xe(this,ul))==null||n.hide()},Pt(this,jh,e.ctx),Pt(this,Ku,e.content),Pt(this,Nx,e.tippyOptions??{})}};ul=new WeakMap,Ku=new WeakMap,Nx=new WeakMap,jh=new WeakMap,zh=new WeakMap,OI=new WeakSet,kH=function(t){let e=Xe(this,jh).get(FI.key);e.bind(Xe(this,jh),n=>{n.type==="hide"?this.hide():this.show(n.active)}),Pt(this,zh,e),Xe(this,zh).addEvent(Xe(this,Ku)),Xe(this,Ku).draggable=!0,Pt(this,ul,xh(t.dom,q(D({trigger:"manual",placement:"left-start",interactive:!0},Xe(this,Nx)),{content:Xe(this,Ku)})))};var eb=[NI,Jy,FI,RI];eb.key=NI.key;eb.pluginKey=RI.key;var uo=class t{constructor(e,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=n,this.end=r}static range(e,n){return n?!e||!e.loc||!n.loc||e.loc.lexer!==n.loc.lexer?null:new t(e.loc.lexer,e.loc.start,n.loc.end):e&&e.loc}},ls=class t{constructor(e,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=n}range(e,n){return new t(n,uo.range(this,e))}},ae=class t{constructor(e,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+e,i,o,a=n&&n.loc;if(a&&a.start<=a.end){var s=a.lexer.input;i=a.start,o=a.end,i===s.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=s.slice(i,o).replace(/[^]/g,"$&\u0332"),c;i>15?c="\u2026"+s.slice(i-15,i):c=s.slice(0,i);var d;o+15<s.length?d=s.slice(o,o+15)+"\u2026":d=s.slice(o),r+=c+l+d}var u=new Error(r);return u.name="ParseError",u.__proto__=t.prototype,u.position=i,i!=null&&o!=null&&(u.length=o-i),u.rawMessage=e,u}};ae.prototype.__proto__=Error.prototype;var Rge=function(e,n){return e.indexOf(n)!==-1},jge=function(e,n){return e===void 0?n:e},zge=/([A-Z])/g,Lge=function(e){return e.replace(zge,"-$1").toLowerCase()},Bge={"&":"&",">":">","<":"<",'"':""","'":"'"},Vge=/[&><"']/g;function Uge(t){return String(t).replace(Vge,e=>Bge[e])}var e$=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Hge=function(e){var n=e$(e);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},$ge=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},qge=function(e){var n=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return n!=null?n[1]:"_relative"},at={contains:Rge,deflt:jge,escape:Uge,hyphenate:Lge,getBaseElem:e$,isCharacterBox:Hge,protocolFromUrl:qge},Kx={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:t=>Math.max(0,t),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Wge(t){if(t.default)return t.default;var e=t.type,n=Array.isArray(e)?e[0]:e;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var ob=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var n in Kx)if(Kx.hasOwnProperty(n)){var r=Kx[n];this[n]=e[n]!==void 0?r.processor?r.processor(e[n]):e[n]:Wge(r)}}reportNonstrict(e,n,r){var i=this.strict;if(typeof i=="function"&&(i=i(e,n,r)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new ae("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+e+"]"),r);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+e+"]"))}}useStrictBehavior(e,n,r){var i=this.strict;if(typeof i=="function")try{i=i(e,n,r)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+n+" ["+e+"]")),!1)}isTrusted(e){e.url&&!e.protocol&&(e.protocol=at.protocolFromUrl(e.url));var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}},is=class{constructor(e,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=n,this.cramped=r}sup(){return as[Gge[this.id]]}sub(){return as[Yge[this.id]]}fracNum(){return as[Kge[this.id]]}fracDen(){return as[Zge[this.id]]}cramp(){return as[Xge[this.id]]}text(){return as[Qge[this.id]]}isTight(){return this.size>=2}},sO=0,Xx=1,Bh=2,hl=3,ab=4,Ho=5,Vh=6,ki=7,as=[new is(sO,0,!1),new is(Xx,0,!0),new is(Bh,1,!1),new is(hl,1,!0),new is(ab,2,!1),new is(Ho,2,!0),new is(Vh,3,!1),new is(ki,3,!0)],Gge=[ab,Ho,ab,Ho,Vh,ki,Vh,ki],Yge=[Ho,Ho,Ho,Ho,ki,ki,ki,ki],Kge=[Bh,hl,ab,Ho,Vh,ki,Vh,ki],Zge=[hl,hl,Ho,Ho,ki,ki,ki,ki],Xge=[Xx,Xx,hl,hl,Ho,Ho,ki,ki],Qge=[sO,Xx,Bh,hl,Bh,hl,Bh,hl],Ge={DISPLAY:as[sO],TEXT:as[Bh],SCRIPT:as[ab],SCRIPTSCRIPT:as[Vh]},KI=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Jge(t){for(var e=0;e<KI.length;e++)for(var n=KI[e],r=0;r<n.blocks.length;r++){var i=n.blocks[r];if(t>=i[0]&&t<=i[1])return n.name}return null}var Zx=[];KI.forEach(t=>t.blocks.forEach(e=>Zx.push(...e)));function t$(t){for(var e=0;e<Zx.length;e+=2)if(t>=Zx[e]&&t<=Zx[e+1])return!0;return!1}var Lh=80,e0e=function(e,n){return"M95,"+(622+e+n)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 @@ -75,7 +75,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+e)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},Gge=function(e,n){return"M263,"+(601+e+n)+`c0.7,0,18,39.7,52,119 +M`+(834+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},t0e=function(e,n){return"M263,"+(601+e+n)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+e/2.084+" -"+e+` @@ -85,7 +85,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},Yge=function(e,n){return"M983 "+(10+e+n)+` +M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},n0e=function(e,n){return"M983 "+(10+e+n)+` l`+e/3.13+" -"+e+` c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 @@ -94,7 +94,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},Kge=function(e,n){return"M424,"+(2398+e+n)+` +M`+(1001+e)+" "+n+"h400000v"+(40+e)+"h-400000z"},r0e=function(e,n){return"M424,"+(2398+e+n)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -104,18 +104,18 @@ v`+(40+e)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+n+` -h400000v`+(40+e)+"h-400000z"},Zge=function(e,n){return"M473,"+(2713+e+n)+` +h400000v`+(40+e)+"h-400000z"},i0e=function(e,n){return"M473,"+(2713+e+n)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+e)+" "+n+"h400000v"+(40+e)+"H1017.7z"},Xge=function(e){var n=e/2;return"M400000 "+e+" H0 L"+n+" 0 l65 45 L145 "+(e-80)+" H400000z"},Qge=function(e,n,r){var i=r-54-n-e;return"M702 "+(e+n)+"H400000"+(40+e)+` +606zM`+(1001+e)+" "+n+"h400000v"+(40+e)+"H1017.7z"},o0e=function(e){var n=e/2;return"M400000 "+e+" H0 L"+n+" 0 l65 45 L145 "+(e-80)+" H400000z"},a0e=function(e,n,r){var i=r-54-n-e;return"M702 "+(e+n)+"H400000"+(40+e)+` H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+n+"H400000v"+(40+e)+"H742z"},Jge=function(e,n,r){n=1e3*n;var i="";switch(e){case"sqrtMain":i=Wge(n,zp);break;case"sqrtSize1":i=Gge(n,zp);break;case"sqrtSize2":i=Yge(n,zp);break;case"sqrtSize3":i=Kge(n,zp);break;case"sqrtSize4":i=Zge(n,zp);break;case"sqrtTall":i=Qge(n,zp,r)}return i},e0e=function(e,n){switch(e){case"\u239C":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"\u2223":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"\u2225":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"\u239F":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"\u23A2":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"\u23A5":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"\u23AA":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"\u23D0":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"\u2016":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},gH={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+n+"H400000v"+(40+e)+"H742z"},s0e=function(e,n,r){n=1e3*n;var i="";switch(e){case"sqrtMain":i=e0e(n,Lh);break;case"sqrtSize1":i=t0e(n,Lh);break;case"sqrtSize2":i=n0e(n,Lh);break;case"sqrtSize3":i=r0e(n,Lh);break;case"sqrtSize4":i=i0e(n,Lh);break;case"sqrtTall":i=a0e(n,Lh,r)}return i},l0e=function(e,n){switch(e){case"\u239C":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"\u2223":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"\u2225":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"\u239F":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"\u23A2":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"\u23A5":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"\u23AA":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"\u23D0":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"\u2016":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},xH={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -290,7 +290,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},t0e=function(e,n){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},c0e=function(e,n){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -318,26 +318,26 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Xu=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return it.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){for(var e="",n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e}toText(){var e=n=>n.toText();return this.children.map(e).join("")}},ls={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Ax={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},yH={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function n0e(t,e){ls[t]=e}function rO(t,e,n){if(!ls[e])throw new Error("Font metrics not found for font: "+e+".");var r=t.charCodeAt(0),i=ls[e][r];if(!i&&t[0]in yH&&(r=yH[t[0]].charCodeAt(0),i=ls[e][r]),!i&&n==="text"&&YH(r)&&(i=ls[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var OI={};function r0e(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!OI[e]){var n=OI[e]={cssEmPerMu:Ax.quad[e]/18};for(var r in Ax)Ax.hasOwnProperty(r)&&(n[r]=Ax[r][e])}return OI[e]}var i0e=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],bH=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],_H=function(e,n){return n.size<2?e:i0e[e-1][n.size-1]},o0e=(()=>{class t{constructor(n){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=n.style,this.color=n.color,this.size=n.size||t.BASESIZE,this.textSize=n.textSize||this.size,this.phantom=!!n.phantom,this.font=n.font||"",this.fontFamily=n.fontFamily||"",this.fontWeight=n.fontWeight||"",this.fontShape=n.fontShape||"",this.sizeMultiplier=bH[this.size-1],this.maxSize=n.maxSize,this.minRuleThickness=n.minRuleThickness,this._fontMetrics=void 0}extend(n){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);return new t(r)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:_H(this.textSize,n)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:bH[n-1]})}havingBaseStyle(n){n=n||this.style.text();var r=_H(t.BASESIZE,n);return this.size===r&&this.textSize===t.BASESIZE&&this.style===n?this:this.extend({style:n,size:r})}havingBaseSizing(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})}withColor(n){return this.extend({color:n})}withPhantom(){return this.extend({phantom:!0})}withFont(n){return this.extend({font:n})}withTextFontFamily(n){return this.extend({fontFamily:n,font:""})}withTextFontWeight(n){return this.extend({fontWeight:n,font:""})}withTextFontShape(n){return this.extend({fontShape:n,font:""})}sizingClasses(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=r0e(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}return t.BASESIZE=6,t})(),qI={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},a0e={ex:!0,em:!0,mu:!0},KH=function(e){return typeof e!="string"&&(e=e.unit),e in qI||e in a0e||e==="ex"},On=function(e,n){var r;if(e.unit in qI)r=qI[e.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(e.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,e.unit==="ex")r=i.fontMetrics().xHeight;else if(e.unit==="em")r=i.fontMetrics().quad;else throw new oe("Invalid unit: '"+e.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(e.number*r,n.maxSize)},ue=function(e){return+e.toFixed(4)+"em"},Nc=function(e){return e.filter(n=>n).join(" ")},ZH=function(e,n,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},XH=function(e){var n=document.createElement(e);n.className=Nc(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var o=0;o<this.children.length;o++)n.appendChild(this.children[o].toNode());return n},QH=function(e){var n="<"+e;this.classes.length&&(n+=' class="'+it.escape(Nc(this.classes))+'"');var r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=it.hyphenate(i)+":"+this.style[i]+";");r&&(n+=' style="'+it.escape(r)+'"');for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&(n+=" "+o+'="'+it.escape(this.attributes[o])+'"');n+=">";for(var a=0;a<this.children.length;a++)n+=this.children[a].toMarkup();return n+="</"+e+">",n},Qu=class{constructor(e,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,ZH.call(this,e,r,i),this.children=n||[]}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return it.contains(this.classes,e)}toNode(){return XH.call(this,"span")}toMarkup(){return QH.call(this,"span")}},ab=class{constructor(e,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,ZH.call(this,n,i),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return it.contains(this.classes,e)}toNode(){return XH.call(this,"a")}toMarkup(){return QH.call(this,"a")}},WI=class{constructor(e,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return it.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);return e}toMarkup(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=it.hyphenate(r)+":"+this.style[r]+";");return n&&(e+=' style="'+it.escape(n)+'"'),e+="'/>",e}},s0e={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Bi=class{constructor(e,n,r,i,o,a,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=o||0,this.width=a||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var c=qge(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=s0e[this.text])}hasClass(e){return it.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=ue(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Nc(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(e),n):e}toMarkup(){var e=!1,n="<span";this.classes.length&&(e=!0,n+=' class="',n+=it.escape(Nc(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=it.hyphenate(i)+":"+this.style[i]+";");r&&(e=!0,n+=' style="'+it.escape(r)+'"');var o=it.escape(this.text);return e?(n+=">",n+=o,n+="</span>",n):o}},xa=class{constructor(e,n){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=n||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+"='"+this.attributes[n]+"'");e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>",e}},ds=class{constructor(e,n){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=n}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",gH[this.pathName]),n}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+gH[this.pathName]+"'/>"}},sb=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var e="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+"='"+this.attributes[n]+"'");return e+="/>",e}};function wH(t){if(t instanceof Bi)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function l0e(t){if(t instanceof Qu)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var c0e={bin:1,close:1,inner:1,open:1,punct:1,rel:1},d0e={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},gn={math:{},text:{}};function m(t,e,n,r,i,o){gn[t][i]={font:e,group:n,replace:r},o&&r&&(gn[t][r]=gn[t][i])}var y="math",Q="text",w="main",M="ams",Sn="accent-token",be="bin",Ci="close",Vp="inner",qe="mathord",ir="op-token",co="open",Kx="punct",T="rel",_l="spacing",F="textord";m(y,w,T,"\u2261","\\equiv",!0);m(y,w,T,"\u227A","\\prec",!0);m(y,w,T,"\u227B","\\succ",!0);m(y,w,T,"\u223C","\\sim",!0);m(y,w,T,"\u22A5","\\perp");m(y,w,T,"\u2AAF","\\preceq",!0);m(y,w,T,"\u2AB0","\\succeq",!0);m(y,w,T,"\u2243","\\simeq",!0);m(y,w,T,"\u2223","\\mid",!0);m(y,w,T,"\u226A","\\ll",!0);m(y,w,T,"\u226B","\\gg",!0);m(y,w,T,"\u224D","\\asymp",!0);m(y,w,T,"\u2225","\\parallel");m(y,w,T,"\u22C8","\\bowtie",!0);m(y,w,T,"\u2323","\\smile",!0);m(y,w,T,"\u2291","\\sqsubseteq",!0);m(y,w,T,"\u2292","\\sqsupseteq",!0);m(y,w,T,"\u2250","\\doteq",!0);m(y,w,T,"\u2322","\\frown",!0);m(y,w,T,"\u220B","\\ni",!0);m(y,w,T,"\u221D","\\propto",!0);m(y,w,T,"\u22A2","\\vdash",!0);m(y,w,T,"\u22A3","\\dashv",!0);m(y,w,T,"\u220B","\\owns");m(y,w,Kx,".","\\ldotp");m(y,w,Kx,"\u22C5","\\cdotp");m(y,w,F,"#","\\#");m(Q,w,F,"#","\\#");m(y,w,F,"&","\\&");m(Q,w,F,"&","\\&");m(y,w,F,"\u2135","\\aleph",!0);m(y,w,F,"\u2200","\\forall",!0);m(y,w,F,"\u210F","\\hbar",!0);m(y,w,F,"\u2203","\\exists",!0);m(y,w,F,"\u2207","\\nabla",!0);m(y,w,F,"\u266D","\\flat",!0);m(y,w,F,"\u2113","\\ell",!0);m(y,w,F,"\u266E","\\natural",!0);m(y,w,F,"\u2663","\\clubsuit",!0);m(y,w,F,"\u2118","\\wp",!0);m(y,w,F,"\u266F","\\sharp",!0);m(y,w,F,"\u2662","\\diamondsuit",!0);m(y,w,F,"\u211C","\\Re",!0);m(y,w,F,"\u2661","\\heartsuit",!0);m(y,w,F,"\u2111","\\Im",!0);m(y,w,F,"\u2660","\\spadesuit",!0);m(y,w,F,"\xA7","\\S",!0);m(Q,w,F,"\xA7","\\S");m(y,w,F,"\xB6","\\P",!0);m(Q,w,F,"\xB6","\\P");m(y,w,F,"\u2020","\\dag");m(Q,w,F,"\u2020","\\dag");m(Q,w,F,"\u2020","\\textdagger");m(y,w,F,"\u2021","\\ddag");m(Q,w,F,"\u2021","\\ddag");m(Q,w,F,"\u2021","\\textdaggerdbl");m(y,w,Ci,"\u23B1","\\rmoustache",!0);m(y,w,co,"\u23B0","\\lmoustache",!0);m(y,w,Ci,"\u27EF","\\rgroup",!0);m(y,w,co,"\u27EE","\\lgroup",!0);m(y,w,be,"\u2213","\\mp",!0);m(y,w,be,"\u2296","\\ominus",!0);m(y,w,be,"\u228E","\\uplus",!0);m(y,w,be,"\u2293","\\sqcap",!0);m(y,w,be,"\u2217","\\ast");m(y,w,be,"\u2294","\\sqcup",!0);m(y,w,be,"\u25EF","\\bigcirc",!0);m(y,w,be,"\u2219","\\bullet",!0);m(y,w,be,"\u2021","\\ddagger");m(y,w,be,"\u2240","\\wr",!0);m(y,w,be,"\u2A3F","\\amalg");m(y,w,be,"&","\\And");m(y,w,T,"\u27F5","\\longleftarrow",!0);m(y,w,T,"\u21D0","\\Leftarrow",!0);m(y,w,T,"\u27F8","\\Longleftarrow",!0);m(y,w,T,"\u27F6","\\longrightarrow",!0);m(y,w,T,"\u21D2","\\Rightarrow",!0);m(y,w,T,"\u27F9","\\Longrightarrow",!0);m(y,w,T,"\u2194","\\leftrightarrow",!0);m(y,w,T,"\u27F7","\\longleftrightarrow",!0);m(y,w,T,"\u21D4","\\Leftrightarrow",!0);m(y,w,T,"\u27FA","\\Longleftrightarrow",!0);m(y,w,T,"\u21A6","\\mapsto",!0);m(y,w,T,"\u27FC","\\longmapsto",!0);m(y,w,T,"\u2197","\\nearrow",!0);m(y,w,T,"\u21A9","\\hookleftarrow",!0);m(y,w,T,"\u21AA","\\hookrightarrow",!0);m(y,w,T,"\u2198","\\searrow",!0);m(y,w,T,"\u21BC","\\leftharpoonup",!0);m(y,w,T,"\u21C0","\\rightharpoonup",!0);m(y,w,T,"\u2199","\\swarrow",!0);m(y,w,T,"\u21BD","\\leftharpoondown",!0);m(y,w,T,"\u21C1","\\rightharpoondown",!0);m(y,w,T,"\u2196","\\nwarrow",!0);m(y,w,T,"\u21CC","\\rightleftharpoons",!0);m(y,M,T,"\u226E","\\nless",!0);m(y,M,T,"\uE010","\\@nleqslant");m(y,M,T,"\uE011","\\@nleqq");m(y,M,T,"\u2A87","\\lneq",!0);m(y,M,T,"\u2268","\\lneqq",!0);m(y,M,T,"\uE00C","\\@lvertneqq");m(y,M,T,"\u22E6","\\lnsim",!0);m(y,M,T,"\u2A89","\\lnapprox",!0);m(y,M,T,"\u2280","\\nprec",!0);m(y,M,T,"\u22E0","\\npreceq",!0);m(y,M,T,"\u22E8","\\precnsim",!0);m(y,M,T,"\u2AB9","\\precnapprox",!0);m(y,M,T,"\u2241","\\nsim",!0);m(y,M,T,"\uE006","\\@nshortmid");m(y,M,T,"\u2224","\\nmid",!0);m(y,M,T,"\u22AC","\\nvdash",!0);m(y,M,T,"\u22AD","\\nvDash",!0);m(y,M,T,"\u22EA","\\ntriangleleft");m(y,M,T,"\u22EC","\\ntrianglelefteq",!0);m(y,M,T,"\u228A","\\subsetneq",!0);m(y,M,T,"\uE01A","\\@varsubsetneq");m(y,M,T,"\u2ACB","\\subsetneqq",!0);m(y,M,T,"\uE017","\\@varsubsetneqq");m(y,M,T,"\u226F","\\ngtr",!0);m(y,M,T,"\uE00F","\\@ngeqslant");m(y,M,T,"\uE00E","\\@ngeqq");m(y,M,T,"\u2A88","\\gneq",!0);m(y,M,T,"\u2269","\\gneqq",!0);m(y,M,T,"\uE00D","\\@gvertneqq");m(y,M,T,"\u22E7","\\gnsim",!0);m(y,M,T,"\u2A8A","\\gnapprox",!0);m(y,M,T,"\u2281","\\nsucc",!0);m(y,M,T,"\u22E1","\\nsucceq",!0);m(y,M,T,"\u22E9","\\succnsim",!0);m(y,M,T,"\u2ABA","\\succnapprox",!0);m(y,M,T,"\u2246","\\ncong",!0);m(y,M,T,"\uE007","\\@nshortparallel");m(y,M,T,"\u2226","\\nparallel",!0);m(y,M,T,"\u22AF","\\nVDash",!0);m(y,M,T,"\u22EB","\\ntriangleright");m(y,M,T,"\u22ED","\\ntrianglerighteq",!0);m(y,M,T,"\uE018","\\@nsupseteqq");m(y,M,T,"\u228B","\\supsetneq",!0);m(y,M,T,"\uE01B","\\@varsupsetneq");m(y,M,T,"\u2ACC","\\supsetneqq",!0);m(y,M,T,"\uE019","\\@varsupsetneqq");m(y,M,T,"\u22AE","\\nVdash",!0);m(y,M,T,"\u2AB5","\\precneqq",!0);m(y,M,T,"\u2AB6","\\succneqq",!0);m(y,M,T,"\uE016","\\@nsubseteqq");m(y,M,be,"\u22B4","\\unlhd");m(y,M,be,"\u22B5","\\unrhd");m(y,M,T,"\u219A","\\nleftarrow",!0);m(y,M,T,"\u219B","\\nrightarrow",!0);m(y,M,T,"\u21CD","\\nLeftarrow",!0);m(y,M,T,"\u21CF","\\nRightarrow",!0);m(y,M,T,"\u21AE","\\nleftrightarrow",!0);m(y,M,T,"\u21CE","\\nLeftrightarrow",!0);m(y,M,T,"\u25B3","\\vartriangle");m(y,M,F,"\u210F","\\hslash");m(y,M,F,"\u25BD","\\triangledown");m(y,M,F,"\u25CA","\\lozenge");m(y,M,F,"\u24C8","\\circledS");m(y,M,F,"\xAE","\\circledR");m(Q,M,F,"\xAE","\\circledR");m(y,M,F,"\u2221","\\measuredangle",!0);m(y,M,F,"\u2204","\\nexists");m(y,M,F,"\u2127","\\mho");m(y,M,F,"\u2132","\\Finv",!0);m(y,M,F,"\u2141","\\Game",!0);m(y,M,F,"\u2035","\\backprime");m(y,M,F,"\u25B2","\\blacktriangle");m(y,M,F,"\u25BC","\\blacktriangledown");m(y,M,F,"\u25A0","\\blacksquare");m(y,M,F,"\u29EB","\\blacklozenge");m(y,M,F,"\u2605","\\bigstar");m(y,M,F,"\u2222","\\sphericalangle",!0);m(y,M,F,"\u2201","\\complement",!0);m(y,M,F,"\xF0","\\eth",!0);m(Q,w,F,"\xF0","\xF0");m(y,M,F,"\u2571","\\diagup");m(y,M,F,"\u2572","\\diagdown");m(y,M,F,"\u25A1","\\square");m(y,M,F,"\u25A1","\\Box");m(y,M,F,"\u25CA","\\Diamond");m(y,M,F,"\xA5","\\yen",!0);m(Q,M,F,"\xA5","\\yen",!0);m(y,M,F,"\u2713","\\checkmark",!0);m(Q,M,F,"\u2713","\\checkmark");m(y,M,F,"\u2136","\\beth",!0);m(y,M,F,"\u2138","\\daleth",!0);m(y,M,F,"\u2137","\\gimel",!0);m(y,M,F,"\u03DD","\\digamma",!0);m(y,M,F,"\u03F0","\\varkappa");m(y,M,co,"\u250C","\\@ulcorner",!0);m(y,M,Ci,"\u2510","\\@urcorner",!0);m(y,M,co,"\u2514","\\@llcorner",!0);m(y,M,Ci,"\u2518","\\@lrcorner",!0);m(y,M,T,"\u2266","\\leqq",!0);m(y,M,T,"\u2A7D","\\leqslant",!0);m(y,M,T,"\u2A95","\\eqslantless",!0);m(y,M,T,"\u2272","\\lesssim",!0);m(y,M,T,"\u2A85","\\lessapprox",!0);m(y,M,T,"\u224A","\\approxeq",!0);m(y,M,be,"\u22D6","\\lessdot");m(y,M,T,"\u22D8","\\lll",!0);m(y,M,T,"\u2276","\\lessgtr",!0);m(y,M,T,"\u22DA","\\lesseqgtr",!0);m(y,M,T,"\u2A8B","\\lesseqqgtr",!0);m(y,M,T,"\u2251","\\doteqdot");m(y,M,T,"\u2253","\\risingdotseq",!0);m(y,M,T,"\u2252","\\fallingdotseq",!0);m(y,M,T,"\u223D","\\backsim",!0);m(y,M,T,"\u22CD","\\backsimeq",!0);m(y,M,T,"\u2AC5","\\subseteqq",!0);m(y,M,T,"\u22D0","\\Subset",!0);m(y,M,T,"\u228F","\\sqsubset",!0);m(y,M,T,"\u227C","\\preccurlyeq",!0);m(y,M,T,"\u22DE","\\curlyeqprec",!0);m(y,M,T,"\u227E","\\precsim",!0);m(y,M,T,"\u2AB7","\\precapprox",!0);m(y,M,T,"\u22B2","\\vartriangleleft");m(y,M,T,"\u22B4","\\trianglelefteq");m(y,M,T,"\u22A8","\\vDash",!0);m(y,M,T,"\u22AA","\\Vvdash",!0);m(y,M,T,"\u2323","\\smallsmile");m(y,M,T,"\u2322","\\smallfrown");m(y,M,T,"\u224F","\\bumpeq",!0);m(y,M,T,"\u224E","\\Bumpeq",!0);m(y,M,T,"\u2267","\\geqq",!0);m(y,M,T,"\u2A7E","\\geqslant",!0);m(y,M,T,"\u2A96","\\eqslantgtr",!0);m(y,M,T,"\u2273","\\gtrsim",!0);m(y,M,T,"\u2A86","\\gtrapprox",!0);m(y,M,be,"\u22D7","\\gtrdot");m(y,M,T,"\u22D9","\\ggg",!0);m(y,M,T,"\u2277","\\gtrless",!0);m(y,M,T,"\u22DB","\\gtreqless",!0);m(y,M,T,"\u2A8C","\\gtreqqless",!0);m(y,M,T,"\u2256","\\eqcirc",!0);m(y,M,T,"\u2257","\\circeq",!0);m(y,M,T,"\u225C","\\triangleq",!0);m(y,M,T,"\u223C","\\thicksim");m(y,M,T,"\u2248","\\thickapprox");m(y,M,T,"\u2AC6","\\supseteqq",!0);m(y,M,T,"\u22D1","\\Supset",!0);m(y,M,T,"\u2290","\\sqsupset",!0);m(y,M,T,"\u227D","\\succcurlyeq",!0);m(y,M,T,"\u22DF","\\curlyeqsucc",!0);m(y,M,T,"\u227F","\\succsim",!0);m(y,M,T,"\u2AB8","\\succapprox",!0);m(y,M,T,"\u22B3","\\vartriangleright");m(y,M,T,"\u22B5","\\trianglerighteq");m(y,M,T,"\u22A9","\\Vdash",!0);m(y,M,T,"\u2223","\\shortmid");m(y,M,T,"\u2225","\\shortparallel");m(y,M,T,"\u226C","\\between",!0);m(y,M,T,"\u22D4","\\pitchfork",!0);m(y,M,T,"\u221D","\\varpropto");m(y,M,T,"\u25C0","\\blacktriangleleft");m(y,M,T,"\u2234","\\therefore",!0);m(y,M,T,"\u220D","\\backepsilon");m(y,M,T,"\u25B6","\\blacktriangleright");m(y,M,T,"\u2235","\\because",!0);m(y,M,T,"\u22D8","\\llless");m(y,M,T,"\u22D9","\\gggtr");m(y,M,be,"\u22B2","\\lhd");m(y,M,be,"\u22B3","\\rhd");m(y,M,T,"\u2242","\\eqsim",!0);m(y,w,T,"\u22C8","\\Join");m(y,M,T,"\u2251","\\Doteq",!0);m(y,M,be,"\u2214","\\dotplus",!0);m(y,M,be,"\u2216","\\smallsetminus");m(y,M,be,"\u22D2","\\Cap",!0);m(y,M,be,"\u22D3","\\Cup",!0);m(y,M,be,"\u2A5E","\\doublebarwedge",!0);m(y,M,be,"\u229F","\\boxminus",!0);m(y,M,be,"\u229E","\\boxplus",!0);m(y,M,be,"\u22C7","\\divideontimes",!0);m(y,M,be,"\u22C9","\\ltimes",!0);m(y,M,be,"\u22CA","\\rtimes",!0);m(y,M,be,"\u22CB","\\leftthreetimes",!0);m(y,M,be,"\u22CC","\\rightthreetimes",!0);m(y,M,be,"\u22CF","\\curlywedge",!0);m(y,M,be,"\u22CE","\\curlyvee",!0);m(y,M,be,"\u229D","\\circleddash",!0);m(y,M,be,"\u229B","\\circledast",!0);m(y,M,be,"\u22C5","\\centerdot");m(y,M,be,"\u22BA","\\intercal",!0);m(y,M,be,"\u22D2","\\doublecap");m(y,M,be,"\u22D3","\\doublecup");m(y,M,be,"\u22A0","\\boxtimes",!0);m(y,M,T,"\u21E2","\\dashrightarrow",!0);m(y,M,T,"\u21E0","\\dashleftarrow",!0);m(y,M,T,"\u21C7","\\leftleftarrows",!0);m(y,M,T,"\u21C6","\\leftrightarrows",!0);m(y,M,T,"\u21DA","\\Lleftarrow",!0);m(y,M,T,"\u219E","\\twoheadleftarrow",!0);m(y,M,T,"\u21A2","\\leftarrowtail",!0);m(y,M,T,"\u21AB","\\looparrowleft",!0);m(y,M,T,"\u21CB","\\leftrightharpoons",!0);m(y,M,T,"\u21B6","\\curvearrowleft",!0);m(y,M,T,"\u21BA","\\circlearrowleft",!0);m(y,M,T,"\u21B0","\\Lsh",!0);m(y,M,T,"\u21C8","\\upuparrows",!0);m(y,M,T,"\u21BF","\\upharpoonleft",!0);m(y,M,T,"\u21C3","\\downharpoonleft",!0);m(y,w,T,"\u22B6","\\origof",!0);m(y,w,T,"\u22B7","\\imageof",!0);m(y,M,T,"\u22B8","\\multimap",!0);m(y,M,T,"\u21AD","\\leftrightsquigarrow",!0);m(y,M,T,"\u21C9","\\rightrightarrows",!0);m(y,M,T,"\u21C4","\\rightleftarrows",!0);m(y,M,T,"\u21A0","\\twoheadrightarrow",!0);m(y,M,T,"\u21A3","\\rightarrowtail",!0);m(y,M,T,"\u21AC","\\looparrowright",!0);m(y,M,T,"\u21B7","\\curvearrowright",!0);m(y,M,T,"\u21BB","\\circlearrowright",!0);m(y,M,T,"\u21B1","\\Rsh",!0);m(y,M,T,"\u21CA","\\downdownarrows",!0);m(y,M,T,"\u21BE","\\upharpoonright",!0);m(y,M,T,"\u21C2","\\downharpoonright",!0);m(y,M,T,"\u21DD","\\rightsquigarrow",!0);m(y,M,T,"\u21DD","\\leadsto");m(y,M,T,"\u21DB","\\Rrightarrow",!0);m(y,M,T,"\u21BE","\\restriction");m(y,w,F,"\u2018","`");m(y,w,F,"$","\\$");m(Q,w,F,"$","\\$");m(Q,w,F,"$","\\textdollar");m(y,w,F,"%","\\%");m(Q,w,F,"%","\\%");m(y,w,F,"_","\\_");m(Q,w,F,"_","\\_");m(Q,w,F,"_","\\textunderscore");m(y,w,F,"\u2220","\\angle",!0);m(y,w,F,"\u221E","\\infty",!0);m(y,w,F,"\u2032","\\prime");m(y,w,F,"\u25B3","\\triangle");m(y,w,F,"\u0393","\\Gamma",!0);m(y,w,F,"\u0394","\\Delta",!0);m(y,w,F,"\u0398","\\Theta",!0);m(y,w,F,"\u039B","\\Lambda",!0);m(y,w,F,"\u039E","\\Xi",!0);m(y,w,F,"\u03A0","\\Pi",!0);m(y,w,F,"\u03A3","\\Sigma",!0);m(y,w,F,"\u03A5","\\Upsilon",!0);m(y,w,F,"\u03A6","\\Phi",!0);m(y,w,F,"\u03A8","\\Psi",!0);m(y,w,F,"\u03A9","\\Omega",!0);m(y,w,F,"A","\u0391");m(y,w,F,"B","\u0392");m(y,w,F,"E","\u0395");m(y,w,F,"Z","\u0396");m(y,w,F,"H","\u0397");m(y,w,F,"I","\u0399");m(y,w,F,"K","\u039A");m(y,w,F,"M","\u039C");m(y,w,F,"N","\u039D");m(y,w,F,"O","\u039F");m(y,w,F,"P","\u03A1");m(y,w,F,"T","\u03A4");m(y,w,F,"X","\u03A7");m(y,w,F,"\xAC","\\neg",!0);m(y,w,F,"\xAC","\\lnot");m(y,w,F,"\u22A4","\\top");m(y,w,F,"\u22A5","\\bot");m(y,w,F,"\u2205","\\emptyset");m(y,M,F,"\u2205","\\varnothing");m(y,w,qe,"\u03B1","\\alpha",!0);m(y,w,qe,"\u03B2","\\beta",!0);m(y,w,qe,"\u03B3","\\gamma",!0);m(y,w,qe,"\u03B4","\\delta",!0);m(y,w,qe,"\u03F5","\\epsilon",!0);m(y,w,qe,"\u03B6","\\zeta",!0);m(y,w,qe,"\u03B7","\\eta",!0);m(y,w,qe,"\u03B8","\\theta",!0);m(y,w,qe,"\u03B9","\\iota",!0);m(y,w,qe,"\u03BA","\\kappa",!0);m(y,w,qe,"\u03BB","\\lambda",!0);m(y,w,qe,"\u03BC","\\mu",!0);m(y,w,qe,"\u03BD","\\nu",!0);m(y,w,qe,"\u03BE","\\xi",!0);m(y,w,qe,"\u03BF","\\omicron",!0);m(y,w,qe,"\u03C0","\\pi",!0);m(y,w,qe,"\u03C1","\\rho",!0);m(y,w,qe,"\u03C3","\\sigma",!0);m(y,w,qe,"\u03C4","\\tau",!0);m(y,w,qe,"\u03C5","\\upsilon",!0);m(y,w,qe,"\u03D5","\\phi",!0);m(y,w,qe,"\u03C7","\\chi",!0);m(y,w,qe,"\u03C8","\\psi",!0);m(y,w,qe,"\u03C9","\\omega",!0);m(y,w,qe,"\u03B5","\\varepsilon",!0);m(y,w,qe,"\u03D1","\\vartheta",!0);m(y,w,qe,"\u03D6","\\varpi",!0);m(y,w,qe,"\u03F1","\\varrho",!0);m(y,w,qe,"\u03C2","\\varsigma",!0);m(y,w,qe,"\u03C6","\\varphi",!0);m(y,w,be,"\u2217","*",!0);m(y,w,be,"+","+");m(y,w,be,"\u2212","-",!0);m(y,w,be,"\u22C5","\\cdot",!0);m(y,w,be,"\u2218","\\circ",!0);m(y,w,be,"\xF7","\\div",!0);m(y,w,be,"\xB1","\\pm",!0);m(y,w,be,"\xD7","\\times",!0);m(y,w,be,"\u2229","\\cap",!0);m(y,w,be,"\u222A","\\cup",!0);m(y,w,be,"\u2216","\\setminus",!0);m(y,w,be,"\u2227","\\land");m(y,w,be,"\u2228","\\lor");m(y,w,be,"\u2227","\\wedge",!0);m(y,w,be,"\u2228","\\vee",!0);m(y,w,F,"\u221A","\\surd");m(y,w,co,"\u27E8","\\langle",!0);m(y,w,co,"\u2223","\\lvert");m(y,w,co,"\u2225","\\lVert");m(y,w,Ci,"?","?");m(y,w,Ci,"!","!");m(y,w,Ci,"\u27E9","\\rangle",!0);m(y,w,Ci,"\u2223","\\rvert");m(y,w,Ci,"\u2225","\\rVert");m(y,w,T,"=","=");m(y,w,T,":",":");m(y,w,T,"\u2248","\\approx",!0);m(y,w,T,"\u2245","\\cong",!0);m(y,w,T,"\u2265","\\ge");m(y,w,T,"\u2265","\\geq",!0);m(y,w,T,"\u2190","\\gets");m(y,w,T,">","\\gt",!0);m(y,w,T,"\u2208","\\in",!0);m(y,w,T,"\uE020","\\@not");m(y,w,T,"\u2282","\\subset",!0);m(y,w,T,"\u2283","\\supset",!0);m(y,w,T,"\u2286","\\subseteq",!0);m(y,w,T,"\u2287","\\supseteq",!0);m(y,M,T,"\u2288","\\nsubseteq",!0);m(y,M,T,"\u2289","\\nsupseteq",!0);m(y,w,T,"\u22A8","\\models");m(y,w,T,"\u2190","\\leftarrow",!0);m(y,w,T,"\u2264","\\le");m(y,w,T,"\u2264","\\leq",!0);m(y,w,T,"<","\\lt",!0);m(y,w,T,"\u2192","\\rightarrow",!0);m(y,w,T,"\u2192","\\to");m(y,M,T,"\u2271","\\ngeq",!0);m(y,M,T,"\u2270","\\nleq",!0);m(y,w,_l,"\xA0","\\ ");m(y,w,_l,"\xA0","\\space");m(y,w,_l,"\xA0","\\nobreakspace");m(Q,w,_l,"\xA0","\\ ");m(Q,w,_l,"\xA0"," ");m(Q,w,_l,"\xA0","\\space");m(Q,w,_l,"\xA0","\\nobreakspace");m(y,w,_l,null,"\\nobreak");m(y,w,_l,null,"\\allowbreak");m(y,w,Kx,",",",");m(y,w,Kx,";",";");m(y,M,be,"\u22BC","\\barwedge",!0);m(y,M,be,"\u22BB","\\veebar",!0);m(y,w,be,"\u2299","\\odot",!0);m(y,w,be,"\u2295","\\oplus",!0);m(y,w,be,"\u2297","\\otimes",!0);m(y,w,F,"\u2202","\\partial",!0);m(y,w,be,"\u2298","\\oslash",!0);m(y,M,be,"\u229A","\\circledcirc",!0);m(y,M,be,"\u22A1","\\boxdot",!0);m(y,w,be,"\u25B3","\\bigtriangleup");m(y,w,be,"\u25BD","\\bigtriangledown");m(y,w,be,"\u2020","\\dagger");m(y,w,be,"\u22C4","\\diamond");m(y,w,be,"\u22C6","\\star");m(y,w,be,"\u25C3","\\triangleleft");m(y,w,be,"\u25B9","\\triangleright");m(y,w,co,"{","\\{");m(Q,w,F,"{","\\{");m(Q,w,F,"{","\\textbraceleft");m(y,w,Ci,"}","\\}");m(Q,w,F,"}","\\}");m(Q,w,F,"}","\\textbraceright");m(y,w,co,"{","\\lbrace");m(y,w,Ci,"}","\\rbrace");m(y,w,co,"[","\\lbrack",!0);m(Q,w,F,"[","\\lbrack",!0);m(y,w,Ci,"]","\\rbrack",!0);m(Q,w,F,"]","\\rbrack",!0);m(y,w,co,"(","\\lparen",!0);m(y,w,Ci,")","\\rparen",!0);m(Q,w,F,"<","\\textless",!0);m(Q,w,F,">","\\textgreater",!0);m(y,w,co,"\u230A","\\lfloor",!0);m(y,w,Ci,"\u230B","\\rfloor",!0);m(y,w,co,"\u2308","\\lceil",!0);m(y,w,Ci,"\u2309","\\rceil",!0);m(y,w,F,"\\","\\backslash");m(y,w,F,"\u2223","|");m(y,w,F,"\u2223","\\vert");m(Q,w,F,"|","\\textbar",!0);m(y,w,F,"\u2225","\\|");m(y,w,F,"\u2225","\\Vert");m(Q,w,F,"\u2225","\\textbardbl");m(Q,w,F,"~","\\textasciitilde");m(Q,w,F,"\\","\\textbackslash");m(Q,w,F,"^","\\textasciicircum");m(y,w,T,"\u2191","\\uparrow",!0);m(y,w,T,"\u21D1","\\Uparrow",!0);m(y,w,T,"\u2193","\\downarrow",!0);m(y,w,T,"\u21D3","\\Downarrow",!0);m(y,w,T,"\u2195","\\updownarrow",!0);m(y,w,T,"\u21D5","\\Updownarrow",!0);m(y,w,ir,"\u2210","\\coprod");m(y,w,ir,"\u22C1","\\bigvee");m(y,w,ir,"\u22C0","\\bigwedge");m(y,w,ir,"\u2A04","\\biguplus");m(y,w,ir,"\u22C2","\\bigcap");m(y,w,ir,"\u22C3","\\bigcup");m(y,w,ir,"\u222B","\\int");m(y,w,ir,"\u222B","\\intop");m(y,w,ir,"\u222C","\\iint");m(y,w,ir,"\u222D","\\iiint");m(y,w,ir,"\u220F","\\prod");m(y,w,ir,"\u2211","\\sum");m(y,w,ir,"\u2A02","\\bigotimes");m(y,w,ir,"\u2A01","\\bigoplus");m(y,w,ir,"\u2A00","\\bigodot");m(y,w,ir,"\u222E","\\oint");m(y,w,ir,"\u222F","\\oiint");m(y,w,ir,"\u2230","\\oiiint");m(y,w,ir,"\u2A06","\\bigsqcup");m(y,w,ir,"\u222B","\\smallint");m(Q,w,Vp,"\u2026","\\textellipsis");m(y,w,Vp,"\u2026","\\mathellipsis");m(Q,w,Vp,"\u2026","\\ldots",!0);m(y,w,Vp,"\u2026","\\ldots",!0);m(y,w,Vp,"\u22EF","\\@cdots",!0);m(y,w,Vp,"\u22F1","\\ddots",!0);m(y,w,F,"\u22EE","\\varvdots");m(y,w,Sn,"\u02CA","\\acute");m(y,w,Sn,"\u02CB","\\grave");m(y,w,Sn,"\xA8","\\ddot");m(y,w,Sn,"~","\\tilde");m(y,w,Sn,"\u02C9","\\bar");m(y,w,Sn,"\u02D8","\\breve");m(y,w,Sn,"\u02C7","\\check");m(y,w,Sn,"^","\\hat");m(y,w,Sn,"\u20D7","\\vec");m(y,w,Sn,"\u02D9","\\dot");m(y,w,Sn,"\u02DA","\\mathring");m(y,w,qe,"\uE131","\\@imath");m(y,w,qe,"\uE237","\\@jmath");m(y,w,F,"\u0131","\u0131");m(y,w,F,"\u0237","\u0237");m(Q,w,F,"\u0131","\\i",!0);m(Q,w,F,"\u0237","\\j",!0);m(Q,w,F,"\xDF","\\ss",!0);m(Q,w,F,"\xE6","\\ae",!0);m(Q,w,F,"\u0153","\\oe",!0);m(Q,w,F,"\xF8","\\o",!0);m(Q,w,F,"\xC6","\\AE",!0);m(Q,w,F,"\u0152","\\OE",!0);m(Q,w,F,"\xD8","\\O",!0);m(Q,w,Sn,"\u02CA","\\'");m(Q,w,Sn,"\u02CB","\\`");m(Q,w,Sn,"\u02C6","\\^");m(Q,w,Sn,"\u02DC","\\~");m(Q,w,Sn,"\u02C9","\\=");m(Q,w,Sn,"\u02D8","\\u");m(Q,w,Sn,"\u02D9","\\.");m(Q,w,Sn,"\xB8","\\c");m(Q,w,Sn,"\u02DA","\\r");m(Q,w,Sn,"\u02C7","\\v");m(Q,w,Sn,"\xA8",'\\"');m(Q,w,Sn,"\u02DD","\\H");m(Q,w,Sn,"\u25EF","\\textcircled");var JH={"--":!0,"---":!0,"``":!0,"''":!0};m(Q,w,F,"\u2013","--",!0);m(Q,w,F,"\u2013","\\textendash");m(Q,w,F,"\u2014","---",!0);m(Q,w,F,"\u2014","\\textemdash");m(Q,w,F,"\u2018","`",!0);m(Q,w,F,"\u2018","\\textquoteleft");m(Q,w,F,"\u2019","'",!0);m(Q,w,F,"\u2019","\\textquoteright");m(Q,w,F,"\u201C","``",!0);m(Q,w,F,"\u201C","\\textquotedblleft");m(Q,w,F,"\u201D","''",!0);m(Q,w,F,"\u201D","\\textquotedblright");m(y,w,F,"\xB0","\\degree",!0);m(Q,w,F,"\xB0","\\degree");m(Q,w,F,"\xB0","\\textdegree",!0);m(y,w,F,"\xA3","\\pounds");m(y,w,F,"\xA3","\\mathsterling",!0);m(Q,w,F,"\xA3","\\pounds");m(Q,w,F,"\xA3","\\textsterling",!0);m(y,M,F,"\u2720","\\maltese");m(Q,M,F,"\u2720","\\maltese");var vH='0123456789/@."';for(Ix=0;Ix<vH.length;Ix++)PI=vH.charAt(Ix),m(y,w,F,PI,PI);var PI,Ix,kH='0123456789!@*()-=+";:?/.,';for(Ox=0;Ox<kH.length;Ox++)FI=kH.charAt(Ox),m(Q,w,F,FI,FI);var FI,Ox,$x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(Px=0;Px<$x.length;Px++)eb=$x.charAt(Px),m(y,w,qe,eb,eb),m(Q,w,F,eb,eb);var eb,Px;m(y,M,F,"C","\u2102");m(Q,M,F,"C","\u2102");m(y,M,F,"H","\u210D");m(Q,M,F,"H","\u210D");m(y,M,F,"N","\u2115");m(Q,M,F,"N","\u2115");m(y,M,F,"P","\u2119");m(Q,M,F,"P","\u2119");m(y,M,F,"Q","\u211A");m(Q,M,F,"Q","\u211A");m(y,M,F,"R","\u211D");m(Q,M,F,"R","\u211D");m(y,M,F,"Z","\u2124");m(Q,M,F,"Z","\u2124");m(y,w,qe,"h","\u210E");m(Q,w,qe,"h","\u210E");var rt="";for(ii=0;ii<$x.length;ii++)An=$x.charAt(ii),rt=String.fromCharCode(55349,56320+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56372+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56424+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56580+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56684+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56736+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56788+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56840+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56944+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),ii<26&&(rt=String.fromCharCode(55349,56632+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt),rt=String.fromCharCode(55349,56476+ii),m(y,w,qe,An,rt),m(Q,w,F,An,rt));var An,ii;rt=String.fromCharCode(55349,56668);m(y,w,qe,"k",rt);m(Q,w,F,"k",rt);for(Pc=0;Pc<10;Pc++)hl=Pc.toString(),rt=String.fromCharCode(55349,57294+Pc),m(y,w,qe,hl,rt),m(Q,w,F,hl,rt),rt=String.fromCharCode(55349,57314+Pc),m(y,w,qe,hl,rt),m(Q,w,F,hl,rt),rt=String.fromCharCode(55349,57324+Pc),m(y,w,qe,hl,rt),m(Q,w,F,hl,rt),rt=String.fromCharCode(55349,57334+Pc),m(y,w,qe,hl,rt),m(Q,w,F,hl,rt);var hl,Pc,GI="\xD0\xDE\xFE";for(Fx=0;Fx<GI.length;Fx++)tb=GI.charAt(Fx),m(y,w,qe,tb,tb),m(Q,w,F,tb,tb);var tb,Fx,Nx=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],xH=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],u0e=function(e,n){var r=e.charCodeAt(0),i=e.charCodeAt(1),o=(r-55296)*1024+(i-56320)+65536,a=n==="math"?0:1;if(119808<=o&&o<120484){var s=Math.floor((o-119808)/26);return[Nx[s][2],Nx[s][a]]}else if(120782<=o&&o<=120831){var l=Math.floor((o-120782)/10);return[xH[l][2],xH[l][a]]}else{if(o===120485||o===120486)return[Nx[0][2],Nx[0][a]];if(120486<o&&o<120782)return["",""];throw new oe("Unsupported character: "+e)}},Zx=function(e,n,r){return gn[r][e]&&gn[r][e].replace&&(e=gn[r][e].replace),{value:e,metrics:rO(e,n,r)}},ka=function(e,n,r,i,o){var a=Zx(e,n,r),s=a.metrics;e=a.value;var l;if(s){var c=s.italic;(r==="text"||i&&i.font==="mathit")&&(c=0),l=new Bi(e,s.height,s.depth,c,s.skew,s.width,o)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+n+"' and mode '"+r+"'")),l=new Bi(e,0,0,0,0,0,o);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var d=i.getColor();d&&(l.style.color=d)}return l},f0e=function(e,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&Zx(e,"Main-Bold",n).metrics?ka(e,"Main-Bold",n,r,i.concat(["mathbf"])):e==="\\"||gn[n][e].font==="main"?ka(e,"Main-Regular",n,r,i):ka(e,"AMS-Regular",n,r,i.concat(["amsrm"]))},h0e=function(e,n,r,i,o){return o!=="textord"&&Zx(e,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},p0e=function(e,n,r){var i=e.mode,o=e.text,a=["mord"],s=i==="math"||i==="text"&&n.font,l=s?n.font:n.fontFamily,c="",d="";if(o.charCodeAt(0)===55349&&([c,d]=u0e(o,i)),c.length>0)return ka(o,c,i,n,a.concat(d));if(l){var u,f;if(l==="boldsymbol"){var h=h0e(o,i,n,a,r);u=h.fontName,f=[h.fontClass]}else s?(u=n$[l].fontName,f=[l]):(u=Rx(l,n.fontWeight,n.fontShape),f=[l,n.fontWeight,n.fontShape]);if(Zx(o,u,i).metrics)return ka(o,u,i,n,a.concat(f));if(JH.hasOwnProperty(o)&&u.slice(0,10)==="Typewriter"){for(var p=[],g=0;g<o.length;g++)p.push(ka(o[g],u,i,n,a.concat(f)));return t$(p)}}if(r==="mathord")return ka(o,"Math-Italic",i,n,a.concat(["mathnormal"]));if(r==="textord"){var b=gn[i][o]&&gn[i][o].font;if(b==="ams"){var _=Rx("amsrm",n.fontWeight,n.fontShape);return ka(o,_,i,n,a.concat("amsrm",n.fontWeight,n.fontShape))}else if(b==="main"||!b){var x=Rx("textrm",n.fontWeight,n.fontShape);return ka(o,x,i,n,a.concat(n.fontWeight,n.fontShape))}else{var E=Rx(b,n.fontWeight,n.fontShape);return ka(o,E,i,n,a.concat(E,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},m0e=(t,e)=>{if(Nc(t.classes)!==Nc(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var n=t.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in t.style)if(t.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},g0e=t=>{for(var e=0;e<t.length-1;e++){var n=t[e],r=t[e+1];n instanceof Bi&&r instanceof Bi&&m0e(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,t.splice(e+1,1),e--)}return t},iO=function(e){for(var n=0,r=0,i=0,o=0;o<e.children.length;o++){var a=e.children[o];a.height>n&&(n=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>i&&(i=a.maxFontSize)}e.height=n,e.depth=r,e.maxFontSize=i},zi=function(e,n,r,i){var o=new Qu(e,n,r,i);return iO(o),o},e$=(t,e,n,r)=>new Qu(t,e,n,r),y0e=function(e,n,r){var i=zi([e],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=ue(i.height),i.maxFontSize=1,i},b0e=function(e,n,r,i){var o=new ab(e,n,r,i);return iO(o),o},t$=function(e){var n=new Xu(e);return iO(n),n},_0e=function(e,n){return e instanceof Xu?zi([],[e],n):e},w0e=function(e){if(e.positionType==="individualShift"){for(var n=e.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,o=i,a=1;a<n.length;a++){var s=-n[a].shift-o-n[a].elem.depth,l=s-(n[a-1].elem.height+n[a-1].elem.depth);o=o+s,r.push({type:"kern",size:l}),r.push(n[a])}return{children:r,depth:i}}var c;if(e.positionType==="top"){for(var d=e.positionData,u=0;u<e.children.length;u++){var f=e.children[u];d-=f.type==="kern"?f.size:f.elem.height+f.elem.depth}c=d}else if(e.positionType==="bottom")c=-e.positionData;else{var h=e.children[0];if(h.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-h.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-h.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},v0e=function(e,n){for(var{children:r,depth:i}=w0e(e),o=0,a=0;a<r.length;a++){var s=r[a];if(s.type==="elem"){var l=s.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=zi(["pstrut"],[]);c.style.height=ue(o);for(var d=[],u=i,f=i,h=i,p=0;p<r.length;p++){var g=r[p];if(g.type==="kern")h+=g.size;else{var b=g.elem,_=g.wrapperClasses||[],x=g.wrapperStyle||{},E=zi(_,[c,b],void 0,x);E.style.top=ue(-o-h-b.depth),g.marginLeft&&(E.style.marginLeft=g.marginLeft),g.marginRight&&(E.style.marginRight=g.marginRight),d.push(E),h+=b.height+b.depth}u=Math.min(u,h),f=Math.max(f,h)}var v=zi(["vlist"],d);v.style.height=ue(f);var j;if(u<0){var C=zi([],[]),P=zi(["vlist"],[C]);P.style.height=ue(-u);var z=zi(["vlist-s"],[new Bi("\u200B")]);j=[zi(["vlist-r"],[v,z]),zi(["vlist-r"],[P])]}else j=[zi(["vlist-r"],[v])];var N=zi(["vlist-t"],j);return j.length===2&&N.classes.push("vlist-t2"),N.height=f,N.depth=-u,N},k0e=(t,e)=>{var n=zi(["mspace"],[],e),r=On(t,e);return n.style.marginRight=ue(r),n},Rx=function(e,n,r){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var o;return n==="textbf"&&r==="textit"?o="BoldItalic":n==="textbf"?o="Bold":n==="textit"?o="Italic":o="Regular",i+"-"+o},n$={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},r$={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},x0e=function(e,n){var[r,i,o]=r$[e],a=new ds(r),s=new xa([a],{width:ue(i),height:ue(o),style:"width:"+ue(i),viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=e$(["overlay"],[s],n);return l.height=o,l.style.height=ue(o),l.style.width=ue(i),l},L={fontMap:n$,makeSymbol:ka,mathsym:f0e,makeSpan:zi,makeSvgSpan:e$,makeLineSpan:y0e,makeAnchor:b0e,makeFragment:t$,wrapFragment:_0e,makeVList:v0e,makeOrd:p0e,makeGlue:k0e,staticSvg:x0e,svgData:r$,tryCombineChars:g0e},In={number:3,unit:"mu"},Ku={number:4,unit:"mu"},pl={number:5,unit:"mu"},C0e={mord:{mop:In,mbin:Ku,mrel:pl,minner:In},mop:{mord:In,mop:In,mrel:pl,minner:In},mbin:{mord:Ku,mop:Ku,mopen:Ku,minner:Ku},mrel:{mord:pl,mop:pl,mopen:pl,minner:pl},mopen:{},mclose:{mop:In,mbin:Ku,mrel:pl,minner:In},mpunct:{mord:In,mop:In,mrel:pl,mopen:In,mclose:In,mpunct:In,minner:In},minner:{mord:In,mop:In,mbin:Ku,mrel:pl,mopen:In,mpunct:In,minner:In}},D0e={mord:{mop:In},mop:{mord:In,mop:In},mbin:{},mrel:{},mopen:{},mclose:{mop:In},mpunct:{},minner:{mop:In}},i$={},qx={},Wx={};function ye(t){for(var{type:e,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:a}=t,s={type:e,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l<n.length;++l)i$[n[l]]=s;e&&(o&&(qx[e]=o),a&&(Wx[e]=a))}function Ju(t){var{type:e,htmlBuilder:n,mathmlBuilder:r}=t;ye({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var Gx=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},Wn=function(e){return e.type==="ordgroup"?e.body:[e]},yl=L.makeSpan,S0e=["leftmost","mbin","mopen","mrel","mop","mpunct"],E0e=["rightmost","mrel","mclose","mpunct"],M0e={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT},T0e={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},mr=function(e,n,r,i){i===void 0&&(i=[null,null]);for(var o=[],a=0;a<e.length;a++){var s=Ut(e[a],n);if(s instanceof Xu){var l=s.children;o.push(...l)}else o.push(s)}if(L.tryCombineChars(o),!r)return o;var c=n;if(e.length===1){var d=e[0];d.type==="sizing"?c=n.havingSize(d.size):d.type==="styling"&&(c=n.havingStyle(M0e[d.style]))}var u=yl([i[0]||"leftmost"],[],n),f=yl([i[1]||"rightmost"],[],n),h=r==="root";return CH(o,(p,g)=>{var b=g.classes[0],_=p.classes[0];b==="mbin"&&it.contains(E0e,_)?g.classes[0]="mord":_==="mbin"&&it.contains(S0e,b)&&(p.classes[0]="mord")},{node:u},f,h),CH(o,(p,g)=>{var b=YI(g),_=YI(p),x=b&&_?p.hasClass("mtight")?D0e[b][_]:C0e[b][_]:null;if(x)return L.makeGlue(x,c)},{node:u},f,h),o},CH=function t(e,n,r,i,o){i&&e.push(i);for(var a=0;a<e.length;a++){var s=e[a],l=o$(s);if(l){t(l.children,n,r,null,o);continue}var c=!s.hasClass("mspace");if(c){var d=n(s,r.node);d&&(r.insertAfter?r.insertAfter(d):(e.unshift(d),a++))}c?r.node=s:o&&s.hasClass("newline")&&(r.node=yl(["leftmost"])),r.insertAfter=(u=>f=>{e.splice(u+1,0,f),a++})(a)}i&&e.pop()},o$=function(e){return e instanceof Xu||e instanceof ab||e instanceof Qu&&e.hasClass("enclosing")?e:null},A0e=function t(e,n){var r=o$(e);if(r){var i=r.children;if(i.length){if(n==="right")return t(i[i.length-1],"right");if(n==="left")return t(i[0],"left")}}return e},YI=function(e,n){return e?(n&&(e=A0e(e,n)),T0e[e.classes[0]]||null):null},lb=function(e,n){var r=["nulldelimiter"].concat(e.baseSizingClasses());return yl(n.concat(r))},Ut=function(e,n,r){if(!e)return yl();if(qx[e.type]){var i=qx[e.type](e,n);if(r&&n.size!==r.size){i=yl(n.sizingClasses(r),[i],n);var o=n.sizeMultiplier/r.sizeMultiplier;i.height*=o,i.depth*=o}return i}else throw new oe("Got group of unknown type: '"+e.type+"'")};function jx(t,e){var n=yl(["base"],t,e),r=yl(["strut"]);return r.style.height=ue(n.height+n.depth),n.depth&&(r.style.verticalAlign=ue(-n.depth)),n.children.unshift(r),n}function KI(t,e){var n=null;t.length===1&&t[0].type==="tag"&&(n=t[0].tag,t=t[0].body);var r=mr(t,e,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var o=[],a=[],s=0;s<r.length;s++)if(a.push(r[s]),r[s].hasClass("mbin")||r[s].hasClass("mrel")||r[s].hasClass("allowbreak")){for(var l=!1;s<r.length-1&&r[s+1].hasClass("mspace")&&!r[s+1].hasClass("newline");)s++,a.push(r[s]),r[s].hasClass("nobreak")&&(l=!0);l||(o.push(jx(a,e)),a=[])}else r[s].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(jx(a,e)),a=[]),o.push(r[s]));a.length>0&&o.push(jx(a,e));var c;n?(c=jx(mr(n,e,!0)),c.classes=["tag"],o.push(c)):i&&o.push(i);var d=yl(["katex-html"],o);if(d.setAttribute("aria-hidden","true"),c){var u=c.children[0];u.style.height=ue(d.height+d.depth),d.depth&&(u.style.verticalAlign=ue(-d.depth))}return d}function a$(t){return new Xu(t)}var Li=class{constructor(e,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(e,n){this.attributes[e]=n}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);this.classes.length>0&&(e.className=Nc(this.classes));for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="',e+=it.escape(this.attributes[n]),e+='"');this.classes.length>0&&(e+=' class ="'+it.escape(Nc(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}},Zu=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return it.escape(this.toText())}toText(){return this.text}},ZI=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ue(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ue(this.width)+'"/>'}toText(){return this.character?this.character:" "}},te={MathNode:Li,TextNode:Zu,SpaceNode:ZI,newDocumentFragment:a$},Uo=function(e,n,r){return gn[n][e]&&gn[n][e].replace&&e.charCodeAt(0)!==55349&&!(JH.hasOwnProperty(e)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(e=gn[n][e].replace),new te.TextNode(e)},oO=function(e){return e.length===1?e[0]:new te.MathNode("mrow",e)},aO=function(e,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=e.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var o=e.text;if(it.contains(["\\imath","\\jmath"],o))return null;gn[i][o]&&gn[i][o].replace&&(o=gn[i][o].replace);var a=L.fontMap[r].fontName;return rO(o,a,i)?L.fontMap[r].variant:null},Vi=function(e,n,r){if(e.length===1){var i=ln(e[0],n);return r&&i instanceof Li&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var o=[],a,s=0;s<e.length;s++){var l=ln(e[s],n);if(l instanceof Li&&a instanceof Li){if(l.type==="mtext"&&a.type==="mtext"&&l.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...l.children);continue}else if(l.type==="mn"&&a.type==="mn"){a.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&a.type==="mn"){var c=l.children[0];if(c instanceof Zu&&c.text==="."){a.children.push(...l.children);continue}}else if(a.type==="mi"&&a.children.length===1){var d=a.children[0];if(d instanceof Zu&&d.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var u=l.children[0];u instanceof Zu&&u.text.length>0&&(u.text=u.text.slice(0,1)+"\u0338"+u.text.slice(1),o.pop())}}}o.push(l),a=l}return o},Rc=function(e,n,r){return oO(Vi(e,n,r))},ln=function(e,n){if(!e)return new te.MathNode("mrow");if(Wx[e.type]){var r=Wx[e.type](e,n);return r}else throw new oe("Got group of unknown type: '"+e.type+"'")};function DH(t,e,n,r,i){var o=Vi(t,n),a;o.length===1&&o[0]instanceof Li&&it.contains(["mrow","mtable"],o[0].type)?a=o[0]:a=new te.MathNode("mrow",o);var s=new te.MathNode("annotation",[new te.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var l=new te.MathNode("semantics",[a,s]),c=new te.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var d=i?"katex":"katex-mathml";return L.makeSpan([d],[c])}var s$=function(e){return new o0e({style:e.displayMode?We.DISPLAY:We.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},l$=function(e,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),e=L.makeSpan(r,[e])}return e},I0e=function(e,n,r){var i=s$(r),o;if(r.output==="mathml")return DH(e,n,i,r.displayMode,!0);if(r.output==="html"){var a=KI(e,i);o=L.makeSpan(["katex"],[a])}else{var s=DH(e,n,i,r.displayMode,!1),l=KI(e,i);o=L.makeSpan(["katex"],[s,l])}return l$(o,r)},O0e=function(e,n,r){var i=s$(r),o=KI(e,i),a=L.makeSpan(["katex"],[o]);return l$(a,r)},P0e={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},F0e=function(e){var n=new te.MathNode("mo",[new te.TextNode(P0e[e.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},N0e={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},R0e=function(e){return e.type==="ordgroup"?e.body.length:1},j0e=function(e,n){function r(){var s=4e5,l=e.label.slice(1);if(it.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,d=R0e(c.base),u,f,h;if(d>5)l==="widehat"||l==="widecheck"?(u=420,s=2364,h=.42,f=l+"4"):(u=312,s=2340,h=.34,f="tilde4");else{var p=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][p],u=[0,239,300,360,420][p],h=[0,.24,.3,.3,.36,.42][p],f=l+p):(s=[0,600,1033,2339,2340][p],u=[0,260,286,306,312][p],h=[0,.26,.286,.3,.306,.34][p],f="tilde"+p)}var g=new ds(f),b=new xa([g],{width:"100%",height:ue(h),viewBox:"0 0 "+s+" "+u,preserveAspectRatio:"none"});return{span:L.makeSvgSpan([],[b],n),minWidth:0,height:h}}else{var _=[],x=N0e[l],[E,v,j]=x,C=j/1e3,P=E.length,z,N;if(P===1){var O=x[3];z=["hide-tail"],N=[O]}else if(P===2)z=["halfarrow-left","halfarrow-right"],N=["xMinYMin","xMaxYMin"];else if(P===3)z=["brace-left","brace-center","brace-right"],N=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+P+" children.");for(var J=0;J<P;J++){var V=new ds(E[J]),G=new xa([V],{width:"400em",height:ue(C),viewBox:"0 0 "+s+" "+j,preserveAspectRatio:N[J]+" slice"}),ie=L.makeSvgSpan([z[J]],[G],n);if(P===1)return{span:ie,minWidth:v,height:C};ie.style.height=ue(C),_.push(ie)}return{span:L.makeSpan(["stretchy"],_,n),minWidth:v,height:C}}}var{span:i,minWidth:o,height:a}=r();return i.height=a,i.style.height=ue(a),o>0&&(i.style.minWidth=ue(o)),i},z0e=function(e,n,r,i,o){var a,s=e.height+e.depth+r+i;if(/fbox|color|angl/.test(n)){if(a=L.makeSpan(["stretchy",n],[],o),n==="fbox"){var l=o.color&&o.getColor();l&&(a.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new sb({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new sb({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new xa(c,{width:"100%",height:ue(s)});a=L.makeSvgSpan([],[d],o)}return a.height=s,a.style.height=ue(s),a},bl={encloseSpan:z0e,mathMLnode:F0e,svgSpan:j0e};function kt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function sO(t){var e=Xx(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Xx(t){return t&&(t.type==="atom"||d0e.hasOwnProperty(t.type))?t:null}var lO=(t,e)=>{var n,r,i;t&&t.type==="supsub"?(r=kt(t.base,"accent"),n=r.base,t.base=n,i=l0e(Ut(t,e)),t.base=r):(r=kt(t,"accent"),n=r.base);var o=Ut(n,e.havingCrampedStyle()),a=r.isShifty&&it.isCharacterBox(n),s=0;if(a){var l=it.getBaseElem(n),c=Ut(l,e.havingCrampedStyle());s=wH(c).skew}var d=r.label==="\\c",u=d?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),f;if(r.isStretchy)f=bl.svgSpan(r,e),f=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+ue(2*s)+")",marginLeft:ue(2*s)}:void 0}]},e);else{var h,p;r.label==="\\vec"?(h=L.staticSvg("vec",e),p=L.svgData.vec[1]):(h=L.makeOrd({mode:r.mode,text:r.label},e,"textord"),h=wH(h),h.italic=0,p=h.width,d&&(u+=h.depth)),f=L.makeSpan(["accent-body"],[h]);var g=r.label==="\\textcircled";g&&(f.classes.push("accent-full"),u=o.height);var b=s;g||(b-=p/2),f.style.left=ue(b),r.label==="\\textcircled"&&(f.style.top=".2em"),f=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-u},{type:"elem",elem:f}]},e)}var _=L.makeSpan(["mord","accent"],[f],e);return i?(i.children[0]=_,i.height=Math.max(_.height,i.height),i.classes[0]="mord",i):_},c$=(t,e)=>{var n=t.isStretchy?bl.mathMLnode(t.label):new te.MathNode("mo",[Uo(t.label,t.mode)]),r=new te.MathNode("mover",[ln(t.base,e),n]);return r.setAttribute("accent","true"),r},L0e=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));ye({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var n=Gx(e[0]),r=!L0e.test(t.funcName),i=!r||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:lO,mathmlBuilder:c$});ye({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var n=e[0],r=t.parser.mode;return r==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:t.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:lO,mathmlBuilder:c$});ye({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(t,e)=>{var n=Ut(t.base,e),r=bl.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,o=L.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},e);return L.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var n=bl.mathMLnode(t.label),r=new te.MathNode("munder",[ln(t.base,e),n]);return r.setAttribute("accentunder","true"),r}});var zx=t=>{var e=new te.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};ye({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,n){var{parser:r,funcName:i}=t;return{type:"xArrow",mode:r.mode,label:i,body:e[0],below:n[0]}},htmlBuilder(t,e){var n=e.style,r=e.havingStyle(n.sup()),i=L.wrapFragment(Ut(t.body,r,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(o+"-arrow-pad");var a;t.below&&(r=e.havingStyle(n.sub()),a=L.wrapFragment(Ut(t.below,r,e),e),a.classes.push(o+"-arrow-pad"));var s=bl.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,c=-e.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(c-=i.depth);var d;if(a){var u=-e.fontMetrics().axisHeight+a.height+.5*s.height+.111;d=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:u}]},e)}else d=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),L.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var n=bl.mathMLnode(t.label);n.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(t.body){var i=zx(ln(t.body,e));if(t.below){var o=zx(ln(t.below,e));r=new te.MathNode("munderover",[n,o,i])}else r=new te.MathNode("mover",[n,i])}else if(t.below){var a=zx(ln(t.below,e));r=new te.MathNode("munder",[n,a])}else r=zx(),r=new te.MathNode("mover",[n,r]);return r}});var B0e=L.makeSpan;function d$(t,e){var n=mr(t.body,e,!0);return B0e([t.mclass],n,e)}function u$(t,e){var n,r=Vi(t.body,e);return t.mclass==="minner"?n=new te.MathNode("mpadded",r):t.mclass==="mord"?t.isCharacterBox?(n=r[0],n.type="mi"):n=new te.MathNode("mi",r):(t.isCharacterBox?(n=r[0],n.type="mo"):n=new te.MathNode("mo",r),t.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):t.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):t.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}ye({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Wn(i),isCharacterBox:it.isCharacterBox(i)}},htmlBuilder:d$,mathmlBuilder:u$});var Qx=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};ye({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:n}=t;return{type:"mclass",mode:n.mode,mclass:Qx(e[0]),body:Wn(e[1]),isCharacterBox:it.isCharacterBox(e[1])}}});ye({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:n,funcName:r}=t,i=e[1],o=e[0],a;r!=="\\stackrel"?a=Qx(i):a="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Wn(i)},l={type:"supsub",mode:o.mode,base:s,sup:r==="\\underset"?null:o,sub:r==="\\underset"?o:null};return{type:"mclass",mode:n.mode,mclass:a,body:[l],isCharacterBox:it.isCharacterBox(l)}},htmlBuilder:d$,mathmlBuilder:u$});ye({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"pmb",mode:n.mode,mclass:Qx(e[0]),body:Wn(e[0])}},htmlBuilder(t,e){var n=mr(t.body,e,!0),r=L.makeSpan([t.mclass],n,e);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(t,e){var n=Vi(t.body,e),r=new te.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var V0e={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},SH=()=>({type:"styling",body:[],mode:"math",style:"display"}),EH=t=>t.type==="textord"&&t.text==="@",U0e=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function H0e(t,e,n){var r=V0e[t];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:r,mode:"math",family:"rel"},a=n.callFunction("\\Big",[o],[]),s=n.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[i,a,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function $0e(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var n=t.fetch().text;if(n==="&"||n==="\\\\")t.consume();else if(n==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new oe("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var r=[],i=[r],o=0;o<e.length;o++){for(var a=e[o],s=SH(),l=0;l<a.length;l++)if(!EH(a[l]))s.body.push(a[l]);else{r.push(s),l+=1;var c=sO(a[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var u=0;u<2;u++){for(var f=!0,h=l+1;h<a.length;h++){if(U0e(a[h],c)){f=!1,l=h;break}if(EH(a[h]))throw new oe("Missing a "+c+" character to complete a CD arrow.",a[h]);d[u].body.push(a[h])}if(f)throw new oe("Missing a "+c+" character to complete a CD arrow.",a[l])}else throw new oe('Expected one of "<>AV=|." after @',a[l]);var p=H0e(c,d,t),g={type:"styling",body:[p],mode:"math",style:"display"};r.push(g),s=SH()}o%2===0?r.push(s):r.shift(),r=[],i.push(r)}t.gullet.endGroup(),t.gullet.endGroup();var b=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}ye({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:e[0]}},htmlBuilder(t,e){var n=e.havingStyle(e.style.sup()),r=L.wrapFragment(Ut(t.label,n,e),e);return r.classes.push("cd-label-"+t.side),r.style.bottom=ue(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(t,e){var n=new te.MathNode("mrow",[ln(t.label,e)]);return n=new te.MathNode("mpadded",[n]),n.setAttribute("width","0"),t.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new te.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ye({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:n}=t;return{type:"cdlabelparent",mode:n.mode,fragment:e[0]}},htmlBuilder(t,e){var n=L.wrapFragment(Ut(t.fragment,e),e);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(t,e){return new te.MathNode("mrow",[ln(t.fragment,e)])}});ye({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:n}=t,r=kt(e[0],"ordgroup"),i=r.body,o="",a=0;a<i.length;a++){var s=kt(i[a],"textord");o+=s.text}var l=parseInt(o),c;if(isNaN(l))throw new oe("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new oe("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var f$=(t,e)=>{var n=mr(t.body,e.withColor(t.color),!1);return L.makeFragment(n)},h$=(t,e)=>{var n=Vi(t.body,e.withColor(t.color)),r=new te.MathNode("mstyle",n);return r.setAttribute("mathcolor",t.color),r};ye({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:n}=t,r=kt(e[0],"color-token").color,i=e[1];return{type:"color",mode:n.mode,color:r,body:Wn(i)}},htmlBuilder:f$,mathmlBuilder:h$});ye({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:n,breakOnTokenText:r}=t,i=kt(e[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:f$,mathmlBuilder:h$});ye({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,n){var{parser:r}=t,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&kt(i,"size").value}},htmlBuilder(t,e){var n=L.makeSpan(["mspace"],[],e);return t.newLine&&(n.classes.push("newline"),t.size&&(n.style.marginTop=ue(On(t.size,e)))),n},mathmlBuilder(t,e){var n=new te.MathNode("mspace");return t.newLine&&(n.setAttribute("linebreak","newline"),t.size&&n.setAttribute("height",ue(On(t.size,e)))),n}});var XI={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},p$=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new oe("Expected a control sequence",t);return e},q0e=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},m$=(t,e,n,r)=>{var i=t.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!t.gullet.isExpandable(n.text)}),t.gullet.macros.set(e,i,r)};ye({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:n}=t;e.consumeSpaces();var r=e.fetch();if(XI[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=XI[r.text]),kt(e.parseFunction(),"internal");throw new oe("Invalid token after macro prefix",r)}});ye({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=e.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new oe("Expected a control sequence",r);for(var o=0,a,s=[[]];e.gullet.future().text!=="{";)if(r=e.gullet.popToken(),r.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),s[o].push("{");break}if(r=e.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new oe('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==o+1)throw new oe('Argument number "'+r.text+'" out of order');o++,s.push([])}else{if(r.text==="EOF")throw new oe("Expected a macro definition");s[o].push(r.text)}var{tokens:l}=e.gullet.consumeArg();return a&&l.unshift(a),(n==="\\edef"||n==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(i,{tokens:l,numArgs:o,delimiters:s},n===XI[n]),{type:"internal",mode:e.mode}}});ye({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=p$(e.gullet.popToken());e.gullet.consumeSpaces();var i=q0e(e);return m$(e,r,i,n==="\\\\globallet"),{type:"internal",mode:e.mode}}});ye({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=p$(e.gullet.popToken()),i=e.gullet.popToken(),o=e.gullet.popToken();return m$(e,r,o,n==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var nb=function(e,n,r){var i=gn.math[e]&&gn.math[e].replace,o=rO(i||e,n,r);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+n+".");return o},cO=function(e,n,r,i){var o=r.havingBaseStyle(n),a=L.makeSpan(i.concat(o.sizingClasses(r)),[e],r),s=o.sizeMultiplier/r.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=o.sizeMultiplier,a},g$=function(e,n,r){var i=n.havingBaseStyle(r),o=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ue(o),e.height-=o,e.depth+=o},W0e=function(e,n,r,i,o,a){var s=L.makeSymbol(e,"Main-Regular",o,i),l=cO(s,n,i,a);return r&&g$(l,i,n),l},G0e=function(e,n,r,i){return L.makeSymbol(e,"Size"+n+"-Regular",r,i)},y$=function(e,n,r,i,o,a){var s=G0e(e,n,o,i),l=cO(L.makeSpan(["delimsizing","size"+n],[s],i),We.TEXT,i,a);return r&&g$(l,i,We.TEXT),l},NI=function(e,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var o=L.makeSpan(["delimsizinginner",i],[L.makeSpan([],[L.makeSymbol(e,n,r)])]);return{type:"elem",elem:o}},RI=function(e,n,r){var i=ls["Size4-Regular"][e.charCodeAt(0)]?ls["Size4-Regular"][e.charCodeAt(0)][4]:ls["Size1-Regular"][e.charCodeAt(0)][4],o=new ds("inner",e0e(e,Math.round(1e3*n))),a=new xa([o],{width:ue(i),height:ue(n),style:"width:"+ue(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=L.makeSvgSpan([],[a],r);return s.height=n,s.style.height=ue(n),s.style.width=ue(i),{type:"elem",elem:s}},QI=.008,Lx={type:"kern",size:-1*QI},Y0e=["|","\\lvert","\\rvert","\\vert"],K0e=["\\|","\\lVert","\\rVert","\\Vert"],b$=function(e,n,r,i,o,a){var s,l,c,d,u="",f=0;s=c=d=e,l=null;var h="Size1-Regular";e==="\\uparrow"?c=d="\u23D0":e==="\\Uparrow"?c=d="\u2016":e==="\\downarrow"?s=c="\u23D0":e==="\\Downarrow"?s=c="\u2016":e==="\\updownarrow"?(s="\\uparrow",c="\u23D0",d="\\downarrow"):e==="\\Updownarrow"?(s="\\Uparrow",c="\u2016",d="\\Downarrow"):it.contains(Y0e,e)?(c="\u2223",u="vert",f=333):it.contains(K0e,e)?(c="\u2225",u="doublevert",f=556):e==="["||e==="\\lbrack"?(s="\u23A1",c="\u23A2",d="\u23A3",h="Size4-Regular",u="lbrack",f=667):e==="]"||e==="\\rbrack"?(s="\u23A4",c="\u23A5",d="\u23A6",h="Size4-Regular",u="rbrack",f=667):e==="\\lfloor"||e==="\u230A"?(c=s="\u23A2",d="\u23A3",h="Size4-Regular",u="lfloor",f=667):e==="\\lceil"||e==="\u2308"?(s="\u23A1",c=d="\u23A2",h="Size4-Regular",u="lceil",f=667):e==="\\rfloor"||e==="\u230B"?(c=s="\u23A5",d="\u23A6",h="Size4-Regular",u="rfloor",f=667):e==="\\rceil"||e==="\u2309"?(s="\u23A4",c=d="\u23A5",h="Size4-Regular",u="rceil",f=667):e==="("||e==="\\lparen"?(s="\u239B",c="\u239C",d="\u239D",h="Size4-Regular",u="lparen",f=875):e===")"||e==="\\rparen"?(s="\u239E",c="\u239F",d="\u23A0",h="Size4-Regular",u="rparen",f=875):e==="\\{"||e==="\\lbrace"?(s="\u23A7",l="\u23A8",d="\u23A9",c="\u23AA",h="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(s="\u23AB",l="\u23AC",d="\u23AD",c="\u23AA",h="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(s="\u23A7",d="\u23A9",c="\u23AA",h="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(s="\u23AB",d="\u23AD",c="\u23AA",h="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(s="\u23A7",d="\u23AD",c="\u23AA",h="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(s="\u23AB",d="\u23A9",c="\u23AA",h="Size4-Regular");var p=nb(s,h,o),g=p.height+p.depth,b=nb(c,h,o),_=b.height+b.depth,x=nb(d,h,o),E=x.height+x.depth,v=0,j=1;if(l!==null){var C=nb(l,h,o);v=C.height+C.depth,j=2}var P=g+E+v,z=Math.max(0,Math.ceil((n-P)/(j*_))),N=P+z*j*_,O=i.fontMetrics().axisHeight;r&&(O*=i.sizeMultiplier);var J=N/2-O,V=[];if(u.length>0){var G=N-g-E,ie=Math.round(N*1e3),me=t0e(u,Math.round(G*1e3)),q=new ds(u,me),X=(f/1e3).toFixed(3)+"em",ee=(ie/1e3).toFixed(3)+"em",_e=new xa([q],{width:X,height:ee,viewBox:"0 0 "+f+" "+ie}),D=L.makeSvgSpan([],[_e],i);D.height=ie/1e3,D.style.width=X,D.style.height=ee,V.push({type:"elem",elem:D})}else{if(V.push(NI(d,h,o)),V.push(Lx),l===null){var je=N-g-E+2*QI;V.push(RI(c,je,i))}else{var Ie=(N-g-E-v)/2+2*QI;V.push(RI(c,Ie,i)),V.push(Lx),V.push(NI(l,h,o)),V.push(Lx),V.push(RI(c,Ie,i))}V.push(Lx),V.push(NI(s,h,o))}var I=i.havingBaseStyle(We.TEXT),Ge=L.makeVList({positionType:"bottom",positionData:J,children:V},I);return cO(L.makeSpan(["delimsizing","mult"],[Ge],I),We.TEXT,i,a)},jI=80,zI=.08,LI=function(e,n,r,i,o){var a=Jge(e,i,r),s=new ds(e,a),l=new xa([s],{width:"400em",height:ue(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return L.makeSvgSpan(["hide-tail"],[l],o)},Z0e=function(e,n){var r=n.havingBaseSizing(),i=k$("\\surd",e*r.sizeMultiplier,v$,r),o=r.sizeMultiplier,a=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,c=0,d=0,u;return i.type==="small"?(d=1e3+1e3*a+jI,e<1?o=1:e<1.4&&(o=.7),l=(1+a+zI)/o,c=(1+a)/o,s=LI("sqrtMain",l,d,a,n),s.style.minWidth="0.853em",u=.833/o):i.type==="large"?(d=(1e3+jI)*rb[i.size],c=(rb[i.size]+a)/o,l=(rb[i.size]+a+zI)/o,s=LI("sqrtSize"+i.size,l,d,a,n),s.style.minWidth="1.02em",u=1/o):(l=e+a+zI,c=e+a,d=Math.floor(1e3*e+a)+jI,s=LI("sqrtTall",l,d,a,n),s.style.minWidth="0.742em",u=1.056),s.height=c,s.style.height=ue(l),{span:s,advanceWidth:u,ruleWidth:(n.fontMetrics().sqrtRuleThickness+a)*o}},_$=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],X0e=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],w$=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],rb=[0,1.2,1.8,2.4,3],Q0e=function(e,n,r,i,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),it.contains(_$,e)||it.contains(w$,e))return y$(e,n,!1,r,i,o);if(it.contains(X0e,e))return b$(e,rb[n],!1,r,i,o);throw new oe("Illegal delimiter: '"+e+"'")},J0e=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],eye=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"stack"}],v$=[{type:"small",style:We.SCRIPTSCRIPT},{type:"small",style:We.SCRIPT},{type:"small",style:We.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],tye=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},k$=function(e,n,r,i){for(var o=Math.min(2,3-i.style.size),a=o;a<r.length&&r[a].type!=="stack";a++){var s=nb(e,tye(r[a]),"math"),l=s.height+s.depth;if(r[a].type==="small"){var c=i.havingBaseStyle(r[a].style);l*=c.sizeMultiplier}if(l>n)return r[a]}return r[r.length-1]},x$=function(e,n,r,i,o,a){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var s;it.contains(w$,e)?s=J0e:it.contains(_$,e)?s=v$:s=eye;var l=k$(e,n,s,i);return l.type==="small"?W0e(e,l.style,r,i,o,a):l.type==="large"?y$(e,l.size,r,i,o,a):b$(e,n,r,i,o,a)},nye=function(e,n,r,i,o,a){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,c=5/i.fontMetrics().ptPerEm,d=Math.max(n-s,r+s),u=Math.max(d/500*l,2*d-c);return x$(e,u,!0,i,o,a)},gl={sqrtImage:Z0e,sizedDelim:Q0e,sizeToMaxHeight:rb,customSizedDelim:x$,leftRightDelim:nye},MH={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},rye=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Jx(t,e){var n=Xx(t);if(n&&it.contains(rye,n.text))return n;throw n?new oe("Invalid delimiter '"+n.text+"' after '"+e.funcName+"'",t):new oe("Invalid delimiter type '"+t.type+"'",t)}ye({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var n=Jx(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:MH[t.funcName].size,mclass:MH[t.funcName].mclass,delim:n.text}},htmlBuilder:(t,e)=>t.delim==="."?L.makeSpan([t.mclass]):gl.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Uo(t.delim,t.mode));var n=new te.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=ue(gl.sizeToMaxHeight[t.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function TH(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ye({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=t.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new oe("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Jx(e[0],t).text,color:n}}});ye({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=Jx(e[0],t),r=t.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=kt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{TH(t);for(var n=mr(t.body,e,!0,["mopen","mclose"]),r=0,i=0,o=!1,a=0;a<n.length;a++)n[a].isMiddle?o=!0:(r=Math.max(n[a].height,r),i=Math.max(n[a].depth,i));r*=e.sizeMultiplier,i*=e.sizeMultiplier;var s;if(t.left==="."?s=lb(e,["mopen"]):s=gl.leftRightDelim(t.left,r,i,e,t.mode,["mopen"]),n.unshift(s),o)for(var l=1;l<n.length;l++){var c=n[l],d=c.isMiddle;d&&(n[l]=gl.leftRightDelim(d.delim,r,i,d.options,t.mode,[]))}var u;if(t.right===".")u=lb(e,["mclose"]);else{var f=t.rightColor?e.withColor(t.rightColor):e;u=gl.leftRightDelim(t.right,r,i,f,t.mode,["mclose"])}return n.push(u),L.makeSpan(["minner"],n,e)},mathmlBuilder:(t,e)=>{TH(t);var n=Vi(t.body,e);if(t.left!=="."){var r=new te.MathNode("mo",[Uo(t.left,t.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(t.right!=="."){var i=new te.MathNode("mo",[Uo(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),n.push(i)}return oO(n)}});ye({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=Jx(e[0],t);if(!t.parser.leftrightDepth)throw new oe("\\middle without preceding \\left",n);return{type:"middle",mode:t.parser.mode,delim:n.text}},htmlBuilder:(t,e)=>{var n;if(t.delim===".")n=lb(e,[]);else{n=gl.sizedDelim(t.delim,1,e,t.mode,[]);var r={delim:t.delim,options:e};n.isMiddle=r}return n},mathmlBuilder:(t,e)=>{var n=t.delim==="\\vert"||t.delim==="|"?Uo("|","text"):Uo(t.delim,t.mode),r=new te.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var dO=(t,e)=>{var n=L.wrapFragment(Ut(t.body,e),e),r=t.label.slice(1),i=e.sizeMultiplier,o,a=0,s=it.isCharacterBox(t.body);if(r==="sout")o=L.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/i,a=-.5*e.fontMetrics().xHeight;else if(r==="phase"){var l=On({number:.6,unit:"pt"},e),c=On({number:.35,unit:"ex"},e),d=e.havingBaseSizing();i=i/d.sizeMultiplier;var u=n.height+n.depth+l+c;n.style.paddingLeft=ue(u/2+l);var f=Math.floor(1e3*u*i),h=Xge(f),p=new xa([new ds("phase",h)],{width:"400em",height:ue(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});o=L.makeSvgSpan(["hide-tail"],[p],e),o.style.height=ue(u),a=n.depth+l+c}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,b=0,_=0;/box/.test(r)?(_=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),g=e.fontMetrics().fboxsep+(r==="colorbox"?0:_),b=g):r==="angl"?(_=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),g=4*_,b=Math.max(0,.25-n.depth)):(g=s?.2:0,b=g),o=bl.encloseSpan(n,r,g,b,e),/fbox|boxed|fcolorbox/.test(r)?(o.style.borderStyle="solid",o.style.borderWidth=ue(_)):r==="angl"&&_!==.049&&(o.style.borderTopWidth=ue(_),o.style.borderRightWidth=ue(_)),a=n.depth+b,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var x;if(t.backgroundColor)x=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:n,shift:0}]},e);else{var E=/cancel|phase/.test(r)?["svg-align"]:[];x=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:E}]},e)}return/cancel/.test(r)&&(x.height=n.height,x.depth=n.depth),/cancel/.test(r)&&!s?L.makeSpan(["mord","cancel-lap"],[x],e):L.makeSpan(["mord"],[x],e)},uO=(t,e)=>{var n=0,r=new te.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ln(t.body,e)]);switch(t.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&r.setAttribute("mathbackground",t.backgroundColor),r};ye({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,n){var{parser:r,funcName:i}=t,o=kt(e[0],"color-token").color,a=e[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:dO,mathmlBuilder:uO});ye({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,n){var{parser:r,funcName:i}=t,o=kt(e[0],"color-token").color,a=kt(e[1],"color-token").color,s=e[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:dO,mathmlBuilder:uO});ye({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"enclose",mode:n.mode,label:"\\fbox",body:e[0]}}});ye({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:dO,mathmlBuilder:uO});ye({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:n}=t;return{type:"enclose",mode:n.mode,label:"\\angl",body:e[0]}}});var C$={};function us(t){for(var{type:e,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:a}=t,s={type:e,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)C$[n[l]]=s;o&&(qx[e]=o),a&&(Wx[e]=a)}var D$={};function k(t,e){D$[t]=e}function AH(t){var e=[];t.consumeSpaces();var n=t.fetch().text;for(n==="\\relax"&&(t.consume(),t.consumeSpaces(),n=t.fetch().text);n==="\\hline"||n==="\\hdashline";)t.consume(),e.push(n==="\\hdashline"),t.consumeSpaces(),n=t.fetch().text;return e}var eC=t=>{var e=t.parser.settings;if(!e.displayMode)throw new oe("{"+t.envName+"} can be used only in display mode.")};function fO(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function jc(t,e,n){var{hskipBeforeAndAfter:r,addJot:i,cols:o,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:d,maxNumCols:u,leqno:f}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var h=t.gullet.expandMacroAsText("\\arraystretch");if(h==null)a=1;else if(a=parseFloat(h),!a||a<0)throw new oe("Invalid \\arraystretch: "+h)}t.gullet.beginGroup();var p=[],g=[p],b=[],_=[],x=l!=null?[]:void 0;function E(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function v(){x&&(t.gullet.macros.get("\\df@tag")?(x.push(t.subparse([new cs("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(E(),_.push(AH(t));;){var j=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),j={type:"ordgroup",mode:t.mode,body:j},n&&(j={type:"styling",mode:t.mode,style:n,body:[j]}),p.push(j);var C=t.fetch().text;if(C==="&"){if(u&&p.length===u){if(c||s)throw new oe("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(C==="\\end"){v(),p.length===1&&j.type==="styling"&&j.body[0].body.length===0&&(g.length>1||!d)&&g.pop(),_.length<g.length+1&&_.push([]);break}else if(C==="\\\\"){t.consume();var P=void 0;t.gullet.future().text!==" "&&(P=t.parseSizeGroup(!0)),b.push(P?P.value:null),v(),_.push(AH(t)),p=[],g.push(p),E()}else throw new oe("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:a,body:g,cols:o,rowGaps:b,hskipBeforeAndAfter:r,hLinesBeforeRow:_,colSeparationType:s,tags:x,leqno:f}}function hO(t){return t.slice(0,1)==="d"?"display":"text"}var fs=function(e,n){var r,i,o=e.body.length,a=e.hLinesBeforeRow,s=0,l=new Array(o),c=[],d=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),u=1/n.fontMetrics().ptPerEm,f=5*u;if(e.colSeparationType&&e.colSeparationType==="small"){var h=n.havingStyle(We.SCRIPT).sizeMultiplier;f=.2778*(h/n.sizeMultiplier)}var p=e.colSeparationType==="CD"?On({number:3,unit:"ex"},n):12*u,g=3*u,b=e.arraystretch*p,_=.7*b,x=.3*b,E=0;function v(yo){for(var bo=0;bo<yo.length;++bo)bo>0&&(E+=.25),c.push({pos:E,isDashed:yo[bo]})}for(v(a[0]),r=0;r<e.body.length;++r){var j=e.body[r],C=_,P=x;s<j.length&&(s=j.length);var z=new Array(j.length);for(i=0;i<j.length;++i){var N=Ut(j[i],n);P<N.depth&&(P=N.depth),C<N.height&&(C=N.height),z[i]=N}var O=e.rowGaps[r],J=0;O&&(J=On(O,n),J>0&&(J+=x,P<J&&(P=J),J=0)),e.addJot&&(P+=g),z.height=C,z.depth=P,E+=C,z.pos=E,E+=P+J,l[r]=z,v(a[r+1])}var V=E/2+n.fontMetrics().axisHeight,G=e.cols||[],ie=[],me,q,X=[];if(e.tags&&e.tags.some(yo=>yo))for(r=0;r<o;++r){var ee=l[r],_e=ee.pos-V,D=e.tags[r],je=void 0;D===!0?je=L.makeSpan(["eqn-num"],[],n):D===!1?je=L.makeSpan([],[],n):je=L.makeSpan([],mr(D,n,!0),n),je.depth=ee.depth,je.height=ee.height,X.push({type:"elem",elem:je,shift:_e})}for(i=0,q=0;i<s||q<G.length;++i,++q){for(var Ie=G[q]||{},I=!0;Ie.type==="separator";){if(I||(me=L.makeSpan(["arraycolsep"],[]),me.style.width=ue(n.fontMetrics().doubleRuleSep),ie.push(me)),Ie.separator==="|"||Ie.separator===":"){var Ge=Ie.separator==="|"?"solid":"dashed",Qt=L.makeSpan(["vertical-separator"],[],n);Qt.style.height=ue(E),Qt.style.borderRightWidth=ue(d),Qt.style.borderRightStyle=Ge,Qt.style.margin="0 "+ue(-d/2);var _r=E-V;_r&&(Qt.style.verticalAlign=ue(-_r)),ie.push(Qt)}else throw new oe("Invalid separator type: "+Ie.separator);q++,Ie=G[q]||{},I=!1}if(!(i>=s)){var Nt=void 0;(i>0||e.hskipBeforeAndAfter)&&(Nt=it.deflt(Ie.pregap,f),Nt!==0&&(me=L.makeSpan(["arraycolsep"],[]),me.style.width=ue(Nt),ie.push(me)));var mt=[];for(r=0;r<o;++r){var Wt=l[r],Jt=Wt[i];if(Jt){var or=Wt.pos-V;Jt.depth=Wt.depth,Jt.height=Wt.height,mt.push({type:"elem",elem:Jt,shift:or})}}mt=L.makeVList({positionType:"individualShift",children:mt},n),mt=L.makeSpan(["col-align-"+(Ie.align||"c")],[mt]),ie.push(mt),(i<s-1||e.hskipBeforeAndAfter)&&(Nt=it.deflt(Ie.postgap,f),Nt!==0&&(me=L.makeSpan(["arraycolsep"],[]),me.style.width=ue(Nt),ie.push(me)))}}if(l=L.makeSpan(["mtable"],ie),c.length>0){for(var Zi=L.makeLineSpan("hline",n,d),Zo=L.makeLineSpan("hdashline",n,d),Xo=[{type:"elem",elem:l,shift:0}];c.length>0;){var Ia=c.pop(),Qo=Ia.pos-V;Ia.isDashed?Xo.push({type:"elem",elem:Zo,shift:Qo}):Xo.push({type:"elem",elem:Zi,shift:Qo})}l=L.makeVList({positionType:"individualShift",children:Xo},n)}if(X.length===0)return L.makeSpan(["mord"],[l],n);var Jo=L.makeVList({positionType:"individualShift",children:X},n);return Jo=L.makeSpan(["tag"],[Jo],n),L.makeFragment([l,Jo])},iye={c:"center ",l:"left ",r:"right "},hs=function(e,n){for(var r=[],i=new te.MathNode("mtd",[],["mtr-glue"]),o=new te.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var s=e.body[a],l=[],c=0;c<s.length;c++)l.push(new te.MathNode("mtd",[ln(s[c],n)]));e.tags&&e.tags[a]&&(l.unshift(i),l.push(i),e.leqno?l.unshift(o):l.push(o)),r.push(new te.MathNode("mtr",l))}var d=new te.MathNode("mtable",r),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);d.setAttribute("rowspacing",ue(u));var f="",h="";if(e.cols&&e.cols.length>0){var p=e.cols,g="",b=!1,_=0,x=p.length;p[0].type==="separator"&&(f+="top ",_=1),p[p.length-1].type==="separator"&&(f+="bottom ",x-=1);for(var E=_;E<x;E++)p[E].type==="align"?(h+=iye[p[E].align],b&&(g+="none "),b=!0):p[E].type==="separator"&&b&&(g+=p[E].separator==="|"?"solid ":"dashed ",b=!1);d.setAttribute("columnalign",h.trim()),/[sd]/.test(g)&&d.setAttribute("columnlines",g.trim())}if(e.colSeparationType==="align"){for(var v=e.cols||[],j="",C=1;C<v.length;C++)j+=C%2?"0em ":"1em ";d.setAttribute("columnspacing",j.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var P="",z=e.hLinesBeforeRow;f+=z[0].length>0?"left ":"",f+=z[z.length-1].length>0?"right ":"";for(var N=1;N<z.length-1;N++)P+=z[N].length===0?"none ":z[N][0]?"dashed ":"solid ";return/[sd]/.test(P)&&d.setAttribute("rowlines",P.trim()),f!==""&&(d=new te.MathNode("menclose",[d]),d.setAttribute("notation",f.trim())),e.arraystretch&&e.arraystretch<1&&(d=new te.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},S$=function(e,n){e.envName.indexOf("ed")===-1&&eC(e);var r=[],i=e.envName.indexOf("at")>-1?"alignat":"align",o=e.envName==="split",a=jc(e.parser,{cols:r,addJot:!0,autoTag:o?void 0:fO(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),s,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var d="",u=0;u<n[0].body.length;u++){var f=kt(n[0].body[u],"textord");d+=f.text}s=Number(d),l=s*2}var h=!l;a.body.forEach(function(_){for(var x=1;x<_.length;x+=2){var E=kt(_[x],"styling"),v=kt(E.body[0],"ordgroup");v.body.unshift(c)}if(h)l<_.length&&(l=_.length);else{var j=_.length/2;if(s<j)throw new oe("Too many math in a row: "+("expected "+s+", but got "+j),_[0])}});for(var p=0;p<l;++p){var g="r",b=0;p%2===1?g="l":p>0&&h&&(b=1),r[p]={type:"align",align:g,pregap:b,postgap:0}}return a.colSeparationType=h?"align":"alignat",a};us({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var n=Xx(e[0]),r=n?[e[0]]:kt(e[0],"ordgroup").body,i=r.map(function(a){var s=sO(a),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new oe("Unknown column alignment: "+l,a)}),o={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return jc(t.parser,o,hO(t.envName))},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new oe("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var o=jc(t.parser,r,hO(t.envName)),a=Math.max(0,...o.body.map(s=>s.length));return o.cols=new Array(a).fill({type:"align",align:n}),e?{type:"leftright",mode:t.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},n=jc(t.parser,e,"script");return n.colSeparationType="small",n},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var n=Xx(e[0]),r=n?[e[0]]:kt(e[0],"ordgroup").body,i=r.map(function(a){var s=sO(a),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new oe("Unknown column alignment: "+l,a)});if(i.length>1)throw new oe("{subarray} can contain only one column");var o={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=jc(t.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new oe("{subarray} can contain only one column");return o},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=jc(t.parser,e,hO(t.envName));return{type:"leftright",mode:t.mode,body:[n],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:S$,htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){it.contains(["gather","gather*"],t.envName)&&eC(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:fO(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return jc(t.parser,e,"display")},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:S$,htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){eC(t);var e={autoTag:fO(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return jc(t.parser,e,"display")},htmlBuilder:fs,mathmlBuilder:hs});us({type:"array",names:["CD"],props:{numArgs:0},handler(t){return eC(t),$0e(t.parser)},htmlBuilder:fs,mathmlBuilder:hs});k("\\nonumber","\\gdef\\@eqnsw{0}");k("\\notag","\\nonumber");ye({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new oe(t.funcName+" valid only within array environment")}});var IH=C$;ye({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];if(i.type!=="ordgroup")throw new oe("Invalid environment name",i);for(var o="",a=0;a<i.body.length;++a)o+=kt(i.body[a],"textord").text;if(r==="\\begin"){if(!IH.hasOwnProperty(o))throw new oe("No such environment: "+o,i);var s=IH[o],{args:l,optArgs:c}=n.parseArguments("\\begin{"+o+"}",s),d={mode:n.mode,envName:o,parser:n},u=s.handler(d,l,c);n.expect("\\end",!1);var f=n.nextToken,h=kt(n.parseFunction(),"environment");if(h.name!==o)throw new oe("Mismatch: \\begin{"+o+"} matched by \\end{"+h.name+"}",f);return u}return{type:"environment",mode:n.mode,name:o,nameGroup:i}}});var E$=(t,e)=>{var n=t.font,r=e.withFont(n);return Ut(t.body,r)},M$=(t,e)=>{var n=t.font,r=e.withFont(n);return ln(t.body,r)},OH={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ye({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=Gx(e[0]),o=r;return o in OH&&(o=OH[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:E$,mathmlBuilder:M$});ye({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:n}=t,r=e[0],i=it.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Qx(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});ye({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r,breakOnTokenText:i}=t,{mode:o}=n,a=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:E$,mathmlBuilder:M$});var T$=(t,e)=>{var n=e;return t==="display"?n=n.id>=We.SCRIPT.id?n.text():We.DISPLAY:t==="text"&&n.size===We.DISPLAY.size?n=We.TEXT:t==="script"?n=We.SCRIPT:t==="scriptscript"&&(n=We.SCRIPTSCRIPT),n},pO=(t,e)=>{var n=T$(t.size,e.style),r=n.fracNum(),i=n.fracDen(),o;o=e.havingStyle(r);var a=Ut(t.numer,o,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}o=e.havingStyle(i);var c=Ut(t.denom,o,e),d,u,f;t.hasBarLine?(t.barSize?(u=On(t.barSize,e),d=L.makeLineSpan("frac-line",e,u)):d=L.makeLineSpan("frac-line",e),u=d.height,f=d.height):(d=null,u=0,f=e.fontMetrics().defaultRuleThickness);var h,p,g;n.size===We.DISPLAY.size||t.size==="display"?(h=e.fontMetrics().num1,u>0?p=3*f:p=7*f,g=e.fontMetrics().denom1):(u>0?(h=e.fontMetrics().num2,p=f):(h=e.fontMetrics().num3,p=3*f),g=e.fontMetrics().denom2);var b;if(d){var x=e.fontMetrics().axisHeight;h-a.depth-(x+.5*u)<p&&(h+=p-(h-a.depth-(x+.5*u))),x-.5*u-(c.height-g)<p&&(g+=p-(x-.5*u-(c.height-g)));var E=-(x-.5*u);b=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:g},{type:"elem",elem:d,shift:E},{type:"elem",elem:a,shift:-h}]},e)}else{var _=h-a.depth-(c.height-g);_<p&&(h+=.5*(p-_),g+=.5*(p-_)),b=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:g},{type:"elem",elem:a,shift:-h}]},e)}o=e.havingStyle(n),b.height*=o.sizeMultiplier/e.sizeMultiplier,b.depth*=o.sizeMultiplier/e.sizeMultiplier;var v;n.size===We.DISPLAY.size?v=e.fontMetrics().delim1:n.size===We.SCRIPTSCRIPT.size?v=e.havingStyle(We.SCRIPT).fontMetrics().delim2:v=e.fontMetrics().delim2;var j,C;return t.leftDelim==null?j=lb(e,["mopen"]):j=gl.customSizedDelim(t.leftDelim,v,!0,e.havingStyle(n),t.mode,["mopen"]),t.continued?C=L.makeSpan([]):t.rightDelim==null?C=lb(e,["mclose"]):C=gl.customSizedDelim(t.rightDelim,v,!0,e.havingStyle(n),t.mode,["mclose"]),L.makeSpan(["mord"].concat(o.sizingClasses(e)),[j,L.makeSpan(["mfrac"],[b]),C],e)},mO=(t,e)=>{var n=new te.MathNode("mfrac",[ln(t.numer,e),ln(t.denom,e)]);if(!t.hasBarLine)n.setAttribute("linethickness","0px");else if(t.barSize){var r=On(t.barSize,e);n.setAttribute("linethickness",ue(r))}var i=T$(t.size,e.style);if(i.size!==e.style.size){n=new te.MathNode("mstyle",[n]);var o=i.size===We.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var s=new te.MathNode("mo",[new te.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),t.rightDelim!=null){var l=new te.MathNode("mo",[new te.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return oO(a)}return n};ye({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],o=e[1],a,s=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:o,hasBarLine:a,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:pO,mathmlBuilder:mO});ye({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],o=e[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ye({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:n,token:r}=t,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:r}}});var PH=["display","text","script","scriptscript"],FH=function(e){var n=null;return e.length>0&&(n=e,n=n==="."?null:n),n};ye({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:n}=t,r=e[4],i=e[5],o=Gx(e[0]),a=o.type==="atom"&&o.family==="open"?FH(o.text):null,s=Gx(e[1]),l=s.type==="atom"&&s.family==="close"?FH(s.text):null,c=kt(e[2],"size"),d,u=null;c.isBlank?d=!0:(u=c.value,d=u.number>0);var f="auto",h=e[3];if(h.type==="ordgroup"){if(h.body.length>0){var p=kt(h.body[0],"textord");f=PH[Number(p.text)]}}else h=kt(h,"textord"),f=PH[Number(h.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:d,barSize:u,leftDelim:a,rightDelim:l,size:f}},htmlBuilder:pO,mathmlBuilder:mO});ye({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:n,funcName:r,token:i}=t;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:kt(e[0],"size").value,token:i}}});ye({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],o=Rge(kt(e[1],"infix").size),a=e[2],s=o.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:s,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:pO,mathmlBuilder:mO});var A$=(t,e)=>{var n=e.style,r,i;t.type==="supsub"?(r=t.sup?Ut(t.sup,e.havingStyle(n.sup()),e):Ut(t.sub,e.havingStyle(n.sub()),e),i=kt(t.base,"horizBrace")):i=kt(t,"horizBrace");var o=Ut(i.base,e.havingBaseStyle(We.DISPLAY)),a=bl.svgSpan(i,e),s;if(i.isOver?(s=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},e),s.children[0].children[0].children[1].classes.push("svg-align")):(s=L.makeVList({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},e),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=L.makeSpan(["mord",i.isOver?"mover":"munder"],[s],e);i.isOver?s=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},e):s=L.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return L.makeSpan(["mord",i.isOver?"mover":"munder"],[s],e)},oye=(t,e)=>{var n=bl.mathMLnode(t.label);return new te.MathNode(t.isOver?"mover":"munder",[ln(t.base,e),n])};ye({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:e[0]}},htmlBuilder:A$,mathmlBuilder:oye});ye({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[1],i=kt(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Wn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var n=mr(t.body,e,!1);return L.makeAnchor(t.href,[],n,e)},mathmlBuilder:(t,e)=>{var n=Rc(t.body,e);return n instanceof Li||(n=new Li("mrow",[n])),n.setAttribute("href",t.href),n}});ye({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=kt(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o<r.length;o++){var a=r[o];a==="~"&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:Wn(s)}}});ye({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:n}=t;return{type:"hbox",mode:n.mode,body:Wn(e[0])}},htmlBuilder(t,e){var n=mr(t.body,e,!1);return L.makeFragment(n)},mathmlBuilder(t,e){return new te.MathNode("mrow",Vi(t.body,e))}});ye({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r,token:i}=t,o=kt(e[0],"raw").string,a=e[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=o,s={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,s={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,s={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),d=0;d<c.length;d++){var u=c[d].split("=");if(u.length!==2)throw new oe("Error parsing key-value for \\htmlData");l["data-"+u[0].trim()]=u[1].trim()}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(s)?{type:"html",mode:n.mode,attributes:l,body:Wn(a)}:n.formatUnsupportedCmd(r)},htmlBuilder:(t,e)=>{var n=mr(t.body,e,!1),r=["enclosing"];t.attributes.class&&r.push(...t.attributes.class.trim().split(/\s+/));var i=L.makeSpan(r,n,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&i.setAttribute(o,t.attributes[o]);return i},mathmlBuilder:(t,e)=>Rc(t.body,e)});ye({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t;return{type:"htmlmathml",mode:n.mode,html:Wn(e[0]),mathml:Wn(e[1])}},htmlBuilder:(t,e)=>{var n=mr(t.html,e,!1);return L.makeFragment(n)},mathmlBuilder:(t,e)=>Rc(t.mathml,e)});var BI=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!n)throw new oe("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!KH(r))throw new oe("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};ye({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,n)=>{var{parser:r}=t,i={number:0,unit:"em"},o={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(n[0])for(var l=kt(n[0],"raw").string,c=l.split(","),d=0;d<c.length;d++){var u=c[d].split("=");if(u.length===2){var f=u[1].trim();switch(u[0].trim()){case"alt":s=f;break;case"width":i=BI(f);break;case"height":o=BI(f);break;case"totalheight":a=BI(f);break;default:throw new oe("Invalid key: '"+u[0]+"' in \\includegraphics.")}}}var h=kt(e[0],"url").url;return s===""&&(s=h,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:r.mode,alt:s,width:i,height:o,totalheight:a,src:h}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var n=On(t.height,e),r=0;t.totalheight.number>0&&(r=On(t.totalheight,e)-n);var i=0;t.width.number>0&&(i=On(t.width,e));var o={height:ue(n+r)};i>0&&(o.width=ue(i)),r>0&&(o.verticalAlign=ue(-r));var a=new WI(t.src,t.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:(t,e)=>{var n=new te.MathNode("mglyph",[]);n.setAttribute("alt",t.alt);var r=On(t.height,e),i=0;if(t.totalheight.number>0&&(i=On(t.totalheight,e)-r,n.setAttribute("valign",ue(-i))),n.setAttribute("height",ue(r+i)),t.width.number>0){var o=On(t.width,e);n.setAttribute("width",ue(o))}return n.setAttribute("src",t.src),n}});ye({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:n,funcName:r}=t,i=kt(e[0],"size");if(n.settings.strict){var o=r[1]==="m",a=i.value.unit==="mu";o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(t,e){return L.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var n=On(t.dimension,e);return new te.SpaceNode(n)}});ye({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(t,e)=>{var n;t.alignment==="clap"?(n=L.makeSpan([],[Ut(t.body,e)]),n=L.makeSpan(["inner"],[n],e)):n=L.makeSpan(["inner"],[Ut(t.body,e)]);var r=L.makeSpan(["fix"],[]),i=L.makeSpan([t.alignment],[n,r],e),o=L.makeSpan(["strut"]);return o.style.height=ue(i.height+i.depth),i.depth&&(o.style.verticalAlign=ue(-i.depth)),i.children.unshift(o),i=L.makeSpan(["thinbox"],[i],e),L.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var n=new te.MathNode("mpadded",[ln(t.body,e)]);if(t.alignment!=="rlap"){var r=t.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});ye({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:n,parser:r}=t,i=r.mode;r.switchMode("math");var o=n==="\\("?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}});ye({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new oe("Mismatched "+t.funcName)}});var NH=(t,e)=>{switch(e.style.size){case We.DISPLAY.size:return t.display;case We.TEXT.size:return t.text;case We.SCRIPT.size:return t.script;case We.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};ye({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:n}=t;return{type:"mathchoice",mode:n.mode,display:Wn(e[0]),text:Wn(e[1]),script:Wn(e[2]),scriptscript:Wn(e[3])}},htmlBuilder:(t,e)=>{var n=NH(t,e),r=mr(n,e,!1);return L.makeFragment(r)},mathmlBuilder:(t,e)=>{var n=NH(t,e);return Rc(n,e)}});var I$=(t,e,n,r,i,o,a)=>{t=L.makeSpan([],[t]);var s=n&&it.isCharacterBox(n),l,c;if(e){var d=Ut(e,r.havingStyle(i.sup()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var u=Ut(n,r.havingStyle(i.sub()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-u.height)}}var f;if(c&&l){var h=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+a;f=L.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ue(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:ue(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var p=t.height-a;f=L.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ue(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},r)}else if(c){var g=t.depth+a;f=L.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:ue(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return t;var b=[f];if(l&&o!==0&&!s){var _=L.makeSpan(["mspace"],[],r);_.style.marginRight=ue(o),b.unshift(_)}return L.makeSpan(["mop","op-limits"],b,r)},O$=["\\smallint"],Up=(t,e)=>{var n,r,i=!1,o;t.type==="supsub"?(n=t.sup,r=t.sub,o=kt(t.base,"op"),i=!0):o=kt(t,"op");var a=e.style,s=!1;a.size===We.DISPLAY.size&&o.symbol&&!it.contains(O$,o.name)&&(s=!0);var l;if(o.symbol){var c=s?"Size2-Regular":"Size1-Regular",d="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(d=o.name.slice(1),o.name=d==="oiint"?"\\iint":"\\iiint"),l=L.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),d.length>0){var u=l.italic,f=L.staticSvg(d+"Size"+(s?"2":"1"),e);l=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:f,shift:s?.08:0}]},e),o.name="\\"+d,l.classes.unshift("mop"),l.italic=u}}else if(o.body){var h=mr(o.body,e,!0);h.length===1&&h[0]instanceof Bi?(l=h[0],l.classes[0]="mop"):l=L.makeSpan(["mop"],h,e)}else{for(var p=[],g=1;g<o.name.length;g++)p.push(L.mathsym(o.name[g],o.mode,e));l=L.makeSpan(["mop"],p,e)}var b=0,_=0;return(l instanceof Bi||o.name==="\\oiint"||o.name==="\\oiiint")&&!o.suppressBaseShift&&(b=(l.height-l.depth)/2-e.fontMetrics().axisHeight,_=l.italic),i?I$(l,n,r,e,a,_,b):(b&&(l.style.position="relative",l.style.top=ue(b)),l)},cb=(t,e)=>{var n;if(t.symbol)n=new Li("mo",[Uo(t.name,t.mode)]),it.contains(O$,t.name)&&n.setAttribute("largeop","false");else if(t.body)n=new Li("mo",Vi(t.body,e));else{n=new Li("mi",[new Zu(t.name.slice(1))]);var r=new Li("mo",[Uo("\u2061","text")]);t.parentIsSupSub?n=new Li("mrow",[n,r]):n=a$([n,r])}return n},aye={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};ye({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=r;return i.length===1&&(i=aye[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Up,mathmlBuilder:cb});ye({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Wn(r)}},htmlBuilder:Up,mathmlBuilder:cb});var sye={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};ye({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Up,mathmlBuilder:cb});ye({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Up,mathmlBuilder:cb});ye({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t,r=n;return r.length===1&&(r=sye[r]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Up,mathmlBuilder:cb});var P$=(t,e)=>{var n,r,i=!1,o;t.type==="supsub"?(n=t.sup,r=t.sub,o=kt(t.base,"operatorname"),i=!0):o=kt(t,"operatorname");var a;if(o.body.length>0){for(var s=o.body.map(u=>{var f=u.text;return typeof f=="string"?{type:"textord",mode:u.mode,text:f}:u}),l=mr(s,e.withFont("mathrm"),!0),c=0;c<l.length;c++){var d=l[c];d instanceof Bi&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=L.makeSpan(["mop"],l,e)}else a=L.makeSpan(["mop"],[],e);return i?I$(a,n,r,e,e.style,0,0):a},lye=(t,e)=>{for(var n=Vi(t.body,e.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var o=n[i];if(!(o instanceof te.SpaceNode))if(o instanceof te.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=o.children[0];o.children.length===1&&a instanceof te.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var s=n.map(d=>d.toText()).join("");n=[new te.TextNode(s)]}var l=new te.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new te.MathNode("mo",[Uo("\u2061","text")]);return t.parentIsSupSub?new te.MathNode("mrow",[l,c]):te.newDocumentFragment([l,c])};ye({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"operatorname",mode:n.mode,body:Wn(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:P$,mathmlBuilder:lye});k("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ju({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?L.makeFragment(mr(t.body,e,!1)):L.makeSpan(["mord"],mr(t.body,e,!0),e)},mathmlBuilder(t,e){return Rc(t.body,e,!0)}});ye({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:n}=t,r=e[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(t,e){var n=Ut(t.body,e.havingCrampedStyle()),r=L.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,o=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},e);return L.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var n=new te.MathNode("mo",[new te.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new te.MathNode("mover",[ln(t.body,e),n]);return r.setAttribute("accent","true"),r}});ye({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"phantom",mode:n.mode,body:Wn(r)}},htmlBuilder:(t,e)=>{var n=mr(t.body,e.withPhantom(),!1);return L.makeFragment(n)},mathmlBuilder:(t,e)=>{var n=Vi(t.body,e);return new te.MathNode("mphantom",n)}});ye({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(t,e)=>{var n=L.makeSpan([],[Ut(t.body,e.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e),L.makeSpan(["mord"],[n],e)},mathmlBuilder:(t,e)=>{var n=Vi(Wn(t.body),e),r=new te.MathNode("mphantom",n),i=new te.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});ye({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(t,e)=>{var n=L.makeSpan(["inner"],[Ut(t.body,e.withPhantom())]),r=L.makeSpan(["fix"],[]);return L.makeSpan(["mord","rlap"],[n,r],e)},mathmlBuilder:(t,e)=>{var n=Vi(Wn(t.body),e),r=new te.MathNode("mphantom",n),i=new te.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});ye({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:n}=t,r=kt(e[0],"size").value,i=e[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(t,e){var n=Ut(t.body,e),r=On(t.dy,e);return L.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(t,e){var n=new te.MathNode("mpadded",[ln(t.body,e)]),r=t.dy.number+t.dy.unit;return n.setAttribute("voffset",r),n}});ye({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});ye({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,n){var{parser:r}=t,i=n[0],o=kt(e[0],"size"),a=kt(e[1],"size");return{type:"rule",mode:r.mode,shift:i&&kt(i,"size").value,width:o.value,height:a.value}},htmlBuilder(t,e){var n=L.makeSpan(["mord","rule"],[],e),r=On(t.width,e),i=On(t.height,e),o=t.shift?On(t.shift,e):0;return n.style.borderRightWidth=ue(r),n.style.borderTopWidth=ue(i),n.style.bottom=ue(o),n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=i*1.125*e.sizeMultiplier,n},mathmlBuilder(t,e){var n=On(t.width,e),r=On(t.height,e),i=t.shift?On(t.shift,e):0,o=e.color&&e.getColor()||"black",a=new te.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",ue(n)),a.setAttribute("height",ue(r));var s=new te.MathNode("mpadded",[a]);return i>=0?s.setAttribute("height",ue(i)):(s.setAttribute("height",ue(i)),s.setAttribute("depth",ue(-i))),s.setAttribute("voffset",ue(i)),s}});function F$(t,e,n){for(var r=mr(t,e,!1),i=e.sizeMultiplier/n.sizeMultiplier,o=0;o<r.length;o++){var a=r[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[o].classes,e.sizingClasses(n)):r[o].classes[a+1]==="reset-size"+e.size&&(r[o].classes[a+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return L.makeFragment(r)}var RH=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],cye=(t,e)=>{var n=e.havingSize(t.size);return F$(t.body,n,e)};ye({type:"sizing",names:RH,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:n,funcName:r,parser:i}=t,o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:RH.indexOf(r)+1,body:o}},htmlBuilder:cye,mathmlBuilder:(t,e)=>{var n=e.havingSize(t.size),r=Vi(t.body,n),i=new te.MathNode("mstyle",r);return i.setAttribute("mathsize",ue(n.sizeMultiplier)),i}});ye({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,n)=>{var{parser:r}=t,i=!1,o=!1,a=n[0]&&kt(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){var c=a.body[l];if(s=c.text,s==="t")i=!0;else if(s==="b")o=!0;else{i=!1,o=!1;break}}else i=!0,o=!0;var d=e[0];return{type:"smash",mode:r.mode,body:d,smashHeight:i,smashDepth:o}},htmlBuilder:(t,e)=>{var n=L.makeSpan([],[Ut(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return n;if(t.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(t.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var o=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e);return L.makeSpan(["mord"],[o],e)},mathmlBuilder:(t,e)=>{var n=new te.MathNode("mpadded",[ln(t.body,e)]);return t.smashHeight&&n.setAttribute("height","0px"),t.smashDepth&&n.setAttribute("depth","0px"),n}});ye({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,n){var{parser:r}=t,i=n[0],o=e[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder(t,e){var n=Ut(t.body,e.havingCrampedStyle());n.height===0&&(n.height=e.fontMetrics().xHeight),n=L.wrapFragment(n,e);var r=e.fontMetrics(),i=r.defaultRuleThickness,o=i;e.style.id<We.TEXT.id&&(o=e.fontMetrics().xHeight);var a=i+o/4,s=n.height+n.depth+a+i,{span:l,ruleWidth:c,advanceWidth:d}=gl.sqrtImage(s,e),u=l.height-c;u>n.height+n.depth+a&&(a=(a+u-n.height-n.depth)/2);var f=l.height-n.height-a-c;n.style.paddingLeft=ue(d);var h=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var p=e.havingStyle(We.SCRIPTSCRIPT),g=Ut(t.index,p,e),b=.6*(h.height-h.depth),_=L.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:g}]},e),x=L.makeSpan(["root"],[_]);return L.makeSpan(["mord","sqrt"],[x,h],e)}else return L.makeSpan(["mord","sqrt"],[h],e)},mathmlBuilder(t,e){var{body:n,index:r}=t;return r?new te.MathNode("mroot",[ln(n,e),ln(r,e)]):new te.MathNode("msqrt",[ln(n,e)])}});var jH={display:We.DISPLAY,text:We.TEXT,script:We.SCRIPT,scriptscript:We.SCRIPTSCRIPT};ye({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:n,funcName:r,parser:i}=t,o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder(t,e){var n=jH[t.style],r=e.havingStyle(n).withFont("");return F$(t.body,r,e)},mathmlBuilder(t,e){var n=jH[t.style],r=e.havingStyle(n),i=Vi(t.body,r),o=new te.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[t.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var dye=function(e,n){var r=e.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===We.DISPLAY.size||r.alwaysHandleSupSub);return i?Up:null}else if(r.type==="operatorname"){var o=r.alwaysHandleSupSub&&(n.style.size===We.DISPLAY.size||r.limits);return o?P$:null}else{if(r.type==="accent")return it.isCharacterBox(r.base)?lO:null;if(r.type==="horizBrace"){var a=!e.sub;return a===r.isOver?A$:null}else return null}else return null};Ju({type:"supsub",htmlBuilder(t,e){var n=dye(t,e);if(n)return n(t,e);var{base:r,sup:i,sub:o}=t,a=Ut(r,e),s,l,c=e.fontMetrics(),d=0,u=0,f=r&&it.isCharacterBox(r);if(i){var h=e.havingStyle(e.style.sup());s=Ut(i,h,e),f||(d=a.height-h.fontMetrics().supDrop*h.sizeMultiplier/e.sizeMultiplier)}if(o){var p=e.havingStyle(e.style.sub());l=Ut(o,p,e),f||(u=a.depth+p.fontMetrics().subDrop*p.sizeMultiplier/e.sizeMultiplier)}var g;e.style===We.DISPLAY?g=c.sup1:e.style.cramped?g=c.sup3:g=c.sup2;var b=e.sizeMultiplier,_=ue(.5/c.ptPerEm/b),x=null;if(l){var E=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof Bi||E)&&(x=ue(-a.italic))}var v;if(s&&l){d=Math.max(d,g,s.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var j=c.defaultRuleThickness,C=4*j;if(d-s.depth-(l.height-u)<C){u=C-(d-s.depth)+l.height;var P=.8*c.xHeight-(d-s.depth);P>0&&(d+=P,u-=P)}var z=[{type:"elem",elem:l,shift:u,marginRight:_,marginLeft:x},{type:"elem",elem:s,shift:-d,marginRight:_}];v=L.makeVList({positionType:"individualShift",children:z},e)}else if(l){u=Math.max(u,c.sub1,l.height-.8*c.xHeight);var N=[{type:"elem",elem:l,marginLeft:x,marginRight:_}];v=L.makeVList({positionType:"shift",positionData:u,children:N},e)}else if(s)d=Math.max(d,g,s.depth+.25*c.xHeight),v=L.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:s,marginRight:_}]},e);else throw new Error("supsub must have either sup or sub.");var O=YI(a,"right")||"mord";return L.makeSpan([O],[a,L.makeSpan(["msupsub"],[v])],e)},mathmlBuilder(t,e){var n=!1,r,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(n=!0,r=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var o=[ln(t.base,e)];t.sub&&o.push(ln(t.sub,e)),t.sup&&o.push(ln(t.sup,e));var a;if(n)a=r?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===We.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===We.DISPLAY||c.limits)?a="munderover":a="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===We.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===We.DISPLAY)?a="munder":a="msub"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(e.style===We.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||e.style===We.DISPLAY)?a="mover":a="msup"}return new te.MathNode(a,o)}});Ju({type:"atom",htmlBuilder(t,e){return L.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var n=new te.MathNode("mo",[Uo(t.text,t.mode)]);if(t.family==="bin"){var r=aO(t,e);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else t.family==="punct"?n.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&n.setAttribute("stretchy","false");return n}});var N$={mi:"italic",mn:"normal",mtext:"normal"};Ju({type:"mathord",htmlBuilder(t,e){return L.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var n=new te.MathNode("mi",[Uo(t.text,t.mode,e)]),r=aO(t,e)||"italic";return r!==N$[n.type]&&n.setAttribute("mathvariant",r),n}});Ju({type:"textord",htmlBuilder(t,e){return L.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var n=Uo(t.text,t.mode,e),r=aO(t,e)||"normal",i;return t.mode==="text"?i=new te.MathNode("mtext",[n]):/[0-9]/.test(t.text)?i=new te.MathNode("mn",[n]):t.text==="\\prime"?i=new te.MathNode("mo",[n]):i=new te.MathNode("mi",[n]),r!==N$[i.type]&&i.setAttribute("mathvariant",r),i}});var VI={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},UI={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ju({type:"spacing",htmlBuilder(t,e){if(UI.hasOwnProperty(t.text)){var n=UI[t.text].className||"";if(t.mode==="text"){var r=L.makeOrd(t,e,"textord");return r.classes.push(n),r}else return L.makeSpan(["mspace",n],[L.mathsym(t.text,t.mode,e)],e)}else{if(VI.hasOwnProperty(t.text))return L.makeSpan(["mspace",VI[t.text]],[],e);throw new oe('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var n;if(UI.hasOwnProperty(t.text))n=new te.MathNode("mtext",[new te.TextNode("\xA0")]);else{if(VI.hasOwnProperty(t.text))return new te.MathNode("mspace");throw new oe('Unknown type of space "'+t.text+'"')}return n}});var zH=()=>{var t=new te.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};Ju({type:"tag",mathmlBuilder(t,e){var n=new te.MathNode("mtable",[new te.MathNode("mtr",[zH(),new te.MathNode("mtd",[Rc(t.body,e)]),zH(),new te.MathNode("mtd",[Rc(t.tag,e)])])]);return n.setAttribute("width","100%"),n}});var LH={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},BH={"\\textbf":"textbf","\\textmd":"textmd"},uye={"\\textit":"textit","\\textup":"textup"},VH=(t,e)=>{var n=t.font;return n?LH[n]?e.withTextFontFamily(LH[n]):BH[n]?e.withTextFontWeight(BH[n]):e.withTextFontShape(uye[n]):e};ye({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"text",mode:n.mode,body:Wn(i),font:r}},htmlBuilder(t,e){var n=VH(t,e),r=mr(t.body,n,!0);return L.makeSpan(["mord","text"],r,n)},mathmlBuilder(t,e){var n=VH(t,e);return Rc(t.body,n)}});ye({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"underline",mode:n.mode,body:e[0]}},htmlBuilder(t,e){var n=Ut(t.body,e),r=L.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,o=L.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},e);return L.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var n=new te.MathNode("mo",[new te.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new te.MathNode("munder",[ln(t.body,e),n]);return r.setAttribute("accentunder","true"),r}});ye({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:n}=t;return{type:"vcenter",mode:n.mode,body:e[0]}},htmlBuilder(t,e){var n=Ut(t.body,e),r=e.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return L.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(t,e){return new te.MathNode("mpadded",[ln(t.body,e)],["vcenter"])}});ye({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,n){throw new oe("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var n=UH(t),r=[],i=e.havingStyle(e.style.text()),o=0;o<n.length;o++){var a=n[o];a==="~"&&(a="\\textasciitilde"),r.push(L.makeSymbol(a,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return L.makeSpan(["mord","text"].concat(i.sizingClasses(e)),L.tryCombineChars(r),i)},mathmlBuilder(t,e){var n=new te.TextNode(UH(t)),r=new te.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var UH=t=>t.body.replace(/ /g,t.star?"\u2423":"\xA0"),Fc=i$,R$=`[ \r - ]`,fye="\\\\[a-zA-Z@]+",hye="\\\\[^\uD800-\uDFFF]",pye="("+fye+")"+R$+"*",mye=`\\\\( +-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Qu=class{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return at.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){for(var e="",n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e}toText(){var e=n=>n.toText();return this.children.map(e).join("")}},ss={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},zx={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},CH={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function d0e(t,e){ss[t]=e}function lO(t,e,n){if(!ss[e])throw new Error("Font metrics not found for font: "+e+".");var r=t.charCodeAt(0),i=ss[e][r];if(!i&&t[0]in CH&&(r=CH[t[0]].charCodeAt(0),i=ss[e][r]),!i&&n==="text"&&t$(r)&&(i=ss[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var jI={};function u0e(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!jI[e]){var n=jI[e]={cssEmPerMu:zx.quad[e]/18};for(var r in zx)zx.hasOwnProperty(r)&&(n[r]=zx[r][e])}return jI[e]}var f0e=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],DH=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],SH=function(e,n){return n.size<2?e:f0e[e-1][n.size-1]},p0e=(()=>{class t{constructor(n){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=n.style,this.color=n.color,this.size=n.size||t.BASESIZE,this.textSize=n.textSize||this.size,this.phantom=!!n.phantom,this.font=n.font||"",this.fontFamily=n.fontFamily||"",this.fontWeight=n.fontWeight||"",this.fontShape=n.fontShape||"",this.sizeMultiplier=DH[this.size-1],this.maxSize=n.maxSize,this.minRuleThickness=n.minRuleThickness,this._fontMetrics=void 0}extend(n){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]);return new t(r)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:SH(this.textSize,n)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:DH[n-1]})}havingBaseStyle(n){n=n||this.style.text();var r=SH(t.BASESIZE,n);return this.size===r&&this.textSize===t.BASESIZE&&this.style===n?this:this.extend({style:n,size:r})}havingBaseSizing(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})}withColor(n){return this.extend({color:n})}withPhantom(){return this.extend({phantom:!0})}withFont(n){return this.extend({font:n})}withTextFontFamily(n){return this.extend({fontFamily:n,font:""})}withTextFontWeight(n){return this.extend({fontWeight:n,font:""})}withTextFontShape(n){return this.extend({fontShape:n,font:""})}sizingClasses(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==t.BASESIZE?["sizing","reset-size"+this.size,"size"+t.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=u0e(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}return t.BASESIZE=6,t})(),ZI={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},h0e={ex:!0,em:!0,mu:!0},n$=function(e){return typeof e!="string"&&(e=e.unit),e in ZI||e in h0e||e==="ex"},Fn=function(e,n){var r;if(e.unit in ZI)r=ZI[e.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(e.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var i;if(n.style.isTight()?i=n.havingStyle(n.style.text()):i=n,e.unit==="ex")r=i.fontMetrics().xHeight;else if(e.unit==="em")r=i.fontMetrics().quad;else throw new ae("Invalid unit: '"+e.unit+"'");i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(e.number*r,n.maxSize)},ue=function(e){return+e.toFixed(4)+"em"},Fc=function(e){return e.filter(n=>n).join(" ")},r$=function(e,n,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var i=n.getColor();i&&(this.style.color=i)}},i$=function(e){var n=document.createElement(e);n.className=Fc(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&n.setAttribute(i,this.attributes[i]);for(var o=0;o<this.children.length;o++)n.appendChild(this.children[o].toNode());return n},o$=function(e){var n="<"+e;this.classes.length&&(n+=' class="'+at.escape(Fc(this.classes))+'"');var r="";for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=at.hyphenate(i)+":"+this.style[i]+";");r&&(n+=' style="'+at.escape(r)+'"');for(var o in this.attributes)this.attributes.hasOwnProperty(o)&&(n+=" "+o+'="'+at.escape(this.attributes[o])+'"');n+=">";for(var a=0;a<this.children.length;a++)n+=this.children[a].toMarkup();return n+="</"+e+">",n},Ju=class{constructor(e,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,r$.call(this,e,r,i),this.children=n||[]}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return at.contains(this.classes,e)}toNode(){return i$.call(this,"span")}toMarkup(){return o$.call(this,"span")}},sb=class{constructor(e,n,r,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,r$.call(this,n,i),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,n){this.attributes[e]=n}hasClass(e){return at.contains(this.classes,e)}toNode(){return i$.call(this,"a")}toMarkup(){return o$.call(this,"a")}},XI=class{constructor(e,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return at.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(e.style[n]=this.style[n]);return e}toMarkup(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=at.hyphenate(r)+":"+this.style[r]+";");return n&&(e+=' style="'+at.escape(n)+'"'),e+="'/>",e}},m0e={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Bi=class{constructor(e,n,r,i,o,a,s,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=n||0,this.depth=r||0,this.italic=i||0,this.skew=o||0,this.width=a||0,this.classes=s||[],this.style=l||{},this.maxFontSize=0;var c=Jge(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=m0e[this.text])}hasClass(e){return at.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=ue(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Fc(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(e),n):e}toMarkup(){var e=!1,n="<span";this.classes.length&&(e=!0,n+=' class="',n+=at.escape(Fc(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(r+=at.hyphenate(i)+":"+this.style[i]+";");r&&(e=!0,n+=' style="'+at.escape(r)+'"');var o=at.escape(this.text);return e?(n+=">",n+=o,n+="</span>",n):o}},xa=class{constructor(e,n){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=n||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+"='"+this.attributes[n]+"'");e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>",e}},cs=class{constructor(e,n){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=n}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",xH[this.pathName]),n}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+xH[this.pathName]+"'/>"}},lb=class{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",n=document.createElementNS(e,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var e="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+"='"+this.attributes[n]+"'");return e+="/>",e}};function EH(t){if(t instanceof Bi)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function g0e(t){if(t instanceof Ju)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var y0e={bin:1,close:1,inner:1,open:1,punct:1,rel:1},b0e={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},bn={math:{},text:{}};function m(t,e,n,r,i,o){bn[t][i]={font:e,group:n,replace:r},o&&r&&(bn[t][r]=bn[t][i])}var y="math",Q="text",w="main",M="ams",Mn="accent-token",ve="bin",xi="close",Uh="inner",We="mathord",ir="op-token",fo="open",rC="punct",T="rel",bl="spacing",F="textord";m(y,w,T,"\u2261","\\equiv",!0);m(y,w,T,"\u227A","\\prec",!0);m(y,w,T,"\u227B","\\succ",!0);m(y,w,T,"\u223C","\\sim",!0);m(y,w,T,"\u22A5","\\perp");m(y,w,T,"\u2AAF","\\preceq",!0);m(y,w,T,"\u2AB0","\\succeq",!0);m(y,w,T,"\u2243","\\simeq",!0);m(y,w,T,"\u2223","\\mid",!0);m(y,w,T,"\u226A","\\ll",!0);m(y,w,T,"\u226B","\\gg",!0);m(y,w,T,"\u224D","\\asymp",!0);m(y,w,T,"\u2225","\\parallel");m(y,w,T,"\u22C8","\\bowtie",!0);m(y,w,T,"\u2323","\\smile",!0);m(y,w,T,"\u2291","\\sqsubseteq",!0);m(y,w,T,"\u2292","\\sqsupseteq",!0);m(y,w,T,"\u2250","\\doteq",!0);m(y,w,T,"\u2322","\\frown",!0);m(y,w,T,"\u220B","\\ni",!0);m(y,w,T,"\u221D","\\propto",!0);m(y,w,T,"\u22A2","\\vdash",!0);m(y,w,T,"\u22A3","\\dashv",!0);m(y,w,T,"\u220B","\\owns");m(y,w,rC,".","\\ldotp");m(y,w,rC,"\u22C5","\\cdotp");m(y,w,F,"#","\\#");m(Q,w,F,"#","\\#");m(y,w,F,"&","\\&");m(Q,w,F,"&","\\&");m(y,w,F,"\u2135","\\aleph",!0);m(y,w,F,"\u2200","\\forall",!0);m(y,w,F,"\u210F","\\hbar",!0);m(y,w,F,"\u2203","\\exists",!0);m(y,w,F,"\u2207","\\nabla",!0);m(y,w,F,"\u266D","\\flat",!0);m(y,w,F,"\u2113","\\ell",!0);m(y,w,F,"\u266E","\\natural",!0);m(y,w,F,"\u2663","\\clubsuit",!0);m(y,w,F,"\u2118","\\wp",!0);m(y,w,F,"\u266F","\\sharp",!0);m(y,w,F,"\u2662","\\diamondsuit",!0);m(y,w,F,"\u211C","\\Re",!0);m(y,w,F,"\u2661","\\heartsuit",!0);m(y,w,F,"\u2111","\\Im",!0);m(y,w,F,"\u2660","\\spadesuit",!0);m(y,w,F,"\xA7","\\S",!0);m(Q,w,F,"\xA7","\\S");m(y,w,F,"\xB6","\\P",!0);m(Q,w,F,"\xB6","\\P");m(y,w,F,"\u2020","\\dag");m(Q,w,F,"\u2020","\\dag");m(Q,w,F,"\u2020","\\textdagger");m(y,w,F,"\u2021","\\ddag");m(Q,w,F,"\u2021","\\ddag");m(Q,w,F,"\u2021","\\textdaggerdbl");m(y,w,xi,"\u23B1","\\rmoustache",!0);m(y,w,fo,"\u23B0","\\lmoustache",!0);m(y,w,xi,"\u27EF","\\rgroup",!0);m(y,w,fo,"\u27EE","\\lgroup",!0);m(y,w,ve,"\u2213","\\mp",!0);m(y,w,ve,"\u2296","\\ominus",!0);m(y,w,ve,"\u228E","\\uplus",!0);m(y,w,ve,"\u2293","\\sqcap",!0);m(y,w,ve,"\u2217","\\ast");m(y,w,ve,"\u2294","\\sqcup",!0);m(y,w,ve,"\u25EF","\\bigcirc",!0);m(y,w,ve,"\u2219","\\bullet",!0);m(y,w,ve,"\u2021","\\ddagger");m(y,w,ve,"\u2240","\\wr",!0);m(y,w,ve,"\u2A3F","\\amalg");m(y,w,ve,"&","\\And");m(y,w,T,"\u27F5","\\longleftarrow",!0);m(y,w,T,"\u21D0","\\Leftarrow",!0);m(y,w,T,"\u27F8","\\Longleftarrow",!0);m(y,w,T,"\u27F6","\\longrightarrow",!0);m(y,w,T,"\u21D2","\\Rightarrow",!0);m(y,w,T,"\u27F9","\\Longrightarrow",!0);m(y,w,T,"\u2194","\\leftrightarrow",!0);m(y,w,T,"\u27F7","\\longleftrightarrow",!0);m(y,w,T,"\u21D4","\\Leftrightarrow",!0);m(y,w,T,"\u27FA","\\Longleftrightarrow",!0);m(y,w,T,"\u21A6","\\mapsto",!0);m(y,w,T,"\u27FC","\\longmapsto",!0);m(y,w,T,"\u2197","\\nearrow",!0);m(y,w,T,"\u21A9","\\hookleftarrow",!0);m(y,w,T,"\u21AA","\\hookrightarrow",!0);m(y,w,T,"\u2198","\\searrow",!0);m(y,w,T,"\u21BC","\\leftharpoonup",!0);m(y,w,T,"\u21C0","\\rightharpoonup",!0);m(y,w,T,"\u2199","\\swarrow",!0);m(y,w,T,"\u21BD","\\leftharpoondown",!0);m(y,w,T,"\u21C1","\\rightharpoondown",!0);m(y,w,T,"\u2196","\\nwarrow",!0);m(y,w,T,"\u21CC","\\rightleftharpoons",!0);m(y,M,T,"\u226E","\\nless",!0);m(y,M,T,"\uE010","\\@nleqslant");m(y,M,T,"\uE011","\\@nleqq");m(y,M,T,"\u2A87","\\lneq",!0);m(y,M,T,"\u2268","\\lneqq",!0);m(y,M,T,"\uE00C","\\@lvertneqq");m(y,M,T,"\u22E6","\\lnsim",!0);m(y,M,T,"\u2A89","\\lnapprox",!0);m(y,M,T,"\u2280","\\nprec",!0);m(y,M,T,"\u22E0","\\npreceq",!0);m(y,M,T,"\u22E8","\\precnsim",!0);m(y,M,T,"\u2AB9","\\precnapprox",!0);m(y,M,T,"\u2241","\\nsim",!0);m(y,M,T,"\uE006","\\@nshortmid");m(y,M,T,"\u2224","\\nmid",!0);m(y,M,T,"\u22AC","\\nvdash",!0);m(y,M,T,"\u22AD","\\nvDash",!0);m(y,M,T,"\u22EA","\\ntriangleleft");m(y,M,T,"\u22EC","\\ntrianglelefteq",!0);m(y,M,T,"\u228A","\\subsetneq",!0);m(y,M,T,"\uE01A","\\@varsubsetneq");m(y,M,T,"\u2ACB","\\subsetneqq",!0);m(y,M,T,"\uE017","\\@varsubsetneqq");m(y,M,T,"\u226F","\\ngtr",!0);m(y,M,T,"\uE00F","\\@ngeqslant");m(y,M,T,"\uE00E","\\@ngeqq");m(y,M,T,"\u2A88","\\gneq",!0);m(y,M,T,"\u2269","\\gneqq",!0);m(y,M,T,"\uE00D","\\@gvertneqq");m(y,M,T,"\u22E7","\\gnsim",!0);m(y,M,T,"\u2A8A","\\gnapprox",!0);m(y,M,T,"\u2281","\\nsucc",!0);m(y,M,T,"\u22E1","\\nsucceq",!0);m(y,M,T,"\u22E9","\\succnsim",!0);m(y,M,T,"\u2ABA","\\succnapprox",!0);m(y,M,T,"\u2246","\\ncong",!0);m(y,M,T,"\uE007","\\@nshortparallel");m(y,M,T,"\u2226","\\nparallel",!0);m(y,M,T,"\u22AF","\\nVDash",!0);m(y,M,T,"\u22EB","\\ntriangleright");m(y,M,T,"\u22ED","\\ntrianglerighteq",!0);m(y,M,T,"\uE018","\\@nsupseteqq");m(y,M,T,"\u228B","\\supsetneq",!0);m(y,M,T,"\uE01B","\\@varsupsetneq");m(y,M,T,"\u2ACC","\\supsetneqq",!0);m(y,M,T,"\uE019","\\@varsupsetneqq");m(y,M,T,"\u22AE","\\nVdash",!0);m(y,M,T,"\u2AB5","\\precneqq",!0);m(y,M,T,"\u2AB6","\\succneqq",!0);m(y,M,T,"\uE016","\\@nsubseteqq");m(y,M,ve,"\u22B4","\\unlhd");m(y,M,ve,"\u22B5","\\unrhd");m(y,M,T,"\u219A","\\nleftarrow",!0);m(y,M,T,"\u219B","\\nrightarrow",!0);m(y,M,T,"\u21CD","\\nLeftarrow",!0);m(y,M,T,"\u21CF","\\nRightarrow",!0);m(y,M,T,"\u21AE","\\nleftrightarrow",!0);m(y,M,T,"\u21CE","\\nLeftrightarrow",!0);m(y,M,T,"\u25B3","\\vartriangle");m(y,M,F,"\u210F","\\hslash");m(y,M,F,"\u25BD","\\triangledown");m(y,M,F,"\u25CA","\\lozenge");m(y,M,F,"\u24C8","\\circledS");m(y,M,F,"\xAE","\\circledR");m(Q,M,F,"\xAE","\\circledR");m(y,M,F,"\u2221","\\measuredangle",!0);m(y,M,F,"\u2204","\\nexists");m(y,M,F,"\u2127","\\mho");m(y,M,F,"\u2132","\\Finv",!0);m(y,M,F,"\u2141","\\Game",!0);m(y,M,F,"\u2035","\\backprime");m(y,M,F,"\u25B2","\\blacktriangle");m(y,M,F,"\u25BC","\\blacktriangledown");m(y,M,F,"\u25A0","\\blacksquare");m(y,M,F,"\u29EB","\\blacklozenge");m(y,M,F,"\u2605","\\bigstar");m(y,M,F,"\u2222","\\sphericalangle",!0);m(y,M,F,"\u2201","\\complement",!0);m(y,M,F,"\xF0","\\eth",!0);m(Q,w,F,"\xF0","\xF0");m(y,M,F,"\u2571","\\diagup");m(y,M,F,"\u2572","\\diagdown");m(y,M,F,"\u25A1","\\square");m(y,M,F,"\u25A1","\\Box");m(y,M,F,"\u25CA","\\Diamond");m(y,M,F,"\xA5","\\yen",!0);m(Q,M,F,"\xA5","\\yen",!0);m(y,M,F,"\u2713","\\checkmark",!0);m(Q,M,F,"\u2713","\\checkmark");m(y,M,F,"\u2136","\\beth",!0);m(y,M,F,"\u2138","\\daleth",!0);m(y,M,F,"\u2137","\\gimel",!0);m(y,M,F,"\u03DD","\\digamma",!0);m(y,M,F,"\u03F0","\\varkappa");m(y,M,fo,"\u250C","\\@ulcorner",!0);m(y,M,xi,"\u2510","\\@urcorner",!0);m(y,M,fo,"\u2514","\\@llcorner",!0);m(y,M,xi,"\u2518","\\@lrcorner",!0);m(y,M,T,"\u2266","\\leqq",!0);m(y,M,T,"\u2A7D","\\leqslant",!0);m(y,M,T,"\u2A95","\\eqslantless",!0);m(y,M,T,"\u2272","\\lesssim",!0);m(y,M,T,"\u2A85","\\lessapprox",!0);m(y,M,T,"\u224A","\\approxeq",!0);m(y,M,ve,"\u22D6","\\lessdot");m(y,M,T,"\u22D8","\\lll",!0);m(y,M,T,"\u2276","\\lessgtr",!0);m(y,M,T,"\u22DA","\\lesseqgtr",!0);m(y,M,T,"\u2A8B","\\lesseqqgtr",!0);m(y,M,T,"\u2251","\\doteqdot");m(y,M,T,"\u2253","\\risingdotseq",!0);m(y,M,T,"\u2252","\\fallingdotseq",!0);m(y,M,T,"\u223D","\\backsim",!0);m(y,M,T,"\u22CD","\\backsimeq",!0);m(y,M,T,"\u2AC5","\\subseteqq",!0);m(y,M,T,"\u22D0","\\Subset",!0);m(y,M,T,"\u228F","\\sqsubset",!0);m(y,M,T,"\u227C","\\preccurlyeq",!0);m(y,M,T,"\u22DE","\\curlyeqprec",!0);m(y,M,T,"\u227E","\\precsim",!0);m(y,M,T,"\u2AB7","\\precapprox",!0);m(y,M,T,"\u22B2","\\vartriangleleft");m(y,M,T,"\u22B4","\\trianglelefteq");m(y,M,T,"\u22A8","\\vDash",!0);m(y,M,T,"\u22AA","\\Vvdash",!0);m(y,M,T,"\u2323","\\smallsmile");m(y,M,T,"\u2322","\\smallfrown");m(y,M,T,"\u224F","\\bumpeq",!0);m(y,M,T,"\u224E","\\Bumpeq",!0);m(y,M,T,"\u2267","\\geqq",!0);m(y,M,T,"\u2A7E","\\geqslant",!0);m(y,M,T,"\u2A96","\\eqslantgtr",!0);m(y,M,T,"\u2273","\\gtrsim",!0);m(y,M,T,"\u2A86","\\gtrapprox",!0);m(y,M,ve,"\u22D7","\\gtrdot");m(y,M,T,"\u22D9","\\ggg",!0);m(y,M,T,"\u2277","\\gtrless",!0);m(y,M,T,"\u22DB","\\gtreqless",!0);m(y,M,T,"\u2A8C","\\gtreqqless",!0);m(y,M,T,"\u2256","\\eqcirc",!0);m(y,M,T,"\u2257","\\circeq",!0);m(y,M,T,"\u225C","\\triangleq",!0);m(y,M,T,"\u223C","\\thicksim");m(y,M,T,"\u2248","\\thickapprox");m(y,M,T,"\u2AC6","\\supseteqq",!0);m(y,M,T,"\u22D1","\\Supset",!0);m(y,M,T,"\u2290","\\sqsupset",!0);m(y,M,T,"\u227D","\\succcurlyeq",!0);m(y,M,T,"\u22DF","\\curlyeqsucc",!0);m(y,M,T,"\u227F","\\succsim",!0);m(y,M,T,"\u2AB8","\\succapprox",!0);m(y,M,T,"\u22B3","\\vartriangleright");m(y,M,T,"\u22B5","\\trianglerighteq");m(y,M,T,"\u22A9","\\Vdash",!0);m(y,M,T,"\u2223","\\shortmid");m(y,M,T,"\u2225","\\shortparallel");m(y,M,T,"\u226C","\\between",!0);m(y,M,T,"\u22D4","\\pitchfork",!0);m(y,M,T,"\u221D","\\varpropto");m(y,M,T,"\u25C0","\\blacktriangleleft");m(y,M,T,"\u2234","\\therefore",!0);m(y,M,T,"\u220D","\\backepsilon");m(y,M,T,"\u25B6","\\blacktriangleright");m(y,M,T,"\u2235","\\because",!0);m(y,M,T,"\u22D8","\\llless");m(y,M,T,"\u22D9","\\gggtr");m(y,M,ve,"\u22B2","\\lhd");m(y,M,ve,"\u22B3","\\rhd");m(y,M,T,"\u2242","\\eqsim",!0);m(y,w,T,"\u22C8","\\Join");m(y,M,T,"\u2251","\\Doteq",!0);m(y,M,ve,"\u2214","\\dotplus",!0);m(y,M,ve,"\u2216","\\smallsetminus");m(y,M,ve,"\u22D2","\\Cap",!0);m(y,M,ve,"\u22D3","\\Cup",!0);m(y,M,ve,"\u2A5E","\\doublebarwedge",!0);m(y,M,ve,"\u229F","\\boxminus",!0);m(y,M,ve,"\u229E","\\boxplus",!0);m(y,M,ve,"\u22C7","\\divideontimes",!0);m(y,M,ve,"\u22C9","\\ltimes",!0);m(y,M,ve,"\u22CA","\\rtimes",!0);m(y,M,ve,"\u22CB","\\leftthreetimes",!0);m(y,M,ve,"\u22CC","\\rightthreetimes",!0);m(y,M,ve,"\u22CF","\\curlywedge",!0);m(y,M,ve,"\u22CE","\\curlyvee",!0);m(y,M,ve,"\u229D","\\circleddash",!0);m(y,M,ve,"\u229B","\\circledast",!0);m(y,M,ve,"\u22C5","\\centerdot");m(y,M,ve,"\u22BA","\\intercal",!0);m(y,M,ve,"\u22D2","\\doublecap");m(y,M,ve,"\u22D3","\\doublecup");m(y,M,ve,"\u22A0","\\boxtimes",!0);m(y,M,T,"\u21E2","\\dashrightarrow",!0);m(y,M,T,"\u21E0","\\dashleftarrow",!0);m(y,M,T,"\u21C7","\\leftleftarrows",!0);m(y,M,T,"\u21C6","\\leftrightarrows",!0);m(y,M,T,"\u21DA","\\Lleftarrow",!0);m(y,M,T,"\u219E","\\twoheadleftarrow",!0);m(y,M,T,"\u21A2","\\leftarrowtail",!0);m(y,M,T,"\u21AB","\\looparrowleft",!0);m(y,M,T,"\u21CB","\\leftrightharpoons",!0);m(y,M,T,"\u21B6","\\curvearrowleft",!0);m(y,M,T,"\u21BA","\\circlearrowleft",!0);m(y,M,T,"\u21B0","\\Lsh",!0);m(y,M,T,"\u21C8","\\upuparrows",!0);m(y,M,T,"\u21BF","\\upharpoonleft",!0);m(y,M,T,"\u21C3","\\downharpoonleft",!0);m(y,w,T,"\u22B6","\\origof",!0);m(y,w,T,"\u22B7","\\imageof",!0);m(y,M,T,"\u22B8","\\multimap",!0);m(y,M,T,"\u21AD","\\leftrightsquigarrow",!0);m(y,M,T,"\u21C9","\\rightrightarrows",!0);m(y,M,T,"\u21C4","\\rightleftarrows",!0);m(y,M,T,"\u21A0","\\twoheadrightarrow",!0);m(y,M,T,"\u21A3","\\rightarrowtail",!0);m(y,M,T,"\u21AC","\\looparrowright",!0);m(y,M,T,"\u21B7","\\curvearrowright",!0);m(y,M,T,"\u21BB","\\circlearrowright",!0);m(y,M,T,"\u21B1","\\Rsh",!0);m(y,M,T,"\u21CA","\\downdownarrows",!0);m(y,M,T,"\u21BE","\\upharpoonright",!0);m(y,M,T,"\u21C2","\\downharpoonright",!0);m(y,M,T,"\u21DD","\\rightsquigarrow",!0);m(y,M,T,"\u21DD","\\leadsto");m(y,M,T,"\u21DB","\\Rrightarrow",!0);m(y,M,T,"\u21BE","\\restriction");m(y,w,F,"\u2018","`");m(y,w,F,"$","\\$");m(Q,w,F,"$","\\$");m(Q,w,F,"$","\\textdollar");m(y,w,F,"%","\\%");m(Q,w,F,"%","\\%");m(y,w,F,"_","\\_");m(Q,w,F,"_","\\_");m(Q,w,F,"_","\\textunderscore");m(y,w,F,"\u2220","\\angle",!0);m(y,w,F,"\u221E","\\infty",!0);m(y,w,F,"\u2032","\\prime");m(y,w,F,"\u25B3","\\triangle");m(y,w,F,"\u0393","\\Gamma",!0);m(y,w,F,"\u0394","\\Delta",!0);m(y,w,F,"\u0398","\\Theta",!0);m(y,w,F,"\u039B","\\Lambda",!0);m(y,w,F,"\u039E","\\Xi",!0);m(y,w,F,"\u03A0","\\Pi",!0);m(y,w,F,"\u03A3","\\Sigma",!0);m(y,w,F,"\u03A5","\\Upsilon",!0);m(y,w,F,"\u03A6","\\Phi",!0);m(y,w,F,"\u03A8","\\Psi",!0);m(y,w,F,"\u03A9","\\Omega",!0);m(y,w,F,"A","\u0391");m(y,w,F,"B","\u0392");m(y,w,F,"E","\u0395");m(y,w,F,"Z","\u0396");m(y,w,F,"H","\u0397");m(y,w,F,"I","\u0399");m(y,w,F,"K","\u039A");m(y,w,F,"M","\u039C");m(y,w,F,"N","\u039D");m(y,w,F,"O","\u039F");m(y,w,F,"P","\u03A1");m(y,w,F,"T","\u03A4");m(y,w,F,"X","\u03A7");m(y,w,F,"\xAC","\\neg",!0);m(y,w,F,"\xAC","\\lnot");m(y,w,F,"\u22A4","\\top");m(y,w,F,"\u22A5","\\bot");m(y,w,F,"\u2205","\\emptyset");m(y,M,F,"\u2205","\\varnothing");m(y,w,We,"\u03B1","\\alpha",!0);m(y,w,We,"\u03B2","\\beta",!0);m(y,w,We,"\u03B3","\\gamma",!0);m(y,w,We,"\u03B4","\\delta",!0);m(y,w,We,"\u03F5","\\epsilon",!0);m(y,w,We,"\u03B6","\\zeta",!0);m(y,w,We,"\u03B7","\\eta",!0);m(y,w,We,"\u03B8","\\theta",!0);m(y,w,We,"\u03B9","\\iota",!0);m(y,w,We,"\u03BA","\\kappa",!0);m(y,w,We,"\u03BB","\\lambda",!0);m(y,w,We,"\u03BC","\\mu",!0);m(y,w,We,"\u03BD","\\nu",!0);m(y,w,We,"\u03BE","\\xi",!0);m(y,w,We,"\u03BF","\\omicron",!0);m(y,w,We,"\u03C0","\\pi",!0);m(y,w,We,"\u03C1","\\rho",!0);m(y,w,We,"\u03C3","\\sigma",!0);m(y,w,We,"\u03C4","\\tau",!0);m(y,w,We,"\u03C5","\\upsilon",!0);m(y,w,We,"\u03D5","\\phi",!0);m(y,w,We,"\u03C7","\\chi",!0);m(y,w,We,"\u03C8","\\psi",!0);m(y,w,We,"\u03C9","\\omega",!0);m(y,w,We,"\u03B5","\\varepsilon",!0);m(y,w,We,"\u03D1","\\vartheta",!0);m(y,w,We,"\u03D6","\\varpi",!0);m(y,w,We,"\u03F1","\\varrho",!0);m(y,w,We,"\u03C2","\\varsigma",!0);m(y,w,We,"\u03C6","\\varphi",!0);m(y,w,ve,"\u2217","*",!0);m(y,w,ve,"+","+");m(y,w,ve,"\u2212","-",!0);m(y,w,ve,"\u22C5","\\cdot",!0);m(y,w,ve,"\u2218","\\circ",!0);m(y,w,ve,"\xF7","\\div",!0);m(y,w,ve,"\xB1","\\pm",!0);m(y,w,ve,"\xD7","\\times",!0);m(y,w,ve,"\u2229","\\cap",!0);m(y,w,ve,"\u222A","\\cup",!0);m(y,w,ve,"\u2216","\\setminus",!0);m(y,w,ve,"\u2227","\\land");m(y,w,ve,"\u2228","\\lor");m(y,w,ve,"\u2227","\\wedge",!0);m(y,w,ve,"\u2228","\\vee",!0);m(y,w,F,"\u221A","\\surd");m(y,w,fo,"\u27E8","\\langle",!0);m(y,w,fo,"\u2223","\\lvert");m(y,w,fo,"\u2225","\\lVert");m(y,w,xi,"?","?");m(y,w,xi,"!","!");m(y,w,xi,"\u27E9","\\rangle",!0);m(y,w,xi,"\u2223","\\rvert");m(y,w,xi,"\u2225","\\rVert");m(y,w,T,"=","=");m(y,w,T,":",":");m(y,w,T,"\u2248","\\approx",!0);m(y,w,T,"\u2245","\\cong",!0);m(y,w,T,"\u2265","\\ge");m(y,w,T,"\u2265","\\geq",!0);m(y,w,T,"\u2190","\\gets");m(y,w,T,">","\\gt",!0);m(y,w,T,"\u2208","\\in",!0);m(y,w,T,"\uE020","\\@not");m(y,w,T,"\u2282","\\subset",!0);m(y,w,T,"\u2283","\\supset",!0);m(y,w,T,"\u2286","\\subseteq",!0);m(y,w,T,"\u2287","\\supseteq",!0);m(y,M,T,"\u2288","\\nsubseteq",!0);m(y,M,T,"\u2289","\\nsupseteq",!0);m(y,w,T,"\u22A8","\\models");m(y,w,T,"\u2190","\\leftarrow",!0);m(y,w,T,"\u2264","\\le");m(y,w,T,"\u2264","\\leq",!0);m(y,w,T,"<","\\lt",!0);m(y,w,T,"\u2192","\\rightarrow",!0);m(y,w,T,"\u2192","\\to");m(y,M,T,"\u2271","\\ngeq",!0);m(y,M,T,"\u2270","\\nleq",!0);m(y,w,bl,"\xA0","\\ ");m(y,w,bl,"\xA0","\\space");m(y,w,bl,"\xA0","\\nobreakspace");m(Q,w,bl,"\xA0","\\ ");m(Q,w,bl,"\xA0"," ");m(Q,w,bl,"\xA0","\\space");m(Q,w,bl,"\xA0","\\nobreakspace");m(y,w,bl,null,"\\nobreak");m(y,w,bl,null,"\\allowbreak");m(y,w,rC,",",",");m(y,w,rC,";",";");m(y,M,ve,"\u22BC","\\barwedge",!0);m(y,M,ve,"\u22BB","\\veebar",!0);m(y,w,ve,"\u2299","\\odot",!0);m(y,w,ve,"\u2295","\\oplus",!0);m(y,w,ve,"\u2297","\\otimes",!0);m(y,w,F,"\u2202","\\partial",!0);m(y,w,ve,"\u2298","\\oslash",!0);m(y,M,ve,"\u229A","\\circledcirc",!0);m(y,M,ve,"\u22A1","\\boxdot",!0);m(y,w,ve,"\u25B3","\\bigtriangleup");m(y,w,ve,"\u25BD","\\bigtriangledown");m(y,w,ve,"\u2020","\\dagger");m(y,w,ve,"\u22C4","\\diamond");m(y,w,ve,"\u22C6","\\star");m(y,w,ve,"\u25C3","\\triangleleft");m(y,w,ve,"\u25B9","\\triangleright");m(y,w,fo,"{","\\{");m(Q,w,F,"{","\\{");m(Q,w,F,"{","\\textbraceleft");m(y,w,xi,"}","\\}");m(Q,w,F,"}","\\}");m(Q,w,F,"}","\\textbraceright");m(y,w,fo,"{","\\lbrace");m(y,w,xi,"}","\\rbrace");m(y,w,fo,"[","\\lbrack",!0);m(Q,w,F,"[","\\lbrack",!0);m(y,w,xi,"]","\\rbrack",!0);m(Q,w,F,"]","\\rbrack",!0);m(y,w,fo,"(","\\lparen",!0);m(y,w,xi,")","\\rparen",!0);m(Q,w,F,"<","\\textless",!0);m(Q,w,F,">","\\textgreater",!0);m(y,w,fo,"\u230A","\\lfloor",!0);m(y,w,xi,"\u230B","\\rfloor",!0);m(y,w,fo,"\u2308","\\lceil",!0);m(y,w,xi,"\u2309","\\rceil",!0);m(y,w,F,"\\","\\backslash");m(y,w,F,"\u2223","|");m(y,w,F,"\u2223","\\vert");m(Q,w,F,"|","\\textbar",!0);m(y,w,F,"\u2225","\\|");m(y,w,F,"\u2225","\\Vert");m(Q,w,F,"\u2225","\\textbardbl");m(Q,w,F,"~","\\textasciitilde");m(Q,w,F,"\\","\\textbackslash");m(Q,w,F,"^","\\textasciicircum");m(y,w,T,"\u2191","\\uparrow",!0);m(y,w,T,"\u21D1","\\Uparrow",!0);m(y,w,T,"\u2193","\\downarrow",!0);m(y,w,T,"\u21D3","\\Downarrow",!0);m(y,w,T,"\u2195","\\updownarrow",!0);m(y,w,T,"\u21D5","\\Updownarrow",!0);m(y,w,ir,"\u2210","\\coprod");m(y,w,ir,"\u22C1","\\bigvee");m(y,w,ir,"\u22C0","\\bigwedge");m(y,w,ir,"\u2A04","\\biguplus");m(y,w,ir,"\u22C2","\\bigcap");m(y,w,ir,"\u22C3","\\bigcup");m(y,w,ir,"\u222B","\\int");m(y,w,ir,"\u222B","\\intop");m(y,w,ir,"\u222C","\\iint");m(y,w,ir,"\u222D","\\iiint");m(y,w,ir,"\u220F","\\prod");m(y,w,ir,"\u2211","\\sum");m(y,w,ir,"\u2A02","\\bigotimes");m(y,w,ir,"\u2A01","\\bigoplus");m(y,w,ir,"\u2A00","\\bigodot");m(y,w,ir,"\u222E","\\oint");m(y,w,ir,"\u222F","\\oiint");m(y,w,ir,"\u2230","\\oiiint");m(y,w,ir,"\u2A06","\\bigsqcup");m(y,w,ir,"\u222B","\\smallint");m(Q,w,Uh,"\u2026","\\textellipsis");m(y,w,Uh,"\u2026","\\mathellipsis");m(Q,w,Uh,"\u2026","\\ldots",!0);m(y,w,Uh,"\u2026","\\ldots",!0);m(y,w,Uh,"\u22EF","\\@cdots",!0);m(y,w,Uh,"\u22F1","\\ddots",!0);m(y,w,F,"\u22EE","\\varvdots");m(y,w,Mn,"\u02CA","\\acute");m(y,w,Mn,"\u02CB","\\grave");m(y,w,Mn,"\xA8","\\ddot");m(y,w,Mn,"~","\\tilde");m(y,w,Mn,"\u02C9","\\bar");m(y,w,Mn,"\u02D8","\\breve");m(y,w,Mn,"\u02C7","\\check");m(y,w,Mn,"^","\\hat");m(y,w,Mn,"\u20D7","\\vec");m(y,w,Mn,"\u02D9","\\dot");m(y,w,Mn,"\u02DA","\\mathring");m(y,w,We,"\uE131","\\@imath");m(y,w,We,"\uE237","\\@jmath");m(y,w,F,"\u0131","\u0131");m(y,w,F,"\u0237","\u0237");m(Q,w,F,"\u0131","\\i",!0);m(Q,w,F,"\u0237","\\j",!0);m(Q,w,F,"\xDF","\\ss",!0);m(Q,w,F,"\xE6","\\ae",!0);m(Q,w,F,"\u0153","\\oe",!0);m(Q,w,F,"\xF8","\\o",!0);m(Q,w,F,"\xC6","\\AE",!0);m(Q,w,F,"\u0152","\\OE",!0);m(Q,w,F,"\xD8","\\O",!0);m(Q,w,Mn,"\u02CA","\\'");m(Q,w,Mn,"\u02CB","\\`");m(Q,w,Mn,"\u02C6","\\^");m(Q,w,Mn,"\u02DC","\\~");m(Q,w,Mn,"\u02C9","\\=");m(Q,w,Mn,"\u02D8","\\u");m(Q,w,Mn,"\u02D9","\\.");m(Q,w,Mn,"\xB8","\\c");m(Q,w,Mn,"\u02DA","\\r");m(Q,w,Mn,"\u02C7","\\v");m(Q,w,Mn,"\xA8",'\\"');m(Q,w,Mn,"\u02DD","\\H");m(Q,w,Mn,"\u25EF","\\textcircled");var a$={"--":!0,"---":!0,"``":!0,"''":!0};m(Q,w,F,"\u2013","--",!0);m(Q,w,F,"\u2013","\\textendash");m(Q,w,F,"\u2014","---",!0);m(Q,w,F,"\u2014","\\textemdash");m(Q,w,F,"\u2018","`",!0);m(Q,w,F,"\u2018","\\textquoteleft");m(Q,w,F,"\u2019","'",!0);m(Q,w,F,"\u2019","\\textquoteright");m(Q,w,F,"\u201C","``",!0);m(Q,w,F,"\u201C","\\textquotedblleft");m(Q,w,F,"\u201D","''",!0);m(Q,w,F,"\u201D","\\textquotedblright");m(y,w,F,"\xB0","\\degree",!0);m(Q,w,F,"\xB0","\\degree");m(Q,w,F,"\xB0","\\textdegree",!0);m(y,w,F,"\xA3","\\pounds");m(y,w,F,"\xA3","\\mathsterling",!0);m(Q,w,F,"\xA3","\\pounds");m(Q,w,F,"\xA3","\\textsterling",!0);m(y,M,F,"\u2720","\\maltese");m(Q,M,F,"\u2720","\\maltese");var MH='0123456789/@."';for(Lx=0;Lx<MH.length;Lx++)zI=MH.charAt(Lx),m(y,w,F,zI,zI);var zI,Lx,TH='0123456789!@*()-=+";:?/.,';for(Bx=0;Bx<TH.length;Bx++)LI=TH.charAt(Bx),m(Q,w,F,LI,LI);var LI,Bx,Qx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(Vx=0;Vx<Qx.length;Vx++)tb=Qx.charAt(Vx),m(y,w,We,tb,tb),m(Q,w,F,tb,tb);var tb,Vx;m(y,M,F,"C","\u2102");m(Q,M,F,"C","\u2102");m(y,M,F,"H","\u210D");m(Q,M,F,"H","\u210D");m(y,M,F,"N","\u2115");m(Q,M,F,"N","\u2115");m(y,M,F,"P","\u2119");m(Q,M,F,"P","\u2119");m(y,M,F,"Q","\u211A");m(Q,M,F,"Q","\u211A");m(y,M,F,"R","\u211D");m(Q,M,F,"R","\u211D");m(y,M,F,"Z","\u2124");m(Q,M,F,"Z","\u2124");m(y,w,We,"h","\u210E");m(Q,w,We,"h","\u210E");var ot="";for(ii=0;ii<Qx.length;ii++)On=Qx.charAt(ii),ot=String.fromCharCode(55349,56320+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56372+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56424+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56580+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56684+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56736+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56788+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56840+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56944+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ii<26&&(ot=String.fromCharCode(55349,56632+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot),ot=String.fromCharCode(55349,56476+ii),m(y,w,We,On,ot),m(Q,w,F,On,ot));var On,ii;ot=String.fromCharCode(55349,56668);m(y,w,We,"k",ot);m(Q,w,F,"k",ot);for(Oc=0;Oc<10;Oc++)fl=Oc.toString(),ot=String.fromCharCode(55349,57294+Oc),m(y,w,We,fl,ot),m(Q,w,F,fl,ot),ot=String.fromCharCode(55349,57314+Oc),m(y,w,We,fl,ot),m(Q,w,F,fl,ot),ot=String.fromCharCode(55349,57324+Oc),m(y,w,We,fl,ot),m(Q,w,F,fl,ot),ot=String.fromCharCode(55349,57334+Oc),m(y,w,We,fl,ot),m(Q,w,F,fl,ot);var fl,Oc,QI="\xD0\xDE\xFE";for(Ux=0;Ux<QI.length;Ux++)nb=QI.charAt(Ux),m(y,w,We,nb,nb),m(Q,w,F,nb,nb);var nb,Ux,Hx=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],AH=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],_0e=function(e,n){var r=e.charCodeAt(0),i=e.charCodeAt(1),o=(r-55296)*1024+(i-56320)+65536,a=n==="math"?0:1;if(119808<=o&&o<120484){var s=Math.floor((o-119808)/26);return[Hx[s][2],Hx[s][a]]}else if(120782<=o&&o<=120831){var l=Math.floor((o-120782)/10);return[AH[l][2],AH[l][a]]}else{if(o===120485||o===120486)return[Hx[0][2],Hx[0][a]];if(120486<o&&o<120782)return["",""];throw new ae("Unsupported character: "+e)}},iC=function(e,n,r){return bn[r][e]&&bn[r][e].replace&&(e=bn[r][e].replace),{value:e,metrics:lO(e,n,r)}},ka=function(e,n,r,i,o){var a=iC(e,n,r),s=a.metrics;e=a.value;var l;if(s){var c=s.italic;(r==="text"||i&&i.font==="mathit")&&(c=0),l=new Bi(e,s.height,s.depth,c,s.skew,s.width,o)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+n+"' and mode '"+r+"'")),l=new Bi(e,0,0,0,0,0,o);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var d=i.getColor();d&&(l.style.color=d)}return l},w0e=function(e,n,r,i){return i===void 0&&(i=[]),r.font==="boldsymbol"&&iC(e,"Main-Bold",n).metrics?ka(e,"Main-Bold",n,r,i.concat(["mathbf"])):e==="\\"||bn[n][e].font==="main"?ka(e,"Main-Regular",n,r,i):ka(e,"AMS-Regular",n,r,i.concat(["amsrm"]))},v0e=function(e,n,r,i,o){return o!=="textord"&&iC(e,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},k0e=function(e,n,r){var i=e.mode,o=e.text,a=["mord"],s=i==="math"||i==="text"&&n.font,l=s?n.font:n.fontFamily,c="",d="";if(o.charCodeAt(0)===55349&&([c,d]=_0e(o,i)),c.length>0)return ka(o,c,i,n,a.concat(d));if(l){var u,f;if(l==="boldsymbol"){var p=v0e(o,i,n,a,r);u=p.fontName,f=[p.fontClass]}else s?(u=c$[l].fontName,f=[l]):(u=$x(l,n.fontWeight,n.fontShape),f=[l,n.fontWeight,n.fontShape]);if(iC(o,u,i).metrics)return ka(o,u,i,n,a.concat(f));if(a$.hasOwnProperty(o)&&u.slice(0,10)==="Typewriter"){for(var h=[],g=0;g<o.length;g++)h.push(ka(o[g],u,i,n,a.concat(f)));return l$(h)}}if(r==="mathord")return ka(o,"Math-Italic",i,n,a.concat(["mathnormal"]));if(r==="textord"){var b=bn[i][o]&&bn[i][o].font;if(b==="ams"){var _=$x("amsrm",n.fontWeight,n.fontShape);return ka(o,_,i,n,a.concat("amsrm",n.fontWeight,n.fontShape))}else if(b==="main"||!b){var x=$x("textrm",n.fontWeight,n.fontShape);return ka(o,x,i,n,a.concat(n.fontWeight,n.fontShape))}else{var E=$x(b,n.fontWeight,n.fontShape);return ka(o,E,i,n,a.concat(E,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},x0e=(t,e)=>{if(Fc(t.classes)!==Fc(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var n=t.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in t.style)if(t.style.hasOwnProperty(r)&&t.style[r]!==e.style[r])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},C0e=t=>{for(var e=0;e<t.length-1;e++){var n=t[e],r=t[e+1];n instanceof Bi&&r instanceof Bi&&x0e(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,t.splice(e+1,1),e--)}return t},cO=function(e){for(var n=0,r=0,i=0,o=0;o<e.children.length;o++){var a=e.children[o];a.height>n&&(n=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>i&&(i=a.maxFontSize)}e.height=n,e.depth=r,e.maxFontSize=i},zi=function(e,n,r,i){var o=new Ju(e,n,r,i);return cO(o),o},s$=(t,e,n,r)=>new Ju(t,e,n,r),D0e=function(e,n,r){var i=zi([e],[],n);return i.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),i.style.borderBottomWidth=ue(i.height),i.maxFontSize=1,i},S0e=function(e,n,r,i){var o=new sb(e,n,r,i);return cO(o),o},l$=function(e){var n=new Qu(e);return cO(n),n},E0e=function(e,n){return e instanceof Qu?zi([],[e],n):e},M0e=function(e){if(e.positionType==="individualShift"){for(var n=e.children,r=[n[0]],i=-n[0].shift-n[0].elem.depth,o=i,a=1;a<n.length;a++){var s=-n[a].shift-o-n[a].elem.depth,l=s-(n[a-1].elem.height+n[a-1].elem.depth);o=o+s,r.push({type:"kern",size:l}),r.push(n[a])}return{children:r,depth:i}}var c;if(e.positionType==="top"){for(var d=e.positionData,u=0;u<e.children.length;u++){var f=e.children[u];d-=f.type==="kern"?f.size:f.elem.height+f.elem.depth}c=d}else if(e.positionType==="bottom")c=-e.positionData;else{var p=e.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")c=-p.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")c=-p.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:c}},T0e=function(e,n){for(var{children:r,depth:i}=M0e(e),o=0,a=0;a<r.length;a++){var s=r[a];if(s.type==="elem"){var l=s.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=zi(["pstrut"],[]);c.style.height=ue(o);for(var d=[],u=i,f=i,p=i,h=0;h<r.length;h++){var g=r[h];if(g.type==="kern")p+=g.size;else{var b=g.elem,_=g.wrapperClasses||[],x=g.wrapperStyle||{},E=zi(_,[c,b],void 0,x);E.style.top=ue(-o-p-b.depth),g.marginLeft&&(E.style.marginLeft=g.marginLeft),g.marginRight&&(E.style.marginRight=g.marginRight),d.push(E),p+=b.height+b.depth}u=Math.min(u,p),f=Math.max(f,p)}var v=zi(["vlist"],d);v.style.height=ue(f);var j;if(u<0){var C=zi([],[]),P=zi(["vlist"],[C]);P.style.height=ue(-u);var z=zi(["vlist-s"],[new Bi("\u200B")]);j=[zi(["vlist-r"],[v,z]),zi(["vlist-r"],[P])]}else j=[zi(["vlist-r"],[v])];var N=zi(["vlist-t"],j);return j.length===2&&N.classes.push("vlist-t2"),N.height=f,N.depth=-u,N},A0e=(t,e)=>{var n=zi(["mspace"],[],e),r=Fn(t,e);return n.style.marginRight=ue(r),n},$x=function(e,n,r){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var o;return n==="textbf"&&r==="textit"?o="BoldItalic":n==="textbf"?o="Bold":n==="textit"?o="Italic":o="Regular",i+"-"+o},c$={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},d$={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},I0e=function(e,n){var[r,i,o]=d$[e],a=new cs(r),s=new xa([a],{width:ue(i),height:ue(o),style:"width:"+ue(i),viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=s$(["overlay"],[s],n);return l.height=o,l.style.height=ue(o),l.style.width=ue(i),l},L={fontMap:c$,makeSymbol:ka,mathsym:w0e,makeSpan:zi,makeSvgSpan:s$,makeLineSpan:D0e,makeAnchor:S0e,makeFragment:l$,wrapFragment:E0e,makeVList:T0e,makeOrd:k0e,makeGlue:A0e,staticSvg:I0e,svgData:d$,tryCombineChars:C0e},Pn={number:3,unit:"mu"},Zu={number:4,unit:"mu"},pl={number:5,unit:"mu"},O0e={mord:{mop:Pn,mbin:Zu,mrel:pl,minner:Pn},mop:{mord:Pn,mop:Pn,mrel:pl,minner:Pn},mbin:{mord:Zu,mop:Zu,mopen:Zu,minner:Zu},mrel:{mord:pl,mop:pl,mopen:pl,minner:pl},mopen:{},mclose:{mop:Pn,mbin:Zu,mrel:pl,minner:Pn},mpunct:{mord:Pn,mop:Pn,mrel:pl,mopen:Pn,mclose:Pn,mpunct:Pn,minner:Pn},minner:{mord:Pn,mop:Pn,mbin:Zu,mrel:pl,mopen:Pn,mpunct:Pn,minner:Pn}},P0e={mord:{mop:Pn},mop:{mord:Pn,mop:Pn},mbin:{},mrel:{},mopen:{},mclose:{mop:Pn},mpunct:{},minner:{mop:Pn}},u$={},Jx={},eC={};function be(t){for(var{type:e,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:a}=t,s={type:e,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},l=0;l<n.length;++l)u$[n[l]]=s;e&&(o&&(Jx[e]=o),a&&(eC[e]=a))}function ef(t){var{type:e,htmlBuilder:n,mathmlBuilder:r}=t;be({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var tC=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},Wn=function(e){return e.type==="ordgroup"?e.body:[e]},gl=L.makeSpan,F0e=["leftmost","mbin","mopen","mrel","mop","mpunct"],N0e=["rightmost","mrel","mclose","mpunct"],R0e={display:Ge.DISPLAY,text:Ge.TEXT,script:Ge.SCRIPT,scriptscript:Ge.SCRIPTSCRIPT},j0e={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},gr=function(e,n,r,i){i===void 0&&(i=[null,null]);for(var o=[],a=0;a<e.length;a++){var s=$t(e[a],n);if(s instanceof Qu){var l=s.children;o.push(...l)}else o.push(s)}if(L.tryCombineChars(o),!r)return o;var c=n;if(e.length===1){var d=e[0];d.type==="sizing"?c=n.havingSize(d.size):d.type==="styling"&&(c=n.havingStyle(R0e[d.style]))}var u=gl([i[0]||"leftmost"],[],n),f=gl([i[1]||"rightmost"],[],n),p=r==="root";return IH(o,(h,g)=>{var b=g.classes[0],_=h.classes[0];b==="mbin"&&at.contains(N0e,_)?g.classes[0]="mord":_==="mbin"&&at.contains(F0e,b)&&(h.classes[0]="mord")},{node:u},f,p),IH(o,(h,g)=>{var b=JI(g),_=JI(h),x=b&&_?h.hasClass("mtight")?P0e[b][_]:O0e[b][_]:null;if(x)return L.makeGlue(x,c)},{node:u},f,p),o},IH=function t(e,n,r,i,o){i&&e.push(i);for(var a=0;a<e.length;a++){var s=e[a],l=f$(s);if(l){t(l.children,n,r,null,o);continue}var c=!s.hasClass("mspace");if(c){var d=n(s,r.node);d&&(r.insertAfter?r.insertAfter(d):(e.unshift(d),a++))}c?r.node=s:o&&s.hasClass("newline")&&(r.node=gl(["leftmost"])),r.insertAfter=(u=>f=>{e.splice(u+1,0,f),a++})(a)}i&&e.pop()},f$=function(e){return e instanceof Qu||e instanceof sb||e instanceof Ju&&e.hasClass("enclosing")?e:null},z0e=function t(e,n){var r=f$(e);if(r){var i=r.children;if(i.length){if(n==="right")return t(i[i.length-1],"right");if(n==="left")return t(i[0],"left")}}return e},JI=function(e,n){return e?(n&&(e=z0e(e,n)),j0e[e.classes[0]]||null):null},cb=function(e,n){var r=["nulldelimiter"].concat(e.baseSizingClasses());return gl(n.concat(r))},$t=function(e,n,r){if(!e)return gl();if(Jx[e.type]){var i=Jx[e.type](e,n);if(r&&n.size!==r.size){i=gl(n.sizingClasses(r),[i],n);var o=n.sizeMultiplier/r.sizeMultiplier;i.height*=o,i.depth*=o}return i}else throw new ae("Got group of unknown type: '"+e.type+"'")};function qx(t,e){var n=gl(["base"],t,e),r=gl(["strut"]);return r.style.height=ue(n.height+n.depth),n.depth&&(r.style.verticalAlign=ue(-n.depth)),n.children.unshift(r),n}function eO(t,e){var n=null;t.length===1&&t[0].type==="tag"&&(n=t[0].tag,t=t[0].body);var r=gr(t,e,"root"),i;r.length===2&&r[1].hasClass("tag")&&(i=r.pop());for(var o=[],a=[],s=0;s<r.length;s++)if(a.push(r[s]),r[s].hasClass("mbin")||r[s].hasClass("mrel")||r[s].hasClass("allowbreak")){for(var l=!1;s<r.length-1&&r[s+1].hasClass("mspace")&&!r[s+1].hasClass("newline");)s++,a.push(r[s]),r[s].hasClass("nobreak")&&(l=!0);l||(o.push(qx(a,e)),a=[])}else r[s].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(qx(a,e)),a=[]),o.push(r[s]));a.length>0&&o.push(qx(a,e));var c;n?(c=qx(gr(n,e,!0)),c.classes=["tag"],o.push(c)):i&&o.push(i);var d=gl(["katex-html"],o);if(d.setAttribute("aria-hidden","true"),c){var u=c.children[0];u.style.height=ue(d.height+d.depth),d.depth&&(u.style.verticalAlign=ue(-d.depth))}return d}function p$(t){return new Qu(t)}var Li=class{constructor(e,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(e,n){this.attributes[e]=n}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&e.setAttribute(n,this.attributes[n]);this.classes.length>0&&(e.className=Fc(this.classes));for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="',e+=at.escape(this.attributes[n]),e+='"');this.classes.length>0&&(e+=' class ="'+at.escape(Fc(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}},Xu=class{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return at.escape(this.toText())}toText(){return this.text}},tO=class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ue(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ue(this.width)+'"/>'}toText(){return this.character?this.character:" "}},ne={MathNode:Li,TextNode:Xu,SpaceNode:tO,newDocumentFragment:p$},$o=function(e,n,r){return bn[n][e]&&bn[n][e].replace&&e.charCodeAt(0)!==55349&&!(a$.hasOwnProperty(e)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(e=bn[n][e].replace),new ne.TextNode(e)},dO=function(e){return e.length===1?e[0]:new ne.MathNode("mrow",e)},uO=function(e,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var i=e.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var o=e.text;if(at.contains(["\\imath","\\jmath"],o))return null;bn[i][o]&&bn[i][o].replace&&(o=bn[i][o].replace);var a=L.fontMap[r].fontName;return lO(o,a,i)?L.fontMap[r].variant:null},Vi=function(e,n,r){if(e.length===1){var i=dn(e[0],n);return r&&i instanceof Li&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var o=[],a,s=0;s<e.length;s++){var l=dn(e[s],n);if(l instanceof Li&&a instanceof Li){if(l.type==="mtext"&&a.type==="mtext"&&l.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...l.children);continue}else if(l.type==="mn"&&a.type==="mn"){a.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&a.type==="mn"){var c=l.children[0];if(c instanceof Xu&&c.text==="."){a.children.push(...l.children);continue}}else if(a.type==="mi"&&a.children.length===1){var d=a.children[0];if(d instanceof Xu&&d.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var u=l.children[0];u instanceof Xu&&u.text.length>0&&(u.text=u.text.slice(0,1)+"\u0338"+u.text.slice(1),o.pop())}}}o.push(l),a=l}return o},Nc=function(e,n,r){return dO(Vi(e,n,r))},dn=function(e,n){if(!e)return new ne.MathNode("mrow");if(eC[e.type]){var r=eC[e.type](e,n);return r}else throw new ae("Got group of unknown type: '"+e.type+"'")};function OH(t,e,n,r,i){var o=Vi(t,n),a;o.length===1&&o[0]instanceof Li&&at.contains(["mrow","mtable"],o[0].type)?a=o[0]:a=new ne.MathNode("mrow",o);var s=new ne.MathNode("annotation",[new ne.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var l=new ne.MathNode("semantics",[a,s]),c=new ne.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var d=i?"katex":"katex-mathml";return L.makeSpan([d],[c])}var h$=function(e){return new p0e({style:e.displayMode?Ge.DISPLAY:Ge.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},m$=function(e,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),e=L.makeSpan(r,[e])}return e},L0e=function(e,n,r){var i=h$(r),o;if(r.output==="mathml")return OH(e,n,i,r.displayMode,!0);if(r.output==="html"){var a=eO(e,i);o=L.makeSpan(["katex"],[a])}else{var s=OH(e,n,i,r.displayMode,!1),l=eO(e,i);o=L.makeSpan(["katex"],[s,l])}return m$(o,r)},B0e=function(e,n,r){var i=h$(r),o=eO(e,i),a=L.makeSpan(["katex"],[o]);return m$(a,r)},V0e={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},U0e=function(e){var n=new ne.MathNode("mo",[new ne.TextNode(V0e[e.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},H0e={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},$0e=function(e){return e.type==="ordgroup"?e.body.length:1},q0e=function(e,n){function r(){var s=4e5,l=e.label.slice(1);if(at.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=e,d=$0e(c.base),u,f,p;if(d>5)l==="widehat"||l==="widecheck"?(u=420,s=2364,p=.42,f=l+"4"):(u=312,s=2340,p=.34,f="tilde4");else{var h=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(s=[0,1062,2364,2364,2364][h],u=[0,239,300,360,420][h],p=[0,.24,.3,.3,.36,.42][h],f=l+h):(s=[0,600,1033,2339,2340][h],u=[0,260,286,306,312][h],p=[0,.26,.286,.3,.306,.34][h],f="tilde"+h)}var g=new cs(f),b=new xa([g],{width:"100%",height:ue(p),viewBox:"0 0 "+s+" "+u,preserveAspectRatio:"none"});return{span:L.makeSvgSpan([],[b],n),minWidth:0,height:p}}else{var _=[],x=H0e[l],[E,v,j]=x,C=j/1e3,P=E.length,z,N;if(P===1){var O=x[3];z=["hide-tail"],N=[O]}else if(P===2)z=["halfarrow-left","halfarrow-right"],N=["xMinYMin","xMaxYMin"];else if(P===3)z=["brace-left","brace-center","brace-right"],N=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+P+" children.");for(var J=0;J<P;J++){var V=new cs(E[J]),Y=new xa([V],{width:"400em",height:ue(C),viewBox:"0 0 "+s+" "+j,preserveAspectRatio:N[J]+" slice"}),ie=L.makeSvgSpan([z[J]],[Y],n);if(P===1)return{span:ie,minWidth:v,height:C};ie.style.height=ue(C),_.push(ie)}return{span:L.makeSpan(["stretchy"],_,n),minWidth:v,height:C}}}var{span:i,minWidth:o,height:a}=r();return i.height=a,i.style.height=ue(a),o>0&&(i.style.minWidth=ue(o)),i},W0e=function(e,n,r,i,o){var a,s=e.height+e.depth+r+i;if(/fbox|color|angl/.test(n)){if(a=L.makeSpan(["stretchy",n],[],o),n==="fbox"){var l=o.color&&o.getColor();l&&(a.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new lb({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new lb({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new xa(c,{width:"100%",height:ue(s)});a=L.makeSvgSpan([],[d],o)}return a.height=s,a.style.height=ue(s),a},yl={encloseSpan:W0e,mathMLnode:U0e,svgSpan:q0e};function xt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function fO(t){var e=oC(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function oC(t){return t&&(t.type==="atom"||b0e.hasOwnProperty(t.type))?t:null}var pO=(t,e)=>{var n,r,i;t&&t.type==="supsub"?(r=xt(t.base,"accent"),n=r.base,t.base=n,i=g0e($t(t,e)),t.base=r):(r=xt(t,"accent"),n=r.base);var o=$t(n,e.havingCrampedStyle()),a=r.isShifty&&at.isCharacterBox(n),s=0;if(a){var l=at.getBaseElem(n),c=$t(l,e.havingCrampedStyle());s=EH(c).skew}var d=r.label==="\\c",u=d?o.height+o.depth:Math.min(o.height,e.fontMetrics().xHeight),f;if(r.isStretchy)f=yl.svgSpan(r,e),f=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:s>0?{width:"calc(100% - "+ue(2*s)+")",marginLeft:ue(2*s)}:void 0}]},e);else{var p,h;r.label==="\\vec"?(p=L.staticSvg("vec",e),h=L.svgData.vec[1]):(p=L.makeOrd({mode:r.mode,text:r.label},e,"textord"),p=EH(p),p.italic=0,h=p.width,d&&(u+=p.depth)),f=L.makeSpan(["accent-body"],[p]);var g=r.label==="\\textcircled";g&&(f.classes.push("accent-full"),u=o.height);var b=s;g||(b-=h/2),f.style.left=ue(b),r.label==="\\textcircled"&&(f.style.top=".2em"),f=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-u},{type:"elem",elem:f}]},e)}var _=L.makeSpan(["mord","accent"],[f],e);return i?(i.children[0]=_,i.height=Math.max(_.height,i.height),i.classes[0]="mord",i):_},g$=(t,e)=>{var n=t.isStretchy?yl.mathMLnode(t.label):new ne.MathNode("mo",[$o(t.label,t.mode)]),r=new ne.MathNode("mover",[dn(t.base,e),n]);return r.setAttribute("accent","true"),r},G0e=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));be({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(t,e)=>{var n=tC(e[0]),r=!G0e.test(t.funcName),i=!r||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:pO,mathmlBuilder:g$});be({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var n=e[0],r=t.parser.mode;return r==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:t.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:pO,mathmlBuilder:g$});be({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(t,e)=>{var n=$t(t.base,e),r=yl.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,o=L.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},e);return L.makeSpan(["mord","accentunder"],[o],e)},mathmlBuilder:(t,e)=>{var n=yl.mathMLnode(t.label),r=new ne.MathNode("munder",[dn(t.base,e),n]);return r.setAttribute("accentunder","true"),r}});var Wx=t=>{var e=new ne.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};be({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,n){var{parser:r,funcName:i}=t;return{type:"xArrow",mode:r.mode,label:i,body:e[0],below:n[0]}},htmlBuilder(t,e){var n=e.style,r=e.havingStyle(n.sup()),i=L.wrapFragment($t(t.body,r,e),e),o=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(o+"-arrow-pad");var a;t.below&&(r=e.havingStyle(n.sub()),a=L.wrapFragment($t(t.below,r,e),e),a.classes.push(o+"-arrow-pad"));var s=yl.svgSpan(t,e),l=-e.fontMetrics().axisHeight+.5*s.height,c=-e.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(c-=i.depth);var d;if(a){var u=-e.fontMetrics().axisHeight+a.height+.5*s.height+.111;d=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:a,shift:u}]},e)}else d=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:s,shift:l}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),L.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var n=yl.mathMLnode(t.label);n.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(t.body){var i=Wx(dn(t.body,e));if(t.below){var o=Wx(dn(t.below,e));r=new ne.MathNode("munderover",[n,o,i])}else r=new ne.MathNode("mover",[n,i])}else if(t.below){var a=Wx(dn(t.below,e));r=new ne.MathNode("munder",[n,a])}else r=Wx(),r=new ne.MathNode("mover",[n,r]);return r}});var Y0e=L.makeSpan;function y$(t,e){var n=gr(t.body,e,!0);return Y0e([t.mclass],n,e)}function b$(t,e){var n,r=Vi(t.body,e);return t.mclass==="minner"?n=new ne.MathNode("mpadded",r):t.mclass==="mord"?t.isCharacterBox?(n=r[0],n.type="mi"):n=new ne.MathNode("mi",r):(t.isCharacterBox?(n=r[0],n.type="mo"):n=new ne.MathNode("mo",r),t.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):t.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):t.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}be({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Wn(i),isCharacterBox:at.isCharacterBox(i)}},htmlBuilder:y$,mathmlBuilder:b$});var aC=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};be({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:n}=t;return{type:"mclass",mode:n.mode,mclass:aC(e[0]),body:Wn(e[1]),isCharacterBox:at.isCharacterBox(e[1])}}});be({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:n,funcName:r}=t,i=e[1],o=e[0],a;r!=="\\stackrel"?a=aC(i):a="mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Wn(i)},l={type:"supsub",mode:o.mode,base:s,sup:r==="\\underset"?null:o,sub:r==="\\underset"?o:null};return{type:"mclass",mode:n.mode,mclass:a,body:[l],isCharacterBox:at.isCharacterBox(l)}},htmlBuilder:y$,mathmlBuilder:b$});be({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"pmb",mode:n.mode,mclass:aC(e[0]),body:Wn(e[0])}},htmlBuilder(t,e){var n=gr(t.body,e,!0),r=L.makeSpan([t.mclass],n,e);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(t,e){var n=Vi(t.body,e),r=new ne.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var K0e={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},PH=()=>({type:"styling",body:[],mode:"math",style:"display"}),FH=t=>t.type==="textord"&&t.text==="@",Z0e=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function X0e(t,e,n){var r=K0e[t];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=n.callFunction("\\\\cdleft",[e[0]],[]),o={type:"atom",text:r,mode:"math",family:"rel"},a=n.callFunction("\\Big",[o],[]),s=n.callFunction("\\\\cdright",[e[1]],[]),l={type:"ordgroup",mode:"math",body:[i,a,s]};return n.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Q0e(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var n=t.fetch().text;if(n==="&"||n==="\\\\")t.consume();else if(n==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new ae("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var r=[],i=[r],o=0;o<e.length;o++){for(var a=e[o],s=PH(),l=0;l<a.length;l++)if(!FH(a[l]))s.body.push(a[l]);else{r.push(s),l+=1;var c=fO(a[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var u=0;u<2;u++){for(var f=!0,p=l+1;p<a.length;p++){if(Z0e(a[p],c)){f=!1,l=p;break}if(FH(a[p]))throw new ae("Missing a "+c+" character to complete a CD arrow.",a[p]);d[u].body.push(a[p])}if(f)throw new ae("Missing a "+c+" character to complete a CD arrow.",a[l])}else throw new ae('Expected one of "<>AV=|." after @',a[l]);var h=X0e(c,d,t),g={type:"styling",body:[h],mode:"math",style:"display"};r.push(g),s=PH()}o%2===0?r.push(s):r.shift(),r=[],i.push(r)}t.gullet.endGroup(),t.gullet.endGroup();var b=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:b,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}be({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:e[0]}},htmlBuilder(t,e){var n=e.havingStyle(e.style.sup()),r=L.wrapFragment($t(t.label,n,e),e);return r.classes.push("cd-label-"+t.side),r.style.bottom=ue(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(t,e){var n=new ne.MathNode("mrow",[dn(t.label,e)]);return n=new ne.MathNode("mpadded",[n]),n.setAttribute("width","0"),t.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new ne.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});be({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:n}=t;return{type:"cdlabelparent",mode:n.mode,fragment:e[0]}},htmlBuilder(t,e){var n=L.wrapFragment($t(t.fragment,e),e);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(t,e){return new ne.MathNode("mrow",[dn(t.fragment,e)])}});be({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:n}=t,r=xt(e[0],"ordgroup"),i=r.body,o="",a=0;a<i.length;a++){var s=xt(i[a],"textord");o+=s.text}var l=parseInt(o),c;if(isNaN(l))throw new ae("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new ae("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var _$=(t,e)=>{var n=gr(t.body,e.withColor(t.color),!1);return L.makeFragment(n)},w$=(t,e)=>{var n=Vi(t.body,e.withColor(t.color)),r=new ne.MathNode("mstyle",n);return r.setAttribute("mathcolor",t.color),r};be({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:n}=t,r=xt(e[0],"color-token").color,i=e[1];return{type:"color",mode:n.mode,color:r,body:Wn(i)}},htmlBuilder:_$,mathmlBuilder:w$});be({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:n,breakOnTokenText:r}=t,i=xt(e[0],"color-token").color;n.gullet.macros.set("\\current@color",i);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:o}},htmlBuilder:_$,mathmlBuilder:w$});be({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,n){var{parser:r}=t,i=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:i&&xt(i,"size").value}},htmlBuilder(t,e){var n=L.makeSpan(["mspace"],[],e);return t.newLine&&(n.classes.push("newline"),t.size&&(n.style.marginTop=ue(Fn(t.size,e)))),n},mathmlBuilder(t,e){var n=new ne.MathNode("mspace");return t.newLine&&(n.setAttribute("linebreak","newline"),t.size&&n.setAttribute("height",ue(Fn(t.size,e)))),n}});var nO={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},v$=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new ae("Expected a control sequence",t);return e},J0e=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},k$=(t,e,n,r)=>{var i=t.gullet.macros.get(n.text);i==null&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!t.gullet.isExpandable(n.text)}),t.gullet.macros.set(e,i,r)};be({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:n}=t;e.consumeSpaces();var r=e.fetch();if(nO[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=nO[r.text]),xt(e.parseFunction(),"internal");throw new ae("Invalid token after macro prefix",r)}});be({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=e.gullet.popToken(),i=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new ae("Expected a control sequence",r);for(var o=0,a,s=[[]];e.gullet.future().text!=="{";)if(r=e.gullet.popToken(),r.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),s[o].push("{");break}if(r=e.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ae('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==o+1)throw new ae('Argument number "'+r.text+'" out of order');o++,s.push([])}else{if(r.text==="EOF")throw new ae("Expected a macro definition");s[o].push(r.text)}var{tokens:l}=e.gullet.consumeArg();return a&&l.unshift(a),(n==="\\edef"||n==="\\xdef")&&(l=e.gullet.expandTokens(l),l.reverse()),e.gullet.macros.set(i,{tokens:l,numArgs:o,delimiters:s},n===nO[n]),{type:"internal",mode:e.mode}}});be({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=v$(e.gullet.popToken());e.gullet.consumeSpaces();var i=J0e(e);return k$(e,r,i,n==="\\\\globallet"),{type:"internal",mode:e.mode}}});be({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:n}=t,r=v$(e.gullet.popToken()),i=e.gullet.popToken(),o=e.gullet.popToken();return k$(e,r,o,n==="\\\\globalfuture"),e.gullet.pushToken(o),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var rb=function(e,n,r){var i=bn.math[e]&&bn.math[e].replace,o=lO(i||e,n,r);if(!o)throw new Error("Unsupported symbol "+e+" and font size "+n+".");return o},hO=function(e,n,r,i){var o=r.havingBaseStyle(n),a=L.makeSpan(i.concat(o.sizingClasses(r)),[e],r),s=o.sizeMultiplier/r.sizeMultiplier;return a.height*=s,a.depth*=s,a.maxFontSize=o.sizeMultiplier,a},x$=function(e,n,r){var i=n.havingBaseStyle(r),o=(1-n.sizeMultiplier/i.sizeMultiplier)*n.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ue(o),e.height-=o,e.depth+=o},eye=function(e,n,r,i,o,a){var s=L.makeSymbol(e,"Main-Regular",o,i),l=hO(s,n,i,a);return r&&x$(l,i,n),l},tye=function(e,n,r,i){return L.makeSymbol(e,"Size"+n+"-Regular",r,i)},C$=function(e,n,r,i,o,a){var s=tye(e,n,o,i),l=hO(L.makeSpan(["delimsizing","size"+n],[s],i),Ge.TEXT,i,a);return r&&x$(l,i,Ge.TEXT),l},BI=function(e,n,r){var i;n==="Size1-Regular"?i="delim-size1":i="delim-size4";var o=L.makeSpan(["delimsizinginner",i],[L.makeSpan([],[L.makeSymbol(e,n,r)])]);return{type:"elem",elem:o}},VI=function(e,n,r){var i=ss["Size4-Regular"][e.charCodeAt(0)]?ss["Size4-Regular"][e.charCodeAt(0)][4]:ss["Size1-Regular"][e.charCodeAt(0)][4],o=new cs("inner",l0e(e,Math.round(1e3*n))),a=new xa([o],{width:ue(i),height:ue(n),style:"width:"+ue(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),s=L.makeSvgSpan([],[a],r);return s.height=n,s.style.height=ue(n),s.style.width=ue(i),{type:"elem",elem:s}},rO=.008,Gx={type:"kern",size:-1*rO},nye=["|","\\lvert","\\rvert","\\vert"],rye=["\\|","\\lVert","\\rVert","\\Vert"],D$=function(e,n,r,i,o,a){var s,l,c,d,u="",f=0;s=c=d=e,l=null;var p="Size1-Regular";e==="\\uparrow"?c=d="\u23D0":e==="\\Uparrow"?c=d="\u2016":e==="\\downarrow"?s=c="\u23D0":e==="\\Downarrow"?s=c="\u2016":e==="\\updownarrow"?(s="\\uparrow",c="\u23D0",d="\\downarrow"):e==="\\Updownarrow"?(s="\\Uparrow",c="\u2016",d="\\Downarrow"):at.contains(nye,e)?(c="\u2223",u="vert",f=333):at.contains(rye,e)?(c="\u2225",u="doublevert",f=556):e==="["||e==="\\lbrack"?(s="\u23A1",c="\u23A2",d="\u23A3",p="Size4-Regular",u="lbrack",f=667):e==="]"||e==="\\rbrack"?(s="\u23A4",c="\u23A5",d="\u23A6",p="Size4-Regular",u="rbrack",f=667):e==="\\lfloor"||e==="\u230A"?(c=s="\u23A2",d="\u23A3",p="Size4-Regular",u="lfloor",f=667):e==="\\lceil"||e==="\u2308"?(s="\u23A1",c=d="\u23A2",p="Size4-Regular",u="lceil",f=667):e==="\\rfloor"||e==="\u230B"?(c=s="\u23A5",d="\u23A6",p="Size4-Regular",u="rfloor",f=667):e==="\\rceil"||e==="\u2309"?(s="\u23A4",c=d="\u23A5",p="Size4-Regular",u="rceil",f=667):e==="("||e==="\\lparen"?(s="\u239B",c="\u239C",d="\u239D",p="Size4-Regular",u="lparen",f=875):e===")"||e==="\\rparen"?(s="\u239E",c="\u239F",d="\u23A0",p="Size4-Regular",u="rparen",f=875):e==="\\{"||e==="\\lbrace"?(s="\u23A7",l="\u23A8",d="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(s="\u23AB",l="\u23AC",d="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(s="\u23A7",d="\u23A9",c="\u23AA",p="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(s="\u23AB",d="\u23AD",c="\u23AA",p="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(s="\u23A7",d="\u23AD",c="\u23AA",p="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(s="\u23AB",d="\u23A9",c="\u23AA",p="Size4-Regular");var h=rb(s,p,o),g=h.height+h.depth,b=rb(c,p,o),_=b.height+b.depth,x=rb(d,p,o),E=x.height+x.depth,v=0,j=1;if(l!==null){var C=rb(l,p,o);v=C.height+C.depth,j=2}var P=g+E+v,z=Math.max(0,Math.ceil((n-P)/(j*_))),N=P+z*j*_,O=i.fontMetrics().axisHeight;r&&(O*=i.sizeMultiplier);var J=N/2-O,V=[];if(u.length>0){var Y=N-g-E,ie=Math.round(N*1e3),me=c0e(u,Math.round(Y*1e3)),W=new cs(u,me),X=(f/1e3).toFixed(3)+"em",te=(ie/1e3).toFixed(3)+"em",xe=new xa([W],{width:X,height:te,viewBox:"0 0 "+f+" "+ie}),S=L.makeSvgSpan([],[xe],i);S.height=ie/1e3,S.style.width=X,S.style.height=te,V.push({type:"elem",elem:S})}else{if(V.push(BI(d,p,o)),V.push(Gx),l===null){var Be=N-g-E+2*rO;V.push(VI(c,Be,i))}else{var Ie=(N-g-E-v)/2+2*rO;V.push(VI(c,Ie,i)),V.push(Gx),V.push(BI(l,p,o)),V.push(Gx),V.push(VI(c,Ie,i))}V.push(Gx),V.push(BI(s,p,o))}var I=i.havingBaseStyle(Ge.TEXT),Ye=L.makeVList({positionType:"bottom",positionData:J,children:V},I);return hO(L.makeSpan(["delimsizing","mult"],[Ye],I),Ge.TEXT,i,a)},UI=80,HI=.08,$I=function(e,n,r,i,o){var a=s0e(e,i,r),s=new cs(e,a),l=new xa([s],{width:"400em",height:ue(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return L.makeSvgSpan(["hide-tail"],[l],o)},iye=function(e,n){var r=n.havingBaseSizing(),i=T$("\\surd",e*r.sizeMultiplier,M$,r),o=r.sizeMultiplier,a=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),s,l=0,c=0,d=0,u;return i.type==="small"?(d=1e3+1e3*a+UI,e<1?o=1:e<1.4&&(o=.7),l=(1+a+HI)/o,c=(1+a)/o,s=$I("sqrtMain",l,d,a,n),s.style.minWidth="0.853em",u=.833/o):i.type==="large"?(d=(1e3+UI)*ib[i.size],c=(ib[i.size]+a)/o,l=(ib[i.size]+a+HI)/o,s=$I("sqrtSize"+i.size,l,d,a,n),s.style.minWidth="1.02em",u=1/o):(l=e+a+HI,c=e+a,d=Math.floor(1e3*e+a)+UI,s=$I("sqrtTall",l,d,a,n),s.style.minWidth="0.742em",u=1.056),s.height=c,s.style.height=ue(l),{span:s,advanceWidth:u,ruleWidth:(n.fontMetrics().sqrtRuleThickness+a)*o}},S$=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],oye=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],E$=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ib=[0,1.2,1.8,2.4,3],aye=function(e,n,r,i,o){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),at.contains(S$,e)||at.contains(E$,e))return C$(e,n,!1,r,i,o);if(at.contains(oye,e))return D$(e,ib[n],!1,r,i,o);throw new ae("Illegal delimiter: '"+e+"'")},sye=[{type:"small",style:Ge.SCRIPTSCRIPT},{type:"small",style:Ge.SCRIPT},{type:"small",style:Ge.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],lye=[{type:"small",style:Ge.SCRIPTSCRIPT},{type:"small",style:Ge.SCRIPT},{type:"small",style:Ge.TEXT},{type:"stack"}],M$=[{type:"small",style:Ge.SCRIPTSCRIPT},{type:"small",style:Ge.SCRIPT},{type:"small",style:Ge.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],cye=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},T$=function(e,n,r,i){for(var o=Math.min(2,3-i.style.size),a=o;a<r.length&&r[a].type!=="stack";a++){var s=rb(e,cye(r[a]),"math"),l=s.height+s.depth;if(r[a].type==="small"){var c=i.havingBaseStyle(r[a].style);l*=c.sizeMultiplier}if(l>n)return r[a]}return r[r.length-1]},A$=function(e,n,r,i,o,a){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var s;at.contains(E$,e)?s=sye:at.contains(S$,e)?s=M$:s=lye;var l=T$(e,n,s,i);return l.type==="small"?eye(e,l.style,r,i,o,a):l.type==="large"?C$(e,l.size,r,i,o,a):D$(e,n,r,i,o,a)},dye=function(e,n,r,i,o,a){var s=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,c=5/i.fontMetrics().ptPerEm,d=Math.max(n-s,r+s),u=Math.max(d/500*l,2*d-c);return A$(e,u,!0,i,o,a)},ml={sqrtImage:iye,sizedDelim:aye,sizeToMaxHeight:ib,customSizedDelim:A$,leftRightDelim:dye},NH={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},uye=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function sC(t,e){var n=oC(t);if(n&&at.contains(uye,n.text))return n;throw n?new ae("Invalid delimiter '"+n.text+"' after '"+e.funcName+"'",t):new ae("Invalid delimiter type '"+t.type+"'",t)}be({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(t,e)=>{var n=sC(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:NH[t.funcName].size,mclass:NH[t.funcName].mclass,delim:n.text}},htmlBuilder:(t,e)=>t.delim==="."?L.makeSpan([t.mclass]):ml.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push($o(t.delim,t.mode));var n=new ne.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=ue(ml.sizeToMaxHeight[t.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function RH(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}be({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=t.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new ae("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:sC(e[0],t).text,color:n}}});be({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=sC(e[0],t),r=t.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=xt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(t,e)=>{RH(t);for(var n=gr(t.body,e,!0,["mopen","mclose"]),r=0,i=0,o=!1,a=0;a<n.length;a++)n[a].isMiddle?o=!0:(r=Math.max(n[a].height,r),i=Math.max(n[a].depth,i));r*=e.sizeMultiplier,i*=e.sizeMultiplier;var s;if(t.left==="."?s=cb(e,["mopen"]):s=ml.leftRightDelim(t.left,r,i,e,t.mode,["mopen"]),n.unshift(s),o)for(var l=1;l<n.length;l++){var c=n[l],d=c.isMiddle;d&&(n[l]=ml.leftRightDelim(d.delim,r,i,d.options,t.mode,[]))}var u;if(t.right===".")u=cb(e,["mclose"]);else{var f=t.rightColor?e.withColor(t.rightColor):e;u=ml.leftRightDelim(t.right,r,i,f,t.mode,["mclose"])}return n.push(u),L.makeSpan(["minner"],n,e)},mathmlBuilder:(t,e)=>{RH(t);var n=Vi(t.body,e);if(t.left!=="."){var r=new ne.MathNode("mo",[$o(t.left,t.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(t.right!=="."){var i=new ne.MathNode("mo",[$o(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),n.push(i)}return dO(n)}});be({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var n=sC(e[0],t);if(!t.parser.leftrightDepth)throw new ae("\\middle without preceding \\left",n);return{type:"middle",mode:t.parser.mode,delim:n.text}},htmlBuilder:(t,e)=>{var n;if(t.delim===".")n=cb(e,[]);else{n=ml.sizedDelim(t.delim,1,e,t.mode,[]);var r={delim:t.delim,options:e};n.isMiddle=r}return n},mathmlBuilder:(t,e)=>{var n=t.delim==="\\vert"||t.delim==="|"?$o("|","text"):$o(t.delim,t.mode),r=new ne.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var mO=(t,e)=>{var n=L.wrapFragment($t(t.body,e),e),r=t.label.slice(1),i=e.sizeMultiplier,o,a=0,s=at.isCharacterBox(t.body);if(r==="sout")o=L.makeSpan(["stretchy","sout"]),o.height=e.fontMetrics().defaultRuleThickness/i,a=-.5*e.fontMetrics().xHeight;else if(r==="phase"){var l=Fn({number:.6,unit:"pt"},e),c=Fn({number:.35,unit:"ex"},e),d=e.havingBaseSizing();i=i/d.sizeMultiplier;var u=n.height+n.depth+l+c;n.style.paddingLeft=ue(u/2+l);var f=Math.floor(1e3*u*i),p=o0e(f),h=new xa([new cs("phase",p)],{width:"400em",height:ue(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});o=L.makeSvgSpan(["hide-tail"],[h],e),o.style.height=ue(u),a=n.depth+l+c}else{/cancel/.test(r)?s||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var g=0,b=0,_=0;/box/.test(r)?(_=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),g=e.fontMetrics().fboxsep+(r==="colorbox"?0:_),b=g):r==="angl"?(_=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),g=4*_,b=Math.max(0,.25-n.depth)):(g=s?.2:0,b=g),o=yl.encloseSpan(n,r,g,b,e),/fbox|boxed|fcolorbox/.test(r)?(o.style.borderStyle="solid",o.style.borderWidth=ue(_)):r==="angl"&&_!==.049&&(o.style.borderTopWidth=ue(_),o.style.borderRightWidth=ue(_)),a=n.depth+b,t.backgroundColor&&(o.style.backgroundColor=t.backgroundColor,t.borderColor&&(o.style.borderColor=t.borderColor))}var x;if(t.backgroundColor)x=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:a},{type:"elem",elem:n,shift:0}]},e);else{var E=/cancel|phase/.test(r)?["svg-align"]:[];x=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:o,shift:a,wrapperClasses:E}]},e)}return/cancel/.test(r)&&(x.height=n.height,x.depth=n.depth),/cancel/.test(r)&&!s?L.makeSpan(["mord","cancel-lap"],[x],e):L.makeSpan(["mord"],[x],e)},gO=(t,e)=>{var n=0,r=new ne.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[dn(t.body,e)]);switch(t.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);r.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&r.setAttribute("mathbackground",t.backgroundColor),r};be({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,n){var{parser:r,funcName:i}=t,o=xt(e[0],"color-token").color,a=e[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:mO,mathmlBuilder:gO});be({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,n){var{parser:r,funcName:i}=t,o=xt(e[0],"color-token").color,a=xt(e[1],"color-token").color,s=e[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:mO,mathmlBuilder:gO});be({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"enclose",mode:n.mode,label:"\\fbox",body:e[0]}}});be({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:mO,mathmlBuilder:gO});be({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:n}=t;return{type:"enclose",mode:n.mode,label:"\\angl",body:e[0]}}});var I$={};function ds(t){for(var{type:e,names:n,props:r,handler:i,htmlBuilder:o,mathmlBuilder:a}=t,s={type:e,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<n.length;++l)I$[n[l]]=s;o&&(Jx[e]=o),a&&(eC[e]=a)}var O$={};function k(t,e){O$[t]=e}function jH(t){var e=[];t.consumeSpaces();var n=t.fetch().text;for(n==="\\relax"&&(t.consume(),t.consumeSpaces(),n=t.fetch().text);n==="\\hline"||n==="\\hdashline";)t.consume(),e.push(n==="\\hdashline"),t.consumeSpaces(),n=t.fetch().text;return e}var lC=t=>{var e=t.parser.settings;if(!e.displayMode)throw new ae("{"+t.envName+"} can be used only in display mode.")};function yO(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function Rc(t,e,n){var{hskipBeforeAndAfter:r,addJot:i,cols:o,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:c,emptySingleRow:d,maxNumCols:u,leqno:f}=e;if(t.gullet.beginGroup(),c||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=t.gullet.expandMacroAsText("\\arraystretch");if(p==null)a=1;else if(a=parseFloat(p),!a||a<0)throw new ae("Invalid \\arraystretch: "+p)}t.gullet.beginGroup();var h=[],g=[h],b=[],_=[],x=l!=null?[]:void 0;function E(){l&&t.gullet.macros.set("\\@eqnsw","1",!0)}function v(){x&&(t.gullet.macros.get("\\df@tag")?(x.push(t.subparse([new ls("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):x.push(!!l&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(E(),_.push(jH(t));;){var j=t.parseExpression(!1,c?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),j={type:"ordgroup",mode:t.mode,body:j},n&&(j={type:"styling",mode:t.mode,style:n,body:[j]}),h.push(j);var C=t.fetch().text;if(C==="&"){if(u&&h.length===u){if(c||s)throw new ae("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(C==="\\end"){v(),h.length===1&&j.type==="styling"&&j.body[0].body.length===0&&(g.length>1||!d)&&g.pop(),_.length<g.length+1&&_.push([]);break}else if(C==="\\\\"){t.consume();var P=void 0;t.gullet.future().text!==" "&&(P=t.parseSizeGroup(!0)),b.push(P?P.value:null),v(),_.push(jH(t)),h=[],g.push(h),E()}else throw new ae("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:a,body:g,cols:o,rowGaps:b,hskipBeforeAndAfter:r,hLinesBeforeRow:_,colSeparationType:s,tags:x,leqno:f}}function bO(t){return t.slice(0,1)==="d"?"display":"text"}var us=function(e,n){var r,i,o=e.body.length,a=e.hLinesBeforeRow,s=0,l=new Array(o),c=[],d=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),u=1/n.fontMetrics().ptPerEm,f=5*u;if(e.colSeparationType&&e.colSeparationType==="small"){var p=n.havingStyle(Ge.SCRIPT).sizeMultiplier;f=.2778*(p/n.sizeMultiplier)}var h=e.colSeparationType==="CD"?Fn({number:3,unit:"ex"},n):12*u,g=3*u,b=e.arraystretch*h,_=.7*b,x=.3*b,E=0;function v(_o){for(var wo=0;wo<_o.length;++wo)wo>0&&(E+=.25),c.push({pos:E,isDashed:_o[wo]})}for(v(a[0]),r=0;r<e.body.length;++r){var j=e.body[r],C=_,P=x;s<j.length&&(s=j.length);var z=new Array(j.length);for(i=0;i<j.length;++i){var N=$t(j[i],n);P<N.depth&&(P=N.depth),C<N.height&&(C=N.height),z[i]=N}var O=e.rowGaps[r],J=0;O&&(J=Fn(O,n),J>0&&(J+=x,P<J&&(P=J),J=0)),e.addJot&&(P+=g),z.height=C,z.depth=P,E+=C,z.pos=E,E+=P+J,l[r]=z,v(a[r+1])}var V=E/2+n.fontMetrics().axisHeight,Y=e.cols||[],ie=[],me,W,X=[];if(e.tags&&e.tags.some(_o=>_o))for(r=0;r<o;++r){var te=l[r],xe=te.pos-V,S=e.tags[r],Be=void 0;S===!0?Be=L.makeSpan(["eqn-num"],[],n):S===!1?Be=L.makeSpan([],[],n):Be=L.makeSpan([],gr(S,n,!0),n),Be.depth=te.depth,Be.height=te.height,X.push({type:"elem",elem:Be,shift:xe})}for(i=0,W=0;i<s||W<Y.length;++i,++W){for(var Ie=Y[W]||{},I=!0;Ie.type==="separator";){if(I||(me=L.makeSpan(["arraycolsep"],[]),me.style.width=ue(n.fontMetrics().doubleRuleSep),ie.push(me)),Ie.separator==="|"||Ie.separator===":"){var Ye=Ie.separator==="|"?"solid":"dashed",Jt=L.makeSpan(["vertical-separator"],[],n);Jt.style.height=ue(E),Jt.style.borderRightWidth=ue(d),Jt.style.borderRightStyle=Ye,Jt.style.margin="0 "+ue(-d/2);var wr=E-V;wr&&(Jt.style.verticalAlign=ue(-wr)),ie.push(Jt)}else throw new ae("Invalid separator type: "+Ie.separator);W++,Ie=Y[W]||{},I=!1}if(!(i>=s)){var Nt=void 0;(i>0||e.hskipBeforeAndAfter)&&(Nt=at.deflt(Ie.pregap,f),Nt!==0&&(me=L.makeSpan(["arraycolsep"],[]),me.style.width=ue(Nt),ie.push(me)));var yt=[];for(r=0;r<o;++r){var Gt=l[r],en=Gt[i];if(en){var or=Gt.pos-V;en.depth=Gt.depth,en.height=Gt.height,yt.push({type:"elem",elem:en,shift:or})}}yt=L.makeVList({positionType:"individualShift",children:yt},n),yt=L.makeSpan(["col-align-"+(Ie.align||"c")],[yt]),ie.push(yt),(i<s-1||e.hskipBeforeAndAfter)&&(Nt=at.deflt(Ie.postgap,f),Nt!==0&&(me=L.makeSpan(["arraycolsep"],[]),me.style.width=ue(Nt),ie.push(me)))}}if(l=L.makeSpan(["mtable"],ie),c.length>0){for(var Zi=L.makeLineSpan("hline",n,d),Qo=L.makeLineSpan("hdashline",n,d),Jo=[{type:"elem",elem:l,shift:0}];c.length>0;){var Ia=c.pop(),ea=Ia.pos-V;Ia.isDashed?Jo.push({type:"elem",elem:Qo,shift:ea}):Jo.push({type:"elem",elem:Zi,shift:ea})}l=L.makeVList({positionType:"individualShift",children:Jo},n)}if(X.length===0)return L.makeSpan(["mord"],[l],n);var ta=L.makeVList({positionType:"individualShift",children:X},n);return ta=L.makeSpan(["tag"],[ta],n),L.makeFragment([l,ta])},fye={c:"center ",l:"left ",r:"right "},fs=function(e,n){for(var r=[],i=new ne.MathNode("mtd",[],["mtr-glue"]),o=new ne.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var s=e.body[a],l=[],c=0;c<s.length;c++)l.push(new ne.MathNode("mtd",[dn(s[c],n)]));e.tags&&e.tags[a]&&(l.unshift(i),l.push(i),e.leqno?l.unshift(o):l.push(o)),r.push(new ne.MathNode("mtr",l))}var d=new ne.MathNode("mtable",r),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);d.setAttribute("rowspacing",ue(u));var f="",p="";if(e.cols&&e.cols.length>0){var h=e.cols,g="",b=!1,_=0,x=h.length;h[0].type==="separator"&&(f+="top ",_=1),h[h.length-1].type==="separator"&&(f+="bottom ",x-=1);for(var E=_;E<x;E++)h[E].type==="align"?(p+=fye[h[E].align],b&&(g+="none "),b=!0):h[E].type==="separator"&&b&&(g+=h[E].separator==="|"?"solid ":"dashed ",b=!1);d.setAttribute("columnalign",p.trim()),/[sd]/.test(g)&&d.setAttribute("columnlines",g.trim())}if(e.colSeparationType==="align"){for(var v=e.cols||[],j="",C=1;C<v.length;C++)j+=C%2?"0em ":"1em ";d.setAttribute("columnspacing",j.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var P="",z=e.hLinesBeforeRow;f+=z[0].length>0?"left ":"",f+=z[z.length-1].length>0?"right ":"";for(var N=1;N<z.length-1;N++)P+=z[N].length===0?"none ":z[N][0]?"dashed ":"solid ";return/[sd]/.test(P)&&d.setAttribute("rowlines",P.trim()),f!==""&&(d=new ne.MathNode("menclose",[d]),d.setAttribute("notation",f.trim())),e.arraystretch&&e.arraystretch<1&&(d=new ne.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},P$=function(e,n){e.envName.indexOf("ed")===-1&&lC(e);var r=[],i=e.envName.indexOf("at")>-1?"alignat":"align",o=e.envName==="split",a=Rc(e.parser,{cols:r,addJot:!0,autoTag:o?void 0:yO(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),s,l=0,c={type:"ordgroup",mode:e.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var d="",u=0;u<n[0].body.length;u++){var f=xt(n[0].body[u],"textord");d+=f.text}s=Number(d),l=s*2}var p=!l;a.body.forEach(function(_){for(var x=1;x<_.length;x+=2){var E=xt(_[x],"styling"),v=xt(E.body[0],"ordgroup");v.body.unshift(c)}if(p)l<_.length&&(l=_.length);else{var j=_.length/2;if(s<j)throw new ae("Too many math in a row: "+("expected "+s+", but got "+j),_[0])}});for(var h=0;h<l;++h){var g="r",b=0;h%2===1?g="l":h>0&&p&&(b=1),r[h]={type:"align",align:g,pregap:b,postgap:0}}return a.colSeparationType=p?"align":"alignat",a};ds({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var n=oC(e[0]),r=n?[e[0]]:xt(e[0],"ordgroup").body,i=r.map(function(a){var s=fO(a),l=s.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new ae("Unknown column alignment: "+l,a)}),o={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Rc(t.parser,o,bO(t.envName))},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),n=i.fetch().text,"lcr".indexOf(n)===-1)throw new ae("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),r.cols=[{type:"align",align:n}]}}var o=Rc(t.parser,r,bO(t.envName)),a=Math.max(0,...o.body.map(s=>s.length));return o.cols=new Array(a).fill({type:"align",align:n}),e?{type:"leftright",mode:t.mode,body:[o],left:e[0],right:e[1],rightColor:void 0}:o},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},n=Rc(t.parser,e,"script");return n.colSeparationType="small",n},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var n=oC(e[0]),r=n?[e[0]]:xt(e[0],"ordgroup").body,i=r.map(function(a){var s=fO(a),l=s.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new ae("Unknown column alignment: "+l,a)});if(i.length>1)throw new ae("{subarray} can contain only one column");var o={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Rc(t.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new ae("{subarray} can contain only one column");return o},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=Rc(t.parser,e,bO(t.envName));return{type:"leftright",mode:t.mode,body:[n],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:P$,htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){at.contains(["gather","gather*"],t.envName)&&lC(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yO(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return Rc(t.parser,e,"display")},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:P$,htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){lC(t);var e={autoTag:yO(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return Rc(t.parser,e,"display")},htmlBuilder:us,mathmlBuilder:fs});ds({type:"array",names:["CD"],props:{numArgs:0},handler(t){return lC(t),Q0e(t.parser)},htmlBuilder:us,mathmlBuilder:fs});k("\\nonumber","\\gdef\\@eqnsw{0}");k("\\notag","\\nonumber");be({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new ae(t.funcName+" valid only within array environment")}});var zH=I$;be({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];if(i.type!=="ordgroup")throw new ae("Invalid environment name",i);for(var o="",a=0;a<i.body.length;++a)o+=xt(i.body[a],"textord").text;if(r==="\\begin"){if(!zH.hasOwnProperty(o))throw new ae("No such environment: "+o,i);var s=zH[o],{args:l,optArgs:c}=n.parseArguments("\\begin{"+o+"}",s),d={mode:n.mode,envName:o,parser:n},u=s.handler(d,l,c);n.expect("\\end",!1);var f=n.nextToken,p=xt(n.parseFunction(),"environment");if(p.name!==o)throw new ae("Mismatch: \\begin{"+o+"} matched by \\end{"+p.name+"}",f);return u}return{type:"environment",mode:n.mode,name:o,nameGroup:i}}});var F$=(t,e)=>{var n=t.font,r=e.withFont(n);return $t(t.body,r)},N$=(t,e)=>{var n=t.font,r=e.withFont(n);return dn(t.body,r)},LH={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};be({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=tC(e[0]),o=r;return o in LH&&(o=LH[o]),{type:"font",mode:n.mode,font:o.slice(1),body:i}},htmlBuilder:F$,mathmlBuilder:N$});be({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:n}=t,r=e[0],i=at.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:aC(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}});be({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r,breakOnTokenText:i}=t,{mode:o}=n,a=n.parseExpression(!0,i),s="math"+r.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:n.mode,body:a}}},htmlBuilder:F$,mathmlBuilder:N$});var R$=(t,e)=>{var n=e;return t==="display"?n=n.id>=Ge.SCRIPT.id?n.text():Ge.DISPLAY:t==="text"&&n.size===Ge.DISPLAY.size?n=Ge.TEXT:t==="script"?n=Ge.SCRIPT:t==="scriptscript"&&(n=Ge.SCRIPTSCRIPT),n},_O=(t,e)=>{var n=R$(t.size,e.style),r=n.fracNum(),i=n.fracDen(),o;o=e.havingStyle(r);var a=$t(t.numer,o,e);if(t.continued){var s=8.5/e.fontMetrics().ptPerEm,l=3.5/e.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}o=e.havingStyle(i);var c=$t(t.denom,o,e),d,u,f;t.hasBarLine?(t.barSize?(u=Fn(t.barSize,e),d=L.makeLineSpan("frac-line",e,u)):d=L.makeLineSpan("frac-line",e),u=d.height,f=d.height):(d=null,u=0,f=e.fontMetrics().defaultRuleThickness);var p,h,g;n.size===Ge.DISPLAY.size||t.size==="display"?(p=e.fontMetrics().num1,u>0?h=3*f:h=7*f,g=e.fontMetrics().denom1):(u>0?(p=e.fontMetrics().num2,h=f):(p=e.fontMetrics().num3,h=3*f),g=e.fontMetrics().denom2);var b;if(d){var x=e.fontMetrics().axisHeight;p-a.depth-(x+.5*u)<h&&(p+=h-(p-a.depth-(x+.5*u))),x-.5*u-(c.height-g)<h&&(g+=h-(x-.5*u-(c.height-g)));var E=-(x-.5*u);b=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:g},{type:"elem",elem:d,shift:E},{type:"elem",elem:a,shift:-p}]},e)}else{var _=p-a.depth-(c.height-g);_<h&&(p+=.5*(h-_),g+=.5*(h-_)),b=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:g},{type:"elem",elem:a,shift:-p}]},e)}o=e.havingStyle(n),b.height*=o.sizeMultiplier/e.sizeMultiplier,b.depth*=o.sizeMultiplier/e.sizeMultiplier;var v;n.size===Ge.DISPLAY.size?v=e.fontMetrics().delim1:n.size===Ge.SCRIPTSCRIPT.size?v=e.havingStyle(Ge.SCRIPT).fontMetrics().delim2:v=e.fontMetrics().delim2;var j,C;return t.leftDelim==null?j=cb(e,["mopen"]):j=ml.customSizedDelim(t.leftDelim,v,!0,e.havingStyle(n),t.mode,["mopen"]),t.continued?C=L.makeSpan([]):t.rightDelim==null?C=cb(e,["mclose"]):C=ml.customSizedDelim(t.rightDelim,v,!0,e.havingStyle(n),t.mode,["mclose"]),L.makeSpan(["mord"].concat(o.sizingClasses(e)),[j,L.makeSpan(["mfrac"],[b]),C],e)},wO=(t,e)=>{var n=new ne.MathNode("mfrac",[dn(t.numer,e),dn(t.denom,e)]);if(!t.hasBarLine)n.setAttribute("linethickness","0px");else if(t.barSize){var r=Fn(t.barSize,e);n.setAttribute("linethickness",ue(r))}var i=R$(t.size,e.style);if(i.size!==e.style.size){n=new ne.MathNode("mstyle",[n]);var o=i.size===Ge.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var s=new ne.MathNode("mo",[new ne.TextNode(t.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(n),t.rightDelim!=null){var l=new ne.MathNode("mo",[new ne.TextNode(t.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return dO(a)}return n};be({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],o=e[1],a,s=null,l=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,s="(",l=")";break;case"\\\\bracefrac":a=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":a=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:o,hasBarLine:a,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:_O,mathmlBuilder:wO});be({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],o=e[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});be({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:n,token:r}=t,i;switch(n){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:r}}});var BH=["display","text","script","scriptscript"],VH=function(e){var n=null;return e.length>0&&(n=e,n=n==="."?null:n),n};be({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:n}=t,r=e[4],i=e[5],o=tC(e[0]),a=o.type==="atom"&&o.family==="open"?VH(o.text):null,s=tC(e[1]),l=s.type==="atom"&&s.family==="close"?VH(s.text):null,c=xt(e[2],"size"),d,u=null;c.isBlank?d=!0:(u=c.value,d=u.number>0);var f="auto",p=e[3];if(p.type==="ordgroup"){if(p.body.length>0){var h=xt(p.body[0],"textord");f=BH[Number(h.text)]}}else p=xt(p,"textord"),f=BH[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:d,barSize:u,leftDelim:a,rightDelim:l,size:f}},htmlBuilder:_O,mathmlBuilder:wO});be({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:n,funcName:r,token:i}=t;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:xt(e[0],"size").value,token:i}}});be({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0],o=$ge(xt(e[1],"infix").size),a=e[2],s=o.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:s,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:_O,mathmlBuilder:wO});var j$=(t,e)=>{var n=e.style,r,i;t.type==="supsub"?(r=t.sup?$t(t.sup,e.havingStyle(n.sup()),e):$t(t.sub,e.havingStyle(n.sub()),e),i=xt(t.base,"horizBrace")):i=xt(t,"horizBrace");var o=$t(i.base,e.havingBaseStyle(Ge.DISPLAY)),a=yl.svgSpan(i,e),s;if(i.isOver?(s=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:a}]},e),s.children[0].children[0].children[1].classes.push("svg-align")):(s=L.makeVList({positionType:"bottom",positionData:o.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:o}]},e),s.children[0].children[0].children[0].classes.push("svg-align")),r){var l=L.makeSpan(["mord",i.isOver?"mover":"munder"],[s],e);i.isOver?s=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},e):s=L.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},e)}return L.makeSpan(["mord",i.isOver?"mover":"munder"],[s],e)},pye=(t,e)=>{var n=yl.mathMLnode(t.label);return new ne.MathNode(t.isOver?"mover":"munder",[dn(t.base,e),n])};be({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:n,funcName:r}=t;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:e[0]}},htmlBuilder:j$,mathmlBuilder:pye});be({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[1],i=xt(e[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Wn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var n=gr(t.body,e,!1);return L.makeAnchor(t.href,[],n,e)},mathmlBuilder:(t,e)=>{var n=Nc(t.body,e);return n instanceof Li||(n=new Li("mrow",[n])),n.setAttribute("href",t.href),n}});be({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=xt(e[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var i=[],o=0;o<r.length;o++){var a=r[o];a==="~"&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:Wn(s)}}});be({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:n}=t;return{type:"hbox",mode:n.mode,body:Wn(e[0])}},htmlBuilder(t,e){var n=gr(t.body,e,!1);return L.makeFragment(n)},mathmlBuilder(t,e){return new ne.MathNode("mrow",Vi(t.body,e))}});be({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r,token:i}=t,o=xt(e[0],"raw").string,a=e[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s,l={};switch(r){case"\\htmlClass":l.class=o,s={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,s={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,s={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),d=0;d<c.length;d++){var u=c[d].split("=");if(u.length!==2)throw new ae("Error parsing key-value for \\htmlData");l["data-"+u[0].trim()]=u[1].trim()}s={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(s)?{type:"html",mode:n.mode,attributes:l,body:Wn(a)}:n.formatUnsupportedCmd(r)},htmlBuilder:(t,e)=>{var n=gr(t.body,e,!1),r=["enclosing"];t.attributes.class&&r.push(...t.attributes.class.trim().split(/\s+/));var i=L.makeSpan(r,n,e);for(var o in t.attributes)o!=="class"&&t.attributes.hasOwnProperty(o)&&i.setAttribute(o,t.attributes[o]);return i},mathmlBuilder:(t,e)=>Nc(t.body,e)});be({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t;return{type:"htmlmathml",mode:n.mode,html:Wn(e[0]),mathml:Wn(e[1])}},htmlBuilder:(t,e)=>{var n=gr(t.html,e,!1);return L.makeFragment(n)},mathmlBuilder:(t,e)=>Nc(t.mathml,e)});var qI=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!n)throw new ae("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!n$(r))throw new ae("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};be({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,n)=>{var{parser:r}=t,i={number:0,unit:"em"},o={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(n[0])for(var l=xt(n[0],"raw").string,c=l.split(","),d=0;d<c.length;d++){var u=c[d].split("=");if(u.length===2){var f=u[1].trim();switch(u[0].trim()){case"alt":s=f;break;case"width":i=qI(f);break;case"height":o=qI(f);break;case"totalheight":a=qI(f);break;default:throw new ae("Invalid key: '"+u[0]+"' in \\includegraphics.")}}}var p=xt(e[0],"url").url;return s===""&&(s=p,s=s.replace(/^.*[\\/]/,""),s=s.substring(0,s.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:r.mode,alt:s,width:i,height:o,totalheight:a,src:p}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var n=Fn(t.height,e),r=0;t.totalheight.number>0&&(r=Fn(t.totalheight,e)-n);var i=0;t.width.number>0&&(i=Fn(t.width,e));var o={height:ue(n+r)};i>0&&(o.width=ue(i)),r>0&&(o.verticalAlign=ue(-r));var a=new XI(t.src,t.alt,o);return a.height=n,a.depth=r,a},mathmlBuilder:(t,e)=>{var n=new ne.MathNode("mglyph",[]);n.setAttribute("alt",t.alt);var r=Fn(t.height,e),i=0;if(t.totalheight.number>0&&(i=Fn(t.totalheight,e)-r,n.setAttribute("valign",ue(-i))),n.setAttribute("height",ue(r+i)),t.width.number>0){var o=Fn(t.width,e);n.setAttribute("width",ue(o))}return n.setAttribute("src",t.src),n}});be({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:n,funcName:r}=t,i=xt(e[0],"size");if(n.settings.strict){var o=r[1]==="m",a=i.value.unit==="mu";o?(a||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+i.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):a&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder(t,e){return L.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var n=Fn(t.dimension,e);return new ne.SpaceNode(n)}});be({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(t,e)=>{var n;t.alignment==="clap"?(n=L.makeSpan([],[$t(t.body,e)]),n=L.makeSpan(["inner"],[n],e)):n=L.makeSpan(["inner"],[$t(t.body,e)]);var r=L.makeSpan(["fix"],[]),i=L.makeSpan([t.alignment],[n,r],e),o=L.makeSpan(["strut"]);return o.style.height=ue(i.height+i.depth),i.depth&&(o.style.verticalAlign=ue(-i.depth)),i.children.unshift(o),i=L.makeSpan(["thinbox"],[i],e),L.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var n=new ne.MathNode("mpadded",[dn(t.body,e)]);if(t.alignment!=="rlap"){var r=t.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});be({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:n,parser:r}=t,i=r.mode;r.switchMode("math");var o=n==="\\("?"\\)":"$",a=r.parseExpression(!1,o);return r.expect(o),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:a}}});be({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new ae("Mismatched "+t.funcName)}});var UH=(t,e)=>{switch(e.style.size){case Ge.DISPLAY.size:return t.display;case Ge.TEXT.size:return t.text;case Ge.SCRIPT.size:return t.script;case Ge.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};be({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:n}=t;return{type:"mathchoice",mode:n.mode,display:Wn(e[0]),text:Wn(e[1]),script:Wn(e[2]),scriptscript:Wn(e[3])}},htmlBuilder:(t,e)=>{var n=UH(t,e),r=gr(n,e,!1);return L.makeFragment(r)},mathmlBuilder:(t,e)=>{var n=UH(t,e);return Nc(n,e)}});var z$=(t,e,n,r,i,o,a)=>{t=L.makeSpan([],[t]);var s=n&&at.isCharacterBox(n),l,c;if(e){var d=$t(e,r.havingStyle(i.sup()),r);c={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var u=$t(n,r.havingStyle(i.sub()),r);l={elem:u,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-u.height)}}var f;if(c&&l){var p=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+t.depth+a;f=L.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ue(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:ue(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var h=t.height-a;f=L.makeVList({positionType:"top",positionData:h,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ue(-o)},{type:"kern",size:l.kern},{type:"elem",elem:t}]},r)}else if(c){var g=t.depth+a;f=L.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:t},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:ue(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return t;var b=[f];if(l&&o!==0&&!s){var _=L.makeSpan(["mspace"],[],r);_.style.marginRight=ue(o),b.unshift(_)}return L.makeSpan(["mop","op-limits"],b,r)},L$=["\\smallint"],Hh=(t,e)=>{var n,r,i=!1,o;t.type==="supsub"?(n=t.sup,r=t.sub,o=xt(t.base,"op"),i=!0):o=xt(t,"op");var a=e.style,s=!1;a.size===Ge.DISPLAY.size&&o.symbol&&!at.contains(L$,o.name)&&(s=!0);var l;if(o.symbol){var c=s?"Size2-Regular":"Size1-Regular",d="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(d=o.name.slice(1),o.name=d==="oiint"?"\\iint":"\\iiint"),l=L.makeSymbol(o.name,c,"math",e,["mop","op-symbol",s?"large-op":"small-op"]),d.length>0){var u=l.italic,f=L.staticSvg(d+"Size"+(s?"2":"1"),e);l=L.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:f,shift:s?.08:0}]},e),o.name="\\"+d,l.classes.unshift("mop"),l.italic=u}}else if(o.body){var p=gr(o.body,e,!0);p.length===1&&p[0]instanceof Bi?(l=p[0],l.classes[0]="mop"):l=L.makeSpan(["mop"],p,e)}else{for(var h=[],g=1;g<o.name.length;g++)h.push(L.mathsym(o.name[g],o.mode,e));l=L.makeSpan(["mop"],h,e)}var b=0,_=0;return(l instanceof Bi||o.name==="\\oiint"||o.name==="\\oiiint")&&!o.suppressBaseShift&&(b=(l.height-l.depth)/2-e.fontMetrics().axisHeight,_=l.italic),i?z$(l,n,r,e,a,_,b):(b&&(l.style.position="relative",l.style.top=ue(b)),l)},db=(t,e)=>{var n;if(t.symbol)n=new Li("mo",[$o(t.name,t.mode)]),at.contains(L$,t.name)&&n.setAttribute("largeop","false");else if(t.body)n=new Li("mo",Vi(t.body,e));else{n=new Li("mi",[new Xu(t.name.slice(1))]);var r=new Li("mo",[$o("\u2061","text")]);t.parentIsSupSub?n=new Li("mrow",[n,r]):n=p$([n,r])}return n},hye={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};be({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=r;return i.length===1&&(i=hye[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Hh,mathmlBuilder:db});be({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Wn(r)}},htmlBuilder:Hh,mathmlBuilder:db});var mye={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};be({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hh,mathmlBuilder:db});be({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Hh,mathmlBuilder:db});be({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(t){var{parser:e,funcName:n}=t,r=n;return r.length===1&&(r=mye[r]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Hh,mathmlBuilder:db});var B$=(t,e)=>{var n,r,i=!1,o;t.type==="supsub"?(n=t.sup,r=t.sub,o=xt(t.base,"operatorname"),i=!0):o=xt(t,"operatorname");var a;if(o.body.length>0){for(var s=o.body.map(u=>{var f=u.text;return typeof f=="string"?{type:"textord",mode:u.mode,text:f}:u}),l=gr(s,e.withFont("mathrm"),!0),c=0;c<l.length;c++){var d=l[c];d instanceof Bi&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=L.makeSpan(["mop"],l,e)}else a=L.makeSpan(["mop"],[],e);return i?z$(a,n,r,e,e.style,0,0):a},gye=(t,e)=>{for(var n=Vi(t.body,e.withFont("mathrm")),r=!0,i=0;i<n.length;i++){var o=n[i];if(!(o instanceof ne.SpaceNode))if(o instanceof ne.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=o.children[0];o.children.length===1&&a instanceof ne.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var s=n.map(d=>d.toText()).join("");n=[new ne.TextNode(s)]}var l=new ne.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new ne.MathNode("mo",[$o("\u2061","text")]);return t.parentIsSupSub?new ne.MathNode("mrow",[l,c]):ne.newDocumentFragment([l,c])};be({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:n,funcName:r}=t,i=e[0];return{type:"operatorname",mode:n.mode,body:Wn(i),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:B$,mathmlBuilder:gye});k("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ef({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?L.makeFragment(gr(t.body,e,!1)):L.makeSpan(["mord"],gr(t.body,e,!0),e)},mathmlBuilder(t,e){return Nc(t.body,e,!0)}});be({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:n}=t,r=e[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(t,e){var n=$t(t.body,e.havingCrampedStyle()),r=L.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,o=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},e);return L.makeSpan(["mord","overline"],[o],e)},mathmlBuilder(t,e){var n=new ne.MathNode("mo",[new ne.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new ne.MathNode("mover",[dn(t.body,e),n]);return r.setAttribute("accent","true"),r}});be({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"phantom",mode:n.mode,body:Wn(r)}},htmlBuilder:(t,e)=>{var n=gr(t.body,e.withPhantom(),!1);return L.makeFragment(n)},mathmlBuilder:(t,e)=>{var n=Vi(t.body,e);return new ne.MathNode("mphantom",n)}});be({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(t,e)=>{var n=L.makeSpan([],[$t(t.body,e.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e),L.makeSpan(["mord"],[n],e)},mathmlBuilder:(t,e)=>{var n=Vi(Wn(t.body),e),r=new ne.MathNode("mphantom",n),i=new ne.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});be({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:n}=t,r=e[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(t,e)=>{var n=L.makeSpan(["inner"],[$t(t.body,e.withPhantom())]),r=L.makeSpan(["fix"],[]);return L.makeSpan(["mord","rlap"],[n,r],e)},mathmlBuilder:(t,e)=>{var n=Vi(Wn(t.body),e),r=new ne.MathNode("mphantom",n),i=new ne.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}});be({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:n}=t,r=xt(e[0],"size").value,i=e[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(t,e){var n=$t(t.body,e),r=Fn(t.dy,e);return L.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(t,e){var n=new ne.MathNode("mpadded",[dn(t.body,e)]),r=t.dy.number+t.dy.unit;return n.setAttribute("voffset",r),n}});be({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});be({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,n){var{parser:r}=t,i=n[0],o=xt(e[0],"size"),a=xt(e[1],"size");return{type:"rule",mode:r.mode,shift:i&&xt(i,"size").value,width:o.value,height:a.value}},htmlBuilder(t,e){var n=L.makeSpan(["mord","rule"],[],e),r=Fn(t.width,e),i=Fn(t.height,e),o=t.shift?Fn(t.shift,e):0;return n.style.borderRightWidth=ue(r),n.style.borderTopWidth=ue(i),n.style.bottom=ue(o),n.width=r,n.height=i+o,n.depth=-o,n.maxFontSize=i*1.125*e.sizeMultiplier,n},mathmlBuilder(t,e){var n=Fn(t.width,e),r=Fn(t.height,e),i=t.shift?Fn(t.shift,e):0,o=e.color&&e.getColor()||"black",a=new ne.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",ue(n)),a.setAttribute("height",ue(r));var s=new ne.MathNode("mpadded",[a]);return i>=0?s.setAttribute("height",ue(i)):(s.setAttribute("height",ue(i)),s.setAttribute("depth",ue(-i))),s.setAttribute("voffset",ue(i)),s}});function V$(t,e,n){for(var r=gr(t,e,!1),i=e.sizeMultiplier/n.sizeMultiplier,o=0;o<r.length;o++){var a=r[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(r[o].classes,e.sizingClasses(n)):r[o].classes[a+1]==="reset-size"+e.size&&(r[o].classes[a+1]="reset-size"+n.size),r[o].height*=i,r[o].depth*=i}return L.makeFragment(r)}var HH=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],yye=(t,e)=>{var n=e.havingSize(t.size);return V$(t.body,n,e)};be({type:"sizing",names:HH,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:n,funcName:r,parser:i}=t,o=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:HH.indexOf(r)+1,body:o}},htmlBuilder:yye,mathmlBuilder:(t,e)=>{var n=e.havingSize(t.size),r=Vi(t.body,n),i=new ne.MathNode("mstyle",r);return i.setAttribute("mathsize",ue(n.sizeMultiplier)),i}});be({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,n)=>{var{parser:r}=t,i=!1,o=!1,a=n[0]&&xt(n[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){var c=a.body[l];if(s=c.text,s==="t")i=!0;else if(s==="b")o=!0;else{i=!1,o=!1;break}}else i=!0,o=!0;var d=e[0];return{type:"smash",mode:r.mode,body:d,smashHeight:i,smashDepth:o}},htmlBuilder:(t,e)=>{var n=L.makeSpan([],[$t(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return n;if(t.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(t.smashDepth&&(n.depth=0,n.children))for(var i=0;i<n.children.length;i++)n.children[i].depth=0;var o=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},e);return L.makeSpan(["mord"],[o],e)},mathmlBuilder:(t,e)=>{var n=new ne.MathNode("mpadded",[dn(t.body,e)]);return t.smashHeight&&n.setAttribute("height","0px"),t.smashDepth&&n.setAttribute("depth","0px"),n}});be({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,n){var{parser:r}=t,i=n[0],o=e[0];return{type:"sqrt",mode:r.mode,body:o,index:i}},htmlBuilder(t,e){var n=$t(t.body,e.havingCrampedStyle());n.height===0&&(n.height=e.fontMetrics().xHeight),n=L.wrapFragment(n,e);var r=e.fontMetrics(),i=r.defaultRuleThickness,o=i;e.style.id<Ge.TEXT.id&&(o=e.fontMetrics().xHeight);var a=i+o/4,s=n.height+n.depth+a+i,{span:l,ruleWidth:c,advanceWidth:d}=ml.sqrtImage(s,e),u=l.height-c;u>n.height+n.depth+a&&(a=(a+u-n.height-n.depth)/2);var f=l.height-n.height-a-c;n.style.paddingLeft=ue(d);var p=L.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+f)},{type:"elem",elem:l},{type:"kern",size:c}]},e);if(t.index){var h=e.havingStyle(Ge.SCRIPTSCRIPT),g=$t(t.index,h,e),b=.6*(p.height-p.depth),_=L.makeVList({positionType:"shift",positionData:-b,children:[{type:"elem",elem:g}]},e),x=L.makeSpan(["root"],[_]);return L.makeSpan(["mord","sqrt"],[x,p],e)}else return L.makeSpan(["mord","sqrt"],[p],e)},mathmlBuilder(t,e){var{body:n,index:r}=t;return r?new ne.MathNode("mroot",[dn(n,e),dn(r,e)]):new ne.MathNode("msqrt",[dn(n,e)])}});var $H={display:Ge.DISPLAY,text:Ge.TEXT,script:Ge.SCRIPT,scriptscript:Ge.SCRIPTSCRIPT};be({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:n,funcName:r,parser:i}=t,o=i.parseExpression(!0,n),a=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder(t,e){var n=$H[t.style],r=e.havingStyle(n).withFont("");return V$(t.body,r,e)},mathmlBuilder(t,e){var n=$H[t.style],r=e.havingStyle(n),i=Vi(t.body,r),o=new ne.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[t.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var bye=function(e,n){var r=e.base;if(r)if(r.type==="op"){var i=r.limits&&(n.style.size===Ge.DISPLAY.size||r.alwaysHandleSupSub);return i?Hh:null}else if(r.type==="operatorname"){var o=r.alwaysHandleSupSub&&(n.style.size===Ge.DISPLAY.size||r.limits);return o?B$:null}else{if(r.type==="accent")return at.isCharacterBox(r.base)?pO:null;if(r.type==="horizBrace"){var a=!e.sub;return a===r.isOver?j$:null}else return null}else return null};ef({type:"supsub",htmlBuilder(t,e){var n=bye(t,e);if(n)return n(t,e);var{base:r,sup:i,sub:o}=t,a=$t(r,e),s,l,c=e.fontMetrics(),d=0,u=0,f=r&&at.isCharacterBox(r);if(i){var p=e.havingStyle(e.style.sup());s=$t(i,p,e),f||(d=a.height-p.fontMetrics().supDrop*p.sizeMultiplier/e.sizeMultiplier)}if(o){var h=e.havingStyle(e.style.sub());l=$t(o,h,e),f||(u=a.depth+h.fontMetrics().subDrop*h.sizeMultiplier/e.sizeMultiplier)}var g;e.style===Ge.DISPLAY?g=c.sup1:e.style.cramped?g=c.sup3:g=c.sup2;var b=e.sizeMultiplier,_=ue(.5/c.ptPerEm/b),x=null;if(l){var E=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof Bi||E)&&(x=ue(-a.italic))}var v;if(s&&l){d=Math.max(d,g,s.depth+.25*c.xHeight),u=Math.max(u,c.sub2);var j=c.defaultRuleThickness,C=4*j;if(d-s.depth-(l.height-u)<C){u=C-(d-s.depth)+l.height;var P=.8*c.xHeight-(d-s.depth);P>0&&(d+=P,u-=P)}var z=[{type:"elem",elem:l,shift:u,marginRight:_,marginLeft:x},{type:"elem",elem:s,shift:-d,marginRight:_}];v=L.makeVList({positionType:"individualShift",children:z},e)}else if(l){u=Math.max(u,c.sub1,l.height-.8*c.xHeight);var N=[{type:"elem",elem:l,marginLeft:x,marginRight:_}];v=L.makeVList({positionType:"shift",positionData:u,children:N},e)}else if(s)d=Math.max(d,g,s.depth+.25*c.xHeight),v=L.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:s,marginRight:_}]},e);else throw new Error("supsub must have either sup or sub.");var O=JI(a,"right")||"mord";return L.makeSpan([O],[a,L.makeSpan(["msupsub"],[v])],e)},mathmlBuilder(t,e){var n=!1,r,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(n=!0,r=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var o=[dn(t.base,e)];t.sub&&o.push(dn(t.sub,e)),t.sup&&o.push(dn(t.sup,e));var a;if(n)a=r?"mover":"munder";else if(t.sub)if(t.sup){var c=t.base;c&&c.type==="op"&&c.limits&&e.style===Ge.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(e.style===Ge.DISPLAY||c.limits)?a="munderover":a="msubsup"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===Ge.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===Ge.DISPLAY)?a="munder":a="msub"}else{var s=t.base;s&&s.type==="op"&&s.limits&&(e.style===Ge.DISPLAY||s.alwaysHandleSupSub)||s&&s.type==="operatorname"&&s.alwaysHandleSupSub&&(s.limits||e.style===Ge.DISPLAY)?a="mover":a="msup"}return new ne.MathNode(a,o)}});ef({type:"atom",htmlBuilder(t,e){return L.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var n=new ne.MathNode("mo",[$o(t.text,t.mode)]);if(t.family==="bin"){var r=uO(t,e);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else t.family==="punct"?n.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&n.setAttribute("stretchy","false");return n}});var U$={mi:"italic",mn:"normal",mtext:"normal"};ef({type:"mathord",htmlBuilder(t,e){return L.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var n=new ne.MathNode("mi",[$o(t.text,t.mode,e)]),r=uO(t,e)||"italic";return r!==U$[n.type]&&n.setAttribute("mathvariant",r),n}});ef({type:"textord",htmlBuilder(t,e){return L.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var n=$o(t.text,t.mode,e),r=uO(t,e)||"normal",i;return t.mode==="text"?i=new ne.MathNode("mtext",[n]):/[0-9]/.test(t.text)?i=new ne.MathNode("mn",[n]):t.text==="\\prime"?i=new ne.MathNode("mo",[n]):i=new ne.MathNode("mi",[n]),r!==U$[i.type]&&i.setAttribute("mathvariant",r),i}});var WI={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},GI={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ef({type:"spacing",htmlBuilder(t,e){if(GI.hasOwnProperty(t.text)){var n=GI[t.text].className||"";if(t.mode==="text"){var r=L.makeOrd(t,e,"textord");return r.classes.push(n),r}else return L.makeSpan(["mspace",n],[L.mathsym(t.text,t.mode,e)],e)}else{if(WI.hasOwnProperty(t.text))return L.makeSpan(["mspace",WI[t.text]],[],e);throw new ae('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var n;if(GI.hasOwnProperty(t.text))n=new ne.MathNode("mtext",[new ne.TextNode("\xA0")]);else{if(WI.hasOwnProperty(t.text))return new ne.MathNode("mspace");throw new ae('Unknown type of space "'+t.text+'"')}return n}});var qH=()=>{var t=new ne.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};ef({type:"tag",mathmlBuilder(t,e){var n=new ne.MathNode("mtable",[new ne.MathNode("mtr",[qH(),new ne.MathNode("mtd",[Nc(t.body,e)]),qH(),new ne.MathNode("mtd",[Nc(t.tag,e)])])]);return n.setAttribute("width","100%"),n}});var WH={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},GH={"\\textbf":"textbf","\\textmd":"textmd"},_ye={"\\textit":"textit","\\textup":"textup"},YH=(t,e)=>{var n=t.font;return n?WH[n]?e.withTextFontFamily(WH[n]):GH[n]?e.withTextFontWeight(GH[n]):e.withTextFontShape(_ye[n]):e};be({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:n,funcName:r}=t,i=e[0];return{type:"text",mode:n.mode,body:Wn(i),font:r}},htmlBuilder(t,e){var n=YH(t,e),r=gr(t.body,n,!0);return L.makeSpan(["mord","text"],r,n)},mathmlBuilder(t,e){var n=YH(t,e);return Nc(t.body,n)}});be({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:n}=t;return{type:"underline",mode:n.mode,body:e[0]}},htmlBuilder(t,e){var n=$t(t.body,e),r=L.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,o=L.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},e);return L.makeSpan(["mord","underline"],[o],e)},mathmlBuilder(t,e){var n=new ne.MathNode("mo",[new ne.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new ne.MathNode("munder",[dn(t.body,e),n]);return r.setAttribute("accentunder","true"),r}});be({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:n}=t;return{type:"vcenter",mode:n.mode,body:e[0]}},htmlBuilder(t,e){var n=$t(t.body,e),r=e.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return L.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},e)},mathmlBuilder(t,e){return new ne.MathNode("mpadded",[dn(t.body,e)],["vcenter"])}});be({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,n){throw new ae("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var n=KH(t),r=[],i=e.havingStyle(e.style.text()),o=0;o<n.length;o++){var a=n[o];a==="~"&&(a="\\textasciitilde"),r.push(L.makeSymbol(a,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return L.makeSpan(["mord","text"].concat(i.sizingClasses(e)),L.tryCombineChars(r),i)},mathmlBuilder(t,e){var n=new ne.TextNode(KH(t)),r=new ne.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var KH=t=>t.body.replace(/ /g,t.star?"\u2423":"\xA0"),Pc=u$,H$=`[ \r + ]`,wye="\\\\[a-zA-Z@]+",vye="\\\\[^\uD800-\uDFFF]",kye="("+wye+")"+H$+"*",xye=`\\\\( |[ \r ]+ -?)[ \r ]*`,JI="[\u0300-\u036F]",gye=new RegExp(JI+"+$"),yye="("+R$+"+)|"+(mye+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(JI+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(JI+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+pye)+("|"+hye+")"),Yx=class{constructor(e,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=n,this.tokenRegex=new RegExp(yye,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,n){this.catcodes[e]=n}lex(){var e=this.input,n=this.tokenRegex.lastIndex;if(n===e.length)return new cs("EOF",new lo(this,n,n));var r=this.tokenRegex.exec(e);if(r===null||r.index!==n)throw new oe("Unexpected character: '"+e[n]+"'",new cs(e[n],new lo(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var o=e.indexOf(` -`,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new cs(i,new lo(this,n,this.tokenRegex.lastIndex))}},eO=class{constructor(e,n){e===void 0&&(e={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new oe("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var n in e)e.hasOwnProperty(n)&&(e[n]==null?delete this.current[n]:this.current[n]=e[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=n)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}n==null?delete this.current[e]:this.current[e]=n}},bye=D$;k("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});k("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});k("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});k("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});k("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var n=t.future();return e[0].length===1&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});k("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");k("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var HH={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};k("\\char",function(t){var e=t.popToken(),n,r="";if(e.text==="'")n=8,e=t.popToken();else if(e.text==='"')n=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")r=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new oe("\\char` missing argument");r=e.text.charCodeAt(0)}else n=10;if(n){if(r=HH[e.text],r==null||r>=n)throw new oe("Invalid base-"+n+" digit "+e.text);for(var i;(i=HH[t.future().text])!=null&&i<n;)r*=n,r+=i,t.popToken()}return"\\@char{"+r+"}"});var gO=(t,e,n)=>{var r=t.consumeArg().tokens;if(r.length!==1)throw new oe("\\newcommand's first argument must be a macro name");var i=r[0].text,o=t.isDefined(i);if(o&&!e)throw new oe("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!n)throw new oe("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var a=0;if(r=t.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var s="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new oe("Invalid number of arguments: "+s);a=parseInt(s),r=t.consumeArg().tokens}return t.macros.set(i,{tokens:r,numArgs:a}),""};k("\\newcommand",t=>gO(t,!1,!0));k("\\renewcommand",t=>gO(t,!0,!1));k("\\providecommand",t=>gO(t,!0,!0));k("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(n=>n.text).join("")),""});k("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(n=>n.text).join("")),""});k("\\show",t=>{var e=t.popToken(),n=e.text;return console.log(e,t.macros.get(n),Fc[n],gn.math[n],gn.text[n]),""});k("\\bgroup","{");k("\\egroup","}");k("~","\\nobreakspace");k("\\lq","`");k("\\rq","'");k("\\aa","\\r a");k("\\AA","\\r A");k("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");k("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");k("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");k("\u212C","\\mathscr{B}");k("\u2130","\\mathscr{E}");k("\u2131","\\mathscr{F}");k("\u210B","\\mathscr{H}");k("\u2110","\\mathscr{I}");k("\u2112","\\mathscr{L}");k("\u2133","\\mathscr{M}");k("\u211B","\\mathscr{R}");k("\u212D","\\mathfrak{C}");k("\u210C","\\mathfrak{H}");k("\u2128","\\mathfrak{Z}");k("\\Bbbk","\\Bbb{k}");k("\xB7","\\cdotp");k("\\llap","\\mathllap{\\textrm{#1}}");k("\\rlap","\\mathrlap{\\textrm{#1}}");k("\\clap","\\mathclap{\\textrm{#1}}");k("\\mathstrut","\\vphantom{(}");k("\\underbar","\\underline{\\text{#1}}");k("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');k("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");k("\\ne","\\neq");k("\u2260","\\neq");k("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");k("\u2209","\\notin");k("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");k("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");k("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");k("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");k("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");k("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");k("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");k("\u27C2","\\perp");k("\u203C","\\mathclose{!\\mkern-0.8mu!}");k("\u220C","\\notni");k("\u231C","\\ulcorner");k("\u231D","\\urcorner");k("\u231E","\\llcorner");k("\u231F","\\lrcorner");k("\xA9","\\copyright");k("\xAE","\\textregistered");k("\uFE0F","\\textregistered");k("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');k("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');k("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');k("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');k("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");k("\u22EE","\\vdots");k("\\varGamma","\\mathit{\\Gamma}");k("\\varDelta","\\mathit{\\Delta}");k("\\varTheta","\\mathit{\\Theta}");k("\\varLambda","\\mathit{\\Lambda}");k("\\varXi","\\mathit{\\Xi}");k("\\varPi","\\mathit{\\Pi}");k("\\varSigma","\\mathit{\\Sigma}");k("\\varUpsilon","\\mathit{\\Upsilon}");k("\\varPhi","\\mathit{\\Phi}");k("\\varPsi","\\mathit{\\Psi}");k("\\varOmega","\\mathit{\\Omega}");k("\\substack","\\begin{subarray}{c}#1\\end{subarray}");k("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");k("\\boxed","\\fbox{$\\displaystyle{#1}$}");k("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");k("\\implies","\\DOTSB\\;\\Longrightarrow\\;");k("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var $H={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};k("\\dots",function(t){var e="\\dotso",n=t.expandAfterFuture().text;return n in $H?e=$H[n]:(n.slice(0,4)==="\\not"||n in gn.math&&it.contains(["bin","rel"],gn.math[n].group))&&(e="\\dotsb"),e});var yO={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};k("\\dotso",function(t){var e=t.future().text;return e in yO?"\\ldots\\,":"\\ldots"});k("\\dotsc",function(t){var e=t.future().text;return e in yO&&e!==","?"\\ldots\\,":"\\ldots"});k("\\cdots",function(t){var e=t.future().text;return e in yO?"\\@cdots\\,":"\\@cdots"});k("\\dotsb","\\cdots");k("\\dotsm","\\cdots");k("\\dotsi","\\!\\cdots");k("\\dotsx","\\ldots\\,");k("\\DOTSI","\\relax");k("\\DOTSB","\\relax");k("\\DOTSX","\\relax");k("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");k("\\,","\\tmspace+{3mu}{.1667em}");k("\\thinspace","\\,");k("\\>","\\mskip{4mu}");k("\\:","\\tmspace+{4mu}{.2222em}");k("\\medspace","\\:");k("\\;","\\tmspace+{5mu}{.2777em}");k("\\thickspace","\\;");k("\\!","\\tmspace-{3mu}{.1667em}");k("\\negthinspace","\\!");k("\\negmedspace","\\tmspace-{4mu}{.2222em}");k("\\negthickspace","\\tmspace-{5mu}{.277em}");k("\\enspace","\\kern.5em ");k("\\enskip","\\hskip.5em\\relax");k("\\quad","\\hskip1em\\relax");k("\\qquad","\\hskip2em\\relax");k("\\tag","\\@ifstar\\tag@literal\\tag@paren");k("\\tag@paren","\\tag@literal{({#1})}");k("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new oe("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});k("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");k("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");k("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");k("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");k("\\newline","\\\\\\relax");k("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var j$=ue(ls["Main-Regular"]["T".charCodeAt(0)][1]-.7*ls["Main-Regular"]["A".charCodeAt(0)][1]);k("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+j$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");k("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+j$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");k("\\hspace","\\@ifstar\\@hspacer\\@hspace");k("\\@hspace","\\hskip #1\\relax");k("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");k("\\ordinarycolon",":");k("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");k("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');k("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');k("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');k("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');k("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');k("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');k("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');k("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');k("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');k("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');k("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');k("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');k("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');k("\u2237","\\dblcolon");k("\u2239","\\eqcolon");k("\u2254","\\coloneqq");k("\u2255","\\eqqcolon");k("\u2A74","\\Coloneqq");k("\\ratio","\\vcentcolon");k("\\coloncolon","\\dblcolon");k("\\colonequals","\\coloneqq");k("\\coloncolonequals","\\Coloneqq");k("\\equalscolon","\\eqqcolon");k("\\equalscoloncolon","\\Eqqcolon");k("\\colonminus","\\coloneq");k("\\coloncolonminus","\\Coloneq");k("\\minuscolon","\\eqcolon");k("\\minuscoloncolon","\\Eqcolon");k("\\coloncolonapprox","\\Colonapprox");k("\\coloncolonsim","\\Colonsim");k("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");k("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");k("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");k("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");k("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");k("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");k("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");k("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");k("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");k("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");k("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");k("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");k("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");k("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");k("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");k("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");k("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");k("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");k("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");k("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");k("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");k("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");k("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");k("\\imath","\\html@mathml{\\@imath}{\u0131}");k("\\jmath","\\html@mathml{\\@jmath}{\u0237}");k("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");k("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");k("\u27E6","\\llbracket");k("\u27E7","\\rrbracket");k("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");k("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");k("\u2983","\\lBrace");k("\u2984","\\rBrace");k("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");k("\u29B5","\\minuso");k("\\darr","\\downarrow");k("\\dArr","\\Downarrow");k("\\Darr","\\Downarrow");k("\\lang","\\langle");k("\\rang","\\rangle");k("\\uarr","\\uparrow");k("\\uArr","\\Uparrow");k("\\Uarr","\\Uparrow");k("\\N","\\mathbb{N}");k("\\R","\\mathbb{R}");k("\\Z","\\mathbb{Z}");k("\\alef","\\aleph");k("\\alefsym","\\aleph");k("\\Alpha","\\mathrm{A}");k("\\Beta","\\mathrm{B}");k("\\bull","\\bullet");k("\\Chi","\\mathrm{X}");k("\\clubs","\\clubsuit");k("\\cnums","\\mathbb{C}");k("\\Complex","\\mathbb{C}");k("\\Dagger","\\ddagger");k("\\diamonds","\\diamondsuit");k("\\empty","\\emptyset");k("\\Epsilon","\\mathrm{E}");k("\\Eta","\\mathrm{H}");k("\\exist","\\exists");k("\\harr","\\leftrightarrow");k("\\hArr","\\Leftrightarrow");k("\\Harr","\\Leftrightarrow");k("\\hearts","\\heartsuit");k("\\image","\\Im");k("\\infin","\\infty");k("\\Iota","\\mathrm{I}");k("\\isin","\\in");k("\\Kappa","\\mathrm{K}");k("\\larr","\\leftarrow");k("\\lArr","\\Leftarrow");k("\\Larr","\\Leftarrow");k("\\lrarr","\\leftrightarrow");k("\\lrArr","\\Leftrightarrow");k("\\Lrarr","\\Leftrightarrow");k("\\Mu","\\mathrm{M}");k("\\natnums","\\mathbb{N}");k("\\Nu","\\mathrm{N}");k("\\Omicron","\\mathrm{O}");k("\\plusmn","\\pm");k("\\rarr","\\rightarrow");k("\\rArr","\\Rightarrow");k("\\Rarr","\\Rightarrow");k("\\real","\\Re");k("\\reals","\\mathbb{R}");k("\\Reals","\\mathbb{R}");k("\\Rho","\\mathrm{P}");k("\\sdot","\\cdot");k("\\sect","\\S");k("\\spades","\\spadesuit");k("\\sub","\\subset");k("\\sube","\\subseteq");k("\\supe","\\supseteq");k("\\Tau","\\mathrm{T}");k("\\thetasym","\\vartheta");k("\\weierp","\\wp");k("\\Zeta","\\mathrm{Z}");k("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");k("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");k("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");k("\\bra","\\mathinner{\\langle{#1}|}");k("\\ket","\\mathinner{|{#1}\\rangle}");k("\\braket","\\mathinner{\\langle{#1}\\rangle}");k("\\Bra","\\left\\langle#1\\right|");k("\\Ket","\\left|#1\\right\\rangle");var z$=t=>e=>{var n=e.consumeArg().tokens,r=e.consumeArg().tokens,i=e.consumeArg().tokens,o=e.consumeArg().tokens,a=e.macros.get("|"),s=e.macros.get("\\|");e.macros.beginGroup();var l=u=>f=>{t&&(f.macros.set("|",a),i.length&&f.macros.set("\\|",s));var h=u;if(!u&&i.length){var p=f.future();p.text==="|"&&(f.popToken(),h=!0)}return{tokens:h?i:r,numArgs:0}};e.macros.set("|",l(!1)),i.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,d=e.expandTokens([...o,...c,...n]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};k("\\bra@ket",z$(!1));k("\\bra@set",z$(!0));k("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");k("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");k("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");k("\\angln","{\\angl n}");k("\\blue","\\textcolor{##6495ed}{#1}");k("\\orange","\\textcolor{##ffa500}{#1}");k("\\pink","\\textcolor{##ff00af}{#1}");k("\\red","\\textcolor{##df0030}{#1}");k("\\green","\\textcolor{##28ae7b}{#1}");k("\\gray","\\textcolor{gray}{#1}");k("\\purple","\\textcolor{##9d38bd}{#1}");k("\\blueA","\\textcolor{##ccfaff}{#1}");k("\\blueB","\\textcolor{##80f6ff}{#1}");k("\\blueC","\\textcolor{##63d9ea}{#1}");k("\\blueD","\\textcolor{##11accd}{#1}");k("\\blueE","\\textcolor{##0c7f99}{#1}");k("\\tealA","\\textcolor{##94fff5}{#1}");k("\\tealB","\\textcolor{##26edd5}{#1}");k("\\tealC","\\textcolor{##01d1c1}{#1}");k("\\tealD","\\textcolor{##01a995}{#1}");k("\\tealE","\\textcolor{##208170}{#1}");k("\\greenA","\\textcolor{##b6ffb0}{#1}");k("\\greenB","\\textcolor{##8af281}{#1}");k("\\greenC","\\textcolor{##74cf70}{#1}");k("\\greenD","\\textcolor{##1fab54}{#1}");k("\\greenE","\\textcolor{##0d923f}{#1}");k("\\goldA","\\textcolor{##ffd0a9}{#1}");k("\\goldB","\\textcolor{##ffbb71}{#1}");k("\\goldC","\\textcolor{##ff9c39}{#1}");k("\\goldD","\\textcolor{##e07d10}{#1}");k("\\goldE","\\textcolor{##a75a05}{#1}");k("\\redA","\\textcolor{##fca9a9}{#1}");k("\\redB","\\textcolor{##ff8482}{#1}");k("\\redC","\\textcolor{##f9685d}{#1}");k("\\redD","\\textcolor{##e84d39}{#1}");k("\\redE","\\textcolor{##bc2612}{#1}");k("\\maroonA","\\textcolor{##ffbde0}{#1}");k("\\maroonB","\\textcolor{##ff92c6}{#1}");k("\\maroonC","\\textcolor{##ed5fa6}{#1}");k("\\maroonD","\\textcolor{##ca337c}{#1}");k("\\maroonE","\\textcolor{##9e034e}{#1}");k("\\purpleA","\\textcolor{##ddd7ff}{#1}");k("\\purpleB","\\textcolor{##c6b9fc}{#1}");k("\\purpleC","\\textcolor{##aa87ff}{#1}");k("\\purpleD","\\textcolor{##7854ab}{#1}");k("\\purpleE","\\textcolor{##543b78}{#1}");k("\\mintA","\\textcolor{##f5f9e8}{#1}");k("\\mintB","\\textcolor{##edf2df}{#1}");k("\\mintC","\\textcolor{##e0e5cc}{#1}");k("\\grayA","\\textcolor{##f6f7f7}{#1}");k("\\grayB","\\textcolor{##f0f1f2}{#1}");k("\\grayC","\\textcolor{##e3e5e6}{#1}");k("\\grayD","\\textcolor{##d6d8da}{#1}");k("\\grayE","\\textcolor{##babec2}{#1}");k("\\grayF","\\textcolor{##888d93}{#1}");k("\\grayG","\\textcolor{##626569}{#1}");k("\\grayH","\\textcolor{##3b3e40}{#1}");k("\\grayI","\\textcolor{##21242c}{#1}");k("\\kaBlue","\\textcolor{##314453}{#1}");k("\\kaGreen","\\textcolor{##71B307}{#1}");var L$={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},tO=class{constructor(e,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(e),this.macros=new eO(bye,n.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Yx(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var n,r,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new cs("EOF",r.loc)),this.pushTokens(i),n.range(r,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var n=[],r=e&&e.length>0;r||this.consumeSpaces();var i=this.future(),o,a=0,s=0;do{if(o=this.popToken(),n.push(o),o.text==="{")++a;else if(o.text==="}"){if(--a,a===-1)throw new oe("Extra }",o)}else if(o.text==="EOF")throw new oe("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",o);if(e&&r)if((a===0||a===1&&e[s]==="{")&&o.text===e[s]){if(++s,s===e.length){n.splice(-s,s);break}}else s=0}while(a!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:o}}consumeArgs(e,n){if(n){if(n.length!==e+1)throw new oe("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var o=this.popToken();if(r[i]!==o.text)throw new oe("Use of the macro doesn't match its definition",o)}}for(var a=[],s=0;s<e;s++)a.push(this.consumeArg(n&&n[s+1]).tokens);return a}expandOnce(e){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||e&&i.unexpandable){if(e&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new oe("Undefined control sequence: "+r);return this.pushToken(n),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new oe("Too many expansions: infinite loop or need to increase maxExpand setting");var o=i.tokens,a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if(l.text==="#"){if(s===0)throw new oe("Incomplete placeholder at end of macro body",l);if(l=o[--s],l.text==="#")o.splice(s+1,1);else if(/^[1-9]$/.test(l.text))o.splice(s,2,...a[+l.text-1]);else throw new oe("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new cs(e)]):void 0}expandTokens(e){var n=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return n}expandMacroAsText(e){var n=this.expandMacro(e);return n&&n.map(r=>r.text).join("")}_getExpansion(e){var n=this.macros.get(e);if(n==null)return n;if(e.length===1){var r=this.lexer.catcodes[e];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var o=0;if(i.indexOf("#")!==-1)for(var a=i.replace(/##/g,"");a.indexOf("#"+(o+1))!==-1;)++o;for(var s=new Yx(i,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var d={tokens:l,numArgs:o};return d}return i}isDefined(e){return this.macros.has(e)||Fc.hasOwnProperty(e)||gn.math.hasOwnProperty(e)||gn.text.hasOwnProperty(e)||L$.hasOwnProperty(e)}isExpandable(e){var n=this.macros.get(e);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Fc.hasOwnProperty(e)&&!Fc[e].primitive}},qH=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Bx=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),HI={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},WH={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},_ye=(()=>{class t{constructor(n,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new tO(n,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(n,r){if(r===void 0&&(r=!0),this.fetch().text!==n)throw new oe("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(n){this.mode=n,this.gullet.switchMode(n)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}}subparse(n){var r=this.nextToken;this.consume(),this.gullet.pushToken(new cs("}")),this.gullet.pushTokens(n);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(n,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var o=this.fetch();if(t.endOfExpression.indexOf(o.text)!==-1||r&&o.text===r||n&&Fc[o.text]&&Fc[o.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;i.push(a)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(n){for(var r=-1,i,o=0;o<n.length;o++)if(n[o].type==="infix"){if(r!==-1)throw new oe("only one infix operator per group",n[o].token);r=o,i=n[o].replaceWith}if(r!==-1&&i){var a,s,l=n.slice(0,r),c=n.slice(r+1);l.length===1&&l[0].type==="ordgroup"?a=l[0]:a={type:"ordgroup",mode:this.mode,body:l},c.length===1&&c[0].type==="ordgroup"?s=c[0]:s={type:"ordgroup",mode:this.mode,body:c};var d;return i==="\\\\abovefrac"?d=this.callFunction(i,[a,n[r],s],[]):d=this.callFunction(i,[a,s],[]),[d]}else return n}handleSupSubscript(n){var r=this.fetch(),i=r.text;this.consume(),this.consumeSpaces();var o=this.parseGroup(n);if(!o)throw new oe("Expected group after '"+i+"'",r);return o}formatUnsupportedCmd(n){for(var r=[],i=0;i<n.length;i++)r.push({type:"textord",mode:"text",text:n[i]});var o={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[o]};return a}parseAtom(n){var r=this.parseGroup("atom",n);if(this.mode==="text")return r;for(var i,o;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new oe("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(i)throw new oe("Double superscript",a);i=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(o)throw new oe("Double subscript",a);o=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(i)throw new oe("Double superscript",a);var l={type:"textord",mode:this.mode,text:"\\prime"},c=[l];for(this.consume();this.fetch().text==="'";)c.push(l),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),i={type:"ordgroup",mode:this.mode,body:c}}else if(Bx[a.text]){var d=Bx[a.text],u=qH.test(a.text);for(this.consume();;){var f=this.fetch().text;if(!Bx[f]||qH.test(f)!==u)break;this.consume(),d+=Bx[f]}var h=new t(d,this.settings).parse();u?o={type:"ordgroup",mode:"math",body:h}:i={type:"ordgroup",mode:"math",body:h}}else break}return i||o?{type:"supsub",mode:this.mode,base:r,sup:i,sub:o}:r}parseFunction(n,r){var i=this.fetch(),o=i.text,a=Fc[o];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new oe("Got function '"+o+"' with no arguments"+(r?" as "+r:""),i);if(this.mode==="text"&&!a.allowedInText)throw new oe("Can't use function '"+o+"' in text mode",i);if(this.mode==="math"&&a.allowedInMath===!1)throw new oe("Can't use function '"+o+"' in math mode",i);var{args:s,optArgs:l}=this.parseArguments(o,a);return this.callFunction(o,s,l,i,n)}callFunction(n,r,i,o,a){var s={funcName:n,parser:this,token:o,breakOnTokenText:a},l=Fc[n];if(l&&l.handler)return l.handler(s,r,i);throw new oe("No function handler for "+n)}parseArguments(n,r){var i=r.numArgs+r.numOptionalArgs;if(i===0)return{args:[],optArgs:[]};for(var o=[],a=[],s=0;s<i;s++){var l=r.argTypes&&r.argTypes[s],c=s<r.numOptionalArgs;(r.primitive&&l==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(l="primitive");var d=this.parseGroupOfType("argument to '"+n+"'",l,c);if(c)a.push(d);else if(d!=null)o.push(d);else throw new oe("Null argument, please report this as a bug")}return{args:o,optArgs:a}}parseGroupOfType(n,r,i){switch(r){case"color":return this.parseColorGroup(i);case"size":return this.parseSizeGroup(i);case"url":return this.parseUrlGroup(i);case"math":case"text":return this.parseArgumentGroup(i,r);case"hbox":{var o=this.parseArgumentGroup(i,"text");return o!=null?{type:"styling",mode:o.mode,body:[o],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",i);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(i)throw new oe("A primitive argument cannot be optional");var s=this.parseGroup(n);if(s==null)throw new oe("Expected group as "+n,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(i);default:throw new oe("Unknown group type as "+n,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(n,r){var i=this.gullet.scanArgument(r);if(i==null)return null;for(var o="",a;(a=this.fetch()).text!=="EOF";)o+=a.text,this.consume();return this.consume(),i.text=o,i}parseRegexGroup(n,r){for(var i=this.fetch(),o=i,a="",s;(s=this.fetch()).text!=="EOF"&&n.test(a+s.text);)o=s,a+=o.text,this.consume();if(a==="")throw new oe("Invalid "+r+": '"+i.text+"'",i);return i.range(o,a)}parseColorGroup(n){var r=this.parseStringGroup("color",n);if(r==null)return null;var i=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!i)throw new oe("Invalid color: '"+r.text+"'",r);var o=i[0];return/^[0-9a-f]{6}$/i.test(o)&&(o="#"+o),{type:"color-token",mode:this.mode,color:o}}parseSizeGroup(n){var r,i=!1;if(this.gullet.consumeSpaces(),!n&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",n),!r)return null;!n&&r.text.length===0&&(r.text="0pt",i=!0);var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!o)throw new oe("Invalid size: '"+r.text+"'",r);var a={number:+(o[1]+o[2]),unit:o[3]};if(!KH(a))throw new oe("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:i}}parseUrlGroup(n){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",n);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var i=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:i}}parseArgumentGroup(n,r){var i=this.gullet.scanArgument(n);if(i==null)return null;var o=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:i.loc,body:a};return r&&this.switchMode(o),s}parseGroup(n,r){var i=this.fetch(),o=i.text,a;if(o==="{"||o==="\\begingroup"){this.consume();var s=o==="{"?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,s),c=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:lo.range(i,c),body:l,semisimple:o==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,n)||this.parseSymbol(),a==null&&o[0]==="\\"&&!L$.hasOwnProperty(o)){if(this.settings.throwOnError)throw new oe("Undefined control sequence: "+o,i);a=this.formatUnsupportedCmd(o),this.consume()}return a}formLigatures(n){for(var r=n.length-1,i=0;i<r;++i){var o=n[i],a=o.text;a==="-"&&n[i+1].text==="-"&&(i+1<r&&n[i+2].text==="-"?(n.splice(i,3,{type:"textord",mode:"text",loc:lo.range(o,n[i+2]),text:"---"}),r-=2):(n.splice(i,2,{type:"textord",mode:"text",loc:lo.range(o,n[i+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&n[i+1].text===a&&(n.splice(i,2,{type:"textord",mode:"text",loc:lo.range(o,n[i+1]),text:a+a}),r-=1)}}parseSymbol(){var n=this.fetch(),r=n.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var i=r.slice(5),o=i.charAt(0)==="*";if(o&&(i=i.slice(1)),i.length<2||i.charAt(0)!==i.slice(-1))throw new oe(`\\verb assertion failed -- - please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:o}}WH.hasOwnProperty(r[0])&&!gn[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',n),r=WH[r[0]]+r.slice(1));var a=gye.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var s;if(gn[this.mode][r]){this.settings.strict&&this.mode==="math"&&GI.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',n);var l=gn[this.mode][r].group,c=lo.range(n),d;if(c0e.hasOwnProperty(l)){var u=l;d={type:"atom",mode:this.mode,family:u,loc:c,text:r}}else d={type:l,mode:this.mode,loc:c,text:r};s=d}else if(r.charCodeAt(0)>=128)this.settings.strict&&(YH(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),n)),s={type:"textord",mode:"text",loc:lo.range(n),text:r};else return null;if(this.consume(),a)for(var f=0;f<a[0].length;f++){var h=a[0][f];if(!HI[h])throw new oe("Unknown accent ' "+h+"'",n);var p=HI[h][this.mode]||HI[h].text;if(!p)throw new oe("Accent "+h+" unsupported in "+this.mode+" mode",n);s={type:"accent",mode:this.mode,loc:lo.range(n),label:p,isStretchy:!1,isShifty:!0,base:s}}return s}}return t.endOfExpression=["}","\\endgroup","\\end","\\right","&"],t})(),bO=function(e,n){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new _ye(e,n);delete r.gullet.macros.current["\\df@tag"];var i=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new oe("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new cs("\\df@tag")])}]}return i},B$=function(e,n,r){n.textContent="";var i=_O(e,r).toNode();n.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),B$=function(){throw new oe("KaTeX doesn't work in quirks mode.")});var wye=function(e,n){var r=_O(e,n).toMarkup();return r},vye=function(e,n){var r=new ib(n);return bO(e,r)},V$=function(e,n,r){if(r.throwOnError||!(e instanceof oe))throw e;var i=L.makeSpan(["katex-error"],[new Bi(n)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+r.errorColor),i},_O=function(e,n){var r=new ib(n);try{var i=bO(e,r);return I0e(i,e,r)}catch(o){return V$(o,e,r)}},kye=function(e,n){var r=new ib(n);try{var i=bO(e,r);return O0e(i,e,r)}catch(o){return V$(o,e,r)}},db={version:"0.16.9",render:B$,renderToString:wye,ParseError:oe,SETTINGS_SCHEMA:Vx,__parse:vye,__renderToDomTree:_O,__renderToHTMLTree:kye,__setFontMetrics:n0e,__defineSymbol:m,__defineFunction:ye,__defineMacro:k,__domTree:{Span:Qu,Anchor:ab,SymbolNode:Bi,SvgNode:xa,PathNode:ds,LineNode:sb}};function wO(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:a,mathTextData:s}};function t(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function n(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=c;let u=d.data.hChildren[0];u.type,u.tagName,u.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function a(l){let c=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=c,d.data.hChildren.push({type:"text",value:c})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function vO(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` -`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(o,a,s,l){let c=o.value||"",d=s.createTracker(l),u="$".repeat(Math.max(f1(c,"$")+1,2)),f=s.enter("mathFlow"),h=d.move(u);if(o.meta){let p=s.enter("mathFlowMeta");h+=d.move(s.safe(o.meta,S({after:` -`,before:h,encode:["$"]},d.current()))),p()}return h+=d.move(` -`),c&&(h+=d.move(c+` -`)),h+=d.move(u),f(),h}function r(o,a,s){let l=o.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let d="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let u=-1;for(;++u<s.unsafe.length;){let f=s.unsafe[u];if(!f.atBreak)continue;let h=s.compilePattern(f),p;for(;p=h.exec(l);){let g=p.index;l.codePointAt(g)===10&&l.codePointAt(g-1)===13&&g--,l=l.slice(0,g)+" "+l.slice(p.index+1)}}return d+l+d}function i(){return"$"}}var H$={tokenize:xye,concrete:!0},U$={tokenize:Cye,partial:!0};function xye(t,e,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(x){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(x)}function l(x){return x===36?(t.consume(x),a++,l):a<2?n(x):(t.exit("mathFlowFenceSequence"),Te(t,c,"whitespace")(x))}function c(x){return x===null||pe(x)?u(x):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===null||pe(x)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),u(x)):x===36?n(x):(t.consume(x),d)}function u(x){return t.exit("mathFlowFence"),r.interrupt?e(x):t.attempt(U$,f,b)(x)}function f(x){return t.attempt({tokenize:_,partial:!0},b,h)(x)}function h(x){return(o?Te(t,p,"linePrefix",o+1):p)(x)}function p(x){return x===null?b(x):pe(x)?t.attempt(U$,f,b)(x):(t.enter("mathFlowValue"),g(x))}function g(x){return x===null||pe(x)?(t.exit("mathFlowValue"),p(x)):(t.consume(x),g)}function b(x){return t.exit("mathFlow"),e(x)}function _(x,E,v){let j=0;return Te(x,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(N){return x.enter("mathFlowFence"),x.enter("mathFlowFenceSequence"),P(N)}function P(N){return N===36?(j++,x.consume(N),P):j<a?v(N):(x.exit("mathFlowFenceSequence"),Te(x,z,"whitespace")(N))}function z(N){return N===null||pe(N)?(x.exit("mathFlowFence"),E(N)):v(N)}}}function Cye(t,e,n){let r=this;return i;function i(a){return a===null?e(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function $$(t){let n=(t||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:Dye,previous:Sye};function r(i,o,a){let s=this,l=0,c,d;return u;function u(b){return i.enter("mathText"),i.enter("mathTextSequence"),f(b)}function f(b){return b===36?(i.consume(b),l++,f):l<2&&!n?a(b):(i.exit("mathTextSequence"),h(b))}function h(b){return b===null?a(b):b===36?(d=i.enter("mathTextSequence"),c=0,g(b)):b===32?(i.enter("space"),i.consume(b),i.exit("space"),h):pe(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),h):(i.enter("mathTextData"),p(b))}function p(b){return b===null||b===32||b===36||pe(b)?(i.exit("mathTextData"),h(b)):(i.consume(b),p)}function g(b){return b===36?(i.consume(b),c++,g):c===l?(i.exit("mathTextSequence"),i.exit("mathText"),o(b)):(d.type="mathTextData",p(b))}}}function Dye(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r<e;)if(t[r][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[n][1].type="mathTextPadding",n+=2,e-=2;break}}for(r=n-1,e++;++r<=e;)i===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(i=r):(r===e||t[r][1].type==="lineEnding")&&(t[i][1].type="mathTextData",r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return t}function Sye(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function kO(t){return{flow:{36:H$},text:{36:$$(t)}}}var Eye={};function tC(t){let e=this,n=t||Eye,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(kO(n)),o.push(wO()),a.push(vO(n))}function zc(t,e){return Object.assign(t,{meta:S({package:"@milkdown/plugin-math"},e)}),t}var DO=wi("remarkMath",()=>tC);zc(DO.plugin,{displayName:"Remark<remarkMath>"});zc(DO.options,{displayName:"RemarkConfig<remarkMath>"});var xO="math_inline",Hp=Bt({},"katexOptions");zc(Hp,{displayName:"Ctx<katexOptions>"});var SO=mn("math_inline",t=>({group:"inline",content:"text*",inline:!0,atom:!0,parseDOM:[{tag:`span[data-type="${xO}"]`,getContent:(e,n)=>{if(!(e instanceof HTMLElement))throw lr(e);return Z.from(n.text(e.dataset.value??""))}}],toDOM:e=>{let n=e.textContent,r=document.createElement("span");return r.dataset.type=xO,r.dataset.value=n,db.render(n,r,t.get(Hp.key)),r},parseMarkdown:{match:e=>e.type==="inlineMath",runner:(e,n,r)=>{e.openNode(r).addText(n.value).closeNode()}},toMarkdown:{match:e=>e.type.name===xO,runner:(e,n)=>{e.addNode("inlineMath",void 0,n.textContent)}}}));zc(SO.ctx,{displayName:"NodeSchemaCtx<mathInline>"});zc(SO.node,{displayName:"NodeSchema<mathInline>"});var CO="math_block",ef=mn("math_block",t=>({content:"text*",group:"block",marks:"",defining:!0,atom:!0,isolating:!0,attrs:{value:{default:""}},parseDOM:[{tag:`div[data-type="${CO}"]`,preserveWhitespace:"full",getAttrs:e=>({value:e.dataset.value??""})}],toDOM:e=>{let n=e.attrs.value,r=document.createElement("div");return r.dataset.type=CO,r.dataset.value=n,db.render(n,r,t.get(Hp.key)),r},parseMarkdown:{match:({type:e})=>e==="math",runner:(e,n,r)=>{let i=n.value;e.addNode(r,{value:i})}},toMarkdown:{match:e=>e.type.name===CO,runner:(e,n)=>{e.addNode("math",void 0,n.attrs.value)}}}));zc(ef.ctx,{displayName:"NodeSchemaCtx<mathBlock>"});zc(ef.node,{displayName:"NodeSchema<mathBlock>"});var q$=Lr(t=>new zn(/^\$\$\s$/,(e,n,r,i)=>{let o=e.doc.resolve(r);return o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),ef.type(t))?e.tr.delete(r,i).setBlockType(r,r,ef.type(t)):null}));zc(q$,{displayName:"InputRule<mathBlock>"});var W$=[DO,Hp,SO,ef,q$].flat();function Mye(t,e){let{doc:n,selection:r}=t;if(!n||!r||!(r instanceof Ne||r instanceof mi))return t;let{to:i}=r,o=e.type==="space"?Array(e.size).fill(" ").join(""):" ";return t.insertText(o,i)}var ub=Bt({type:"space",size:2},"indentConfig");ub.meta={package:"@milkdown/plugin-indent",displayName:"Ctx<indentConfig>"};var G$=$T(t=>({Tab:(e,n)=>{let r=t.get(ub.key),{tr:i}=e,o=Mye(i,r);return o.docChanged?(n?.(o),!0):!1}}));G$.meta={package:"@milkdown/plugin-indent",displayName:"Shortcut<indent>"};var Y$=[ub,G$];var nC=200,Ur=function(){};Ur.prototype.append=function(e){return e.length?(e=Ur.from(e),!this.length&&e||e.length<nC&&this.leafAppend(e)||this.length<nC&&e.leafPrepend(this)||this.appendInner(e)):this};Ur.prototype.prepend=function(e){return e.length?Ur.from(e).append(this):this};Ur.prototype.appendInner=function(e){return new Tye(this,e)};Ur.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?Ur.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};Ur.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};Ur.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};Ur.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},n,r),i};Ur.from=function(e){return e instanceof Ur?e:e&&e.length?new K$(e):Ur.empty};var K$=function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,a,s){for(var l=o;l<a;l++)if(i(this.values[l],s+l)===!1)return!1},e.prototype.forEachInvertedInner=function(i,o,a,s){for(var l=o-1;l>=a;l--)if(i(this.values[l],s+l)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=nC)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=nC)return new e(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(Ur);Ur.empty=new K$([]);var Tye=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return r<this.left.length?this.left.get(r):this.right.get(r-this.left.length)},e.prototype.forEachInner=function(r,i,o,a){var s=this.left.length;if(i<s&&this.left.forEachInner(r,i,Math.min(o,s),a)===!1||o>s&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o<s&&this.left.forEachInvertedInner(r,Math.min(i,s),o,a)===!1)return!1},e.prototype.sliceInner=function(r,i){if(r==0&&i==this.length)return this;var o=this.left.length;return i<=o?this.left.slice(r,i):r>=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}(Ur),EO=Ur;var Aye=500,tf=class t{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,l,c=[],d=[];return this.items.forEach((u,f)=>{if(!u.step){i||(i=this.remapping(r,f+1),o=i.maps.length),o--,d.push(u);return}if(i){d.push(new ps(u.map));let h=u.step.map(i.slice(o)),p;h&&a.maybeStep(h).doc&&(p=a.mapping.maps[a.mapping.maps.length-1],c.push(new ps(p,void 0,void 0,c.length+d.length))),o--,p&&i.appendMap(p,o)}else a.maybeStep(u.step);if(u.selection)return s=i?u.selection.map(i.slice(o)):u.selection,l=new t(this.items.slice(0,r).append(d.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let d=0;d<e.steps.length;d++){let u=e.steps[d].invert(e.docs[d]),f=new ps(e.mapping.maps[d],u,n),h;(h=l&&l.merge(f))&&(f=h,d?o.pop():s=s.slice(0,s.length-1)),o.push(f),n&&(a++,n=void 0),i||(l=f)}let c=a-r.depth;return c>Oye&&(s=Iye(s,c),a-=c),new t(s.append(o),a)}remapping(e,n){let r=new w0;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new t(this.items.append(e.map(n=>new ps(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(f=>{f.selection&&s--},i);let l=n;this.items.forEach(f=>{let h=o.getMirror(--l);if(h==null)return;a=Math.min(a,h);let p=o.maps[h];if(f.step){let g=e.steps[h].invert(e.docs[h]),b=f.selection&&f.selection.map(o.slice(l+1,h));b&&s++,r.push(new ps(p,g,b))}else r.push(new ps(p))},i);let c=[];for(let f=n;f<a;f++)c.push(new ps(o.maps[f]));let d=this.items.slice(0,i).append(c).append(r),u=new t(d,s);return u.emptyItemCount()>Aye&&(u=u.compress(this.items.length-r.length)),u}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=e)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let d=a.selection&&a.selection.map(n.slice(r));d&&o++;let u=new ps(c.invert(),l,d),f,h=i.length-1;(f=i.length&&i[h].merge(u))?i[h]=f:i.push(u)}}else a.map&&r--},this.items.length,0),new t(EO.from(i.reverse()),o)}};tf.empty=new tf(EO.empty,0);function Iye(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}var ps=class t{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new t(n.getMap().invert(),n,this.selection)}}},ms=class{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}},Oye=20;function Pye(t,e,n,r){let i=n.getMeta(Lc),o;if(i)return i.historyState;n.getMeta(Nye)&&(t=new ms(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(Lc))return a.getMeta(Lc).redo?new ms(t.done.addTransform(n,void 0,r,rC(e)),t.undone,Z$(n.mapping.maps[n.steps.length-1]),t.prevTime,t.prevComposition):new ms(t.done,t.undone.addTransform(n,void 0,r,rC(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!Fye(n,t.prevRanges)),c=a?MO(t.prevRanges,n.mapping):Z$(n.mapping.maps[n.steps.length-1]);return new ms(t.done.addTransform(n,l?e.selection.getBookmark():void 0,r,rC(e)),tf.empty,c,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new ms(t.done.rebased(n,o),t.undone.rebased(n,o),MO(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new ms(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),MO(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function Fye(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let o=0;o<e.length;o+=2)r<=e[o+1]&&i>=e[o]&&(n=!0)}),n}function Z$(t){let e=[];return t.forEach((n,r,i,o)=>e.push(i,o)),e}function MO(t,e){if(!t)return null;let n=[];for(let r=0;r<t.length;r+=2){let i=e.map(t[r],1),o=e.map(t[r+1],-1);i<=o&&n.push(i,o)}return n}function Q$(t,e,n,r){let i=rC(e),o=Lc.get(e).spec.config,a=(r?t.undone:t.done).popEvent(e,i);if(!a)return;let s=a.selection.resolve(a.transform.doc),l=(r?t.done:t.undone).addTransform(a.transform,e.selection.getBookmark(),o,i),c=new ms(r?l:a.remaining,r?a.remaining:l,null,0,-1);n(a.transform.setSelection(s).setMeta(Lc,{redo:r,historyState:c}).scrollIntoView())}var TO=!1,X$=null;function rC(t){let e=t.plugins;if(X$!=e){TO=!1,X$=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){TO=!0;break}}return TO}var Lc=new at("history"),Nye=new at("closeHistory");function J$(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new Be({key:Lc,state:{init(){return new ms(tf.empty,tf.empty,null,0,-1)},apply(e,n,r){return Pye(n,r,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let r=n.inputType,i=r=="historyUndo"?AO:r=="historyRedo"?IO:null;return i?(n.preventDefault(),i(e.state,e.dispatch)):!1}}}})}var AO=(t,e)=>{let n=Lc.getState(t);return!n||n.done.eventCount==0?!1:(e&&Q$(n,t,e,!1),!0)},IO=(t,e)=>{let n=Lc.getState(t);return!n||n.undone.eventCount==0?!1:(e&&Q$(n,t,e,!0),!0)};function $p(t,e){return Object.assign(t,{meta:S({package:"@milkdown/plugin-history"},e)}),t}var wl=ct("Undo",()=>()=>AO);$p(wl,{displayName:"Command<undo>"});var nf=ct("Redo",()=>()=>IO);$p(nf,{displayName:"Command<redo>"});var OO=Bt({},"historyProviderConfig");$p(OO,{displayName:"Ctx<historyProviderConfig>"});var eq=$t(t=>J$(t.get(OO.key)));$p(eq,{displayName:"Ctx<historyProviderPlugin>"});var PO=Br("historyKeymap",{Undo:{shortcuts:"Mod-z",command:t=>{let e=t.get(nt);return()=>e.call(wl.key)}},Redo:{shortcuts:["Mod-y","Shift-Mod-z"],command:t=>{let e=t.get(nt);return()=>e.call(nf.key)}}});$p(PO.ctx,{displayName:"KeymapCtx<history>"});$p(PO.shortcuts,{displayName:"Keymap<history>"});var tq=[OO,eq,PO,wl,nf].flat();var qp=(()=>{let e=class e{constructor(r){this.el=r}get context(){return this.provider?.service?.pluginViewContext?.[this.key]}get view(){return this.provider?.service?.pluginViewContext?.[this.key]?.view}get state(){return this.provider?.service?.pluginViewContext?.[this.key]?.view?.state}get prevState(){return this.provider?.service?.pluginViewContext?.[this.key]?.prevState}get container(){return this.el.nativeElement}get pluginView(){return null}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["ng-prosemirror-plugin"]],inputs:{key:"key",provider:"provider"},standalone:!0});let t=e;return t})();function oi(t){return t.editor.action}var Wp=(()=>{let e=class e extends qp{constructor(){super(...arguments),this.loading=!0}get action(){return oi(this.provider.editor)}ngAfterViewInit(){this.loading=!1}get tooltipProvider(){return this.provider?.service?.pluginView[this.key]}get pluginView(){return new rs({content:this.container,debounce:50,tippyOptions:{appendTo:document.body}})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275dir=ve({type:e,selectors:[["ng-milkdown-tooltip"]],standalone:!0,features:[ke]});let t=e;return t})();function Rye(t,e){if(t&1){let n=Fr();H(0,"button",1),we("mousedown",function(i){let a=un(n).$implicit,s=Qe(2);return fn(s.mousedown(i,a.command))})("touchstart",function(i){let a=un(n).$implicit,s=Qe(2);return fn(s.mousedown(i,a.command))}),H(1,"span",2),Se(2),Y()()}if(t&2){let n=e.$implicit;Me("title",n.title),se(2),Cr(n.icon)}}function jye(t,e){if(t&1&&(H(0,"div",0),kr(1,Rye,3,2,"button",3,Oi),Y()),t&2){let n=e.$implicit;se(1),xr(n)}}var nq=(()=>{let e=class e extends Wp{constructor(){super(...arguments),this.buttons=[[{icon:"undo",title:"Undo",command:wl.key},{icon:"redo",title:"Redo",command:nf.key}],[{icon:"format_bold",title:"Bold",command:Du.key},{icon:"format_italic",title:"Italic",command:Cu.key},{icon:"format_strikethrough",title:"Strikethrough",command:Vu.key},{icon:"format_quote",title:"Quote",command:Qs.key}]]}mousedown(r,i){r.preventDefault(),this.action(cp(i))}get pluginView(){return new rs({debounce:50,content:this.container,shouldShow:r=>{let{from:i,to:o}=r.state.selection;return i!==o&&r.state.doc.nodeAt(i)?.type.name==="text"},tippyOptions:{appendTo:document.body}})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["tooltip"]],standalone:!0,features:[ke,He],decls:2,vars:0,consts:[[1,"flex-1","flex","w-64"],[1,"flex-1","text-gray-600","text-xs","bg-slate-200","px-2","py-1","hover:bg-slate-300","border","border-b-blue-50","hover:text-gray-900",3,"title","mousedown","touchstart"],[1,"material-symbols-outlined"],["class","flex-1 text-gray-600 text-xs bg-slate-200 px-2 py-1 hover:bg-slate-300 border border-b-blue-50 hover:text-gray-900",3,"title"],["class","flex-1 flex w-64"]],template:function(i,o){i&1&&kr(0,jye,3,0,"div",4,Oi),i&2&&xr(o.buttons)}});let t=e;return t})();var iC=(()=>{let e=class e extends qp{constructor(r){super(r),this.el=r,this.list=[],this.selected=0,this._opened=!1,this.trigger="/",this.search="",this.loading=!0,this.removeSlash=i=>{let o=i.get(wn);o.dispatch(o.state.tr.delete(o.state.selection.from-1,o.state.selection.from))},this.eventListener=null}get action(){return oi(this.provider.editor)}get opened(){return this._opened}set opened(r){this._opened=r,setTimeout(()=>{this.action(i=>{i.update(this.slash.key,o=>W(S({},o),{opened:r}))})})}onKeyDown(r){if(!this.opened)return!1;let i=r.key;return i==="ArrowDown"?(r.preventDefault(),this.selected=(this.selected+1)%this.list.length,!1):i==="ArrowUp"?(r.preventDefault(),this.selected=(this.selected+this.list.length-1)%this.list.length,!1):i==="Enter"?(r.preventDefault(),setTimeout(()=>{this.action(cp(wl.key)),this.provider.editor.editor?.action(this.onPick)}),setTimeout(()=>{this.action(o=>{o.get(wn).focus()})}),!1):!0}get onPick(){return r=>{}}ngAfterViewInit(){this.loading=!1,this.eventListener=this.onKeyDown.bind(this)}get root(){return this.provider.editor.editor.ctx.get(B0)}get pluginView(){return new Sp({content:this.el.nativeElement,debounce:50,trigger:this.trigger,tippyOptions:{onShow:()=>{this.opened=!0,this.root.addEventListener("keydown",this.eventListener)},onHide:()=>{this.selected=0,this.opened=!1,this.root.removeEventListener("keydown",this.eventListener)}}})}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["ng-milkdown-slash"]],inputs:{slash:"slash"},standalone:!0,features:[ke]});let t=e;return t})();var zye=()=>["bg-gray-200","dark:bg-gray-500"],Lye=()=>[];function Bye(t,e){if(t&1){let n=Fr();H(0,"li",1),we("mousemove",function(){let o=un(n).$index,a=Qe();return fn(a.selected=o)})("mousedown",function(){un(n);let i=Qe();return fn(i.action(i.onPick))})("touchstart",function(){let o=un(n).$index,a=Qe();return a.selected=o,fn(a.action(a.onPick))}),H(1,"div",2)(2,"span",3),Se(3),Y(),H(4,"span"),Se(5),Y()()()}if(t&2){let n=e.$implicit,r=e.$index,i=Qe();sr(i.selected===r?tr(4,zye):tr(5,Lye)),se(3),Cr(n.icon),se(2),Cr(n.label)}}var rq=(()=>{let e=class e extends iC{constructor(){super(...arguments),this.list=[{label:"Heading 1",icon:"looks_one",slice:ti.key,payload:1},{label:"Heading 2",icon:"looks_two",slice:ti.key,payload:2},{label:"Heading 3",icon:"looks_3",slice:ti.key,payload:3},{label:"Code Block",icon:"code_blocks",slice:Mu.key},{label:"Quote Block",icon:"format_quote",slice:Qs.key},{label:"Divider",icon:"horizontal_rule",slice:fp.key,payload:{mode:"horizontal"}}]}get onPick(){let{slice:r,payload:i}=this.list[this.selected];return setTimeout(()=>{this.action(o=>{o.get(wn).focus()})}),o=>{this.removeSlash(o),o.get(nt).call(r,i)}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["slash"]],standalone:!0,features:[ke,He],decls:3,vars:0,consts:[[1,"m-0","w-96","list-none","rounded","bg-gray-50","shadow-lg","ring-2","dark:bg-gray-900"],[1,"cursor-pointer","px-6","py-3",3,"mousemove","mousedown","touchstart"],[1,"flex","items-center","gap-2"],[1,"material-symbols-outlined","text-nord-10","dark:text-nord-9"],["class","cursor-pointer px-6 py-3",3,"class"]],template:function(i,o){i&1&&(H(0,"ul",0),kr(1,Bye,6,6,"li",4,Oi),Y()),i&2&&(se(1),xr(o.list))}});let t=e;return t})();var iq=(()=>{let e=class e extends qp{constructor(){super(...arguments),this.loading=!0}get action(){return oi(this.provider.editor)}get pluginView(){return new Mx({ctx:this.ctx,content:this.el.nativeElement})}ngAfterViewInit(){this.loading=!1}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275dir=ve({type:e,selectors:[["ng-milkdown-block"]],inputs:{ctx:"ctx"},standalone:!0,features:[ke]});let t=e;return t})();var oq=(()=>{let e=class e extends iq{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["block"]],standalone:!0,features:[ke,He],decls:3,vars:0,consts:[[1,"w-6","bg-slate-200","rounded","hover:bg-slate-300","cursor-grab"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","{1.5}","stroke","currentColor",1,"w-6","h-6"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 12.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 18.75a.75.75 0 110-1.5.75.75 0 010 1.5z"]],template:function(i,o){i&1&&(H(0,"div",0),MF(),H(1,"svg",1),St(2,"path",2),Y()())},encapsulation:2});let t=e;return t})();var QWe=wo(DZ(),1),JWe=wo(SZ(),1);var tGe=wo(EZ(),1);function Vye(t){return{type:"diagram",value:t}}function Uye(t){return io(t,"code",(e,n,r)=>{let{lang:i,value:o}=e;if(i!=="mermaid")return e;let a=Vye(o);return r&&n!=null&&r.children.splice(n,1,a),e})}function Hye(){function t(e){Uye(e)}return t}var $ye=_k("abcdefg",8),oC=t=>{var e;return((e=t?.attrs)==null?void 0:e.identity)||$ye()};function rf(t,e){return Object.assign(t,{meta:S({package:"@milkdown/plugin-diagram"},e)}),t}var FO=Bt({startOnLoad:!1},"mermaidConfig");rf(FO,{displayName:"Ctx<mermaidConfig>"});var fb="diagram",of=mn(fb,t=>(Of.initialize(S({},t.get(FO.key))),{content:"text*",group:"block",marks:"",defining:!0,atom:!0,isolating:!0,attrs:{value:{default:""},identity:{default:""}},parseDOM:[{tag:`div[data-type="${fb}"]`,preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{value:e.dataset.value,identity:e.dataset.id}}}],toDOM:e=>{let n=oC(e),r=e.attrs.value,i=document.createElement("div");return i.dataset.type=fb,i.dataset.id=n,i.dataset.value=r,i.textContent=r,i},parseMarkdown:{match:({type:e})=>e===fb,runner:(e,n,r)=>{let i=n.value;e.addNode(r,{value:i,identity:oC()})}},toMarkdown:{match:e=>e.type.name===fb,runner:(e,n)=>{e.addNode("code",void 0,n.attrs.value||"",{lang:"mermaid"})}}}));rf(of.node,{displayName:"NodeSchema<diagram>"});rf(of.ctx,{displayName:"NodeSchemaCtx<diagram>"});var aq=Lr(t=>new zn(/^```mermaid$/,(e,n,r,i)=>{let o=of.type(t),a=e.doc.resolve(r);return a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),o)?e.tr.delete(r,i).setBlockType(r,r,o,{identity:oC()}):null}));rf(aq,{displayName:"InputRule<insertDiagramInputRules>"});var NO=wi("remarkMermaid",()=>Hye);rf(NO.plugin,{displayName:"Remark<diagram>"});rf(NO.options,{displayName:"RemarkConfig<diagram>"});var aC=ct("InsertDiagramCommand",t=>()=>vc(of.type(t),{identity:oC()}));rf(aC,{displayName:"Command<insertDiagramCommand>"});var sq=[NO,FO,of,aC,aq].flat();var Cq=wo(gq(),1),Dq=wo(bq(),1);var Eq=wo(fq(),1);var dbe=wo(xq(),1),bGe=(0,Dq.default)();var obe=String.fromCharCode(65039),abe=new RegExp(obe,"g");function sbe(t){return t.replace(abe,"")}function lbe(t){return/:.+:/.test(t)?t.slice(1,-1):t}var Sq=Object.entries(Cq.default.lib).map(([t,{char:e}])=>[t,e]),cbe=new Map(Sq),_Ge=new Map(Sq.map(([t,e])=>[sbe(e),t]));var lC=t=>(Eq.assert.string(t),cbe.get(lbe(t)));var RO=[{name:"angry",emoji:"\u{1F620}",tags:["mad","annoyed"],description:"angry face",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["]},{name:"blush",emoji:"\u{1F60A}",tags:["proud"],description:"smiling face with smiling eyes",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D']},{name:"broken_heart",emoji:"\u{1F494}",tags:[],description:"broken heart",emoticons:["<\\3","</3"]},{name:"confused",emoji:"\u{1F615}",tags:[],description:"confused face",emoticons:[":/",":\\",":-/",":-\\","=/","=\\","=-/","=-\\"]},{name:"cry",emoji:"\u{1F622}",tags:["sad","tear"],description:"crying face",emoticons:[":,(",":,[",":,|",":,-(",":,-[",":,-|",":'(",":'[",":'|",":'-(",":'-[",":'-|","=,(","=,[","=,|","=,-(","=,-[","=,-|","='(","='[","='|","='-(","='-[","='-|"]},{name:"frowning",emoji:"\u{1F626}",tags:[],description:"frowning face with open mouth",emoticons:[":(",":[",":-(",":-[","=(","=[","=-(","=-["]},{name:"heart",emoji:"\u2764\uFE0F",tags:["love"],description:"red heart",emoticons:["<3"]},{name:"imp",emoji:"\u{1F47F}",tags:["angry","devil","evil","horns"],description:"angry face with horns",emoticons:["]:(","]:[","]:-(","]:-[","]=(","]=[","]=-(","]=-["]},{name:"innocent",emoji:"\u{1F607}",tags:["angel"],description:"smiling face with halo",emoticons:["o:)","o:]","o:D","o:-)","o:-]","o:-D","o=)","o=]","o=D","o=-)","o=-]","o=-D","O:)","O:]","O:D","O:-)","O:-]","O:-D","O=)","O=]","O=D","O=-)","O=-]","O=-D","0:)","0:]","0:D","0:-)","0:-]","0:-D","0=)","0=]","0=D","0=-)","0=-]","0=-D"]},{name:"joy",emoji:"\u{1F602}",tags:["tears"],description:"face with tears of joy",emoticons:[":,)",":,]",":,D",":,-)",":,-]",":,-D",":')",":']",":'D",":'-)",":'-]",":'-D","=,)","=,]","=,D","=,-)","=,-]","=,-D","=')","=']","='D","='-)","='-]","='-D"]},{name:"kissing",emoji:"\u{1F617}",tags:[],description:"kissing face",emoticons:[":*",":-*","=*","=-*"]},{name:"laughing",emoji:"\u{1F606}",tags:["happy","haha"],description:"grinning squinting face",emoticons:["x)","x]","xD","x-)","x-]","x-D","X)","X]","X-)","X-]","X-D"]},{name:"man",emoji:"\u{1F468}",tags:["mustache","father","dad"],description:"man",emoticons:[":3",":-3","=3","=-3",";3",";-3","x3","x-3","X3","X-3"]},{name:"neutral_face",emoji:"\u{1F610}",tags:["meh"],description:"neutral face",emoticons:[":|",":-|","=|","=-|"]},{name:"no_mouth",emoji:"\u{1F636}",tags:["mute","silence"],description:"face without mouth",emoticons:[":-"]},{name:"open_mouth",emoji:"\u{1F62E}",tags:["surprise","impressed","wow"],description:"face with open mouth",emoticons:[":o",":O",":0",":-o",":-O",":-0","=o","=O","=0","=-o","=-O","=-0"]},{name:"rage",emoji:"\u{1F621}",tags:["angry"],description:"pouting face",emoticons:[":@",":-@","=@","=-@"]},{name:"smile",emoji:"\u{1F604}",tags:["happy","joy","laugh","pleased"],description:"grinning face with smiling eyes",emoticons:[":D",":-D","=D","=-D"]},{name:"smiley",emoji:"\u{1F603}",tags:["happy","joy","haha"],description:"grinning face with big eyes",emoticons:[":)",":]",":-)",":-]","=)","=]","=-)","=-]"]},{name:"smiling_imp",emoji:"\u{1F608}",tags:["devil","evil","horns"],description:"smiling face with horns",emoticons:["]:)","]:]","]:D","]:-)","]:-]","]:-D","]=)","]=]","]=D","]=-)","]=-]","]=-D"]},{name:"sob",emoji:"\u{1F62D}",tags:["sad","cry","bawling"],description:"loudly crying face",emoticons:[":,'(",":,'[",":,'-(",":,'-[",":',(",":',[",":',-(",":',-[","=,'(","=,'[","=,'-(","=,'-[","=',(","=',[","=',-(","=',-["]},{name:"stuck_out_tongue",emoji:"\u{1F61B}",tags:[],description:"face with tongue",emoticons:[":p",":P",":d",":-p",":-P",":-d","=p","=P","=d","=-p","=-P","=-d"]},{name:"stuck_out_tongue_closed_eyes",emoji:"\u{1F61D}",tags:["prank"],description:"squinting face with tongue",emoticons:["xP","x-p","x-P","x-d","Xp","Xd","X-p","X-P","X-d"]},{name:"stuck_out_tongue_winking_eye",emoji:"\u{1F61C}",tags:["prank","silly"],description:"winking face with tongue",emoticons:[";p",";P",";d",";-p",";-P",";-d"]},{name:"sunglasses",emoji:"\u{1F60E}",tags:["cool"],description:"smiling face with sunglasses",emoticons:["8)","8]","8D","8-)","8-]","8-D","B)","B]","B-)","B-]","B-D"]},{name:"sweat",emoji:"\u{1F613}",tags:[],description:"downcast face with sweat",emoticons:[",:(",",:[",",:-(",",:-[",",=(",",=[",",=-(",",=-[","':(","':[","':-(","':-[","'=(","'=[","'=-(","'=-["]},{name:"sweat_smile",emoji:"\u{1F605}",tags:["hot"],description:"grinning face with sweat",emoticons:[",:)",",:]",",:D",",:-)",",:-]",",:-D",",=)",",=]",",=D",",=-)",",=-]",",=-D","':)","':]","':D","':-)","':-]","':-D","'=)","'=]","'=D","'=-)","'=-]","'=-D"]},{name:"unamused",emoji:"\u{1F612}",tags:["meh"],description:"unamused face",emoticons:[":$",":s",":z",":S",":Z",":-$",":-s",":-z",":-S",":-Z","=$","=s","=z","=S","=Z","=-$","=-s","=-z","=-S","=-Z"]},{name:"wink",emoji:"\u{1F609}",tags:["flirt"],description:"winking face",emoticons:[";)",";]",";D",";-)",";-]",";-D"]}];var ube=/:\+1:|:-1:|:[\w-]+:/g,fbe=/[$@|*'",;.=:\-)([\]\\/<>038BOopPsSdDxXzZ]{2,5}/g,hbe=/(?:_|-(?!1))/g,pbe={padSpaceAfter:!1,emoticon:!1,accessible:!1};function jO(t){let e=Object.assign({},pbe,t),n=!!e.padSpaceAfter,r=!!e.emoticon,i=!!e.accessible;function o(d,u){return{type:"text",meta:null,value:d,data:{hName:"span",hProperties:{role:"img",ariaLabel:u},hChildren:[{type:"text",value:d}]}}}function a(d){let u=RO.find(_=>_.emoticons.includes(d)),f=RO.find(_=>_.emoticons.includes(d.slice(0,-1))),h=u||f;if(!h)return!1;let p=!u&&f?d.slice(-1):"",g=n?" ":"",b=h.emoji+g+p;return i?o(b,h.name+" emoticon"):b}function s(d){let u=lC(d);if(typeof u>"u")return!1;if(n&&(u=u+" "),i){let f=d.slice(1,-1).replace(hbe," ")+" emoji";return o(u,f)}return u}let l=[[ube,s]];r&&l.push([fbe,a]);function c(d){ly(d,l)}return c}var mbe=function(){"use strict";var t={base:"https://twemoji.maxcdn.com/v/14.0.2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:x,toCodePoint:C},onerror:function(){this.parentNode&&this.parentNode.replaceChild(l(this.alt,!1),this)},parse:E,replace:v,test:j},e={"&":"&","<":"<",">":">","'":"'",'"':"""},n=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef0-\udef6]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedd-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7c\ude80-\ude86\ude90-\udeac\udeb0-\udeba\udec0-\udec2\uded0-\uded9\udee0-\udee7]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,r=/\uFE0F/g,i=String.fromCharCode(8205),o=/[&<>'"]/g,a=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,s=String.fromCharCode;return t;function l(P,z){return document.createTextNode(z?P.replace(r,""):P)}function c(P){return P.replace(o,g)}function d(P,z){return"".concat(z.base,z.size,"/",P,z.ext)}function u(P,z){for(var N=P.childNodes,O=N.length,J,V;O--;)J=N[O],V=J.nodeType,V===3?z.push(J):V===1&&!("ownerSVGElement"in J)&&!a.test(J.nodeName.toLowerCase())&&u(J,z);return z}function f(P){return C(P.indexOf(i)<0?P.replace(r,""):P)}function h(P,z){for(var N=u(P,[]),O=N.length,J,V,G,ie,me,q,X,ee,_e,D,je,Ie,I;O--;){for(G=!1,ie=document.createDocumentFragment(),me=N[O],q=me.nodeValue,ee=0;X=n.exec(q);){if(_e=X.index,_e!==ee&&ie.appendChild(l(q.slice(ee,_e),!0)),je=X[0],Ie=f(je),ee=_e+je.length,I=z.callback(Ie,z),Ie&&I){D=new Image,D.onerror=z.onerror,D.setAttribute("draggable","false"),J=z.attributes(je,Ie);for(V in J)J.hasOwnProperty(V)&&V.indexOf("on")!==0&&!D.hasAttribute(V)&&D.setAttribute(V,J[V]);D.className=z.className,D.alt=je,D.src=I,G=!0,ie.appendChild(D)}D||ie.appendChild(l(je,!1)),D=null}G&&(ee<q.length&&ie.appendChild(l(q.slice(ee),!0)),me.parentNode.replaceChild(ie,me))}return P}function p(P,z){return v(P,function(N){var O=N,J=f(N),V=z.callback(J,z),G,ie;if(J&&V){O="<img ".concat('class="',z.className,'" ','draggable="false" ','alt="',N,'"',' src="',V,'"'),G=z.attributes(N,J);for(ie in G)G.hasOwnProperty(ie)&&ie.indexOf("on")!==0&&O.indexOf(" "+ie+"=")===-1&&(O=O.concat(" ",ie,'="',c(G[ie]),'"'));O=O.concat("/>")}return O})}function g(P){return e[P]}function b(){return null}function _(P){return typeof P=="number"?P+"x"+P:P}function x(P){var z=typeof P=="string"?parseInt(P,16):P;return z<65536?s(z):(z-=65536,s(55296+(z>>10),56320+(z&1023)))}function E(P,z){return(!z||typeof z=="function")&&(z={callback:z}),(typeof P=="string"?p:h)(P,{callback:z.callback||d,attributes:typeof z.attributes=="function"?z.attributes:b,base:typeof z.base=="string"?z.base:t.base,ext:z.ext||t.ext,size:z.folder||_(z.size||t.size),className:z.className||t.className,onerror:z.onerror||t.onerror})}function v(P,z){return String(P).replace(n,z)}function j(P){n.lastIndex=0;var z=n.test(P);return n.lastIndex=0,z}function C(P,z){for(var N=[],O=0,J=0,V=0;V<P.length;)O=P.charCodeAt(V++),J?(N.push((65536+(J-55296<<10)+(O-56320)).toString(16)),J=0):55296<=O&&O<=56319?J=O:N.push(O.toString(16));return N.join(z||"-")}}(),Mq=mbe;var Tq=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var gbe=t=>({title:t});function Iq(t,e){return Mq.parse(t,S({attributes:gbe,base:"https://cdn.jsdelivr.net/gh/twitter/twemoji/assets/"},e))}var Aq=Tq(),ybe=t=>!!t.children,bbe=t=>!!t.value;function _be(t,e){return n(t,0,null)[0];function n(r,i,o){if(ybe(r)){let a=[];for(let s=0,l=r.children.length;s<l;s++){let c=r.children[s];if(c){let d=n(c,s,r);if(d)for(let u=0,f=d.length;u<f;u++){let h=d[u];h&&a.push(h)}}}r.children=a}return e(r,i,o)}}var wbe=t=>{function e(n){_be(n,r=>{if(!bbe(r))return[r];let i=r.value,o=[],a,s=i;for(;a=Aq.exec(s);){let{index:l}=a,c=a[0];c&&(l>0&&o.push(W(S({},r),{value:s.slice(0,l)})),o.push(W(S({},r),{value:Iq(c,t),type:"emoji"})),s=s.slice(l+c.length)),Aq.lastIndex=0}return s.length&&o.push(W(S({},r),{value:s})),o})}return e};function Bc(t,e){return Object.assign(t,{meta:S({package:"@milkdown/plugin-emoji"},e)}),t}var pb=Ri("emoji",()=>({span:{},img:{}}));Bc(pb,{displayName:"Attr<emoji>"});var cC=mn("emoji",t=>({group:"inline",inline:!0,attrs:{html:{default:""}},parseDOM:[{tag:'span[data-type="emoji"]',getAttrs:e=>{if(!(e instanceof HTMLElement))throw lr(e);return{html:e.innerHTML}}}],toDOM:e=>{var n;let r=t.get(pb.key)(e),i=document.createElement("span");i.innerHTML=e.attrs.html;let o=(n=i.firstElementChild)==null?void 0:n.cloneNode();return i.remove(),o&&o instanceof HTMLElement&&Object.entries(r.img).forEach(([a,s])=>o.setAttribute(a,s)),["span",W(S({},r.container),{"data-type":"emoji"}),o]},parseMarkdown:{match:({type:e})=>e==="emoji",runner:(e,n,r)=>{e.addNode(r,{html:n.value})}},toMarkdown:{match:e=>e.type.name==="emoji",runner:(e,n)=>{let r=document.createElement("span");r.innerHTML=n.attrs.html;let i=r.querySelector("img"),o=i?.title||i?.alt;r.remove(),e.addNode("text",void 0,o)}}}));Bc(cC.node,{displayName:"NodeSchema<emoji>"});Bc(cC.ctx,{displayName:"NodeSchemaCtx<emoji>"});var zO=wi("remarkEmoji",()=>jO);Bc(zO.plugin,{displayName:"Remark<remarkEmojiPlugin>"});Bc(zO.options,{displayName:"RemarkConfig<remarkEmojiPlugin>"});var dC=wi("remarkTwemoji",()=>wbe);Bc(dC.plugin,{displayName:"Remark<remarkTwemojiPlugin>"});Bc(dC.options,{displayName:"RemarkConfig<remarkTwemojiPlugin>"});var Oq=Lr(t=>new zn(/(:([^:\s]+):)$/,(e,n,r,i)=>{let o=n[0];if(!o)return null;let a=lC(o);if(!a||o.includes(a))return null;let s=Iq(a,t.get(dC.options.key));return e.tr.setMeta("emoji",!0).replaceRangeWith(r,i,cC.type(t).create({html:s})).scrollIntoView()}));Bc(Oq,{displayName:"InputRule<insertEmojiInputRule>"});var Pq=[pb,zO,dC,cC,Oq].flat();var vbe=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},Fq=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},LO=(t,e,n)=>(vbe(t,e,"access private method"),n),uC,BO,fC=class{constructor({node:e,view:n,getPos:r,decorations:i,innerDecorations:o,options:a}){Fq(this,uC),this.selected=!1,this.selectNode=()=>{var s,l;this.selected=!0,(l=(s=this.options).selectNode)==null||l.call(s)},this.deselectNode=()=>{var s,l;this.selected=!1,(l=(s=this.options).deselectNode)==null||l.call(s)},this.shouldUpdate=s=>!(s.type!==this.node.type||s.sameMarkup(this.node)&&s.content.eq(this.node.content)),this.update=(s,l,c)=>{var d,u;let f=this.options.update,h;return f&&(h=f(s,l,c)),typeof h!="boolean"&&(h=this.shouldUpdate(s)),this.node=s,this.decorations=l,this.innerDecorations=c,h&&((u=(d=this.options).onUpdate)==null||u.call(d)),h},this.shouldIgnoreMutation=s=>!this.dom||!this.contentDOM||this.node.isLeaf||this.node.isAtom?!0:s.type==="selection"?!1:this.contentDOM===s.target&&s.type==="attributes"?!0:!this.contentDOM.contains(s.target),this.ignoreMutation=s=>{if(!this.dom||!this.contentDOM)return!0;let l,c=this.options.ignoreMutation;return c&&(l=c(s)),typeof l!="boolean"&&(l=this.shouldIgnoreMutation(s)),l},this.destroy=()=>{var s,l,c;(l=(s=this.options).destroy)==null||l.call(s),this.dom.remove(),(c=this.contentDOM)==null||c.remove()},this.setAttrs=s=>{let{dispatch:l,state:c}=this.view,d=this.getPos();if(typeof d=="number")return l(c.tr.setNodeMarkup(d,void 0,S(S({},this.node.attrs),s)))},this.node=e,this.view=n,this.getPos=r,this.decorations=i,this.innerDecorations=o,this.options=a,this.dom=this.createDOM(a.as),this.contentDOM=e.isLeaf?null:this.createContentDOM(a.contentAs),this.dom.setAttribute("data-node-view-root","true"),this.contentDOM&&(this.contentDOM.setAttribute("data-node-view-content","true"),this.contentDOM.style.whiteSpace="inherit"),this.setSelection=a.setSelection,this.stopEvent=a.stopEvent}createDOM(e){return LO(this,uC,BO).call(this,e)}createContentDOM(e){return LO(this,uC,BO).call(this,e)}get component(){return this.options.component}};uC=new WeakSet,BO=function(t){let{node:e}=this;return t==null?document.createElement(e.isInline?"span":"div"):t instanceof HTMLElement?t:t instanceof Function?t(e):document.createElement(t)};var hC=class{constructor(e){this.view=e.view,this.options=e.options}get component(){return this.options.component}get root(){var e,n;let r=(n=(e=this.options).root)==null?void 0:n.call(e,this.view.dom);return r||(r=this.view.dom.parentElement??document.body),r}update(e,n){var r,i;this.view=e,this.prevState=n,(i=(r=this.options).update)==null||i.call(r,e,n)}destroy(){var e,n;(n=(e=this.options).destroy)==null||n.call(e)}},VO,Nq,pC=class{constructor({pos:e,spec:n,options:r}){Fq(this,VO),this.pos=e,this.options=r,this.spec=n,this.dom=LO(this,VO,Nq).call(this,r.as),this.dom.setAttribute("data-widget-view-root","true")}bind(e,n){this.view=e,this.getPos=n}get component(){return this.options.component}};VO=new WeakSet,Nq=function(t){return t instanceof HTMLElement?t:document.createElement(t)};var mC=t=>t.firstElementChild?t.firstElementChild:t,gC=(()=>{let e=class e{constructor(r,i){this._injector=r,this._vcf=i,this.nodeView={},this.nodeViewContext={},this.createNodeView=o=>(a,s,l,c,d)=>{let u=this._vcf.createComponent(o.component,{injector:this._injector}),f=o.key||wk();return Object.keys(o.inputs||{}).forEach(h=>{u.setInput(h,o.inputs[h])}),u.setInput("provider",this.provider),u.setInput("key",f),this.nodeView[f]=new fC({node:a,view:s,getPos:l,decorations:c,innerDecorations:d,options:W(S({},o),{component:u,onUpdate:()=>{o.onUpdate?.(),this.updateNodeViewContext(f),this.nodeViewContext[f].contentRef(u.instance.el.nativeElement)},selectNode:()=>{o.selectNode?.(),this.updateNodeViewContext(f)},deselectNode:()=>{o.deselectNode?.(),this.updateNodeViewContext(f)},destroy:()=>{o.destroy?.(),this.updateNodeViewContext(f)}})}),mC(this.nodeView[f].dom).appendChild(u.location.nativeElement),this.updateNodeViewContext(f),this.nodeViewContext[f].contentRef(u.instance.container),this.nodeView[f]},this.pluginView={},this.pluginViewContext={},this.createPluginView=o=>a=>{let s=o.key||wk(),l=this._vcf.createComponent(o.component,{injector:this._injector});return Object.keys(o.inputs||{}).forEach(c=>{l.setInput(c,o.inputs[c])}),l.setInput("provider",this.provider),l.setInput("key",s),this.pluginView[s]=l.instance.pluginView||new hC({view:a,options:W(S({},o),{component:l.instance,update:(c,d)=>{o.update?.(c,d),this.updatePluginViewContext(s)},destroy:()=>{l.destroy(),o.destroy?.(),this.pluginView[s].destroy(),delete this.pluginView[s]}})}),mC(this.provider.editor.el.nativeElement).appendChild(l.instance.container),this.pluginView[s].update(a,a.state),this.updatePluginViewContext(s,a,a.state),this.pluginView[s]},this.widgetView={},this.widgetViewContext={},this.createWidgetView=o=>(a,s={})=>{let l=this._vcf.createComponent(o.component,{injector:this._injector}),c=o.key||wk();Object.keys(o.inputs||{}).forEach(u=>{l.setInput(u,o.inputs[u])}),l.setInput("provider",this.provider),l.setInput("key",c);let d=W(S({key:c},s),{destroy:u=>{s.destroy?.(u),l.destroy()}});return this.widgetView[c]=new pC({pos:a,spec:d,options:W(S({},o),{component:l.instance})}),pn.widget(a,(u,f)=>(this.widgetView[c].bind(u,f),this.updateWidgetViewContext(c,u,f,d),l.instance.onUpdate.emit(this.widgetViewContext[c]),mC(this.widgetView[c].dom).appendChild(l.instance.container),this.widgetView[c].dom),d)}}updateNodeViewContext(r){let i=this.nodeView[r];i.view&&(this.nodeViewContext[r]=W(S({},this.nodeViewContext[r]),{setAttrs:i.setAttrs,view:Object.assign(Object.create(Object.getPrototypeOf(i.view)),i.view),getPos:i.getPos,node:i.node,selected:i.selected,decorations:i.decorations,innerDecorations:i.innerDecorations,contentRef:o=>{o&&o instanceof HTMLElement&&i.contentDOM&&o.firstChild!==i.contentDOM&&mC(o).appendChild(i.contentDOM)}}))}updatePluginViewContext(r,i,o){let a=this.pluginView[r];a.view||(a.view=i,a.prevState=o),this.pluginViewContext[r]={view:a.view,prevState:a.prevState}}updateWidgetViewContext(r,i,o,a){let s=this.widgetView[r];s.view=s.view||i,s.getPos=s.getPos||o,s.spec=s.spec||a,this.widgetViewContext[r]=W(S(S({},this.widgetViewContext[r]),s),{spec:s.spec})}};e.\u0275fac=function(i){return new(i||e)(B(er),B($n))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();var xbe=["*"],mb=(()=>{let e=class e{set editor(r){this._editorComp=r,r&&(this._editorComp.provider=this,this.service.editor=this._editorComp)}get editor(){return this._editorComp}constructor(r){this.service=r,this.createNodeView=this.service.createNodeView,this.createPluginView=this.service.createPluginView,this.createWidgetView=this.service.createWidgetView,this.service.provider=this}};e.\u0275fac=function(i){return new(i||e)(R(gC))},e.\u0275cmp=De({type:e,selectors:[["ng-prosemirror-adapter-provider"]],contentQueries:function(i,o,a){if(i&1&&Wr(a,K0,5),i&2){let s;_t(s=wt())&&(o.editor=s.first)}},standalone:!0,features:[Rn([gC]),He],ngContentSelectors:xbe,decls:1,vars:0,template:function(i,o){i&1&&(So(),Nn(0))},dependencies:[ca],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]});let t=e;return t})();var Ho=(()=>{let e=class e{constructor(r){this.el=r}get context(){return this.provider?.service?.nodeViewContext?.[this.key]}get view(){return this.context?.view}get contentRef(){return this.context?.contentRef}get getPos(){return this.context?.getPos}get setAttrs(){return this.context?.setAttrs}get node(){return this.context?.node}get selected(){return this.context?.selected}get decorations(){return this.context?.decorations}get innerDecorations(){return this.context?.innerDecorations}get container(){return this.el.nativeElement}ngAfterViewInit(){this.context?.contentRef(this.container)}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["ng-prosemirror-node"]],inputs:{key:"key",provider:"provider"},standalone:!0});let t=e;return t})();var HO;try{HO=typeof Intl<"u"&&Intl.v8BreakIterator}catch{HO=!1}var on=(()=>{let e=class e{constructor(r){this._platformId=r,this.isBrowser=this._platformId?IN(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||HO)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(B(Va))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Yp,Rq=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function $O(){if(Yp)return Yp;if(typeof document!="object"||!document)return Yp=new Set(Rq),Yp;let t=document.createElement("input");return Yp=new Set(Rq.filter(e=>(t.setAttribute("type",e),t.type===e))),Yp}var gb;function Cbe(){if(gb==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gb=!0}))}finally{gb=gb||!1}return gb}function gs(t){return Cbe()?t:!!t.capture}var af;function jq(){if(af==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return af=!1,af;if("scrollBehavior"in document.documentElement.style)af=!0;else{let t=Element.prototype.scrollTo;t?af=!/\{\s*\[native code\]\s*\}/.test(t.toString()):af=!1}}return af}var UO;function Dbe(){if(UO==null){let t=typeof document<"u"?document.head:null;UO=!!(t&&(t.createShadowRoot||t.attachShadow))}return UO}function zq(t){if(Dbe()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function yb(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Ca(t){return t.composedPath?t.composedPath()[0]:t.target}function bb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Vc(t,...e){return e.length?e.some(n=>t[n]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Ar(t){return t!=null&&`${t}`!="false"}function $o(t,e=0){return Sbe(t)?Number(t):e}function Sbe(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Kp(t){return Array.isArray(t)?t:[t]}function Gn(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Ui(t){return t instanceof Ce?t.nativeElement:t}var Lq=(()=>{let e=class e{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ebe=(()=>{let e=class e{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,i)=>this._cleanupObserver(i))}observe(r){let i=Ui(r);return new Ke(o=>{let s=this._observeElement(i).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{let i=new Ee,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:o,stream:i,count:1})}return this._observedElements.get(r).stream}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){let{observer:i,stream:o}=this._observedElements.get(r);i&&i.disconnect(),o.complete(),this._observedElements.delete(r)}}};e.\u0275fac=function(i){return new(i||e)(B(Lq))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Bq=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=$o(r),this._subscribe()}constructor(r,i,o){this._contentObserver=r,this._elementRef=i,this._ngZone=o,this.event=new Xe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?r.pipe(dd(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(R(Ebe),R(Ce),R(xe))},e.\u0275dir=ve({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",fi],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[Do]});let t=e;return t})(),Zp=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({providers:[Lq]});let t=e;return t})();var Vq=new Set,sf,Tbe=(()=>{let e=class e{constructor(r,i){this._platform=r,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ibe}matchMedia(r){return(this._platform.WEBKIT||this._platform.BLINK)&&Abe(r,this._nonce),this._matchMedia(r)}};e.\u0275fac=function(i){return new(i||e)(B(on),B(dg,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Abe(t,e){if(!Vq.has(t))try{sf||(sf=document.createElement("style"),e&&(sf.nonce=e),sf.setAttribute("type","text/css"),document.head.appendChild(sf)),sf.sheet&&(sf.sheet.insertRule(`@media ${t} {body{ }}`,0),Vq.add(t))}catch(n){console.error(n)}}function Ibe(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Hq=(()=>{let e=class e{constructor(r,i){this._mediaMatcher=r,this._zone=i,this._queries=new Map,this._destroySubject=new Ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(r){return Uq(Kp(r)).some(o=>this._registerQuery(o).mql.matches)}observe(r){let o=Uq(Kp(r)).map(s=>this._registerQuery(s).observable),a=Hf(o);return a=Fl(a.pipe(Un(1)),a.pipe(ud(1),dd(0))),a.pipe(lt(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(r){if(this._queries.has(r))return this._queries.get(r);let i=this._mediaMatcher.matchMedia(r),a={observable:new Ke(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Mi(i),lt(({matches:s})=>({query:r,matches:s})),Pn(this._destroySubject)),mql:i};return this._queries.set(r,a),a}};e.\u0275fac=function(i){return new(i||e)(B(Tbe),B(xe))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Uq(t){return t.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var WO=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ee,this._typeaheadSubscription=Lt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new Ee,this.change=new Ee,e instanceof Gl&&(this._itemChangesSubscription=e.changes.subscribe(n=>{if(this._activeItem){let i=n.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Hn(n=>this._pressedLetters.push(n)),dd(e),Yt(()=>this._pressedLetters.length>0),lt(()=>this._pressedLetters.join(""))).subscribe(n=>{let r=this._getItemsArray();for(let i=1;i<r.length+1;i++){let o=(this._activeItemIndex+i)%r.length,a=r[o];if(!this._skipPredicateFn(a)&&a.getLabel().toUpperCase().trim().indexOf(n)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,n=10){return this._pageUpAndDown={enabled:e,delta:n},this}setActiveItem(e){let n=this._activeItem;this.updateActiveItem(e),this._activeItem!==n&&this.change.next(this._activeItemIndex)}onKeydown(e){let n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(i||Vc(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let n=this._getItemsArray(),r=typeof e=="number"?e:n.indexOf(e),i=n[r];this._activeItem=i??null,this._activeItemIndex=r}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let n=this._getItemsArray();for(let r=1;r<=n.length;r++){let i=(this._activeItemIndex+e*r+n.length)%n.length,o=n[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let r=this._getItemsArray();if(r[e]){for(;this._skipPredicateFn(r[e]);)if(e+=n,!r[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Gl?this._items.toArray():this._items}};var bC=class extends WO{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var _b=(()=>{let e=class e{constructor(r){this._platform=r}isDisabled(r){return r.hasAttribute("disabled")}isVisible(r){return Xbe(r)&&getComputedStyle(r).visibility==="visible"}isTabbable(r){if(!this._platform.isBrowser)return!1;let i=Zbe(o_e(r));if(i&&($q(i)===-1||!this.isVisible(i)))return!1;let o=r.nodeName.toLowerCase(),a=$q(r);return r.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!r_e(r)?!1:o==="audio"?r.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||r.hasAttribute("controls"):r.tabIndex>=0}isFocusable(r,i){return i_e(r)&&!this.isDisabled(r)&&(i?.ignoreVisibility||this.isVisible(r))}};e.\u0275fac=function(i){return new(i||e)(B(on))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Zbe(t){try{return t.frameElement}catch{return null}}function Xbe(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Qbe(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function Jbe(t){return t_e(t)&&t.type=="hidden"}function e_e(t){return n_e(t)&&t.hasAttribute("href")}function t_e(t){return t.nodeName.toLowerCase()=="input"}function n_e(t){return t.nodeName.toLowerCase()=="a"}function Gq(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function $q(t){if(!Gq(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function r_e(t){let e=t.nodeName.toLowerCase(),n=e==="input"&&t.type;return n==="text"||n==="password"||e==="select"||e==="textarea"}function i_e(t){return Jbe(t)?!1:Qbe(t)||e_e(t)||t.hasAttribute("contenteditable")||Gq(t)}function o_e(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var GO=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,n,r,i,o=!1){this._element=e,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let n=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let r=this._getFirstTabbableElement(n);return r?.focus(e),!!r}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}focusLastTabbableElement(e){let n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let r=0;r<n.length;r++){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let r=n.length-1;r>=0;r--){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Un(1)).subscribe(e)}},_C=(()=>{let e=class e{constructor(r,i,o){this._checker=r,this._ngZone=i,this._document=o}create(r,i=!1){return new GO(r,this._checker,this._ngZone,this._document,i)}};e.\u0275fac=function(i){return new(i||e)(B(_b),B(xe),B(tt))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function YO(t){return t.buttons===0||t.detail===0}function KO(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var a_e=new de("cdk-input-modality-detector-options"),s_e={ignoreKeys:[18,17,224,91,16]},Yq=650,Xp=gs({passive:!0,capture:!0}),l_e=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(r,i,o,a){this._platform=r,this._mostRecentTarget=null,this._modality=new Zn(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ca(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Yq||(this._modality.next(YO(s)?"keyboard":"mouse"),this._mostRecentTarget=Ca(s))},this._onTouchstart=s=>{if(KO(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ca(s)},this._options=S(S({},s_e),a),this.modalityDetected=this._modality.pipe(ud(1)),this.modalityChanged=this.modalityDetected.pipe(Ll()),r.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Xp),o.addEventListener("mousedown",this._onMousedown,Xp),o.addEventListener("touchstart",this._onTouchstart,Xp)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Xp),document.removeEventListener("mousedown",this._onMousedown,Xp),document.removeEventListener("touchstart",this._onTouchstart,Xp))}};e.\u0275fac=function(i){return new(i||e)(B(on),B(xe),B(tt),B(a_e,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var c_e=new de("cdk-focus-monitor-default-options"),yC=gs({passive:!0,capture:!0}),Uc=(()=>{let e=class e{constructor(r,i,o,a,s){this._ngZone=r,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ee,this._rootNodeFocusAndBlurListener=l=>{let c=Ca(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=a,this._detectionMode=s?.detectionMode||0}monitor(r,i=!1){let o=Ui(r);if(!this._platform.isBrowser||o.nodeType!==1)return ze();let a=zq(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let l={checkChildren:i,subject:new Ee,rootNode:a};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(r){let i=Ui(r),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(r,i,o){let a=Ui(r),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((r,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(r){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(r)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:r&&this._isLastInteractionFromInputLabel(r)?"mouse":"program"}_shouldBeAttributedToTouch(r){return this._detectionMode===1||!!r?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(r,i){r.classList.toggle("cdk-focused",!!i),r.classList.toggle("cdk-touch-focused",i==="touch"),r.classList.toggle("cdk-keyboard-focused",i==="keyboard"),r.classList.toggle("cdk-mouse-focused",i==="mouse"),r.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(r,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=r,this._originFromTouchInteraction=r==="touch"&&i,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Yq:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(r,i){let o=this._elementInfo.get(i),a=Ca(r);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(r,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&r.relatedTarget instanceof Node&&i.contains(r.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(r,i){r.subject.observers.length&&this._ngZone.run(()=>r.subject.next(i))}_registerGlobalListeners(r){if(!this._platform.isBrowser)return;let i=r.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,yC),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,yC)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Pn(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(r){let i=r.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,yC),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,yC),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(r,i,o){this._setClasses(r,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(r){let i=[];return this._elementInfo.forEach((o,a)=>{(a===r||o.checkChildren&&a.contains(r))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(r){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===r||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA"||r.disabled)return!1;let a=r.labels;if(a){for(let s=0;s<a.length;s++)if(a[s].contains(i))return!0}return!1}};e.\u0275fac=function(i){return new(i||e)(B(xe),B(on),B(l_e),B(tt,8),B(c_e,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Kq=(()=>{let e=class e{constructor(r,i){this._elementRef=r,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Xe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let r=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(r,r.nodeType===1&&r.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(Uc))},e.\u0275dir=ve({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});let t=e;return t})(),qq="cdk-high-contrast-black-on-white",Wq="cdk-high-contrast-white-on-black",qO="cdk-high-contrast-active",ZO=(()=>{let e=class e{constructor(r,i){this._platform=r,this._document=i,this._breakpointSubscription=ae(Hq).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let r=this._document.createElement("div");r.style.backgroundColor="rgb(1,2,3)",r.style.position="absolute",this._document.body.appendChild(r);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(r):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(r.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let r=this._document.body.classList;r.remove(qO,qq,Wq),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===1?r.add(qO,qq):i===2&&r.add(qO,Wq)}}};e.\u0275fac=function(i){return new(i||e)(B(on),B(tt))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Zq=(()=>{let e=class e{constructor(r){r._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(B(ZO))},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Zp]});let t=e;return t})();var d_e=new de("cdk-dir-doc",{providedIn:"root",factory:u_e});function u_e(){return ae(tt)}var f_e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function h_e(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?f_e.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Da=(()=>{let e=class e{constructor(r){if(this.value="ltr",this.change=new Xe,r){let i=r.body?r.body.dir:null,o=r.documentElement?r.documentElement.dir:null;this.value=h_e(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(B(d_e,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var XO=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({});let t=e;return t})();var bs="*";function vC(t,e){return{type:7,name:t,definitions:e,options:{}}}function Qp(t,e=null){return{type:4,styles:e,timings:t}}function Xq(t,e=null){return{type:2,steps:t,options:e}}function qo(t){return{type:6,styles:t,offset:null}}function Jp(t,e,n){return{type:0,name:t,styles:e,options:n}}function em(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}var Hc=class{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},wb=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++n==o&&this._onFinish()}),a.onDestroy(()=>{++r==o&&this._onDestroy()}),a.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},kC="!";function Qq(t){return new le(3e3,!1)}function p_e(){return new le(3100,!1)}function m_e(){return new le(3101,!1)}function g_e(t){return new le(3001,!1)}function y_e(t){return new le(3003,!1)}function b_e(t){return new le(3004,!1)}function __e(t,e){return new le(3005,!1)}function w_e(){return new le(3006,!1)}function v_e(){return new le(3007,!1)}function k_e(t,e){return new le(3008,!1)}function x_e(t){return new le(3002,!1)}function C_e(t,e,n,r,i){return new le(3010,!1)}function D_e(){return new le(3011,!1)}function S_e(){return new le(3012,!1)}function E_e(){return new le(3200,!1)}function M_e(){return new le(3202,!1)}function T_e(){return new le(3013,!1)}function A_e(t){return new le(3014,!1)}function I_e(t){return new le(3015,!1)}function O_e(t){return new le(3016,!1)}function P_e(t,e){return new le(3404,!1)}function F_e(t){return new le(3502,!1)}function N_e(t){return new le(3503,!1)}function R_e(){return new le(3300,!1)}function j_e(t){return new le(3504,!1)}function z_e(t){return new le(3301,!1)}function L_e(t,e){return new le(3302,!1)}function B_e(t){return new le(3303,!1)}function V_e(t,e){return new le(3400,!1)}function U_e(t){return new le(3401,!1)}function H_e(t){return new le(3402,!1)}function $_e(t,e){return new le(3505,!1)}function $c(t){switch(t.length){case 0:return new Hc;case 1:return t[0];default:return new wb(t)}}function fW(t,e,n=new Map,r=new Map){let i=[],o=[],a=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((f,h)=>{let p=h,g=f;if(h!=="offset")switch(p=t.normalizePropertyName(p,i),g){case kC:g=n.get(h);break;case bs:g=r.get(h);break;default:g=t.normalizeStyleValue(h,p,g,i);break}u.set(p,g)}),d||o.push(u),s=u,a=c}),i.length)throw F_e(i);return o}function w6(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&JO(n,"start",t)));break;case"done":t.onDone(()=>r(n&&JO(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&JO(n,"destroy",t)));break}}function JO(t,e,n){let r=n.totalTime,i=!!n.disabled,o=v6(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),a=t._data;return a!=null&&(o._data=a),o}function v6(t,e,n,r,i="",o=0,a){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function fo(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function Jq(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var q_e=(()=>typeof document>"u"?null:document.documentElement)();function k6(t){let e=t.parentNode||t.host||null;return e===q_e?null:e}function W_e(t){return t.substring(1,6)=="ebkit"}var lf=null,eW=!1;function G_e(t){lf||(lf=Y_e()||{},eW=lf.style?"WebkitAppearance"in lf.style:!1);let e=!0;return lf.style&&!W_e(t)&&(e=t in lf.style,!e&&eW&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in lf.style)),e}function Y_e(){return typeof document<"u"?document.body:null}function hW(t,e){for(;e;){if(e===t)return!0;e=k6(e)}return!1}function pW(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var x6=(()=>{let e=class e{validateStyleProperty(r){return G_e(r)}matchesElement(r,i){return!1}containsElement(r,i){return hW(r,i)}getParentElement(r){return k6(r)}query(r,i,o){return pW(r,i,o)}computeStyle(r,i,o){return o||""}animate(r,i,o,a,s,l=[],c){return new Hc(o,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})(),Eb=(()=>{let e=class e{};e.NOOP=new x6;let t=e;return t})(),uf=class{};var K_e=1e3,mW="{{",Z_e="}}",gW="ng-enter",o6="ng-leave",xC="ng-trigger",MC=".ng-trigger",tW="ng-animating",a6=".ng-animating";function kl(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:s6(parseFloat(e[1]),e[2])}function s6(t,e){switch(e){case"s":return t*K_e;default:return t}}function TC(t,e,n){return t.hasOwnProperty("duration")?t:X_e(t,e,n)}function X_e(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,a="";if(typeof t=="string"){let s=t.match(r);if(s===null)return e.push(Qq(t)),{duration:0,delay:0,easing:""};i=s6(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=s6(parseFloat(l),s[4]));let c=s[5];c&&(a=c)}else i=t;if(!n){let s=!1,l=e.length;i<0&&(e.push(p_e()),s=!0),o<0&&(e.push(m_e()),s=!0),s&&e.splice(l,0,Qq(t))}return{duration:i,delay:o,easing:a}}function Mb(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function yW(t){let e=new Map;return Object.keys(t).forEach(n=>{let r=t[n];e.set(n,r)}),e}function Q_e(t){return t.length?t[0]instanceof Map?t:t.map(e=>yW(e)):[]}function nm(t,e=new Map,n){if(n)for(let[r,i]of n)e.set(r,i);for(let[r,i]of t)e.set(r,i);return e}function _s(t,e,n){e.forEach((r,i)=>{let o=C6(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function df(t,e){e.forEach((n,r)=>{let i=C6(r);t.style[i]=""})}function vb(t){return Array.isArray(t)?t.length==1?t[0]:Xq(t):t}function J_e(t,e,n){let r=e.params||{},i=bW(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(g_e(o))})}var l6=new RegExp(`${mW}\\s*(.+?)\\s*${Z_e}`,"g");function bW(t){let e=[];if(typeof t=="string"){let n;for(;n=l6.exec(t);)e.push(n[1]);l6.lastIndex=0}return e}function xb(t,e,n){let r=t.toString(),i=r.replace(l6,(o,a)=>{let s=e[a];return s==null&&(n.push(y_e(a)),s=""),s.toString()});return i==r?t:i}function AC(t){let e=[],n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}var ewe=/-+([a-z0-9])/g;function C6(t){return t.replace(ewe,(...e)=>e[1].toUpperCase())}function twe(t,e){return t===0||e===0}function nwe(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,a)=>{r.has(a)||i.push(a),r.set(a,o)}),i.length)for(let o=1;o<e.length;o++){let a=e[o];i.forEach(s=>a.set(s,_W(t,s)))}}return e}function uo(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw b_e(e.type)}}function _W(t,e){return window.getComputedStyle(t)[e]}var rwe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),IC=class extends uf{normalizePropertyName(e,n){return C6(e)}normalizeStyleValue(e,n,r,i){let o="",a=r.toString().trim();if(rwe.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&i.push(__e(e,r))}return a+o}};var OC="*";function iwe(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>owe(r,n,e)):n.push(t),n}function owe(t,e,n){if(t[0]==":"){let l=awe(t,n);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(I_e(t)),e;let i=r[1],o=r[2],a=r[3];e.push(nW(i,a));let s=i==OC&&a==OC;o[0]=="<"&&!s&&e.push(nW(a,i))}function awe(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(O_e(t)),"* => *"}}var CC=new Set(["true","1"]),DC=new Set(["false","0"]);function nW(t,e){let n=CC.has(t)||DC.has(t),r=CC.has(e)||DC.has(e);return(i,o)=>{let a=t==OC||t==i,s=e==OC||e==o;return!a&&n&&typeof i=="boolean"&&(a=i?CC.has(t):DC.has(t)),!s&&r&&typeof o=="boolean"&&(s=o?CC.has(e):DC.has(e)),a&&s}}var wW=":self",swe=new RegExp(`s*${wW}s*,?`,"g");function vW(t,e,n,r){return new c6(t).build(e,n,r)}var rW="",c6=class{constructor(e){this._driver=e}build(e,n,r){let i=new d6(n);return this._resetContextStyleTimingState(i),uo(this,vb(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=rW,e.collectedStyles=new Map,e.collectedStyles.set(rW,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&n.errors.push(w_e()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(n),s.type==0){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,n))}),l.name=c}else if(s.type==1){let l=this.visitTransition(s,n);r+=l.queryCount,i+=l.depCount,a.push(l)}else n.errors.push(v_e())}),{type:7,name:e.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,a=i||{};if(r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{bW(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size){let s=AC(o.values());n.errors.push(k_e(e.name,s))}}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=uo(this,vb(e.animation),n);return{type:1,matchers:iwe(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:cf(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>uo(this,r,n)),options:cf(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(a=>{n.currentTime=r;let s=uo(this,a,n);return i=Math.max(i,n.currentTime),s});return n.currentTime=i,{type:3,steps:o,options:cf(e.options)}}visitAnimate(e,n){let r=uwe(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:qo({});if(o.type==5)i=this.visitKeyframes(o,n);else{let a=e.styles,s=!1;if(!a){s=!0;let c={};r.easing&&(c.easing=r.easing),a=qo(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,n);l.isEmptyStep=s,i=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of i)typeof s=="string"?s===bs?r.push(s):n.errors.push(x_e(s)):r.push(yW(s));let o=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(mW)>=0){o=!0;break}}}),{type:6,styles:r,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(n.errors.push(C_e(l,d.startTime,d.endTime,o,i)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),n.options&&J_e(s,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(D_e()),r;let i=1,o=0,a=[],s=!1,l=!1,c=0,d=e.steps.map(_=>{let x=this._makeStyleAst(_,n),E=x.offset!=null?x.offset:dwe(x.styles),v=0;return E!=null&&(o++,v=x.offset=E),l=l||v<0||v>1,s=s||v<c,c=v,a.push(v),x});l&&n.errors.push(S_e()),s&&n.errors.push(E_e());let u=e.steps.length,f=0;o>0&&o<u?n.errors.push(M_e()):o==0&&(f=i/(u-1));let h=u-1,p=n.currentTime,g=n.currentAnimateTimings,b=g.duration;return d.forEach((_,x)=>{let E=f>0?x==h?1:f*x:a[x],v=E*b;n.currentTime=p+g.delay+v,g.duration=v,this._validateStyleAst(_,n),_.offset=E,r.styles.push(_)}),r}visitReference(e,n){return{type:8,animation:uo(this,vb(e.animation),n),options:cf(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:cf(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:cf(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,a]=lwe(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,fo(n.collectedStyles,n.currentQuerySelector,new Map);let s=uo(this,vb(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:cf(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(T_e());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:TC(e.timings,n.errors,!0);return{type:12,animation:uo(this,vb(e.animation),n),timings:r,options:null}}};function lwe(t){let e=!!t.split(/\s*,\s*/).find(n=>n==wW);return e&&(t=t.replace(swe,"")),t=t.replace(/@\*/g,MC).replace(/@\w+/g,n=>MC+"-"+n.slice(1)).replace(/:animating/g,a6),[t,e]}function cwe(t){return t?Mb(t):null}var d6=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function dwe(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function uwe(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=TC(t,e).duration;return e6(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=e6(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=TC(n,e);return e6(i.duration,i.delay,i.easing)}function cf(t){return t?(t=Mb(t),t.params&&(t.params=cwe(t.params))):t={},t}function e6(t,e,n){return{duration:t,delay:e,easing:n}}function D6(t,e,n,r,i,o,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var Cb=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},fwe=1,hwe=":enter",pwe=new RegExp(hwe,"g"),mwe=":leave",gwe=new RegExp(mwe,"g");function kW(t,e,n,r,i,o=new Map,a=new Map,s,l,c=[]){return new u6().buildKeyframes(t,e,n,r,i,o,a,s,l,c)}var u6=class{buildKeyframes(e,n,r,i,o,a,s,l,c,d=[]){c=c||new Cb;let u=new f6(e,n,c,i,o,d,[]);u.options=l;let f=l.delay?kl(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([a],null,u.errors,l),uo(this,r,u);let h=u.timelines.filter(p=>p.containsAnimation());if(h.length&&s.size){let p;for(let g=h.length-1;g>=0;g--){let b=h[g];if(b.element===n){p=b;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,u.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[D6(n,[],[],[],0,f,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,a=this._visitSubInstructions(r,i,i.options);o!=a&&n.transformIntoNewTimeline(a)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let a=typeof o=="number"?o:kl(xb(o,i?.params??{},n.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,a=r.duration!=null?kl(r.duration):null,s=r.delay!=null?kl(r.delay):null;return a!==0&&e.forEach(l=>{let c=n.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),uo(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==6&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=PC);let a=kl(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>uo(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?kl(e.options.delay):0;e.steps.forEach(a=>{let s=n.createSubContext(e.options);o&&s.delayNextStep(o),uo(this,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>n.currentTimeline.mergeTimelineCollectedStyles(a)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?xb(r,n.params,n.errors):r;return TC(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,s=n.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,n.errors,n.options),s.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(s),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?kl(i.delay):0;o&&(n.previousNode.type===6||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=PC);let a=r,s=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{n.currentQueryIndex=d;let u=n.createSubContext(e.options,c);o&&u.delayNextStep(o),c===n.element&&(l=u.currentTimeline),uo(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let f=u.currentTimeline.currentTime;a=Math.max(a,f)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(a),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,a=Math.abs(o.duration),s=a*(n.currentQueryTotal-1),l=a*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime;break}let d=n.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;uo(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-u+(i.startTime-r.currentTimeline.startTime)}},PC={},f6=class t{constructor(e,n,r,i,o,a,s,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=PC,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new FC(this._driver,n,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=kl(r.duration)),r.delay!=null&&(i.delay=kl(r.delay));let o=r.params;if(o){let a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!n||!a.hasOwnProperty(s))&&(a[s]=xb(o[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=PC,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new h6(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,a){let s=[];if(i&&s.push(this.element),e.length>0){e=e.replace(pwe,"."+this._enterClassName),e=e.replace(gwe,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!o&&s.length==0&&a.push(A_e(n)),s}},FC=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=fwe,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||bs),this._currentKeyframe.set(n,bs);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},a=ywe(e,this._globalTimelineStyles);for(let[s,l]of a){let c=xb(l,o,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??bs),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((s,l)=>{let c=nm(s,new Map,this._backFill);c.forEach((d,u)=>{d===kC?e.add(u):d===bs&&n.add(u)}),r||c.set("offset",l/this.duration),i.push(c)});let o=e.size?AC(e.values()):[],a=n.size?AC(n.values()):[];if(r){let s=i[0],l=new Map(s);s.set("offset",0),l.set("offset",1),i=[s,l]}return D6(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}},h6=class extends FC{constructor(e,n,r,i,o,a,s=!1){super(e,n,a.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],a=r+n,s=n/a,l=nm(e[0]);l.set("offset",0),o.push(l);let c=nm(e[0]);c.set("offset",iW(s)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let f=nm(e[u]),h=f.get("offset"),p=n+h*r;f.set("offset",iW(p/a)),o.push(f)}r=a,n=0,i="",e=o}return D6(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function iW(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function ywe(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r=r||e.keys();for(let o of r)n.set(o,bs)}else nm(i,n)}),n}function oW(t,e,n,r,i,o,a,s,l,c,d,u,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}var t6={},NC=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return bwe(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,a,s,l,c,d){let u=[],f=this.ast.options&&this.ast.options.params||t6,h=s&&s.params||t6,p=this.buildStyles(r,h,u),g=l&&l.params||t6,b=this.buildStyles(i,g,u),_=new Set,x=new Map,E=new Map,v=i==="void",j={params:_we(g,f),delay:this.ast.options?.delay},C=d?[]:kW(e,n,this.ast.animation,o,a,p,b,j,c,u),P=0;if(C.forEach(N=>{P=Math.max(N.duration+N.delay,P)}),u.length)return oW(n,this._triggerName,r,i,v,p,b,[],[],x,E,P,u);C.forEach(N=>{let O=N.element,J=fo(x,O,new Set);N.preStyleProps.forEach(G=>J.add(G));let V=fo(E,O,new Set);N.postStyleProps.forEach(G=>V.add(G)),O!==n&&_.add(O)});let z=AC(_.values());return oW(n,this._triggerName,r,i,v,p,b,C,z,x,E,P)}};function bwe(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function _we(t,e){let n=Mb(e);for(let r in t)t.hasOwnProperty(r)&&t[r]!=null&&(n[r]=t[r]);return n}var p6=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=Mb(this.defaultParams);return Object.keys(e).forEach(o=>{let a=e[o];a!==null&&(i[o]=a)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=xb(a,i,n));let l=this.normalizer.normalizePropertyName(s,n);a=this.normalizer.normalizeStyleValue(s,l,a,n),r.set(s,a)})}),r}};function wwe(t,e,n){return new m6(t,e,n)}var m6=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new p6(i.style,o,r))}),aW(this.states,"true","1"),aW(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new NC(e,i,this.states))}),this.fallbackTransition=vwe(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(a=>a.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function vwe(t,e,n){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0};return new NC(t,o,e)}function aW(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var kwe=new Cb,g6=class{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let r=[],i=[],o=vW(this._driver,n,r,i);if(r.length)throw N_e(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=fW(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),a,s=new Map;if(o?(a=kW(this._driver,n,o,gW,o6,new Map,new Map,r,kwe,i),a.forEach(d=>{let u=fo(s,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(i.push(R_e()),a=[]),i.length)throw j_e(i);s.forEach((d,u)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(u,h,bs))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=$c(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw z_e(e);return n}listen(e,n,r,i){let o=v6(n,"","","");return w6(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let a=i[0]||{};this.create(e,n,a);return}let o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},sW="ng-animate-queued",xwe=".ng-animate-queued",n6="ng-animate-disabled",Cwe=".ng-animate-disabled",Dwe="ng-star-inserted",Swe=".ng-star-inserted",Ewe=[],xW={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Mwe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sa="__ng_removed",Db=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=Awe(i),r){let o=Mb(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},kb="void",r6=new Db(kb),y6=class{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Wo(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw L_e(r,n);if(r==null||r.length==0)throw B_e(n);if(!Iwe(r))throw V_e(r,n);let o=fo(this._elementListeners,e,[]),a={name:n,phase:r,callback:i};o.push(a);let s=fo(this._engine.statesByElement,e,new Map);return s.has(n)||(Wo(e,xC),Wo(e,xC+"-"+n),s.set(n,r6)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(n)||s.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw U_e(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),a=new Sb(this.id,n,e),s=this._engine.statesByElement.get(e);s||(Wo(e,xC),Wo(e,xC+"-"+n),this._engine.statesByElement.set(e,s=new Map));let l=s.get(n),c=new Db(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(n,c),l||(l=r6),!(c.value===kb)&&l.value===c.value){if(!Fwe(l.params,c.params)){let g=[],b=o.matchStyles(l.value,l.params,g),_=o.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{df(e,b),_s(e,_)})}return}let f=fo(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let h=o.matchTransition(l.value,c.value,e,c.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:h,fromState:l,toState:c,player:a,isFallbackTransition:p}),p||(Wo(e,sW),a.onStart(()=>{tm(e,sW)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let b=this._engine.playersByElement.get(e);if(b){let _=b.indexOf(a);_>=0&&b.splice(_,1)}}),this.players.push(a),f.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,MC,!0);r.forEach(i=>{if(i[Sa])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(a=>a.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,kb,i);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,a),r&&$c(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let a=o.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,c=r.get(a)||r6,d=new Db(kb),u=new Sb(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let o=e[Sa];(!o||o===xW)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Wo(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==r.triggerName){let l=v6(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,w6(r.player,s.phase,l,s.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,a=i.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},b6=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new y6(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(n);for(;s;){let l=i.get(s);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(SC(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!SC(n))return;let o=n[Sa];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(n);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Wo(e,n6)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),tm(e,n6))}removeNode(e,n,r){if(SC(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[Sa]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return SC(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,MC,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,a6,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return $c(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[Sa];if(n&&n.setForRemoval){if(e[Sa]=xW,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(n6)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Cwe,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let i=this.collectedEnterElements[r];Wo(i,Dwe)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{n=this._flushAnimations(r,e)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?$c(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw H_e(e)}_flushAnimations(e,n){let r=new Cb,i=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(q=>{d.add(q);let X=this.driver.query(q,xwe,!0);for(let ee=0;ee<X.length;ee++)d.add(X[ee])});let u=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=dW(f,this.collectedEnterElements),p=new Map,g=0;h.forEach((q,X)=>{let ee=gW+g++;p.set(X,ee),q.forEach(_e=>Wo(_e,ee))});let b=[],_=new Set,x=new Set;for(let q=0;q<this.collectedLeaveElements.length;q++){let X=this.collectedLeaveElements[q],ee=X[Sa];ee&&ee.setForRemoval&&(b.push(X),_.add(X),ee.hasAnimation?this.driver.query(X,Swe,!0).forEach(_e=>_.add(_e)):x.add(X))}let E=new Map,v=dW(f,Array.from(_));v.forEach((q,X)=>{let ee=o6+g++;E.set(X,ee),q.forEach(_e=>Wo(_e,ee))}),e.push(()=>{h.forEach((q,X)=>{let ee=p.get(X);q.forEach(_e=>tm(_e,ee))}),v.forEach((q,X)=>{let ee=E.get(X);q.forEach(_e=>tm(_e,ee))}),b.forEach(q=>{this.processLeaveNode(q)})});let j=[],C=[];for(let q=this._namespaceList.length-1;q>=0;q--)this._namespaceList[q].drainQueuedTransitions(n).forEach(ee=>{let _e=ee.player,D=ee.element;if(j.push(_e),this.collectedEnterElements.length){let Nt=D[Sa];if(Nt&&Nt.setForMove){if(Nt.previousTriggersValues&&Nt.previousTriggersValues.has(ee.triggerName)){let mt=Nt.previousTriggersValues.get(ee.triggerName),Wt=this.statesByElement.get(ee.element);if(Wt&&Wt.has(ee.triggerName)){let Jt=Wt.get(ee.triggerName);Jt.value=mt,Wt.set(ee.triggerName,Jt)}}_e.destroy();return}}let je=!u||!this.driver.containsElement(u,D),Ie=E.get(D),I=p.get(D),Ge=this._buildInstruction(ee,r,I,Ie,je);if(Ge.errors&&Ge.errors.length){C.push(Ge);return}if(je){_e.onStart(()=>df(D,Ge.fromStyles)),_e.onDestroy(()=>_s(D,Ge.toStyles)),i.push(_e);return}if(ee.isFallbackTransition){_e.onStart(()=>df(D,Ge.fromStyles)),_e.onDestroy(()=>_s(D,Ge.toStyles)),i.push(_e);return}let Qt=[];Ge.timelines.forEach(Nt=>{Nt.stretchStartingKeyframe=!0,this.disabledNodes.has(Nt.element)||Qt.push(Nt)}),Ge.timelines=Qt,r.append(D,Ge.timelines);let _r={instruction:Ge,player:_e,element:D};a.push(_r),Ge.queriedElements.forEach(Nt=>fo(s,Nt,[]).push(_e)),Ge.preStyleProps.forEach((Nt,mt)=>{if(Nt.size){let Wt=l.get(mt);Wt||l.set(mt,Wt=new Set),Nt.forEach((Jt,or)=>Wt.add(or))}}),Ge.postStyleProps.forEach((Nt,mt)=>{let Wt=c.get(mt);Wt||c.set(mt,Wt=new Set),Nt.forEach((Jt,or)=>Wt.add(or))})});if(C.length){let q=[];C.forEach(X=>{q.push($_e(X.triggerName,X.errors))}),j.forEach(X=>X.destroy()),this.reportError(q)}let P=new Map,z=new Map;a.forEach(q=>{let X=q.element;r.has(X)&&(z.set(X,X),this._beforeAnimationBuild(q.player.namespaceId,q.instruction,P))}),i.forEach(q=>{let X=q.element;this._getPreviousPlayers(X,!1,q.namespaceId,q.triggerName,null).forEach(_e=>{fo(P,X,[]).push(_e),_e.destroy()})});let N=b.filter(q=>uW(q,l,c)),O=new Map;cW(O,this.driver,x,c,bs).forEach(q=>{uW(q,l,c)&&N.push(q)});let V=new Map;h.forEach((q,X)=>{cW(V,this.driver,new Set(q),l,kC)}),N.forEach(q=>{let X=O.get(q),ee=V.get(q);O.set(q,new Map([...X?.entries()??[],...ee?.entries()??[]]))});let G=[],ie=[],me={};a.forEach(q=>{let{element:X,player:ee,instruction:_e}=q;if(r.has(X)){if(d.has(X)){ee.onDestroy(()=>_s(X,_e.toStyles)),ee.disabled=!0,ee.overrideTotalTime(_e.totalTime),i.push(ee);return}let D=me;if(z.size>1){let Ie=X,I=[];for(;Ie=Ie.parentNode;){let Ge=z.get(Ie);if(Ge){D=Ge;break}I.push(Ie)}I.forEach(Ge=>z.set(Ge,D))}let je=this._buildAnimation(ee.namespaceId,_e,P,o,V,O);if(ee.setRealPlayer(je),D===me)G.push(ee);else{let Ie=this.playersByElement.get(D);Ie&&Ie.length&&(ee.parentPlayer=$c(Ie)),i.push(ee)}}else df(X,_e.fromStyles),ee.onDestroy(()=>_s(X,_e.toStyles)),ie.push(ee),d.has(X)&&i.push(ee)}),ie.forEach(q=>{let X=o.get(q.element);if(X&&X.length){let ee=$c(X);q.setRealPlayer(ee)}}),i.forEach(q=>{q.parentPlayer?q.syncPlayerEvents(q.parentPlayer):q.destroy()});for(let q=0;q<b.length;q++){let X=b[q],ee=X[Sa];if(tm(X,o6),ee&&ee.hasAnimation)continue;let _e=[];if(s.size){let je=s.get(X);je&&je.length&&_e.push(...je);let Ie=this.driver.query(X,a6,!0);for(let I=0;I<Ie.length;I++){let Ge=s.get(Ie[I]);Ge&&Ge.length&&_e.push(...Ge)}}let D=_e.filter(je=>!je.destroyed);D.length?Owe(this,X,D):this.processLeaveNode(X)}return b.length=0,G.forEach(q=>{this.players.push(q),q.onDone(()=>{q.destroy();let X=this.players.indexOf(q);this.players.splice(X,1)}),q.play()}),G}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let a=[];if(n){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==kb;s.forEach(c=>{c.queued||!l&&c.triggerName!=i||a.push(c)})}}return(r||i)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||i&&i!=s.triggerName))),a}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,a=n.isRemovalTransition?void 0:e,s=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,d=c!==o,u=fo(r,c,[]);this._getPreviousPlayers(c,d,a,s,n.toState).forEach(h=>{let p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),u.push(h)})}df(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,a){let s=n.triggerName,l=n.element,c=[],d=new Set,u=new Set,f=n.timelines.map(p=>{let g=p.element;d.add(g);let b=g[Sa];if(b&&b.removedBeforeQueried)return new Hc(p.duration,p.delay);let _=g!==l,x=Pwe((r.get(g)||Ewe).map(P=>P.getRealPlayer())).filter(P=>{let z=P;return z.element?z.element===g:!1}),E=o.get(g),v=a.get(g),j=fW(this._normalizer,p.keyframes,E,v),C=this._buildPlayer(p,j,x);if(p.subTimeline&&i&&u.add(g),_){let P=new Sb(e,s,g);P.setRealPlayer(C),c.push(P)}return C});c.forEach(p=>{fo(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>Twe(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Wo(p,tW));let h=$c(f);return h.onDestroy(()=>{d.forEach(p=>tm(p,tW)),_s(l,n.toStyles)}),u.forEach(p=>{fo(i,p,[]).push(h)}),h}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Hc(e.duration,e.delay)}},Sb=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Hc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>w6(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){fo(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function Twe(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function Awe(t){return t??null}function SC(t){return t&&t.nodeType===1}function Iwe(t){return t=="start"||t=="done"}function lW(t,e){let n=t.style.display;return t.style.display=e??"none",n}function cW(t,e,n,r,i){let o=[];n.forEach(l=>o.push(lW(l)));let a=[];r.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let f=e.computeStyle(c,u,i);d.set(u,f),(!f||f.length==0)&&(c[Sa]=Mwe,a.push(c))}),t.set(c,d)});let s=0;return n.forEach(l=>lW(l,o[s++])),a}function dW(t,e){let n=new Map;if(t.forEach(s=>n.set(s,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function a(s){if(!s)return r;let l=o.get(s);if(l)return l;let c=s.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=a(c),o.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==r&&n.get(l).push(s)}),n}function Wo(t,e){t.classList?.add(e)}function tm(t,e){t.classList?.remove(e)}function Owe(t,e,n){$c(n).onDone(()=>t.processLeaveNode(e))}function Pwe(t){let e=[];return CW(t,e),e}function CW(t,e){for(let n=0;n<t.length;n++){let r=t[n];r instanceof wb?CW(r.players,e):e.push(r)}}function Fwe(t,e){let n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){let o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function uW(t,e,n){let r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(o=>i.add(o)):e.set(t,r),n.delete(t),!0}var rm=class{constructor(e,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new b6(e.body,n,r),this._timelineEngine=new g6(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){let a=e+"-"+i,s=this._triggerCache[a];if(!s){let l=[],c=[],d=vW(this._driver,o,l,c);if(l.length)throw P_e(i,l);c.length&&void 0,s=wwe(i,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(n,i,s)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,a]=Jq(r),s=i;this._timelineEngine.command(o,n,a,s)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[a,s]=Jq(r);return this._timelineEngine.listen(a,n,s,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Nwe(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=i6(e[0]),e.length>1&&(r=i6(e[e.length-1]))):e instanceof Map&&(n=i6(e)),n||r?new Rwe(t,n,r):null}var Rwe=(()=>{let e=class e{constructor(r,i,o){this._element=r,this._startStyles=i,this._endStyles=o,this._state=0;let a=e.initialStylesByElement.get(r);a||e.initialStylesByElement.set(r,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&_s(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(_s(this._element,this._initialStyles),this._endStyles&&(_s(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(df(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(df(this._element,this._endStyles),this._endStyles=null),_s(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let t=e;return t})();function i6(t){let e=null;return t.forEach((n,r)=>{jwe(r)&&(e=e||new Map,e.set(r,n))}),e}function jwe(t){return t==="display"||t==="position"}var RC=class{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:_W(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},jC=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return hW(e,n)}getParentElement(e){return k6(e)}query(e,n,r){return pW(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,o,a=[]){let s=i==0?"both":"forwards",l={duration:r,delay:i,fill:s};o&&(l.easing=o);let c=new Map,d=a.filter(h=>h instanceof RC);twe(r,i)&&d.forEach(h=>{h.currentSnapshot.forEach((p,g)=>c.set(g,p))});let u=Q_e(n).map(h=>nm(h));u=nwe(e,u,c);let f=Nwe(e,u);return new RC(e,u,l,f)}};var EC="@",DW="@.disabled",zC=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==EC&&n==DW?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},_6=class extends zC{constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==EC?n.charAt(1)=="."&&n==DW?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==EC){let i=zwe(e),o=n.slice(1),a="";return o.charAt(0)!=EC&&([o,a]=Lwe(o)),this.engine.listen(this.namespaceId,i,o,a,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,r,s)})}return this.delegate.listen(e,n,r)}};function zwe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function Lwe(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var LC=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{let a=o?.parentNode(i);a&&o.removeChild(a,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let c=this._rendererCache,d=c.get(i);if(!d){let u=()=>c.delete(i);d=new zC(r,i,this.engine,u),c.set(i,d)}return d}let o=n.id,a=n.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,e,c.name,c)};return n.data.animation.forEach(s),new _6(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>n(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Vwe=(()=>{let e=class e extends rm{constructor(r,i,o,a){super(r,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(B(tt),B(Eb),B(uf),B(Ha))},e.\u0275prov=ne({token:e,factory:e.\u0275fac});let t=e;return t})();function Uwe(){return new IC}function Hwe(t,e,n){return new LC(t,e,n)}var SW=[{provide:uf,useFactory:Uwe},{provide:rm,useClass:Vwe},{provide:wd,useFactory:Hwe,deps:[cv,rm,xe]}],$we=[{provide:Eb,useFactory:()=>new jC},{provide:Fn,useValue:"BrowserAnimations"},...SW],iKe=[{provide:Eb,useClass:x6},{provide:Fn,useValue:"NoopAnimations"},...SW];function EW(){return[...$we]}function qwe(){return!0}var Wwe=new de("mat-sanity-checks",{providedIn:"root",factory:qwe}),Hi=(()=>{let e=class e{constructor(r,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,r._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(r){return bb()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[r]}};e.\u0275fac=function(i){return new(i||e)(B(ZO),B(Wwe,8),B(tt))},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[XO,XO]});let t=e;return t})();function I6(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=Ar(e)}constructor(...e){super(...e),this._disabled=!1}}}function RW(t,e){return class extends t{get color(){return this._color}set color(n){let r=n||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}constructor(...n){super(...n),this.defaultColor=e,this.color=e}}}function jW(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Ar(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function zW(t){return class extends t{updateErrorState(){let e=this.errorState,n=this._parentFormGroup||this._parentForm,r=this.errorStateMatcher||this._defaultErrorStateMatcher,i=this.ngControl?this.ngControl.control:null,o=r.isErrorState(i,n);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var LW=(()=>{let e=class e{isErrorState(r,i){return!!(r&&r.invalid&&(r.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var M6=class{constructor(e,n,r,i=!1){this._renderer=e,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},MW=gs({passive:!0,capture:!0}),T6=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let n=Ca(e);n&&this._events.get(e.type)?.forEach((r,i)=>{(i===n||i.contains(n))&&r.forEach(o=>o.handleEvent(e))})}}addHandler(e,n,r,i){let o=this._events.get(n);if(o){let a=o.get(r);a?a.add(i):o.set(r,new Set([i]))}else this._events.set(n,new Map([[r,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,MW)})}removeHandler(e,n,r){let i=this._events.get(e);if(!i)return;let o=i.get(n);o&&(o.delete(r),o.size===0&&i.delete(n),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,MW)))}},TW={enterDuration:225,exitDuration:150},Gwe=800,AW=gs({passive:!0,capture:!0}),IW=["mousedown","touchstart"],OW=["mouseup","mouseleave","touchend","touchcancel"],Tb=class Tb{constructor(e,n,r,i){this._target=e,this._ngZone=n,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Ui(r))}fadeInRipple(e,n,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=S(S({},TW),r.animation);r.centered&&(e=i.left+i.width/2,n=i.top+i.height/2);let a=r.radius||Ywe(e,n,i),s=e-i.left,l=n-i.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,r.color!=null&&(d.style.backgroundColor=r.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,h=u.transitionDuration,p=f==="none"||h==="0s"||h==="0s, 0s"||i.width===0&&i.height===0,g=new M6(this,d,r,p);d.style.transform="scale3d(1, 1, 1)",g.state=0,r.persistent||(this._mostRecentTransientRipple=g);let b=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let _=()=>this._finishRippleTransition(g),x=()=>this._destroyRipple(g);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",x),b={onTransitionEnd:_,onTransitionCancel:x}}),this._activeRipples.set(g,b),(p||!c)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(e.state===2||e.state===3)return;let n=e.element,r=S(S({},TW),e.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let n=Ui(e);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,IW.forEach(r=>{Tb._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{OW.forEach(n=>{this._triggerElement.addEventListener(n,this,AW)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let n=e===this._mostRecentTransientRipple,{persistent:r}=e.config;e.state=1,!r&&(!n||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let n=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,n!==null&&(e.element.removeEventListener("transitionend",n.onTransitionEnd),e.element.removeEventListener("transitioncancel",n.onTransitionCancel)),e.element.remove()}_onMousedown(e){let n=YO(e),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Gwe;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!KO(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=e.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let n=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&n&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(IW.forEach(n=>Tb._eventManager.removeHandler(n,e,this)),this._pointerUpEventsRegistered&&OW.forEach(n=>e.removeEventListener(n,this,AW)))}};Tb._eventManager=new T6;var A6=Tb;function Ywe(t,e,n){let r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}var O6=new de("mat-ripple-global-options"),VC=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}constructor(r,i,o,a,s){this._elementRef=r,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new A6(this,i,r,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:S(S(S({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(r,i=0,o){return typeof r=="number"?this._rippleRenderer.fadeInRipple(r,i,S(S({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,S(S({},this.rippleConfig),r))}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(xe),R(on),R(O6,8),R(Fn,8))},e.\u0275dir=ve({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Rt("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});let t=e;return t})(),UC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Hi,Hi]});let t=e;return t})();var PW={capture:!0},FW=["focus","click","mouseenter","touchstart"],S6="mat-ripple-loader-uninitialized",E6="mat-ripple-loader-class-name",NW="mat-ripple-loader-centered",BC="mat-ripple-loader-disabled",BW=(()=>{let e=class e{constructor(){this._document=ae(tt,{optional:!0}),this._animationMode=ae(Fn,{optional:!0}),this._globalRippleOptions=ae(O6,{optional:!0}),this._platform=ae(on),this._ngZone=ae(xe),this._hosts=new Map,this._onInteraction=r=>{if(!(r.target instanceof HTMLElement))return;let o=r.target.closest(`[${S6}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let r of FW)this._document?.addEventListener(r,this._onInteraction,PW)})}ngOnDestroy(){let r=this._hosts.keys();for(let i of r)this.destroyRipple(i);for(let i of FW)this._document?.removeEventListener(i,this._onInteraction,PW)}configureRipple(r,i){r.setAttribute(S6,""),(i.className||!r.hasAttribute(E6))&&r.setAttribute(E6,i.className||""),i.centered&&r.setAttribute(NW,""),i.disabled&&r.setAttribute(BC,"")}getRipple(r){return this._hosts.get(r)||this._createRipple(r)}setDisabled(r,i){let o=this._hosts.get(r);if(o){o.disabled=i;return}i?r.setAttribute(BC,""):r.removeAttribute(BC)}_createRipple(r){if(!this._document)return;let i=this._hosts.get(r);if(i)return i;r.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",r.getAttribute(E6)),r.append(o);let a=new VC(new Ce(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=r,a.centered=r.hasAttribute(NW),a.disabled=r.hasAttribute(BC),this.attachRipple(r,a),a}attachRipple(r,i){r.removeAttribute(S6),this._hosts.set(r,i)}destroyRipple(r){let i=this._hosts.get(r);i&&(i.ngOnDestroy(),this._hosts.delete(r))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ab=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},im=class extends Ab{constructor(e,n,r,i,o){super(),this.component=e,this.viewContainerRef=n,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}},xl=class extends Ab{constructor(e,n,r,i){super(),this.templateRef=e,this.viewContainerRef=n,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,n=this.context){return this.context=n,super.attach(e)}detach(){return this.context=void 0,super.detach()}},P6=class extends Ab{constructor(e){super(),this.element=e instanceof Ce?e.nativeElement:e}},om=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof im)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof xl)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof P6)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var HC=class extends om{constructor(e,n,r,i,o){super(),this.outletElement=e,this._componentFactoryResolver=n,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(e){let r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(e.injector||this._defaultInjector||er.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(r);i!==-1&&n.remove(i)}),this._attachedPortal=e,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var UW=(()=>{let e=class e extends xl{constructor(r,i){super(r,i)}};e.\u0275fac=function(i){return new(i||e)(R(_n),R($n))},e.\u0275dir=ve({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ke]});let t=e;return t})();var Ea=(()=>{let e=class e extends om{constructor(r,i,o){super(),this._componentFactoryResolver=r,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Xe,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&super.detach(),r&&super.attach(r),this._attachedPortal=r||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(r){r.setAttachedHost(this);let i=r.viewContainerRef!=null?r.viewContainerRef:this._viewContainerRef,a=(r.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(r.component),s=i.createComponent(a,i.length,r.injector||i.injector,r.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=r,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(r){r.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=r,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}};e.\u0275fac=function(i){return new(i||e)(R(Ua),R($n),R(tt))},e.\u0275dir=ve({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ke]});let t=e;return t})();var ff=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({});let t=e;return t})();var Kwe=20,HW=(()=>{let e=class e{constructor(r,i,o){this._ngZone=r,this._platform=i,this._scrolled=new Ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(r){this.scrollContainers.has(r)||this.scrollContainers.set(r,r.elementScrolled().subscribe(()=>this._scrolled.next(r)))}deregister(r){let i=this.scrollContainers.get(r);i&&(i.unsubscribe(),this.scrollContainers.delete(r))}scrolled(r=Kwe){return this._platform.isBrowser?new Ke(i=>{this._globalSubscription||this._addGlobalListener();let o=r>0?this._scrolled.pipe($_(r)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ze()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((r,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(r,i){let o=this.getAncestorScrollContainers(r);return this.scrolled(i).pipe(Yt(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(r){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,r)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(r,i){let o=Ui(i),a=r.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let r=this._getWindow();return Fa(r.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(B(xe),B(on),B(tt,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Zwe=20,am=(()=>{let e=class e{constructor(r,i,o){this._platform=r,this._change=new Ee,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(r.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let r=this._getWindow();r.removeEventListener("resize",this._changeListener),r.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let r={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),r}getViewportRect(){let r=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:r.top,left:r.left,bottom:r.top+o,right:r.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let r=this._document,i=this._getWindow(),o=r.documentElement,a=o.getBoundingClientRect(),s=-a.top||r.body.scrollTop||i.scrollY||o.scrollTop||0,l=-a.left||r.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(r=Zwe){return r>0?this._change.pipe($_(r)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let r=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:r.innerWidth,height:r.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(B(on),B(xe),B(tt,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Jwe(t,e){}var eve=t=>({animationDuration:t}),tve=(t,e)=>({value:t,params:e});function nve(t,e){t&1&&Nn(0)}var GW=["*"],rve=["tabListContainer"],ive=["tabList"],ove=["tabListInner"],ave=["nextPaginator"],sve=["previousPaginator"],lve=["tabBodyWrapper"],cve=["tabHeader"];function dve(t,e){}function uve(t,e){if(t&1&&bt(0,dve,0,0,"ng-template",10),t&2){let n=Qe().$implicit;Me("cdkPortalOutlet",n.templateLabel)}}function fve(t,e){if(t&1&&Se(0),t&2){let n=Qe().$implicit;Cr(n.textLabel)}}function hve(t,e){if(t&1){let n=Fr();H(0,"div",4,5),we("click",function(){let i=un(n),o=i.$implicit,a=i.$index,s=Qe(),l=sa(1);return fn(s._handleClick(o,l,a))})("cdkFocusChange",function(i){let a=un(n).$index,s=Qe();return fn(s._tabFocusChanged(i,a))}),St(2,"span",6)(3,"div",7),H(4,"span",8)(5,"span",9),bt(6,uve,1,1,null,10)(7,fve,1,1),Y()()()}if(t&2){let n=e.$implicit,r=e.$index,i=sa(1),o=Qe();Rt("mdc-tab--active",o.selectedIndex===r),Me("id",o._getTabLabelId(r))("ngClass",n.labelClass)("disabled",n.disabled)("fitInkBarToContent",o.fitInkBarToContent),hn("tabIndex",o._getTabIndex(r))("aria-posinset",r+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(r))("aria-selected",o.selectedIndex===r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),se(3),Me("matRippleTrigger",i)("matRippleDisabled",n.disabled||o.disableRipple),se(3),tn(6,n.templateLabel?6:7)}}function pve(t,e){if(t&1){let n=Fr();H(0,"mat-tab-body",11),we("_onCentered",function(){un(n);let i=Qe();return fn(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){un(n);let o=Qe();return fn(o._setTabBodyWrapperHeight(i))}),Y()}if(t&2){let n=e.$implicit,r=e.$index,i=Qe();Rt("mat-mdc-tab-body-active",i.selectedIndex===r),Me("id",i._getTabContentId(r))("ngClass",n.bodyClass)("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),hn("tabindex",i.contentTabIndex!=null&&i.selectedIndex===r?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(r))("aria-hidden",i.selectedIndex!==r)}}var mve={translateTab:vC("translateTab",[Jp("center, void, left-origin-center, right-origin-center",qo({transform:"none"})),Jp("left",qo({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Jp("right",qo({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),em("* => left, * => right, left => center, right => center",Qp("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),em("void => left-origin-center",[qo({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Qp("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),em("void => right-origin-center",[qo({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Qp("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},gve=(()=>{let e=class e extends Ea{constructor(r,i,o,a){super(r,i,a),this._host=o,this._centeringSub=Lt.EMPTY,this._leavingSub=Lt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Mi(this._host._isCenterPosition(this._host._position))).subscribe(r=>{r&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(R(Ua),R($n),R(xo(()=>YW)),R(tt))},e.\u0275dir=ve({type:e,selectors:[["","matTabBodyHost",""]],features:[ke]});let t=e;return t})(),YW=(()=>{let e=class e{set position(r){this._positionIndex=r,this._computePositionAnimationState()}constructor(r,i,o){this._elementRef=r,this._dir=i,this._dirChangeSubscription=Lt.EMPTY,this._translateTabComplete=new Ee,this._onCentering=new Xe,this._beforeCentering=new Xe,this._afterLeavingCenter=new Xe,this._onCentered=new Xe(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(Ll((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(r){let i=this._isCenterPosition(r.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(r){return r=="center"||r=="left-origin-center"||r=="right-origin-center"}_computePositionAnimationState(r=this._getLayoutDirection()){this._positionIndex<0?this._position=r=="ltr"?"left":"right":this._positionIndex>0?this._position=r=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(r){let i=this._getLayoutDirection();return i=="ltr"&&r<=0||i=="rtl"&&r>0?"left-origin-center":"right-origin-center"}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(Da,8),R(ui))},e.\u0275cmp=De({type:e,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&sn(Ea,5),i&2){let a;_t(a=wt())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(i,o){i&1&&(H(0,"div",0,1),we("@translateTab.start",function(s){return o._onTranslateTabStarted(s)})("@translateTab.done",function(s){return o._translateTabComplete.next(s)}),bt(2,Jwe,0,0,"ng-template",2),Y()),i&2&&Me("@translateTab",lN(3,tve,o._position,hh(1,eve,o.animationDuration)))},dependencies:[gve],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[mve.translateTab]}});let t=e;return t})(),yve=new de("MatTabContent"),bve=(()=>{let e=class e{constructor(r){this.template=r}};e.\u0275fac=function(i){return new(i||e)(R(_n))},e.\u0275dir=ve({type:e,selectors:[["","matTabContent",""]],features:[Rn([{provide:yve,useExisting:e}])]});let t=e;return t})(),_ve=new de("MatTabLabel"),KW=new de("MAT_TAB"),wve=(()=>{let e=class e extends UW{constructor(r,i,o){super(r,i),this._closestTab=o}};e.\u0275fac=function(i){return new(i||e)(R(_n),R($n),R(KW,8))},e.\u0275dir=ve({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Rn([{provide:_ve,useExisting:e}]),ke]});let t=e;return t})(),N6="mdc-tab-indicator--active",qW="mdc-tab-indicator--no-transition",R6=class{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){let n=this._items.find(i=>i.elementRef.nativeElement===e),r=this._currentItem;if(n!==r&&(r?.deactivateInkBar(),n)){let i=r?.elementRef.nativeElement.getBoundingClientRect?.();n.activateInkBar(i),this._currentItem=n}}};function vve(t){return class extends t{constructor(...e){super(...e),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){let n=Ar(e);this._fitToContent!==n&&(this._fitToContent=n,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let n=this.elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(N6);return}let r=n.getBoundingClientRect(),i=e.width/r.width,o=e.left-r.left;n.classList.add(qW),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${i})`),n.getBoundingClientRect(),n.classList.remove(qW),n.classList.add(N6),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(N6)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=e.createElement("span"),this._inkBarContentElement=e.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement;e.appendChild(this._inkBarElement)}}}var kve=vve(I6(class{})),ZW=(()=>{let e=class e extends kve{constructor(r){super(),this.elementRef=r}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(hn("aria-disabled",!!o.disabled),Rt("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[ke]});let t=e;return t})(),xve=I6(class{}),XW=new de("MAT_TAB_GROUP"),Ib=(()=>{let e=class e extends xve{get templateLabel(){return this._templateLabel}set templateLabel(r){this._setTemplateLabelInput(r)}get content(){return this._contentPortal}constructor(r,i){super(),this._viewContainerRef=r,this._closestTabGroup=i,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ee,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(r){(r.hasOwnProperty("textLabel")||r.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new xl(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(r){r&&r._closestTab===this&&(this._templateLabel=r)}};e.\u0275fac=function(i){return new(i||e)(R($n),R(XW,8))},e.\u0275cmp=De({type:e,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(Wr(a,wve,5),Wr(a,bve,7,_n)),i&2){let s;_t(s=wt())&&(o.templateLabel=s.first),_t(s=wt())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&sn(_n,7),i&2){let a;_t(a=wt())&&(o._implicitContent=a.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[Rn([{provide:KW,useExisting:e}]),ke,Qn],ngContentSelectors:GW,decls:1,vars:0,template:function(i,o){i&1&&(So(),bt(0,nve,1,0,"ng-template"))},encapsulation:2});let t=e;return t})(),WW=gs({passive:!0}),Cve=650,Dve=100,Sve=(()=>{let e=class e{get disablePagination(){return this._disablePagination}set disablePagination(r){this._disablePagination=Ar(r)}get selectedIndex(){return this._selectedIndex}set selectedIndex(r){r=$o(r),this._selectedIndex!=r&&(this._selectedIndexChanged=!0,this._selectedIndex=r,this._keyManager&&this._keyManager.updateActiveItem(r))}constructor(r,i,o,a,s,l,c){this._elementRef=r,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ee,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ee,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Xe,this.indexFocused=new Xe,s.runOutsideAngular(()=>{Fa(r.nativeElement,"mouseleave").pipe(Pn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Fa(this._previousPaginator.nativeElement,"touchstart",WW).pipe(Pn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Fa(this._nextPaginator.nativeElement,"touchstart",WW).pipe(Pn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let r=this._dir?this._dir.change:ze("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new bC(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Un(1)).subscribe(o),Qi(r,i,this._items.changes,this._itemsResized()).pipe(Pn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?wr:this._items.changes.pipe(Mi(this._items),vr(r=>new Ke(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return r.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),ud(1),Yt(r=>r.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(r){if(!Vc(r))switch(r.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(r))}break;default:this._keyManager.onKeydown(r)}}_onContentChanges(){let r=this._elementRef.nativeElement.textContent;r!==this._currentTextContent&&(this._currentTextContent=r||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(r){!this._isValidIndex(r)||this.focusIndex===r||!this._keyManager||this._keyManager.setActiveItem(r)}_isValidIndex(r){return this._items?!!this._items.toArray()[r]:!0}_setTabFocus(r){if(this._showPaginationControls&&this._scrollToLabel(r),this._items&&this._items.length){this._items.toArray()[r].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let r=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-r:r;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(r){this._scrollTo(r)}_scrollHeader(r){let i=this._tabListContainer.nativeElement.offsetWidth,o=(r=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(r){this._stopInterval(),this._scrollHeader(r)}_scrollToLabel(r){if(this.disablePagination)return;let i=this._items?this._items.toArray()[r]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,l,c;this._getLayoutDirection()=="ltr"?(l=a,c=l+s):(c=this._tabListInner.nativeElement.offsetWidth-a,l=c-s);let d=this.scrollDistance,u=this.scrollDistance+o;l<d?this.scrollDistance-=d-l:c>u&&(this.scrollDistance+=Math.min(c-u,l-d))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let r=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;r||(this.scrollDistance=0),r!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=r}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let r=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return r-i||0}_alignInkBarToSelectedTab(){let r=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=r?r.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(r,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),$m(Cve,Dve).pipe(Pn(Qi(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(r);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(r){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,r)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(ui),R(am),R(Da,8),R(xe),R(on),R(Fn,8))},e.\u0275dir=ve({type:e,inputs:{disablePagination:"disablePagination"}});let t=e;return t})(),Eve=(()=>{let e=class e extends Sve{get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=Ar(r)}constructor(r,i,o,a,s,l,c){super(r,i,o,a,s,l,c),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new R6(this._items),super.ngAfterContentInit()}_itemSelected(r){r.preventDefault()}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(ui),R(am),R(Da,8),R(xe),R(on),R(Fn,8))},e.\u0275cmp=De({type:e,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&Wr(a,ZW,4),i&2){let s;_t(s=wt())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(sn(rve,7),sn(ive,7),sn(ove,7),sn(ave,5),sn(sve,5)),i&2){let a;_t(a=wt())&&(o._tabListContainer=a.first),_t(a=wt())&&(o._tabList=a.first),_t(a=wt())&&(o._tabListInner=a.first),_t(a=wt())&&(o._nextPaginator=a.first),_t(a=wt())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&Rt("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ke],ngContentSelectors:GW,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(i,o){i&1&&(So(),H(0,"button",0,1),we("click",function(){return o._handlePaginatorClick("before")})("mousedown",function(s){return o._handlePaginatorPress("before",s)})("touchend",function(){return o._stopInterval()}),St(2,"div",2),Y(),H(3,"div",3,4),we("keydown",function(s){return o._handleKeydown(s)}),H(5,"div",5,6),we("cdkObserveContent",function(){return o._onContentChanges()}),H(7,"div",7,8),Nn(9),Y()()(),H(10,"button",9,10),we("mousedown",function(s){return o._handlePaginatorPress("after",s)})("click",function(){return o._handlePaginatorClick("after")})("touchend",function(){return o._stopInterval()}),St(12,"div",2),Y()),i&2&&(Rt("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),Me("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),se(3),Rt("_mat-animation-noopable",o._animationMode==="NoopAnimations"),se(7),Rt("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),Me("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[VC,Bq],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let t=e;return t})(),Mve=new de("MAT_TABS_CONFIG"),Tve=0,Ave=RW(jW(class{constructor(t){this._elementRef=t}}),"primary"),Ive=!0,$C=(()=>{let e=class e extends Ave{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(r){this._fitInkBarToContent=Ar(r),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(r){this._stretchTabs=Ar(r)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(r){this._dynamicHeight=Ar(r)}get selectedIndex(){return this._selectedIndex}set selectedIndex(r){this._indexToSelect=$o(r,null)}get animationDuration(){return this._animationDuration}set animationDuration(r){this._animationDuration=/^\d+$/.test(r+"")?r+"ms":r}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(r){this._contentTabIndex=$o(r,null)}get disablePagination(){return this._disablePagination}set disablePagination(r){this._disablePagination=Ar(r)}get preserveContent(){return this._preserveContent}set preserveContent(r){this._preserveContent=Ar(r)}get backgroundColor(){return this._backgroundColor}set backgroundColor(r){if(!Ive)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),r&&i.add("mat-tabs-with-background",`mat-background-${r}`),this._backgroundColor=r}constructor(r,i,o,a){super(r),this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Gl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Lt.EMPTY,this._tabLabelSubscription=Lt.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Xe,this.focusChange=new Xe,this.animationDone=new Xe,this.selectedTabChange=new Xe(!0),this._groupId=Tve++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,this.contentTabIndex=o?.contentTabIndex??null,this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(r));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===r),i||(this.selectedIndexChange.emit(r),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-r,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=r-this._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let r=this._clampTabIndex(this._indexToSelect);if(r===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a<i.length;a++)if(i[a].isActive){this._indexToSelect=this._selectedIndex=a,this._lastFocusedTabIndex=null,o=i[a];break}!o&&i[r]&&Promise.resolve().then(()=>{i[r].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(r))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Mi(this._allTabs)).subscribe(r=>{this._tabs.reset(r.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(r){let i=this._tabHeader;i&&(i.focusIndex=r)}_focusChanged(r){this._lastFocusedTabIndex=r,this.focusChange.emit(this._createChangeEvent(r))}_createChangeEvent(r){let i=new j6;return i.index=r,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[r]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Qi(...this._tabs.map(r=>r._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(r){return Math.min(this._tabs.length-1,Math.max(r||0,0))}_getTabLabelId(r){return`mat-tab-label-${this._groupId}-${r}`}_getTabContentId(r){return`mat-tab-content-${this._groupId}-${r}`}_setTabBodyWrapperHeight(r){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=r+"px")}_removeTabBodyWrapperHeight(){let r=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=r.clientHeight,r.style.height="",this.animationDone.emit()}_handleClick(r,i,o){i.focusIndex=o,r.disabled||(this.selectedIndex=o)}_getTabIndex(r){let i=this._lastFocusedTabIndex??this.selectedIndex;return r===i?0:-1}_tabFocusChanged(r,i){r&&r!=="mouse"&&r!=="touch"&&(this._tabHeader.focusIndex=i)}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(ui),R(Mve,8),R(Fn,8))},e.\u0275cmp=De({type:e,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&Wr(a,Ib,5),i&2){let s;_t(s=wt())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(sn(lve,5),sn(cve,5)),i&2){let a;_t(a=wt())&&(o._tabBodyWrapper=a.first),_t(a=wt())&&(o._tabHeader=a.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(i,o){i&2&&(zs("--mat-tab-animation-duration",o.animationDuration),Rt("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Rn([{provide:XW,useExisting:e}]),ke],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){i&1&&(H(0,"mat-tab-header",0,1),we("indexFocused",function(s){return o._focusChanged(s)})("selectFocusedIndex",function(s){return o.selectedIndex=s}),kr(2,hve,8,16,"div",12,Oi),Y(),H(4,"div",2,3),kr(6,pve,1,12,"mat-tab-body",13,Oi),Y()),i&2&&(Me("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),se(2),xr(o._tabs),se(2),Rt("_mat-animation-noopable",o._animationMode==="NoopAnimations"),se(2),xr(o._tabs))},dependencies:[MN,Ea,VC,Kq,YW,ZW,Eve],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let t=e;return t})(),j6=class{};var qC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[ca,Hi,ff,UC,Zp,Zq,Hi]});let t=e;return t})();var Ove=["mat-button",""],Pve=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Fve=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Nve=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Rve=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(r){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,r)}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=r,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._updateRippleDisabled()}constructor(r,i,o,a){this._elementRef=r,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=ae(Uc),this._rippleLoader=ae(BW),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});let s=this._elementRef.nativeElement,l=s.classList;for(let{attribute:c,mdcClasses:d}of Nve)s.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(r="program",i){r?this._focusMonitor.focusVia(this._elementRef.nativeElement,r,i):this._elementRef.nativeElement.focus(i)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){r2()},e.\u0275dir=ve({type:e,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",fi],disabled:["disabled","disabled",fi]},features:[Do]});let t=e;return t})();var JW=(()=>{let e=class e extends Rve{constructor(r,i,o,a){super(r,i,o,a)}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(on),R(xe),R(Fn,8))},e.\u0275cmp=De({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(i,o){i&2&&(hn("disabled",o.disabled||null),sr(o.color?"mat-"+o.color:""),Rt("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ke],attrs:Ove,ngContentSelectors:Fve,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(So(Pve),St(0,"span",0),Nn(1),H(2,"span",1),Nn(3,1),Y(),Nn(4,2),St(5,"span",2)(6,"span",3)),i&2&&Rt("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let t=e;return t})();var sm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Hi,UC,Hi]});let t=e;return t})();function zve(t,e){t&1&&(H(0,"span"),Se(1," (\u02DA\u0394\u02DA)b"),Y())}var eG=(()=>{let e=class e extends Ho{constructor(){super(...arguments),this.selectedIndex=0,this.rendering=!0,this.code=null}get action(){return oi(this.provider.editor)}get container(){return super.container.children[0]}preview(){this.setAttrs({value:this.code}),this.render(),this.selectedIndex=0}render(){let r=()=>ot(this,null,function*(){this.code=this.node.attrs.value;let i=this.node.attrs.identity;if(this.code.length===0)return;Of.initialize({startOnLoad:!1,theme:"default"});let{svg:o,bindFunctions:a}=yield Of.render(i,this.code);a?.(this.el.nativeElement),this.container.querySelector(".diagram-ref").innerHTML=o});requestAnimationFrame(()=>ot(this,null,function*(){yield r()})),this.rendering=!1}ngAfterViewInit(){this.render(),super.ngAfterViewInit()}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["diagram"]],standalone:!0,features:[ke,He],decls:8,vars:6,consts:[["contenteditable","false","preserveContent","",3,"animationDuration","selectedIndex","selectedIndexChange"],["label","Preview"],[1,"cursor-pointer","border-2","border-gray-300","rounded-md","p-2","flex","justify-center","items-center","hover:bg-gray-100","diagram-ref"],["label","Source"],[1,"block","h-48","w-full","bg-slate-800","font-mono","text-gray-50",3,"ngModel","ngModelChange"],[1,"absolute","right-1","top-1","mb-1","inline-flex","items-center","justify-center","rounded","border","border-gray-600","bg-nord8","px-6","py-2","text-base","font-medium","leading-6","text-gray-50","shadow-sm","hover:bg-blue-200","focus:ring-2","focus:ring-offset-2","dark:bg-nord9",3,"click"]],template:function(i,o){i&1&&(H(0,"mat-tab-group",0),we("selectedIndexChange",function(s){return o.selectedIndex=s}),H(1,"mat-tab",1)(2,"div",2),bt(3,zve,2,0,"span"),Y()(),H(4,"mat-tab",3)(5,"textarea",4),we("ngModelChange",function(s){return o.code=s}),Y(),H(6,"button",5),we("click",function(){return o.preview()}),Se(7,"OK "),Y()()()),i&2&&(Me("animationDuration",150)("selectedIndex",o.selectedIndex),se(2),zs("min-height",100,"px"),se(1),tn(3,!o.code||!o.rendering?3:-1),se(2),Me("ngModel",o.code))},dependencies:[qC,Ib,$C,ro,Mo,no,Pi,sm]});let t=e;return t})();function Lve(t,e){if(t&1){let n=Fr();H(0,"input",3),we("change",function(){un(n);let i=Qe();return fn(i.setAttrs({checked:!i.checked}))}),Y()}}function Bve(t,e){t&1&&St(0,"span",4)}function Vve(t,e){if(t&1&&(H(0,"span",5),Se(1),Y()),t&2){let n=Qe();se(1),Cr(n.label)}}var Uve=t=>["flex-column","flex","items-start","gap-2",t],tG=(()=>{let e=class e extends Ho{get checked(){return this.node.attrs?.checked}get isBullet(){return this.node.attrs?.listType==="bullet"}get label(){return this.node.attrs?.label}get container(){return this.el.nativeElement.querySelector(".list-item-ref")}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["list-item"]],standalone:!0,features:[ke,He],decls:6,vars:5,consts:[[1,"flex","h-6","items-center"],["class","form-checkbox rounded","type","checkbox","checked","checked"],[1,"min-w-0","list-item-ref"],["type","checkbox","checked","checked",1,"form-checkbox","rounded",3,"change"],[1,"h-2","w-2","rounded-full","bg-nord8","dark:bg-nord9"],[1,"text-nord8"]],template:function(i,o){i&1&&(H(0,"li")(1,"span",0),bt(2,Lve,1,0,"input",1)(3,Bve,1,0)(4,Vve,2,1),Y(),St(5,"div",2),Y()),i&2&&(sr(hh(3,Uve,o.selected?"ProseMirror-selectednode":"")),se(2),tn(2,o.isBullet&&o.checked!=null?2:o.isBullet?3:4))},encapsulation:2});let t=e;return t})();var nG=(()=>{let e=class e extends Ho{get label(){return this.node.attrs?.label}get container(){return this.el.nativeElement.querySelector(".footnote-def")}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["footnote"]],standalone:!0,features:[ke,He],decls:7,vars:3,consts:[[1,"relative","flex","gap-2","rounded","border-2","border-gray-300","bg-gray-50","p-3","dark:border-gray-500","dark:bg-gray-900"],[1,"text-nord8"],[1,"not-prose","min-w-0","footnote-def"],["contentEditable","false",1,"absolute","top-0","right-0","cursor-pointer"],[1,"p-2","text-nord8",3,"href"]],template:function(i,o){i&1&&(H(0,"dl",0)(1,"dt",1),Se(2),Y(),St(3,"dd",2),H(4,"div",3)(5,"a",4),Se(6," \u21A9 "),Y()()()),i&2&&(hn("id","footnote-"+o.label+"-def"),se(2),la("",o.label,":"),se(3),Me("href","#footnote-"+o.label+"-ref",Dd))},styles:["dt[_ngcontent-%COMP%]{margin:0}"]});let t=e;return t})();var rG=(()=>{let e=class e extends Ho{get label(){return this.node.attrs?.label}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["footnote"]],standalone:!0,features:[ke,He],decls:3,vars:3,consts:[[1,"text-nord8",3,"href"]],template:function(i,o){i&1&&(H(0,"sup")(1,"a",0),Se(2),Y()()),i&2&&(se(1),Me("href","#footnote-"+o.label+"-def",Dd),hn("id","footnote-"+o.label+"-ref"),se(1),la(" ",o.label," "))},encapsulation:2});let t=e;return t})();function Hve(t,e){if(t&1&&(H(0,"option",6),Se(1),Y()),t&2){let n=e.$implicit;hg("value",n),se(1),Cr(n)}}var $ve=t=>[t],qve=()=>["bg-green-400","hover:bg-green-400","text-white"],Wve=()=>["bg-white"],iG=(()=>{let e=class e extends Ho{constructor(){super(...arguments),this.language="text",this.langs=["text","javascript","typescript","css","html","bash","json","markdown","python","java","c","cpp","ruby","go","rust","php","sql","yaml"],this.copiedSuccessfully=!1}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.language=this.node.attrs?.language})}copyToClipboard(r){return ot(this,null,function*(){r.preventDefault(),yield navigator.clipboard.writeText(this.node.textContent),this.copiedSuccessfully=!0,setTimeout(()=>{this.copiedSuccessfully=!1},2e3)})}get container(){return this.el.nativeElement.querySelector(".code-block-ref")}onChange(r){let{value:i}=r.target;this.setAttrs({language:i}),this.contentRef(this.container)}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["code-block"]],standalone:!0,features:[ke,He],decls:11,vars:11,consts:[[1,"not-prose","my-4","rounded","bg-gray-200","p-5","shadow","dark:bg-gray-800"],["contentEditable","false",1,"mb-2","flex","justify-between"],[1,"!focus:shadow-none","cursor-pointer","rounded","!border-0","bg-white","shadow-sm","focus:ring-2","focus:ring-offset-2","dark:bg-black",3,"value","change"],[1,"inline-flex","items-center","justify-center","rounded","border","border-gray-200","px-4","py-2","text-base","font-medium","leading-6","shadow-sm","hover:bg-gray-50","focus:ring-2","focus:ring-offset-2","dark:bg-black",3,"disabled","click"],["spellCheck","false",1,"flex","!m-0","!mb-4"],[1,"code-block-ref"],[3,"value"]],template:function(i,o){i&1&&(H(0,"div",0)(1,"div",1)(2,"select",2),we("change",function(s){return o.onChange(s)}),kr(3,Hve,2,2,"option",6,Oi),Y(),H(5,"button",3),we("click",function(s){return o.copyToClipboard(s)}),Se(6),Y()(),H(7,"pre",4),Se(8," "),St(9,"code",5),Se(10,` - `),Y()()),i&2&&(sr(hh(7,$ve,o.selected?"ProseMirror-selectednode":"")),se(2),Me("value",o.language),se(1),xr(o.langs),se(2),sr(o.copiedSuccessfully?tr(9,qve):tr(10,Wve)),Me("disabled",o.copiedSuccessfully),se(1),la(" ",o.copiedSuccessfully?"Copied!":"Copy"," "))},styles:[".code-block-ref[_ngcontent-%COMP%]{min-width:1px}"]});let t=e;return t})();var z6=[{emoji:"\u{1F600}",names:["grinning"],tags:["smile","happy"],description:"grinning face",category:"Smileys & Emotion"},{emoji:"\u{1F603}",names:["smiley"],tags:["happy","joy","haha"],description:"grinning face with big eyes",category:"Smileys & Emotion"},{emoji:"\u{1F604}",names:["smile"],tags:["happy","joy","laugh","pleased"],description:"grinning face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F601}",names:["grin"],tags:[],description:"beaming face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F606}",names:["laughing","satisfied"],tags:["happy","haha"],description:"grinning squinting face",category:"Smileys & Emotion"},{emoji:"\u{1F605}",names:["sweat_smile"],tags:["hot"],description:"grinning face with sweat",category:"Smileys & Emotion"},{emoji:"\u{1F923}",names:["rofl"],tags:["lol","laughing"],description:"rolling on the floor laughing",category:"Smileys & Emotion"},{emoji:"\u{1F602}",names:["joy"],tags:["tears"],description:"face with tears of joy",category:"Smileys & Emotion"},{emoji:"\u{1F642}",names:["slightly_smiling_face"],tags:[],description:"slightly smiling face",category:"Smileys & Emotion"},{emoji:"\u{1F643}",names:["upside_down_face"],tags:[],description:"upside-down face",category:"Smileys & Emotion"},{emoji:"\u{1FAE0}",names:["melting_face"],tags:["sarcasm","dread"],description:"melting face",category:"Smileys & Emotion"},{emoji:"\u{1F609}",names:["wink"],tags:["flirt"],description:"winking face",category:"Smileys & Emotion"},{emoji:"\u{1F60A}",names:["blush"],tags:["proud"],description:"smiling face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F607}",names:["innocent"],tags:["angel"],description:"smiling face with halo",category:"Smileys & Emotion"},{emoji:"\u{1F970}",names:["smiling_face_with_three_hearts"],tags:["love"],description:"smiling face with hearts",category:"Smileys & Emotion"},{emoji:"\u{1F60D}",names:["heart_eyes"],tags:["love","crush"],description:"smiling face with heart-eyes",category:"Smileys & Emotion"},{emoji:"\u{1F929}",names:["star_struck"],tags:["eyes"],description:"star-struck",category:"Smileys & Emotion"},{emoji:"\u{1F618}",names:["kissing_heart"],tags:["flirt"],description:"face blowing a kiss",category:"Smileys & Emotion"},{emoji:"\u{1F617}",names:["kissing"],tags:[],description:"kissing face",category:"Smileys & Emotion"},{emoji:"\u263A\uFE0F",names:["relaxed"],tags:["blush","pleased"],description:"smiling face",category:"Smileys & Emotion"},{emoji:"\u{1F61A}",names:["kissing_closed_eyes"],tags:[],description:"kissing face with closed eyes",category:"Smileys & Emotion"},{emoji:"\u{1F619}",names:["kissing_smiling_eyes"],tags:[],description:"kissing face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F972}",names:["smiling_face_with_tear"],tags:[],description:"smiling face with tear",category:"Smileys & Emotion"},{emoji:"\u{1F60B}",names:["yum"],tags:["tongue","lick"],description:"face savoring food",category:"Smileys & Emotion"},{emoji:"\u{1F61B}",names:["stuck_out_tongue"],tags:[],description:"face with tongue",category:"Smileys & Emotion"},{emoji:"\u{1F61C}",names:["stuck_out_tongue_winking_eye"],tags:["prank","silly"],description:"winking face with tongue",category:"Smileys & Emotion"},{emoji:"\u{1F92A}",names:["zany_face"],tags:["goofy","wacky"],description:"zany face",category:"Smileys & Emotion"},{emoji:"\u{1F61D}",names:["stuck_out_tongue_closed_eyes"],tags:["prank"],description:"squinting face with tongue",category:"Smileys & Emotion"},{emoji:"\u{1F911}",names:["money_mouth_face"],tags:["rich"],description:"money-mouth face",category:"Smileys & Emotion"},{emoji:"\u{1F917}",names:["hugs"],tags:[],description:"smiling face with open hands",category:"Smileys & Emotion"},{emoji:"\u{1F92D}",names:["hand_over_mouth"],tags:["quiet","whoops"],description:"face with hand over mouth",category:"Smileys & Emotion"},{emoji:"\u{1FAE2}",names:["face_with_open_eyes_and_hand_over_mouth"],tags:["gasp","shock"],description:"face with open eyes and hand over mouth",category:"Smileys & Emotion"},{emoji:"\u{1FAE3}",names:["face_with_peeking_eye"],tags:[],description:"face with peeking eye",category:"Smileys & Emotion"},{emoji:"\u{1F92B}",names:["shushing_face"],tags:["silence","quiet"],description:"shushing face",category:"Smileys & Emotion"},{emoji:"\u{1F914}",names:["thinking"],tags:[],description:"thinking face",category:"Smileys & Emotion"},{emoji:"\u{1FAE1}",names:["saluting_face"],tags:["respect"],description:"saluting face",category:"Smileys & Emotion"},{emoji:"\u{1F910}",names:["zipper_mouth_face"],tags:["silence","hush"],description:"zipper-mouth face",category:"Smileys & Emotion"},{emoji:"\u{1F928}",names:["raised_eyebrow"],tags:["suspicious"],description:"face with raised eyebrow",category:"Smileys & Emotion"},{emoji:"\u{1F610}",names:["neutral_face"],tags:["meh"],description:"neutral face",category:"Smileys & Emotion"},{emoji:"\u{1F611}",names:["expressionless"],tags:[],description:"expressionless face",category:"Smileys & Emotion"},{emoji:"\u{1F636}",names:["no_mouth"],tags:["mute","silence"],description:"face without mouth",category:"Smileys & Emotion"},{emoji:"\u{1FAE5}",names:["dotted_line_face"],tags:["invisible"],description:"dotted line face",category:"Smileys & Emotion"},{emoji:"\u{1F636}\u200D\u{1F32B}\uFE0F",names:["face_in_clouds"],tags:[],description:"face in clouds",category:"Smileys & Emotion"},{emoji:"\u{1F60F}",names:["smirk"],tags:["smug"],description:"smirking face",category:"Smileys & Emotion"},{emoji:"\u{1F612}",names:["unamused"],tags:["meh"],description:"unamused face",category:"Smileys & Emotion"},{emoji:"\u{1F644}",names:["roll_eyes"],tags:[],description:"face with rolling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F62C}",names:["grimacing"],tags:[],description:"grimacing face",category:"Smileys & Emotion"},{emoji:"\u{1F62E}\u200D\u{1F4A8}",names:["face_exhaling"],tags:[],description:"face exhaling",category:"Smileys & Emotion"},{emoji:"\u{1F925}",names:["lying_face"],tags:["liar"],description:"lying face",category:"Smileys & Emotion"},{emoji:"\u{1FAE8}",names:["shaking_face"],tags:["shock"],description:"shaking face",category:"Smileys & Emotion"},{emoji:"\u{1F60C}",names:["relieved"],tags:["whew"],description:"relieved face",category:"Smileys & Emotion"},{emoji:"\u{1F614}",names:["pensive"],tags:[],description:"pensive face",category:"Smileys & Emotion"},{emoji:"\u{1F62A}",names:["sleepy"],tags:["tired"],description:"sleepy face",category:"Smileys & Emotion"},{emoji:"\u{1F924}",names:["drooling_face"],tags:[],description:"drooling face",category:"Smileys & Emotion"},{emoji:"\u{1F634}",names:["sleeping"],tags:["zzz"],description:"sleeping face",category:"Smileys & Emotion"},{emoji:"\u{1F637}",names:["mask"],tags:["sick","ill"],description:"face with medical mask",category:"Smileys & Emotion"},{emoji:"\u{1F912}",names:["face_with_thermometer"],tags:["sick"],description:"face with thermometer",category:"Smileys & Emotion"},{emoji:"\u{1F915}",names:["face_with_head_bandage"],tags:["hurt"],description:"face with head-bandage",category:"Smileys & Emotion"},{emoji:"\u{1F922}",names:["nauseated_face"],tags:["sick","barf","disgusted"],description:"nauseated face",category:"Smileys & Emotion"},{emoji:"\u{1F92E}",names:["vomiting_face"],tags:["barf","sick"],description:"face vomiting",category:"Smileys & Emotion"},{emoji:"\u{1F927}",names:["sneezing_face"],tags:["achoo","sick"],description:"sneezing face",category:"Smileys & Emotion"},{emoji:"\u{1F975}",names:["hot_face"],tags:["heat","sweating"],description:"hot face",category:"Smileys & Emotion"},{emoji:"\u{1F976}",names:["cold_face"],tags:["freezing","ice"],description:"cold face",category:"Smileys & Emotion"},{emoji:"\u{1F974}",names:["woozy_face"],tags:["groggy"],description:"woozy face",category:"Smileys & Emotion"},{emoji:"\u{1F635}",names:["dizzy_face"],tags:[],description:"face with crossed-out eyes",category:"Smileys & Emotion"},{emoji:"\u{1F635}\u200D\u{1F4AB}",names:["face_with_spiral_eyes"],tags:[],description:"face with spiral eyes",category:"Smileys & Emotion"},{emoji:"\u{1F92F}",names:["exploding_head"],tags:["mind","blown"],description:"exploding head",category:"Smileys & Emotion"},{emoji:"\u{1F920}",names:["cowboy_hat_face"],tags:[],description:"cowboy hat face",category:"Smileys & Emotion"},{emoji:"\u{1F973}",names:["partying_face"],tags:["celebration","birthday"],description:"partying face",category:"Smileys & Emotion"},{emoji:"\u{1F978}",names:["disguised_face"],tags:[],description:"disguised face",category:"Smileys & Emotion"},{emoji:"\u{1F60E}",names:["sunglasses"],tags:["cool"],description:"smiling face with sunglasses",category:"Smileys & Emotion"},{emoji:"\u{1F913}",names:["nerd_face"],tags:["geek","glasses"],description:"nerd face",category:"Smileys & Emotion"},{emoji:"\u{1F9D0}",names:["monocle_face"],tags:[],description:"face with monocle",category:"Smileys & Emotion"},{emoji:"\u{1F615}",names:["confused"],tags:[],description:"confused face",category:"Smileys & Emotion"},{emoji:"\u{1FAE4}",names:["face_with_diagonal_mouth"],tags:["confused"],description:"face with diagonal mouth",category:"Smileys & Emotion"},{emoji:"\u{1F61F}",names:["worried"],tags:["nervous"],description:"worried face",category:"Smileys & Emotion"},{emoji:"\u{1F641}",names:["slightly_frowning_face"],tags:[],description:"slightly frowning face",category:"Smileys & Emotion"},{emoji:"\u2639\uFE0F",names:["frowning_face"],tags:[],description:"frowning face",category:"Smileys & Emotion"},{emoji:"\u{1F62E}",names:["open_mouth"],tags:["surprise","impressed","wow"],description:"face with open mouth",category:"Smileys & Emotion"},{emoji:"\u{1F62F}",names:["hushed"],tags:["silence","speechless"],description:"hushed face",category:"Smileys & Emotion"},{emoji:"\u{1F632}",names:["astonished"],tags:["amazed","gasp"],description:"astonished face",category:"Smileys & Emotion"},{emoji:"\u{1F633}",names:["flushed"],tags:[],description:"flushed face",category:"Smileys & Emotion"},{emoji:"\u{1F97A}",names:["pleading_face"],tags:["puppy","eyes"],description:"pleading face",category:"Smileys & Emotion"},{emoji:"\u{1F979}",names:["face_holding_back_tears"],tags:["tears","gratitude"],description:"face holding back tears",category:"Smileys & Emotion"},{emoji:"\u{1F626}",names:["frowning"],tags:[],description:"frowning face with open mouth",category:"Smileys & Emotion"},{emoji:"\u{1F627}",names:["anguished"],tags:["stunned"],description:"anguished face",category:"Smileys & Emotion"},{emoji:"\u{1F628}",names:["fearful"],tags:["scared","shocked","oops"],description:"fearful face",category:"Smileys & Emotion"},{emoji:"\u{1F630}",names:["cold_sweat"],tags:["nervous"],description:"anxious face with sweat",category:"Smileys & Emotion"},{emoji:"\u{1F625}",names:["disappointed_relieved"],tags:["phew","sweat","nervous"],description:"sad but relieved face",category:"Smileys & Emotion"},{emoji:"\u{1F622}",names:["cry"],tags:["sad","tear"],description:"crying face",category:"Smileys & Emotion"},{emoji:"\u{1F62D}",names:["sob"],tags:["sad","cry","bawling"],description:"loudly crying face",category:"Smileys & Emotion"},{emoji:"\u{1F631}",names:["scream"],tags:["horror","shocked"],description:"face screaming in fear",category:"Smileys & Emotion"},{emoji:"\u{1F616}",names:["confounded"],tags:[],description:"confounded face",category:"Smileys & Emotion"},{emoji:"\u{1F623}",names:["persevere"],tags:["struggling"],description:"persevering face",category:"Smileys & Emotion"},{emoji:"\u{1F61E}",names:["disappointed"],tags:["sad"],description:"disappointed face",category:"Smileys & Emotion"},{emoji:"\u{1F613}",names:["sweat"],tags:[],description:"downcast face with sweat",category:"Smileys & Emotion"},{emoji:"\u{1F629}",names:["weary"],tags:["tired"],description:"weary face",category:"Smileys & Emotion"},{emoji:"\u{1F62B}",names:["tired_face"],tags:["upset","whine"],description:"tired face",category:"Smileys & Emotion"},{emoji:"\u{1F971}",names:["yawning_face"],tags:[],description:"yawning face",category:"Smileys & Emotion"},{emoji:"\u{1F624}",names:["triumph"],tags:["smug"],description:"face with steam from nose",category:"Smileys & Emotion"},{emoji:"\u{1F621}",names:["rage","pout"],tags:["angry"],description:"enraged face",category:"Smileys & Emotion"},{emoji:"\u{1F620}",names:["angry"],tags:["mad","annoyed"],description:"angry face",category:"Smileys & Emotion"},{emoji:"\u{1F92C}",names:["cursing_face"],tags:["foul"],description:"face with symbols on mouth",category:"Smileys & Emotion"},{emoji:"\u{1F608}",names:["smiling_imp"],tags:["devil","evil","horns"],description:"smiling face with horns",category:"Smileys & Emotion"},{emoji:"\u{1F47F}",names:["imp"],tags:["angry","devil","evil","horns"],description:"angry face with horns",category:"Smileys & Emotion"},{emoji:"\u{1F480}",names:["skull"],tags:["dead","danger","poison"],description:"skull",category:"Smileys & Emotion"},{emoji:"\u2620\uFE0F",names:["skull_and_crossbones"],tags:["danger","pirate"],description:"skull and crossbones",category:"Smileys & Emotion"},{emoji:"\u{1F4A9}",names:["hankey","poop","shit"],tags:["crap"],description:"pile of poo",category:"Smileys & Emotion"},{emoji:"\u{1F921}",names:["clown_face"],tags:[],description:"clown face",category:"Smileys & Emotion"},{emoji:"\u{1F479}",names:["japanese_ogre"],tags:["monster"],description:"ogre",category:"Smileys & Emotion"},{emoji:"\u{1F47A}",names:["japanese_goblin"],tags:[],description:"goblin",category:"Smileys & Emotion"},{emoji:"\u{1F47B}",names:["ghost"],tags:["halloween"],description:"ghost",category:"Smileys & Emotion"},{emoji:"\u{1F47D}",names:["alien"],tags:["ufo"],description:"alien",category:"Smileys & Emotion"},{emoji:"\u{1F47E}",names:["space_invader"],tags:["game","retro"],description:"alien monster",category:"Smileys & Emotion"},{emoji:"\u{1F916}",names:["robot"],tags:[],description:"robot",category:"Smileys & Emotion"},{emoji:"\u{1F63A}",names:["smiley_cat"],tags:[],description:"grinning cat",category:"Smileys & Emotion"},{emoji:"\u{1F638}",names:["smile_cat"],tags:[],description:"grinning cat with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F639}",names:["joy_cat"],tags:[],description:"cat with tears of joy",category:"Smileys & Emotion"},{emoji:"\u{1F63B}",names:["heart_eyes_cat"],tags:[],description:"smiling cat with heart-eyes",category:"Smileys & Emotion"},{emoji:"\u{1F63C}",names:["smirk_cat"],tags:[],description:"cat with wry smile",category:"Smileys & Emotion"},{emoji:"\u{1F63D}",names:["kissing_cat"],tags:[],description:"kissing cat",category:"Smileys & Emotion"},{emoji:"\u{1F640}",names:["scream_cat"],tags:["horror"],description:"weary cat",category:"Smileys & Emotion"},{emoji:"\u{1F63F}",names:["crying_cat_face"],tags:["sad","tear"],description:"crying cat",category:"Smileys & Emotion"},{emoji:"\u{1F63E}",names:["pouting_cat"],tags:[],description:"pouting cat",category:"Smileys & Emotion"},{emoji:"\u{1F648}",names:["see_no_evil"],tags:["monkey","blind","ignore"],description:"see-no-evil monkey",category:"Smileys & Emotion"},{emoji:"\u{1F649}",names:["hear_no_evil"],tags:["monkey","deaf"],description:"hear-no-evil monkey",category:"Smileys & Emotion"},{emoji:"\u{1F64A}",names:["speak_no_evil"],tags:["monkey","mute","hush"],description:"speak-no-evil monkey",category:"Smileys & Emotion"},{emoji:"\u{1F48C}",names:["love_letter"],tags:["email","envelope"],description:"love letter",category:"Smileys & Emotion"},{emoji:"\u{1F498}",names:["cupid"],tags:["love","heart"],description:"heart with arrow",category:"Smileys & Emotion"},{emoji:"\u{1F49D}",names:["gift_heart"],tags:["chocolates"],description:"heart with ribbon",category:"Smileys & Emotion"},{emoji:"\u{1F496}",names:["sparkling_heart"],tags:[],description:"sparkling heart",category:"Smileys & Emotion"},{emoji:"\u{1F497}",names:["heartpulse"],tags:[],description:"growing heart",category:"Smileys & Emotion"},{emoji:"\u{1F493}",names:["heartbeat"],tags:[],description:"beating heart",category:"Smileys & Emotion"},{emoji:"\u{1F49E}",names:["revolving_hearts"],tags:[],description:"revolving hearts",category:"Smileys & Emotion"},{emoji:"\u{1F495}",names:["two_hearts"],tags:[],description:"two hearts",category:"Smileys & Emotion"},{emoji:"\u{1F49F}",names:["heart_decoration"],tags:[],description:"heart decoration",category:"Smileys & Emotion"},{emoji:"\u2763\uFE0F",names:["heavy_heart_exclamation"],tags:[],description:"heart exclamation",category:"Smileys & Emotion"},{emoji:"\u{1F494}",names:["broken_heart"],tags:[],description:"broken heart",category:"Smileys & Emotion"},{emoji:"\u2764\uFE0F\u200D\u{1F525}",names:["heart_on_fire"],tags:[],description:"heart on fire",category:"Smileys & Emotion"},{emoji:"\u2764\uFE0F\u200D\u{1FA79}",names:["mending_heart"],tags:[],description:"mending heart",category:"Smileys & Emotion"},{emoji:"\u2764\uFE0F",names:["heart"],tags:["love"],description:"red heart",category:"Smileys & Emotion"},{emoji:"\u{1FA77}",names:["pink_heart"],tags:[],description:"pink heart",category:"Smileys & Emotion"},{emoji:"\u{1F9E1}",names:["orange_heart"],tags:[],description:"orange heart",category:"Smileys & Emotion"},{emoji:"\u{1F49B}",names:["yellow_heart"],tags:[],description:"yellow heart",category:"Smileys & Emotion"},{emoji:"\u{1F49A}",names:["green_heart"],tags:[],description:"green heart",category:"Smileys & Emotion"},{emoji:"\u{1F499}",names:["blue_heart"],tags:[],description:"blue heart",category:"Smileys & Emotion"},{emoji:"\u{1FA75}",names:["light_blue_heart"],tags:[],description:"light blue heart",category:"Smileys & Emotion"},{emoji:"\u{1F49C}",names:["purple_heart"],tags:[],description:"purple heart",category:"Smileys & Emotion"},{emoji:"\u{1F90E}",names:["brown_heart"],tags:[],description:"brown heart",category:"Smileys & Emotion"},{emoji:"\u{1F5A4}",names:["black_heart"],tags:[],description:"black heart",category:"Smileys & Emotion"},{emoji:"\u{1FA76}",names:["grey_heart"],tags:[],description:"grey heart",category:"Smileys & Emotion"},{emoji:"\u{1F90D}",names:["white_heart"],tags:[],description:"white heart",category:"Smileys & Emotion"},{emoji:"\u{1F48B}",names:["kiss"],tags:["lipstick"],description:"kiss mark",category:"Smileys & Emotion"},{emoji:"\u{1F4AF}",names:["100"],tags:["score","perfect"],description:"hundred points",category:"Smileys & Emotion"},{emoji:"\u{1F4A2}",names:["anger"],tags:["angry"],description:"anger symbol",category:"Smileys & Emotion"},{emoji:"\u{1F4A5}",names:["boom","collision"],tags:["explode"],description:"collision",category:"Smileys & Emotion"},{emoji:"\u{1F4AB}",names:["dizzy"],tags:["star"],description:"dizzy",category:"Smileys & Emotion"},{emoji:"\u{1F4A6}",names:["sweat_drops"],tags:["water","workout"],description:"sweat droplets",category:"Smileys & Emotion"},{emoji:"\u{1F4A8}",names:["dash"],tags:["wind","blow","fast"],description:"dashing away",category:"Smileys & Emotion"},{emoji:"\u{1F573}\uFE0F",names:["hole"],tags:[],description:"hole",category:"Smileys & Emotion"},{emoji:"\u{1F4AC}",names:["speech_balloon"],tags:["comment"],description:"speech balloon",category:"Smileys & Emotion"},{emoji:"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F",names:["eye_speech_bubble"],tags:[],description:"eye in speech bubble",category:"Smileys & Emotion"},{emoji:"\u{1F5E8}\uFE0F",names:["left_speech_bubble"],tags:[],description:"left speech bubble",category:"Smileys & Emotion"},{emoji:"\u{1F5EF}\uFE0F",names:["right_anger_bubble"],tags:[],description:"right anger bubble",category:"Smileys & Emotion"},{emoji:"\u{1F4AD}",names:["thought_balloon"],tags:["thinking"],description:"thought balloon",category:"Smileys & Emotion"},{emoji:"\u{1F4A4}",names:["zzz"],tags:["sleeping"],description:"ZZZ",category:"Smileys & Emotion"},{emoji:"\u{1F44B}",names:["wave"],tags:["goodbye"],description:"waving hand",category:"People & Body"},{emoji:"\u{1F91A}",names:["raised_back_of_hand"],tags:[],description:"raised back of hand",category:"People & Body"},{emoji:"\u{1F590}\uFE0F",names:["raised_hand_with_fingers_splayed"],tags:[],description:"hand with fingers splayed",category:"People & Body"},{emoji:"\u270B",names:["hand","raised_hand"],tags:["highfive","stop"],description:"raised hand",category:"People & Body"},{emoji:"\u{1F596}",names:["vulcan_salute"],tags:["prosper","spock"],description:"vulcan salute",category:"People & Body"},{emoji:"\u{1FAF1}",names:["rightwards_hand"],tags:[],description:"rightwards hand",category:"People & Body"},{emoji:"\u{1FAF2}",names:["leftwards_hand"],tags:[],description:"leftwards hand",category:"People & Body"},{emoji:"\u{1FAF3}",names:["palm_down_hand"],tags:[],description:"palm down hand",category:"People & Body"},{emoji:"\u{1FAF4}",names:["palm_up_hand"],tags:[],description:"palm up hand",category:"People & Body"},{emoji:"\u{1FAF7}",names:["leftwards_pushing_hand"],tags:[],description:"leftwards pushing hand",category:"People & Body"},{emoji:"\u{1FAF8}",names:["rightwards_pushing_hand"],tags:[],description:"rightwards pushing hand",category:"People & Body"},{emoji:"\u{1F44C}",names:["ok_hand"],tags:[],description:"OK hand",category:"People & Body"},{emoji:"\u{1F90C}",names:["pinched_fingers"],tags:[],description:"pinched fingers",category:"People & Body"},{emoji:"\u{1F90F}",names:["pinching_hand"],tags:[],description:"pinching hand",category:"People & Body"},{emoji:"\u270C\uFE0F",names:["v"],tags:["victory","peace"],description:"victory hand",category:"People & Body"},{emoji:"\u{1F91E}",names:["crossed_fingers"],tags:["luck","hopeful"],description:"crossed fingers",category:"People & Body"},{emoji:"\u{1FAF0}",names:["hand_with_index_finger_and_thumb_crossed"],tags:[],description:"hand with index finger and thumb crossed",category:"People & Body"},{emoji:"\u{1F91F}",names:["love_you_gesture"],tags:[],description:"love-you gesture",category:"People & Body"},{emoji:"\u{1F918}",names:["metal"],tags:[],description:"sign of the horns",category:"People & Body"},{emoji:"\u{1F919}",names:["call_me_hand"],tags:[],description:"call me hand",category:"People & Body"},{emoji:"\u{1F448}",names:["point_left"],tags:[],description:"backhand index pointing left",category:"People & Body"},{emoji:"\u{1F449}",names:["point_right"],tags:[],description:"backhand index pointing right",category:"People & Body"},{emoji:"\u{1F446}",names:["point_up_2"],tags:[],description:"backhand index pointing up",category:"People & Body"},{emoji:"\u{1F595}",names:["middle_finger","fu"],tags:[],description:"middle finger",category:"People & Body"},{emoji:"\u{1F447}",names:["point_down"],tags:[],description:"backhand index pointing down",category:"People & Body"},{emoji:"\u261D\uFE0F",names:["point_up"],tags:[],description:"index pointing up",category:"People & Body"},{emoji:"\u{1FAF5}",names:["index_pointing_at_the_viewer"],tags:[],description:"index pointing at the viewer",category:"People & Body"},{emoji:"\u{1F44D}",names:["+1","thumbsup"],tags:["approve","ok"],description:"thumbs up",category:"People & Body"},{emoji:"\u{1F44E}",names:["-1","thumbsdown"],tags:["disapprove","bury"],description:"thumbs down",category:"People & Body"},{emoji:"\u270A",names:["fist_raised","fist"],tags:["power"],description:"raised fist",category:"People & Body"},{emoji:"\u{1F44A}",names:["fist_oncoming","facepunch","punch"],tags:["attack"],description:"oncoming fist",category:"People & Body"},{emoji:"\u{1F91B}",names:["fist_left"],tags:[],description:"left-facing fist",category:"People & Body"},{emoji:"\u{1F91C}",names:["fist_right"],tags:[],description:"right-facing fist",category:"People & Body"},{emoji:"\u{1F44F}",names:["clap"],tags:["praise","applause"],description:"clapping hands",category:"People & Body"},{emoji:"\u{1F64C}",names:["raised_hands"],tags:["hooray"],description:"raising hands",category:"People & Body"},{emoji:"\u{1FAF6}",names:["heart_hands"],tags:["love"],description:"heart hands",category:"People & Body"},{emoji:"\u{1F450}",names:["open_hands"],tags:[],description:"open hands",category:"People & Body"},{emoji:"\u{1F932}",names:["palms_up_together"],tags:[],description:"palms up together",category:"People & Body"},{emoji:"\u{1F91D}",names:["handshake"],tags:["deal"],description:"handshake",category:"People & Body"},{emoji:"\u{1F64F}",names:["pray"],tags:["please","hope","wish"],description:"folded hands",category:"People & Body"},{emoji:"\u270D\uFE0F",names:["writing_hand"],tags:[],description:"writing hand",category:"People & Body"},{emoji:"\u{1F485}",names:["nail_care"],tags:["beauty","manicure"],description:"nail polish",category:"People & Body"},{emoji:"\u{1F933}",names:["selfie"],tags:[],description:"selfie",category:"People & Body"},{emoji:"\u{1F4AA}",names:["muscle"],tags:["flex","bicep","strong","workout"],description:"flexed biceps",category:"People & Body"},{emoji:"\u{1F9BE}",names:["mechanical_arm"],tags:[],description:"mechanical arm",category:"People & Body"},{emoji:"\u{1F9BF}",names:["mechanical_leg"],tags:[],description:"mechanical leg",category:"People & Body"},{emoji:"\u{1F9B5}",names:["leg"],tags:[],description:"leg",category:"People & Body"},{emoji:"\u{1F9B6}",names:["foot"],tags:[],description:"foot",category:"People & Body"},{emoji:"\u{1F442}",names:["ear"],tags:["hear","sound","listen"],description:"ear",category:"People & Body"},{emoji:"\u{1F9BB}",names:["ear_with_hearing_aid"],tags:[],description:"ear with hearing aid",category:"People & Body"},{emoji:"\u{1F443}",names:["nose"],tags:["smell"],description:"nose",category:"People & Body"},{emoji:"\u{1F9E0}",names:["brain"],tags:[],description:"brain",category:"People & Body"},{emoji:"\u{1FAC0}",names:["anatomical_heart"],tags:[],description:"anatomical heart",category:"People & Body"},{emoji:"\u{1FAC1}",names:["lungs"],tags:[],description:"lungs",category:"People & Body"},{emoji:"\u{1F9B7}",names:["tooth"],tags:[],description:"tooth",category:"People & Body"},{emoji:"\u{1F9B4}",names:["bone"],tags:[],description:"bone",category:"People & Body"},{emoji:"\u{1F440}",names:["eyes"],tags:["look","see","watch"],description:"eyes",category:"People & Body"},{emoji:"\u{1F441}\uFE0F",names:["eye"],tags:[],description:"eye",category:"People & Body"},{emoji:"\u{1F445}",names:["tongue"],tags:["taste"],description:"tongue",category:"People & Body"},{emoji:"\u{1F444}",names:["lips"],tags:["kiss"],description:"mouth",category:"People & Body"},{emoji:"\u{1FAE6}",names:["biting_lip"],tags:[],description:"biting lip",category:"People & Body"},{emoji:"\u{1F476}",names:["baby"],tags:["child","newborn"],description:"baby",category:"People & Body"},{emoji:"\u{1F9D2}",names:["child"],tags:[],description:"child",category:"People & Body"},{emoji:"\u{1F466}",names:["boy"],tags:["child"],description:"boy",category:"People & Body"},{emoji:"\u{1F467}",names:["girl"],tags:["child"],description:"girl",category:"People & Body"},{emoji:"\u{1F9D1}",names:["adult"],tags:[],description:"person",category:"People & Body"},{emoji:"\u{1F471}",names:["blond_haired_person"],tags:[],description:"person: blond hair",category:"People & Body"},{emoji:"\u{1F468}",names:["man"],tags:["mustache","father","dad"],description:"man",category:"People & Body"},{emoji:"\u{1F9D4}",names:["bearded_person"],tags:[],description:"person: beard",category:"People & Body"},{emoji:"\u{1F9D4}\u200D\u2642\uFE0F",names:["man_beard"],tags:[],description:"man: beard",category:"People & Body"},{emoji:"\u{1F9D4}\u200D\u2640\uFE0F",names:["woman_beard"],tags:[],description:"woman: beard",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B0}",names:["red_haired_man"],tags:[],description:"man: red hair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B1}",names:["curly_haired_man"],tags:[],description:"man: curly hair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B3}",names:["white_haired_man"],tags:[],description:"man: white hair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B2}",names:["bald_man"],tags:[],description:"man: bald",category:"People & Body"},{emoji:"\u{1F469}",names:["woman"],tags:["girls"],description:"woman",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B0}",names:["red_haired_woman"],tags:[],description:"woman: red hair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B0}",names:["person_red_hair"],tags:[],description:"person: red hair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B1}",names:["curly_haired_woman"],tags:[],description:"woman: curly hair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B1}",names:["person_curly_hair"],tags:[],description:"person: curly hair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B3}",names:["white_haired_woman"],tags:[],description:"woman: white hair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B3}",names:["person_white_hair"],tags:[],description:"person: white hair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B2}",names:["bald_woman"],tags:[],description:"woman: bald",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B2}",names:["person_bald"],tags:[],description:"person: bald",category:"People & Body"},{emoji:"\u{1F471}\u200D\u2640\uFE0F",names:["blond_haired_woman","blonde_woman"],tags:[],description:"woman: blond hair",category:"People & Body"},{emoji:"\u{1F471}\u200D\u2642\uFE0F",names:["blond_haired_man"],tags:[],description:"man: blond hair",category:"People & Body"},{emoji:"\u{1F9D3}",names:["older_adult"],tags:[],description:"older person",category:"People & Body"},{emoji:"\u{1F474}",names:["older_man"],tags:[],description:"old man",category:"People & Body"},{emoji:"\u{1F475}",names:["older_woman"],tags:[],description:"old woman",category:"People & Body"},{emoji:"\u{1F64D}",names:["frowning_person"],tags:[],description:"person frowning",category:"People & Body"},{emoji:"\u{1F64D}\u200D\u2642\uFE0F",names:["frowning_man"],tags:[],description:"man frowning",category:"People & Body"},{emoji:"\u{1F64D}\u200D\u2640\uFE0F",names:["frowning_woman"],tags:[],description:"woman frowning",category:"People & Body"},{emoji:"\u{1F64E}",names:["pouting_face"],tags:[],description:"person pouting",category:"People & Body"},{emoji:"\u{1F64E}\u200D\u2642\uFE0F",names:["pouting_man"],tags:[],description:"man pouting",category:"People & Body"},{emoji:"\u{1F64E}\u200D\u2640\uFE0F",names:["pouting_woman"],tags:[],description:"woman pouting",category:"People & Body"},{emoji:"\u{1F645}",names:["no_good"],tags:["stop","halt","denied"],description:"person gesturing NO",category:"People & Body"},{emoji:"\u{1F645}\u200D\u2642\uFE0F",names:["no_good_man","ng_man"],tags:["stop","halt","denied"],description:"man gesturing NO",category:"People & Body"},{emoji:"\u{1F645}\u200D\u2640\uFE0F",names:["no_good_woman","ng_woman"],tags:["stop","halt","denied"],description:"woman gesturing NO",category:"People & Body"},{emoji:"\u{1F646}",names:["ok_person"],tags:[],description:"person gesturing OK",category:"People & Body"},{emoji:"\u{1F646}\u200D\u2642\uFE0F",names:["ok_man"],tags:[],description:"man gesturing OK",category:"People & Body"},{emoji:"\u{1F646}\u200D\u2640\uFE0F",names:["ok_woman"],tags:[],description:"woman gesturing OK",category:"People & Body"},{emoji:"\u{1F481}",names:["tipping_hand_person","information_desk_person"],tags:[],description:"person tipping hand",category:"People & Body"},{emoji:"\u{1F481}\u200D\u2642\uFE0F",names:["tipping_hand_man","sassy_man"],tags:["information"],description:"man tipping hand",category:"People & Body"},{emoji:"\u{1F481}\u200D\u2640\uFE0F",names:["tipping_hand_woman","sassy_woman"],tags:["information"],description:"woman tipping hand",category:"People & Body"},{emoji:"\u{1F64B}",names:["raising_hand"],tags:[],description:"person raising hand",category:"People & Body"},{emoji:"\u{1F64B}\u200D\u2642\uFE0F",names:["raising_hand_man"],tags:[],description:"man raising hand",category:"People & Body"},{emoji:"\u{1F64B}\u200D\u2640\uFE0F",names:["raising_hand_woman"],tags:[],description:"woman raising hand",category:"People & Body"},{emoji:"\u{1F9CF}",names:["deaf_person"],tags:[],description:"deaf person",category:"People & Body"},{emoji:"\u{1F9CF}\u200D\u2642\uFE0F",names:["deaf_man"],tags:[],description:"deaf man",category:"People & Body"},{emoji:"\u{1F9CF}\u200D\u2640\uFE0F",names:["deaf_woman"],tags:[],description:"deaf woman",category:"People & Body"},{emoji:"\u{1F647}",names:["bow"],tags:["respect","thanks"],description:"person bowing",category:"People & Body"},{emoji:"\u{1F647}\u200D\u2642\uFE0F",names:["bowing_man"],tags:["respect","thanks"],description:"man bowing",category:"People & Body"},{emoji:"\u{1F647}\u200D\u2640\uFE0F",names:["bowing_woman"],tags:["respect","thanks"],description:"woman bowing",category:"People & Body"},{emoji:"\u{1F926}",names:["facepalm"],tags:[],description:"person facepalming",category:"People & Body"},{emoji:"\u{1F926}\u200D\u2642\uFE0F",names:["man_facepalming"],tags:[],description:"man facepalming",category:"People & Body"},{emoji:"\u{1F926}\u200D\u2640\uFE0F",names:["woman_facepalming"],tags:[],description:"woman facepalming",category:"People & Body"},{emoji:"\u{1F937}",names:["shrug"],tags:[],description:"person shrugging",category:"People & Body"},{emoji:"\u{1F937}\u200D\u2642\uFE0F",names:["man_shrugging"],tags:[],description:"man shrugging",category:"People & Body"},{emoji:"\u{1F937}\u200D\u2640\uFE0F",names:["woman_shrugging"],tags:[],description:"woman shrugging",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u2695\uFE0F",names:["health_worker"],tags:[],description:"health worker",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2695\uFE0F",names:["man_health_worker"],tags:["doctor","nurse"],description:"man health worker",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2695\uFE0F",names:["woman_health_worker"],tags:["doctor","nurse"],description:"woman health worker",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F393}",names:["student"],tags:[],description:"student",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F393}",names:["man_student"],tags:["graduation"],description:"man student",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F393}",names:["woman_student"],tags:["graduation"],description:"woman student",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3EB}",names:["teacher"],tags:[],description:"teacher",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3EB}",names:["man_teacher"],tags:["school","professor"],description:"man teacher",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3EB}",names:["woman_teacher"],tags:["school","professor"],description:"woman teacher",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u2696\uFE0F",names:["judge"],tags:[],description:"judge",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2696\uFE0F",names:["man_judge"],tags:["justice"],description:"man judge",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2696\uFE0F",names:["woman_judge"],tags:["justice"],description:"woman judge",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F33E}",names:["farmer"],tags:[],description:"farmer",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F33E}",names:["man_farmer"],tags:[],description:"man farmer",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F33E}",names:["woman_farmer"],tags:[],description:"woman farmer",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F373}",names:["cook"],tags:[],description:"cook",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F373}",names:["man_cook"],tags:["chef"],description:"man cook",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F373}",names:["woman_cook"],tags:["chef"],description:"woman cook",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F527}",names:["mechanic"],tags:[],description:"mechanic",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F527}",names:["man_mechanic"],tags:[],description:"man mechanic",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F527}",names:["woman_mechanic"],tags:[],description:"woman mechanic",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3ED}",names:["factory_worker"],tags:[],description:"factory worker",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3ED}",names:["man_factory_worker"],tags:[],description:"man factory worker",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3ED}",names:["woman_factory_worker"],tags:[],description:"woman factory worker",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F4BC}",names:["office_worker"],tags:[],description:"office worker",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F4BC}",names:["man_office_worker"],tags:["business"],description:"man office worker",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F4BC}",names:["woman_office_worker"],tags:["business"],description:"woman office worker",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F52C}",names:["scientist"],tags:[],description:"scientist",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F52C}",names:["man_scientist"],tags:["research"],description:"man scientist",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F52C}",names:["woman_scientist"],tags:["research"],description:"woman scientist",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",names:["technologist"],tags:[],description:"technologist",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F4BB}",names:["man_technologist"],tags:["coder"],description:"man technologist",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F4BB}",names:["woman_technologist"],tags:["coder"],description:"woman technologist",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3A4}",names:["singer"],tags:[],description:"singer",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3A4}",names:["man_singer"],tags:["rockstar"],description:"man singer",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3A4}",names:["woman_singer"],tags:["rockstar"],description:"woman singer",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3A8}",names:["artist"],tags:[],description:"artist",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3A8}",names:["man_artist"],tags:["painter"],description:"man artist",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3A8}",names:["woman_artist"],tags:["painter"],description:"woman artist",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u2708\uFE0F",names:["pilot"],tags:[],description:"pilot",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2708\uFE0F",names:["man_pilot"],tags:[],description:"man pilot",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2708\uFE0F",names:["woman_pilot"],tags:[],description:"woman pilot",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F680}",names:["astronaut"],tags:[],description:"astronaut",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F680}",names:["man_astronaut"],tags:["space"],description:"man astronaut",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F680}",names:["woman_astronaut"],tags:["space"],description:"woman astronaut",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F692}",names:["firefighter"],tags:[],description:"firefighter",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F692}",names:["man_firefighter"],tags:[],description:"man firefighter",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F692}",names:["woman_firefighter"],tags:[],description:"woman firefighter",category:"People & Body"},{emoji:"\u{1F46E}",names:["police_officer","cop"],tags:["law"],description:"police officer",category:"People & Body"},{emoji:"\u{1F46E}\u200D\u2642\uFE0F",names:["policeman"],tags:["law","cop"],description:"man police officer",category:"People & Body"},{emoji:"\u{1F46E}\u200D\u2640\uFE0F",names:["policewoman"],tags:["law","cop"],description:"woman police officer",category:"People & Body"},{emoji:"\u{1F575}\uFE0F",names:["detective"],tags:["sleuth"],description:"detective",category:"People & Body"},{emoji:"\u{1F575}\uFE0F\u200D\u2642\uFE0F",names:["male_detective"],tags:["sleuth"],description:"man detective",category:"People & Body"},{emoji:"\u{1F575}\uFE0F\u200D\u2640\uFE0F",names:["female_detective"],tags:["sleuth"],description:"woman detective",category:"People & Body"},{emoji:"\u{1F482}",names:["guard"],tags:[],description:"guard",category:"People & Body"},{emoji:"\u{1F482}\u200D\u2642\uFE0F",names:["guardsman"],tags:[],description:"man guard",category:"People & Body"},{emoji:"\u{1F482}\u200D\u2640\uFE0F",names:["guardswoman"],tags:[],description:"woman guard",category:"People & Body"},{emoji:"\u{1F977}",names:["ninja"],tags:[],description:"ninja",category:"People & Body"},{emoji:"\u{1F477}",names:["construction_worker"],tags:["helmet"],description:"construction worker",category:"People & Body"},{emoji:"\u{1F477}\u200D\u2642\uFE0F",names:["construction_worker_man"],tags:["helmet"],description:"man construction worker",category:"People & Body"},{emoji:"\u{1F477}\u200D\u2640\uFE0F",names:["construction_worker_woman"],tags:["helmet"],description:"woman construction worker",category:"People & Body"},{emoji:"\u{1FAC5}",names:["person_with_crown"],tags:[],description:"person with crown",category:"People & Body"},{emoji:"\u{1F934}",names:["prince"],tags:["crown","royal"],description:"prince",category:"People & Body"},{emoji:"\u{1F478}",names:["princess"],tags:["crown","royal"],description:"princess",category:"People & Body"},{emoji:"\u{1F473}",names:["person_with_turban"],tags:[],description:"person wearing turban",category:"People & Body"},{emoji:"\u{1F473}\u200D\u2642\uFE0F",names:["man_with_turban"],tags:[],description:"man wearing turban",category:"People & Body"},{emoji:"\u{1F473}\u200D\u2640\uFE0F",names:["woman_with_turban"],tags:[],description:"woman wearing turban",category:"People & Body"},{emoji:"\u{1F472}",names:["man_with_gua_pi_mao"],tags:[],description:"person with skullcap",category:"People & Body"},{emoji:"\u{1F9D5}",names:["woman_with_headscarf"],tags:["hijab"],description:"woman with headscarf",category:"People & Body"},{emoji:"\u{1F935}",names:["person_in_tuxedo"],tags:["groom","marriage","wedding"],description:"person in tuxedo",category:"People & Body"},{emoji:"\u{1F935}\u200D\u2642\uFE0F",names:["man_in_tuxedo"],tags:[],description:"man in tuxedo",category:"People & Body"},{emoji:"\u{1F935}\u200D\u2640\uFE0F",names:["woman_in_tuxedo"],tags:[],description:"woman in tuxedo",category:"People & Body"},{emoji:"\u{1F470}",names:["person_with_veil"],tags:["marriage","wedding"],description:"person with veil",category:"People & Body"},{emoji:"\u{1F470}\u200D\u2642\uFE0F",names:["man_with_veil"],tags:[],description:"man with veil",category:"People & Body"},{emoji:"\u{1F470}\u200D\u2640\uFE0F",names:["woman_with_veil","bride_with_veil"],tags:[],description:"woman with veil",category:"People & Body"},{emoji:"\u{1F930}",names:["pregnant_woman"],tags:[],description:"pregnant woman",category:"People & Body"},{emoji:"\u{1FAC3}",names:["pregnant_man"],tags:[],description:"pregnant man",category:"People & Body"},{emoji:"\u{1FAC4}",names:["pregnant_person"],tags:[],description:"pregnant person",category:"People & Body"},{emoji:"\u{1F931}",names:["breast_feeding"],tags:["nursing"],description:"breast-feeding",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F37C}",names:["woman_feeding_baby"],tags:[],description:"woman feeding baby",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F37C}",names:["man_feeding_baby"],tags:[],description:"man feeding baby",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F37C}",names:["person_feeding_baby"],tags:[],description:"person feeding baby",category:"People & Body"},{emoji:"\u{1F47C}",names:["angel"],tags:[],description:"baby angel",category:"People & Body"},{emoji:"\u{1F385}",names:["santa"],tags:["christmas"],description:"Santa Claus",category:"People & Body"},{emoji:"\u{1F936}",names:["mrs_claus"],tags:["santa"],description:"Mrs. Claus",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F384}",names:["mx_claus"],tags:[],description:"mx claus",category:"People & Body"},{emoji:"\u{1F9B8}",names:["superhero"],tags:[],description:"superhero",category:"People & Body"},{emoji:"\u{1F9B8}\u200D\u2642\uFE0F",names:["superhero_man"],tags:[],description:"man superhero",category:"People & Body"},{emoji:"\u{1F9B8}\u200D\u2640\uFE0F",names:["superhero_woman"],tags:[],description:"woman superhero",category:"People & Body"},{emoji:"\u{1F9B9}",names:["supervillain"],tags:[],description:"supervillain",category:"People & Body"},{emoji:"\u{1F9B9}\u200D\u2642\uFE0F",names:["supervillain_man"],tags:[],description:"man supervillain",category:"People & Body"},{emoji:"\u{1F9B9}\u200D\u2640\uFE0F",names:["supervillain_woman"],tags:[],description:"woman supervillain",category:"People & Body"},{emoji:"\u{1F9D9}",names:["mage"],tags:["wizard"],description:"mage",category:"People & Body"},{emoji:"\u{1F9D9}\u200D\u2642\uFE0F",names:["mage_man"],tags:["wizard"],description:"man mage",category:"People & Body"},{emoji:"\u{1F9D9}\u200D\u2640\uFE0F",names:["mage_woman"],tags:["wizard"],description:"woman mage",category:"People & Body"},{emoji:"\u{1F9DA}",names:["fairy"],tags:[],description:"fairy",category:"People & Body"},{emoji:"\u{1F9DA}\u200D\u2642\uFE0F",names:["fairy_man"],tags:[],description:"man fairy",category:"People & Body"},{emoji:"\u{1F9DA}\u200D\u2640\uFE0F",names:["fairy_woman"],tags:[],description:"woman fairy",category:"People & Body"},{emoji:"\u{1F9DB}",names:["vampire"],tags:[],description:"vampire",category:"People & Body"},{emoji:"\u{1F9DB}\u200D\u2642\uFE0F",names:["vampire_man"],tags:[],description:"man vampire",category:"People & Body"},{emoji:"\u{1F9DB}\u200D\u2640\uFE0F",names:["vampire_woman"],tags:[],description:"woman vampire",category:"People & Body"},{emoji:"\u{1F9DC}",names:["merperson"],tags:[],description:"merperson",category:"People & Body"},{emoji:"\u{1F9DC}\u200D\u2642\uFE0F",names:["merman"],tags:[],description:"merman",category:"People & Body"},{emoji:"\u{1F9DC}\u200D\u2640\uFE0F",names:["mermaid"],tags:[],description:"mermaid",category:"People & Body"},{emoji:"\u{1F9DD}",names:["elf"],tags:[],description:"elf",category:"People & Body"},{emoji:"\u{1F9DD}\u200D\u2642\uFE0F",names:["elf_man"],tags:[],description:"man elf",category:"People & Body"},{emoji:"\u{1F9DD}\u200D\u2640\uFE0F",names:["elf_woman"],tags:[],description:"woman elf",category:"People & Body"},{emoji:"\u{1F9DE}",names:["genie"],tags:[],description:"genie",category:"People & Body"},{emoji:"\u{1F9DE}\u200D\u2642\uFE0F",names:["genie_man"],tags:[],description:"man genie",category:"People & Body"},{emoji:"\u{1F9DE}\u200D\u2640\uFE0F",names:["genie_woman"],tags:[],description:"woman genie",category:"People & Body"},{emoji:"\u{1F9DF}",names:["zombie"],tags:[],description:"zombie",category:"People & Body"},{emoji:"\u{1F9DF}\u200D\u2642\uFE0F",names:["zombie_man"],tags:[],description:"man zombie",category:"People & Body"},{emoji:"\u{1F9DF}\u200D\u2640\uFE0F",names:["zombie_woman"],tags:[],description:"woman zombie",category:"People & Body"},{emoji:"\u{1F9CC}",names:["troll"],tags:[],description:"troll",category:"People & Body"},{emoji:"\u{1F486}",names:["massage"],tags:["spa"],description:"person getting massage",category:"People & Body"},{emoji:"\u{1F486}\u200D\u2642\uFE0F",names:["massage_man"],tags:["spa"],description:"man getting massage",category:"People & Body"},{emoji:"\u{1F486}\u200D\u2640\uFE0F",names:["massage_woman"],tags:["spa"],description:"woman getting massage",category:"People & Body"},{emoji:"\u{1F487}",names:["haircut"],tags:["beauty"],description:"person getting haircut",category:"People & Body"},{emoji:"\u{1F487}\u200D\u2642\uFE0F",names:["haircut_man"],tags:[],description:"man getting haircut",category:"People & Body"},{emoji:"\u{1F487}\u200D\u2640\uFE0F",names:["haircut_woman"],tags:[],description:"woman getting haircut",category:"People & Body"},{emoji:"\u{1F6B6}",names:["walking"],tags:[],description:"person walking",category:"People & Body"},{emoji:"\u{1F6B6}\u200D\u2642\uFE0F",names:["walking_man"],tags:[],description:"man walking",category:"People & Body"},{emoji:"\u{1F6B6}\u200D\u2640\uFE0F",names:["walking_woman"],tags:[],description:"woman walking",category:"People & Body"},{emoji:"\u{1F9CD}",names:["standing_person"],tags:[],description:"person standing",category:"People & Body"},{emoji:"\u{1F9CD}\u200D\u2642\uFE0F",names:["standing_man"],tags:[],description:"man standing",category:"People & Body"},{emoji:"\u{1F9CD}\u200D\u2640\uFE0F",names:["standing_woman"],tags:[],description:"woman standing",category:"People & Body"},{emoji:"\u{1F9CE}",names:["kneeling_person"],tags:[],description:"person kneeling",category:"People & Body"},{emoji:"\u{1F9CE}\u200D\u2642\uFE0F",names:["kneeling_man"],tags:[],description:"man kneeling",category:"People & Body"},{emoji:"\u{1F9CE}\u200D\u2640\uFE0F",names:["kneeling_woman"],tags:[],description:"woman kneeling",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9AF}",names:["person_with_probing_cane"],tags:[],description:"person with white cane",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9AF}",names:["man_with_probing_cane"],tags:[],description:"man with white cane",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9AF}",names:["woman_with_probing_cane"],tags:[],description:"woman with white cane",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9BC}",names:["person_in_motorized_wheelchair"],tags:[],description:"person in motorized wheelchair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9BC}",names:["man_in_motorized_wheelchair"],tags:[],description:"man in motorized wheelchair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9BC}",names:["woman_in_motorized_wheelchair"],tags:[],description:"woman in motorized wheelchair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9BD}",names:["person_in_manual_wheelchair"],tags:[],description:"person in manual wheelchair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9BD}",names:["man_in_manual_wheelchair"],tags:[],description:"man in manual wheelchair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9BD}",names:["woman_in_manual_wheelchair"],tags:[],description:"woman in manual wheelchair",category:"People & Body"},{emoji:"\u{1F3C3}",names:["runner","running"],tags:["exercise","workout","marathon"],description:"person running",category:"People & Body"},{emoji:"\u{1F3C3}\u200D\u2642\uFE0F",names:["running_man"],tags:["exercise","workout","marathon"],description:"man running",category:"People & Body"},{emoji:"\u{1F3C3}\u200D\u2640\uFE0F",names:["running_woman"],tags:["exercise","workout","marathon"],description:"woman running",category:"People & Body"},{emoji:"\u{1F483}",names:["woman_dancing","dancer"],tags:["dress"],description:"woman dancing",category:"People & Body"},{emoji:"\u{1F57A}",names:["man_dancing"],tags:["dancer"],description:"man dancing",category:"People & Body"},{emoji:"\u{1F574}\uFE0F",names:["business_suit_levitating"],tags:[],description:"person in suit levitating",category:"People & Body"},{emoji:"\u{1F46F}",names:["dancers"],tags:["bunny"],description:"people with bunny ears",category:"People & Body"},{emoji:"\u{1F46F}\u200D\u2642\uFE0F",names:["dancing_men"],tags:["bunny"],description:"men with bunny ears",category:"People & Body"},{emoji:"\u{1F46F}\u200D\u2640\uFE0F",names:["dancing_women"],tags:["bunny"],description:"women with bunny ears",category:"People & Body"},{emoji:"\u{1F9D6}",names:["sauna_person"],tags:["steamy"],description:"person in steamy room",category:"People & Body"},{emoji:"\u{1F9D6}\u200D\u2642\uFE0F",names:["sauna_man"],tags:["steamy"],description:"man in steamy room",category:"People & Body"},{emoji:"\u{1F9D6}\u200D\u2640\uFE0F",names:["sauna_woman"],tags:["steamy"],description:"woman in steamy room",category:"People & Body"},{emoji:"\u{1F9D7}",names:["climbing"],tags:["bouldering"],description:"person climbing",category:"People & Body"},{emoji:"\u{1F9D7}\u200D\u2642\uFE0F",names:["climbing_man"],tags:["bouldering"],description:"man climbing",category:"People & Body"},{emoji:"\u{1F9D7}\u200D\u2640\uFE0F",names:["climbing_woman"],tags:["bouldering"],description:"woman climbing",category:"People & Body"},{emoji:"\u{1F93A}",names:["person_fencing"],tags:[],description:"person fencing",category:"People & Body"},{emoji:"\u{1F3C7}",names:["horse_racing"],tags:[],description:"horse racing",category:"People & Body"},{emoji:"\u26F7\uFE0F",names:["skier"],tags:[],description:"skier",category:"People & Body"},{emoji:"\u{1F3C2}",names:["snowboarder"],tags:[],description:"snowboarder",category:"People & Body"},{emoji:"\u{1F3CC}\uFE0F",names:["golfing"],tags:[],description:"person golfing",category:"People & Body"},{emoji:"\u{1F3CC}\uFE0F\u200D\u2642\uFE0F",names:["golfing_man"],tags:[],description:"man golfing",category:"People & Body"},{emoji:"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F",names:["golfing_woman"],tags:[],description:"woman golfing",category:"People & Body"},{emoji:"\u{1F3C4}",names:["surfer"],tags:[],description:"person surfing",category:"People & Body"},{emoji:"\u{1F3C4}\u200D\u2642\uFE0F",names:["surfing_man"],tags:[],description:"man surfing",category:"People & Body"},{emoji:"\u{1F3C4}\u200D\u2640\uFE0F",names:["surfing_woman"],tags:[],description:"woman surfing",category:"People & Body"},{emoji:"\u{1F6A3}",names:["rowboat"],tags:[],description:"person rowing boat",category:"People & Body"},{emoji:"\u{1F6A3}\u200D\u2642\uFE0F",names:["rowing_man"],tags:[],description:"man rowing boat",category:"People & Body"},{emoji:"\u{1F6A3}\u200D\u2640\uFE0F",names:["rowing_woman"],tags:[],description:"woman rowing boat",category:"People & Body"},{emoji:"\u{1F3CA}",names:["swimmer"],tags:[],description:"person swimming",category:"People & Body"},{emoji:"\u{1F3CA}\u200D\u2642\uFE0F",names:["swimming_man"],tags:[],description:"man swimming",category:"People & Body"},{emoji:"\u{1F3CA}\u200D\u2640\uFE0F",names:["swimming_woman"],tags:[],description:"woman swimming",category:"People & Body"},{emoji:"\u26F9\uFE0F",names:["bouncing_ball_person"],tags:["basketball"],description:"person bouncing ball",category:"People & Body"},{emoji:"\u26F9\uFE0F\u200D\u2642\uFE0F",names:["bouncing_ball_man","basketball_man"],tags:[],description:"man bouncing ball",category:"People & Body"},{emoji:"\u26F9\uFE0F\u200D\u2640\uFE0F",names:["bouncing_ball_woman","basketball_woman"],tags:[],description:"woman bouncing ball",category:"People & Body"},{emoji:"\u{1F3CB}\uFE0F",names:["weight_lifting"],tags:["gym","workout"],description:"person lifting weights",category:"People & Body"},{emoji:"\u{1F3CB}\uFE0F\u200D\u2642\uFE0F",names:["weight_lifting_man"],tags:["gym","workout"],description:"man lifting weights",category:"People & Body"},{emoji:"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F",names:["weight_lifting_woman"],tags:["gym","workout"],description:"woman lifting weights",category:"People & Body"},{emoji:"\u{1F6B4}",names:["bicyclist"],tags:[],description:"person biking",category:"People & Body"},{emoji:"\u{1F6B4}\u200D\u2642\uFE0F",names:["biking_man"],tags:[],description:"man biking",category:"People & Body"},{emoji:"\u{1F6B4}\u200D\u2640\uFE0F",names:["biking_woman"],tags:[],description:"woman biking",category:"People & Body"},{emoji:"\u{1F6B5}",names:["mountain_bicyclist"],tags:[],description:"person mountain biking",category:"People & Body"},{emoji:"\u{1F6B5}\u200D\u2642\uFE0F",names:["mountain_biking_man"],tags:[],description:"man mountain biking",category:"People & Body"},{emoji:"\u{1F6B5}\u200D\u2640\uFE0F",names:["mountain_biking_woman"],tags:[],description:"woman mountain biking",category:"People & Body"},{emoji:"\u{1F938}",names:["cartwheeling"],tags:[],description:"person cartwheeling",category:"People & Body"},{emoji:"\u{1F938}\u200D\u2642\uFE0F",names:["man_cartwheeling"],tags:[],description:"man cartwheeling",category:"People & Body"},{emoji:"\u{1F938}\u200D\u2640\uFE0F",names:["woman_cartwheeling"],tags:[],description:"woman cartwheeling",category:"People & Body"},{emoji:"\u{1F93C}",names:["wrestling"],tags:[],description:"people wrestling",category:"People & Body"},{emoji:"\u{1F93C}\u200D\u2642\uFE0F",names:["men_wrestling"],tags:[],description:"men wrestling",category:"People & Body"},{emoji:"\u{1F93C}\u200D\u2640\uFE0F",names:["women_wrestling"],tags:[],description:"women wrestling",category:"People & Body"},{emoji:"\u{1F93D}",names:["water_polo"],tags:[],description:"person playing water polo",category:"People & Body"},{emoji:"\u{1F93D}\u200D\u2642\uFE0F",names:["man_playing_water_polo"],tags:[],description:"man playing water polo",category:"People & Body"},{emoji:"\u{1F93D}\u200D\u2640\uFE0F",names:["woman_playing_water_polo"],tags:[],description:"woman playing water polo",category:"People & Body"},{emoji:"\u{1F93E}",names:["handball_person"],tags:[],description:"person playing handball",category:"People & Body"},{emoji:"\u{1F93E}\u200D\u2642\uFE0F",names:["man_playing_handball"],tags:[],description:"man playing handball",category:"People & Body"},{emoji:"\u{1F93E}\u200D\u2640\uFE0F",names:["woman_playing_handball"],tags:[],description:"woman playing handball",category:"People & Body"},{emoji:"\u{1F939}",names:["juggling_person"],tags:[],description:"person juggling",category:"People & Body"},{emoji:"\u{1F939}\u200D\u2642\uFE0F",names:["man_juggling"],tags:[],description:"man juggling",category:"People & Body"},{emoji:"\u{1F939}\u200D\u2640\uFE0F",names:["woman_juggling"],tags:[],description:"woman juggling",category:"People & Body"},{emoji:"\u{1F9D8}",names:["lotus_position"],tags:["meditation"],description:"person in lotus position",category:"People & Body"},{emoji:"\u{1F9D8}\u200D\u2642\uFE0F",names:["lotus_position_man"],tags:["meditation"],description:"man in lotus position",category:"People & Body"},{emoji:"\u{1F9D8}\u200D\u2640\uFE0F",names:["lotus_position_woman"],tags:["meditation"],description:"woman in lotus position",category:"People & Body"},{emoji:"\u{1F6C0}",names:["bath"],tags:["shower"],description:"person taking bath",category:"People & Body"},{emoji:"\u{1F6CC}",names:["sleeping_bed"],tags:[],description:"person in bed",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}",names:["people_holding_hands"],tags:["couple","date"],description:"people holding hands",category:"People & Body"},{emoji:"\u{1F46D}",names:["two_women_holding_hands"],tags:["couple","date"],description:"women holding hands",category:"People & Body"},{emoji:"\u{1F46B}",names:["couple"],tags:["date"],description:"woman and man holding hands",category:"People & Body"},{emoji:"\u{1F46C}",names:["two_men_holding_hands"],tags:["couple","date"],description:"men holding hands",category:"People & Body"},{emoji:"\u{1F48F}",names:["couplekiss"],tags:[],description:"kiss",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}",names:["couplekiss_man_woman"],tags:[],description:"kiss: woman, man",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}",names:["couplekiss_man_man"],tags:[],description:"kiss: man, man",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}",names:["couplekiss_woman_woman"],tags:[],description:"kiss: woman, woman",category:"People & Body"},{emoji:"\u{1F491}",names:["couple_with_heart"],tags:[],description:"couple with heart",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}",names:["couple_with_heart_woman_man"],tags:[],description:"couple with heart: woman, man",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}",names:["couple_with_heart_man_man"],tags:[],description:"couple with heart: man, man",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}",names:["couple_with_heart_woman_woman"],tags:[],description:"couple with heart: woman, woman",category:"People & Body"},{emoji:"\u{1F46A}",names:["family"],tags:["home","parents","child"],description:"family",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}",names:["family_man_woman_boy"],tags:[],description:"family: man, woman, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}",names:["family_man_woman_girl"],tags:[],description:"family: man, woman, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",names:["family_man_woman_girl_boy"],tags:[],description:"family: man, woman, girl, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",names:["family_man_woman_boy_boy"],tags:[],description:"family: man, woman, boy, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",names:["family_man_woman_girl_girl"],tags:[],description:"family: man, woman, girl, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}",names:["family_man_man_boy"],tags:[],description:"family: man, man, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}",names:["family_man_man_girl"],tags:[],description:"family: man, man, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",names:["family_man_man_girl_boy"],tags:[],description:"family: man, man, girl, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",names:["family_man_man_boy_boy"],tags:[],description:"family: man, man, boy, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",names:["family_man_man_girl_girl"],tags:[],description:"family: man, man, girl, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}",names:["family_woman_woman_boy"],tags:[],description:"family: woman, woman, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}",names:["family_woman_woman_girl"],tags:[],description:"family: woman, woman, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",names:["family_woman_woman_girl_boy"],tags:[],description:"family: woman, woman, girl, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",names:["family_woman_woman_boy_boy"],tags:[],description:"family: woman, woman, boy, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",names:["family_woman_woman_girl_girl"],tags:[],description:"family: woman, woman, girl, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F466}",names:["family_man_boy"],tags:[],description:"family: man, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",names:["family_man_boy_boy"],tags:[],description:"family: man, boy, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F467}",names:["family_man_girl"],tags:[],description:"family: man, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",names:["family_man_girl_boy"],tags:[],description:"family: man, girl, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",names:["family_man_girl_girl"],tags:[],description:"family: man, girl, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F466}",names:["family_woman_boy"],tags:[],description:"family: woman, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",names:["family_woman_boy_boy"],tags:[],description:"family: woman, boy, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F467}",names:["family_woman_girl"],tags:[],description:"family: woman, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",names:["family_woman_girl_boy"],tags:[],description:"family: woman, girl, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",names:["family_woman_girl_girl"],tags:[],description:"family: woman, girl, girl",category:"People & Body"},{emoji:"\u{1F5E3}\uFE0F",names:["speaking_head"],tags:[],description:"speaking head",category:"People & Body"},{emoji:"\u{1F464}",names:["bust_in_silhouette"],tags:["user"],description:"bust in silhouette",category:"People & Body"},{emoji:"\u{1F465}",names:["busts_in_silhouette"],tags:["users","group","team"],description:"busts in silhouette",category:"People & Body"},{emoji:"\u{1FAC2}",names:["people_hugging"],tags:[],description:"people hugging",category:"People & Body"},{emoji:"\u{1F463}",names:["footprints"],tags:["feet","tracks"],description:"footprints",category:"People & Body"},{emoji:"\u{1F435}",names:["monkey_face"],tags:[],description:"monkey face",category:"Animals & Nature"},{emoji:"\u{1F412}",names:["monkey"],tags:[],description:"monkey",category:"Animals & Nature"},{emoji:"\u{1F98D}",names:["gorilla"],tags:[],description:"gorilla",category:"Animals & Nature"},{emoji:"\u{1F9A7}",names:["orangutan"],tags:[],description:"orangutan",category:"Animals & Nature"},{emoji:"\u{1F436}",names:["dog"],tags:["pet"],description:"dog face",category:"Animals & Nature"},{emoji:"\u{1F415}",names:["dog2"],tags:[],description:"dog",category:"Animals & Nature"},{emoji:"\u{1F9AE}",names:["guide_dog"],tags:[],description:"guide dog",category:"Animals & Nature"},{emoji:"\u{1F415}\u200D\u{1F9BA}",names:["service_dog"],tags:[],description:"service dog",category:"Animals & Nature"},{emoji:"\u{1F429}",names:["poodle"],tags:["dog"],description:"poodle",category:"Animals & Nature"},{emoji:"\u{1F43A}",names:["wolf"],tags:[],description:"wolf",category:"Animals & Nature"},{emoji:"\u{1F98A}",names:["fox_face"],tags:[],description:"fox",category:"Animals & Nature"},{emoji:"\u{1F99D}",names:["raccoon"],tags:[],description:"raccoon",category:"Animals & Nature"},{emoji:"\u{1F431}",names:["cat"],tags:["pet"],description:"cat face",category:"Animals & Nature"},{emoji:"\u{1F408}",names:["cat2"],tags:[],description:"cat",category:"Animals & Nature"},{emoji:"\u{1F408}\u200D\u2B1B",names:["black_cat"],tags:[],description:"black cat",category:"Animals & Nature"},{emoji:"\u{1F981}",names:["lion"],tags:[],description:"lion",category:"Animals & Nature"},{emoji:"\u{1F42F}",names:["tiger"],tags:[],description:"tiger face",category:"Animals & Nature"},{emoji:"\u{1F405}",names:["tiger2"],tags:[],description:"tiger",category:"Animals & Nature"},{emoji:"\u{1F406}",names:["leopard"],tags:[],description:"leopard",category:"Animals & Nature"},{emoji:"\u{1F434}",names:["horse"],tags:[],description:"horse face",category:"Animals & Nature"},{emoji:"\u{1FACE}",names:["moose"],tags:["canada"],description:"moose",category:"Animals & Nature"},{emoji:"\u{1FACF}",names:["donkey"],tags:["mule"],description:"donkey",category:"Animals & Nature"},{emoji:"\u{1F40E}",names:["racehorse"],tags:["speed"],description:"horse",category:"Animals & Nature"},{emoji:"\u{1F984}",names:["unicorn"],tags:[],description:"unicorn",category:"Animals & Nature"},{emoji:"\u{1F993}",names:["zebra"],tags:[],description:"zebra",category:"Animals & Nature"},{emoji:"\u{1F98C}",names:["deer"],tags:[],description:"deer",category:"Animals & Nature"},{emoji:"\u{1F9AC}",names:["bison"],tags:[],description:"bison",category:"Animals & Nature"},{emoji:"\u{1F42E}",names:["cow"],tags:[],description:"cow face",category:"Animals & Nature"},{emoji:"\u{1F402}",names:["ox"],tags:[],description:"ox",category:"Animals & Nature"},{emoji:"\u{1F403}",names:["water_buffalo"],tags:[],description:"water buffalo",category:"Animals & Nature"},{emoji:"\u{1F404}",names:["cow2"],tags:[],description:"cow",category:"Animals & Nature"},{emoji:"\u{1F437}",names:["pig"],tags:[],description:"pig face",category:"Animals & Nature"},{emoji:"\u{1F416}",names:["pig2"],tags:[],description:"pig",category:"Animals & Nature"},{emoji:"\u{1F417}",names:["boar"],tags:[],description:"boar",category:"Animals & Nature"},{emoji:"\u{1F43D}",names:["pig_nose"],tags:[],description:"pig nose",category:"Animals & Nature"},{emoji:"\u{1F40F}",names:["ram"],tags:[],description:"ram",category:"Animals & Nature"},{emoji:"\u{1F411}",names:["sheep"],tags:[],description:"ewe",category:"Animals & Nature"},{emoji:"\u{1F410}",names:["goat"],tags:[],description:"goat",category:"Animals & Nature"},{emoji:"\u{1F42A}",names:["dromedary_camel"],tags:["desert"],description:"camel",category:"Animals & Nature"},{emoji:"\u{1F42B}",names:["camel"],tags:[],description:"two-hump camel",category:"Animals & Nature"},{emoji:"\u{1F999}",names:["llama"],tags:[],description:"llama",category:"Animals & Nature"},{emoji:"\u{1F992}",names:["giraffe"],tags:[],description:"giraffe",category:"Animals & Nature"},{emoji:"\u{1F418}",names:["elephant"],tags:[],description:"elephant",category:"Animals & Nature"},{emoji:"\u{1F9A3}",names:["mammoth"],tags:[],description:"mammoth",category:"Animals & Nature"},{emoji:"\u{1F98F}",names:["rhinoceros"],tags:[],description:"rhinoceros",category:"Animals & Nature"},{emoji:"\u{1F99B}",names:["hippopotamus"],tags:[],description:"hippopotamus",category:"Animals & Nature"},{emoji:"\u{1F42D}",names:["mouse"],tags:[],description:"mouse face",category:"Animals & Nature"},{emoji:"\u{1F401}",names:["mouse2"],tags:[],description:"mouse",category:"Animals & Nature"},{emoji:"\u{1F400}",names:["rat"],tags:[],description:"rat",category:"Animals & Nature"},{emoji:"\u{1F439}",names:["hamster"],tags:["pet"],description:"hamster",category:"Animals & Nature"},{emoji:"\u{1F430}",names:["rabbit"],tags:["bunny"],description:"rabbit face",category:"Animals & Nature"},{emoji:"\u{1F407}",names:["rabbit2"],tags:[],description:"rabbit",category:"Animals & Nature"},{emoji:"\u{1F43F}\uFE0F",names:["chipmunk"],tags:[],description:"chipmunk",category:"Animals & Nature"},{emoji:"\u{1F9AB}",names:["beaver"],tags:[],description:"beaver",category:"Animals & Nature"},{emoji:"\u{1F994}",names:["hedgehog"],tags:[],description:"hedgehog",category:"Animals & Nature"},{emoji:"\u{1F987}",names:["bat"],tags:[],description:"bat",category:"Animals & Nature"},{emoji:"\u{1F43B}",names:["bear"],tags:[],description:"bear",category:"Animals & Nature"},{emoji:"\u{1F43B}\u200D\u2744\uFE0F",names:["polar_bear"],tags:[],description:"polar bear",category:"Animals & Nature"},{emoji:"\u{1F428}",names:["koala"],tags:[],description:"koala",category:"Animals & Nature"},{emoji:"\u{1F43C}",names:["panda_face"],tags:[],description:"panda",category:"Animals & Nature"},{emoji:"\u{1F9A5}",names:["sloth"],tags:[],description:"sloth",category:"Animals & Nature"},{emoji:"\u{1F9A6}",names:["otter"],tags:[],description:"otter",category:"Animals & Nature"},{emoji:"\u{1F9A8}",names:["skunk"],tags:[],description:"skunk",category:"Animals & Nature"},{emoji:"\u{1F998}",names:["kangaroo"],tags:[],description:"kangaroo",category:"Animals & Nature"},{emoji:"\u{1F9A1}",names:["badger"],tags:[],description:"badger",category:"Animals & Nature"},{emoji:"\u{1F43E}",names:["feet","paw_prints"],tags:[],description:"paw prints",category:"Animals & Nature"},{emoji:"\u{1F983}",names:["turkey"],tags:["thanksgiving"],description:"turkey",category:"Animals & Nature"},{emoji:"\u{1F414}",names:["chicken"],tags:[],description:"chicken",category:"Animals & Nature"},{emoji:"\u{1F413}",names:["rooster"],tags:[],description:"rooster",category:"Animals & Nature"},{emoji:"\u{1F423}",names:["hatching_chick"],tags:[],description:"hatching chick",category:"Animals & Nature"},{emoji:"\u{1F424}",names:["baby_chick"],tags:[],description:"baby chick",category:"Animals & Nature"},{emoji:"\u{1F425}",names:["hatched_chick"],tags:[],description:"front-facing baby chick",category:"Animals & Nature"},{emoji:"\u{1F426}",names:["bird"],tags:[],description:"bird",category:"Animals & Nature"},{emoji:"\u{1F427}",names:["penguin"],tags:[],description:"penguin",category:"Animals & Nature"},{emoji:"\u{1F54A}\uFE0F",names:["dove"],tags:["peace"],description:"dove",category:"Animals & Nature"},{emoji:"\u{1F985}",names:["eagle"],tags:[],description:"eagle",category:"Animals & Nature"},{emoji:"\u{1F986}",names:["duck"],tags:[],description:"duck",category:"Animals & Nature"},{emoji:"\u{1F9A2}",names:["swan"],tags:[],description:"swan",category:"Animals & Nature"},{emoji:"\u{1F989}",names:["owl"],tags:[],description:"owl",category:"Animals & Nature"},{emoji:"\u{1F9A4}",names:["dodo"],tags:[],description:"dodo",category:"Animals & Nature"},{emoji:"\u{1FAB6}",names:["feather"],tags:[],description:"feather",category:"Animals & Nature"},{emoji:"\u{1F9A9}",names:["flamingo"],tags:[],description:"flamingo",category:"Animals & Nature"},{emoji:"\u{1F99A}",names:["peacock"],tags:[],description:"peacock",category:"Animals & Nature"},{emoji:"\u{1F99C}",names:["parrot"],tags:[],description:"parrot",category:"Animals & Nature"},{emoji:"\u{1FABD}",names:["wing"],tags:["fly"],description:"wing",category:"Animals & Nature"},{emoji:"\u{1F426}\u200D\u2B1B",names:["black_bird"],tags:[],description:"black bird",category:"Animals & Nature"},{emoji:"\u{1FABF}",names:["goose"],tags:["honk"],description:"goose",category:"Animals & Nature"},{emoji:"\u{1F438}",names:["frog"],tags:[],description:"frog",category:"Animals & Nature"},{emoji:"\u{1F40A}",names:["crocodile"],tags:[],description:"crocodile",category:"Animals & Nature"},{emoji:"\u{1F422}",names:["turtle"],tags:["slow"],description:"turtle",category:"Animals & Nature"},{emoji:"\u{1F98E}",names:["lizard"],tags:[],description:"lizard",category:"Animals & Nature"},{emoji:"\u{1F40D}",names:["snake"],tags:[],description:"snake",category:"Animals & Nature"},{emoji:"\u{1F432}",names:["dragon_face"],tags:[],description:"dragon face",category:"Animals & Nature"},{emoji:"\u{1F409}",names:["dragon"],tags:[],description:"dragon",category:"Animals & Nature"},{emoji:"\u{1F995}",names:["sauropod"],tags:["dinosaur"],description:"sauropod",category:"Animals & Nature"},{emoji:"\u{1F996}",names:["t-rex"],tags:["dinosaur"],description:"T-Rex",category:"Animals & Nature"},{emoji:"\u{1F433}",names:["whale"],tags:["sea"],description:"spouting whale",category:"Animals & Nature"},{emoji:"\u{1F40B}",names:["whale2"],tags:[],description:"whale",category:"Animals & Nature"},{emoji:"\u{1F42C}",names:["dolphin","flipper"],tags:[],description:"dolphin",category:"Animals & Nature"},{emoji:"\u{1F9AD}",names:["seal"],tags:[],description:"seal",category:"Animals & Nature"},{emoji:"\u{1F41F}",names:["fish"],tags:[],description:"fish",category:"Animals & Nature"},{emoji:"\u{1F420}",names:["tropical_fish"],tags:[],description:"tropical fish",category:"Animals & Nature"},{emoji:"\u{1F421}",names:["blowfish"],tags:[],description:"blowfish",category:"Animals & Nature"},{emoji:"\u{1F988}",names:["shark"],tags:[],description:"shark",category:"Animals & Nature"},{emoji:"\u{1F419}",names:["octopus"],tags:[],description:"octopus",category:"Animals & Nature"},{emoji:"\u{1F41A}",names:["shell"],tags:["sea","beach"],description:"spiral shell",category:"Animals & Nature"},{emoji:"\u{1FAB8}",names:["coral"],tags:[],description:"coral",category:"Animals & Nature"},{emoji:"\u{1FABC}",names:["jellyfish"],tags:[],description:"jellyfish",category:"Animals & Nature"},{emoji:"\u{1F40C}",names:["snail"],tags:["slow"],description:"snail",category:"Animals & Nature"},{emoji:"\u{1F98B}",names:["butterfly"],tags:[],description:"butterfly",category:"Animals & Nature"},{emoji:"\u{1F41B}",names:["bug"],tags:[],description:"bug",category:"Animals & Nature"},{emoji:"\u{1F41C}",names:["ant"],tags:[],description:"ant",category:"Animals & Nature"},{emoji:"\u{1F41D}",names:["bee","honeybee"],tags:[],description:"honeybee",category:"Animals & Nature"},{emoji:"\u{1FAB2}",names:["beetle"],tags:[],description:"beetle",category:"Animals & Nature"},{emoji:"\u{1F41E}",names:["lady_beetle"],tags:["bug"],description:"lady beetle",category:"Animals & Nature"},{emoji:"\u{1F997}",names:["cricket"],tags:[],description:"cricket",category:"Animals & Nature"},{emoji:"\u{1FAB3}",names:["cockroach"],tags:[],description:"cockroach",category:"Animals & Nature"},{emoji:"\u{1F577}\uFE0F",names:["spider"],tags:[],description:"spider",category:"Animals & Nature"},{emoji:"\u{1F578}\uFE0F",names:["spider_web"],tags:[],description:"spider web",category:"Animals & Nature"},{emoji:"\u{1F982}",names:["scorpion"],tags:[],description:"scorpion",category:"Animals & Nature"},{emoji:"\u{1F99F}",names:["mosquito"],tags:[],description:"mosquito",category:"Animals & Nature"},{emoji:"\u{1FAB0}",names:["fly"],tags:[],description:"fly",category:"Animals & Nature"},{emoji:"\u{1FAB1}",names:["worm"],tags:[],description:"worm",category:"Animals & Nature"},{emoji:"\u{1F9A0}",names:["microbe"],tags:["germ"],description:"microbe",category:"Animals & Nature"},{emoji:"\u{1F490}",names:["bouquet"],tags:["flowers"],description:"bouquet",category:"Animals & Nature"},{emoji:"\u{1F338}",names:["cherry_blossom"],tags:["flower","spring"],description:"cherry blossom",category:"Animals & Nature"},{emoji:"\u{1F4AE}",names:["white_flower"],tags:[],description:"white flower",category:"Animals & Nature"},{emoji:"\u{1FAB7}",names:["lotus"],tags:[],description:"lotus",category:"Animals & Nature"},{emoji:"\u{1F3F5}\uFE0F",names:["rosette"],tags:[],description:"rosette",category:"Animals & Nature"},{emoji:"\u{1F339}",names:["rose"],tags:["flower"],description:"rose",category:"Animals & Nature"},{emoji:"\u{1F940}",names:["wilted_flower"],tags:[],description:"wilted flower",category:"Animals & Nature"},{emoji:"\u{1F33A}",names:["hibiscus"],tags:[],description:"hibiscus",category:"Animals & Nature"},{emoji:"\u{1F33B}",names:["sunflower"],tags:[],description:"sunflower",category:"Animals & Nature"},{emoji:"\u{1F33C}",names:["blossom"],tags:[],description:"blossom",category:"Animals & Nature"},{emoji:"\u{1F337}",names:["tulip"],tags:["flower"],description:"tulip",category:"Animals & Nature"},{emoji:"\u{1FABB}",names:["hyacinth"],tags:[],description:"hyacinth",category:"Animals & Nature"},{emoji:"\u{1F331}",names:["seedling"],tags:["plant"],description:"seedling",category:"Animals & Nature"},{emoji:"\u{1FAB4}",names:["potted_plant"],tags:[],description:"potted plant",category:"Animals & Nature"},{emoji:"\u{1F332}",names:["evergreen_tree"],tags:["wood"],description:"evergreen tree",category:"Animals & Nature"},{emoji:"\u{1F333}",names:["deciduous_tree"],tags:["wood"],description:"deciduous tree",category:"Animals & Nature"},{emoji:"\u{1F334}",names:["palm_tree"],tags:[],description:"palm tree",category:"Animals & Nature"},{emoji:"\u{1F335}",names:["cactus"],tags:[],description:"cactus",category:"Animals & Nature"},{emoji:"\u{1F33E}",names:["ear_of_rice"],tags:[],description:"sheaf of rice",category:"Animals & Nature"},{emoji:"\u{1F33F}",names:["herb"],tags:[],description:"herb",category:"Animals & Nature"},{emoji:"\u2618\uFE0F",names:["shamrock"],tags:[],description:"shamrock",category:"Animals & Nature"},{emoji:"\u{1F340}",names:["four_leaf_clover"],tags:["luck"],description:"four leaf clover",category:"Animals & Nature"},{emoji:"\u{1F341}",names:["maple_leaf"],tags:["canada"],description:"maple leaf",category:"Animals & Nature"},{emoji:"\u{1F342}",names:["fallen_leaf"],tags:["autumn"],description:"fallen leaf",category:"Animals & Nature"},{emoji:"\u{1F343}",names:["leaves"],tags:["leaf"],description:"leaf fluttering in wind",category:"Animals & Nature"},{emoji:"\u{1FAB9}",names:["empty_nest"],tags:[],description:"empty nest",category:"Animals & Nature"},{emoji:"\u{1FABA}",names:["nest_with_eggs"],tags:[],description:"nest with eggs",category:"Animals & Nature"},{emoji:"\u{1F344}",names:["mushroom"],tags:["fungus"],description:"mushroom",category:"Animals & Nature"},{emoji:"\u{1F347}",names:["grapes"],tags:[],description:"grapes",category:"Food & Drink"},{emoji:"\u{1F348}",names:["melon"],tags:[],description:"melon",category:"Food & Drink"},{emoji:"\u{1F349}",names:["watermelon"],tags:[],description:"watermelon",category:"Food & Drink"},{emoji:"\u{1F34A}",names:["tangerine","orange","mandarin"],tags:[],description:"tangerine",category:"Food & Drink"},{emoji:"\u{1F34B}",names:["lemon"],tags:[],description:"lemon",category:"Food & Drink"},{emoji:"\u{1F34C}",names:["banana"],tags:["fruit"],description:"banana",category:"Food & Drink"},{emoji:"\u{1F34D}",names:["pineapple"],tags:[],description:"pineapple",category:"Food & Drink"},{emoji:"\u{1F96D}",names:["mango"],tags:[],description:"mango",category:"Food & Drink"},{emoji:"\u{1F34E}",names:["apple"],tags:[],description:"red apple",category:"Food & Drink"},{emoji:"\u{1F34F}",names:["green_apple"],tags:["fruit"],description:"green apple",category:"Food & Drink"},{emoji:"\u{1F350}",names:["pear"],tags:[],description:"pear",category:"Food & Drink"},{emoji:"\u{1F351}",names:["peach"],tags:[],description:"peach",category:"Food & Drink"},{emoji:"\u{1F352}",names:["cherries"],tags:["fruit"],description:"cherries",category:"Food & Drink"},{emoji:"\u{1F353}",names:["strawberry"],tags:["fruit"],description:"strawberry",category:"Food & Drink"},{emoji:"\u{1FAD0}",names:["blueberries"],tags:[],description:"blueberries",category:"Food & Drink"},{emoji:"\u{1F95D}",names:["kiwi_fruit"],tags:[],description:"kiwi fruit",category:"Food & Drink"},{emoji:"\u{1F345}",names:["tomato"],tags:[],description:"tomato",category:"Food & Drink"},{emoji:"\u{1FAD2}",names:["olive"],tags:[],description:"olive",category:"Food & Drink"},{emoji:"\u{1F965}",names:["coconut"],tags:[],description:"coconut",category:"Food & Drink"},{emoji:"\u{1F951}",names:["avocado"],tags:[],description:"avocado",category:"Food & Drink"},{emoji:"\u{1F346}",names:["eggplant"],tags:["aubergine"],description:"eggplant",category:"Food & Drink"},{emoji:"\u{1F954}",names:["potato"],tags:[],description:"potato",category:"Food & Drink"},{emoji:"\u{1F955}",names:["carrot"],tags:[],description:"carrot",category:"Food & Drink"},{emoji:"\u{1F33D}",names:["corn"],tags:[],description:"ear of corn",category:"Food & Drink"},{emoji:"\u{1F336}\uFE0F",names:["hot_pepper"],tags:["spicy"],description:"hot pepper",category:"Food & Drink"},{emoji:"\u{1FAD1}",names:["bell_pepper"],tags:[],description:"bell pepper",category:"Food & Drink"},{emoji:"\u{1F952}",names:["cucumber"],tags:[],description:"cucumber",category:"Food & Drink"},{emoji:"\u{1F96C}",names:["leafy_green"],tags:[],description:"leafy green",category:"Food & Drink"},{emoji:"\u{1F966}",names:["broccoli"],tags:[],description:"broccoli",category:"Food & Drink"},{emoji:"\u{1F9C4}",names:["garlic"],tags:[],description:"garlic",category:"Food & Drink"},{emoji:"\u{1F9C5}",names:["onion"],tags:[],description:"onion",category:"Food & Drink"},{emoji:"\u{1F95C}",names:["peanuts"],tags:[],description:"peanuts",category:"Food & Drink"},{emoji:"\u{1FAD8}",names:["beans"],tags:[],description:"beans",category:"Food & Drink"},{emoji:"\u{1F330}",names:["chestnut"],tags:[],description:"chestnut",category:"Food & Drink"},{emoji:"\u{1FADA}",names:["ginger_root"],tags:[],description:"ginger root",category:"Food & Drink"},{emoji:"\u{1FADB}",names:["pea_pod"],tags:[],description:"pea pod",category:"Food & Drink"},{emoji:"\u{1F35E}",names:["bread"],tags:["toast"],description:"bread",category:"Food & Drink"},{emoji:"\u{1F950}",names:["croissant"],tags:[],description:"croissant",category:"Food & Drink"},{emoji:"\u{1F956}",names:["baguette_bread"],tags:[],description:"baguette bread",category:"Food & Drink"},{emoji:"\u{1FAD3}",names:["flatbread"],tags:[],description:"flatbread",category:"Food & Drink"},{emoji:"\u{1F968}",names:["pretzel"],tags:[],description:"pretzel",category:"Food & Drink"},{emoji:"\u{1F96F}",names:["bagel"],tags:[],description:"bagel",category:"Food & Drink"},{emoji:"\u{1F95E}",names:["pancakes"],tags:[],description:"pancakes",category:"Food & Drink"},{emoji:"\u{1F9C7}",names:["waffle"],tags:[],description:"waffle",category:"Food & Drink"},{emoji:"\u{1F9C0}",names:["cheese"],tags:[],description:"cheese wedge",category:"Food & Drink"},{emoji:"\u{1F356}",names:["meat_on_bone"],tags:[],description:"meat on bone",category:"Food & Drink"},{emoji:"\u{1F357}",names:["poultry_leg"],tags:["meat","chicken"],description:"poultry leg",category:"Food & Drink"},{emoji:"\u{1F969}",names:["cut_of_meat"],tags:[],description:"cut of meat",category:"Food & Drink"},{emoji:"\u{1F953}",names:["bacon"],tags:[],description:"bacon",category:"Food & Drink"},{emoji:"\u{1F354}",names:["hamburger"],tags:["burger"],description:"hamburger",category:"Food & Drink"},{emoji:"\u{1F35F}",names:["fries"],tags:[],description:"french fries",category:"Food & Drink"},{emoji:"\u{1F355}",names:["pizza"],tags:[],description:"pizza",category:"Food & Drink"},{emoji:"\u{1F32D}",names:["hotdog"],tags:[],description:"hot dog",category:"Food & Drink"},{emoji:"\u{1F96A}",names:["sandwich"],tags:[],description:"sandwich",category:"Food & Drink"},{emoji:"\u{1F32E}",names:["taco"],tags:[],description:"taco",category:"Food & Drink"},{emoji:"\u{1F32F}",names:["burrito"],tags:[],description:"burrito",category:"Food & Drink"},{emoji:"\u{1FAD4}",names:["tamale"],tags:[],description:"tamale",category:"Food & Drink"},{emoji:"\u{1F959}",names:["stuffed_flatbread"],tags:[],description:"stuffed flatbread",category:"Food & Drink"},{emoji:"\u{1F9C6}",names:["falafel"],tags:[],description:"falafel",category:"Food & Drink"},{emoji:"\u{1F95A}",names:["egg"],tags:[],description:"egg",category:"Food & Drink"},{emoji:"\u{1F373}",names:["fried_egg"],tags:["breakfast"],description:"cooking",category:"Food & Drink"},{emoji:"\u{1F958}",names:["shallow_pan_of_food"],tags:["paella","curry"],description:"shallow pan of food",category:"Food & Drink"},{emoji:"\u{1F372}",names:["stew"],tags:[],description:"pot of food",category:"Food & Drink"},{emoji:"\u{1FAD5}",names:["fondue"],tags:[],description:"fondue",category:"Food & Drink"},{emoji:"\u{1F963}",names:["bowl_with_spoon"],tags:[],description:"bowl with spoon",category:"Food & Drink"},{emoji:"\u{1F957}",names:["green_salad"],tags:[],description:"green salad",category:"Food & Drink"},{emoji:"\u{1F37F}",names:["popcorn"],tags:[],description:"popcorn",category:"Food & Drink"},{emoji:"\u{1F9C8}",names:["butter"],tags:[],description:"butter",category:"Food & Drink"},{emoji:"\u{1F9C2}",names:["salt"],tags:[],description:"salt",category:"Food & Drink"},{emoji:"\u{1F96B}",names:["canned_food"],tags:[],description:"canned food",category:"Food & Drink"},{emoji:"\u{1F371}",names:["bento"],tags:[],description:"bento box",category:"Food & Drink"},{emoji:"\u{1F358}",names:["rice_cracker"],tags:[],description:"rice cracker",category:"Food & Drink"},{emoji:"\u{1F359}",names:["rice_ball"],tags:[],description:"rice ball",category:"Food & Drink"},{emoji:"\u{1F35A}",names:["rice"],tags:[],description:"cooked rice",category:"Food & Drink"},{emoji:"\u{1F35B}",names:["curry"],tags:[],description:"curry rice",category:"Food & Drink"},{emoji:"\u{1F35C}",names:["ramen"],tags:["noodle"],description:"steaming bowl",category:"Food & Drink"},{emoji:"\u{1F35D}",names:["spaghetti"],tags:["pasta"],description:"spaghetti",category:"Food & Drink"},{emoji:"\u{1F360}",names:["sweet_potato"],tags:[],description:"roasted sweet potato",category:"Food & Drink"},{emoji:"\u{1F362}",names:["oden"],tags:[],description:"oden",category:"Food & Drink"},{emoji:"\u{1F363}",names:["sushi"],tags:[],description:"sushi",category:"Food & Drink"},{emoji:"\u{1F364}",names:["fried_shrimp"],tags:["tempura"],description:"fried shrimp",category:"Food & Drink"},{emoji:"\u{1F365}",names:["fish_cake"],tags:[],description:"fish cake with swirl",category:"Food & Drink"},{emoji:"\u{1F96E}",names:["moon_cake"],tags:[],description:"moon cake",category:"Food & Drink"},{emoji:"\u{1F361}",names:["dango"],tags:[],description:"dango",category:"Food & Drink"},{emoji:"\u{1F95F}",names:["dumpling"],tags:[],description:"dumpling",category:"Food & Drink"},{emoji:"\u{1F960}",names:["fortune_cookie"],tags:[],description:"fortune cookie",category:"Food & Drink"},{emoji:"\u{1F961}",names:["takeout_box"],tags:[],description:"takeout box",category:"Food & Drink"},{emoji:"\u{1F980}",names:["crab"],tags:[],description:"crab",category:"Food & Drink"},{emoji:"\u{1F99E}",names:["lobster"],tags:[],description:"lobster",category:"Food & Drink"},{emoji:"\u{1F990}",names:["shrimp"],tags:[],description:"shrimp",category:"Food & Drink"},{emoji:"\u{1F991}",names:["squid"],tags:[],description:"squid",category:"Food & Drink"},{emoji:"\u{1F9AA}",names:["oyster"],tags:[],description:"oyster",category:"Food & Drink"},{emoji:"\u{1F366}",names:["icecream"],tags:[],description:"soft ice cream",category:"Food & Drink"},{emoji:"\u{1F367}",names:["shaved_ice"],tags:[],description:"shaved ice",category:"Food & Drink"},{emoji:"\u{1F368}",names:["ice_cream"],tags:[],description:"ice cream",category:"Food & Drink"},{emoji:"\u{1F369}",names:["doughnut"],tags:[],description:"doughnut",category:"Food & Drink"},{emoji:"\u{1F36A}",names:["cookie"],tags:[],description:"cookie",category:"Food & Drink"},{emoji:"\u{1F382}",names:["birthday"],tags:["party"],description:"birthday cake",category:"Food & Drink"},{emoji:"\u{1F370}",names:["cake"],tags:["dessert"],description:"shortcake",category:"Food & Drink"},{emoji:"\u{1F9C1}",names:["cupcake"],tags:[],description:"cupcake",category:"Food & Drink"},{emoji:"\u{1F967}",names:["pie"],tags:[],description:"pie",category:"Food & Drink"},{emoji:"\u{1F36B}",names:["chocolate_bar"],tags:[],description:"chocolate bar",category:"Food & Drink"},{emoji:"\u{1F36C}",names:["candy"],tags:["sweet"],description:"candy",category:"Food & Drink"},{emoji:"\u{1F36D}",names:["lollipop"],tags:[],description:"lollipop",category:"Food & Drink"},{emoji:"\u{1F36E}",names:["custard"],tags:[],description:"custard",category:"Food & Drink"},{emoji:"\u{1F36F}",names:["honey_pot"],tags:[],description:"honey pot",category:"Food & Drink"},{emoji:"\u{1F37C}",names:["baby_bottle"],tags:["milk"],description:"baby bottle",category:"Food & Drink"},{emoji:"\u{1F95B}",names:["milk_glass"],tags:[],description:"glass of milk",category:"Food & Drink"},{emoji:"\u2615",names:["coffee"],tags:["cafe","espresso"],description:"hot beverage",category:"Food & Drink"},{emoji:"\u{1FAD6}",names:["teapot"],tags:[],description:"teapot",category:"Food & Drink"},{emoji:"\u{1F375}",names:["tea"],tags:["green","breakfast"],description:"teacup without handle",category:"Food & Drink"},{emoji:"\u{1F376}",names:["sake"],tags:[],description:"sake",category:"Food & Drink"},{emoji:"\u{1F37E}",names:["champagne"],tags:["bottle","bubbly","celebration"],description:"bottle with popping cork",category:"Food & Drink"},{emoji:"\u{1F377}",names:["wine_glass"],tags:[],description:"wine glass",category:"Food & Drink"},{emoji:"\u{1F378}",names:["cocktail"],tags:["drink"],description:"cocktail glass",category:"Food & Drink"},{emoji:"\u{1F379}",names:["tropical_drink"],tags:["summer","vacation"],description:"tropical drink",category:"Food & Drink"},{emoji:"\u{1F37A}",names:["beer"],tags:["drink"],description:"beer mug",category:"Food & Drink"},{emoji:"\u{1F37B}",names:["beers"],tags:["drinks"],description:"clinking beer mugs",category:"Food & Drink"},{emoji:"\u{1F942}",names:["clinking_glasses"],tags:["cheers","toast"],description:"clinking glasses",category:"Food & Drink"},{emoji:"\u{1F943}",names:["tumbler_glass"],tags:["whisky"],description:"tumbler glass",category:"Food & Drink"},{emoji:"\u{1FAD7}",names:["pouring_liquid"],tags:[],description:"pouring liquid",category:"Food & Drink"},{emoji:"\u{1F964}",names:["cup_with_straw"],tags:[],description:"cup with straw",category:"Food & Drink"},{emoji:"\u{1F9CB}",names:["bubble_tea"],tags:[],description:"bubble tea",category:"Food & Drink"},{emoji:"\u{1F9C3}",names:["beverage_box"],tags:[],description:"beverage box",category:"Food & Drink"},{emoji:"\u{1F9C9}",names:["mate"],tags:[],description:"mate",category:"Food & Drink"},{emoji:"\u{1F9CA}",names:["ice_cube"],tags:[],description:"ice",category:"Food & Drink"},{emoji:"\u{1F962}",names:["chopsticks"],tags:[],description:"chopsticks",category:"Food & Drink"},{emoji:"\u{1F37D}\uFE0F",names:["plate_with_cutlery"],tags:["dining","dinner"],description:"fork and knife with plate",category:"Food & Drink"},{emoji:"\u{1F374}",names:["fork_and_knife"],tags:["cutlery"],description:"fork and knife",category:"Food & Drink"},{emoji:"\u{1F944}",names:["spoon"],tags:[],description:"spoon",category:"Food & Drink"},{emoji:"\u{1F52A}",names:["hocho","knife"],tags:["cut","chop"],description:"kitchen knife",category:"Food & Drink"},{emoji:"\u{1FAD9}",names:["jar"],tags:[],description:"jar",category:"Food & Drink"},{emoji:"\u{1F3FA}",names:["amphora"],tags:[],description:"amphora",category:"Food & Drink"},{emoji:"\u{1F30D}",names:["earth_africa"],tags:["globe","world","international"],description:"globe showing Europe-Africa",category:"Travel & Places"},{emoji:"\u{1F30E}",names:["earth_americas"],tags:["globe","world","international"],description:"globe showing Americas",category:"Travel & Places"},{emoji:"\u{1F30F}",names:["earth_asia"],tags:["globe","world","international"],description:"globe showing Asia-Australia",category:"Travel & Places"},{emoji:"\u{1F310}",names:["globe_with_meridians"],tags:["world","global","international"],description:"globe with meridians",category:"Travel & Places"},{emoji:"\u{1F5FA}\uFE0F",names:["world_map"],tags:["travel"],description:"world map",category:"Travel & Places"},{emoji:"\u{1F5FE}",names:["japan"],tags:[],description:"map of Japan",category:"Travel & Places"},{emoji:"\u{1F9ED}",names:["compass"],tags:[],description:"compass",category:"Travel & Places"},{emoji:"\u{1F3D4}\uFE0F",names:["mountain_snow"],tags:[],description:"snow-capped mountain",category:"Travel & Places"},{emoji:"\u26F0\uFE0F",names:["mountain"],tags:[],description:"mountain",category:"Travel & Places"},{emoji:"\u{1F30B}",names:["volcano"],tags:[],description:"volcano",category:"Travel & Places"},{emoji:"\u{1F5FB}",names:["mount_fuji"],tags:[],description:"mount fuji",category:"Travel & Places"},{emoji:"\u{1F3D5}\uFE0F",names:["camping"],tags:[],description:"camping",category:"Travel & Places"},{emoji:"\u{1F3D6}\uFE0F",names:["beach_umbrella"],tags:[],description:"beach with umbrella",category:"Travel & Places"},{emoji:"\u{1F3DC}\uFE0F",names:["desert"],tags:[],description:"desert",category:"Travel & Places"},{emoji:"\u{1F3DD}\uFE0F",names:["desert_island"],tags:[],description:"desert island",category:"Travel & Places"},{emoji:"\u{1F3DE}\uFE0F",names:["national_park"],tags:[],description:"national park",category:"Travel & Places"},{emoji:"\u{1F3DF}\uFE0F",names:["stadium"],tags:[],description:"stadium",category:"Travel & Places"},{emoji:"\u{1F3DB}\uFE0F",names:["classical_building"],tags:[],description:"classical building",category:"Travel & Places"},{emoji:"\u{1F3D7}\uFE0F",names:["building_construction"],tags:[],description:"building construction",category:"Travel & Places"},{emoji:"\u{1F9F1}",names:["bricks"],tags:[],description:"brick",category:"Travel & Places"},{emoji:"\u{1FAA8}",names:["rock"],tags:[],description:"rock",category:"Travel & Places"},{emoji:"\u{1FAB5}",names:["wood"],tags:[],description:"wood",category:"Travel & Places"},{emoji:"\u{1F6D6}",names:["hut"],tags:[],description:"hut",category:"Travel & Places"},{emoji:"\u{1F3D8}\uFE0F",names:["houses"],tags:[],description:"houses",category:"Travel & Places"},{emoji:"\u{1F3DA}\uFE0F",names:["derelict_house"],tags:[],description:"derelict house",category:"Travel & Places"},{emoji:"\u{1F3E0}",names:["house"],tags:[],description:"house",category:"Travel & Places"},{emoji:"\u{1F3E1}",names:["house_with_garden"],tags:[],description:"house with garden",category:"Travel & Places"},{emoji:"\u{1F3E2}",names:["office"],tags:[],description:"office building",category:"Travel & Places"},{emoji:"\u{1F3E3}",names:["post_office"],tags:[],description:"Japanese post office",category:"Travel & Places"},{emoji:"\u{1F3E4}",names:["european_post_office"],tags:[],description:"post office",category:"Travel & Places"},{emoji:"\u{1F3E5}",names:["hospital"],tags:[],description:"hospital",category:"Travel & Places"},{emoji:"\u{1F3E6}",names:["bank"],tags:[],description:"bank",category:"Travel & Places"},{emoji:"\u{1F3E8}",names:["hotel"],tags:[],description:"hotel",category:"Travel & Places"},{emoji:"\u{1F3E9}",names:["love_hotel"],tags:[],description:"love hotel",category:"Travel & Places"},{emoji:"\u{1F3EA}",names:["convenience_store"],tags:[],description:"convenience store",category:"Travel & Places"},{emoji:"\u{1F3EB}",names:["school"],tags:[],description:"school",category:"Travel & Places"},{emoji:"\u{1F3EC}",names:["department_store"],tags:[],description:"department store",category:"Travel & Places"},{emoji:"\u{1F3ED}",names:["factory"],tags:[],description:"factory",category:"Travel & Places"},{emoji:"\u{1F3EF}",names:["japanese_castle"],tags:[],description:"Japanese castle",category:"Travel & Places"},{emoji:"\u{1F3F0}",names:["european_castle"],tags:[],description:"castle",category:"Travel & Places"},{emoji:"\u{1F492}",names:["wedding"],tags:["marriage"],description:"wedding",category:"Travel & Places"},{emoji:"\u{1F5FC}",names:["tokyo_tower"],tags:[],description:"Tokyo tower",category:"Travel & Places"},{emoji:"\u{1F5FD}",names:["statue_of_liberty"],tags:[],description:"Statue of Liberty",category:"Travel & Places"},{emoji:"\u26EA",names:["church"],tags:[],description:"church",category:"Travel & Places"},{emoji:"\u{1F54C}",names:["mosque"],tags:[],description:"mosque",category:"Travel & Places"},{emoji:"\u{1F6D5}",names:["hindu_temple"],tags:[],description:"hindu temple",category:"Travel & Places"},{emoji:"\u{1F54D}",names:["synagogue"],tags:[],description:"synagogue",category:"Travel & Places"},{emoji:"\u26E9\uFE0F",names:["shinto_shrine"],tags:[],description:"shinto shrine",category:"Travel & Places"},{emoji:"\u{1F54B}",names:["kaaba"],tags:[],description:"kaaba",category:"Travel & Places"},{emoji:"\u26F2",names:["fountain"],tags:[],description:"fountain",category:"Travel & Places"},{emoji:"\u26FA",names:["tent"],tags:["camping"],description:"tent",category:"Travel & Places"},{emoji:"\u{1F301}",names:["foggy"],tags:["karl"],description:"foggy",category:"Travel & Places"},{emoji:"\u{1F303}",names:["night_with_stars"],tags:[],description:"night with stars",category:"Travel & Places"},{emoji:"\u{1F3D9}\uFE0F",names:["cityscape"],tags:["skyline"],description:"cityscape",category:"Travel & Places"},{emoji:"\u{1F304}",names:["sunrise_over_mountains"],tags:[],description:"sunrise over mountains",category:"Travel & Places"},{emoji:"\u{1F305}",names:["sunrise"],tags:[],description:"sunrise",category:"Travel & Places"},{emoji:"\u{1F306}",names:["city_sunset"],tags:[],description:"cityscape at dusk",category:"Travel & Places"},{emoji:"\u{1F307}",names:["city_sunrise"],tags:[],description:"sunset",category:"Travel & Places"},{emoji:"\u{1F309}",names:["bridge_at_night"],tags:[],description:"bridge at night",category:"Travel & Places"},{emoji:"\u2668\uFE0F",names:["hotsprings"],tags:[],description:"hot springs",category:"Travel & Places"},{emoji:"\u{1F3A0}",names:["carousel_horse"],tags:[],description:"carousel horse",category:"Travel & Places"},{emoji:"\u{1F6DD}",names:["playground_slide"],tags:[],description:"playground slide",category:"Travel & Places"},{emoji:"\u{1F3A1}",names:["ferris_wheel"],tags:[],description:"ferris wheel",category:"Travel & Places"},{emoji:"\u{1F3A2}",names:["roller_coaster"],tags:[],description:"roller coaster",category:"Travel & Places"},{emoji:"\u{1F488}",names:["barber"],tags:[],description:"barber pole",category:"Travel & Places"},{emoji:"\u{1F3AA}",names:["circus_tent"],tags:[],description:"circus tent",category:"Travel & Places"},{emoji:"\u{1F682}",names:["steam_locomotive"],tags:["train"],description:"locomotive",category:"Travel & Places"},{emoji:"\u{1F683}",names:["railway_car"],tags:[],description:"railway car",category:"Travel & Places"},{emoji:"\u{1F684}",names:["bullettrain_side"],tags:["train"],description:"high-speed train",category:"Travel & Places"},{emoji:"\u{1F685}",names:["bullettrain_front"],tags:["train"],description:"bullet train",category:"Travel & Places"},{emoji:"\u{1F686}",names:["train2"],tags:[],description:"train",category:"Travel & Places"},{emoji:"\u{1F687}",names:["metro"],tags:[],description:"metro",category:"Travel & Places"},{emoji:"\u{1F688}",names:["light_rail"],tags:[],description:"light rail",category:"Travel & Places"},{emoji:"\u{1F689}",names:["station"],tags:[],description:"station",category:"Travel & Places"},{emoji:"\u{1F68A}",names:["tram"],tags:[],description:"tram",category:"Travel & Places"},{emoji:"\u{1F69D}",names:["monorail"],tags:[],description:"monorail",category:"Travel & Places"},{emoji:"\u{1F69E}",names:["mountain_railway"],tags:[],description:"mountain railway",category:"Travel & Places"},{emoji:"\u{1F68B}",names:["train"],tags:[],description:"tram car",category:"Travel & Places"},{emoji:"\u{1F68C}",names:["bus"],tags:[],description:"bus",category:"Travel & Places"},{emoji:"\u{1F68D}",names:["oncoming_bus"],tags:[],description:"oncoming bus",category:"Travel & Places"},{emoji:"\u{1F68E}",names:["trolleybus"],tags:[],description:"trolleybus",category:"Travel & Places"},{emoji:"\u{1F690}",names:["minibus"],tags:[],description:"minibus",category:"Travel & Places"},{emoji:"\u{1F691}",names:["ambulance"],tags:[],description:"ambulance",category:"Travel & Places"},{emoji:"\u{1F692}",names:["fire_engine"],tags:[],description:"fire engine",category:"Travel & Places"},{emoji:"\u{1F693}",names:["police_car"],tags:[],description:"police car",category:"Travel & Places"},{emoji:"\u{1F694}",names:["oncoming_police_car"],tags:[],description:"oncoming police car",category:"Travel & Places"},{emoji:"\u{1F695}",names:["taxi"],tags:[],description:"taxi",category:"Travel & Places"},{emoji:"\u{1F696}",names:["oncoming_taxi"],tags:[],description:"oncoming taxi",category:"Travel & Places"},{emoji:"\u{1F697}",names:["car","red_car"],tags:[],description:"automobile",category:"Travel & Places"},{emoji:"\u{1F698}",names:["oncoming_automobile"],tags:[],description:"oncoming automobile",category:"Travel & Places"},{emoji:"\u{1F699}",names:["blue_car"],tags:[],description:"sport utility vehicle",category:"Travel & Places"},{emoji:"\u{1F6FB}",names:["pickup_truck"],tags:[],description:"pickup truck",category:"Travel & Places"},{emoji:"\u{1F69A}",names:["truck"],tags:[],description:"delivery truck",category:"Travel & Places"},{emoji:"\u{1F69B}",names:["articulated_lorry"],tags:[],description:"articulated lorry",category:"Travel & Places"},{emoji:"\u{1F69C}",names:["tractor"],tags:[],description:"tractor",category:"Travel & Places"},{emoji:"\u{1F3CE}\uFE0F",names:["racing_car"],tags:[],description:"racing car",category:"Travel & Places"},{emoji:"\u{1F3CD}\uFE0F",names:["motorcycle"],tags:[],description:"motorcycle",category:"Travel & Places"},{emoji:"\u{1F6F5}",names:["motor_scooter"],tags:[],description:"motor scooter",category:"Travel & Places"},{emoji:"\u{1F9BD}",names:["manual_wheelchair"],tags:[],description:"manual wheelchair",category:"Travel & Places"},{emoji:"\u{1F9BC}",names:["motorized_wheelchair"],tags:[],description:"motorized wheelchair",category:"Travel & Places"},{emoji:"\u{1F6FA}",names:["auto_rickshaw"],tags:[],description:"auto rickshaw",category:"Travel & Places"},{emoji:"\u{1F6B2}",names:["bike"],tags:["bicycle"],description:"bicycle",category:"Travel & Places"},{emoji:"\u{1F6F4}",names:["kick_scooter"],tags:[],description:"kick scooter",category:"Travel & Places"},{emoji:"\u{1F6F9}",names:["skateboard"],tags:[],description:"skateboard",category:"Travel & Places"},{emoji:"\u{1F6FC}",names:["roller_skate"],tags:[],description:"roller skate",category:"Travel & Places"},{emoji:"\u{1F68F}",names:["busstop"],tags:[],description:"bus stop",category:"Travel & Places"},{emoji:"\u{1F6E3}\uFE0F",names:["motorway"],tags:[],description:"motorway",category:"Travel & Places"},{emoji:"\u{1F6E4}\uFE0F",names:["railway_track"],tags:[],description:"railway track",category:"Travel & Places"},{emoji:"\u{1F6E2}\uFE0F",names:["oil_drum"],tags:[],description:"oil drum",category:"Travel & Places"},{emoji:"\u26FD",names:["fuelpump"],tags:[],description:"fuel pump",category:"Travel & Places"},{emoji:"\u{1F6DE}",names:["wheel"],tags:[],description:"wheel",category:"Travel & Places"},{emoji:"\u{1F6A8}",names:["rotating_light"],tags:["911","emergency"],description:"police car light",category:"Travel & Places"},{emoji:"\u{1F6A5}",names:["traffic_light"],tags:[],description:"horizontal traffic light",category:"Travel & Places"},{emoji:"\u{1F6A6}",names:["vertical_traffic_light"],tags:["semaphore"],description:"vertical traffic light",category:"Travel & Places"},{emoji:"\u{1F6D1}",names:["stop_sign"],tags:[],description:"stop sign",category:"Travel & Places"},{emoji:"\u{1F6A7}",names:["construction"],tags:["wip"],description:"construction",category:"Travel & Places"},{emoji:"\u2693",names:["anchor"],tags:["ship"],description:"anchor",category:"Travel & Places"},{emoji:"\u{1F6DF}",names:["ring_buoy"],tags:["life preserver"],description:"ring buoy",category:"Travel & Places"},{emoji:"\u26F5",names:["boat","sailboat"],tags:[],description:"sailboat",category:"Travel & Places"},{emoji:"\u{1F6F6}",names:["canoe"],tags:[],description:"canoe",category:"Travel & Places"},{emoji:"\u{1F6A4}",names:["speedboat"],tags:["ship"],description:"speedboat",category:"Travel & Places"},{emoji:"\u{1F6F3}\uFE0F",names:["passenger_ship"],tags:["cruise"],description:"passenger ship",category:"Travel & Places"},{emoji:"\u26F4\uFE0F",names:["ferry"],tags:[],description:"ferry",category:"Travel & Places"},{emoji:"\u{1F6E5}\uFE0F",names:["motor_boat"],tags:[],description:"motor boat",category:"Travel & Places"},{emoji:"\u{1F6A2}",names:["ship"],tags:[],description:"ship",category:"Travel & Places"},{emoji:"\u2708\uFE0F",names:["airplane"],tags:["flight"],description:"airplane",category:"Travel & Places"},{emoji:"\u{1F6E9}\uFE0F",names:["small_airplane"],tags:["flight"],description:"small airplane",category:"Travel & Places"},{emoji:"\u{1F6EB}",names:["flight_departure"],tags:[],description:"airplane departure",category:"Travel & Places"},{emoji:"\u{1F6EC}",names:["flight_arrival"],tags:[],description:"airplane arrival",category:"Travel & Places"},{emoji:"\u{1FA82}",names:["parachute"],tags:[],description:"parachute",category:"Travel & Places"},{emoji:"\u{1F4BA}",names:["seat"],tags:[],description:"seat",category:"Travel & Places"},{emoji:"\u{1F681}",names:["helicopter"],tags:[],description:"helicopter",category:"Travel & Places"},{emoji:"\u{1F69F}",names:["suspension_railway"],tags:[],description:"suspension railway",category:"Travel & Places"},{emoji:"\u{1F6A0}",names:["mountain_cableway"],tags:[],description:"mountain cableway",category:"Travel & Places"},{emoji:"\u{1F6A1}",names:["aerial_tramway"],tags:[],description:"aerial tramway",category:"Travel & Places"},{emoji:"\u{1F6F0}\uFE0F",names:["artificial_satellite"],tags:["orbit","space"],description:"satellite",category:"Travel & Places"},{emoji:"\u{1F680}",names:["rocket"],tags:["ship","launch"],description:"rocket",category:"Travel & Places"},{emoji:"\u{1F6F8}",names:["flying_saucer"],tags:["ufo"],description:"flying saucer",category:"Travel & Places"},{emoji:"\u{1F6CE}\uFE0F",names:["bellhop_bell"],tags:[],description:"bellhop bell",category:"Travel & Places"},{emoji:"\u{1F9F3}",names:["luggage"],tags:[],description:"luggage",category:"Travel & Places"},{emoji:"\u231B",names:["hourglass"],tags:["time"],description:"hourglass done",category:"Travel & Places"},{emoji:"\u23F3",names:["hourglass_flowing_sand"],tags:["time"],description:"hourglass not done",category:"Travel & Places"},{emoji:"\u231A",names:["watch"],tags:["time"],description:"watch",category:"Travel & Places"},{emoji:"\u23F0",names:["alarm_clock"],tags:["morning"],description:"alarm clock",category:"Travel & Places"},{emoji:"\u23F1\uFE0F",names:["stopwatch"],tags:[],description:"stopwatch",category:"Travel & Places"},{emoji:"\u23F2\uFE0F",names:["timer_clock"],tags:[],description:"timer clock",category:"Travel & Places"},{emoji:"\u{1F570}\uFE0F",names:["mantelpiece_clock"],tags:[],description:"mantelpiece clock",category:"Travel & Places"},{emoji:"\u{1F55B}",names:["clock12"],tags:[],description:"twelve o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F567}",names:["clock1230"],tags:[],description:"twelve-thirty",category:"Travel & Places"},{emoji:"\u{1F550}",names:["clock1"],tags:[],description:"one o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55C}",names:["clock130"],tags:[],description:"one-thirty",category:"Travel & Places"},{emoji:"\u{1F551}",names:["clock2"],tags:[],description:"two o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55D}",names:["clock230"],tags:[],description:"two-thirty",category:"Travel & Places"},{emoji:"\u{1F552}",names:["clock3"],tags:[],description:"three o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55E}",names:["clock330"],tags:[],description:"three-thirty",category:"Travel & Places"},{emoji:"\u{1F553}",names:["clock4"],tags:[],description:"four o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55F}",names:["clock430"],tags:[],description:"four-thirty",category:"Travel & Places"},{emoji:"\u{1F554}",names:["clock5"],tags:[],description:"five o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F560}",names:["clock530"],tags:[],description:"five-thirty",category:"Travel & Places"},{emoji:"\u{1F555}",names:["clock6"],tags:[],description:"six o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F561}",names:["clock630"],tags:[],description:"six-thirty",category:"Travel & Places"},{emoji:"\u{1F556}",names:["clock7"],tags:[],description:"seven o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F562}",names:["clock730"],tags:[],description:"seven-thirty",category:"Travel & Places"},{emoji:"\u{1F557}",names:["clock8"],tags:[],description:"eight o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F563}",names:["clock830"],tags:[],description:"eight-thirty",category:"Travel & Places"},{emoji:"\u{1F558}",names:["clock9"],tags:[],description:"nine o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F564}",names:["clock930"],tags:[],description:"nine-thirty",category:"Travel & Places"},{emoji:"\u{1F559}",names:["clock10"],tags:[],description:"ten o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F565}",names:["clock1030"],tags:[],description:"ten-thirty",category:"Travel & Places"},{emoji:"\u{1F55A}",names:["clock11"],tags:[],description:"eleven o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F566}",names:["clock1130"],tags:[],description:"eleven-thirty",category:"Travel & Places"},{emoji:"\u{1F311}",names:["new_moon"],tags:[],description:"new moon",category:"Travel & Places"},{emoji:"\u{1F312}",names:["waxing_crescent_moon"],tags:[],description:"waxing crescent moon",category:"Travel & Places"},{emoji:"\u{1F313}",names:["first_quarter_moon"],tags:[],description:"first quarter moon",category:"Travel & Places"},{emoji:"\u{1F314}",names:["moon","waxing_gibbous_moon"],tags:[],description:"waxing gibbous moon",category:"Travel & Places"},{emoji:"\u{1F315}",names:["full_moon"],tags:[],description:"full moon",category:"Travel & Places"},{emoji:"\u{1F316}",names:["waning_gibbous_moon"],tags:[],description:"waning gibbous moon",category:"Travel & Places"},{emoji:"\u{1F317}",names:["last_quarter_moon"],tags:[],description:"last quarter moon",category:"Travel & Places"},{emoji:"\u{1F318}",names:["waning_crescent_moon"],tags:[],description:"waning crescent moon",category:"Travel & Places"},{emoji:"\u{1F319}",names:["crescent_moon"],tags:["night"],description:"crescent moon",category:"Travel & Places"},{emoji:"\u{1F31A}",names:["new_moon_with_face"],tags:[],description:"new moon face",category:"Travel & Places"},{emoji:"\u{1F31B}",names:["first_quarter_moon_with_face"],tags:[],description:"first quarter moon face",category:"Travel & Places"},{emoji:"\u{1F31C}",names:["last_quarter_moon_with_face"],tags:[],description:"last quarter moon face",category:"Travel & Places"},{emoji:"\u{1F321}\uFE0F",names:["thermometer"],tags:[],description:"thermometer",category:"Travel & Places"},{emoji:"\u2600\uFE0F",names:["sunny"],tags:["weather"],description:"sun",category:"Travel & Places"},{emoji:"\u{1F31D}",names:["full_moon_with_face"],tags:[],description:"full moon face",category:"Travel & Places"},{emoji:"\u{1F31E}",names:["sun_with_face"],tags:["summer"],description:"sun with face",category:"Travel & Places"},{emoji:"\u{1FA90}",names:["ringed_planet"],tags:[],description:"ringed planet",category:"Travel & Places"},{emoji:"\u2B50",names:["star"],tags:[],description:"star",category:"Travel & Places"},{emoji:"\u{1F31F}",names:["star2"],tags:[],description:"glowing star",category:"Travel & Places"},{emoji:"\u{1F320}",names:["stars"],tags:[],description:"shooting star",category:"Travel & Places"},{emoji:"\u{1F30C}",names:["milky_way"],tags:[],description:"milky way",category:"Travel & Places"},{emoji:"\u2601\uFE0F",names:["cloud"],tags:[],description:"cloud",category:"Travel & Places"},{emoji:"\u26C5",names:["partly_sunny"],tags:["weather","cloud"],description:"sun behind cloud",category:"Travel & Places"},{emoji:"\u26C8\uFE0F",names:["cloud_with_lightning_and_rain"],tags:[],description:"cloud with lightning and rain",category:"Travel & Places"},{emoji:"\u{1F324}\uFE0F",names:["sun_behind_small_cloud"],tags:[],description:"sun behind small cloud",category:"Travel & Places"},{emoji:"\u{1F325}\uFE0F",names:["sun_behind_large_cloud"],tags:[],description:"sun behind large cloud",category:"Travel & Places"},{emoji:"\u{1F326}\uFE0F",names:["sun_behind_rain_cloud"],tags:[],description:"sun behind rain cloud",category:"Travel & Places"},{emoji:"\u{1F327}\uFE0F",names:["cloud_with_rain"],tags:[],description:"cloud with rain",category:"Travel & Places"},{emoji:"\u{1F328}\uFE0F",names:["cloud_with_snow"],tags:[],description:"cloud with snow",category:"Travel & Places"},{emoji:"\u{1F329}\uFE0F",names:["cloud_with_lightning"],tags:[],description:"cloud with lightning",category:"Travel & Places"},{emoji:"\u{1F32A}\uFE0F",names:["tornado"],tags:[],description:"tornado",category:"Travel & Places"},{emoji:"\u{1F32B}\uFE0F",names:["fog"],tags:[],description:"fog",category:"Travel & Places"},{emoji:"\u{1F32C}\uFE0F",names:["wind_face"],tags:[],description:"wind face",category:"Travel & Places"},{emoji:"\u{1F300}",names:["cyclone"],tags:["swirl"],description:"cyclone",category:"Travel & Places"},{emoji:"\u{1F308}",names:["rainbow"],tags:[],description:"rainbow",category:"Travel & Places"},{emoji:"\u{1F302}",names:["closed_umbrella"],tags:["weather","rain"],description:"closed umbrella",category:"Travel & Places"},{emoji:"\u2602\uFE0F",names:["open_umbrella"],tags:[],description:"umbrella",category:"Travel & Places"},{emoji:"\u2614",names:["umbrella"],tags:["rain","weather"],description:"umbrella with rain drops",category:"Travel & Places"},{emoji:"\u26F1\uFE0F",names:["parasol_on_ground"],tags:["beach_umbrella"],description:"umbrella on ground",category:"Travel & Places"},{emoji:"\u26A1",names:["zap"],tags:["lightning","thunder"],description:"high voltage",category:"Travel & Places"},{emoji:"\u2744\uFE0F",names:["snowflake"],tags:["winter","cold","weather"],description:"snowflake",category:"Travel & Places"},{emoji:"\u2603\uFE0F",names:["snowman_with_snow"],tags:["winter","christmas"],description:"snowman",category:"Travel & Places"},{emoji:"\u26C4",names:["snowman"],tags:["winter"],description:"snowman without snow",category:"Travel & Places"},{emoji:"\u2604\uFE0F",names:["comet"],tags:[],description:"comet",category:"Travel & Places"},{emoji:"\u{1F525}",names:["fire"],tags:["burn"],description:"fire",category:"Travel & Places"},{emoji:"\u{1F4A7}",names:["droplet"],tags:["water"],description:"droplet",category:"Travel & Places"},{emoji:"\u{1F30A}",names:["ocean"],tags:["sea"],description:"water wave",category:"Travel & Places"},{emoji:"\u{1F383}",names:["jack_o_lantern"],tags:["halloween"],description:"jack-o-lantern",category:"Activities"},{emoji:"\u{1F384}",names:["christmas_tree"],tags:[],description:"Christmas tree",category:"Activities"},{emoji:"\u{1F386}",names:["fireworks"],tags:["festival","celebration"],description:"fireworks",category:"Activities"},{emoji:"\u{1F387}",names:["sparkler"],tags:[],description:"sparkler",category:"Activities"},{emoji:"\u{1F9E8}",names:["firecracker"],tags:[],description:"firecracker",category:"Activities"},{emoji:"\u2728",names:["sparkles"],tags:["shiny"],description:"sparkles",category:"Activities"},{emoji:"\u{1F388}",names:["balloon"],tags:["party","birthday"],description:"balloon",category:"Activities"},{emoji:"\u{1F389}",names:["tada"],tags:["hooray","party"],description:"party popper",category:"Activities"},{emoji:"\u{1F38A}",names:["confetti_ball"],tags:[],description:"confetti ball",category:"Activities"},{emoji:"\u{1F38B}",names:["tanabata_tree"],tags:[],description:"tanabata tree",category:"Activities"},{emoji:"\u{1F38D}",names:["bamboo"],tags:[],description:"pine decoration",category:"Activities"},{emoji:"\u{1F38E}",names:["dolls"],tags:[],description:"Japanese dolls",category:"Activities"},{emoji:"\u{1F38F}",names:["flags"],tags:[],description:"carp streamer",category:"Activities"},{emoji:"\u{1F390}",names:["wind_chime"],tags:[],description:"wind chime",category:"Activities"},{emoji:"\u{1F391}",names:["rice_scene"],tags:[],description:"moon viewing ceremony",category:"Activities"},{emoji:"\u{1F9E7}",names:["red_envelope"],tags:[],description:"red envelope",category:"Activities"},{emoji:"\u{1F380}",names:["ribbon"],tags:[],description:"ribbon",category:"Activities"},{emoji:"\u{1F381}",names:["gift"],tags:["present","birthday","christmas"],description:"wrapped gift",category:"Activities"},{emoji:"\u{1F397}\uFE0F",names:["reminder_ribbon"],tags:[],description:"reminder ribbon",category:"Activities"},{emoji:"\u{1F39F}\uFE0F",names:["tickets"],tags:[],description:"admission tickets",category:"Activities"},{emoji:"\u{1F3AB}",names:["ticket"],tags:[],description:"ticket",category:"Activities"},{emoji:"\u{1F396}\uFE0F",names:["medal_military"],tags:[],description:"military medal",category:"Activities"},{emoji:"\u{1F3C6}",names:["trophy"],tags:["award","contest","winner"],description:"trophy",category:"Activities"},{emoji:"\u{1F3C5}",names:["medal_sports"],tags:["gold","winner"],description:"sports medal",category:"Activities"},{emoji:"\u{1F947}",names:["1st_place_medal"],tags:["gold"],description:"1st place medal",category:"Activities"},{emoji:"\u{1F948}",names:["2nd_place_medal"],tags:["silver"],description:"2nd place medal",category:"Activities"},{emoji:"\u{1F949}",names:["3rd_place_medal"],tags:["bronze"],description:"3rd place medal",category:"Activities"},{emoji:"\u26BD",names:["soccer"],tags:["sports"],description:"soccer ball",category:"Activities"},{emoji:"\u26BE",names:["baseball"],tags:["sports"],description:"baseball",category:"Activities"},{emoji:"\u{1F94E}",names:["softball"],tags:[],description:"softball",category:"Activities"},{emoji:"\u{1F3C0}",names:["basketball"],tags:["sports"],description:"basketball",category:"Activities"},{emoji:"\u{1F3D0}",names:["volleyball"],tags:[],description:"volleyball",category:"Activities"},{emoji:"\u{1F3C8}",names:["football"],tags:["sports"],description:"american football",category:"Activities"},{emoji:"\u{1F3C9}",names:["rugby_football"],tags:[],description:"rugby football",category:"Activities"},{emoji:"\u{1F3BE}",names:["tennis"],tags:["sports"],description:"tennis",category:"Activities"},{emoji:"\u{1F94F}",names:["flying_disc"],tags:[],description:"flying disc",category:"Activities"},{emoji:"\u{1F3B3}",names:["bowling"],tags:[],description:"bowling",category:"Activities"},{emoji:"\u{1F3CF}",names:["cricket_game"],tags:[],description:"cricket game",category:"Activities"},{emoji:"\u{1F3D1}",names:["field_hockey"],tags:[],description:"field hockey",category:"Activities"},{emoji:"\u{1F3D2}",names:["ice_hockey"],tags:[],description:"ice hockey",category:"Activities"},{emoji:"\u{1F94D}",names:["lacrosse"],tags:[],description:"lacrosse",category:"Activities"},{emoji:"\u{1F3D3}",names:["ping_pong"],tags:[],description:"ping pong",category:"Activities"},{emoji:"\u{1F3F8}",names:["badminton"],tags:[],description:"badminton",category:"Activities"},{emoji:"\u{1F94A}",names:["boxing_glove"],tags:[],description:"boxing glove",category:"Activities"},{emoji:"\u{1F94B}",names:["martial_arts_uniform"],tags:[],description:"martial arts uniform",category:"Activities"},{emoji:"\u{1F945}",names:["goal_net"],tags:[],description:"goal net",category:"Activities"},{emoji:"\u26F3",names:["golf"],tags:[],description:"flag in hole",category:"Activities"},{emoji:"\u26F8\uFE0F",names:["ice_skate"],tags:["skating"],description:"ice skate",category:"Activities"},{emoji:"\u{1F3A3}",names:["fishing_pole_and_fish"],tags:[],description:"fishing pole",category:"Activities"},{emoji:"\u{1F93F}",names:["diving_mask"],tags:[],description:"diving mask",category:"Activities"},{emoji:"\u{1F3BD}",names:["running_shirt_with_sash"],tags:["marathon"],description:"running shirt",category:"Activities"},{emoji:"\u{1F3BF}",names:["ski"],tags:[],description:"skis",category:"Activities"},{emoji:"\u{1F6F7}",names:["sled"],tags:[],description:"sled",category:"Activities"},{emoji:"\u{1F94C}",names:["curling_stone"],tags:[],description:"curling stone",category:"Activities"},{emoji:"\u{1F3AF}",names:["dart"],tags:["target"],description:"bullseye",category:"Activities"},{emoji:"\u{1FA80}",names:["yo_yo"],tags:[],description:"yo-yo",category:"Activities"},{emoji:"\u{1FA81}",names:["kite"],tags:[],description:"kite",category:"Activities"},{emoji:"\u{1F52B}",names:["gun"],tags:["shoot","weapon"],description:"water pistol",category:"Activities"},{emoji:"\u{1F3B1}",names:["8ball"],tags:["pool","billiards"],description:"pool 8 ball",category:"Activities"},{emoji:"\u{1F52E}",names:["crystal_ball"],tags:["fortune"],description:"crystal ball",category:"Activities"},{emoji:"\u{1FA84}",names:["magic_wand"],tags:[],description:"magic wand",category:"Activities"},{emoji:"\u{1F3AE}",names:["video_game"],tags:["play","controller","console"],description:"video game",category:"Activities"},{emoji:"\u{1F579}\uFE0F",names:["joystick"],tags:[],description:"joystick",category:"Activities"},{emoji:"\u{1F3B0}",names:["slot_machine"],tags:[],description:"slot machine",category:"Activities"},{emoji:"\u{1F3B2}",names:["game_die"],tags:["dice","gambling"],description:"game die",category:"Activities"},{emoji:"\u{1F9E9}",names:["jigsaw"],tags:[],description:"puzzle piece",category:"Activities"},{emoji:"\u{1F9F8}",names:["teddy_bear"],tags:[],description:"teddy bear",category:"Activities"},{emoji:"\u{1FA85}",names:["pinata"],tags:[],description:"pi\xF1ata",category:"Activities"},{emoji:"\u{1FAA9}",names:["mirror_ball"],tags:["disco","party"],description:"mirror ball",category:"Activities"},{emoji:"\u{1FA86}",names:["nesting_dolls"],tags:[],description:"nesting dolls",category:"Activities"},{emoji:"\u2660\uFE0F",names:["spades"],tags:[],description:"spade suit",category:"Activities"},{emoji:"\u2665\uFE0F",names:["hearts"],tags:[],description:"heart suit",category:"Activities"},{emoji:"\u2666\uFE0F",names:["diamonds"],tags:[],description:"diamond suit",category:"Activities"},{emoji:"\u2663\uFE0F",names:["clubs"],tags:[],description:"club suit",category:"Activities"},{emoji:"\u265F\uFE0F",names:["chess_pawn"],tags:[],description:"chess pawn",category:"Activities"},{emoji:"\u{1F0CF}",names:["black_joker"],tags:[],description:"joker",category:"Activities"},{emoji:"\u{1F004}",names:["mahjong"],tags:[],description:"mahjong red dragon",category:"Activities"},{emoji:"\u{1F3B4}",names:["flower_playing_cards"],tags:[],description:"flower playing cards",category:"Activities"},{emoji:"\u{1F3AD}",names:["performing_arts"],tags:["theater","drama"],description:"performing arts",category:"Activities"},{emoji:"\u{1F5BC}\uFE0F",names:["framed_picture"],tags:[],description:"framed picture",category:"Activities"},{emoji:"\u{1F3A8}",names:["art"],tags:["design","paint"],description:"artist palette",category:"Activities"},{emoji:"\u{1F9F5}",names:["thread"],tags:[],description:"thread",category:"Activities"},{emoji:"\u{1FAA1}",names:["sewing_needle"],tags:[],description:"sewing needle",category:"Activities"},{emoji:"\u{1F9F6}",names:["yarn"],tags:[],description:"yarn",category:"Activities"},{emoji:"\u{1FAA2}",names:["knot"],tags:[],description:"knot",category:"Activities"},{emoji:"\u{1F453}",names:["eyeglasses"],tags:["glasses"],description:"glasses",category:"Objects"},{emoji:"\u{1F576}\uFE0F",names:["dark_sunglasses"],tags:[],description:"sunglasses",category:"Objects"},{emoji:"\u{1F97D}",names:["goggles"],tags:[],description:"goggles",category:"Objects"},{emoji:"\u{1F97C}",names:["lab_coat"],tags:[],description:"lab coat",category:"Objects"},{emoji:"\u{1F9BA}",names:["safety_vest"],tags:[],description:"safety vest",category:"Objects"},{emoji:"\u{1F454}",names:["necktie"],tags:["shirt","formal"],description:"necktie",category:"Objects"},{emoji:"\u{1F455}",names:["shirt","tshirt"],tags:[],description:"t-shirt",category:"Objects"},{emoji:"\u{1F456}",names:["jeans"],tags:["pants"],description:"jeans",category:"Objects"},{emoji:"\u{1F9E3}",names:["scarf"],tags:[],description:"scarf",category:"Objects"},{emoji:"\u{1F9E4}",names:["gloves"],tags:[],description:"gloves",category:"Objects"},{emoji:"\u{1F9E5}",names:["coat"],tags:[],description:"coat",category:"Objects"},{emoji:"\u{1F9E6}",names:["socks"],tags:[],description:"socks",category:"Objects"},{emoji:"\u{1F457}",names:["dress"],tags:[],description:"dress",category:"Objects"},{emoji:"\u{1F458}",names:["kimono"],tags:[],description:"kimono",category:"Objects"},{emoji:"\u{1F97B}",names:["sari"],tags:[],description:"sari",category:"Objects"},{emoji:"\u{1FA71}",names:["one_piece_swimsuit"],tags:[],description:"one-piece swimsuit",category:"Objects"},{emoji:"\u{1FA72}",names:["swim_brief"],tags:[],description:"briefs",category:"Objects"},{emoji:"\u{1FA73}",names:["shorts"],tags:[],description:"shorts",category:"Objects"},{emoji:"\u{1F459}",names:["bikini"],tags:["beach"],description:"bikini",category:"Objects"},{emoji:"\u{1F45A}",names:["womans_clothes"],tags:[],description:"woman\u2019s clothes",category:"Objects"},{emoji:"\u{1FAAD}",names:["folding_hand_fan"],tags:["sensu"],description:"folding hand fan",category:"Objects"},{emoji:"\u{1F45B}",names:["purse"],tags:[],description:"purse",category:"Objects"},{emoji:"\u{1F45C}",names:["handbag"],tags:["bag"],description:"handbag",category:"Objects"},{emoji:"\u{1F45D}",names:["pouch"],tags:["bag"],description:"clutch bag",category:"Objects"},{emoji:"\u{1F6CD}\uFE0F",names:["shopping"],tags:["bags"],description:"shopping bags",category:"Objects"},{emoji:"\u{1F392}",names:["school_satchel"],tags:[],description:"backpack",category:"Objects"},{emoji:"\u{1FA74}",names:["thong_sandal"],tags:[],description:"thong sandal",category:"Objects"},{emoji:"\u{1F45E}",names:["mans_shoe","shoe"],tags:[],description:"man\u2019s shoe",category:"Objects"},{emoji:"\u{1F45F}",names:["athletic_shoe"],tags:["sneaker","sport","running"],description:"running shoe",category:"Objects"},{emoji:"\u{1F97E}",names:["hiking_boot"],tags:[],description:"hiking boot",category:"Objects"},{emoji:"\u{1F97F}",names:["flat_shoe"],tags:[],description:"flat shoe",category:"Objects"},{emoji:"\u{1F460}",names:["high_heel"],tags:["shoe"],description:"high-heeled shoe",category:"Objects"},{emoji:"\u{1F461}",names:["sandal"],tags:["shoe"],description:"woman\u2019s sandal",category:"Objects"},{emoji:"\u{1FA70}",names:["ballet_shoes"],tags:[],description:"ballet shoes",category:"Objects"},{emoji:"\u{1F462}",names:["boot"],tags:[],description:"woman\u2019s boot",category:"Objects"},{emoji:"\u{1FAAE}",names:["hair_pick"],tags:[],description:"hair pick",category:"Objects"},{emoji:"\u{1F451}",names:["crown"],tags:["king","queen","royal"],description:"crown",category:"Objects"},{emoji:"\u{1F452}",names:["womans_hat"],tags:[],description:"woman\u2019s hat",category:"Objects"},{emoji:"\u{1F3A9}",names:["tophat"],tags:["hat","classy"],description:"top hat",category:"Objects"},{emoji:"\u{1F393}",names:["mortar_board"],tags:["education","college","university","graduation"],description:"graduation cap",category:"Objects"},{emoji:"\u{1F9E2}",names:["billed_cap"],tags:[],description:"billed cap",category:"Objects"},{emoji:"\u{1FA96}",names:["military_helmet"],tags:[],description:"military helmet",category:"Objects"},{emoji:"\u26D1\uFE0F",names:["rescue_worker_helmet"],tags:[],description:"rescue worker\u2019s helmet",category:"Objects"},{emoji:"\u{1F4FF}",names:["prayer_beads"],tags:[],description:"prayer beads",category:"Objects"},{emoji:"\u{1F484}",names:["lipstick"],tags:["makeup"],description:"lipstick",category:"Objects"},{emoji:"\u{1F48D}",names:["ring"],tags:["wedding","marriage","engaged"],description:"ring",category:"Objects"},{emoji:"\u{1F48E}",names:["gem"],tags:["diamond"],description:"gem stone",category:"Objects"},{emoji:"\u{1F507}",names:["mute"],tags:["sound","volume"],description:"muted speaker",category:"Objects"},{emoji:"\u{1F508}",names:["speaker"],tags:[],description:"speaker low volume",category:"Objects"},{emoji:"\u{1F509}",names:["sound"],tags:["volume"],description:"speaker medium volume",category:"Objects"},{emoji:"\u{1F50A}",names:["loud_sound"],tags:["volume"],description:"speaker high volume",category:"Objects"},{emoji:"\u{1F4E2}",names:["loudspeaker"],tags:["announcement"],description:"loudspeaker",category:"Objects"},{emoji:"\u{1F4E3}",names:["mega"],tags:[],description:"megaphone",category:"Objects"},{emoji:"\u{1F4EF}",names:["postal_horn"],tags:[],description:"postal horn",category:"Objects"},{emoji:"\u{1F514}",names:["bell"],tags:["sound","notification"],description:"bell",category:"Objects"},{emoji:"\u{1F515}",names:["no_bell"],tags:["volume","off"],description:"bell with slash",category:"Objects"},{emoji:"\u{1F3BC}",names:["musical_score"],tags:[],description:"musical score",category:"Objects"},{emoji:"\u{1F3B5}",names:["musical_note"],tags:[],description:"musical note",category:"Objects"},{emoji:"\u{1F3B6}",names:["notes"],tags:["music"],description:"musical notes",category:"Objects"},{emoji:"\u{1F399}\uFE0F",names:["studio_microphone"],tags:["podcast"],description:"studio microphone",category:"Objects"},{emoji:"\u{1F39A}\uFE0F",names:["level_slider"],tags:[],description:"level slider",category:"Objects"},{emoji:"\u{1F39B}\uFE0F",names:["control_knobs"],tags:[],description:"control knobs",category:"Objects"},{emoji:"\u{1F3A4}",names:["microphone"],tags:["sing"],description:"microphone",category:"Objects"},{emoji:"\u{1F3A7}",names:["headphones"],tags:["music","earphones"],description:"headphone",category:"Objects"},{emoji:"\u{1F4FB}",names:["radio"],tags:["podcast"],description:"radio",category:"Objects"},{emoji:"\u{1F3B7}",names:["saxophone"],tags:[],description:"saxophone",category:"Objects"},{emoji:"\u{1FA97}",names:["accordion"],tags:[],description:"accordion",category:"Objects"},{emoji:"\u{1F3B8}",names:["guitar"],tags:["rock"],description:"guitar",category:"Objects"},{emoji:"\u{1F3B9}",names:["musical_keyboard"],tags:["piano"],description:"musical keyboard",category:"Objects"},{emoji:"\u{1F3BA}",names:["trumpet"],tags:[],description:"trumpet",category:"Objects"},{emoji:"\u{1F3BB}",names:["violin"],tags:[],description:"violin",category:"Objects"},{emoji:"\u{1FA95}",names:["banjo"],tags:[],description:"banjo",category:"Objects"},{emoji:"\u{1F941}",names:["drum"],tags:[],description:"drum",category:"Objects"},{emoji:"\u{1FA98}",names:["long_drum"],tags:[],description:"long drum",category:"Objects"},{emoji:"\u{1FA87}",names:["maracas"],tags:["shaker"],description:"maracas",category:"Objects"},{emoji:"\u{1FA88}",names:["flute"],tags:["recorder"],description:"flute",category:"Objects"},{emoji:"\u{1F4F1}",names:["iphone"],tags:["smartphone","mobile"],description:"mobile phone",category:"Objects"},{emoji:"\u{1F4F2}",names:["calling"],tags:["call","incoming"],description:"mobile phone with arrow",category:"Objects"},{emoji:"\u260E\uFE0F",names:["phone","telephone"],tags:[],description:"telephone",category:"Objects"},{emoji:"\u{1F4DE}",names:["telephone_receiver"],tags:["phone","call"],description:"telephone receiver",category:"Objects"},{emoji:"\u{1F4DF}",names:["pager"],tags:[],description:"pager",category:"Objects"},{emoji:"\u{1F4E0}",names:["fax"],tags:[],description:"fax machine",category:"Objects"},{emoji:"\u{1F50B}",names:["battery"],tags:["power"],description:"battery",category:"Objects"},{emoji:"\u{1FAAB}",names:["low_battery"],tags:[],description:"low battery",category:"Objects"},{emoji:"\u{1F50C}",names:["electric_plug"],tags:[],description:"electric plug",category:"Objects"},{emoji:"\u{1F4BB}",names:["computer"],tags:["desktop","screen"],description:"laptop",category:"Objects"},{emoji:"\u{1F5A5}\uFE0F",names:["desktop_computer"],tags:[],description:"desktop computer",category:"Objects"},{emoji:"\u{1F5A8}\uFE0F",names:["printer"],tags:[],description:"printer",category:"Objects"},{emoji:"\u2328\uFE0F",names:["keyboard"],tags:[],description:"keyboard",category:"Objects"},{emoji:"\u{1F5B1}\uFE0F",names:["computer_mouse"],tags:[],description:"computer mouse",category:"Objects"},{emoji:"\u{1F5B2}\uFE0F",names:["trackball"],tags:[],description:"trackball",category:"Objects"},{emoji:"\u{1F4BD}",names:["minidisc"],tags:[],description:"computer disk",category:"Objects"},{emoji:"\u{1F4BE}",names:["floppy_disk"],tags:["save"],description:"floppy disk",category:"Objects"},{emoji:"\u{1F4BF}",names:["cd"],tags:[],description:"optical disk",category:"Objects"},{emoji:"\u{1F4C0}",names:["dvd"],tags:[],description:"dvd",category:"Objects"},{emoji:"\u{1F9EE}",names:["abacus"],tags:[],description:"abacus",category:"Objects"},{emoji:"\u{1F3A5}",names:["movie_camera"],tags:["film","video"],description:"movie camera",category:"Objects"},{emoji:"\u{1F39E}\uFE0F",names:["film_strip"],tags:[],description:"film frames",category:"Objects"},{emoji:"\u{1F4FD}\uFE0F",names:["film_projector"],tags:[],description:"film projector",category:"Objects"},{emoji:"\u{1F3AC}",names:["clapper"],tags:["film"],description:"clapper board",category:"Objects"},{emoji:"\u{1F4FA}",names:["tv"],tags:[],description:"television",category:"Objects"},{emoji:"\u{1F4F7}",names:["camera"],tags:["photo"],description:"camera",category:"Objects"},{emoji:"\u{1F4F8}",names:["camera_flash"],tags:["photo"],description:"camera with flash",category:"Objects"},{emoji:"\u{1F4F9}",names:["video_camera"],tags:[],description:"video camera",category:"Objects"},{emoji:"\u{1F4FC}",names:["vhs"],tags:[],description:"videocassette",category:"Objects"},{emoji:"\u{1F50D}",names:["mag"],tags:["search","zoom"],description:"magnifying glass tilted left",category:"Objects"},{emoji:"\u{1F50E}",names:["mag_right"],tags:[],description:"magnifying glass tilted right",category:"Objects"},{emoji:"\u{1F56F}\uFE0F",names:["candle"],tags:[],description:"candle",category:"Objects"},{emoji:"\u{1F4A1}",names:["bulb"],tags:["idea","light"],description:"light bulb",category:"Objects"},{emoji:"\u{1F526}",names:["flashlight"],tags:[],description:"flashlight",category:"Objects"},{emoji:"\u{1F3EE}",names:["izakaya_lantern","lantern"],tags:[],description:"red paper lantern",category:"Objects"},{emoji:"\u{1FA94}",names:["diya_lamp"],tags:[],description:"diya lamp",category:"Objects"},{emoji:"\u{1F4D4}",names:["notebook_with_decorative_cover"],tags:[],description:"notebook with decorative cover",category:"Objects"},{emoji:"\u{1F4D5}",names:["closed_book"],tags:[],description:"closed book",category:"Objects"},{emoji:"\u{1F4D6}",names:["book","open_book"],tags:[],description:"open book",category:"Objects"},{emoji:"\u{1F4D7}",names:["green_book"],tags:[],description:"green book",category:"Objects"},{emoji:"\u{1F4D8}",names:["blue_book"],tags:[],description:"blue book",category:"Objects"},{emoji:"\u{1F4D9}",names:["orange_book"],tags:[],description:"orange book",category:"Objects"},{emoji:"\u{1F4DA}",names:["books"],tags:["library"],description:"books",category:"Objects"},{emoji:"\u{1F4D3}",names:["notebook"],tags:[],description:"notebook",category:"Objects"},{emoji:"\u{1F4D2}",names:["ledger"],tags:[],description:"ledger",category:"Objects"},{emoji:"\u{1F4C3}",names:["page_with_curl"],tags:[],description:"page with curl",category:"Objects"},{emoji:"\u{1F4DC}",names:["scroll"],tags:["document"],description:"scroll",category:"Objects"},{emoji:"\u{1F4C4}",names:["page_facing_up"],tags:["document"],description:"page facing up",category:"Objects"},{emoji:"\u{1F4F0}",names:["newspaper"],tags:["press"],description:"newspaper",category:"Objects"},{emoji:"\u{1F5DE}\uFE0F",names:["newspaper_roll"],tags:["press"],description:"rolled-up newspaper",category:"Objects"},{emoji:"\u{1F4D1}",names:["bookmark_tabs"],tags:[],description:"bookmark tabs",category:"Objects"},{emoji:"\u{1F516}",names:["bookmark"],tags:[],description:"bookmark",category:"Objects"},{emoji:"\u{1F3F7}\uFE0F",names:["label"],tags:["tag"],description:"label",category:"Objects"},{emoji:"\u{1F4B0}",names:["moneybag"],tags:["dollar","cream"],description:"money bag",category:"Objects"},{emoji:"\u{1FA99}",names:["coin"],tags:[],description:"coin",category:"Objects"},{emoji:"\u{1F4B4}",names:["yen"],tags:[],description:"yen banknote",category:"Objects"},{emoji:"\u{1F4B5}",names:["dollar"],tags:["money"],description:"dollar banknote",category:"Objects"},{emoji:"\u{1F4B6}",names:["euro"],tags:[],description:"euro banknote",category:"Objects"},{emoji:"\u{1F4B7}",names:["pound"],tags:[],description:"pound banknote",category:"Objects"},{emoji:"\u{1F4B8}",names:["money_with_wings"],tags:["dollar"],description:"money with wings",category:"Objects"},{emoji:"\u{1F4B3}",names:["credit_card"],tags:["subscription"],description:"credit card",category:"Objects"},{emoji:"\u{1F9FE}",names:["receipt"],tags:[],description:"receipt",category:"Objects"},{emoji:"\u{1F4B9}",names:["chart"],tags:[],description:"chart increasing with yen",category:"Objects"},{emoji:"\u2709\uFE0F",names:["envelope"],tags:["letter","email"],description:"envelope",category:"Objects"},{emoji:"\u{1F4E7}",names:["email","e-mail"],tags:[],description:"e-mail",category:"Objects"},{emoji:"\u{1F4E8}",names:["incoming_envelope"],tags:[],description:"incoming envelope",category:"Objects"},{emoji:"\u{1F4E9}",names:["envelope_with_arrow"],tags:[],description:"envelope with arrow",category:"Objects"},{emoji:"\u{1F4E4}",names:["outbox_tray"],tags:[],description:"outbox tray",category:"Objects"},{emoji:"\u{1F4E5}",names:["inbox_tray"],tags:[],description:"inbox tray",category:"Objects"},{emoji:"\u{1F4E6}",names:["package"],tags:["shipping"],description:"package",category:"Objects"},{emoji:"\u{1F4EB}",names:["mailbox"],tags:[],description:"closed mailbox with raised flag",category:"Objects"},{emoji:"\u{1F4EA}",names:["mailbox_closed"],tags:[],description:"closed mailbox with lowered flag",category:"Objects"},{emoji:"\u{1F4EC}",names:["mailbox_with_mail"],tags:[],description:"open mailbox with raised flag",category:"Objects"},{emoji:"\u{1F4ED}",names:["mailbox_with_no_mail"],tags:[],description:"open mailbox with lowered flag",category:"Objects"},{emoji:"\u{1F4EE}",names:["postbox"],tags:[],description:"postbox",category:"Objects"},{emoji:"\u{1F5F3}\uFE0F",names:["ballot_box"],tags:[],description:"ballot box with ballot",category:"Objects"},{emoji:"\u270F\uFE0F",names:["pencil2"],tags:[],description:"pencil",category:"Objects"},{emoji:"\u2712\uFE0F",names:["black_nib"],tags:[],description:"black nib",category:"Objects"},{emoji:"\u{1F58B}\uFE0F",names:["fountain_pen"],tags:[],description:"fountain pen",category:"Objects"},{emoji:"\u{1F58A}\uFE0F",names:["pen"],tags:[],description:"pen",category:"Objects"},{emoji:"\u{1F58C}\uFE0F",names:["paintbrush"],tags:[],description:"paintbrush",category:"Objects"},{emoji:"\u{1F58D}\uFE0F",names:["crayon"],tags:[],description:"crayon",category:"Objects"},{emoji:"\u{1F4DD}",names:["memo","pencil"],tags:["document","note"],description:"memo",category:"Objects"},{emoji:"\u{1F4BC}",names:["briefcase"],tags:["business"],description:"briefcase",category:"Objects"},{emoji:"\u{1F4C1}",names:["file_folder"],tags:["directory"],description:"file folder",category:"Objects"},{emoji:"\u{1F4C2}",names:["open_file_folder"],tags:[],description:"open file folder",category:"Objects"},{emoji:"\u{1F5C2}\uFE0F",names:["card_index_dividers"],tags:[],description:"card index dividers",category:"Objects"},{emoji:"\u{1F4C5}",names:["date"],tags:["calendar","schedule"],description:"calendar",category:"Objects"},{emoji:"\u{1F4C6}",names:["calendar"],tags:["schedule"],description:"tear-off calendar",category:"Objects"},{emoji:"\u{1F5D2}\uFE0F",names:["spiral_notepad"],tags:[],description:"spiral notepad",category:"Objects"},{emoji:"\u{1F5D3}\uFE0F",names:["spiral_calendar"],tags:[],description:"spiral calendar",category:"Objects"},{emoji:"\u{1F4C7}",names:["card_index"],tags:[],description:"card index",category:"Objects"},{emoji:"\u{1F4C8}",names:["chart_with_upwards_trend"],tags:["graph","metrics"],description:"chart increasing",category:"Objects"},{emoji:"\u{1F4C9}",names:["chart_with_downwards_trend"],tags:["graph","metrics"],description:"chart decreasing",category:"Objects"},{emoji:"\u{1F4CA}",names:["bar_chart"],tags:["stats","metrics"],description:"bar chart",category:"Objects"},{emoji:"\u{1F4CB}",names:["clipboard"],tags:[],description:"clipboard",category:"Objects"},{emoji:"\u{1F4CC}",names:["pushpin"],tags:["location"],description:"pushpin",category:"Objects"},{emoji:"\u{1F4CD}",names:["round_pushpin"],tags:["location"],description:"round pushpin",category:"Objects"},{emoji:"\u{1F4CE}",names:["paperclip"],tags:[],description:"paperclip",category:"Objects"},{emoji:"\u{1F587}\uFE0F",names:["paperclips"],tags:[],description:"linked paperclips",category:"Objects"},{emoji:"\u{1F4CF}",names:["straight_ruler"],tags:[],description:"straight ruler",category:"Objects"},{emoji:"\u{1F4D0}",names:["triangular_ruler"],tags:[],description:"triangular ruler",category:"Objects"},{emoji:"\u2702\uFE0F",names:["scissors"],tags:["cut"],description:"scissors",category:"Objects"},{emoji:"\u{1F5C3}\uFE0F",names:["card_file_box"],tags:[],description:"card file box",category:"Objects"},{emoji:"\u{1F5C4}\uFE0F",names:["file_cabinet"],tags:[],description:"file cabinet",category:"Objects"},{emoji:"\u{1F5D1}\uFE0F",names:["wastebasket"],tags:["trash"],description:"wastebasket",category:"Objects"},{emoji:"\u{1F512}",names:["lock"],tags:["security","private"],description:"locked",category:"Objects"},{emoji:"\u{1F513}",names:["unlock"],tags:["security"],description:"unlocked",category:"Objects"},{emoji:"\u{1F50F}",names:["lock_with_ink_pen"],tags:[],description:"locked with pen",category:"Objects"},{emoji:"\u{1F510}",names:["closed_lock_with_key"],tags:["security"],description:"locked with key",category:"Objects"},{emoji:"\u{1F511}",names:["key"],tags:["lock","password"],description:"key",category:"Objects"},{emoji:"\u{1F5DD}\uFE0F",names:["old_key"],tags:[],description:"old key",category:"Objects"},{emoji:"\u{1F528}",names:["hammer"],tags:["tool"],description:"hammer",category:"Objects"},{emoji:"\u{1FA93}",names:["axe"],tags:[],description:"axe",category:"Objects"},{emoji:"\u26CF\uFE0F",names:["pick"],tags:[],description:"pick",category:"Objects"},{emoji:"\u2692\uFE0F",names:["hammer_and_pick"],tags:[],description:"hammer and pick",category:"Objects"},{emoji:"\u{1F6E0}\uFE0F",names:["hammer_and_wrench"],tags:[],description:"hammer and wrench",category:"Objects"},{emoji:"\u{1F5E1}\uFE0F",names:["dagger"],tags:[],description:"dagger",category:"Objects"},{emoji:"\u2694\uFE0F",names:["crossed_swords"],tags:[],description:"crossed swords",category:"Objects"},{emoji:"\u{1F4A3}",names:["bomb"],tags:["boom"],description:"bomb",category:"Objects"},{emoji:"\u{1FA83}",names:["boomerang"],tags:[],description:"boomerang",category:"Objects"},{emoji:"\u{1F3F9}",names:["bow_and_arrow"],tags:["archery"],description:"bow and arrow",category:"Objects"},{emoji:"\u{1F6E1}\uFE0F",names:["shield"],tags:[],description:"shield",category:"Objects"},{emoji:"\u{1FA9A}",names:["carpentry_saw"],tags:[],description:"carpentry saw",category:"Objects"},{emoji:"\u{1F527}",names:["wrench"],tags:["tool"],description:"wrench",category:"Objects"},{emoji:"\u{1FA9B}",names:["screwdriver"],tags:[],description:"screwdriver",category:"Objects"},{emoji:"\u{1F529}",names:["nut_and_bolt"],tags:[],description:"nut and bolt",category:"Objects"},{emoji:"\u2699\uFE0F",names:["gear"],tags:[],description:"gear",category:"Objects"},{emoji:"\u{1F5DC}\uFE0F",names:["clamp"],tags:[],description:"clamp",category:"Objects"},{emoji:"\u2696\uFE0F",names:["balance_scale"],tags:[],description:"balance scale",category:"Objects"},{emoji:"\u{1F9AF}",names:["probing_cane"],tags:[],description:"white cane",category:"Objects"},{emoji:"\u{1F517}",names:["link"],tags:[],description:"link",category:"Objects"},{emoji:"\u26D3\uFE0F",names:["chains"],tags:[],description:"chains",category:"Objects"},{emoji:"\u{1FA9D}",names:["hook"],tags:[],description:"hook",category:"Objects"},{emoji:"\u{1F9F0}",names:["toolbox"],tags:[],description:"toolbox",category:"Objects"},{emoji:"\u{1F9F2}",names:["magnet"],tags:[],description:"magnet",category:"Objects"},{emoji:"\u{1FA9C}",names:["ladder"],tags:[],description:"ladder",category:"Objects"},{emoji:"\u2697\uFE0F",names:["alembic"],tags:[],description:"alembic",category:"Objects"},{emoji:"\u{1F9EA}",names:["test_tube"],tags:[],description:"test tube",category:"Objects"},{emoji:"\u{1F9EB}",names:["petri_dish"],tags:[],description:"petri dish",category:"Objects"},{emoji:"\u{1F9EC}",names:["dna"],tags:[],description:"dna",category:"Objects"},{emoji:"\u{1F52C}",names:["microscope"],tags:["science","laboratory","investigate"],description:"microscope",category:"Objects"},{emoji:"\u{1F52D}",names:["telescope"],tags:[],description:"telescope",category:"Objects"},{emoji:"\u{1F4E1}",names:["satellite"],tags:["signal"],description:"satellite antenna",category:"Objects"},{emoji:"\u{1F489}",names:["syringe"],tags:["health","hospital","needle"],description:"syringe",category:"Objects"},{emoji:"\u{1FA78}",names:["drop_of_blood"],tags:[],description:"drop of blood",category:"Objects"},{emoji:"\u{1F48A}",names:["pill"],tags:["health","medicine"],description:"pill",category:"Objects"},{emoji:"\u{1FA79}",names:["adhesive_bandage"],tags:[],description:"adhesive bandage",category:"Objects"},{emoji:"\u{1FA7C}",names:["crutch"],tags:[],description:"crutch",category:"Objects"},{emoji:"\u{1FA7A}",names:["stethoscope"],tags:[],description:"stethoscope",category:"Objects"},{emoji:"\u{1FA7B}",names:["x_ray"],tags:[],description:"x-ray",category:"Objects"},{emoji:"\u{1F6AA}",names:["door"],tags:[],description:"door",category:"Objects"},{emoji:"\u{1F6D7}",names:["elevator"],tags:[],description:"elevator",category:"Objects"},{emoji:"\u{1FA9E}",names:["mirror"],tags:[],description:"mirror",category:"Objects"},{emoji:"\u{1FA9F}",names:["window"],tags:[],description:"window",category:"Objects"},{emoji:"\u{1F6CF}\uFE0F",names:["bed"],tags:[],description:"bed",category:"Objects"},{emoji:"\u{1F6CB}\uFE0F",names:["couch_and_lamp"],tags:[],description:"couch and lamp",category:"Objects"},{emoji:"\u{1FA91}",names:["chair"],tags:[],description:"chair",category:"Objects"},{emoji:"\u{1F6BD}",names:["toilet"],tags:["wc"],description:"toilet",category:"Objects"},{emoji:"\u{1FAA0}",names:["plunger"],tags:[],description:"plunger",category:"Objects"},{emoji:"\u{1F6BF}",names:["shower"],tags:["bath"],description:"shower",category:"Objects"},{emoji:"\u{1F6C1}",names:["bathtub"],tags:[],description:"bathtub",category:"Objects"},{emoji:"\u{1FAA4}",names:["mouse_trap"],tags:[],description:"mouse trap",category:"Objects"},{emoji:"\u{1FA92}",names:["razor"],tags:[],description:"razor",category:"Objects"},{emoji:"\u{1F9F4}",names:["lotion_bottle"],tags:[],description:"lotion bottle",category:"Objects"},{emoji:"\u{1F9F7}",names:["safety_pin"],tags:[],description:"safety pin",category:"Objects"},{emoji:"\u{1F9F9}",names:["broom"],tags:[],description:"broom",category:"Objects"},{emoji:"\u{1F9FA}",names:["basket"],tags:[],description:"basket",category:"Objects"},{emoji:"\u{1F9FB}",names:["roll_of_paper"],tags:["toilet"],description:"roll of paper",category:"Objects"},{emoji:"\u{1FAA3}",names:["bucket"],tags:[],description:"bucket",category:"Objects"},{emoji:"\u{1F9FC}",names:["soap"],tags:[],description:"soap",category:"Objects"},{emoji:"\u{1FAE7}",names:["bubbles"],tags:[],description:"bubbles",category:"Objects"},{emoji:"\u{1FAA5}",names:["toothbrush"],tags:[],description:"toothbrush",category:"Objects"},{emoji:"\u{1F9FD}",names:["sponge"],tags:[],description:"sponge",category:"Objects"},{emoji:"\u{1F9EF}",names:["fire_extinguisher"],tags:[],description:"fire extinguisher",category:"Objects"},{emoji:"\u{1F6D2}",names:["shopping_cart"],tags:[],description:"shopping cart",category:"Objects"},{emoji:"\u{1F6AC}",names:["smoking"],tags:["cigarette"],description:"cigarette",category:"Objects"},{emoji:"\u26B0\uFE0F",names:["coffin"],tags:["funeral"],description:"coffin",category:"Objects"},{emoji:"\u{1FAA6}",names:["headstone"],tags:[],description:"headstone",category:"Objects"},{emoji:"\u26B1\uFE0F",names:["funeral_urn"],tags:[],description:"funeral urn",category:"Objects"},{emoji:"\u{1F9FF}",names:["nazar_amulet"],tags:[],description:"nazar amulet",category:"Objects"},{emoji:"\u{1FAAC}",names:["hamsa"],tags:[],description:"hamsa",category:"Objects"},{emoji:"\u{1F5FF}",names:["moyai"],tags:["stone"],description:"moai",category:"Objects"},{emoji:"\u{1FAA7}",names:["placard"],tags:[],description:"placard",category:"Objects"},{emoji:"\u{1FAAA}",names:["identification_card"],tags:[],description:"identification card",category:"Objects"},{emoji:"\u{1F3E7}",names:["atm"],tags:[],description:"ATM sign",category:"Symbols"},{emoji:"\u{1F6AE}",names:["put_litter_in_its_place"],tags:[],description:"litter in bin sign",category:"Symbols"},{emoji:"\u{1F6B0}",names:["potable_water"],tags:[],description:"potable water",category:"Symbols"},{emoji:"\u267F",names:["wheelchair"],tags:["accessibility"],description:"wheelchair symbol",category:"Symbols"},{emoji:"\u{1F6B9}",names:["mens"],tags:[],description:"men\u2019s room",category:"Symbols"},{emoji:"\u{1F6BA}",names:["womens"],tags:[],description:"women\u2019s room",category:"Symbols"},{emoji:"\u{1F6BB}",names:["restroom"],tags:["toilet"],description:"restroom",category:"Symbols"},{emoji:"\u{1F6BC}",names:["baby_symbol"],tags:[],description:"baby symbol",category:"Symbols"},{emoji:"\u{1F6BE}",names:["wc"],tags:["toilet","restroom"],description:"water closet",category:"Symbols"},{emoji:"\u{1F6C2}",names:["passport_control"],tags:[],description:"passport control",category:"Symbols"},{emoji:"\u{1F6C3}",names:["customs"],tags:[],description:"customs",category:"Symbols"},{emoji:"\u{1F6C4}",names:["baggage_claim"],tags:["airport"],description:"baggage claim",category:"Symbols"},{emoji:"\u{1F6C5}",names:["left_luggage"],tags:[],description:"left luggage",category:"Symbols"},{emoji:"\u26A0\uFE0F",names:["warning"],tags:["wip"],description:"warning",category:"Symbols"},{emoji:"\u{1F6B8}",names:["children_crossing"],tags:[],description:"children crossing",category:"Symbols"},{emoji:"\u26D4",names:["no_entry"],tags:["limit"],description:"no entry",category:"Symbols"},{emoji:"\u{1F6AB}",names:["no_entry_sign"],tags:["block","forbidden"],description:"prohibited",category:"Symbols"},{emoji:"\u{1F6B3}",names:["no_bicycles"],tags:[],description:"no bicycles",category:"Symbols"},{emoji:"\u{1F6AD}",names:["no_smoking"],tags:[],description:"no smoking",category:"Symbols"},{emoji:"\u{1F6AF}",names:["do_not_litter"],tags:[],description:"no littering",category:"Symbols"},{emoji:"\u{1F6B1}",names:["non-potable_water"],tags:[],description:"non-potable water",category:"Symbols"},{emoji:"\u{1F6B7}",names:["no_pedestrians"],tags:[],description:"no pedestrians",category:"Symbols"},{emoji:"\u{1F4F5}",names:["no_mobile_phones"],tags:[],description:"no mobile phones",category:"Symbols"},{emoji:"\u{1F51E}",names:["underage"],tags:[],description:"no one under eighteen",category:"Symbols"},{emoji:"\u2622\uFE0F",names:["radioactive"],tags:[],description:"radioactive",category:"Symbols"},{emoji:"\u2623\uFE0F",names:["biohazard"],tags:[],description:"biohazard",category:"Symbols"},{emoji:"\u2B06\uFE0F",names:["arrow_up"],tags:[],description:"up arrow",category:"Symbols"},{emoji:"\u2197\uFE0F",names:["arrow_upper_right"],tags:[],description:"up-right arrow",category:"Symbols"},{emoji:"\u27A1\uFE0F",names:["arrow_right"],tags:[],description:"right arrow",category:"Symbols"},{emoji:"\u2198\uFE0F",names:["arrow_lower_right"],tags:[],description:"down-right arrow",category:"Symbols"},{emoji:"\u2B07\uFE0F",names:["arrow_down"],tags:[],description:"down arrow",category:"Symbols"},{emoji:"\u2199\uFE0F",names:["arrow_lower_left"],tags:[],description:"down-left arrow",category:"Symbols"},{emoji:"\u2B05\uFE0F",names:["arrow_left"],tags:[],description:"left arrow",category:"Symbols"},{emoji:"\u2196\uFE0F",names:["arrow_upper_left"],tags:[],description:"up-left arrow",category:"Symbols"},{emoji:"\u2195\uFE0F",names:["arrow_up_down"],tags:[],description:"up-down arrow",category:"Symbols"},{emoji:"\u2194\uFE0F",names:["left_right_arrow"],tags:[],description:"left-right arrow",category:"Symbols"},{emoji:"\u21A9\uFE0F",names:["leftwards_arrow_with_hook"],tags:["return"],description:"right arrow curving left",category:"Symbols"},{emoji:"\u21AA\uFE0F",names:["arrow_right_hook"],tags:[],description:"left arrow curving right",category:"Symbols"},{emoji:"\u2934\uFE0F",names:["arrow_heading_up"],tags:[],description:"right arrow curving up",category:"Symbols"},{emoji:"\u2935\uFE0F",names:["arrow_heading_down"],tags:[],description:"right arrow curving down",category:"Symbols"},{emoji:"\u{1F503}",names:["arrows_clockwise"],tags:[],description:"clockwise vertical arrows",category:"Symbols"},{emoji:"\u{1F504}",names:["arrows_counterclockwise"],tags:["sync"],description:"counterclockwise arrows button",category:"Symbols"},{emoji:"\u{1F519}",names:["back"],tags:[],description:"BACK arrow",category:"Symbols"},{emoji:"\u{1F51A}",names:["end"],tags:[],description:"END arrow",category:"Symbols"},{emoji:"\u{1F51B}",names:["on"],tags:[],description:"ON! arrow",category:"Symbols"},{emoji:"\u{1F51C}",names:["soon"],tags:[],description:"SOON arrow",category:"Symbols"},{emoji:"\u{1F51D}",names:["top"],tags:[],description:"TOP arrow",category:"Symbols"},{emoji:"\u{1F6D0}",names:["place_of_worship"],tags:[],description:"place of worship",category:"Symbols"},{emoji:"\u269B\uFE0F",names:["atom_symbol"],tags:[],description:"atom symbol",category:"Symbols"},{emoji:"\u{1F549}\uFE0F",names:["om"],tags:[],description:"om",category:"Symbols"},{emoji:"\u2721\uFE0F",names:["star_of_david"],tags:[],description:"star of David",category:"Symbols"},{emoji:"\u2638\uFE0F",names:["wheel_of_dharma"],tags:[],description:"wheel of dharma",category:"Symbols"},{emoji:"\u262F\uFE0F",names:["yin_yang"],tags:[],description:"yin yang",category:"Symbols"},{emoji:"\u271D\uFE0F",names:["latin_cross"],tags:[],description:"latin cross",category:"Symbols"},{emoji:"\u2626\uFE0F",names:["orthodox_cross"],tags:[],description:"orthodox cross",category:"Symbols"},{emoji:"\u262A\uFE0F",names:["star_and_crescent"],tags:[],description:"star and crescent",category:"Symbols"},{emoji:"\u262E\uFE0F",names:["peace_symbol"],tags:[],description:"peace symbol",category:"Symbols"},{emoji:"\u{1F54E}",names:["menorah"],tags:[],description:"menorah",category:"Symbols"},{emoji:"\u{1F52F}",names:["six_pointed_star"],tags:[],description:"dotted six-pointed star",category:"Symbols"},{emoji:"\u{1FAAF}",names:["khanda"],tags:[],description:"khanda",category:"Symbols"},{emoji:"\u2648",names:["aries"],tags:[],description:"Aries",category:"Symbols"},{emoji:"\u2649",names:["taurus"],tags:[],description:"Taurus",category:"Symbols"},{emoji:"\u264A",names:["gemini"],tags:[],description:"Gemini",category:"Symbols"},{emoji:"\u264B",names:["cancer"],tags:[],description:"Cancer",category:"Symbols"},{emoji:"\u264C",names:["leo"],tags:[],description:"Leo",category:"Symbols"},{emoji:"\u264D",names:["virgo"],tags:[],description:"Virgo",category:"Symbols"},{emoji:"\u264E",names:["libra"],tags:[],description:"Libra",category:"Symbols"},{emoji:"\u264F",names:["scorpius"],tags:[],description:"Scorpio",category:"Symbols"},{emoji:"\u2650",names:["sagittarius"],tags:[],description:"Sagittarius",category:"Symbols"},{emoji:"\u2651",names:["capricorn"],tags:[],description:"Capricorn",category:"Symbols"},{emoji:"\u2652",names:["aquarius"],tags:[],description:"Aquarius",category:"Symbols"},{emoji:"\u2653",names:["pisces"],tags:[],description:"Pisces",category:"Symbols"},{emoji:"\u26CE",names:["ophiuchus"],tags:[],description:"Ophiuchus",category:"Symbols"},{emoji:"\u{1F500}",names:["twisted_rightwards_arrows"],tags:["shuffle"],description:"shuffle tracks button",category:"Symbols"},{emoji:"\u{1F501}",names:["repeat"],tags:["loop"],description:"repeat button",category:"Symbols"},{emoji:"\u{1F502}",names:["repeat_one"],tags:[],description:"repeat single button",category:"Symbols"},{emoji:"\u25B6\uFE0F",names:["arrow_forward"],tags:[],description:"play button",category:"Symbols"},{emoji:"\u23E9",names:["fast_forward"],tags:[],description:"fast-forward button",category:"Symbols"},{emoji:"\u23ED\uFE0F",names:["next_track_button"],tags:[],description:"next track button",category:"Symbols"},{emoji:"\u23EF\uFE0F",names:["play_or_pause_button"],tags:[],description:"play or pause button",category:"Symbols"},{emoji:"\u25C0\uFE0F",names:["arrow_backward"],tags:[],description:"reverse button",category:"Symbols"},{emoji:"\u23EA",names:["rewind"],tags:[],description:"fast reverse button",category:"Symbols"},{emoji:"\u23EE\uFE0F",names:["previous_track_button"],tags:[],description:"last track button",category:"Symbols"},{emoji:"\u{1F53C}",names:["arrow_up_small"],tags:[],description:"upwards button",category:"Symbols"},{emoji:"\u23EB",names:["arrow_double_up"],tags:[],description:"fast up button",category:"Symbols"},{emoji:"\u{1F53D}",names:["arrow_down_small"],tags:[],description:"downwards button",category:"Symbols"},{emoji:"\u23EC",names:["arrow_double_down"],tags:[],description:"fast down button",category:"Symbols"},{emoji:"\u23F8\uFE0F",names:["pause_button"],tags:[],description:"pause button",category:"Symbols"},{emoji:"\u23F9\uFE0F",names:["stop_button"],tags:[],description:"stop button",category:"Symbols"},{emoji:"\u23FA\uFE0F",names:["record_button"],tags:[],description:"record button",category:"Symbols"},{emoji:"\u23CF\uFE0F",names:["eject_button"],tags:[],description:"eject button",category:"Symbols"},{emoji:"\u{1F3A6}",names:["cinema"],tags:["film","movie"],description:"cinema",category:"Symbols"},{emoji:"\u{1F505}",names:["low_brightness"],tags:[],description:"dim button",category:"Symbols"},{emoji:"\u{1F506}",names:["high_brightness"],tags:[],description:"bright button",category:"Symbols"},{emoji:"\u{1F4F6}",names:["signal_strength"],tags:["wifi"],description:"antenna bars",category:"Symbols"},{emoji:"\u{1F6DC}",names:["wireless"],tags:["wifi"],description:"wireless",category:"Symbols"},{emoji:"\u{1F4F3}",names:["vibration_mode"],tags:[],description:"vibration mode",category:"Symbols"},{emoji:"\u{1F4F4}",names:["mobile_phone_off"],tags:["mute","off"],description:"mobile phone off",category:"Symbols"},{emoji:"\u2640\uFE0F",names:["female_sign"],tags:[],description:"female sign",category:"Symbols"},{emoji:"\u2642\uFE0F",names:["male_sign"],tags:[],description:"male sign",category:"Symbols"},{emoji:"\u26A7\uFE0F",names:["transgender_symbol"],tags:[],description:"transgender symbol",category:"Symbols"},{emoji:"\u2716\uFE0F",names:["heavy_multiplication_x"],tags:[],description:"multiply",category:"Symbols"},{emoji:"\u2795",names:["heavy_plus_sign"],tags:[],description:"plus",category:"Symbols"},{emoji:"\u2796",names:["heavy_minus_sign"],tags:[],description:"minus",category:"Symbols"},{emoji:"\u2797",names:["heavy_division_sign"],tags:[],description:"divide",category:"Symbols"},{emoji:"\u{1F7F0}",names:["heavy_equals_sign"],tags:[],description:"heavy equals sign",category:"Symbols"},{emoji:"\u267E\uFE0F",names:["infinity"],tags:[],description:"infinity",category:"Symbols"},{emoji:"\u203C\uFE0F",names:["bangbang"],tags:[],description:"double exclamation mark",category:"Symbols"},{emoji:"\u2049\uFE0F",names:["interrobang"],tags:[],description:"exclamation question mark",category:"Symbols"},{emoji:"\u2753",names:["question"],tags:["confused"],description:"red question mark",category:"Symbols"},{emoji:"\u2754",names:["grey_question"],tags:[],description:"white question mark",category:"Symbols"},{emoji:"\u2755",names:["grey_exclamation"],tags:[],description:"white exclamation mark",category:"Symbols"},{emoji:"\u2757",names:["exclamation","heavy_exclamation_mark"],tags:["bang"],description:"red exclamation mark",category:"Symbols"},{emoji:"\u3030\uFE0F",names:["wavy_dash"],tags:[],description:"wavy dash",category:"Symbols"},{emoji:"\u{1F4B1}",names:["currency_exchange"],tags:[],description:"currency exchange",category:"Symbols"},{emoji:"\u{1F4B2}",names:["heavy_dollar_sign"],tags:[],description:"heavy dollar sign",category:"Symbols"},{emoji:"\u2695\uFE0F",names:["medical_symbol"],tags:[],description:"medical symbol",category:"Symbols"},{emoji:"\u267B\uFE0F",names:["recycle"],tags:["environment","green"],description:"recycling symbol",category:"Symbols"},{emoji:"\u269C\uFE0F",names:["fleur_de_lis"],tags:[],description:"fleur-de-lis",category:"Symbols"},{emoji:"\u{1F531}",names:["trident"],tags:[],description:"trident emblem",category:"Symbols"},{emoji:"\u{1F4DB}",names:["name_badge"],tags:[],description:"name badge",category:"Symbols"},{emoji:"\u{1F530}",names:["beginner"],tags:[],description:"Japanese symbol for beginner",category:"Symbols"},{emoji:"\u2B55",names:["o"],tags:[],description:"hollow red circle",category:"Symbols"},{emoji:"\u2705",names:["white_check_mark"],tags:[],description:"check mark button",category:"Symbols"},{emoji:"\u2611\uFE0F",names:["ballot_box_with_check"],tags:[],description:"check box with check",category:"Symbols"},{emoji:"\u2714\uFE0F",names:["heavy_check_mark"],tags:[],description:"check mark",category:"Symbols"},{emoji:"\u274C",names:["x"],tags:[],description:"cross mark",category:"Symbols"},{emoji:"\u274E",names:["negative_squared_cross_mark"],tags:[],description:"cross mark button",category:"Symbols"},{emoji:"\u27B0",names:["curly_loop"],tags:[],description:"curly loop",category:"Symbols"},{emoji:"\u27BF",names:["loop"],tags:[],description:"double curly loop",category:"Symbols"},{emoji:"\u303D\uFE0F",names:["part_alternation_mark"],tags:[],description:"part alternation mark",category:"Symbols"},{emoji:"\u2733\uFE0F",names:["eight_spoked_asterisk"],tags:[],description:"eight-spoked asterisk",category:"Symbols"},{emoji:"\u2734\uFE0F",names:["eight_pointed_black_star"],tags:[],description:"eight-pointed star",category:"Symbols"},{emoji:"\u2747\uFE0F",names:["sparkle"],tags:[],description:"sparkle",category:"Symbols"},{emoji:"\xA9\uFE0F",names:["copyright"],tags:[],description:"copyright",category:"Symbols"},{emoji:"\xAE\uFE0F",names:["registered"],tags:[],description:"registered",category:"Symbols"},{emoji:"\u2122\uFE0F",names:["tm"],tags:["trademark"],description:"trade mark",category:"Symbols"},{emoji:"#\uFE0F\u20E3",names:["hash"],tags:["number"],description:"keycap: #",category:"Symbols"},{emoji:"*\uFE0F\u20E3",names:["asterisk"],tags:[],description:"keycap: *",category:"Symbols"},{emoji:"0\uFE0F\u20E3",names:["zero"],tags:[],description:"keycap: 0",category:"Symbols"},{emoji:"1\uFE0F\u20E3",names:["one"],tags:[],description:"keycap: 1",category:"Symbols"},{emoji:"2\uFE0F\u20E3",names:["two"],tags:[],description:"keycap: 2",category:"Symbols"},{emoji:"3\uFE0F\u20E3",names:["three"],tags:[],description:"keycap: 3",category:"Symbols"},{emoji:"4\uFE0F\u20E3",names:["four"],tags:[],description:"keycap: 4",category:"Symbols"},{emoji:"5\uFE0F\u20E3",names:["five"],tags:[],description:"keycap: 5",category:"Symbols"},{emoji:"6\uFE0F\u20E3",names:["six"],tags:[],description:"keycap: 6",category:"Symbols"},{emoji:"7\uFE0F\u20E3",names:["seven"],tags:[],description:"keycap: 7",category:"Symbols"},{emoji:"8\uFE0F\u20E3",names:["eight"],tags:[],description:"keycap: 8",category:"Symbols"},{emoji:"9\uFE0F\u20E3",names:["nine"],tags:[],description:"keycap: 9",category:"Symbols"},{emoji:"\u{1F51F}",names:["keycap_ten"],tags:[],description:"keycap: 10",category:"Symbols"},{emoji:"\u{1F520}",names:["capital_abcd"],tags:["letters"],description:"input latin uppercase",category:"Symbols"},{emoji:"\u{1F521}",names:["abcd"],tags:[],description:"input latin lowercase",category:"Symbols"},{emoji:"\u{1F522}",names:["1234"],tags:["numbers"],description:"input numbers",category:"Symbols"},{emoji:"\u{1F523}",names:["symbols"],tags:[],description:"input symbols",category:"Symbols"},{emoji:"\u{1F524}",names:["abc"],tags:["alphabet"],description:"input latin letters",category:"Symbols"},{emoji:"\u{1F170}\uFE0F",names:["a"],tags:[],description:"A button (blood type)",category:"Symbols"},{emoji:"\u{1F18E}",names:["ab"],tags:[],description:"AB button (blood type)",category:"Symbols"},{emoji:"\u{1F171}\uFE0F",names:["b"],tags:[],description:"B button (blood type)",category:"Symbols"},{emoji:"\u{1F191}",names:["cl"],tags:[],description:"CL button",category:"Symbols"},{emoji:"\u{1F192}",names:["cool"],tags:[],description:"COOL button",category:"Symbols"},{emoji:"\u{1F193}",names:["free"],tags:[],description:"FREE button",category:"Symbols"},{emoji:"\u2139\uFE0F",names:["information_source"],tags:[],description:"information",category:"Symbols"},{emoji:"\u{1F194}",names:["id"],tags:[],description:"ID button",category:"Symbols"},{emoji:"\u24C2\uFE0F",names:["m"],tags:[],description:"circled M",category:"Symbols"},{emoji:"\u{1F195}",names:["new"],tags:["fresh"],description:"NEW button",category:"Symbols"},{emoji:"\u{1F196}",names:["ng"],tags:[],description:"NG button",category:"Symbols"},{emoji:"\u{1F17E}\uFE0F",names:["o2"],tags:[],description:"O button (blood type)",category:"Symbols"},{emoji:"\u{1F197}",names:["ok"],tags:["yes"],description:"OK button",category:"Symbols"},{emoji:"\u{1F17F}\uFE0F",names:["parking"],tags:[],description:"P button",category:"Symbols"},{emoji:"\u{1F198}",names:["sos"],tags:["help","emergency"],description:"SOS button",category:"Symbols"},{emoji:"\u{1F199}",names:["up"],tags:[],description:"UP! button",category:"Symbols"},{emoji:"\u{1F19A}",names:["vs"],tags:[],description:"VS button",category:"Symbols"},{emoji:"\u{1F201}",names:["koko"],tags:[],description:"Japanese \u201Chere\u201D button",category:"Symbols"},{emoji:"\u{1F202}\uFE0F",names:["sa"],tags:[],description:"Japanese \u201Cservice charge\u201D button",category:"Symbols"},{emoji:"\u{1F237}\uFE0F",names:["u6708"],tags:[],description:"Japanese \u201Cmonthly amount\u201D button",category:"Symbols"},{emoji:"\u{1F236}",names:["u6709"],tags:[],description:"Japanese \u201Cnot free of charge\u201D button",category:"Symbols"},{emoji:"\u{1F22F}",names:["u6307"],tags:[],description:"Japanese \u201Creserved\u201D button",category:"Symbols"},{emoji:"\u{1F250}",names:["ideograph_advantage"],tags:[],description:"Japanese \u201Cbargain\u201D button",category:"Symbols"},{emoji:"\u{1F239}",names:["u5272"],tags:[],description:"Japanese \u201Cdiscount\u201D button",category:"Symbols"},{emoji:"\u{1F21A}",names:["u7121"],tags:[],description:"Japanese \u201Cfree of charge\u201D button",category:"Symbols"},{emoji:"\u{1F232}",names:["u7981"],tags:[],description:"Japanese \u201Cprohibited\u201D button",category:"Symbols"},{emoji:"\u{1F251}",names:["accept"],tags:[],description:"Japanese \u201Cacceptable\u201D button",category:"Symbols"},{emoji:"\u{1F238}",names:["u7533"],tags:[],description:"Japanese \u201Capplication\u201D button",category:"Symbols"},{emoji:"\u{1F234}",names:["u5408"],tags:[],description:"Japanese \u201Cpassing grade\u201D button",category:"Symbols"},{emoji:"\u{1F233}",names:["u7a7a"],tags:[],description:"Japanese \u201Cvacancy\u201D button",category:"Symbols"},{emoji:"\u3297\uFE0F",names:["congratulations"],tags:[],description:"Japanese \u201Ccongratulations\u201D button",category:"Symbols"},{emoji:"\u3299\uFE0F",names:["secret"],tags:[],description:"Japanese \u201Csecret\u201D button",category:"Symbols"},{emoji:"\u{1F23A}",names:["u55b6"],tags:[],description:"Japanese \u201Copen for business\u201D button",category:"Symbols"},{emoji:"\u{1F235}",names:["u6e80"],tags:[],description:"Japanese \u201Cno vacancy\u201D button",category:"Symbols"},{emoji:"\u{1F534}",names:["red_circle"],tags:[],description:"red circle",category:"Symbols"},{emoji:"\u{1F7E0}",names:["orange_circle"],tags:[],description:"orange circle",category:"Symbols"},{emoji:"\u{1F7E1}",names:["yellow_circle"],tags:[],description:"yellow circle",category:"Symbols"},{emoji:"\u{1F7E2}",names:["green_circle"],tags:[],description:"green circle",category:"Symbols"},{emoji:"\u{1F535}",names:["large_blue_circle"],tags:[],description:"blue circle",category:"Symbols"},{emoji:"\u{1F7E3}",names:["purple_circle"],tags:[],description:"purple circle",category:"Symbols"},{emoji:"\u{1F7E4}",names:["brown_circle"],tags:[],description:"brown circle",category:"Symbols"},{emoji:"\u26AB",names:["black_circle"],tags:[],description:"black circle",category:"Symbols"},{emoji:"\u26AA",names:["white_circle"],tags:[],description:"white circle",category:"Symbols"},{emoji:"\u{1F7E5}",names:["red_square"],tags:[],description:"red square",category:"Symbols"},{emoji:"\u{1F7E7}",names:["orange_square"],tags:[],description:"orange square",category:"Symbols"},{emoji:"\u{1F7E8}",names:["yellow_square"],tags:[],description:"yellow square",category:"Symbols"},{emoji:"\u{1F7E9}",names:["green_square"],tags:[],description:"green square",category:"Symbols"},{emoji:"\u{1F7E6}",names:["blue_square"],tags:[],description:"blue square",category:"Symbols"},{emoji:"\u{1F7EA}",names:["purple_square"],tags:[],description:"purple square",category:"Symbols"},{emoji:"\u{1F7EB}",names:["brown_square"],tags:[],description:"brown square",category:"Symbols"},{emoji:"\u2B1B",names:["black_large_square"],tags:[],description:"black large square",category:"Symbols"},{emoji:"\u2B1C",names:["white_large_square"],tags:[],description:"white large square",category:"Symbols"},{emoji:"\u25FC\uFE0F",names:["black_medium_square"],tags:[],description:"black medium square",category:"Symbols"},{emoji:"\u25FB\uFE0F",names:["white_medium_square"],tags:[],description:"white medium square",category:"Symbols"},{emoji:"\u25FE",names:["black_medium_small_square"],tags:[],description:"black medium-small square",category:"Symbols"},{emoji:"\u25FD",names:["white_medium_small_square"],tags:[],description:"white medium-small square",category:"Symbols"},{emoji:"\u25AA\uFE0F",names:["black_small_square"],tags:[],description:"black small square",category:"Symbols"},{emoji:"\u25AB\uFE0F",names:["white_small_square"],tags:[],description:"white small square",category:"Symbols"},{emoji:"\u{1F536}",names:["large_orange_diamond"],tags:[],description:"large orange diamond",category:"Symbols"},{emoji:"\u{1F537}",names:["large_blue_diamond"],tags:[],description:"large blue diamond",category:"Symbols"},{emoji:"\u{1F538}",names:["small_orange_diamond"],tags:[],description:"small orange diamond",category:"Symbols"},{emoji:"\u{1F539}",names:["small_blue_diamond"],tags:[],description:"small blue diamond",category:"Symbols"},{emoji:"\u{1F53A}",names:["small_red_triangle"],tags:[],description:"red triangle pointed up",category:"Symbols"},{emoji:"\u{1F53B}",names:["small_red_triangle_down"],tags:[],description:"red triangle pointed down",category:"Symbols"},{emoji:"\u{1F4A0}",names:["diamond_shape_with_a_dot_inside"],tags:[],description:"diamond with a dot",category:"Symbols"},{emoji:"\u{1F518}",names:["radio_button"],tags:[],description:"radio button",category:"Symbols"},{emoji:"\u{1F533}",names:["white_square_button"],tags:[],description:"white square button",category:"Symbols"},{emoji:"\u{1F532}",names:["black_square_button"],tags:[],description:"black square button",category:"Symbols"},{emoji:"\u{1F3C1}",names:["checkered_flag"],tags:["milestone","finish"],description:"chequered flag",category:"Flags"},{emoji:"\u{1F6A9}",names:["triangular_flag_on_post"],tags:[],description:"triangular flag",category:"Flags"},{emoji:"\u{1F38C}",names:["crossed_flags"],tags:[],description:"crossed flags",category:"Flags"},{emoji:"\u{1F3F4}",names:["black_flag"],tags:[],description:"black flag",category:"Flags"},{emoji:"\u{1F3F3}\uFE0F",names:["white_flag"],tags:[],description:"white flag",category:"Flags"},{emoji:"\u{1F3F3}\uFE0F\u200D\u{1F308}",names:["rainbow_flag"],tags:["pride"],description:"rainbow flag",category:"Flags"},{emoji:"\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F",names:["transgender_flag"],tags:[],description:"transgender flag",category:"Flags"},{emoji:"\u{1F3F4}\u200D\u2620\uFE0F",names:["pirate_flag"],tags:[],description:"pirate flag",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1E8}",names:["ascension_island"],tags:[],description:"flag: Ascension Island",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1E9}",names:["andorra"],tags:[],description:"flag: Andorra",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EA}",names:["united_arab_emirates"],tags:[],description:"flag: United Arab Emirates",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EB}",names:["afghanistan"],tags:[],description:"flag: Afghanistan",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EC}",names:["antigua_barbuda"],tags:[],description:"flag: Antigua & Barbuda",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EE}",names:["anguilla"],tags:[],description:"flag: Anguilla",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F1}",names:["albania"],tags:[],description:"flag: Albania",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F2}",names:["armenia"],tags:[],description:"flag: Armenia",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F4}",names:["angola"],tags:[],description:"flag: Angola",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F6}",names:["antarctica"],tags:[],description:"flag: Antarctica",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F7}",names:["argentina"],tags:[],description:"flag: Argentina",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F8}",names:["american_samoa"],tags:[],description:"flag: American Samoa",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F9}",names:["austria"],tags:[],description:"flag: Austria",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FA}",names:["australia"],tags:[],description:"flag: Australia",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FC}",names:["aruba"],tags:[],description:"flag: Aruba",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FD}",names:["aland_islands"],tags:[],description:"flag: \xC5land Islands",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FF}",names:["azerbaijan"],tags:[],description:"flag: Azerbaijan",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1E6}",names:["bosnia_herzegovina"],tags:[],description:"flag: Bosnia & Herzegovina",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1E7}",names:["barbados"],tags:[],description:"flag: Barbados",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1E9}",names:["bangladesh"],tags:[],description:"flag: Bangladesh",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EA}",names:["belgium"],tags:[],description:"flag: Belgium",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EB}",names:["burkina_faso"],tags:[],description:"flag: Burkina Faso",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EC}",names:["bulgaria"],tags:[],description:"flag: Bulgaria",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1ED}",names:["bahrain"],tags:[],description:"flag: Bahrain",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EE}",names:["burundi"],tags:[],description:"flag: Burundi",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EF}",names:["benin"],tags:[],description:"flag: Benin",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F1}",names:["st_barthelemy"],tags:[],description:"flag: St. Barth\xE9lemy",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F2}",names:["bermuda"],tags:[],description:"flag: Bermuda",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F3}",names:["brunei"],tags:[],description:"flag: Brunei",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F4}",names:["bolivia"],tags:[],description:"flag: Bolivia",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F6}",names:["caribbean_netherlands"],tags:[],description:"flag: Caribbean Netherlands",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F7}",names:["brazil"],tags:[],description:"flag: Brazil",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F8}",names:["bahamas"],tags:[],description:"flag: Bahamas",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F9}",names:["bhutan"],tags:[],description:"flag: Bhutan",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FB}",names:["bouvet_island"],tags:[],description:"flag: Bouvet Island",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FC}",names:["botswana"],tags:[],description:"flag: Botswana",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FE}",names:["belarus"],tags:[],description:"flag: Belarus",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FF}",names:["belize"],tags:[],description:"flag: Belize",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1E6}",names:["canada"],tags:[],description:"flag: Canada",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1E8}",names:["cocos_islands"],tags:["keeling"],description:"flag: Cocos (Keeling) Islands",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1E9}",names:["congo_kinshasa"],tags:[],description:"flag: Congo - Kinshasa",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1EB}",names:["central_african_republic"],tags:[],description:"flag: Central African Republic",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1EC}",names:["congo_brazzaville"],tags:[],description:"flag: Congo - Brazzaville",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1ED}",names:["switzerland"],tags:[],description:"flag: Switzerland",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1EE}",names:["cote_divoire"],tags:["ivory"],description:"flag: C\xF4te d\u2019Ivoire",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F0}",names:["cook_islands"],tags:[],description:"flag: Cook Islands",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F1}",names:["chile"],tags:[],description:"flag: Chile",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F2}",names:["cameroon"],tags:[],description:"flag: Cameroon",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F3}",names:["cn"],tags:["china"],description:"flag: China",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F4}",names:["colombia"],tags:[],description:"flag: Colombia",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F5}",names:["clipperton_island"],tags:[],description:"flag: Clipperton Island",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F7}",names:["costa_rica"],tags:[],description:"flag: Costa Rica",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FA}",names:["cuba"],tags:[],description:"flag: Cuba",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FB}",names:["cape_verde"],tags:[],description:"flag: Cape Verde",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FC}",names:["curacao"],tags:[],description:"flag: Cura\xE7ao",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FD}",names:["christmas_island"],tags:[],description:"flag: Christmas Island",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FE}",names:["cyprus"],tags:[],description:"flag: Cyprus",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FF}",names:["czech_republic"],tags:[],description:"flag: Czechia",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1EA}",names:["de"],tags:["flag","germany"],description:"flag: Germany",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1EC}",names:["diego_garcia"],tags:[],description:"flag: Diego Garcia",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1EF}",names:["djibouti"],tags:[],description:"flag: Djibouti",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1F0}",names:["denmark"],tags:[],description:"flag: Denmark",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1F2}",names:["dominica"],tags:[],description:"flag: Dominica",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1F4}",names:["dominican_republic"],tags:[],description:"flag: Dominican Republic",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1FF}",names:["algeria"],tags:[],description:"flag: Algeria",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1E6}",names:["ceuta_melilla"],tags:[],description:"flag: Ceuta & Melilla",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1E8}",names:["ecuador"],tags:[],description:"flag: Ecuador",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1EA}",names:["estonia"],tags:[],description:"flag: Estonia",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1EC}",names:["egypt"],tags:[],description:"flag: Egypt",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1ED}",names:["western_sahara"],tags:[],description:"flag: Western Sahara",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1F7}",names:["eritrea"],tags:[],description:"flag: Eritrea",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1F8}",names:["es"],tags:["spain"],description:"flag: Spain",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1F9}",names:["ethiopia"],tags:[],description:"flag: Ethiopia",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1FA}",names:["eu","european_union"],tags:[],description:"flag: European Union",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1EE}",names:["finland"],tags:[],description:"flag: Finland",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1EF}",names:["fiji"],tags:[],description:"flag: Fiji",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F0}",names:["falkland_islands"],tags:[],description:"flag: Falkland Islands",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F2}",names:["micronesia"],tags:[],description:"flag: Micronesia",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F4}",names:["faroe_islands"],tags:[],description:"flag: Faroe Islands",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F7}",names:["fr"],tags:["france","french"],description:"flag: France",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1E6}",names:["gabon"],tags:[],description:"flag: Gabon",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1E7}",names:["gb","uk"],tags:["flag","british"],description:"flag: United Kingdom",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1E9}",names:["grenada"],tags:[],description:"flag: Grenada",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EA}",names:["georgia"],tags:[],description:"flag: Georgia",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EB}",names:["french_guiana"],tags:[],description:"flag: French Guiana",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EC}",names:["guernsey"],tags:[],description:"flag: Guernsey",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1ED}",names:["ghana"],tags:[],description:"flag: Ghana",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EE}",names:["gibraltar"],tags:[],description:"flag: Gibraltar",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F1}",names:["greenland"],tags:[],description:"flag: Greenland",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F2}",names:["gambia"],tags:[],description:"flag: Gambia",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F3}",names:["guinea"],tags:[],description:"flag: Guinea",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F5}",names:["guadeloupe"],tags:[],description:"flag: Guadeloupe",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F6}",names:["equatorial_guinea"],tags:[],description:"flag: Equatorial Guinea",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F7}",names:["greece"],tags:[],description:"flag: Greece",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F8}",names:["south_georgia_south_sandwich_islands"],tags:[],description:"flag: South Georgia & South Sandwich Islands",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F9}",names:["guatemala"],tags:[],description:"flag: Guatemala",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1FA}",names:["guam"],tags:[],description:"flag: Guam",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1FC}",names:["guinea_bissau"],tags:[],description:"flag: Guinea-Bissau",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1FE}",names:["guyana"],tags:[],description:"flag: Guyana",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F0}",names:["hong_kong"],tags:[],description:"flag: Hong Kong SAR China",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F2}",names:["heard_mcdonald_islands"],tags:[],description:"flag: Heard & McDonald Islands",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F3}",names:["honduras"],tags:[],description:"flag: Honduras",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F7}",names:["croatia"],tags:[],description:"flag: Croatia",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F9}",names:["haiti"],tags:[],description:"flag: Haiti",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1FA}",names:["hungary"],tags:[],description:"flag: Hungary",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1E8}",names:["canary_islands"],tags:[],description:"flag: Canary Islands",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1E9}",names:["indonesia"],tags:[],description:"flag: Indonesia",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1EA}",names:["ireland"],tags:[],description:"flag: Ireland",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F1}",names:["israel"],tags:[],description:"flag: Israel",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F2}",names:["isle_of_man"],tags:[],description:"flag: Isle of Man",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F3}",names:["india"],tags:[],description:"flag: India",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F4}",names:["british_indian_ocean_territory"],tags:[],description:"flag: British Indian Ocean Territory",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F6}",names:["iraq"],tags:[],description:"flag: Iraq",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F7}",names:["iran"],tags:[],description:"flag: Iran",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F8}",names:["iceland"],tags:[],description:"flag: Iceland",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F9}",names:["it"],tags:["italy"],description:"flag: Italy",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1EA}",names:["jersey"],tags:[],description:"flag: Jersey",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1F2}",names:["jamaica"],tags:[],description:"flag: Jamaica",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1F4}",names:["jordan"],tags:[],description:"flag: Jordan",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1F5}",names:["jp"],tags:["japan"],description:"flag: Japan",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1EA}",names:["kenya"],tags:[],description:"flag: Kenya",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1EC}",names:["kyrgyzstan"],tags:[],description:"flag: Kyrgyzstan",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1ED}",names:["cambodia"],tags:[],description:"flag: Cambodia",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1EE}",names:["kiribati"],tags:[],description:"flag: Kiribati",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F2}",names:["comoros"],tags:[],description:"flag: Comoros",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F3}",names:["st_kitts_nevis"],tags:[],description:"flag: St. Kitts & Nevis",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F5}",names:["north_korea"],tags:[],description:"flag: North Korea",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F7}",names:["kr"],tags:["korea"],description:"flag: South Korea",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1FC}",names:["kuwait"],tags:[],description:"flag: Kuwait",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1FE}",names:["cayman_islands"],tags:[],description:"flag: Cayman Islands",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1FF}",names:["kazakhstan"],tags:[],description:"flag: Kazakhstan",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1E6}",names:["laos"],tags:[],description:"flag: Laos",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1E7}",names:["lebanon"],tags:[],description:"flag: Lebanon",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1E8}",names:["st_lucia"],tags:[],description:"flag: St. Lucia",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1EE}",names:["liechtenstein"],tags:[],description:"flag: Liechtenstein",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F0}",names:["sri_lanka"],tags:[],description:"flag: Sri Lanka",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F7}",names:["liberia"],tags:[],description:"flag: Liberia",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F8}",names:["lesotho"],tags:[],description:"flag: Lesotho",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F9}",names:["lithuania"],tags:[],description:"flag: Lithuania",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1FA}",names:["luxembourg"],tags:[],description:"flag: Luxembourg",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1FB}",names:["latvia"],tags:[],description:"flag: Latvia",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1FE}",names:["libya"],tags:[],description:"flag: Libya",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1E6}",names:["morocco"],tags:[],description:"flag: Morocco",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1E8}",names:["monaco"],tags:[],description:"flag: Monaco",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1E9}",names:["moldova"],tags:[],description:"flag: Moldova",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1EA}",names:["montenegro"],tags:[],description:"flag: Montenegro",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1EB}",names:["st_martin"],tags:[],description:"flag: St. Martin",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1EC}",names:["madagascar"],tags:[],description:"flag: Madagascar",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1ED}",names:["marshall_islands"],tags:[],description:"flag: Marshall Islands",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F0}",names:["macedonia"],tags:[],description:"flag: North Macedonia",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F1}",names:["mali"],tags:[],description:"flag: Mali",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F2}",names:["myanmar"],tags:["burma"],description:"flag: Myanmar (Burma)",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F3}",names:["mongolia"],tags:[],description:"flag: Mongolia",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F4}",names:["macau"],tags:[],description:"flag: Macao SAR China",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F5}",names:["northern_mariana_islands"],tags:[],description:"flag: Northern Mariana Islands",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F6}",names:["martinique"],tags:[],description:"flag: Martinique",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F7}",names:["mauritania"],tags:[],description:"flag: Mauritania",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F8}",names:["montserrat"],tags:[],description:"flag: Montserrat",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F9}",names:["malta"],tags:[],description:"flag: Malta",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FA}",names:["mauritius"],tags:[],description:"flag: Mauritius",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FB}",names:["maldives"],tags:[],description:"flag: Maldives",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FC}",names:["malawi"],tags:[],description:"flag: Malawi",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FD}",names:["mexico"],tags:[],description:"flag: Mexico",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FE}",names:["malaysia"],tags:[],description:"flag: Malaysia",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FF}",names:["mozambique"],tags:[],description:"flag: Mozambique",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1E6}",names:["namibia"],tags:[],description:"flag: Namibia",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1E8}",names:["new_caledonia"],tags:[],description:"flag: New Caledonia",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EA}",names:["niger"],tags:[],description:"flag: Niger",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EB}",names:["norfolk_island"],tags:[],description:"flag: Norfolk Island",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EC}",names:["nigeria"],tags:[],description:"flag: Nigeria",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EE}",names:["nicaragua"],tags:[],description:"flag: Nicaragua",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F1}",names:["netherlands"],tags:[],description:"flag: Netherlands",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F4}",names:["norway"],tags:[],description:"flag: Norway",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F5}",names:["nepal"],tags:[],description:"flag: Nepal",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F7}",names:["nauru"],tags:[],description:"flag: Nauru",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1FA}",names:["niue"],tags:[],description:"flag: Niue",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1FF}",names:["new_zealand"],tags:[],description:"flag: New Zealand",category:"Flags"},{emoji:"\u{1F1F4}\u{1F1F2}",names:["oman"],tags:[],description:"flag: Oman",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1E6}",names:["panama"],tags:[],description:"flag: Panama",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1EA}",names:["peru"],tags:[],description:"flag: Peru",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1EB}",names:["french_polynesia"],tags:[],description:"flag: French Polynesia",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1EC}",names:["papua_new_guinea"],tags:[],description:"flag: Papua New Guinea",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1ED}",names:["philippines"],tags:[],description:"flag: Philippines",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F0}",names:["pakistan"],tags:[],description:"flag: Pakistan",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F1}",names:["poland"],tags:[],description:"flag: Poland",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F2}",names:["st_pierre_miquelon"],tags:[],description:"flag: St. Pierre & Miquelon",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F3}",names:["pitcairn_islands"],tags:[],description:"flag: Pitcairn Islands",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F7}",names:["puerto_rico"],tags:[],description:"flag: Puerto Rico",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F8}",names:["palestinian_territories"],tags:[],description:"flag: Palestinian Territories",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F9}",names:["portugal"],tags:[],description:"flag: Portugal",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1FC}",names:["palau"],tags:[],description:"flag: Palau",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1FE}",names:["paraguay"],tags:[],description:"flag: Paraguay",category:"Flags"},{emoji:"\u{1F1F6}\u{1F1E6}",names:["qatar"],tags:[],description:"flag: Qatar",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1EA}",names:["reunion"],tags:[],description:"flag: R\xE9union",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1F4}",names:["romania"],tags:[],description:"flag: Romania",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1F8}",names:["serbia"],tags:[],description:"flag: Serbia",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1FA}",names:["ru"],tags:["russia"],description:"flag: Russia",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1FC}",names:["rwanda"],tags:[],description:"flag: Rwanda",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E6}",names:["saudi_arabia"],tags:[],description:"flag: Saudi Arabia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E7}",names:["solomon_islands"],tags:[],description:"flag: Solomon Islands",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E8}",names:["seychelles"],tags:[],description:"flag: Seychelles",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E9}",names:["sudan"],tags:[],description:"flag: Sudan",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EA}",names:["sweden"],tags:[],description:"flag: Sweden",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EC}",names:["singapore"],tags:[],description:"flag: Singapore",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1ED}",names:["st_helena"],tags:[],description:"flag: St. Helena",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EE}",names:["slovenia"],tags:[],description:"flag: Slovenia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EF}",names:["svalbard_jan_mayen"],tags:[],description:"flag: Svalbard & Jan Mayen",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F0}",names:["slovakia"],tags:[],description:"flag: Slovakia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F1}",names:["sierra_leone"],tags:[],description:"flag: Sierra Leone",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F2}",names:["san_marino"],tags:[],description:"flag: San Marino",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F3}",names:["senegal"],tags:[],description:"flag: Senegal",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F4}",names:["somalia"],tags:[],description:"flag: Somalia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F7}",names:["suriname"],tags:[],description:"flag: Suriname",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F8}",names:["south_sudan"],tags:[],description:"flag: South Sudan",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F9}",names:["sao_tome_principe"],tags:[],description:"flag: S\xE3o Tom\xE9 & Pr\xEDncipe",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FB}",names:["el_salvador"],tags:[],description:"flag: El Salvador",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FD}",names:["sint_maarten"],tags:[],description:"flag: Sint Maarten",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FE}",names:["syria"],tags:[],description:"flag: Syria",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FF}",names:["swaziland"],tags:[],description:"flag: Eswatini",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1E6}",names:["tristan_da_cunha"],tags:[],description:"flag: Tristan da Cunha",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1E8}",names:["turks_caicos_islands"],tags:[],description:"flag: Turks & Caicos Islands",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1E9}",names:["chad"],tags:[],description:"flag: Chad",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1EB}",names:["french_southern_territories"],tags:[],description:"flag: French Southern Territories",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1EC}",names:["togo"],tags:[],description:"flag: Togo",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1ED}",names:["thailand"],tags:[],description:"flag: Thailand",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1EF}",names:["tajikistan"],tags:[],description:"flag: Tajikistan",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F0}",names:["tokelau"],tags:[],description:"flag: Tokelau",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F1}",names:["timor_leste"],tags:[],description:"flag: Timor-Leste",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F2}",names:["turkmenistan"],tags:[],description:"flag: Turkmenistan",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F3}",names:["tunisia"],tags:[],description:"flag: Tunisia",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F4}",names:["tonga"],tags:[],description:"flag: Tonga",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F7}",names:["tr"],tags:["turkey"],description:"flag: Turkey",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F9}",names:["trinidad_tobago"],tags:[],description:"flag: Trinidad & Tobago",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1FB}",names:["tuvalu"],tags:[],description:"flag: Tuvalu",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1FC}",names:["taiwan"],tags:[],description:"flag: Taiwan",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1FF}",names:["tanzania"],tags:[],description:"flag: Tanzania",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1E6}",names:["ukraine"],tags:[],description:"flag: Ukraine",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1EC}",names:["uganda"],tags:[],description:"flag: Uganda",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1F2}",names:["us_outlying_islands"],tags:[],description:"flag: U.S. Outlying Islands",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1F3}",names:["united_nations"],tags:[],description:"flag: United Nations",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1F8}",names:["us"],tags:["flag","united","america"],description:"flag: United States",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1FE}",names:["uruguay"],tags:[],description:"flag: Uruguay",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1FF}",names:["uzbekistan"],tags:[],description:"flag: Uzbekistan",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1E6}",names:["vatican_city"],tags:[],description:"flag: Vatican City",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1E8}",names:["st_vincent_grenadines"],tags:[],description:"flag: St. Vincent & Grenadines",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1EA}",names:["venezuela"],tags:[],description:"flag: Venezuela",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1EC}",names:["british_virgin_islands"],tags:[],description:"flag: British Virgin Islands",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1EE}",names:["us_virgin_islands"],tags:[],description:"flag: U.S. Virgin Islands",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1F3}",names:["vietnam"],tags:[],description:"flag: Vietnam",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1FA}",names:["vanuatu"],tags:[],description:"flag: Vanuatu",category:"Flags"},{emoji:"\u{1F1FC}\u{1F1EB}",names:["wallis_futuna"],tags:[],description:"flag: Wallis & Futuna",category:"Flags"},{emoji:"\u{1F1FC}\u{1F1F8}",names:["samoa"],tags:[],description:"flag: Samoa",category:"Flags"},{emoji:"\u{1F1FD}\u{1F1F0}",names:["kosovo"],tags:[],description:"flag: Kosovo",category:"Flags"},{emoji:"\u{1F1FE}\u{1F1EA}",names:["yemen"],tags:[],description:"flag: Yemen",category:"Flags"},{emoji:"\u{1F1FE}\u{1F1F9}",names:["mayotte"],tags:[],description:"flag: Mayotte",category:"Flags"},{emoji:"\u{1F1FF}\u{1F1E6}",names:["south_africa"],tags:[],description:"flag: South Africa",category:"Flags"},{emoji:"\u{1F1FF}\u{1F1F2}",names:["zambia"],tags:[],description:"flag: Zambia",category:"Flags"},{emoji:"\u{1F1FF}\u{1F1FC}",names:["zimbabwe"],tags:[],description:"flag: Zimbabwe",category:"Flags"},{emoji:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}",names:["england"],tags:[],description:"flag: England",category:"Flags"},{emoji:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}",names:["scotland"],tags:[],description:"flag: Scotland",category:"Flags"},{emoji:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}",names:["wales"],tags:[],description:"flag: Wales",category:"Flags"}];var Gve=()=>["bg-gray-200","dark:bg-gray-500"],Yve=()=>[];function Kve(t,e){if(t&1){let n=Fr();H(0,"li",1),we("mousemove",function(){let o=un(n).$index,a=Qe();return fn(a.selected=o)})("mousedown",function(){un(n);let i=Qe();return fn(i.action(i.onPick))}),Se(1),Y()}if(t&2){let n=e.$implicit,r=e.$index,i=Qe();sr(i.selected===r?tr(4,Gve):tr(5,Yve)),se(1),g2(" ",n.emoji," :",n.names[0],": ")}}var oG=(()=>{let e=class e extends iC{get pluginView(){let r=/:(?<search>\S+)/,i=this;return new Sp({content:this.el.nativeElement,debounce:50,trigger:this.trigger,shouldShow(o){let a=this.getContent(o);if(!a)return i.search="",!1;let s=a.match(r);if(!s)return i.search="",!1;let l=s.groups.search;return z6.findIndex(d=>d.names.some(u=>u.includes(l)))<0?(i.search="",!1):(i.search=l,i.selected=0,i.list=i.emojis,!0)},tippyOptions:{onShow:()=>{this.opened=!0,this.root.addEventListener("keydown",this.eventListener)},onHide:()=>{this.selected=0,this.opened=!1,this.root.removeEventListener("keydown",this.eventListener)}}})}get emojis(){return this.search.length===0?[]:z6.filter(r=>r.names.some(i=>i.includes(this.search))).slice(0,10)}get onPick(){return r=>{let i=this.emojis[this.selected];if(!i)return;let o=r.get(wn),{state:a}=o,{selection:s}=a;o.dispatch(o.state.tr.delete(s.from-this.search.length-1,s.from).insertText(i.emoji))}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["emoji-menu"]],standalone:!0,features:[ke,He],decls:3,vars:0,consts:[[1,"m-0","w-96","list-none","rounded","bg-gray-50","shadow-lg","ring-2","dark:bg-gray-900"],[1,"cursor-pointer","px-6","py-3",3,"mousemove","mousedown"],["class","cursor-pointer px-6 py-3",3,"class"]],template:function(i,o){i&1&&(H(0,"ul",0),kr(1,Kve,2,6,"li",2,Oi),Y()),i&2&&(se(1),xr(o.list))},encapsulation:2});let t=e;return t})();var aG=(()=>{let e=class e extends Wp{constructor(){super(...arguments),this.src="",this.alt="",this.title="",this.temp=""}onChange(r,i){return this.temp!==this[r]?(this.action(o=>{o.get(nt).call(Sk.key,{[r]:this[r]})}),!0):(i.preventDefault(),!1)}get pluginView(){return new rs({content:this.container,tippyOptions:{zIndex:9999,appendTo:document.body},shouldShow:r=>{let{selection:i}=r.state,{empty:o,from:a}=i,s=r.state.doc.nodeAt(i.from),{src:l,alt:c,title:d}=s?.attrs??{};this.src=l,this.alt=c,this.title=d;let u=this.container.contains(document.activeElement),f=!r.hasFocus()&&!u,h=!r.editable;return f||o||h?!1:i instanceof Le&&r.state.doc.nodeAt(a)?.type.name==="image"}})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["image-tooltip"]],standalone:!0,features:[ke,He],decls:13,vars:3,consts:[[1,"flex","w-96","flex-col","gap-2","rounded","border-gray-300","bg-white","p-4","shadow","ring","dark:border-gray-600","dark:bg-black"],[1,"flex","flex-row","items-center","justify-center","gap-4"],[1,"w-10"],["type","text",1,"mt-1","block","w-full","rounded-md","bg-gray-300","shadow-sm","focus:border-indigo-300","focus:ring","focus:ring-indigo-200/50","dark:bg-gray-600",3,"ngModel","ngModelChange","focus","blur"]],template:function(i,o){i&1&&(H(0,"div",0)(1,"label",1)(2,"span",2),Se(3,"Link"),Y(),H(4,"input",3),we("ngModelChange",function(s){return o.src=s})("focus",function(){return o.temp=o.src})("blur",function(s){return o.onChange("src",s)}),Y()(),H(5,"label",1)(6,"span",2),Se(7,"Alt"),Y(),H(8,"input",3),we("ngModelChange",function(s){return o.alt=s})("focus",function(){return o.temp=o.alt})("blur",function(s){return o.onChange("alt",s)}),Y()(),H(9,"label",1)(10,"span",2),Se(11,"Title"),Y(),H(12,"input",3),we("ngModelChange",function(s){return o.title=s})("focus",function(){return o.temp=o.title})("blur",function(s){return o.onChange("title",s)}),Y()()()),i&2&&(se(4),Me("ngModel",o.src),se(4),Me("ngModel",o.alt),se(4),Me("ngModel",o.title))},dependencies:[ro,Mo,no,Pi]});let t=e;return t})();var lm=(()=>{let e=class e{constructor(r){this.el=r,this.onUpdate=new Xe}get context(){return this.provider?.service?.widgetViewContext?.[this.key]}get view(){return this.provider?.service?.widgetViewContext?.[this.key]?.view}get getPos(){return this.provider.service.widgetViewContext?.[this.key]?.getPos}get spec(){return this.provider.service.widgetViewContext?.[this.key]?.spec}get container(){return this.el.nativeElement}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["ng-prosemirror-widget"]],inputs:{key:"key",provider:"provider"},standalone:!0});let t=e;return t})();var sG=(()=>{let e=class e extends lm{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["link-widget-before"]],standalone:!0,features:[ke,He],decls:1,vars:0,template:function(i,o){i&1&&Se(0,"[")},encapsulation:2});let t=e;return t})();var lG=(()=>{let e=class e extends lm{constructor(r){super(r),this.el=r,this.href="",this.title="",this.onUpdate.subscribe(i=>{this.href=this.spec?.href||"",this.title=this.spec?.title||""})}get action(){return oi(this.provider.editor)}onHrefBlur(r){this.action(i=>{i.get(nt).call(H0.key,{href:r.target.value||""})})}onTitleBlur(r){this.action(i=>{i.get(nt).call(H0.key,{title:r.target.value||""})})}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275cmp=De({type:e,selectors:[["link-widget-after"]],standalone:!0,features:[ke,He],decls:16,vars:6,consts:[["target","_blank",1,"text-blue-500","underline",3,"href"],[1,"material-symbols-outlined","text-nord-10","dark:text-nord-9",2,"vertical-align","middle"],[1,"font-light","text-nord8"],["placeholder","empty","type","text",1,"rounded","border-none","bg-gray-50","py-0","px-2","ring-1","dark:bg-gray-900",3,"size","ngModel","blur","ngModelChange"]],template:function(i,o){i&1&&(H(0,"span"),Se(1,"]("),H(2,"a",0)(3,"span",1),Se(4,"link"),Y(),Se(5),Y(),Se(6," \xA0 "),H(7,"small",2),Se(8,"link: "),Y(),H(9,"input",3),we("blur",function(s){return o.onHrefBlur(s)})("ngModelChange",function(s){return o.href=s}),Y(),Se(10," \xA0 "),H(11,"small",2),Se(12,"title: "),Y(),Se(13,' " '),H(14,"input",3),we("blur",function(s){return o.onTitleBlur(s)})("ngModelChange",function(s){return o.title=s}),Y(),Se(15,' ")'),Y()),i&2&&(se(2),hg("href",o.href,Dd),se(3),la(" ",o.title||o.href||"empty"," "),se(4),Me("size",o.href.length||5)("ngModel",o.href),se(5),Me("size",o.title.length||5)("ngModel",o.title))},dependencies:[ro,Mo,no,Pi],encapsulation:2});let t=e;return t})();function cG(t){return $t(()=>new Be({state:{init(){return Et.empty},apply(e){let{selection:n}=e,{$from:r,$to:i}=n,o=e.doc.nodeAt(n.from),a=o?.marks.find(d=>d.type.name==="link");if(!a)return Et.empty;let s={start:-1,end:-1};e.doc.nodesBetween(r.start(),i.end(),(d,u)=>{if(o===d)return s={start:u,end:u+Math.max(d.textContent.length,1)},!1});let l=t.createWidgetView({as:"span",component:sG}),c=t.createWidgetView({as:"span",component:lG});return Et.create(e.doc,[l(s.start),c(s.end,{href:a.attrs.href,title:a.attrs.title})])}},props:{decorations(e){return this.getState(e)}}}))}function Zve(t){return new Promise(e=>{let n=new FileReader;n.addEventListener("load",()=>{e({alt:t.name,src:n.result})},!1),n.readAsDataURL(t)})}var Xve=(t,e)=>ot(void 0,null,function*(){let n=[];for(let i=0;i<t.length;i++){let o=t.item(i);o&&o.type.includes("image")&&n.push(o)}let{image:r}=e.nodes;if(!r)throw Bv("image");return(yield Promise.all(n.map(i=>Zve(i)))).map(({alt:i,src:o})=>r.createAndFill({src:o,alt:i}))}),Ob=Bt({uploader:Xve,enableHtmlFileUploader:!1,uploadWidgetFactory:(t,e)=>{let n=document.createElement("span");return n.textContent="Upload in progress...",pn.widget(t,n,e)}},"uploadConfig");Ob.meta={package:"@milkdown/plugin-upload",displayName:"Ctx<uploadConfig>"};var dG=$t(t=>{let e=new at("MILKDOWN_UPLOAD"),n=(i,o)=>{var a;let s=e.getState(i);if(!s)return-1;let l=s.find(void 0,void 0,c=>c.id===o);return l.length?((a=l[0])==null?void 0:a.from)??-1:-1},r=(i,o,a)=>{var s;if(!a||a.length<=0)return!1;let l=Symbol("upload symbol"),c=t.get(Jr),{tr:d}=i.state,u=o instanceof DragEvent?((s=i.posAtCoords({left:o.clientX,top:o.clientY}))==null?void 0:s.pos)??d.selection.from:d.selection.from;i.dispatch(d.setMeta(e,{add:{id:l,pos:u}}));let{uploader:f}=t.get(Ob.key);return f(a,c).then(h=>{let p=n(i.state,l);p<0||i.dispatch(i.state.tr.replaceWith(p,p,h).setMeta(e,{remove:{id:l}}))}).catch(h=>{console.error(h)}),!0};return new Be({key:e,state:{init(){return Et.empty},apply(i,o){let a=o.map(i.mapping,i.doc),s=i.getMeta(this);if(!s)return a;if(s.add){let{uploadWidgetFactory:l}=t.get(Ob.key),c=l(s.add.pos,{id:s.add.id});return a.add(i.doc,[c])}if(s.remove){let l=a.find(void 0,void 0,c=>c.id===s.remove.id);return a.remove(l)}return a}},props:{decorations(i){return this.getState(i)},handlePaste:(i,o)=>{var a,s;let{enableHtmlFileUploader:l}=t.get(Ob.key);return!(o instanceof ClipboardEvent)||!l&&(a=o.clipboardData)!=null&&a.getData("text/html")?!1:r(i,o,(s=o.clipboardData)==null?void 0:s.files)},handleDrop:(i,o)=>{var a;return o instanceof DragEvent?r(i,o,(a=o.dataTransfer)==null?void 0:a.files):!1}}})});dG.meta={package:"@milkdown/plugin-upload",displayName:"Prose<upload>"};var uG=[Ob,dG];var fG=(()=>{let e=class e{constructor(){this.onClick=new Xe}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=De({type:e,selectors:[["table-tooltip-button"]],inputs:{icon:"icon",title:"title"},outputs:{onClick:"onClick"},standalone:!0,features:[He],decls:3,vars:1,consts:[[1,"inline-flex","items-center","justify-center","rounded","border","border-gray-200","bg-white","px-4","py-2","text-base","font-medium","leading-6","shadow-sm","dark:bg-black","hover:bg-gray-100",3,"click"],[1,"material-symbols-outlined","!text-base"]],template:function(i,o){i&1&&(H(0,"button",0),we("click",function(s){return o.onClick.emit(s)}),H(1,"span",1),Se(2),Y()()),i&2&&(se(2),Cr(o.icon))},encapsulation:2});let t=e;return t})();function Qve(t,e){if(t&1){let n=Fr();H(0,"table-tooltip-button",2),we("onClick",function(){un(n);let i=Qe().$index,o=Qe();return fn(o.onClick(i))}),Y()}if(t&2){let n=Qe().$implicit;q7(n.style),Me("icon",n.icon)("title",n.title)}}function Jve(t,e){if(t&1&&bt(0,Qve,1,4,"table-tooltip-button",1),t&2){let n=e.$implicit;tn(0,n.iif()?0:-1)}}var Pb=Bt(null,"tableTooltip"),L6=ay("TABLE"),hG=(()=>{let e=class e extends Wp{constructor(){super(...arguments),this.buttons=[{icon:"splitscreen_add",title:"Add row before",slice:px.key,iif:()=>!this.isWholeTable&&!this.isHeading&&this.isRow,hide:!0,style:{transform:"scaleY(-1)"}},{icon:"splitscreen_vertical_add",title:"Add column before",slice:fx.key,iif:()=>!this.isWholeTable&&this.isCol,hide:!0,style:{transform:"scaleX(-1)"}},{icon:"delete",title:"Delete selected cells",slice:ux.key,iif:()=>this.isWholeTable||!this.isHeading&&this.isAny,hide:!0},{icon:"splitscreen_add",title:"Add row after",slice:mx.key,iif:()=>!this.isWholeTable&&this.isRow,hide:!0},{icon:"splitscreen_vertical_add",title:"Add column after",slice:hx.key,iif:()=>!this.isWholeTable&&this.isCol},{icon:"format_align_left",title:"Align left",slice:Tp.key,payload:"left",iif:()=>!this.isWholeTable&&this.isCol},{icon:"format_align_center",title:"Align center",slice:Tp.key,payload:"center",iif:()=>!this.isWholeTable&&this.isCol},{icon:"format_align_right",title:"Align right",slice:Tp.key,payload:"right",iif:()=>!this.isWholeTable&&this.isCol}]}get isRow(){return this.state.selection instanceof nn&&this.state.selection.isRowSelection()}get isCol(){return this.state.selection instanceof nn&&this.state.selection.isColSelection()}get isWholeTable(){return this.isRow&&this.isCol}get isAny(){return this.isRow||this.isCol}get isHeading(){return this.isRow&&this.state.doc.nodeAt(this.state.selection.$headCell.pos)?.type.name==="table_header"}onClick(r){let{slice:i,payload:o,hide:a}=this.buttons[r];this.tooltipProvider?.hide(),this.action(s=>{s.get(nt).call(i,o)}),a&&this.tooltipProvider?.hide(),this.action(s=>{s.get(wn).focus()})}ngAfterViewInit(){super.ngAfterViewInit(),this.action(r=>{r.set(Pb.key,this.tooltipProvider)})}get pluginView(){return new rs({content:this.container,tippyOptions:{zIndex:30,appendTo:document.body},shouldShow:()=>!1,debounce:50})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["table-tooltip"]],standalone:!0,features:[ke,He],decls:3,vars:0,consts:[[1,"flex"],[3,"icon","title","style"],[3,"icon","title","onClick"]],template:function(i,o){i&1&&(H(0,"div",0),kr(1,Jve,1,1,null,null,Yw),Y()),i&2&&(se(1),xr(o.buttons))},dependencies:[fG],styles:["[_nghost-%COMP%] table-tooltip-button:not(:first-child):not(:last-child) button{border-left:none;border-radius:0}[_nghost-%COMP%] table-tooltip-button:last-child button{border-left:none;border-radius:0 .25rem .25rem 0}[_nghost-%COMP%] table-tooltip-button:first-child button{border-radius:0 .25rem .25rem 0}"]});let t=e;return t})();var B6=function(t){return typeof t=="function"?t:function(e){return t}};function V6(t,e){return new qc(function(n){return n===t},e)}function U6(t){return new qc(function(){return!0},t)}var pG=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))};function H6(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return pG([t],n,!0).every(function(i){return i instanceof qc||typeof i=="function"})?(e=new WC(void 0)).whenCase.apply(e,pG([t],n,!0)):function(){for(var i,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return(i=new WC(t)).whenCase.apply(i,o)}}var qc=function(){function t(e,n){this.condition=e,this.result=n}return t.prototype.isTrue=function(e){return e===void 0&&(e=void 0),this.condition(e)},t.prototype.getResult=function(e){return typeof this.result=="function"?this.result():this.result},t.prototype.else=function(e){return this.isTrue()?this.getResult(void 0):typeof e=="function"?e():e},t.prototype.elseIf=function(e,n){var r=this;return n===void 0?function(i){return new t(B6(e),i)}:function(){return r.isTrue()?r:new t(B6(e),n)}},t.prototype.then=function(e){return new t(this.condition,e)},t}();var WC=function(){function t(e){this.value=e}return t.prototype.whenCase=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0;r<e.length;r++){var i=e[r];if(i instanceof qc&&i.isTrue(this.value))return i.getResult(this.value);if(typeof i=="function")if(r!==e.length-1){var o=i();if(o&&o.constructor.name===qc.name&&o.isTrue(this.value))return o.getResult(this.value)}else return i()}},t}();var e1e=()=>["w-2","h-full","-left-3.5","top-0"],t1e=()=>["right-px","h-2","left-0","-top-3.5"],n1e=()=>["h-3","w-3","-left-4","-top-4","rounded-full"],r1e=()=>[],mG=(()=>{let e=class e extends lm{constructor(){super(...arguments),this.dragOver=!1,this.when=H6,this.is=V6,this.Else=U6}get action(){return oi(this.provider.editor)}get type(){return this.context?.spec?.type}get index(){return this.context?.spec?.index||0}onClick(r){r.preventDefault(),r.stopPropagation(),this.action(i=>{let o=i.get(nt);this.type==="left"?o.call(lx.key,this.index):this.type==="top"?o.call(cx.key,this.index):o.call(dx.key);let a=r.target.getBoundingClientRect(),s=i.get(Pb.key);s.getInstance().props.getReferenceClientRect=()=>a,setTimeout(()=>{s.show()},50)})}onDragStart(r){r.stopPropagation();let i={index:this.index,type:this.type};r.dataTransfer.setData("application/milkdown-table-sort",JSON.stringify(i)),r.dataTransfer.effectAllowed="move"}onDragOver(r){this.dragOver=!0,r.stopPropagation(),r.preventDefault(),r.dataTransfer.dropEffect="move"}onDrop(r){this.dragOver=!1,r.stopPropagation(),r.preventDefault();let i=this.context.spec?.index,o=r.dataTransfer.getData("application/milkdown-table-sort");try{let{index:a,type:s}=JSON.parse(o);this.action(l=>{let c=l.get(nt),d={from:Number(a),to:i};c.call(s==="left"?ax.key:sx.key,d)})}catch{}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["table-select-widget"]],standalone:!0,features:[ke,He],decls:1,vars:10,consts:[[1,"hover:bg-nord8","hover:dark:bg-nord9","absolute","cursor-pointer","bg-gray-200","dark:bg-gray-600",3,"id","draggable","click","dragstart","dragover","dragleave","drop"]],template:function(i,o){i&1&&(H(0,"div",0),we("click",function(s){return o.onClick(s)})("dragstart",function(s){return o.onDragStart(s)})("dragover",function(s){return o.onDragOver(s)})("dragleave",function(){return o.dragOver=!1})("drop",function(s){return o.onDrop(s)}),Y()),i&2&&(sr(o.when(o.type)(o.is("left",tr(6,e1e)),o.is("top",tr(7,t1e)),o.is("top-left",tr(8,n1e)),o.Else(tr(9,r1e)))),Rt("ring-2",o.dragOver),Me("id",o.key)("draggable",o.type!=="top-left"))},encapsulation:2});let t=e;return t})();function gG(t){return $t(()=>{let e=new at("MILKDOWN_TABLE_SELECTOR");return new Be({key:e,state:{init(){return{decorations:Et.empty,pos:0}},apply(n,r,i,o){let a=Tc(0,n.selection);if(!a)return{decorations:Et.empty,pos:0};let s=Ac(0,n.selection);if(!s)return{decorations:Et.empty,pos:0};let l=t.createWidgetView({as:"div",component:mG}),[c]=a;if(!c)return{decorations:Et.empty,pos:0};let d=[];return d.push(l(c.pos+1,{type:"top-left"})),a.forEach((u,f)=>{d.push(l(u.pos+1,{type:"left",index:f}))}),s.forEach((u,f)=>{d.push(l(u.pos+1,{type:"top",index:f}))}),r.pos===c.pos&&i.doc.eq(o.doc)?r:{decorations:Et.create(n.doc,d),pos:c.pos}}},props:{decorations(n){return e.getState(n).decorations}}})})}function i1e(t,e){t&1&&(H(0,"span"),Se(1," (\u02DA\u0394\u02DA)b"),Y())}var yG=(()=>{let e=class e extends Ho{constructor(){super(...arguments),this.selectedIndex=0,this.rendering=!0,this.code=null}get action(){return oi(this.provider.editor)}get container(){return super.container.children[0]}preview(){this.setAttrs({value:this.code}),this.render(),this.selectedIndex=0}render(){let r=()=>ot(this,null,function*(){this.action(i=>{if(this.code=this.node.attrs.value,this.code.length!==0)try{db.render(this.code,this.container.querySelector(".math-block-ref"),i.get(Hp.key))}catch(o){console.error(o)}})});requestAnimationFrame(()=>ot(this,null,function*(){yield r()})),this.rendering=!1}ngAfterViewInit(){this.render(),super.ngAfterViewInit()}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=It(e)))(o||e)}})(),e.\u0275cmp=De({type:e,selectors:[["math-block"]],standalone:!0,features:[ke,He],decls:8,vars:6,consts:[["contenteditable","false","preserveContent","",3,"animationDuration","selectedIndex","selectedIndexChange"],["label","Preview"],[1,"cursor-pointer","border-2","border-gray-300","rounded-md","p-2","flex","justify-center","items-center","hover:bg-gray-100","math-block-ref"],["label","Source"],[1,"block","h-48","w-full","bg-slate-800","font-mono","text-gray-50",3,"ngModel","ngModelChange"],[1,"absolute","right-1","top-1","mb-1","inline-flex","items-center","justify-center","rounded","border","border-gray-600","bg-nord8","px-6","py-2","text-base","font-medium","leading-6","text-gray-50","shadow-sm","hover:bg-blue-200","focus:ring-2","focus:ring-offset-2","dark:bg-nord9",3,"click"]],template:function(i,o){i&1&&(H(0,"mat-tab-group",0),we("selectedIndexChange",function(s){return o.selectedIndex=s}),H(1,"mat-tab",1)(2,"div",2),bt(3,i1e,2,0,"span"),Y()(),H(4,"mat-tab",3)(5,"textarea",4),we("ngModelChange",function(s){return o.code=s}),Y(),H(6,"button",5),we("click",function(){return o.preview()}),Se(7,"OK "),Y()()()),i&2&&(Me("animationDuration",150)("selectedIndex",o.selectedIndex),se(2),zs("min-height",100,"px"),se(1),tn(3,!o.code||!o.rendering?3:-1),se(2),Me("ngModel",o.code))},dependencies:[qC,Ib,$C,ro,Mo,no,Pi,sm]});let t=e;return t})();function o1e(t,e){if(t&1){let n=Fr();H(0,"div",2),we("mousedown",function(i){let a=un(n).$implicit,s=Qe();return fn(s.onMouseDown(i,a.slice,a.payload))})("touchstart",function(i){let a=un(n).$implicit,s=Qe();return fn(s.onMouseDown(i,a.slice,a.payload))}),H(1,"span",3),Se(2),Y()()}if(t&2){let n=e.$implicit;sr(n.className),Me("title",n.title)("routerLink",n.routerLink),se(2),Cr(n.icon)}}var bG=(()=>{let e=class e{constructor(){this.navBarItems=[{title:"Undo",icon:"undo",slice:wl.key},{title:"Redo",icon:"redo",slice:nf.key},{title:"Heading 1",icon:"looks_one",slice:ti.key,payload:1,className:["hidden-xs"]},{title:"Heading 2",icon:"looks_two",slice:ti.key,payload:2,className:["hidden-sm"]},{title:"Heading 3",icon:"looks_3",slice:ti.key,payload:3,className:["hidden-sm"]},{title:"Bold",icon:"format_bold",slice:Du.key},{title:"Italic",icon:"format_italic",slice:Cu.key},{title:"Strikethrough",icon:"format_strikethrough",slice:Vu.key},{title:"Table",icon:"table",slice:ox.key},{title:"Divider",icon:"horizontal_rule",slice:fp.key,payload:{mode:"horizontal"}},{title:"Diagram",icon:"rebase",slice:aC.key,className:["hidden-sm"]},{title:"Bullet List",icon:"format_list_bulleted",slice:G0.key},{title:"Ordered List",icon:"format_list_numbered",slice:Y0.key},{title:"Code Block",icon:"code_blocks",slice:Mu.key},{title:"Quote Block",icon:"format_quote",slice:Qs.key},{title:"Test collaborative Editing",icon:"partner_exchange",className:["hidden-sm"],routerLink:["/collaborative-editing"]}]}get action(){return oi(this.provider.editor)}onMouseDown(r,i,o){r.preventDefault(),i&&this.action(cp(i,o))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=De({type:e,selectors:[["tool-bar"]],inputs:{provider:"provider"},standalone:!0,features:[He],decls:4,vars:0,consts:[[1,"absolute","top-0","h-10","w-full","border-b","border-nord4","dark:divide-gray-600","dark:border-gray-600"],[1,"prose","mx-auto","flex"],[1,"flex","h-10","w-10","cursor-pointer","items-center","justify-center","rounded","hover:bg-gray-100",3,"title","routerLink","mousedown","touchstart"],[1,"material-symbols-outlined","!text-base"],["class","flex h-10 w-10 cursor-pointer items-center justify-center rounded hover:bg-gray-100",3,"title","class","routerLink"]],template:function(i,o){i&1&&(H(0,"div",0)(1,"div",1),kr(2,o1e,3,5,"div",4,Yw),Y()()),i&2&&(se(2),xr(o.navBarItems))},dependencies:[Ev],styles:["@media (max-width: 768px){.hidden-sm[_ngcontent-%COMP%]{display:none}}@media (max-width: 640px){.hidden-xs[_ngcontent-%COMP%]{display:none}}"]});let t=e;return t})();function a1e(t,e){if(t&1&&St(0,"tool-bar",6),t&2){Qe();let n=sa(5);Me("provider",n)}}function s1e(t,e){if(t&1){let n=Fr();H(0,"ng-milkdown",7),we("ngModelChange",function(i){un(n);let o=Qe();return fn(o.value=i)})("ngModelChange",function(i){un(n);let o=Qe();return fn(o.onChange(i))})("onReady",function(i){un(n);let o=Qe();return fn(o.editor=i)}),Y()}if(t&2){let n=Qe();Me("editorConfig",n.config)("plugins",n.plugins)("ngModel",n.value)}}var _G=(()=>{let e=class e{constructor(r){this.http=r,this.editor=null,this.tooltip=ay("tooltipMenu"),this.imageTooltip=ay("imageTooltipMenu"),this.slash=uA("slashMenu"),this.emojiSlash=uA("emojiMenu"),this.plugins=null,this.config=i=>{i.set(ma,{attributes:{class:"prose dark:prose-invert outline-none mx-auto px-2 py-4 box-border milkdown-theme-nord editor",spellcheck:"false"}}),i.set($0.key,()=>({class:"border-l-4 border-nord10 pl-4 not-prose dark:border-nord8"})),i.set(U0.key,()=>({class:"font-mono text-nord10 tracking-tight dark:text-nord8"})),i.set(pb.key,()=>({container:{},img:{class:"w-[1em] h-[1em] inline align-text-top"}}))}}ngOnInit(){this.http.get("assets/markdown.md",{responseType:"text"}).subscribe(r=>{this.plugins=[VU,tq,kx,tI,cH,[W$,_u(ef.node,()=>this.provider.createNodeView({component:yG,stopEvent:()=>!0}))],sq,uG,_u(of.node,()=>this.provider.createNodeView({component:eG,stopEvent:()=>!0})),_u(ao.node,()=>this.provider.createNodeView({component:tG})),[_u(fy.node,()=>this.provider.createNodeView({component:nG})),_u(hy.node,()=>this.provider.createNodeView({component:rG}))],_u(Eu.node,()=>this.provider.createNodeView({component:iG})),{plugin:Jy,config:i=>{i.set(Jy.key,{view:this.provider.createPluginView({component:oq,inputs:{ctx:i}})})}},{plugin:Y$,config:i=>{i.set(ub.key,{type:"space",size:4})}},{plugin:this.tooltip,config:i=>{i.set(this.tooltip.key,{view:this.provider.createPluginView({component:nq})})}},{plugin:this.slash,config:i=>{i.set(this.slash.key,{view:this.provider.createPluginView({component:rq,inputs:{slash:this.slash}})})}},Pq,{plugin:this.emojiSlash,config:i=>{i.set(this.emojiSlash.key,{view:this.provider.createPluginView({component:oG,inputs:{slash:this.emojiSlash}})})}},{plugin:this.imageTooltip,config:i=>{i.set(this.imageTooltip.key,{view:this.provider.createPluginView({component:aG})})}},cG(this.provider),L6,{plugin:Pb,config:i=>{i.set(L6.key,{view:this.provider.createPluginView({component:hG})})}},gG(this.provider)],this.value=r})}onChange(r){console.log("markdown changed!",{markdownText:r})}};e.\u0275fac=function(i){return new(i||e)(R(A2))},e.\u0275cmp=De({type:e,selectors:[["app-root"]],viewQuery:function(i,o){if(i&1&&sn(mb,7),i&2){let a;_t(a=wt())&&(o.provider=a.first)}},standalone:!0,features:[He],decls:7,vars:2,consts:[[1,"prose","lg:prose-xl"],[1,"relative","h-full","pt-10"],["class","opacity-80",3,"provider"],[1,"h-full","overflow-auto","overscroll-none","ctn","flex","flex-col","px-4"],["provider",""],[3,"editorConfig","plugins","ngModel","ngModelChange","onReady",4,"ngIf"],[1,"opacity-80",3,"provider"],[3,"editorConfig","plugins","ngModel","ngModelChange","onReady"]],template:function(i,o){i&1&&(St(0,"article",0),H(1,"div",1),bt(2,a1e,1,1,"tool-bar",2),H(3,"div",3)(4,"ng-prosemirror-adapter-provider",null,4),bt(6,s1e,1,3,"ng-milkdown",5),Y()()()),i&2&&(se(2),tn(2,o.editor&&!o.editor.loading?2:-1),se(4),Me("ngIf",o.value))},dependencies:[ca,TN,ro,no,Pi,mb,Tk,sv,bG]});let t=e;return t})();var Hr=()=>new Map,GC=t=>{let e=Hr();return t.forEach((n,r)=>{e.set(r,n)}),e},$i=(t,e,n)=>{let r=t.get(e);return r===void 0&&t.set(e,r=n()),r},wG=(t,e)=>{let n=[];for(let[r,i]of t)n.push(e(i,r));return n},vG=(t,e)=>{for(let[n,r]of t)if(e(r,n))return!0;return!1};var ho=()=>new Set;var YC=t=>t[t.length-1];var kG=(t,e)=>{for(let n=0;n<e.length;n++)t.push(e[n])},ws=Array.from;var xG=(t,e)=>{for(let n=0;n<t.length;n++)if(e(t[n],n,t))return!0;return!1};var Nb=Array.isArray;var Cl=class{constructor(){this._observers=Hr()}on(e,n){$i(this._observers,e,ho).add(n)}once(e,n){let r=(...i)=>{this.off(e,r),n(...i)};this.on(e,r)}off(e,n){let r=this._observers.get(e);r!==void 0&&(r.delete(n),r.size===0&&this._observers.delete(e))}emit(e,n){return ws((this._observers.get(e)||Hr()).values()).forEach(r=>r(...n))}destroy(){this._observers=Hr()}};var ai=Math.floor;var cm=Math.abs;var po=(t,e)=>t<e?t:e,Go=(t,e)=>t>e?t:e,MJe=Number.isNaN,CG=Math.pow;var KC=t=>t!==0?t<0:1/t<0;var q6=Number.MAX_SAFE_INTEGER,TJe=Number.MIN_SAFE_INTEGER,AJe=1<<31;var DG=Number.isInteger||(t=>typeof t=="number"&&isFinite(t)&&ai(t)===t),IJe=Number.isNaN,OJe=Number.parseInt;var W6=String.fromCharCode,PJe=String.fromCodePoint,FJe=W6(65535),l1e=t=>t.toLowerCase(),c1e=/^\s*/g,d1e=t=>t.replace(c1e,""),u1e=/([A-Z])/g,G6=(t,e)=>d1e(t.replace(u1e,n=>`${e}${l1e(n)}`));var f1e=t=>{let e=unescape(encodeURIComponent(t)),n=e.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=e.codePointAt(i);return r},um=typeof TextEncoder<"u"?new TextEncoder:null,h1e=t=>um.encode(t),EG=um?h1e:f1e;var dm=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});dm&&dm.decode(new Uint8Array).length===1&&(dm=null);var pf=class{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}},gr=()=>new pf;var QC=t=>{let e=t.cpos;for(let n=0;n<t.bufs.length;n++)e+=t.bufs[n].length;return e};var yn=t=>{let e=new Uint8Array(QC(t)),n=0;for(let r=0;r<t.bufs.length;r++){let i=t.bufs[r];e.set(i,n),n+=i.length}return e.set(new Uint8Array(t.cbuf.buffer,0,t.cpos),n),e},p1e=(t,e)=>{let n=t.cbuf.length;n-t.cpos<e&&(t.bufs.push(new Uint8Array(t.cbuf.buffer,0,t.cpos)),t.cbuf=new Uint8Array(Go(n,e)*2),t.cpos=0)},Ir=(t,e)=>{let n=t.cbuf.length;t.cpos===n&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(n*2),t.cpos=0),t.cbuf[t.cpos++]=e};var JC=Ir;var Fe=(t,e)=>{for(;e>127;)Ir(t,128|127&e),e=ai(e/128);Ir(t,127&e)},eD=(t,e)=>{let n=KC(e);for(n&&(e=-e),Ir(t,(e>63?128:0)|(n?64:0)|63&e),e=ai(e/64);e>0;)Ir(t,(e>127?128:0)|127&e),e=ai(e/128)},Y6=new Uint8Array(3e4),m1e=Y6.length/3,g1e=(t,e)=>{if(e.length<m1e){let n=um.encodeInto(e,Y6).written||0;Fe(t,n);for(let r=0;r<n;r++)Ir(t,Y6[r])}else En(t,EG(e))},y1e=(t,e)=>{let n=unescape(encodeURIComponent(e)),r=n.length;Fe(t,r);for(let i=0;i<r;i++)Ir(t,n.codePointAt(i))},Sl=um&&um.encodeInto?g1e:y1e;var jb=(t,e)=>{let n=t.cbuf.length,r=t.cpos,i=po(n-r,e.length),o=e.length-i;t.cbuf.set(e.subarray(0,i),r),t.cpos+=i,o>0&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(Go(n*2,o)),t.cbuf.set(e.subarray(i)),t.cpos=o)},En=(t,e)=>{Fe(t,e.byteLength),jb(t,e)},K6=(t,e)=>{p1e(t,e);let n=new DataView(t.cbuf.buffer,t.cpos,e);return t.cpos+=e,n},b1e=(t,e)=>K6(t,4).setFloat32(0,e,!1),_1e=(t,e)=>K6(t,8).setFloat64(0,e,!1),w1e=(t,e)=>K6(t,8).setBigInt64(0,e,!1);var TG=new DataView(new ArrayBuffer(4)),v1e=t=>(TG.setFloat32(0,t),TG.getFloat32(0)===t),hm=(t,e)=>{switch(typeof e){case"string":Ir(t,119),Sl(t,e);break;case"number":DG(e)&&cm(e)<=2147483647?(Ir(t,125),eD(t,e)):v1e(e)?(Ir(t,124),b1e(t,e)):(Ir(t,123),_1e(t,e));break;case"bigint":Ir(t,122),w1e(t,e);break;case"object":if(e===null)Ir(t,126);else if(Nb(e)){Ir(t,117),Fe(t,e.length);for(let n=0;n<e.length;n++)hm(t,e[n])}else if(e instanceof Uint8Array)Ir(t,116),En(t,e);else{Ir(t,118);let n=Object.keys(e);Fe(t,n.length);for(let r=0;r<n.length;r++){let i=n[r];Sl(t,i),hm(t,e[i])}}break;case"boolean":Ir(t,e?120:121);break;default:Ir(t,127)}},Rb=class extends pf{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&Fe(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}};var AG=t=>{t.count>0&&(eD(t.encoder,t.count===1?t.s:-t.s),t.count>1&&Fe(t.encoder,t.count-2))},mf=class{constructor(){this.encoder=new pf,this.s=0,this.count=0}write(e){this.s===e?this.count++:(AG(this),this.count=1,this.s=e)}toUint8Array(){return AG(this),yn(this.encoder)}};var IG=t=>{if(t.count>0){let e=t.diff*2+(t.count===1?0:1);eD(t.encoder,e),t.count>1&&Fe(t.encoder,t.count-2)}},pm=class{constructor(){this.encoder=new pf,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(IG(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return IG(this),yn(this.encoder)}},XC=class{constructor(){this.sarr=[],this.s="",this.lensE=new mf}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){let e=new pf;return this.sarr.push(this.s),this.s="",Sl(e,this.sarr.join("")),jb(e,this.lensE.toUint8Array()),yn(e)}};var vs=t=>new Error(t),mo=()=>{throw vs("Method unimplemented")},qi=()=>{throw vs("Unexpected case")};var OG=vs("Unexpected end of array"),PG=vs("Integer out of Range"),mm=class{constructor(e){this.arr=e,this.pos=0}},Ta=t=>new mm(t),FG=t=>t.pos!==t.arr.length;var k1e=(t,e)=>{let n=new Uint8Array(t.arr.buffer,t.pos+t.arr.byteOffset,e);return t.pos+=e,n},yr=t=>k1e(t,Je(t));var gf=t=>t.arr[t.pos++];var Je=t=>{let e=0,n=1,r=t.arr.length;for(;t.pos<r;){let i=t.arr[t.pos++];if(e=e+(i&127)*n,n*=128,i<128)return e;if(e>q6)throw PG}throw OG},iD=t=>{let e=t.arr[t.pos++],n=e&63,r=64,i=(e&64)>0?-1:1;if(!(e&128))return i*n;let o=t.arr.length;for(;t.pos<o;){if(e=t.arr[t.pos++],n=n+(e&127)*r,r*=128,e<128)return i*n;if(n>q6)throw PG}throw OG};var x1e=t=>{let e=Je(t);if(e===0)return"";{let n=String.fromCodePoint(gf(t));if(--e<100)for(;e--;)n+=String.fromCodePoint(gf(t));else for(;e>0;){let r=e<1e4?e:1e4,i=t.arr.subarray(t.pos,t.pos+r);t.pos+=r,n+=String.fromCodePoint.apply(null,i),e-=r}return decodeURIComponent(escape(n))}},C1e=t=>dm.decode(yr(t)),Ma=dm?C1e:x1e;var Z6=(t,e)=>{let n=new DataView(t.arr.buffer,t.arr.byteOffset+t.pos,e);return t.pos+=e,n},D1e=t=>Z6(t,4).getFloat32(0,!1),S1e=t=>Z6(t,8).getFloat64(0,!1),E1e=t=>Z6(t,8).getBigInt64(0,!1);var M1e=[t=>{},t=>null,iD,D1e,S1e,E1e,t=>!1,t=>!0,Ma,t=>{let e=Je(t),n={};for(let r=0;r<e;r++){let i=Ma(t);n[i]=gm(t)}return n},t=>{let e=Je(t),n=[];for(let r=0;r<e;r++)n.push(gm(t));return n},yr],gm=t=>M1e[127-gf(t)](t),zb=class extends mm{constructor(e,n){super(e),this.reader=n,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),FG(this)?this.count=Je(this)+1:this.count=-1),this.count--,this.s}};var yf=class extends mm{constructor(e){super(e),this.s=0,this.count=0}read(){if(this.count===0){this.s=iD(this);let e=KC(this.s);this.count=1,e&&(this.s=-this.s,this.count=Je(this)+2)}return this.count--,this.s}};var ym=class extends mm{constructor(e){super(e),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){let e=iD(this),n=e&1;this.diff=ai(e/2),this.count=1,n&&(this.count=Je(this)+2)}return this.s+=this.diff,this.count--,this.s}},rD=class{constructor(e){this.decoder=new yf(e),this.str=Ma(this.decoder),this.spos=0}read(){let e=this.spos+this.decoder.read(),n=this.str.slice(this.spos,e);return this.spos=e,n}};var jJe=crypto.subtle,NG=crypto.getRandomValues.bind(crypto);var T1e=Math.random,X6=()=>NG(new Uint32Array(1))[0];var RG=t=>t[ai(T1e()*t.length)],A1e=[1e7]+-1e3+-4e3+-8e3+-1e11,jG=()=>A1e.replace(/[018]/g,t=>(t^X6()&15>>t/4).toString(16));var go=Date.now;var Q6=t=>new Promise(t);var BJe=Promise.all.bind(Promise);var J6=t=>t===void 0?null:t;var e8=class{constructor(){this.map=new Map}setItem(e,n){this.map.set(e,n)}getItem(e){return this.map.get(e)}},LG=new e8,t8=!0;try{typeof localStorage<"u"&&localStorage&&(LG=localStorage,t8=!1)}catch{}var aD=LG,BG=t=>t8||addEventListener("storage",t),VG=t=>t8||removeEventListener("storage",t);var HG=Object.assign,n8=Object.keys,$G=(t,e)=>{for(let n in t)e(t[n],n)},qG=(t,e)=>{let n=[];for(let r in t)n.push(e(t[r],r));return n},Bb=t=>n8(t).length;var WG=t=>{for(let e in t)return!1;return!0},P1e=(t,e)=>{for(let n in t)if(!e(t[n],n))return!1;return!0},r8=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i8=(t,e)=>t===e||Bb(t)===Bb(e)&&P1e(t,(n,r)=>(n!==void 0||r8(e,r))&&e[r]===n);var Vb=(t,e,n=0)=>{try{for(;n<t.length;n++)t[n](...e)}finally{n<t.length&&Vb(t,e,n+1)}};var GG=t=>t,F1e=(t,e)=>t===e;var bm=(t,e)=>{if(t==null||e==null)return F1e(t,e);if(t.constructor!==e.constructor)return!1;if(t===e)return!0;switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t),e=new Uint8Array(e);case Uint8Array:{if(t.byteLength!==e.byteLength)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;break}case Set:{if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;break}case Map:{if(t.size!==e.size)return!1;for(let n of t.keys())if(!e.has(n)||!bm(t.get(n),e.get(n)))return!1;break}case Object:if(Bb(t)!==Bb(e))return!1;for(let n in t)if(!r8(t,n)||!bm(t[n],e[n]))return!1;break;case Array:if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(!bm(t[n],e[n]))return!1;break;default:return!1}return!0},YG=(t,e)=>e.includes(t);var _m=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",wm=typeof window<"u"&&typeof document<"u"&&!_m,VJe=typeof navigator<"u"?/Mac/.test(navigator.platform):!1,ks,N1e=[],R1e=()=>{if(ks===void 0)if(_m){ks=Hr();let t=process.argv,e=null;for(let n=0;n<t.length;n++){let r=t[n];r[0]==="-"?(e!==null&&ks.set(e,""),e=r):e!==null?(ks.set(e,r),e=null):N1e.push(r)}e!==null&&ks.set(e,"")}else typeof location=="object"?(ks=Hr(),(location.search||"?").slice(1).split("&").forEach(t=>{if(t.length!==0){let[e,n]=t.split("=");ks.set(`--${G6(e,"-")}`,n),ks.set(`-${G6(e,"-")}`,n)}})):ks=Hr();return ks},a8=t=>R1e().has(t);var s8=t=>_m?J6(process.env[t.toUpperCase()]):J6(aD.getItem(t));var j1e=t=>a8("--"+t)||s8(t)!==null,UJe=j1e("production"),KG=_m&&YG(process.env.FORCE_COLOR,["true","1","2"]),ZG=!a8("no-colors")&&(!_m||process.stdout.isTTY||KG)&&(!_m||a8("color")||KG||s8("COLORTERM")!==null||(s8("TERM")||"").includes("color"));var XG=t=>new Uint8Array(t),z1e=(t,e,n)=>new Uint8Array(t,e,n),QG=t=>new Uint8Array(t),L1e=t=>{let e="";for(let n=0;n<t.byteLength;n++)e+=W6(t[n]);return btoa(e)},B1e=t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("base64"),V1e=t=>{let e=atob(t),n=XG(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},U1e=t=>{let e=Buffer.from(t,"base64");return z1e(e.buffer,e.byteOffset,e.byteLength)},JG=wm?L1e:B1e,eY=wm?V1e:U1e;var tY=t=>{let e=XG(t.byteLength);return e.set(t),e};var c8=class{constructor(e,n){this.left=e,this.right=n}},xs=(t,e)=>new c8(t,e);var El=typeof document<"u"?document:{};var HJe=typeof DOMParser<"u"?new DOMParser:null;var rY=t=>wG(t,(e,n)=>`${n}:${e};`).join("");var $Je=El.ELEMENT_NODE,qJe=El.TEXT_NODE,WJe=El.CDATA_SECTION_NODE,GJe=El.COMMENT_NODE,YJe=El.DOCUMENT_NODE,KJe=El.DOCUMENT_TYPE_NODE,ZJe=El.DOCUMENT_FRAGMENT_NODE;var lD=t=>class{constructor(n){this._=n}destroy(){t(this._)}},$1e=lD(clearTimeout),vm=(t,e)=>new $1e(setTimeout(e,t)),QJe=lD(clearInterval);var JJe=lD(t=>typeof requestAnimationFrame<"u"&&cancelAnimationFrame(t));var eet=lD(t=>typeof cancelIdleCallback<"u"&&cancelIdleCallback(t));var Cs=Symbol;var Ub=Cs(),Hb=Cs(),d8=Cs(),u8=Cs(),f8=Cs(),$b=Cs(),h8=Cs(),km=Cs(),p8=Cs(),aY=t=>{let e=[],n=[],r=0;for(;r<t.length;r++){let i=t[r];i.constructor===String||i.constructor===Number?e.push(i):i.constructor===Object&&n.push(JSON.stringify(i))}return n};var tet=go();var G1e={[Ub]:xs("font-weight","bold"),[Hb]:xs("font-weight","normal"),[d8]:xs("color","blue"),[f8]:xs("color","green"),[u8]:xs("color","grey"),[$b]:xs("color","red"),[h8]:xs("color","purple"),[km]:xs("color","orange"),[p8]:xs("color","black")},Y1e=t=>{let e=[],n=[],r=Hr(),i=[],o=0;for(;o<t.length;o++){let a=t[o],s=G1e[a];if(s!==void 0)r.set(s.left,s.right);else if(a.constructor===String||a.constructor===Number){let l=rY(r);o>0||l.length>0?(e.push("%c"+a),n.push(l)):e.push(a)}else break}for(o>0&&(i=n,i.unshift(e.join("")));o<t.length;o++){let a=t[o];a instanceof Symbol||i.push(a)}return i},sY=ZG?Y1e:aY,lY=(...t)=>{console.log(...sY(t)),dY.forEach(e=>e.print(t))},cY=(...t)=>{console.warn(...sY(t)),t.unshift(km),dY.forEach(e=>e.print(t))};var dY=ho();var uY=t=>({[Symbol.iterator](){return this},next:t}),fY=(t,e)=>uY(()=>{let n;do n=t.next();while(!n.done&&!e(n.value));return n}),cD=(t,e)=>uY(()=>{let{done:n,value:r}=t.next();return{done:n,value:n?void 0:e(r)}});var Wb=class{constructor(e,n){this.clock=e,this.len=n}},Zc=class{constructor(){this.clients=new Map}},Ml=(t,e,n)=>e.clients.forEach((r,i)=>{let o=t.doc.store.clients.get(i);for(let a=0;a<r.length;a++){let s=r[a];LY(t,o,s.clock,s.len,n)}}),J1e=(t,e)=>{let n=0,r=t.length-1;for(;n<=r;){let i=ai((n+r)/2),o=t[i],a=o.clock;if(a<=e){if(e<a+o.len)return i;n=i+1}else r=i-1}return null},kf=(t,e)=>{let n=t.clients.get(e.client);return n!==void 0&&J1e(n,e.clock)!==null},P8=t=>{t.clients.forEach(e=>{e.sort((i,o)=>i.clock-o.clock);let n,r;for(n=1,r=1;n<e.length;n++){let i=e[r-1],o=e[n];i.clock+i.len>=o.clock?i.len=Go(i.len,o.clock+o.len-i.clock):(r<n&&(e[r]=o),r++)}e.length=r})},g8=t=>{let e=new Zc;for(let n=0;n<t.length;n++)t[n].clients.forEach((r,i)=>{if(!e.clients.has(i)){let o=r.slice();for(let a=n+1;a<t.length;a++)kG(o,t[a].clients.get(i)||[]);e.clients.set(i,o)}});return P8(e),e},Gb=(t,e,n,r)=>{$i(t.clients,e,()=>[]).push(new Wb(n,r))},ED=()=>new Zc,TY=t=>{let e=ED();return t.clients.forEach((n,r)=>{let i=[];for(let o=0;o<n.length;o++){let a=n[o];if(a.deleted){let s=a.id.clock,l=a.length;if(o+1<n.length)for(let c=n[o+1];o+1<n.length&&c.deleted;c=n[++o+1])l+=c.length;i.push(new Wb(s,l))}}i.length>0&&e.clients.set(r,i)}),e},Tm=(t,e)=>{Fe(t.restEncoder,e.clients.size),ws(e.clients.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{t.resetDsCurVal(),Fe(t.restEncoder,n);let i=r.length;Fe(t.restEncoder,i);for(let o=0;o<i;o++){let a=r[o];t.writeDsClock(a.clock),t.writeDsLen(a.len)}})},F8=t=>{let e=new Zc,n=Je(t.restDecoder);for(let r=0;r<n;r++){t.resetDsCurVal();let i=Je(t.restDecoder),o=Je(t.restDecoder);if(o>0){let a=$i(e.clients,i,()=>[]);for(let s=0;s<o;s++)a.push(new Wb(t.readDsClock(),t.readDsLen()))}}return e},mY=(t,e,n)=>{let r=new Zc,i=Je(t.restDecoder);for(let o=0;o<i;o++){t.resetDsCurVal();let a=Je(t.restDecoder),s=Je(t.restDecoder),l=n.clients.get(a)||[],c=Yn(n,a);for(let d=0;d<s;d++){let u=t.readDsClock(),f=u+t.readDsLen();if(u<c){c<f&&Gb(r,a,c,f-c);let h=Ds(l,u),p=l[h];for(!p.deleted&&p.id.clock<u&&(l.splice(h+1,0,SD(e,p,u-p.id.clock)),h++);h<l.length&&(p=l[h++],p.id.clock<f);)p.deleted||(f<p.id.clock+p.length&&l.splice(h,0,SD(e,p,f-p.id.clock)),p.delete(e))}else Gb(r,a,u,f-u)}}if(r.clients.size>0){let o=new Al;return Fe(o.restEncoder,0),Tm(o,r),o.toUint8Array()}return null};var AY=X6,Tl=class t extends Cl{constructor({guid:e=jG(),collectionid:n=null,gc:r=!0,gcFilter:i=()=>!0,meta:o=null,autoLoad:a=!1,shouldLoad:s=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=AY(),this.guid=e,this.collectionid=n,this.share=new Map,this.store=new wD,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=a,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.whenLoaded=Q6(c=>{this.on("load",()=>{this.isLoaded=!0,c(this)})});let l=()=>Q6(c=>{let d=u=>{(u===void 0||u===!0)&&(this.off("sync",d),c())};this.on("sync",d)});this.on("sync",c=>{c===!1&&this.isSynced&&(this.whenSynced=l()),this.isSynced=c===void 0||c===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[])}),this.whenSynced=l()}load(){let e=this._item;e!==null&&!this.shouldLoad&&dn(e.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(ws(this.subdocs).map(e=>e.guid))}transact(e,n=null){return dn(this,e,n)}get(e,n=br){let r=$i(this.share,e,()=>{let o=new n;return o._integrate(this,null),o}),i=r.constructor;if(n!==br&&i!==n)if(i===br){let o=new n;o._map=r._map,r._map.forEach(a=>{for(;a!==null;a=a.left)a.parent=o}),o._start=r._start;for(let a=o._start;a!==null;a=a.right)a.parent=o;return o._length=r._length,this.share.set(e,o),o._integrate(this,null),o}else throw new Error(`Type with the name ${e} has already been defined with a different constructor`);return r}getArray(e=""){return this.get(e,CD)}getText(e=""){return this.get(e,wf)}getMap(e=""){return this.get(e,Qb)}getXmlFragment(e=""){return this.get(e,Il)}toJSON(){let e={};return this.share.forEach((n,r)=>{e[r]=n.toJSON()}),e}destroy(){ws(this.subdocs).forEach(n=>n.destroy());let e=this._item;if(e!==null){this._item=null;let n=e.content;n.doc=new t(W(S({guid:this.guid},n.opts),{shouldLoad:!1})),n.doc._item=e,dn(e.parent.doc,r=>{let i=n.doc;e.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}on(e,n){super.on(e,n)}off(e,n){super.off(e,n)}},gD=class{constructor(e){this.restDecoder=e}resetDsCurVal(){}readDsClock(){return Je(this.restDecoder)}readDsLen(){return Je(this.restDecoder)}},yD=class extends gD{readLeftID(){return ut(Je(this.restDecoder),Je(this.restDecoder))}readRightID(){return ut(Je(this.restDecoder),Je(this.restDecoder))}readClient(){return Je(this.restDecoder)}readInfo(){return gf(this.restDecoder)}readString(){return Ma(this.restDecoder)}readParentInfo(){return Je(this.restDecoder)===1}readTypeRef(){return Je(this.restDecoder)}readLen(){return Je(this.restDecoder)}readAny(){return gm(this.restDecoder)}readBuf(){return tY(yr(this.restDecoder))}readJSON(){return JSON.parse(Ma(this.restDecoder))}readKey(){return Ma(this.restDecoder)}},y8=class{constructor(e){this.dsCurrVal=0,this.restDecoder=e}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=Je(this.restDecoder),this.dsCurrVal}readDsLen(){let e=Je(this.restDecoder)+1;return this.dsCurrVal+=e,e}},Xc=class extends y8{constructor(e){super(e),this.keys=[],Je(e),this.keyClockDecoder=new ym(yr(e)),this.clientDecoder=new yf(yr(e)),this.leftClockDecoder=new ym(yr(e)),this.rightClockDecoder=new ym(yr(e)),this.infoDecoder=new zb(yr(e),gf),this.stringDecoder=new rD(yr(e)),this.parentInfoDecoder=new zb(yr(e),gf),this.typeRefDecoder=new yf(yr(e)),this.lenDecoder=new yf(yr(e))}readLeftID(){return new Kc(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new Kc(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return gm(this.restDecoder)}readBuf(){return yr(this.restDecoder)}readJSON(){return gm(this.restDecoder)}readKey(){let e=this.keyClockDecoder.read();if(e<this.keys.length)return this.keys[e];{let n=this.stringDecoder.read();return this.keys.push(n),n}}},bD=class{constructor(){this.restEncoder=gr()}toUint8Array(){return yn(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){Fe(this.restEncoder,e)}writeDsLen(e){Fe(this.restEncoder,e)}},_f=class extends bD{writeLeftID(e){Fe(this.restEncoder,e.client),Fe(this.restEncoder,e.clock)}writeRightID(e){Fe(this.restEncoder,e.client),Fe(this.restEncoder,e.clock)}writeClient(e){Fe(this.restEncoder,e)}writeInfo(e){JC(this.restEncoder,e)}writeString(e){Sl(this.restEncoder,e)}writeParentInfo(e){Fe(this.restEncoder,e?1:0)}writeTypeRef(e){Fe(this.restEncoder,e)}writeLen(e){Fe(this.restEncoder,e)}writeAny(e){hm(this.restEncoder,e)}writeBuf(e){En(this.restEncoder,e)}writeJSON(e){Sl(this.restEncoder,JSON.stringify(e))}writeKey(e){Sl(this.restEncoder,e)}},_D=class{constructor(){this.restEncoder=gr(),this.dsCurrVal=0}toUint8Array(){return yn(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){let n=e-this.dsCurrVal;this.dsCurrVal=e,Fe(this.restEncoder,n)}writeDsLen(e){e===0&&qi(),Fe(this.restEncoder,e-1),this.dsCurrVal+=e}},Al=class extends _D{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new pm,this.clientEncoder=new mf,this.leftClockEncoder=new pm,this.rightClockEncoder=new pm,this.infoEncoder=new Rb(JC),this.stringEncoder=new XC,this.parentInfoEncoder=new Rb(JC),this.typeRefEncoder=new mf,this.lenEncoder=new mf}toUint8Array(){let e=gr();return Fe(e,0),En(e,this.keyClockEncoder.toUint8Array()),En(e,this.clientEncoder.toUint8Array()),En(e,this.leftClockEncoder.toUint8Array()),En(e,this.rightClockEncoder.toUint8Array()),En(e,yn(this.infoEncoder)),En(e,this.stringEncoder.toUint8Array()),En(e,yn(this.parentInfoEncoder)),En(e,this.typeRefEncoder.toUint8Array()),En(e,this.lenEncoder.toUint8Array()),jb(e,yn(this.restEncoder)),yn(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){hm(this.restEncoder,e)}writeBuf(e){En(this.restEncoder,e)}writeJSON(e){hm(this.restEncoder,e)}writeKey(e){let n=this.keyMap.get(e);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(n)}},eke=(t,e,n,r)=>{r=Go(r,e[0].id.clock);let i=Ds(e,r);Fe(t.restEncoder,e.length-i),t.writeClient(n),Fe(t.restEncoder,r);let o=e[i];o.write(t,r-o.id.clock);for(let a=i+1;a<e.length;a++)e[a].write(t,0)},N8=(t,e,n)=>{let r=new Map;n.forEach((i,o)=>{Yn(e,o)>i&&r.set(o,i)}),r_(e).forEach((i,o)=>{n.has(o)||r.set(o,0)}),Fe(t.restEncoder,r.size),ws(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{eke(t,e.clients.get(i),i,o)})},tke=(t,e)=>{let n=Hr(),r=Je(t.restDecoder);for(let i=0;i<r;i++){let o=Je(t.restDecoder),a=new Array(o),s=t.readClient(),l=Je(t.restDecoder);n.set(s,{i:0,refs:a});for(let c=0;c<o;c++){let d=t.readInfo();switch(31&d){case 0:{let u=t.readLen();a[c]=new Gi(ut(s,l),u),l+=u;break}case 10:{let u=Je(t.restDecoder);a[c]=new Yi(ut(s,l),u),l+=u;break}default:{let u=(d&192)===0,f=new Zt(ut(s,l),null,(d&128)===128?t.readLeftID():null,null,(d&64)===64?t.readRightID():null,u?t.readParentInfo()?e.get(t.readString()):t.readLeftID():null,u&&(d&32)===32?t.readString():null,oK(t,d));a[c]=f,l+=f.length}}}}return n},nke=(t,e,n)=>{let r=[],i=ws(n.keys()).sort((h,p)=>h-p);if(i.length===0)return null;let o=()=>{if(i.length===0)return null;let h=n.get(i[i.length-1]);for(;h.refs.length===h.i;)if(i.pop(),i.length>0)h=n.get(i[i.length-1]);else return null;return h},a=o();if(a===null)return null;let s=new wD,l=new Map,c=(h,p)=>{let g=l.get(h);(g==null||g>p)&&l.set(h,p)},d=a.refs[a.i++],u=new Map,f=()=>{for(let h of r){let p=h.id.client,g=n.get(p);g?(g.i--,s.clients.set(p,g.refs.slice(g.i)),n.delete(p),g.i=0,g.refs=[]):s.clients.set(p,[h]),i=i.filter(b=>b!==p)}r.length=0};for(;;){if(d.constructor!==Yi){let p=$i(u,d.id.client,()=>Yn(e,d.id.client))-d.id.clock;if(p<0)r.push(d),c(d.id.client,d.id.clock-1),f();else{let g=d.getMissing(t,e);if(g!==null){r.push(d);let b=n.get(g)||{refs:[],i:0};if(b.refs.length===b.i)c(g,Yn(e,g)),f();else{d=b.refs[b.i++];continue}}else(p===0||p<d.length)&&(d.integrate(t,p),u.set(d.id.client,d.id.clock+d.length))}}if(r.length>0)d=r.pop();else if(a!==null&&a.i<a.refs.length)d=a.refs[a.i++];else{if(a=o(),a===null)break;d=a.refs[a.i++]}}if(s.clients.size>0){let h=new Al;return N8(h,s,new Map),Fe(h.restEncoder,0),{missing:l,update:h.toUint8Array()}}return null},rke=(t,e)=>N8(t,e.doc.store,e.beforeState),ike=(t,e,n,r=new Xc(t))=>dn(e,i=>{i.local=!1;let o=!1,a=i.doc,s=a.store,l=tke(r,a),c=nke(i,s,l),d=s.pendingStructs;if(d){for(let[f,h]of d.missing)if(h<Yn(s,f)){o=!0;break}if(c){for(let[f,h]of c.missing){let p=d.missing.get(f);(p==null||p>h)&&d.missing.set(f,h)}d.update=vD([d.update,c.update])}}else s.pendingStructs=c;let u=mY(r,i,s);if(s.pendingDs){let f=new Xc(Ta(s.pendingDs));Je(f.restDecoder);let h=mY(f,i,s);u&&h?s.pendingDs=vD([u,h]):s.pendingDs=u||h}else s.pendingDs=u;if(o){let f=s.pendingStructs.update;s.pendingStructs=null,IY(i.doc,f)}},n,!1);var IY=(t,e,n,r=Xc)=>{let i=Ta(e);ike(i,t,n,new r(i))},MD=(t,e,n)=>IY(t,e,n,yD),oke=(t,e,n=new Map)=>{N8(t,e.store,n),Tm(t,TY(e.store))},ake=(t,e=new Uint8Array([0]),n=new Al)=>{let r=OY(e);oke(n,t,r);let i=[n.toUint8Array()];if(t.store.pendingDs&&i.push(t.store.pendingDs),t.store.pendingStructs&&i.push(bke(t.store.pendingStructs.update,e)),i.length>1){if(n.constructor===_f)return gke(i.map((o,a)=>a===0?o:wke(o)));if(n.constructor===Al)return vD(i)}return i[0]},TD=(t,e)=>ake(t,e,new _f),ske=t=>{let e=new Map,n=Je(t.restDecoder);for(let r=0;r<n;r++){let i=Je(t.restDecoder),o=Je(t.restDecoder);e.set(i,o)}return e},OY=t=>ske(new gD(Ta(t))),PY=(t,e)=>(Fe(t.restEncoder,e.size),ws(e.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{Fe(t.restEncoder,n),Fe(t.restEncoder,r)}),t),lke=(t,e)=>PY(t,r_(e.store)),cke=(t,e=new _D)=>(t instanceof Map?PY(e,t):lke(e,t),e.toUint8Array()),FY=t=>cke(t,new bD),b8=class{constructor(){this.l=[]}},gY=()=>new b8,yY=(t,e)=>t.l.push(e),bY=(t,e)=>{let n=t.l,r=n.length;t.l=n.filter(i=>e!==i),r===t.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},NY=(t,e,n)=>Vb(t.l,[e,n]),Kc=class{constructor(e,n){this.client=e,this.clock=n}},xm=(t,e)=>t===e||t!==null&&e!==null&&t.client===e.client&&t.clock===e.clock,ut=(t,e)=>new Kc(t,e);var Am=t=>{for(let[e,n]of t.doc.share.entries())if(n===t)return e;throw qi()},Cm=(t,e)=>{for(;e!==null;){if(e.parent===t)return!0;e=e.parent._item}return!1};var Qc=class{constructor(e,n,r,i=0){this.type=e,this.tname=n,this.item=r,this.assoc=i}};var Im=t=>new Qc(t.type==null?null:ut(t.type.client,t.type.clock),t.tname||null,t.item==null?null:ut(t.item.client,t.item.clock),t.assoc==null?0:t.assoc),_8=class{constructor(e,n,r=0){this.type=e,this.index=n,this.assoc=r}},dke=(t,e,n=0)=>new _8(t,e,n),dD=(t,e,n)=>{let r=null,i=null;return t._item===null?i=Am(t):r=ut(t._item.id.client,t._item.id.clock),new Qc(r,i,e,n)},AD=(t,e,n=0)=>{let r=t._start;if(n<0){if(e===0)return dD(t,null,n);e--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>e)return dD(t,ut(r.id.client,r.id.clock+e),n);e-=r.length}if(r.right===null&&n<0)return dD(t,r.lastId,n);r=r.right}return dD(t,null,n)};var RY=(t,e)=>{let n=e.store,r=t.item,i=t.type,o=t.tname,a=t.assoc,s=null,l=0;if(r!==null){if(Yn(n,r.client)<=r.clock)return null;let c=I8(n,r),d=c.item;if(!(d instanceof Zt))return null;if(s=d.parent,s._item===null||!s._item.deleted){l=d.deleted||!d.countable?0:c.diff+(a>=0?0:1);let u=d.left;for(;u!==null;)!u.deleted&&u.countable&&(l+=u.length),u=u.left}}else{if(o!==null)s=e.get(o);else if(i!==null){if(Yn(n,i.client)<=i.clock)return null;let{item:c}=I8(n,i);if(c instanceof Zt&&c.content instanceof Ko)s=c.content.type;else return null}else throw qi();a>=0?l=s._length:l=0}return dke(s,l,t.assoc)},R8=(t,e)=>t===e||t!==null&&e!==null&&t.tname===e.tname&&xm(t.item,e.item)&&xm(t.type,e.type)&&t.assoc===e.assoc,Dm=class{constructor(e,n){this.ds=e,this.sv=n}};var ID=(t,e)=>new Dm(t,e),fet=ID(ED(),new Map),jY=t=>ID(TY(t.store),r_(t.store)),bf=(t,e)=>e===void 0?!t.deleted:e.sv.has(t.id.client)&&(e.sv.get(t.id.client)||0)>t.id.clock&&!kf(e.ds,t.id),w8=(t,e)=>{let n=$i(t.meta,w8,ho),r=t.doc.store;n.has(e)||(e.sv.forEach((i,o)=>{i<Yn(r,o)&&Wi(t,ut(o,i))}),Ml(t,e.ds,i=>{}),n.add(e))};var wD=class{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}},r_=t=>{let e=new Map;return t.clients.forEach((n,r)=>{let i=n[n.length-1];e.set(r,i.id.clock+i.length)}),e},Yn=(t,e)=>{let n=t.clients.get(e);if(n===void 0)return 0;let r=n[n.length-1];return r.id.clock+r.length},zY=(t,e)=>{let n=t.clients.get(e.id.client);if(n===void 0)n=[],t.clients.set(e.id.client,n);else{let r=n[n.length-1];if(r.id.clock+r.length!==e.id.clock)throw qi()}n.push(e)},Ds=(t,e)=>{let n=0,r=t.length-1,i=t[r],o=i.id.clock;if(o===e)return r;let a=ai(e/(o+i.length-1)*r);for(;n<=r;){if(i=t[a],o=i.id.clock,o<=e){if(e<o+i.length)return a;n=a+1}else r=a-1;a=ai((n+r)/2)}throw qi()},uke=(t,e)=>{let n=t.clients.get(e.client);return n[Ds(n,e.clock)]},hD=uke,v8=(t,e,n)=>{let r=Ds(e,n),i=e[r];return i.id.clock<n&&i instanceof Zt?(e.splice(r+1,0,SD(t,i,n-i.id.clock)),r+1):r},Wi=(t,e)=>{let n=t.doc.store.clients.get(e.client);return n[v8(t,n,e.clock)]},_Y=(t,e,n)=>{let r=e.clients.get(n.client),i=Ds(r,n.clock),o=r[i];return n.clock!==o.id.clock+o.length-1&&o.constructor!==Gi&&r.splice(i+1,0,SD(t,o,n.clock-o.id.clock+1)),o},fke=(t,e,n)=>{let r=t.clients.get(e.id.client);r[Ds(r,e.id.clock)]=n},LY=(t,e,n,r,i)=>{if(r===0)return;let o=n+r,a=v8(t,e,n),s;do s=e[a++],o<s.id.clock+s.length&&v8(t,e,o),i(s);while(a<e.length&&e[a].id.clock<o)},k8=class{constructor(e,n,r){this.doc=e,this.deleteSet=new Zc,this.beforeState=r_(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}},wY=(t,e)=>e.deleteSet.clients.size===0&&!vG(e.afterState,(n,r)=>e.beforeState.get(r)!==n)?!1:(P8(e.deleteSet),rke(t,e),Tm(t,e.deleteSet),!0),vY=(t,e,n)=>{let r=e._item;(r===null||r.id.clock<(t.beforeState.get(r.id.client)||0)&&!r.deleted)&&$i(t.changed,e,ho).add(n)},pD=(t,e)=>{let n=t[e],r=t[e-1],i=e;for(;i>0;n=r,r=t[--i-1]){if(r.deleted===n.deleted&&r.constructor===n.constructor&&r.mergeWith(n)){n instanceof Zt&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,r);continue}break}let o=e-i;return o&&t.splice(e+1-o,o),o},hke=(t,e,n)=>{for(let[r,i]of t.clients.entries()){let o=e.clients.get(r);for(let a=i.length-1;a>=0;a--){let s=i[a],l=s.clock+s.len;for(let c=Ds(o,s.clock),d=o[c];c<o.length&&d.id.clock<l;d=o[++c]){let u=o[c];if(s.clock+s.len<=u.id.clock)break;u instanceof Zt&&u.deleted&&!u.keep&&n(u)&&u.gc(e,!1)}}}},pke=(t,e)=>{t.clients.forEach((n,r)=>{let i=e.clients.get(r);for(let o=n.length-1;o>=0;o--){let a=n[o],s=po(i.length-1,1+Ds(i,a.clock+a.len-1));for(let l=s,c=i[l];l>0&&c.id.clock>=a.clock;c=i[l])l-=1+pD(i,l)}})};var BY=(t,e)=>{if(e<t.length){let n=t[e],r=n.doc,i=r.store,o=n.deleteSet,a=n._mergeStructs;try{P8(o),n.afterState=r_(n.doc.store),r.emit("beforeObserverCalls",[n,r]);let s=[];n.changed.forEach((l,c)=>s.push(()=>{(c._item===null||!c._item.deleted)&&c._callObserver(n,l)})),s.push(()=>{n.changedParentTypes.forEach((l,c)=>{c._dEH.l.length>0&&(c._item===null||!c._item.deleted)&&(l=l.filter(d=>d.target._item===null||!d.target._item.deleted),l.forEach(d=>{d.currentTarget=c,d._path=null}),l.sort((d,u)=>d.path.length-u.path.length),NY(c._dEH,l,n))})}),s.push(()=>r.emit("afterTransaction",[n,r])),Vb(s,[]),n._needFormattingCleanup&&Ike(n)}finally{r.gc&&hke(o,i,r.gcFilter),pke(o,i),n.afterState.forEach((d,u)=>{let f=n.beforeState.get(u)||0;if(f!==d){let h=i.clients.get(u),p=Go(Ds(h,f),1);for(let g=h.length-1;g>=p;)g-=1+pD(h,g)}});for(let d=a.length-1;d>=0;d--){let{client:u,clock:f}=a[d].id,h=i.clients.get(u),p=Ds(h,f);p+1<h.length&&pD(h,p+1)>1||p>0&&pD(h,p)}if(!n.local&&n.afterState.get(r.clientID)!==n.beforeState.get(r.clientID)&&(lY(km,Ub,"[yjs] ",Hb,$b,"Changed the client-id because another client seems to be using it."),r.clientID=AY()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){let d=new _f;wY(d,n)&&r.emit("update",[d.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){let d=new Al;wY(d,n)&&r.emit("updateV2",[d.toUint8Array(),n.origin,r,n])}let{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(d=>{d.clientID=r.clientID,d.collectionid==null&&(d.collectionid=r.collectionid),r.subdocs.add(d)}),c.forEach(d=>r.subdocs.delete(d)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(d=>d.destroy())),t.length<=e+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,t])):BY(t,e+1)}}},dn=(t,e,n=null,r=!0)=>{let i=t._transactionCleanups,o=!1,a=null;t._transaction===null&&(o=!0,t._transaction=new k8(t,n,r),i.push(t._transaction),i.length===1&&t.emit("beforeAllTransactions",[t]),t.emit("beforeTransaction",[t._transaction,t]));try{a=e(t._transaction)}finally{if(o){let s=t._transaction===i[0];t._transaction=null,s&&BY(i,0)}}return a},x8=class{constructor(e,n){this.insertions=n,this.deletions=e,this.meta=new Map}},kY=(t,e,n)=>{Ml(t,n.deletions,r=>{r instanceof Zt&&e.scope.some(i=>Cm(i,r))&&U8(r,!1)})},xY=(t,e,n)=>{let r=null,i=null,o=t.doc,a=t.scope;if(dn(o,s=>{for(;e.length>0&&r===null;){let l=o.store,c=e.pop(),d=new Set,u=[],f=!1;Ml(s,c.insertions,h=>{if(h instanceof Zt){if(h.redone!==null){let{item:p,diff:g}=I8(l,h.id);g>0&&(p=Wi(s,ut(p.id.client,p.id.clock+g))),h=p}!h.deleted&&a.some(p=>Cm(p,h))&&u.push(h)}}),Ml(s,c.deletions,h=>{h instanceof Zt&&a.some(p=>Cm(p,h))&&!kf(c.insertions,h.id)&&d.add(h)}),d.forEach(h=>{f=iK(s,h,d,c.insertions,t.ignoreRemoteMapChanges,t)!==null||f});for(let h=u.length-1;h>=0;h--){let p=u[h];t.deleteFilter(p)&&(p.delete(s),f=!0)}r=f?c:null}s.changed.forEach((l,c)=>{l.has(null)&&c._searchMarker&&(c._searchMarker.length=0)}),i=s},t),r!=null){let s=i.changedParentTypes;t.emit("stack-item-popped",[{stackItem:r,type:n,changedParentTypes:s},t])}return r},Sm=class extends Cl{constructor(e,{captureTimeout:n=500,captureTransaction:r=l=>!0,deleteFilter:i=()=>!0,trackedOrigins:o=new Set([null]),ignoreRemoteMapChanges:a=!1,doc:s=Nb(e)?e[0].doc:e.doc}={}){super(),this.scope=[],this.doc=s,this.addToScope(e),this.deleteFilter=i,o.add(this),this.trackedOrigins=o,this.captureTransaction=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.lastChange=0,this.ignoreRemoteMapChanges=a,this.captureTimeout=n,this.afterTransactionHandler=l=>{if(!this.captureTransaction(l)||!this.scope.some(b=>l.changedParentTypes.has(b))||!this.trackedOrigins.has(l.origin)&&(!l.origin||!this.trackedOrigins.has(l.origin.constructor)))return;let c=this.undoing,d=this.redoing,u=c?this.redoStack:this.undoStack;c?this.stopCapturing():d||this.clear(!1,!0);let f=new Zc;l.afterState.forEach((b,_)=>{let x=l.beforeState.get(_)||0,E=b-x;E>0&&Gb(f,_,x,E)});let h=go(),p=!1;if(this.lastChange>0&&h-this.lastChange<this.captureTimeout&&u.length>0&&!c&&!d){let b=u[u.length-1];b.deletions=g8([b.deletions,l.deleteSet]),b.insertions=g8([b.insertions,f])}else u.push(new x8(l.deleteSet,f)),p=!0;!c&&!d&&(this.lastChange=h),Ml(l,l.deleteSet,b=>{b instanceof Zt&&this.scope.some(_=>Cm(_,b))&&U8(b,!0)});let g=[{stackItem:u[u.length-1],origin:l.origin,type:c?"redo":"undo",changedParentTypes:l.changedParentTypes},this];p?this.emit("stack-item-added",g):this.emit("stack-item-updated",g)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(e){e=Nb(e)?e:[e],e.forEach(n=>{this.scope.every(r=>r!==n)&&(n.doc!==this.doc&&cY("[yjs#509] Not same Y.Doc"),this.scope.push(n))})}addTrackedOrigin(e){this.trackedOrigins.add(e)}removeTrackedOrigin(e){this.trackedOrigins.delete(e)}clear(e=!0,n=!0){(e&&this.canUndo()||n&&this.canRedo())&&this.doc.transact(r=>{e&&(this.undoStack.forEach(i=>kY(r,this,i)),this.undoStack=[]),n&&(this.redoStack.forEach(i=>kY(r,this,i)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:e,redoStackCleared:n}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let e;try{e=xY(this,this.undoStack,"undo")}finally{this.undoing=!1}return e}redo(){this.redoing=!0;let e;try{e=xY(this,this.redoStack,"redo")}finally{this.redoing=!1}return e}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}};function*mke(t){let e=Je(t.restDecoder);for(let n=0;n<e;n++){let r=Je(t.restDecoder),i=t.readClient(),o=Je(t.restDecoder);for(let a=0;a<r;a++){let s=t.readInfo();if(s===10){let l=Je(t.restDecoder);yield new Yi(ut(i,o),l),o+=l}else if(31&s){let l=(s&192)===0,c=new Zt(ut(i,o),null,(s&128)===128?t.readLeftID():null,null,(s&64)===64?t.readRightID():null,l?t.readParentInfo()?t.readString():t.readLeftID():null,l&&(s&32)===32?t.readString():null,oK(t,s));yield c,o+=c.length}else{let l=t.readLen();yield new Gi(ut(i,o),l),o+=l}}}}var Yb=class{constructor(e,n){this.gen=mke(e),this.curr=null,this.done=!1,this.filterSkips=n,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&&this.curr!==null&&this.curr.constructor===Yi);return this.curr}};var Kb=class{constructor(e){this.currClient=0,this.startClock=0,this.written=0,this.encoder=e,this.clientStructs=[]}},gke=t=>vD(t,yD,_f);var yke=(t,e)=>{if(t.constructor===Gi){let{client:n,clock:r}=t.id;return new Gi(ut(n,r+e),t.length-e)}else if(t.constructor===Yi){let{client:n,clock:r}=t.id;return new Yi(ut(n,r+e),t.length-e)}else{let n=t,{client:r,clock:i}=n.id;return new Zt(ut(r,i+e),null,ut(r,i+e-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(e))}},vD=(t,e=Xc,n=Al)=>{if(t.length===1)return t[0];let r=t.map(d=>new e(Ta(d))),i=r.map(d=>new Yb(d,!0)),o=null,a=new n,s=new Kb(a);for(;i=i.filter(f=>f.curr!==null),i.sort((f,h)=>{if(f.curr.id.client===h.curr.id.client){let p=f.curr.id.clock-h.curr.id.clock;return p===0?f.curr.constructor===h.curr.constructor?0:f.curr.constructor===Yi?1:-1:p}else return h.curr.id.client-f.curr.id.client}),i.length!==0;){let d=i[0],u=d.curr.id.client;if(o!==null){let f=d.curr,h=!1;for(;f!==null&&f.id.clock+f.length<=o.struct.id.clock+o.struct.length&&f.id.client>=o.struct.id.client;)f=d.next(),h=!0;if(f===null||f.id.client!==u||h&&f.id.clock>o.struct.id.clock+o.struct.length)continue;if(u!==o.struct.id.client)Gc(s,o.struct,o.offset),o={struct:f,offset:0},d.next();else if(o.struct.id.clock+o.struct.length<f.id.clock)if(o.struct.constructor===Yi)o.struct.length=f.id.clock+f.length-o.struct.id.clock;else{Gc(s,o.struct,o.offset);let p=f.id.clock-o.struct.id.clock-o.struct.length;o={struct:new Yi(ut(u,o.struct.id.clock+o.struct.length),p),offset:0}}else{let p=o.struct.id.clock+o.struct.length-f.id.clock;p>0&&(o.struct.constructor===Yi?o.struct.length-=p:f=yke(f,p)),o.struct.mergeWith(f)||(Gc(s,o.struct,o.offset),o={struct:f,offset:0},d.next())}}else o={struct:d.curr,offset:0},d.next();for(let f=d.curr;f!==null&&f.id.client===u&&f.id.clock===o.struct.id.clock+o.struct.length&&f.constructor!==Yi;f=d.next())Gc(s,o.struct,o.offset),o={struct:f,offset:0}}o!==null&&(Gc(s,o.struct,o.offset),o=null),j8(s);let l=r.map(d=>F8(d)),c=g8(l);return Tm(a,c),a.toUint8Array()},bke=(t,e,n=Xc,r=Al)=>{let i=OY(e),o=new r,a=new Kb(o),s=new n(Ta(t)),l=new Yb(s,!1);for(;l.curr;){let d=l.curr,u=d.id.client,f=i.get(u)||0;if(l.curr.constructor===Yi){l.next();continue}if(d.id.clock+d.length>f)for(Gc(a,d,Go(f-d.id.clock,0)),l.next();l.curr&&l.curr.id.client===u;)Gc(a,l.curr,0),l.next();else for(;l.curr&&l.curr.id.client===u&&l.curr.id.clock+l.curr.length<=f;)l.next()}j8(a);let c=F8(s);return Tm(o,c),o.toUint8Array()};var VY=t=>{t.written>0&&(t.clientStructs.push({written:t.written,restEncoder:yn(t.encoder.restEncoder)}),t.encoder.restEncoder=gr(),t.written=0)},Gc=(t,e,n)=>{t.written>0&&t.currClient!==e.id.client&&VY(t),t.written===0&&(t.currClient=e.id.client,t.encoder.writeClient(e.id.client),Fe(t.encoder.restEncoder,e.id.clock+n)),e.write(t.encoder,n),t.written++},j8=t=>{VY(t);let e=t.encoder.restEncoder;Fe(e,t.clientStructs.length);for(let n=0;n<t.clientStructs.length;n++){let r=t.clientStructs[n];Fe(e,r.written),jb(e,r.restEncoder)}},_ke=(t,e,n,r)=>{let i=new n(Ta(t)),o=new Yb(i,!1),a=new r,s=new Kb(a);for(let c=o.curr;c!==null;c=o.next())Gc(s,e(c),0);j8(s);let l=F8(i);return Tm(a,l),a.toUint8Array()};var wke=t=>_ke(t,GG,Xc,_f),CY="You must not compute changes after the event-handler fired.",Em=class{constructor(e,n){this.target=e,this.currentTarget=e,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=vke(this.currentTarget,this.target))}deletes(e){return kf(this.transaction.deleteSet,e.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw vs(CY);let e=new Map,n=this.target;this.transaction.changed.get(n).forEach(i=>{if(i!==null){let o=n._map.get(i),a,s;if(this.adds(o)){let l=o.left;for(;l!==null&&this.adds(l);)l=l.left;if(this.deletes(o))if(l!==null&&this.deletes(l))a="delete",s=YC(l.content.getContent());else return;else l!==null&&this.deletes(l)?(a="update",s=YC(l.content.getContent())):(a="add",s=void 0)}else if(this.deletes(o))a="delete",s=YC(o.content.getContent());else return;e.set(i,{action:a,oldValue:s})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(e===null){if(this.transaction.doc._transactionCleanups.length===0)throw vs(CY);let n=this.target,r=ho(),i=ho(),o=[];if(e={added:r,deleted:i,delta:o,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null,l=()=>{s&&o.push(s)};for(let c=n._start;c!==null;c=c.right)c.deleted?this.deletes(c)&&!this.adds(c)&&((s===null||s.delete===void 0)&&(l(),s={delete:0}),s.delete+=c.length,i.add(c)):this.adds(c)?((s===null||s.insert===void 0)&&(l(),s={insert:[]}),s.insert=s.insert.concat(c.content.getContent()),r.add(c)):((s===null||s.retain===void 0)&&(l(),s={retain:0}),s.retain+=c.length);s!==null&&s.retain===void 0&&l()}this._changes=e}return e}},vke=(t,e)=>{let n=[];for(;e._item!==null&&e!==t;){if(e._item.parentSub!==null)n.unshift(e._item.parentSub);else{let r=0,i=e._item.parent._start;for(;i!==e._item&&i!==null;)i.deleted||r++,i=i.right;n.unshift(r)}e=e._item.parent}return n},UY=80,z8=0,C8=class{constructor(e,n){e.marker=!0,this.p=e,this.index=n,this.timestamp=z8++}},kke=t=>{t.timestamp=z8++},HY=(t,e,n)=>{t.p.marker=!1,t.p=e,e.marker=!0,t.index=n,t.timestamp=z8++},xke=(t,e,n)=>{if(t.length>=UY){let r=t.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return HY(r,e,n),r}else{let r=new C8(e,n);return t.push(r),r}},OD=(t,e)=>{if(t._start===null||e===0||t._searchMarker===null)return null;let n=t._searchMarker.length===0?null:t._searchMarker.reduce((o,a)=>cm(e-o.index)<cm(e-a.index)?o:a),r=t._start,i=0;for(n!==null&&(r=n.p,i=n.index,kke(n));r.right!==null&&i<e;){if(!r.deleted&&r.countable){if(e<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>e;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return n!==null&&cm(n.index-i)<r.parent.length/UY?(HY(n,r,i),n):xke(t._searchMarker,r,i)},Zb=(t,e,n)=>{for(let r=t.length-1;r>=0;r--){let i=t[r];if(n>0){let o=i.p;for(o.marker=!1;o&&(o.deleted||!o.countable);)o=o.left,o&&!o.deleted&&o.countable&&(i.index-=o.length);if(o===null||o.marker===!0){t.splice(r,1);continue}i.p=o,o.marker=!0}(e<i.index||n>0&&e===i.index)&&(i.index=Go(e,i.index+n))}};var PD=(t,e,n)=>{let r=t,i=e.changedParentTypes;for(;$i(i,t,()=>[]).push(n),t._item!==null;)t=t._item.parent;NY(r._eH,n,e)},br=class{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=gY(),this._dEH=gY(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,n){this.doc=e,this._item=n}_copy(){throw mo()}clone(){throw mo()}_write(e){}get _first(){let e=this._start;for(;e!==null&&e.deleted;)e=e.right;return e}_callObserver(e,n){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){yY(this._eH,e)}observeDeep(e){yY(this._dEH,e)}unobserve(e){bY(this._eH,e)}unobserveDeep(e){bY(this._dEH,e)}toJSON(){}},$Y=(t,e,n)=>{e<0&&(e=t._length+e),n<0&&(n=t._length+n);let r=n-e,i=[],o=t._start;for(;o!==null&&r>0;){if(o.countable&&!o.deleted){let a=o.content.getContent();if(a.length<=e)e-=a.length;else{for(let s=e;s<a.length&&r>0;s++)i.push(a[s]),r--;e=0}}o=o.right}return i},qY=t=>{let e=[],n=t._start;for(;n!==null;){if(n.countable&&!n.deleted){let r=n.content.getContent();for(let i=0;i<r.length;i++)e.push(r[i])}n=n.right}return e},L8=(t,e)=>{let n=[],r=t._start;for(;r!==null;){if(r.countable&&bf(r,e)){let i=r.content.getContent();for(let o=0;o<i.length;o++)n.push(i[o])}r=r.right}return n},Xb=(t,e)=>{let n=0,r=t._start;for(;r!==null;){if(r.countable&&!r.deleted){let i=r.content.getContent();for(let o=0;o<i.length;o++)e(i[o],n++,t)}r=r.right}},WY=(t,e)=>{let n=[];return Xb(t,(r,i)=>{n.push(e(r,i,t))}),n},Cke=t=>{let e=t._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;e!==null&&e.deleted;)e=e.right;if(e===null)return{done:!0,value:void 0};n=e.content.getContent(),r=0,e=e.right}let i=n[r++];return n.length<=r&&(n=null),{done:!1,value:i}}}},GY=(t,e)=>{let n=OD(t,e),r=t._start;for(n!==null&&(r=n.p,e-=n.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(e<r.length)return r.content.getContent()[e];e-=r.length}},kD=(t,e,n,r)=>{let i=n,o=t.doc,a=o.clientID,s=o.store,l=n===null?e._start:n.right,c=[],d=()=>{c.length>0&&(i=new Zt(ut(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Mm(c)),i.integrate(t,0),c=[])};r.forEach(u=>{if(u===null)c.push(u);else switch(u.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(u);break;default:switch(d(),u.constructor){case Uint8Array:case ArrayBuffer:i=new Zt(ut(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new t_(new Uint8Array(u))),i.integrate(t,0);break;case Tl:i=new Zt(ut(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new n_(u)),i.integrate(t,0);break;default:if(u instanceof br)i=new Zt(ut(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Ko(u)),i.integrate(t,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},YY=()=>vs("Length exceeded!"),KY=(t,e,n,r)=>{if(n>e._length)throw YY();if(n===0)return e._searchMarker&&Zb(e._searchMarker,n,r.length),kD(t,e,null,r);let i=n,o=OD(e,n),a=e._start;for(o!==null&&(a=o.p,n-=o.index,n===0&&(a=a.prev,n+=a&&a.countable&&!a.deleted?a.length:0));a!==null;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){n<a.length&&Wi(t,ut(a.id.client,a.id.clock+n));break}n-=a.length}return e._searchMarker&&Zb(e._searchMarker,i,r.length),kD(t,e,a,r)},Dke=(t,e,n)=>{let i=(e._searchMarker||[]).reduce((o,a)=>a.index>o.index?a:o,{index:0,p:e._start}).p;if(i)for(;i.right;)i=i.right;return kD(t,e,i,n)},ZY=(t,e,n,r)=>{if(r===0)return;let i=n,o=r,a=OD(e,n),s=e._start;for(a!==null&&(s=a.p,n-=a.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Wi(t,ut(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&Wi(t,ut(s.id.client,s.id.clock+r)),s.delete(t),r-=s.length),s=s.right;if(r>0)throw YY();e._searchMarker&&Zb(e._searchMarker,i,-o+r)},xD=(t,e,n)=>{let r=e._map.get(n);r!==void 0&&r.delete(t)},B8=(t,e,n,r)=>{let i=e._map.get(n)||null,o=t.doc,a=o.clientID,s;if(r==null)s=new Mm([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new Mm([r]);break;case Uint8Array:s=new t_(r);break;case Tl:s=new n_(r);break;default:if(r instanceof br)s=new Ko(r);else throw new Error("Unexpected content type")}new Zt(ut(a,Yn(o.store,a)),i,i&&i.lastId,null,null,e,n,s).integrate(t,0)},V8=(t,e)=>{let n=t._map.get(e);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},XY=t=>{let e={};return t._map.forEach((n,r)=>{n.deleted||(e[r]=n.content.getContent()[n.length-1])}),e},QY=(t,e)=>{let n=t._map.get(e);return n!==void 0&&!n.deleted};var Ske=(t,e)=>{let n={};return t._map.forEach((r,i)=>{let o=r;for(;o!==null&&(!e.sv.has(o.id.client)||o.id.clock>=(e.sv.get(o.id.client)||0));)o=o.left;o!==null&&bf(o,e)&&(n[i]=o.content.getContent()[o.length-1])}),n},uD=t=>fY(t.entries(),e=>!e[1].deleted),D8=class extends Em{constructor(e,n){super(e,n),this._transaction=n}},CD=class t extends br{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){let n=new t;return n.push(e),n}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return e.insert(0,this.toArray().map(n=>n instanceof br?n.clone():n)),e}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}_callObserver(e,n){super._callObserver(e,n),PD(this,e,new D8(this,e))}insert(e,n){this.doc!==null?dn(this.doc,r=>{KY(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}push(e){this.doc!==null?dn(this.doc,n=>{Dke(n,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,n=1){this.doc!==null?dn(this.doc,r=>{ZY(r,this,e,n)}):this._prelimContent.splice(e,n)}get(e){return GY(this,e)}toArray(){return qY(this)}slice(e=0,n=this.length){return $Y(this,e,n)}toJSON(){return this.map(e=>e instanceof br?e.toJSON():e)}map(e){return WY(this,e)}forEach(e){Xb(this,e)}[Symbol.iterator](){return Cke(this)}_write(e){e.writeTypeRef(Gke)}},Eke=t=>new CD,S8=class extends Em{constructor(e,n,r){super(e,n),this.keysChanged=r}},Qb=class t extends br{constructor(e){super(),this._prelimContent=null,e===void 0?this._prelimContent=new Map:this._prelimContent=new Map(e)}_integrate(e,n){super._integrate(e,n),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return this.forEach((n,r)=>{e.set(r,n instanceof br?n.clone():n)}),e}_callObserver(e,n){PD(this,e,new S8(this,e,n))}toJSON(){let e={};return this._map.forEach((n,r)=>{if(!n.deleted){let i=n.content.getContent()[n.length-1];e[r]=i instanceof br?i.toJSON():i}}),e}get size(){return[...uD(this._map)].length}keys(){return cD(uD(this._map),e=>e[0])}values(){return cD(uD(this._map),e=>e[1].content.getContent()[e[1].length-1])}entries(){return cD(uD(this._map),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){this._map.forEach((n,r)=>{n.deleted||e(n.content.getContent()[n.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(e){this.doc!==null?dn(this.doc,n=>{xD(n,this,e)}):this._prelimContent.delete(e)}set(e,n){return this.doc!==null?dn(this.doc,r=>{B8(r,this,e,n)}):this._prelimContent.set(e,n),n}get(e){return V8(this,e)}has(e){return QY(this,e)}clear(){this.doc!==null?dn(this.doc,e=>{this.forEach(function(n,r,i){xD(e,i,r)})}):this._prelimContent.clear()}_write(e){e.writeTypeRef(Yke)}},Mke=t=>new Qb,Yc=(t,e)=>t===e||typeof t=="object"&&typeof e=="object"&&t&&e&&i8(t,e),Jb=class{constructor(e,n,r,i){this.left=e,this.right=n,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&qi(),this.right.content.constructor){case Kn:this.right.deleted||Om(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}},DY=(t,e,n)=>{for(;e.right!==null&&n>0;){switch(e.right.content.constructor){case Kn:e.right.deleted||Om(e.currentAttributes,e.right.content);break;default:e.right.deleted||(n<e.right.length&&Wi(t,ut(e.right.id.client,e.right.id.clock+n)),e.index+=e.right.length,n-=e.right.length);break}e.left=e.right,e.right=e.right.right}return e},fD=(t,e,n)=>{let r=new Map,i=OD(e,n);if(i){let o=new Jb(i.p.left,i.p,i.index,r);return DY(t,o,n-i.index)}else{let o=new Jb(null,e._start,0,r);return DY(t,o,n)}},JY=(t,e,n,r)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===Kn&&Yc(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();let i=t.doc,o=i.clientID;r.forEach((a,s)=>{let l=n.left,c=n.right,d=new Zt(ut(o,Yn(i.store,o)),l,l&&l.lastId,c,c&&c.id,e,null,new Kn(s,a));d.integrate(t,0),n.right=d,n.forward()})},Om=(t,e)=>{let{key:n,value:r}=e;r===null?t.delete(n):t.set(n,r)},eK=(t,e)=>{for(;t.right!==null;){if(!(t.right.deleted||t.right.content.constructor===Kn&&Yc(e[t.right.content.key]||null,t.right.content.value)))break;t.forward()}},tK=(t,e,n,r)=>{let i=t.doc,o=i.clientID,a=new Map;for(let s in r){let l=r[s],c=n.currentAttributes.get(s)||null;if(!Yc(c,l)){a.set(s,c);let{left:d,right:u}=n;n.right=new Zt(ut(o,Yn(i.store,o)),d,d&&d.lastId,u,u&&u.id,e,null,new Kn(s,l)),n.right.integrate(t,0),n.forward()}}return a},m8=(t,e,n,r,i)=>{n.currentAttributes.forEach((f,h)=>{i[h]===void 0&&(i[h]=null)});let o=t.doc,a=o.clientID;eK(n,i);let s=tK(t,e,n,i),l=r.constructor===String?new Aa(r):r instanceof br?new Ko(r):new vf(r),{left:c,right:d,index:u}=n;e._searchMarker&&Zb(e._searchMarker,n.index,l.getLength()),d=new Zt(ut(a,Yn(o.store,a)),c,c&&c.lastId,d,d&&d.id,e,null,l),d.integrate(t,0),n.right=d,n.index=u,n.forward(),JY(t,e,n,s)},SY=(t,e,n,r,i)=>{let o=t.doc,a=o.clientID;eK(n,i);let s=tK(t,e,n,i);e:for(;n.right!==null&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===Kn));){if(!n.right.deleted)switch(n.right.content.constructor){case Kn:{let{key:l,value:c}=n.right.content,d=i[l];if(d!==void 0){if(Yc(d,c))s.delete(l);else{if(r===0)break e;s.set(l,c)}n.right.delete(t)}else n.currentAttributes.set(l,c);break}default:r<n.right.length&&Wi(t,ut(n.right.id.client,n.right.id.clock+r)),r-=n.right.length;break}n.forward()}if(r>0){let l="";for(;r>0;r--)l+=` -`;n.right=new Zt(ut(a,Yn(o.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,e,null,new Aa(l)),n.right.integrate(t,0),n.forward()}JY(t,e,n,s)},nK=(t,e,n,r,i)=>{let o=e,a=Hr();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===Kn){let c=o.content;a.set(c.key,c)}o=o.right}let s=0,l=!1;for(;e!==o;){if(n===e&&(l=!0),!e.deleted){let c=e.content;switch(c.constructor){case Kn:{let{key:d,value:u}=c,f=r.get(d)||null;(a.get(d)!==c||f===u)&&(e.delete(t),s++,!l&&(i.get(d)||null)===u&&f!==u&&(f===null?i.delete(d):i.set(d,f))),!l&&!e.deleted&&Om(i,c);break}}}e=e.right}return s},Tke=(t,e)=>{for(;e&&e.right&&(e.right.deleted||!e.right.countable);)e=e.right;let n=new Set;for(;e&&(e.deleted||!e.countable);){if(!e.deleted&&e.content.constructor===Kn){let r=e.content.key;n.has(r)?e.delete(t):n.add(r)}e=e.left}},Ake=t=>{let e=0;return dn(t.doc,n=>{let r=t._start,i=t._start,o=Hr(),a=GC(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case Kn:Om(a,i.content);break;default:e+=nK(n,r,i,o,a),o=GC(a),r=i;break}i=i.right}}),e},Ike=t=>{let e=new Set,n=t.doc;for(let[r,i]of t.afterState.entries()){let o=t.beforeState.get(r)||0;i!==o&&LY(t,n.store.clients.get(r),o,i,a=>{!a.deleted&&a.content.constructor===Kn&&a.constructor!==Gi&&e.add(a.parent)})}dn(n,r=>{Ml(t,t.deleteSet,i=>{if(i instanceof Gi||!i.parent._hasFormatting||e.has(i.parent))return;let o=i.parent;i.content.constructor===Kn?e.add(o):Tke(r,i)});for(let i of e)Ake(i)})},EY=(t,e,n)=>{let r=n,i=GC(e.currentAttributes),o=e.right;for(;n>0&&e.right!==null;){if(e.right.deleted===!1)switch(e.right.content.constructor){case Ko:case vf:case Aa:n<e.right.length&&Wi(t,ut(e.right.id.client,e.right.id.clock+n)),n-=e.right.length,e.right.delete(t);break}e.forward()}o&&nK(t,o,e.right,i,e.currentAttributes);let a=(e.left||e.right).parent;return a._searchMarker&&Zb(a._searchMarker,e.index,-r+n),e},E8=class extends Em{constructor(e,n,r){super(e,n),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(i=>{i===null?this.childListChanged=!0:this.keysChanged.add(i)})}get changes(){if(this._changes===null){let e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(this._delta===null){let e=this.target.doc,n=[];dn(e,r=>{let i=new Map,o=new Map,a=this.target._start,s=null,l={},c="",d=0,u=0,f=()=>{if(s!==null){let h=null;switch(s){case"delete":u>0&&(h={delete:u}),u=0;break;case"insert":(typeof c=="object"||c.length>0)&&(h={insert:c},i.size>0&&(h.attributes={},i.forEach((p,g)=>{p!==null&&(h.attributes[g]=p)}))),c="";break;case"retain":d>0&&(h={retain:d},WG(l)||(h.attributes=HG({},l))),d=0;break}h&&n.push(h),s=null}};for(;a!==null;){switch(a.content.constructor){case Ko:case vf:this.adds(a)?this.deletes(a)||(f(),s="insert",c=a.content.getContent()[0],f()):this.deletes(a)?(s!=="delete"&&(f(),s="delete"),u+=1):a.deleted||(s!=="retain"&&(f(),s="retain"),d+=1);break;case Aa:this.adds(a)?this.deletes(a)||(s!=="insert"&&(f(),s="insert"),c+=a.content.str):this.deletes(a)?(s!=="delete"&&(f(),s="delete"),u+=a.length):a.deleted||(s!=="retain"&&(f(),s="retain"),d+=a.length);break;case Kn:{let{key:h,value:p}=a.content;if(this.adds(a)){if(!this.deletes(a)){let g=i.get(h)||null;Yc(g,p)?p!==null&&a.delete(r):(s==="retain"&&f(),Yc(p,o.get(h)||null)?delete l[h]:l[h]=p)}}else if(this.deletes(a)){o.set(h,p);let g=i.get(h)||null;Yc(g,p)||(s==="retain"&&f(),l[h]=g)}else if(!a.deleted){o.set(h,p);let g=l[h];g!==void 0&&(Yc(g,p)?g!==null&&a.delete(r):(s==="retain"&&f(),p===null?delete l[h]:l[h]=p))}a.deleted||(s==="insert"&&f(),Om(i,a.content));break}}a=a.right}for(f();n.length>0;){let h=n[n.length-1];if(h.retain!==void 0&&h.attributes===void 0)n.pop();else break}}),this._delta=n}return this._delta}},wf=class t extends br{constructor(e){super(),this._pending=e!==void 0?[()=>this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this._length}_integrate(e,n){super._integrate(e,n);try{this._pending.forEach(r=>r())}catch(r){console.error(r)}this._pending=null}_copy(){return new t}clone(){let e=new t;return e.applyDelta(this.toDelta()),e}_callObserver(e,n){super._callObserver(e,n);let r=new E8(this,e,n);PD(this,e,r),!e.local&&this._hasFormatting&&(e._needFormattingCleanup=!0)}toString(){let e="",n=this._start;for(;n!==null;)!n.deleted&&n.countable&&n.content.constructor===Aa&&(e+=n.content.str),n=n.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:n=!0}={}){this.doc!==null?dn(this.doc,r=>{let i=new Jb(null,this._start,0,new Map);for(let o=0;o<e.length;o++){let a=e[o];if(a.insert!==void 0){let s=!n&&typeof a.insert=="string"&&o===e.length-1&&i.right===null&&a.insert.slice(-1)===` -`?a.insert.slice(0,-1):a.insert;(typeof s!="string"||s.length>0)&&m8(r,this,i,s,a.attributes||{})}else a.retain!==void 0?SY(r,this,i,a.retain,a.attributes||{}):a.delete!==void 0&&EY(r,i,a.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,n,r){let i=[],o=new Map,a=this.doc,s="",l=this._start;function c(){if(s.length>0){let u={},f=!1;o.forEach((p,g)=>{f=!0,u[g]=p});let h={insert:s};f&&(h.attributes=u),i.push(h),s=""}}let d=()=>{for(;l!==null;){if(bf(l,e)||n!==void 0&&bf(l,n))switch(l.content.constructor){case Aa:{let u=o.get("ychange");e!==void 0&&!bf(l,e)?(u===void 0||u.user!==l.id.client||u.type!=="removed")&&(c(),o.set("ychange",r?r("removed",l.id):{type:"removed"})):n!==void 0&&!bf(l,n)?(u===void 0||u.user!==l.id.client||u.type!=="added")&&(c(),o.set("ychange",r?r("added",l.id):{type:"added"})):u!==void 0&&(c(),o.delete("ychange")),s+=l.content.str;break}case Ko:case vf:{c();let u={insert:l.content.getContent()[0]};if(o.size>0){let f={};u.attributes=f,o.forEach((h,p)=>{f[p]=h})}i.push(u);break}case Kn:bf(l,e)&&(c(),Om(o,l.content));break}l=l.right}c()};return e||n?dn(a,u=>{e&&w8(u,e),n&&w8(u,n),d()},"cleanup"):d(),i}insert(e,n,r){if(n.length<=0)return;let i=this.doc;i!==null?dn(i,o=>{let a=fD(o,this,e);r||(r={},a.currentAttributes.forEach((s,l)=>{r[l]=s})),m8(o,this,a,n,r)}):this._pending.push(()=>this.insert(e,n,r))}insertEmbed(e,n,r={}){let i=this.doc;i!==null?dn(i,o=>{let a=fD(o,this,e);m8(o,this,a,n,r)}):this._pending.push(()=>this.insertEmbed(e,n,r))}delete(e,n){if(n===0)return;let r=this.doc;r!==null?dn(r,i=>{EY(i,fD(i,this,e),n)}):this._pending.push(()=>this.delete(e,n))}format(e,n,r){if(n===0)return;let i=this.doc;i!==null?dn(i,o=>{let a=fD(o,this,e);a.right!==null&&SY(o,this,a,n,r)}):this._pending.push(()=>this.format(e,n,r))}removeAttribute(e){this.doc!==null?dn(this.doc,n=>{xD(n,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,n){this.doc!==null?dn(this.doc,r=>{B8(r,this,e,n)}):this._pending.push(()=>this.setAttribute(e,n))}getAttribute(e){return V8(this,e)}getAttributes(){return XY(this)}_write(e){e.writeTypeRef(Kke)}},Oke=t=>new wf,qb=class{constructor(e,n=()=>!0){this._filter=n,this._root=e,this._currentNode=e._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let e=this._currentNode,n=e&&e.content&&e.content.type;if(e!==null&&(!this._firstCall||e.deleted||!this._filter(n)))do if(n=e.content.type,!e.deleted&&(n.constructor===Di||n.constructor===Il)&&n._start!==null)e=n._start;else for(;e!==null;)if(e.right!==null){e=e.right;break}else e.parent===this._root?e=null:e=e.parent._item;while(e!==null&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,e===null?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}},Il=class t extends br{constructor(){super(),this._prelimContent=[]}get firstChild(){let e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return e.insert(0,this.toArray().map(n=>n instanceof br?n.clone():n)),e}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(e){return new qb(this,e)}querySelector(e){e=e.toUpperCase();let r=new qb(this,i=>i.nodeName&&i.nodeName.toUpperCase()===e).next();return r.done?null:r.value}querySelectorAll(e){return e=e.toUpperCase(),ws(new qb(this,n=>n.nodeName&&n.nodeName.toUpperCase()===e))}_callObserver(e,n){PD(this,e,new M8(this,n,e))}toString(){return WY(this,e=>e.toString()).join("")}toJSON(){return this.toString()}toDOM(e=document,n={},r){let i=e.createDocumentFragment();return r!==void 0&&r._createAssociation(i,this),Xb(this,o=>{i.insertBefore(o.toDOM(e,n,r),null)}),i}insert(e,n){this.doc!==null?dn(this.doc,r=>{KY(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}insertAfter(e,n){if(this.doc!==null)dn(this.doc,r=>{let i=e&&e instanceof br?e._item:e;kD(r,this,i,n)});else{let r=this._prelimContent,i=e===null?0:r.findIndex(o=>o===e)+1;if(i===0&&e!==null)throw vs("Reference item not found");r.splice(i,0,...n)}}delete(e,n=1){this.doc!==null?dn(this.doc,r=>{ZY(r,this,e,n)}):this._prelimContent.splice(e,n)}toArray(){return qY(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return GY(this,e)}slice(e=0,n=this.length){return $Y(this,e,n)}forEach(e){Xb(this,e)}_write(e){e.writeTypeRef(Xke)}},Pke=t=>new Il,Di=class t extends Il{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){let e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){let e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,n){super._integrate(e,n),this._prelimAttrs.forEach((r,i)=>{this.setAttribute(i,r)}),this._prelimAttrs=null}_copy(){return new t(this.nodeName)}clone(){let e=new t(this.nodeName),n=this.getAttributes();return $G(n,(r,i)=>{typeof r=="string"&&e.setAttribute(i,r)}),e.insert(0,this.toArray().map(r=>r instanceof br?r.clone():r)),e}toString(){let e=this.getAttributes(),n=[],r=[];for(let s in e)r.push(s);r.sort();let i=r.length;for(let s=0;s<i;s++){let l=r[s];n.push(l+'="'+e[l]+'"')}let o=this.nodeName.toLocaleLowerCase(),a=n.length>0?" "+n.join(" "):"";return`<${o}${a}>${super.toString()}</${o}>`}removeAttribute(e){this.doc!==null?dn(this.doc,n=>{xD(n,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,n){this.doc!==null?dn(this.doc,r=>{B8(r,this,e,n)}):this._prelimAttrs.set(e,n)}getAttribute(e){return V8(this,e)}hasAttribute(e){return QY(this,e)}getAttributes(e){return e?Ske(this,e):XY(this)}toDOM(e=document,n={},r){let i=e.createElement(this.nodeName),o=this.getAttributes();for(let a in o){let s=o[a];typeof s=="string"&&i.setAttribute(a,s)}return Xb(this,a=>{i.appendChild(a.toDOM(e,n,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(e){e.writeTypeRef(Zke),e.writeKey(this.nodeName)}},Fke=t=>new Di(t.readKey()),M8=class extends Em{constructor(e,n,r){super(e,r),this.childListChanged=!1,this.attributesChanged=new Set,n.forEach(i=>{i===null?this.childListChanged=!0:this.attributesChanged.add(i)})}},T8=class t extends Qb{constructor(e){super(),this.hookName=e}_copy(){return new t(this.hookName)}clone(){let e=new t(this.hookName);return this.forEach((n,r)=>{e.set(r,n)}),e}toDOM(e=document,n={},r){let i=n[this.hookName],o;return i!==void 0?o=i.createDom(this):o=document.createElement(this.hookName),o.setAttribute("data-yjs-hook",this.hookName),r!==void 0&&r._createAssociation(o,this),o}_write(e){e.writeTypeRef(Qke),e.writeKey(this.hookName)}},Nke=t=>new T8(t.readKey()),Ki=class t extends wf{get nextSibling(){let e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){let e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new t}clone(){let e=new t;return e.applyDelta(this.toDelta()),e}toDOM(e=document,n,r){let i=e.createTextNode(this.toString());return r!==void 0&&r._createAssociation(i,this),i}toString(){return this.toDelta().map(e=>{let n=[];for(let i in e.attributes){let o=[];for(let a in e.attributes[i])o.push({key:a,value:e.attributes[i][a]});o.sort((a,s)=>a.key<s.key?-1:1),n.push({nodeName:i,attrs:o})}n.sort((i,o)=>i.nodeName<o.nodeName?-1:1);let r="";for(let i=0;i<n.length;i++){let o=n[i];r+=`<${o.nodeName}`;for(let a=0;a<o.attrs.length;a++){let s=o.attrs[a];r+=` ${s.key}="${s.value}"`}r+=">"}r+=e.insert;for(let i=n.length-1;i>=0;i--)r+=`</${n[i].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(Jke)}},Rke=t=>new Ki,e_=class{constructor(e,n){this.id=e,this.length=n}get deleted(){throw mo()}mergeWith(e){return!1}write(e,n,r){throw mo()}integrate(e,n){throw mo()}},jke=0,Gi=class extends e_{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,n){n>0&&(this.id.clock+=n,this.length-=n),zY(e.doc.store,this)}write(e,n){e.writeInfo(jke),e.writeLen(this.length-n)}getMissing(e,n){return null}},t_=class t{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new t(this.content)}splice(e){throw mo()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeBuf(this.content)}getRef(){return 3}},zke=t=>new t_(t.readBuf()),DD=class t{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new t(this.len)}splice(e){let n=new t(this.len-e);return this.len=e,n}mergeWith(e){return this.len+=e.len,!0}integrate(e,n){Gb(e.deleteSet,n.id.client,n.id.clock,this.len),n.markDeleted()}delete(e){}gc(e){}write(e,n){e.writeLen(this.len-n)}getRef(){return 1}},Lke=t=>new DD(t.readLen()),rK=(t,e)=>new Tl(W(S({guid:t},e),{shouldLoad:e.shouldLoad||e.autoLoad||!1})),n_=class t{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;let n={};this.opts=n,e.gc||(n.gc=!1),e.autoLoad&&(n.autoLoad=!0),e.meta!==null&&(n.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new t(rK(this.doc.guid,this.opts))}splice(e){throw mo()}mergeWith(e){return!1}integrate(e,n){this.doc._item=n,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,n){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}},Bke=t=>new n_(rK(t.readString(),t.readAny())),vf=class t{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new t(this.embed)}splice(e){throw mo()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeJSON(this.embed)}getRef(){return 5}},Vke=t=>new vf(t.readJSON()),Kn=class t{constructor(e,n){this.key=e,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new t(this.key,this.value)}splice(e){throw mo()}mergeWith(e){return!1}integrate(e,n){let r=n.parent;r._searchMarker=null,r._hasFormatting=!0}delete(e){}gc(e){}write(e,n){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}},Uke=t=>new Kn(t.readKey(),t.readJSON()),A8=class t{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new t(this.arr)}splice(e){let n=new t(this.arr.slice(e));return this.arr=this.arr.slice(0,e),n}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){let r=this.arr.length;e.writeLen(r-n);for(let i=n;i<r;i++){let o=this.arr[i];e.writeString(o===void 0?"undefined":JSON.stringify(o))}}getRef(){return 2}},Hke=t=>{let e=t.readLen(),n=[];for(let r=0;r<e;r++){let i=t.readString();i==="undefined"?n.push(void 0):n.push(JSON.parse(i))}return new A8(n)},Mm=class t{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new t(this.arr)}splice(e){let n=new t(this.arr.slice(e));return this.arr=this.arr.slice(0,e),n}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){let r=this.arr.length;e.writeLen(r-n);for(let i=n;i<r;i++){let o=this.arr[i];e.writeAny(o)}}getRef(){return 8}},$ke=t=>{let e=t.readLen(),n=[];for(let r=0;r<e;r++)n.push(t.readAny());return new Mm(n)},Aa=class t{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new t(this.str)}splice(e){let n=new t(this.str.slice(e));this.str=this.str.slice(0,e);let r=this.str.charCodeAt(e-1);return r>=55296&&r<=56319&&(this.str=this.str.slice(0,e-1)+"\uFFFD",n.str="\uFFFD"+n.str.slice(1)),n}mergeWith(e){return this.str+=e.str,!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeString(n===0?this.str:this.str.slice(n))}getRef(){return 4}},qke=t=>new Aa(t.readString()),Wke=[Eke,Mke,Oke,Fke,Pke,Nke,Rke],Gke=0,Yke=1,Kke=2,Zke=3,Xke=4,Qke=5,Jke=6,Ko=class t{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new t(this.type._copy())}splice(e){throw mo()}mergeWith(e){return!1}integrate(e,n){this.type._integrate(e.doc,n)}delete(e){let n=this.type._start;for(;n!==null;)n.deleted?n.id.clock<(e.beforeState.get(n.id.client)||0)&&e._mergeStructs.push(n):n.delete(e),n=n.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(e.beforeState.get(r.id.client)||0)&&e._mergeStructs.push(r):r.delete(e)}),e.changed.delete(this.type)}gc(e){let n=this.type._start;for(;n!==null;)n.gc(e,!0),n=n.right;this.type._start=null,this.type._map.forEach(r=>{for(;r!==null;)r.gc(e,!0),r=r.left}),this.type._map=new Map}write(e,n){this.type._write(e)}getRef(){return 7}},exe=t=>new Ko(Wke[t.readTypeRef()](t)),I8=(t,e)=>{let n=e,r=0,i;do r>0&&(n=ut(n.client,n.clock+r)),i=hD(t,n),r=n.clock-i.id.clock,n=i.redone;while(n!==null&&i instanceof Zt);return{item:i,diff:r}},U8=(t,e)=>{for(;t!==null&&t.keep!==e;)t.keep=e,t=t.parent._item},SD=(t,e,n)=>{let{client:r,clock:i}=e.id,o=new Zt(ut(r,i+n),e,ut(r,i+n-1),e.right,e.rightOrigin,e.parent,e.parentSub,e.content.splice(n));return e.deleted&&o.markDeleted(),e.keep&&(o.keep=!0),e.redone!==null&&(o.redone=ut(e.redone.client,e.redone.clock+n)),e.right=o,o.right!==null&&(o.right.left=o),t._mergeStructs.push(o),o.parentSub!==null&&o.right===null&&o.parent._map.set(o.parentSub,o),e.length=n,o},MY=(t,e)=>xG(t,n=>kf(n.deletions,e)),iK=(t,e,n,r,i,o)=>{let a=t.doc,s=a.store,l=a.clientID,c=e.redone;if(c!==null)return Wi(t,c);let d=e.parent._item,u=null,f;if(d!==null&&d.deleted===!0){if(d.redone===null&&(!n.has(d)||iK(t,d,n,r,i,o)===null))return null;for(;d.redone!==null;)d=Wi(t,d.redone)}let h=d===null?e.parent:d.content.type;if(e.parentSub===null){for(u=e.left,f=e;u!==null;){let _=u;for(;_!==null&&_.parent._item!==d;)_=_.redone===null?null:Wi(t,_.redone);if(_!==null&&_.parent._item===d){u=_;break}u=u.left}for(;f!==null;){let _=f;for(;_!==null&&_.parent._item!==d;)_=_.redone===null?null:Wi(t,_.redone);if(_!==null&&_.parent._item===d){f=_;break}f=f.right}}else if(f=null,e.right&&!i){for(u=e;u!==null&&u.right!==null&&(u.right.redone||kf(r,u.right.id)||MY(o.undoStack,u.right.id)||MY(o.redoStack,u.right.id));)for(u=u.right;u.redone;)u=Wi(t,u.redone);if(u&&u.right!==null)return null}else u=h._map.get(e.parentSub)||null;let p=Yn(s,l),g=ut(l,p),b=new Zt(g,u,u&&u.lastId,f,f&&f.id,h,e.parentSub,e.content.copy());return e.redone=g,U8(b,!0),b.integrate(t,0),b},Zt=class t extends e_{constructor(e,n,r,i,o,a,s,l){super(e,l.getLength()),this.origin=r,this.left=n,this.right=i,this.rightOrigin=o,this.parent=a,this.parentSub=s,this.redone=null,this.content=l,this.info=this.content.isCountable()?2:0}set marker(e){(this.info&8)>0!==e&&(this.info^=8)}get marker(){return(this.info&8)>0}get keep(){return(this.info&1)>0}set keep(e){this.keep!==e&&(this.info^=1)}get countable(){return(this.info&2)>0}get deleted(){return(this.info&4)>0}set deleted(e){this.deleted!==e&&(this.info^=4)}markDeleted(){this.info|=4}getMissing(e,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=Yn(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=Yn(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Kc&&this.id.client!==this.parent.client&&this.parent.clock>=Yn(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=_Y(e,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Wi(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Gi||this.right&&this.right.constructor===Gi)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===t&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===t&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Kc){let r=hD(n,this.parent);r.constructor===Gi?this.parent=null:this.parent=r.content.type}return null}integrate(e,n){if(n>0&&(this.id.clock+=n,this.left=_Y(e,e.doc.store,ut(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(n),this.length-=n),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let r=this.left,i;if(r!==null)i=r.right;else if(this.parentSub!==null)for(i=this.parent._map.get(this.parentSub)||null;i!==null&&i.left!==null;)i=i.left;else i=this.parent._start;let o=new Set,a=new Set;for(;i!==null&&i!==this.right;){if(a.add(i),o.add(i),xm(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(xm(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&a.has(hD(e.doc.store,i.origin)))o.has(hD(e.doc.store,i.origin))||(r=i,o.clear());else break;i=i.right}this.left=r}if(this.left!==null){let r=this.left.right;this.right=r,this.left.right=this}else{let r;if(this.parentSub!==null)for(r=this.parent._map.get(this.parentSub)||null;r!==null&&r.left!==null;)r=r.left;else r=this.parent._start,this.parent._start=this;this.right=r}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(e)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),zY(e.doc.store,this),this.content.integrate(e,this),vY(e,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(e)}else new Gi(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;e!==null&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;e!==null&&e.deleted;)e=e.left;return e}get lastId(){return this.length===1?this.id:ut(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&xm(e.origin,this.lastId)&&this.right===e&&xm(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&this.redone===null&&e.redone===null&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){let n=this.parent._searchMarker;return n&&n.forEach(r=>{r.p===e&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),e.keep&&(this.keep=!0),this.right=e.right,this.right!==null&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){let n=this.parent;this.countable&&this.parentSub===null&&(n._length-=this.length),this.markDeleted(),Gb(e.deleteSet,this.id.client,this.id.clock,this.length),vY(e,n,this.parentSub),this.content.delete(e)}}gc(e,n){if(!this.deleted)throw qi();this.content.gc(e),n?fke(e,this,new Gi(this.id,this.length)):this.content=new DD(this.length)}write(e,n){let r=n>0?ut(this.id.client,this.id.clock+n-1):this.origin,i=this.rightOrigin,o=this.parentSub,a=this.content.getRef()&31|(r===null?0:128)|(i===null?0:64)|(o===null?0:32);if(e.writeInfo(a),r!==null&&e.writeLeftID(r),i!==null&&e.writeRightID(i),r===null&&i===null){let s=this.parent;if(s._item!==void 0){let l=s._item;if(l===null){let c=Am(s);e.writeParentInfo(!0),e.writeString(c)}else e.writeParentInfo(!1),e.writeLeftID(l.id)}else s.constructor===String?(e.writeParentInfo(!0),e.writeString(s)):s.constructor===Kc?(e.writeParentInfo(!1),e.writeLeftID(s)):qi();o!==null&&e.writeString(o)}this.content.write(e,n)}},oK=(t,e)=>txe[e&31](t),txe=[()=>{qi()},Lke,Hke,zke,qke,Vke,Uke,exe,$ke,Bke,()=>{qi()}],nxe=10,Yi=class extends e_{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,n){qi()}write(e,n){e.writeInfo(nxe),Fe(e.restEncoder,this.length-n)}getMissing(e,n){return null}},aK=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},sK="__ $YJS$ __";aK[sK]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");aK[sK]=!0;var H8=3e4,ND=class extends Cl{constructor(e){super(),this.doc=e,this.clientID=e.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{let n=go();this.getLocalState()!==null&&H8/2<=n-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());let r=[];this.meta.forEach((i,o)=>{o!==this.clientID&&H8<=n-i.lastUpdated&&this.states.has(o)&&r.push(o)}),r.length>0&&RD(this,r,"timeout")},ai(H8/10)),e.on("destroy",()=>{this.destroy()}),this.setLocalState({})}destroy(){this.emit("destroy",[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(e){let n=this.clientID,r=this.meta.get(n),i=r===void 0?0:r.clock+1,o=this.states.get(n);e===null?this.states.delete(n):this.states.set(n,e),this.meta.set(n,{clock:i,lastUpdated:go()});let a=[],s=[],l=[],c=[];e===null?c.push(n):o==null?e!=null&&a.push(n):(s.push(n),bm(o,e)||l.push(n)),(a.length>0||l.length>0||c.length>0)&&this.emit("change",[{added:a,updated:l,removed:c},"local"]),this.emit("update",[{added:a,updated:s,removed:c},"local"])}setLocalStateField(e,n){let r=this.getLocalState();r!==null&&this.setLocalState(W(S({},r),{[e]:n}))}getStates(){return this.states}},RD=(t,e,n)=>{let r=[];for(let i=0;i<e.length;i++){let o=e[i];if(t.states.has(o)){if(t.states.delete(o),o===t.clientID){let a=t.meta.get(o);t.meta.set(o,{clock:a.clock+1,lastUpdated:go()})}r.push(o)}}r.length>0&&(t.emit("change",[{added:[],updated:[],removed:r},n]),t.emit("update",[{added:[],updated:[],removed:r},n]))},Pm=(t,e,n=t.states)=>{let r=e.length,i=gr();Fe(i,r);for(let o=0;o<r;o++){let a=e[o],s=n.get(a)||null,l=t.meta.get(a).clock;Fe(i,a),Fe(i,l),Sl(i,JSON.stringify(s))}return yn(i)};var lK=(t,e,n)=>{let r=Ta(e),i=go(),o=[],a=[],s=[],l=[],c=Je(r);for(let d=0;d<c;d++){let u=Je(r),f=Je(r),h=JSON.parse(Ma(r)),p=t.meta.get(u),g=t.states.get(u),b=p===void 0?0:p.clock;(b<f||b===f&&h===null&&t.states.has(u))&&(h===null?u===t.clientID&&t.getLocalState()!=null?f++:t.states.delete(u):t.states.set(u,h),t.meta.set(u,{clock:f,lastUpdated:i}),p===void 0&&h!==null?o.push(u):p!==void 0&&h===null?l.push(u):h!==null&&(bm(h,g)||s.push(u),a.push(u)))}(o.length>0||s.length>0||l.length>0)&&t.emit("change",[{added:o,updated:s,removed:l},n]),(o.length>0||a.length>0||l.length>0)&&t.emit("update",[{added:o,updated:a,removed:l},n])};var cK=()=>{let t=!0;return(e,n)=>{if(t){t=!1;try{e()}finally{t=!0}}else n!==void 0&&n()}};var ixe=/[\uD800-\uDBFF]/,oxe=/[\uDC00-\uDFFF]/,axe=(t,e)=>{let n=0,r=0;for(;n<t.length&&n<e.length&&t[n]===e[n];)n++;for(n>0&&ixe.test(t[n-1])&&n--;r+n<t.length&&r+n<e.length&&t[t.length-r-1]===e[e.length-r-1];)r++;return r>0&&oxe.test(t[t.length-r])&&r--,{index:n,remove:t.length-n-r,insert:e.slice(n,e.length-r)}},dK=axe;var Xt=new at("y-sync"),Ss=new at("y-undo"),xf=new at("yjs-cursor");var i_=(t,e)=>e===void 0?!t.deleted:e.sv.has(t.id.client)&&e.sv.get(t.id.client)>t.id.clock&&!kf(e.ds,t.id),sxe=[{light:"#ecd44433",dark:"#ecd444"}],lxe=(t,e,n)=>{if(!t.has(n)){if(t.size<e.length){let r=ho();t.forEach(i=>r.add(i)),e=e.filter(i=>!r.has(i))}t.set(n,RG(e))}return t.get(n)},W8=(t,{colors:e=sxe,colorMapping:n=new Map,permanentUserData:r=null,onFirstRender:i=()=>{}}={})=>{let o=!1,a,s=new Be({props:{editable:l=>{let c=Xt.getState(l);return c.snapshot==null&&c.prevSnapshot==null}},key:Xt,state:{init:(l,c)=>({type:t,doc:t.doc,binding:null,snapshot:null,prevSnapshot:null,isChangeOrigin:!1,isUndoRedoOperation:!1,addToHistory:!0,colors:e,colorMapping:n,permanentUserData:r}),apply:(l,c)=>{let d=l.getMeta(Xt);if(d!==void 0){c=Object.assign({},c);for(let u in d)c[u]=d[u]}return c.addToHistory=l.getMeta("addToHistory")!==!1,c.isChangeOrigin=d!==void 0&&!!d.isChangeOrigin,c.isUndoRedoOperation=d!==void 0&&!!d.isChangeOrigin&&!!d.isUndoRedoOperation,c.binding!==null&&d!==void 0&&(d.snapshot!=null||d.prevSnapshot!=null)&&vm(0,()=>{c.binding==null||c.binding.isDestroyed||(d.restore==null?c.binding._renderSnapshot(d.snapshot,d.prevSnapshot,c):(c.binding._renderSnapshot(d.snapshot,d.snapshot,c),delete c.restore,delete c.snapshot,delete c.prevSnapshot,c.binding.mux(()=>{c.binding._prosemirrorChanged(c.binding.prosemirrorView.state.doc)})))}),c}},view:l=>{let c=new zD(t,l);return a?.destroy(),a=vm(0,()=>{c._forceRerender(),l.dispatch(l.state.tr.setMeta(Xt,{binding:c})),i()}),{update:()=>{let d=s.getState(l.state);if(d.snapshot==null&&d.prevSnapshot==null&&(o||l.state.doc.content.findDiffStart(l.state.doc.type.createAndFill().content)!==null)){if(o=!0,d.addToHistory===!1&&!d.isChangeOrigin){let u=Ss.getState(l.state),f=u&&u.undoManager;f&&f.stopCapturing()}c.mux(()=>{d.doc.transact(u=>{u.meta.set("addToHistory",d.addToHistory),c._prosemirrorChanged(l.state.doc)},Xt)})}},destroy:()=>{a.destroy(),c.destroy()}}}});return s},cxe=(t,e,n)=>{if(e!==null&&e.anchor!==null&&e.head!==null){let r=Jc(n.doc,n.type,e.anchor,n.mapping),i=Jc(n.doc,n.type,e.head,n.mapping);r!==null&&i!==null&&(t=t.setSelection(Ne.create(t.doc,r,i)))}},o_=(t,e)=>({anchor:Cf(e.selection.anchor,t.type,t.mapping),head:Cf(e.selection.head,t.type,t.mapping)}),zD=class{constructor(e,n){this.type=e,this.prosemirrorView=n,this.mux=cK(),this.isDestroyed=!1,this.mapping=new Map,this._observeFunction=this._typeChanged.bind(this),this.doc=e.doc,this.beforeTransactionSelection=null,this.beforeAllTransactions=()=>{this.beforeTransactionSelection===null&&(this.beforeTransactionSelection=o_(this,n.state))},this.afterAllTransactions=()=>{this.beforeTransactionSelection=null},this.doc.on("beforeAllTransactions",this.beforeAllTransactions),this.doc.on("afterAllTransactions",this.afterAllTransactions),e.observeDeep(this._observeFunction),this._domSelectionInView=null}get _tr(){return this.prosemirrorView.state.tr.setMeta("addToHistory",!1)}_isLocalCursorInView(){return this.prosemirrorView.hasFocus()?(wm&&this._domSelectionInView===null&&(vm(0,()=>{this._domSelectionInView=null}),this._domSelectionInView=this._isDomSelectionInView()),this._domSelectionInView):!1}_isDomSelectionInView(){let e=this.prosemirrorView._root.getSelection(),n=this.prosemirrorView._root.createRange();n.setStart(e.anchorNode,e.anchorOffset),n.setEnd(e.focusNode,e.focusOffset),n.getClientRects().length===0&&n.startContainer&&n.collapsed&&n.selectNodeContents(n.startContainer);let i=n.getBoundingClientRect(),o=El.documentElement;return i.bottom>=0&&i.right>=0&&i.left<=(window.innerWidth||o.clientWidth||0)&&i.top<=(window.innerHeight||o.clientHeight||0)}renderSnapshot(e,n){n||(n=ID(ED(),new Map)),this.prosemirrorView.dispatch(this._tr.setMeta(Xt,{snapshot:e,prevSnapshot:n}))}unrenderSnapshot(){this.mapping=new Map,this.mux(()=>{let e=this.type.toArray().map(r=>jD(r,this.prosemirrorView.state.schema,this.mapping)).filter(r=>r!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(e),0,0));n.setMeta(Xt,{snapshot:null,prevSnapshot:null}),this.prosemirrorView.dispatch(n)})}_forceRerender(){this.mapping=new Map,this.mux(()=>{let e=this.type.toArray().map(r=>jD(r,this.prosemirrorView.state.schema,this.mapping)).filter(r=>r!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(e),0,0));this.prosemirrorView.dispatch(n.setMeta(Xt,{isChangeOrigin:!0}))})}_renderSnapshot(e,n,r){e||(e=jY(this.doc)),this.mapping=new Map,this.mux(()=>{this.doc.transact(i=>{let o=r.permanentUserData;o&&o.dss.forEach(c=>{Ml(i,c,d=>{})});let a=(c,d)=>{let u=c==="added"?o.getUserByClientId(d.client):o.getUserByDeletedId(d);return{user:u,type:c,color:lxe(r.colorMapping,r.colors,u)}},s=L8(this.type,new Dm(n.ds,e.sv)).map(c=>!c._item.deleted||i_(c._item,e)||i_(c._item,n)?jD(c,this.prosemirrorView.state.schema,new Map,e,n,a):null).filter(c=>c!==null),l=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(s),0,0));this.prosemirrorView.dispatch(l.setMeta(Xt,{isChangeOrigin:!0}))},Xt)})}_typeChanged(e,n){let r=Xt.getState(this.prosemirrorView.state);if(e.length===0||r.snapshot!=null||r.prevSnapshot!=null){this.renderSnapshot(r.snapshot,r.prevSnapshot);return}this.mux(()=>{let i=(s,l)=>this.mapping.delete(l);Ml(n,n.deleteSet,s=>{if(s.constructor===Zt){let l=s.content.type;l&&this.mapping.delete(l)}}),n.changed.forEach(i),n.changedParentTypes.forEach(i);let o=this.type.toArray().map(s=>hK(s,this.prosemirrorView.state.schema,this.mapping)).filter(s=>s!==null),a=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(o),0,0));cxe(a,this.beforeTransactionSelection,this),a=a.setMeta(Xt,{isChangeOrigin:!0,isUndoRedoOperation:n.origin instanceof Sm}),this.beforeTransactionSelection!==null&&this._isLocalCursorInView()&&a.scrollIntoView(),this.prosemirrorView.dispatch(a)})}_prosemirrorChanged(e){this.doc.transact(()=>{s_(this.doc,this.type,e,this.mapping),this.beforeTransactionSelection=o_(this,this.prosemirrorView.state)},Xt)}destroy(){this.isDestroyed=!0,this.type.unobserveDeep(this._observeFunction),this.doc.off("beforeAllTransactions",this.beforeAllTransactions),this.doc.off("afterAllTransactions",this.afterAllTransactions)}},hK=(t,e,n,r,i,o)=>{let a=n.get(t);if(a===void 0){if(t instanceof Di)return jD(t,e,n,r,i,o);throw mo()}return a},jD=(t,e,n,r,i,o)=>{let a=[],s=l=>{if(l.constructor===Di){let c=hK(l,e,n,r,i,o);c!==null&&a.push(c)}else{let c=dxe(l,e,n,r,i,o);c!==null&&c.forEach(d=>{d!==null&&a.push(d)})}};r===void 0||i===void 0?t.toArray().forEach(s):L8(t,new Dm(i.ds,r.sv)).forEach(s);try{let l=t.getAttributes(r);r!==void 0&&(i_(t._item,r)?i_(t._item,i)||(l.ychange=o?o("added",t._item.id):{type:"added"}):l.ychange=o?o("removed",t._item.id):{type:"removed"});let c=e.node(t.nodeName,l,a);return n.set(t,c),c}catch{return t.doc.transact(c=>{t._item.delete(c)},Xt),n.delete(t),null}},dxe=(t,e,n,r,i,o)=>{let a=[],s=t.toDelta(r,i,o);try{for(let l=0;l<s.length;l++){let c=s[l],d=[];for(let u in c.attributes)d.push(e.mark(u,c.attributes[u]));a.push(e.text(c.insert,d))}}catch{return t.doc.transact(c=>{t._item.delete(c)},Xt),null}return a},uxe=(t,e)=>{let n=new Ki,r=t.map(i=>({insert:i.text,attributes:mK(i.marks)}));return n.applyDelta(r),e.set(n,t),n},fxe=(t,e)=>{let n=new Di(t.type.name);for(let r in t.attrs){let i=t.attrs[r];i!==null&&r!=="ychange"&&n.setAttribute(r,i)}return n.insert(0,BD(t).map(r=>$8(r,e))),e.set(n,t),n},$8=(t,e)=>t instanceof Array?uxe(t,e):fxe(t,e),uK=t=>typeof t=="object"&&t!==null,G8=(t,e)=>{let n=Object.keys(t).filter(i=>t[i]!==null),r=n.length===Object.keys(e).filter(i=>e[i]!==null).length;for(let i=0;i<n.length&&r;i++){let o=n[i],a=t[o],s=e[o];r=o==="ychange"||a===s||uK(a)&&uK(s)&&G8(a,s)}return r},BD=t=>{let e=t.content.content,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.isText){let o=[];for(let a=e[r];r<e.length&&a.isText;a=e[++r])o.push(a);r--,n.push(o)}else n.push(i)}return n},pK=(t,e)=>{let n=t.toDelta();return n.length===e.length&&n.every((r,i)=>r.insert===e[i].text&&n8(r.attributes||{}).length===e[i].marks.length&&e[i].marks.every(o=>G8(r.attributes[o.type.name]||{},o.attrs)))},a_=(t,e)=>{if(t instanceof Di&&!(e instanceof Array)&&q8(t,e)){let n=BD(e);return t._length===n.length&&G8(t.getAttributes(),e.attrs)&&t.toArray().every((r,i)=>a_(r,n[i]))}return t instanceof Ki&&e instanceof Array&&pK(t,e)},LD=(t,e)=>t===e||t instanceof Array&&e instanceof Array&&t.length===e.length&&t.every((n,r)=>e[r]===n),fK=(t,e,n)=>{let r=t.toArray(),i=BD(e),o=i.length,a=r.length,s=po(a,o),l=0,c=0,d=!1;for(;l<s;l++){let u=r[l],f=i[l];if(LD(n.get(u),f))d=!0;else if(!a_(u,f))break}for(;l+c<s;c++){let u=r[a-c-1],f=i[o-c-1];if(LD(n.get(u),f))d=!0;else if(!a_(u,f))break}return{equalityFactor:l+c,foundMappedChild:d}},hxe=t=>{let e="",n=t._start,r={};for(;n!==null;)n.deleted||(n.countable&&n.content instanceof Aa?e+=n.content.str:n.content instanceof Kn&&(r[n.content.key]=null)),n=n.right;return{str:e,nAttrs:r}},pxe=(t,e,n)=>{n.set(t,e);let{nAttrs:r,str:i}=hxe(t),o=e.map(c=>({insert:c.text,attributes:Object.assign({},r,mK(c.marks))})),{insert:a,remove:s,index:l}=dK(i,o.map(c=>c.insert).join(""));t.delete(l,s),t.insert(l,a),t.applyDelta(o.map(c=>({retain:c.insert.length,attributes:c.attributes})))},mK=t=>{let e={};return t.forEach(n=>{n.type.name!=="ychange"&&(e[n.type.name]=n.attrs)}),e},s_=(t,e,n,r)=>{if(e instanceof Di&&e.nodeName!==n.type.name)throw new Error("node name mismatch!");if(r.set(e,n),e instanceof Di){let u=e.getAttributes(),f=n.attrs;for(let h in f)f[h]!==null?u[h]!==f[h]&&h!=="ychange"&&e.setAttribute(h,f[h]):e.removeAttribute(h);for(let h in u)f[h]===void 0&&e.removeAttribute(h)}let i=BD(n),o=i.length,a=e.toArray(),s=a.length,l=po(o,s),c=0,d=0;for(;c<l;c++){let u=a[c],f=i[c];if(!LD(r.get(u),f))if(a_(u,f))r.set(u,f);else break}for(;d+c+1<l;d++){let u=a[s-d-1],f=i[o-d-1];if(!LD(r.get(u),f))if(a_(u,f))r.set(u,f);else break}t.transact(()=>{for(;s-c-d>0&&o-c-d>0;){let f=a[c],h=i[c],p=a[s-d-1],g=i[o-d-1];if(f instanceof Ki&&h instanceof Array)pK(f,h)||pxe(f,h,r),c+=1;else{let b=f instanceof Di&&q8(f,h),_=p instanceof Di&&q8(p,g);if(b&&_){let x=fK(f,h,r),E=fK(p,g,r);x.foundMappedChild&&!E.foundMappedChild?_=!1:!x.foundMappedChild&&E.foundMappedChild||x.equalityFactor<E.equalityFactor?b=!1:_=!1}b?(s_(t,f,h,r),c+=1):_?(s_(t,p,g,r),d+=1):(r.delete(e.get(c)),e.delete(c,1),e.insert(c,[$8(h,r)]),c+=1)}}let u=s-c-d;if(s===1&&o===0&&a[0]instanceof Ki?(r.delete(a[0]),a[0].delete(0,a[0].length)):u>0&&(e.slice(c,c+u).forEach(f=>r.delete(f)),e.delete(c,u)),c+d<o){let f=[];for(let h=c;h<o-d;h++)f.push($8(i[h],r));e.insert(c,f)}},Xt)},q8=(t,e)=>!(e instanceof Array)&&t.nodeName===e.type.name;var l_=null,mxe=()=>{let t=l_;l_=null,t.forEach((e,n)=>{let r=n.state.tr,i=Xt.getState(n.state);i&&i.binding&&!i.binding.isDestroyed&&(e.forEach((o,a)=>{r.setMeta(a,o)}),n.dispatch(r))})},Y8=(t,e,n)=>{l_||(l_=new Map,vm(0,mxe)),$i(l_,t,Hr).set(e,n)},Cf=(t,e,n)=>{if(t===0)return AD(e,0);let r=e._first===null?null:e._first.content.type;for(;r!==null&&e!==r;){if(r instanceof Ki){if(r._length>=t)return AD(r,t);if(t-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,t--;while(r!==e&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==e&&(r=r._item===null?null:r._item.next.content.type)}}else{let i=(n.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&t<i)r=r._first.content.type,t--;else{if(t===1&&r._length===0&&i>1)return new Qc(r._item===null?null:r._item.id,r._item===null?Am(r):null,null);if(t-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(t===0)return r=r._item===null?r:r._item.parent,new Qc(r._item===null?null:r._item.id,r._item===null?Am(r):null,null);do r=r._item.parent,t--;while(r!==e&&r._item.next===null);r!==e&&(r=r._item.next.content.type)}}}if(r===null)throw qi();if(t===0&&r.constructor!==Ki&&r!==e)return gxe(r._item.parent,r._item)}return AD(e,e._length)},gxe=(t,e)=>{let n=null,r=null;return t._item===null?r=Am(t):n=ut(t._item.id.client,t._item.id.clock),new Qc(n,r,e.id)},Jc=(t,e,n,r)=>{let i=RY(n,t);if(i===null||i.type!==e&&!Cm(e,i.type._item))return null;let o=i.type,a=0;if(o.constructor===Ki)a=i.index;else if(o._item===null||!o._item.deleted){let s=o._first,l=0;for(;l<o._length&&l<i.index&&s!==null;){if(!s.deleted){let c=s.content.type;l++,c instanceof Ki?a+=c._length:a+=r.get(c).nodeSize}s=s.right}a+=1}for(;o!==e&&o._item!==null;){let s=o._item.parent;if(s._item===null||!s._item.deleted){a+=1;let l=s._first;for(;l!==null;){let c=l.content.type;if(c===o)break;l.deleted||(c instanceof Ki?a+=c._length:a+=r.get(c).nodeSize),l=l.right}}o=s}return a-1};function K8(t,e="prosemirror"){let n=new Tl,r=n.get(e,Il);return r.doc?(gK(t,r),r.doc):n}function gK(t,e){let n=e||new Il,r=n.doc?n.doc:{transact:i=>i(void 0)};return s_(r,n,t,new Map),n}function Z8(t,e){let n=yK(e);return Fi.fromJSON(t,n)}function yK(t,e="prosemirror"){return bK(t.getXmlFragment(e))}function bK(t){let e=t.toArray();function n(r){let i;if(!r.nodeName)i=r.toDelta().map(a=>{let s={type:"text",text:a.insert};return a.attributes&&(s.marks=Object.keys(a.attributes).map(l=>{let c=a.attributes[l],d={type:l};return Object.keys(c)&&(d.attrs=c),d})),s});else{i={type:r.nodeName};let o=r.getAttributes();Object.keys(o).length&&(i.attrs=o);let a=r.toArray();a.length&&(i.content=a.map(n).flat())}return i}return{type:"doc",content:e.map(n)}}var yxe=(t,e,n)=>t!==e,bxe=t=>{let e=document.createElement("span");e.classList.add("ProseMirror-yjs-cursor"),e.setAttribute("style",`border-color: ${t.color}`);let n=document.createElement("div");n.setAttribute("style",`background-color: ${t.color}`),n.insertBefore(document.createTextNode(t.name),null);let r=document.createTextNode("\u2060"),i=document.createTextNode("\u2060");return e.insertBefore(r,null),e.insertBefore(n,null),e.insertBefore(i,null),e},_xe=t=>({style:`background-color: ${t.color}70`,class:"ProseMirror-yjs-selection"}),wxe=/^#[0-9a-fA-F]{6}$/,_K=(t,e,n,r,i)=>{let o=Xt.getState(t),a=o.doc,s=[];return o.snapshot!=null||o.prevSnapshot!=null||o.binding===null?Et.create(t.doc,[]):(e.getStates().forEach((l,c)=>{if(n(a.clientID,c,l)&&l.cursor!=null){let d=l.user||{};d.color==null?d.color="#ffa500":wxe.test(d.color)||console.warn("A user uses an unsupported color format",d),d.name==null&&(d.name=`User: ${c}`);let u=Jc(a,o.type,Im(l.cursor.anchor),o.binding.mapping),f=Jc(a,o.type,Im(l.cursor.head),o.binding.mapping);if(u!==null&&f!==null){let h=Go(t.doc.content.size-1,0);u=po(u,h),f=po(f,h),s.push(pn.widget(f,()=>r(d),{key:c+"",side:10}));let p=po(u,f),g=Go(u,f);s.push(pn.inline(p,g,i(d),{inclusiveEnd:!0,inclusiveStart:!1}))}}}),Et.create(t.doc,s))},wK=(t,{awarenessStateFilter:e=yxe,cursorBuilder:n=bxe,selectionBuilder:r=_xe,getSelection:i=a=>a.selection}={},o="cursor")=>new Be({key:xf,state:{init(a,s){return _K(s,t,e,n,r)},apply(a,s,l,c){let d=Xt.getState(c),u=a.getMeta(xf);return d&&d.isChangeOrigin||u&&u.awarenessUpdated?_K(c,t,e,n,r):s.map(a.mapping,a.doc)}},props:{decorations:a=>xf.getState(a)},view:a=>{let s=()=>{a.docView&&Y8(a,xf,{awarenessUpdated:!0})},l=()=>{let c=Xt.getState(a.state),d=t.getLocalState()||{};if(c.binding!=null)if(a.hasFocus()){let u=i(a.state),f=Cf(u.anchor,c.type,c.binding.mapping),h=Cf(u.head,c.type,c.binding.mapping);(d.cursor==null||!R8(Im(d.cursor.anchor),f)||!R8(Im(d.cursor.head),h))&&t.setLocalStateField(o,{anchor:f,head:h})}else d.cursor!=null&&Jc(c.doc,c.type,Im(d.cursor.anchor),c.binding.mapping)!==null&&t.setLocalStateField(o,null)};return t.on("change",s),a.dom.addEventListener("focusin",l),a.dom.addEventListener("focusout",l),{update:l,destroy:()=>{a.dom.removeEventListener("focusin",l),a.dom.removeEventListener("focusout",l),t.off("change",s),t.setLocalStateField(o,null)}}}});var vK=t=>{let e=Ss.getState(t).undoManager;if(e!=null)return e.undo(),!0},X8=t=>{let e=Ss.getState(t).undoManager;if(e!=null)return e.redo(),!0},vxe=new Set(["paragraph"]),kxe=(t,e)=>!(t instanceof Zt)||!(t.content instanceof Ko)||!(t.content.type instanceof wf||t.content.type instanceof Di&&e.has(t.content.type.nodeName))||t.content.type._length===0,kK=({protectedNodes:t=vxe,trackedOrigins:e=[],undoManager:n=null}={})=>new Be({key:Ss,state:{init:(r,i)=>{let o=Xt.getState(i),a=n||new Sm(o.type,{trackedOrigins:new Set([Xt].concat(e)),deleteFilter:s=>kxe(s,t),captureTransaction:s=>s.meta.get("addToHistory")!==!1});return{undoManager:a,prevSel:null,hasUndoOps:a.undoStack.length>0,hasRedoOps:a.redoStack.length>0}},apply:(r,i,o,a)=>{let s=Xt.getState(a).binding,l=i.undoManager,c=l.undoStack.length>0,d=l.redoStack.length>0;return s?{undoManager:l,prevSel:o_(s,o),hasUndoOps:c,hasRedoOps:d}:c!==i.hasUndoOps||d!==i.hasRedoOps?Object.assign({},i,{hasUndoOps:l.undoStack.length>0,hasRedoOps:l.redoStack.length>0}):i}},view:r=>{let i=Xt.getState(r.state),o=Ss.getState(r.state).undoManager;return o.on("stack-item-added",({stackItem:a})=>{let s=i.binding;s&&a.meta.set(s,Ss.getState(r.state).prevSel)}),o.on("stack-item-popped",({stackItem:a})=>{let s=i.binding;s&&(s.beforeTransactionSelection=a.meta.get(s)||s.beforeTransactionSelection)}),{destroy:()=>{o.destroy()}}}});var n5=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},vn=(t,e,n)=>(n5(t,e,"read from private field"),n?n.call(t):e.get(t)),ed=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Fm=(t,e,n,r)=>(n5(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),VD=(t,e,n)=>(n5(t,e,"access private method"),n),xK=new at("MILKDOWN_COLLAB_KEYMAP"),xxe=[xK,Xt,xf,Ss],Rm,Ol,c_,Si,Nm,J8,CK,e5,DK,UD,t5,HD=class{constructor(){ed(this,J8),ed(this,e5),ed(this,UD),ed(this,Rm,{}),ed(this,Ol,null),ed(this,c_,null),ed(this,Si,null),ed(this,Nm,!1)}bindCtx(e){return Fm(this,Si,e),this}bindDoc(e){return Fm(this,Ol,e),this}setOptions(e){return Fm(this,Rm,e),this}mergeOptions(e){return Object.assign(vn(this,Rm),e),this}setAwareness(e){return Fm(this,c_,e),this}applyTemplate(e,n){if(!vn(this,Si))throw Eh();if(!vn(this,Ol))throw zM();let r=n||(s=>s.textContent.length===0),i=VD(this,J8,CK).call(this,e),o=vn(this,Si).get(Jr),a=Z8(o,vn(this,Ol));if(i&&r(a,i)){let s=vn(this,Ol).getXmlFragment("prosemirror");s.delete(0,s.length);let l=K8(i),c=TD(l);MD(vn(this,Ol),c),l.destroy()}return this}connect(){if(!vn(this,Si))throw Eh();if(vn(this,Nm))return;let e=vn(this,Si).get(ei),n=VD(this,e5,DK).call(this),r=e.concat(n);return VD(this,UD,t5).call(this,r),Fm(this,Nm,!0),this}disconnect(){if(!vn(this,Si))throw Eh();if(!vn(this,Nm))return this;let e=vn(this,Si).get(ei).filter(n=>!n.spec.key||!xxe.includes(n.spec.key));return VD(this,UD,t5).call(this,e),Fm(this,Nm,!1),this}};Rm=new WeakMap,Ol=new WeakMap,c_=new WeakMap,Si=new WeakMap,Nm=new WeakMap,J8=new WeakSet,CK=function(t){if(!vn(this,Si))throw Eh();let e=vn(this,Si).get(Jr),n=vn(this,Si).get(pa);return BT(t,n,e)},e5=new WeakSet,DK=function(){if(!vn(this,Ol))throw zM();let{ySyncOpts:t,yUndoOpts:e}=vn(this,Rm),n=vn(this,Ol).getXmlFragment("prosemirror"),r=[W8(n,t),kK(e),new Be({key:xK,props:{handleKeyDown:fu({"Mod-z":vK,"Mod-y":X8,"Mod-Shift-z":X8})}})];if(vn(this,c_)){let{yCursorOpts:i,yCursorStateField:o}=vn(this,Rm);r.push(wK(vn(this,c_),i,o))}return r},UD=new WeakSet,t5=function(t){if(!vn(this,Si))throw Eh();vn(this,Si).set(ei,t);let e=vn(this,Si).get(wn),n=e.state.reconfigure({plugins:t});e.updateState(n)};var $D=Ft(new HD,"collabServiceCtx"),Q8=To("CollabReady"),r5=t=>{let e=new HD;return t.inject($D,e).record(Q8),()=>ot(void 0,null,function*(){return yield t.wait(bu),e.bindCtx(t),t.done(Q8),()=>{t.remove($D).clearTimer(Q8)}})};r5.meta={package:"@milkdown/plugin-collab",displayName:"Collab"};var SK=new Map,i5=class{constructor(e){this.room=e,this.onmessage=null,this._onChange=n=>n.key===e&&this.onmessage!==null&&this.onmessage({data:eY(n.newValue||"")}),BG(this._onChange)}postMessage(e){aD.setItem(this.room,JG(QG(e)))}close(){VG(this._onChange)}},Cxe=typeof BroadcastChannel>"u"?i5:BroadcastChannel,o5=t=>$i(SK,t,()=>{let e=ho(),n=new Cxe(t);return n.onmessage=r=>e.forEach(i=>i(r.data,"broadcastchannel")),{bc:n,subs:e}}),EK=(t,e)=>(o5(t).subs.add(e),e),MK=(t,e)=>{let n=o5(t),r=n.subs.delete(e);return r&&n.subs.size===0&&(n.bc.close(),SK.delete(t)),r},Df=(t,e,n=null)=>{let r=o5(t);r.bc.postMessage(e),r.subs.forEach(i=>i(e,n))};var TK=0,qD=1,AK=2,WD=(t,e)=>{Fe(t,TK);let n=FY(e);En(t,n)},a5=(t,e,n)=>{Fe(t,qD),En(t,TD(e,n))},Sxe=(t,e,n)=>a5(e,n,yr(t)),IK=(t,e,n)=>{try{MD(e,yr(t),n)}catch(r){console.error("Caught error while handling a Yjs update",r)}},OK=(t,e)=>{Fe(t,AK),En(t,e)},Exe=IK,PK=(t,e,n,r)=>{let i=Je(t);switch(i){case TK:Sxe(t,e,n);break;case qD:IK(t,n,r);break;case AK:Exe(t,n,r);break;default:throw new Error("Unknown message type")}return i};var Txe=0;var FK=(t,e,n)=>{switch(Je(t)){case Txe:n(e,Ma(t))}};var NK=t=>qG(t,(e,n)=>`${encodeURIComponent(n)}=${encodeURIComponent(e)}`).join("&");var Sf=0,jK=3,jm=1,Oxe=2,d_=[];d_[Sf]=(t,e,n,r,i)=>{Fe(t,Sf);let o=PK(e,t,n.doc,n);r&&o===qD&&!n.synced&&(n.synced=!0)};d_[jK]=(t,e,n,r,i)=>{Fe(t,jm),En(t,Pm(n.awareness,Array.from(n.awareness.getStates().keys())))};d_[jm]=(t,e,n,r,i)=>{lK(n.awareness,yr(e),n)};d_[Oxe]=(t,e,n,r,i)=>{FK(e,n.doc,(o,a)=>Pxe(n,a))};var RK=3e4,Pxe=(t,e)=>console.warn(`Permission denied to access ${t.url}. -${e}`),zK=(t,e,n)=>{let r=Ta(e),i=gr(),o=Je(r),a=t.messageHandlers[o];return a?a(i,r,t,n,o):console.error("Unable to compute message"),i},LK=t=>{if(t.shouldConnect&&t.ws===null){let e=new t._WS(t.url);e.binaryType="arraybuffer",t.ws=e,t.wsconnecting=!0,t.wsconnected=!1,t.synced=!1,e.onmessage=n=>{t.wsLastMessageReceived=go();let r=zK(t,new Uint8Array(n.data),!0);QC(r)>1&&e.send(yn(r))},e.onerror=n=>{t.emit("connection-error",[n,t])},e.onclose=n=>{t.emit("connection-close",[n,t]),t.ws=null,t.wsconnecting=!1,t.wsconnected?(t.wsconnected=!1,t.synced=!1,RD(t.awareness,Array.from(t.awareness.getStates().keys()).filter(r=>r!==t.doc.clientID),t),t.emit("status",[{status:"disconnected"}])):t.wsUnsuccessfulReconnects++,setTimeout(LK,po(CG(2,t.wsUnsuccessfulReconnects)*100,t.maxBackoffTime),t)},e.onopen=()=>{t.wsLastMessageReceived=go(),t.wsconnecting=!1,t.wsconnected=!0,t.wsUnsuccessfulReconnects=0,t.emit("status",[{status:"connected"}]);let n=gr();if(Fe(n,Sf),WD(n,t.doc),e.send(yn(n)),t.awareness.getLocalState()!==null){let r=gr();Fe(r,jm),En(r,Pm(t.awareness,[t.doc.clientID])),e.send(yn(r))}},t.emit("status",[{status:"connecting"}])}},s5=(t,e)=>{let n=t.ws;t.wsconnected&&n&&n.readyState===n.OPEN&&n.send(e),t.bcconnected&&Df(t.bcChannel,e,t)},GD=class extends Cl{constructor(e,n,r,{connect:i=!0,awareness:o=new ND(r),params:a={},WebSocketPolyfill:s=WebSocket,resyncInterval:l=-1,maxBackoffTime:c=2500,disableBc:d=!1}={}){for(super();e[e.length-1]==="/";)e=e.slice(0,e.length-1);let u=NK(a);this.maxBackoffTime=c,this.bcChannel=e+"/"+n,this.url=e+"/"+n+(u.length===0?"":"?"+u),this.roomname=n,this.doc=r,this._WS=s,this.awareness=o,this.wsconnected=!1,this.wsconnecting=!1,this.bcconnected=!1,this.disableBc=d,this.wsUnsuccessfulReconnects=0,this.messageHandlers=d_.slice(),this._synced=!1,this.ws=null,this.wsLastMessageReceived=0,this.shouldConnect=i,this._resyncInterval=0,l>0&&(this._resyncInterval=setInterval(()=>{if(this.ws&&this.ws.readyState===WebSocket.OPEN){let f=gr();Fe(f,Sf),WD(f,r),this.ws.send(yn(f))}},l)),this._bcSubscriber=(f,h)=>{if(h!==this){let p=zK(this,new Uint8Array(f),!1);QC(p)>1&&Df(this.bcChannel,yn(p),this)}},this._updateHandler=(f,h)=>{if(h!==this){let p=gr();Fe(p,Sf),OK(p,f),s5(this,yn(p))}},this.doc.on("update",this._updateHandler),this._awarenessUpdateHandler=({added:f,updated:h,removed:p},g)=>{let b=f.concat(h).concat(p),_=gr();Fe(_,jm),En(_,Pm(o,b)),s5(this,yn(_))},this._unloadHandler=()=>{RD(this.awareness,[r.clientID],"window unload")},typeof window<"u"?window.addEventListener("unload",this._unloadHandler):typeof process<"u"&&process.on("exit",this._unloadHandler),o.on("update",this._awarenessUpdateHandler),this._checkInterval=setInterval(()=>{this.wsconnected&&RK<go()-this.wsLastMessageReceived&&this.ws.close()},RK/10),i&&this.connect()}get synced(){return this._synced}set synced(e){this._synced!==e&&(this._synced=e,this.emit("synced",[e]),this.emit("sync",[e]))}destroy(){this._resyncInterval!==0&&clearInterval(this._resyncInterval),clearInterval(this._checkInterval),this.disconnect(),typeof window<"u"?window.removeEventListener("unload",this._unloadHandler):typeof process<"u"&&process.off("exit",this._unloadHandler),this.awareness.off("update",this._awarenessUpdateHandler),this.doc.off("update",this._updateHandler),super.destroy()}connectBc(){if(this.disableBc)return;this.bcconnected||(EK(this.bcChannel,this._bcSubscriber),this.bcconnected=!0);let e=gr();Fe(e,Sf),WD(e,this.doc),Df(this.bcChannel,yn(e),this);let n=gr();Fe(n,Sf),a5(n,this.doc),Df(this.bcChannel,yn(n),this);let r=gr();Fe(r,jK),Df(this.bcChannel,yn(r),this);let i=gr();Fe(i,jm),En(i,Pm(this.awareness,[this.doc.clientID])),Df(this.bcChannel,yn(i),this)}disconnectBc(){let e=gr();Fe(e,jm),En(e,Pm(this.awareness,[this.doc.clientID],new Map)),s5(this,yn(e)),this.bcconnected&&(MK(this.bcChannel,this._bcSubscriber),this.bcconnected=!1)}disconnect(){this.shouldConnect=!1,this.disconnectBc(),this.ws!==null&&this.ws.close()}connect(){this.shouldConnect=!0,!this.wsconnected&&this.ws===null&&(LK(this),this.connectBc())}};var l5=class{constructor(e){this._box=e,this._destroyed=new Ee,this._resizeSubject=new Ee,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Ke(n=>{let r=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),r.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Yt(n=>n.some(r=>r.target===e)),W_({bufferSize:1,refCount:!0}),Pn(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},BK=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=ae(xe),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,r]of this._observers)r.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(r,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new l5(o)),this._observers.get(o).observe(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Fxe=["notch"],Nxe=["matFormFieldNotchedOutline",""],Rxe=["*"],jxe=["textField"],zxe=["iconPrefixContainer"],Lxe=["textPrefixContainer"];function Bxe(t,e){t&1&&St(0,"span",16)}function Vxe(t,e){if(t&1&&(H(0,"label",14),Nn(1,1),bt(2,Bxe,1,0,"span",15),Y()),t&2){let n=Qe(2);Me("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),hn("for",n._control.id),se(2),tn(2,!n.hideRequiredMarker&&n._control.required?2:-1)}}function Uxe(t,e){if(t&1&&bt(0,Vxe,3,5,"label",14),t&2){let n=Qe();tn(0,n._hasFloatingLabel()?0:-1)}}function Hxe(t,e){t&1&&St(0,"div",17)}function $xe(t,e){}function qxe(t,e){if(t&1&&bt(0,$xe,0,0,"ng-template",9),t&2){Qe(2);let n=sa(1);Me("ngTemplateOutlet",n)}}function Wxe(t,e){if(t&1&&(H(0,"div",5),bt(1,qxe,1,1,null,9),Y()),t&2){let n=Qe();Me("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),se(1),tn(1,n._forceDisplayInfixLabel()?-1:1)}}function Gxe(t,e){t&1&&(H(0,"div",18,19),Nn(2,2),Y())}function Yxe(t,e){t&1&&(H(0,"div",20,21),Nn(2,3),Y())}function Kxe(t,e){}function Zxe(t,e){if(t&1&&bt(0,Kxe,0,0,"ng-template",9),t&2){Qe();let n=sa(1);Me("ngTemplateOutlet",n)}}function Xxe(t,e){t&1&&(H(0,"div",22),Nn(1,4),Y())}function Qxe(t,e){t&1&&(H(0,"div",23),Nn(1,5),Y())}function Jxe(t,e){t&1&&St(0,"div",12)}function eCe(t,e){if(t&1&&(H(0,"div",24),Nn(1,6),Y()),t&2){let n=Qe();Me("@transitionMessages",n._subscriptAnimationState)}}function tCe(t,e){if(t&1&&(H(0,"mat-hint",26),Se(1),Y()),t&2){let n=Qe(2);Me("id",n._hintLabelId),se(1),Cr(n.hintLabel)}}function nCe(t,e){if(t&1&&(H(0,"div",25),bt(1,tCe,2,2,"mat-hint",26),Nn(2,7),St(3,"div",27),Nn(4,8),Y()),t&2){let n=Qe();Me("@transitionMessages",n._subscriptAnimationState),se(1),tn(1,n.hintLabel?1:-1)}}var rCe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],iCe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],KD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ve({type:e,selectors:[["mat-label"]]});let t=e;return t})();var oCe=new de("MatError");var aCe=0,VK=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${aCe++}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ve({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(Ls("id",o.id),hn("align",null),Rt("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}});let t=e;return t})(),sCe=new de("MatPrefix");var lCe=new de("MatSuffix");var KK=new de("FloatingLabelParent"),UK=(()=>{let e=class e{get floating(){return this._floating}set floating(r){this._floating=r,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(r){this._monitorResize=r,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(r){this._elementRef=r,this._floating=!1,this._monitorResize=!1,this._resizeObserver=ae(BK),this._ngZone=ae(xe),this._parent=ae(KK),this._resizeSubscription=new Lt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return cCe(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(i){return new(i||e)(R(Ce))},e.\u0275dir=ve({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&Rt("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}});let t=e;return t})();function cCe(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let r=n.scrollWidth;return n.remove(),r}var HK="mdc-line-ripple--active",YD="mdc-line-ripple--deactivating",$K=(()=>{let e=class e{constructor(r,i){this._elementRef=r,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(YD);o.propertyName==="opacity"&&s&&a.remove(HK,YD)},i.runOutsideAngular(()=>{r.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let r=this._elementRef.nativeElement.classList;r.remove(YD),r.add(HK)}deactivate(){this._elementRef.nativeElement.classList.add(YD)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(xe))},e.\u0275dir=ve({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});let t=e;return t})(),qK=(()=>{let e=class e{constructor(r,i){this._elementRef=r,this._ngZone=i,this.open=!1}ngAfterViewInit(){let r=this._elementRef.nativeElement.querySelector(".mdc-floating-label");r?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(r.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>r.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(r){!this.open||!r?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${r}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + ${8+1}px)`}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(xe))},e.\u0275cmp=De({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&sn(Fxe,5),i&2){let a;_t(a=wt())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&Rt("mdc-notched-outline--notched",o.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Nxe,ngContentSelectors:Rxe,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(So(),St(0,"div",0),H(1,"div",1,2),Nn(3),Y(),St(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),dCe={transitionMessages:vC("transitionMessages",[Jp("enter",qo({opacity:1,transform:"translateY(0%)"})),em("void => enter",[qo({opacity:0,transform:"translateY(-5px)"}),Qp("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},c5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ve({type:e});let t=e;return t})();var d5=new de("MatFormField"),uCe=new de("MAT_FORM_FIELD_DEFAULT_OPTIONS"),WK=0,GK="fill",fCe="auto",YK="fixed",hCe="translateY(-50%)",ZK=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(r){this._hideRequiredMarker=Ar(r)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||fCe}set floatLabel(r){r!==this._floatLabel&&(this._floatLabel=r,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(r){let i=this._appearance,o=r||this._defaults?.appearance||GK;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||YK}set subscriptSizing(r){this._subscriptSizing=r||this._defaults?.subscriptSizing||YK}get hintLabel(){return this._hintLabel}set hintLabel(r){this._hintLabel=r,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(r){this._explicitFormFieldControl=r}constructor(r,i,o,a,s,l,c,d){this._elementRef=r,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=GK,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${WK++}`,this._hintLabelId=`mat-mdc-hint-${WK++}`,this._subscriptAnimationState="",this._destroyed=new Ee,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let r=this._control;r.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${r.controlType}`),r.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),r.ngControl&&r.ngControl.valueChanges&&r.ngControl.valueChanges.pipe(Pn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(r=>!r._isText),this._hasTextPrefix=!!this._prefixChildren.find(r=>r._isText),this._hasIconSuffix=!!this._suffixChildren.find(r=>!r._isText),this._hasTextSuffix=!!this._suffixChildren.find(r=>r._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Qi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Pn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Pn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(r){let i=this._control?this._control.ngControl:null;return i&&i[r]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let r=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&r.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?r.push(i.id):this._hintLabel&&r.push(this._hintLabelId),o&&r.push(o.id)}else this._errorChildren&&r.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(r)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let r=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){r.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${a+s}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;r.style.transform=`var( +?)[ \r ]*`,iO="[\u0300-\u036F]",Cye=new RegExp(iO+"+$"),Dye="("+H$+"+)|"+(xye+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(iO+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(iO+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+kye)+("|"+vye+")"),nC=class{constructor(e,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=n,this.tokenRegex=new RegExp(Dye,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,n){this.catcodes[e]=n}lex(){var e=this.input,n=this.tokenRegex.lastIndex;if(n===e.length)return new ls("EOF",new uo(this,n,n));var r=this.tokenRegex.exec(e);if(r===null||r.index!==n)throw new ae("Unexpected character: '"+e[n]+"'",new ls(e[n],new uo(this,n,n+1)));var i=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[i]===14){var o=e.indexOf(` +`,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new ls(i,new uo(this,n,this.tokenRegex.lastIndex))}},oO=class{constructor(e,n){e===void 0&&(e={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ae("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var n in e)e.hasOwnProperty(n)&&(e[n]==null?delete this.current[n]:this.current[n]=e[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,n,r){if(r===void 0&&(r=!1),r){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=n)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}n==null?delete this.current[e]:this.current[e]=n}},Sye=O$;k("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});k("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});k("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});k("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});k("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var n=t.future();return e[0].length===1&&e[0][0].text===n.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});k("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");k("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var ZH={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};k("\\char",function(t){var e=t.popToken(),n,r="";if(e.text==="'")n=8,e=t.popToken();else if(e.text==='"')n=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")r=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new ae("\\char` missing argument");r=e.text.charCodeAt(0)}else n=10;if(n){if(r=ZH[e.text],r==null||r>=n)throw new ae("Invalid base-"+n+" digit "+e.text);for(var i;(i=ZH[t.future().text])!=null&&i<n;)r*=n,r+=i,t.popToken()}return"\\@char{"+r+"}"});var vO=(t,e,n)=>{var r=t.consumeArg().tokens;if(r.length!==1)throw new ae("\\newcommand's first argument must be a macro name");var i=r[0].text,o=t.isDefined(i);if(o&&!e)throw new ae("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!n)throw new ae("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var a=0;if(r=t.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var s="",l=t.expandNextToken();l.text!=="]"&&l.text!=="EOF";)s+=l.text,l=t.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new ae("Invalid number of arguments: "+s);a=parseInt(s),r=t.consumeArg().tokens}return t.macros.set(i,{tokens:r,numArgs:a}),""};k("\\newcommand",t=>vO(t,!1,!0));k("\\renewcommand",t=>vO(t,!0,!1));k("\\providecommand",t=>vO(t,!0,!0));k("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(n=>n.text).join("")),""});k("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(n=>n.text).join("")),""});k("\\show",t=>{var e=t.popToken(),n=e.text;return console.log(e,t.macros.get(n),Pc[n],bn.math[n],bn.text[n]),""});k("\\bgroup","{");k("\\egroup","}");k("~","\\nobreakspace");k("\\lq","`");k("\\rq","'");k("\\aa","\\r a");k("\\AA","\\r A");k("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");k("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");k("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");k("\u212C","\\mathscr{B}");k("\u2130","\\mathscr{E}");k("\u2131","\\mathscr{F}");k("\u210B","\\mathscr{H}");k("\u2110","\\mathscr{I}");k("\u2112","\\mathscr{L}");k("\u2133","\\mathscr{M}");k("\u211B","\\mathscr{R}");k("\u212D","\\mathfrak{C}");k("\u210C","\\mathfrak{H}");k("\u2128","\\mathfrak{Z}");k("\\Bbbk","\\Bbb{k}");k("\xB7","\\cdotp");k("\\llap","\\mathllap{\\textrm{#1}}");k("\\rlap","\\mathrlap{\\textrm{#1}}");k("\\clap","\\mathclap{\\textrm{#1}}");k("\\mathstrut","\\vphantom{(}");k("\\underbar","\\underline{\\text{#1}}");k("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');k("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");k("\\ne","\\neq");k("\u2260","\\neq");k("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");k("\u2209","\\notin");k("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");k("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");k("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");k("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");k("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");k("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");k("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");k("\u27C2","\\perp");k("\u203C","\\mathclose{!\\mkern-0.8mu!}");k("\u220C","\\notni");k("\u231C","\\ulcorner");k("\u231D","\\urcorner");k("\u231E","\\llcorner");k("\u231F","\\lrcorner");k("\xA9","\\copyright");k("\xAE","\\textregistered");k("\uFE0F","\\textregistered");k("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');k("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');k("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');k("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');k("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");k("\u22EE","\\vdots");k("\\varGamma","\\mathit{\\Gamma}");k("\\varDelta","\\mathit{\\Delta}");k("\\varTheta","\\mathit{\\Theta}");k("\\varLambda","\\mathit{\\Lambda}");k("\\varXi","\\mathit{\\Xi}");k("\\varPi","\\mathit{\\Pi}");k("\\varSigma","\\mathit{\\Sigma}");k("\\varUpsilon","\\mathit{\\Upsilon}");k("\\varPhi","\\mathit{\\Phi}");k("\\varPsi","\\mathit{\\Psi}");k("\\varOmega","\\mathit{\\Omega}");k("\\substack","\\begin{subarray}{c}#1\\end{subarray}");k("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");k("\\boxed","\\fbox{$\\displaystyle{#1}$}");k("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");k("\\implies","\\DOTSB\\;\\Longrightarrow\\;");k("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var XH={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};k("\\dots",function(t){var e="\\dotso",n=t.expandAfterFuture().text;return n in XH?e=XH[n]:(n.slice(0,4)==="\\not"||n in bn.math&&at.contains(["bin","rel"],bn.math[n].group))&&(e="\\dotsb"),e});var kO={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};k("\\dotso",function(t){var e=t.future().text;return e in kO?"\\ldots\\,":"\\ldots"});k("\\dotsc",function(t){var e=t.future().text;return e in kO&&e!==","?"\\ldots\\,":"\\ldots"});k("\\cdots",function(t){var e=t.future().text;return e in kO?"\\@cdots\\,":"\\@cdots"});k("\\dotsb","\\cdots");k("\\dotsm","\\cdots");k("\\dotsi","\\!\\cdots");k("\\dotsx","\\ldots\\,");k("\\DOTSI","\\relax");k("\\DOTSB","\\relax");k("\\DOTSX","\\relax");k("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");k("\\,","\\tmspace+{3mu}{.1667em}");k("\\thinspace","\\,");k("\\>","\\mskip{4mu}");k("\\:","\\tmspace+{4mu}{.2222em}");k("\\medspace","\\:");k("\\;","\\tmspace+{5mu}{.2777em}");k("\\thickspace","\\;");k("\\!","\\tmspace-{3mu}{.1667em}");k("\\negthinspace","\\!");k("\\negmedspace","\\tmspace-{4mu}{.2222em}");k("\\negthickspace","\\tmspace-{5mu}{.277em}");k("\\enspace","\\kern.5em ");k("\\enskip","\\hskip.5em\\relax");k("\\quad","\\hskip1em\\relax");k("\\qquad","\\hskip2em\\relax");k("\\tag","\\@ifstar\\tag@literal\\tag@paren");k("\\tag@paren","\\tag@literal{({#1})}");k("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new ae("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});k("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");k("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");k("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");k("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");k("\\newline","\\\\\\relax");k("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var $$=ue(ss["Main-Regular"]["T".charCodeAt(0)][1]-.7*ss["Main-Regular"]["A".charCodeAt(0)][1]);k("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+$$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");k("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+$$+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");k("\\hspace","\\@ifstar\\@hspacer\\@hspace");k("\\@hspace","\\hskip #1\\relax");k("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");k("\\ordinarycolon",":");k("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");k("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');k("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');k("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');k("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');k("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');k("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');k("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');k("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');k("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');k("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');k("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');k("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');k("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');k("\u2237","\\dblcolon");k("\u2239","\\eqcolon");k("\u2254","\\coloneqq");k("\u2255","\\eqqcolon");k("\u2A74","\\Coloneqq");k("\\ratio","\\vcentcolon");k("\\coloncolon","\\dblcolon");k("\\colonequals","\\coloneqq");k("\\coloncolonequals","\\Coloneqq");k("\\equalscolon","\\eqqcolon");k("\\equalscoloncolon","\\Eqqcolon");k("\\colonminus","\\coloneq");k("\\coloncolonminus","\\Coloneq");k("\\minuscolon","\\eqcolon");k("\\minuscoloncolon","\\Eqcolon");k("\\coloncolonapprox","\\Colonapprox");k("\\coloncolonsim","\\Colonsim");k("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");k("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");k("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");k("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");k("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");k("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");k("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");k("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");k("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");k("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");k("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");k("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");k("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");k("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");k("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");k("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");k("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");k("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");k("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");k("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");k("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");k("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");k("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");k("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");k("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");k("\\imath","\\html@mathml{\\@imath}{\u0131}");k("\\jmath","\\html@mathml{\\@jmath}{\u0237}");k("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");k("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");k("\u27E6","\\llbracket");k("\u27E7","\\rrbracket");k("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");k("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");k("\u2983","\\lBrace");k("\u2984","\\rBrace");k("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");k("\u29B5","\\minuso");k("\\darr","\\downarrow");k("\\dArr","\\Downarrow");k("\\Darr","\\Downarrow");k("\\lang","\\langle");k("\\rang","\\rangle");k("\\uarr","\\uparrow");k("\\uArr","\\Uparrow");k("\\Uarr","\\Uparrow");k("\\N","\\mathbb{N}");k("\\R","\\mathbb{R}");k("\\Z","\\mathbb{Z}");k("\\alef","\\aleph");k("\\alefsym","\\aleph");k("\\Alpha","\\mathrm{A}");k("\\Beta","\\mathrm{B}");k("\\bull","\\bullet");k("\\Chi","\\mathrm{X}");k("\\clubs","\\clubsuit");k("\\cnums","\\mathbb{C}");k("\\Complex","\\mathbb{C}");k("\\Dagger","\\ddagger");k("\\diamonds","\\diamondsuit");k("\\empty","\\emptyset");k("\\Epsilon","\\mathrm{E}");k("\\Eta","\\mathrm{H}");k("\\exist","\\exists");k("\\harr","\\leftrightarrow");k("\\hArr","\\Leftrightarrow");k("\\Harr","\\Leftrightarrow");k("\\hearts","\\heartsuit");k("\\image","\\Im");k("\\infin","\\infty");k("\\Iota","\\mathrm{I}");k("\\isin","\\in");k("\\Kappa","\\mathrm{K}");k("\\larr","\\leftarrow");k("\\lArr","\\Leftarrow");k("\\Larr","\\Leftarrow");k("\\lrarr","\\leftrightarrow");k("\\lrArr","\\Leftrightarrow");k("\\Lrarr","\\Leftrightarrow");k("\\Mu","\\mathrm{M}");k("\\natnums","\\mathbb{N}");k("\\Nu","\\mathrm{N}");k("\\Omicron","\\mathrm{O}");k("\\plusmn","\\pm");k("\\rarr","\\rightarrow");k("\\rArr","\\Rightarrow");k("\\Rarr","\\Rightarrow");k("\\real","\\Re");k("\\reals","\\mathbb{R}");k("\\Reals","\\mathbb{R}");k("\\Rho","\\mathrm{P}");k("\\sdot","\\cdot");k("\\sect","\\S");k("\\spades","\\spadesuit");k("\\sub","\\subset");k("\\sube","\\subseteq");k("\\supe","\\supseteq");k("\\Tau","\\mathrm{T}");k("\\thetasym","\\vartheta");k("\\weierp","\\wp");k("\\Zeta","\\mathrm{Z}");k("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");k("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");k("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");k("\\bra","\\mathinner{\\langle{#1}|}");k("\\ket","\\mathinner{|{#1}\\rangle}");k("\\braket","\\mathinner{\\langle{#1}\\rangle}");k("\\Bra","\\left\\langle#1\\right|");k("\\Ket","\\left|#1\\right\\rangle");var q$=t=>e=>{var n=e.consumeArg().tokens,r=e.consumeArg().tokens,i=e.consumeArg().tokens,o=e.consumeArg().tokens,a=e.macros.get("|"),s=e.macros.get("\\|");e.macros.beginGroup();var l=u=>f=>{t&&(f.macros.set("|",a),i.length&&f.macros.set("\\|",s));var p=u;if(!u&&i.length){var h=f.future();h.text==="|"&&(f.popToken(),p=!0)}return{tokens:p?i:r,numArgs:0}};e.macros.set("|",l(!1)),i.length&&e.macros.set("\\|",l(!0));var c=e.consumeArg().tokens,d=e.expandTokens([...o,...c,...n]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};k("\\bra@ket",q$(!1));k("\\bra@set",q$(!0));k("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");k("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");k("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");k("\\angln","{\\angl n}");k("\\blue","\\textcolor{##6495ed}{#1}");k("\\orange","\\textcolor{##ffa500}{#1}");k("\\pink","\\textcolor{##ff00af}{#1}");k("\\red","\\textcolor{##df0030}{#1}");k("\\green","\\textcolor{##28ae7b}{#1}");k("\\gray","\\textcolor{gray}{#1}");k("\\purple","\\textcolor{##9d38bd}{#1}");k("\\blueA","\\textcolor{##ccfaff}{#1}");k("\\blueB","\\textcolor{##80f6ff}{#1}");k("\\blueC","\\textcolor{##63d9ea}{#1}");k("\\blueD","\\textcolor{##11accd}{#1}");k("\\blueE","\\textcolor{##0c7f99}{#1}");k("\\tealA","\\textcolor{##94fff5}{#1}");k("\\tealB","\\textcolor{##26edd5}{#1}");k("\\tealC","\\textcolor{##01d1c1}{#1}");k("\\tealD","\\textcolor{##01a995}{#1}");k("\\tealE","\\textcolor{##208170}{#1}");k("\\greenA","\\textcolor{##b6ffb0}{#1}");k("\\greenB","\\textcolor{##8af281}{#1}");k("\\greenC","\\textcolor{##74cf70}{#1}");k("\\greenD","\\textcolor{##1fab54}{#1}");k("\\greenE","\\textcolor{##0d923f}{#1}");k("\\goldA","\\textcolor{##ffd0a9}{#1}");k("\\goldB","\\textcolor{##ffbb71}{#1}");k("\\goldC","\\textcolor{##ff9c39}{#1}");k("\\goldD","\\textcolor{##e07d10}{#1}");k("\\goldE","\\textcolor{##a75a05}{#1}");k("\\redA","\\textcolor{##fca9a9}{#1}");k("\\redB","\\textcolor{##ff8482}{#1}");k("\\redC","\\textcolor{##f9685d}{#1}");k("\\redD","\\textcolor{##e84d39}{#1}");k("\\redE","\\textcolor{##bc2612}{#1}");k("\\maroonA","\\textcolor{##ffbde0}{#1}");k("\\maroonB","\\textcolor{##ff92c6}{#1}");k("\\maroonC","\\textcolor{##ed5fa6}{#1}");k("\\maroonD","\\textcolor{##ca337c}{#1}");k("\\maroonE","\\textcolor{##9e034e}{#1}");k("\\purpleA","\\textcolor{##ddd7ff}{#1}");k("\\purpleB","\\textcolor{##c6b9fc}{#1}");k("\\purpleC","\\textcolor{##aa87ff}{#1}");k("\\purpleD","\\textcolor{##7854ab}{#1}");k("\\purpleE","\\textcolor{##543b78}{#1}");k("\\mintA","\\textcolor{##f5f9e8}{#1}");k("\\mintB","\\textcolor{##edf2df}{#1}");k("\\mintC","\\textcolor{##e0e5cc}{#1}");k("\\grayA","\\textcolor{##f6f7f7}{#1}");k("\\grayB","\\textcolor{##f0f1f2}{#1}");k("\\grayC","\\textcolor{##e3e5e6}{#1}");k("\\grayD","\\textcolor{##d6d8da}{#1}");k("\\grayE","\\textcolor{##babec2}{#1}");k("\\grayF","\\textcolor{##888d93}{#1}");k("\\grayG","\\textcolor{##626569}{#1}");k("\\grayH","\\textcolor{##3b3e40}{#1}");k("\\grayI","\\textcolor{##21242c}{#1}");k("\\kaBlue","\\textcolor{##314453}{#1}");k("\\kaGreen","\\textcolor{##71B307}{#1}");var W$={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},aO=class{constructor(e,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(e),this.macros=new oO(Sye,n.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new nC(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var n,r,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:i,end:r}=this.consumeArg(["]"])}else({tokens:i,start:n,end:r}=this.consumeArg());return this.pushToken(new ls("EOF",r.loc)),this.pushTokens(i),n.range(r,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var n=[],r=e&&e.length>0;r||this.consumeSpaces();var i=this.future(),o,a=0,s=0;do{if(o=this.popToken(),n.push(o),o.text==="{")++a;else if(o.text==="}"){if(--a,a===-1)throw new ae("Extra }",o)}else if(o.text==="EOF")throw new ae("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",o);if(e&&r)if((a===0||a===1&&e[s]==="{")&&o.text===e[s]){if(++s,s===e.length){n.splice(-s,s);break}}else s=0}while(a!==0||r);return i.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:o}}consumeArgs(e,n){if(n){if(n.length!==e+1)throw new ae("The length of delimiters doesn't match the number of args!");for(var r=n[0],i=0;i<r.length;i++){var o=this.popToken();if(r[i]!==o.text)throw new ae("Use of the macro doesn't match its definition",o)}}for(var a=[],s=0;s<e;s++)a.push(this.consumeArg(n&&n[s+1]).tokens);return a}expandOnce(e){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||e&&i.unexpandable){if(e&&i==null&&r[0]==="\\"&&!this.isDefined(r))throw new ae("Undefined control sequence: "+r);return this.pushToken(n),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new ae("Too many expansions: infinite loop or need to increase maxExpand setting");var o=i.tokens,a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){o=o.slice();for(var s=o.length-1;s>=0;--s){var l=o[s];if(l.text==="#"){if(s===0)throw new ae("Incomplete placeholder at end of macro body",l);if(l=o[--s],l.text==="#")o.splice(s+1,1);else if(/^[1-9]$/.test(l.text))o.splice(s,2,...a[+l.text-1]);else throw new ae("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new ls(e)]):void 0}expandTokens(e){var n=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),n.push(i)}return n}expandMacroAsText(e){var n=this.expandMacro(e);return n&&n.map(r=>r.text).join("")}_getExpansion(e){var n=this.macros.get(e);if(n==null)return n;if(e.length===1){var r=this.lexer.catcodes[e];if(r!=null&&r!==13)return}var i=typeof n=="function"?n(this):n;if(typeof i=="string"){var o=0;if(i.indexOf("#")!==-1)for(var a=i.replace(/##/g,"");a.indexOf("#"+(o+1))!==-1;)++o;for(var s=new nC(i,this.settings),l=[],c=s.lex();c.text!=="EOF";)l.push(c),c=s.lex();l.reverse();var d={tokens:l,numArgs:o};return d}return i}isDefined(e){return this.macros.has(e)||Pc.hasOwnProperty(e)||bn.math.hasOwnProperty(e)||bn.text.hasOwnProperty(e)||W$.hasOwnProperty(e)}isExpandable(e){var n=this.macros.get(e);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Pc.hasOwnProperty(e)&&!Pc[e].primitive}},QH=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Yx=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),YI={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},JH={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Eye=(()=>{class t{constructor(n,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new aO(n,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(n,r){if(r===void 0&&(r=!0),this.fetch().text!==n)throw new ae("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(n){this.mode=n,this.gullet.switchMode(n)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}}subparse(n){var r=this.nextToken;this.consume(),this.gullet.pushToken(new ls("}")),this.gullet.pushTokens(n);var i=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,i}parseExpression(n,r){for(var i=[];;){this.mode==="math"&&this.consumeSpaces();var o=this.fetch();if(t.endOfExpression.indexOf(o.text)!==-1||r&&o.text===r||n&&Pc[o.text]&&Pc[o.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;i.push(a)}return this.mode==="text"&&this.formLigatures(i),this.handleInfixNodes(i)}handleInfixNodes(n){for(var r=-1,i,o=0;o<n.length;o++)if(n[o].type==="infix"){if(r!==-1)throw new ae("only one infix operator per group",n[o].token);r=o,i=n[o].replaceWith}if(r!==-1&&i){var a,s,l=n.slice(0,r),c=n.slice(r+1);l.length===1&&l[0].type==="ordgroup"?a=l[0]:a={type:"ordgroup",mode:this.mode,body:l},c.length===1&&c[0].type==="ordgroup"?s=c[0]:s={type:"ordgroup",mode:this.mode,body:c};var d;return i==="\\\\abovefrac"?d=this.callFunction(i,[a,n[r],s],[]):d=this.callFunction(i,[a,s],[]),[d]}else return n}handleSupSubscript(n){var r=this.fetch(),i=r.text;this.consume(),this.consumeSpaces();var o=this.parseGroup(n);if(!o)throw new ae("Expected group after '"+i+"'",r);return o}formatUnsupportedCmd(n){for(var r=[],i=0;i<n.length;i++)r.push({type:"textord",mode:"text",text:n[i]});var o={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[o]};return a}parseAtom(n){var r=this.parseGroup("atom",n);if(this.mode==="text")return r;for(var i,o;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new ae("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(i)throw new ae("Double superscript",a);i=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(o)throw new ae("Double subscript",a);o=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(i)throw new ae("Double superscript",a);var l={type:"textord",mode:this.mode,text:"\\prime"},c=[l];for(this.consume();this.fetch().text==="'";)c.push(l),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),i={type:"ordgroup",mode:this.mode,body:c}}else if(Yx[a.text]){var d=Yx[a.text],u=QH.test(a.text);for(this.consume();;){var f=this.fetch().text;if(!Yx[f]||QH.test(f)!==u)break;this.consume(),d+=Yx[f]}var p=new t(d,this.settings).parse();u?o={type:"ordgroup",mode:"math",body:p}:i={type:"ordgroup",mode:"math",body:p}}else break}return i||o?{type:"supsub",mode:this.mode,base:r,sup:i,sub:o}:r}parseFunction(n,r){var i=this.fetch(),o=i.text,a=Pc[o];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new ae("Got function '"+o+"' with no arguments"+(r?" as "+r:""),i);if(this.mode==="text"&&!a.allowedInText)throw new ae("Can't use function '"+o+"' in text mode",i);if(this.mode==="math"&&a.allowedInMath===!1)throw new ae("Can't use function '"+o+"' in math mode",i);var{args:s,optArgs:l}=this.parseArguments(o,a);return this.callFunction(o,s,l,i,n)}callFunction(n,r,i,o,a){var s={funcName:n,parser:this,token:o,breakOnTokenText:a},l=Pc[n];if(l&&l.handler)return l.handler(s,r,i);throw new ae("No function handler for "+n)}parseArguments(n,r){var i=r.numArgs+r.numOptionalArgs;if(i===0)return{args:[],optArgs:[]};for(var o=[],a=[],s=0;s<i;s++){var l=r.argTypes&&r.argTypes[s],c=s<r.numOptionalArgs;(r.primitive&&l==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(l="primitive");var d=this.parseGroupOfType("argument to '"+n+"'",l,c);if(c)a.push(d);else if(d!=null)o.push(d);else throw new ae("Null argument, please report this as a bug")}return{args:o,optArgs:a}}parseGroupOfType(n,r,i){switch(r){case"color":return this.parseColorGroup(i);case"size":return this.parseSizeGroup(i);case"url":return this.parseUrlGroup(i);case"math":case"text":return this.parseArgumentGroup(i,r);case"hbox":{var o=this.parseArgumentGroup(i,"text");return o!=null?{type:"styling",mode:o.mode,body:[o],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",i);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(i)throw new ae("A primitive argument cannot be optional");var s=this.parseGroup(n);if(s==null)throw new ae("Expected group as "+n,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(i);default:throw new ae("Unknown group type as "+n,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(n,r){var i=this.gullet.scanArgument(r);if(i==null)return null;for(var o="",a;(a=this.fetch()).text!=="EOF";)o+=a.text,this.consume();return this.consume(),i.text=o,i}parseRegexGroup(n,r){for(var i=this.fetch(),o=i,a="",s;(s=this.fetch()).text!=="EOF"&&n.test(a+s.text);)o=s,a+=o.text,this.consume();if(a==="")throw new ae("Invalid "+r+": '"+i.text+"'",i);return i.range(o,a)}parseColorGroup(n){var r=this.parseStringGroup("color",n);if(r==null)return null;var i=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!i)throw new ae("Invalid color: '"+r.text+"'",r);var o=i[0];return/^[0-9a-f]{6}$/i.test(o)&&(o="#"+o),{type:"color-token",mode:this.mode,color:o}}parseSizeGroup(n){var r,i=!1;if(this.gullet.consumeSpaces(),!n&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",n),!r)return null;!n&&r.text.length===0&&(r.text="0pt",i=!0);var o=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!o)throw new ae("Invalid size: '"+r.text+"'",r);var a={number:+(o[1]+o[2]),unit:o[3]};if(!n$(a))throw new ae("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:i}}parseUrlGroup(n){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",n);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var i=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:i}}parseArgumentGroup(n,r){var i=this.gullet.scanArgument(n);if(i==null)return null;var o=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:i.loc,body:a};return r&&this.switchMode(o),s}parseGroup(n,r){var i=this.fetch(),o=i.text,a;if(o==="{"||o==="\\begingroup"){this.consume();var s=o==="{"?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,s),c=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:uo.range(i,c),body:l,semisimple:o==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,n)||this.parseSymbol(),a==null&&o[0]==="\\"&&!W$.hasOwnProperty(o)){if(this.settings.throwOnError)throw new ae("Undefined control sequence: "+o,i);a=this.formatUnsupportedCmd(o),this.consume()}return a}formLigatures(n){for(var r=n.length-1,i=0;i<r;++i){var o=n[i],a=o.text;a==="-"&&n[i+1].text==="-"&&(i+1<r&&n[i+2].text==="-"?(n.splice(i,3,{type:"textord",mode:"text",loc:uo.range(o,n[i+2]),text:"---"}),r-=2):(n.splice(i,2,{type:"textord",mode:"text",loc:uo.range(o,n[i+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&n[i+1].text===a&&(n.splice(i,2,{type:"textord",mode:"text",loc:uo.range(o,n[i+1]),text:a+a}),r-=1)}}parseSymbol(){var n=this.fetch(),r=n.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var i=r.slice(5),o=i.charAt(0)==="*";if(o&&(i=i.slice(1)),i.length<2||i.charAt(0)!==i.slice(-1))throw new ae(`\\verb assertion failed -- + please report what input caused this bug`);return i=i.slice(1,-1),{type:"verb",mode:"text",body:i,star:o}}JH.hasOwnProperty(r[0])&&!bn[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',n),r=JH[r[0]]+r.slice(1));var a=Cye.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="\u0131":r==="j"&&(r="\u0237"));var s;if(bn[this.mode][r]){this.settings.strict&&this.mode==="math"&&QI.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',n);var l=bn[this.mode][r].group,c=uo.range(n),d;if(y0e.hasOwnProperty(l)){var u=l;d={type:"atom",mode:this.mode,family:u,loc:c,text:r}}else d={type:l,mode:this.mode,loc:c,text:r};s=d}else if(r.charCodeAt(0)>=128)this.settings.strict&&(t$(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),n)),s={type:"textord",mode:"text",loc:uo.range(n),text:r};else return null;if(this.consume(),a)for(var f=0;f<a[0].length;f++){var p=a[0][f];if(!YI[p])throw new ae("Unknown accent ' "+p+"'",n);var h=YI[p][this.mode]||YI[p].text;if(!h)throw new ae("Accent "+p+" unsupported in "+this.mode+" mode",n);s={type:"accent",mode:this.mode,loc:uo.range(n),label:h,isStretchy:!1,isShifty:!0,base:s}}return s}}return t.endOfExpression=["}","\\endgroup","\\end","\\right","&"],t})(),xO=function(e,n){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Eye(e,n);delete r.gullet.macros.current["\\df@tag"];var i=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ae("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:r.subparse([new ls("\\df@tag")])}]}return i},G$=function(e,n,r){n.textContent="";var i=CO(e,r).toNode();n.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),G$=function(){throw new ae("KaTeX doesn't work in quirks mode.")});var Mye=function(e,n){var r=CO(e,n).toMarkup();return r},Tye=function(e,n){var r=new ob(n);return xO(e,r)},Y$=function(e,n,r){if(r.throwOnError||!(e instanceof ae))throw e;var i=L.makeSpan(["katex-error"],[new Bi(n)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+r.errorColor),i},CO=function(e,n){var r=new ob(n);try{var i=xO(e,r);return L0e(i,e,r)}catch(o){return Y$(o,e,r)}},Aye=function(e,n){var r=new ob(n);try{var i=xO(e,r);return B0e(i,e,r)}catch(o){return Y$(o,e,r)}},ub={version:"0.16.9",render:G$,renderToString:Mye,ParseError:ae,SETTINGS_SCHEMA:Kx,__parse:Tye,__renderToDomTree:CO,__renderToHTMLTree:Aye,__setFontMetrics:d0e,__defineSymbol:m,__defineFunction:be,__defineMacro:k,__domTree:{Span:Ju,Anchor:sb,SymbolNode:Bi,SvgNode:xa,PathNode:cs,LineNode:lb}};function DO(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:o},exit:{mathFlow:i,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:s,mathText:a,mathTextData:s}};function t(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function e(){this.buffer()}function n(){let l=this.resume(),c=this.stack[this.stack.length-1];c.type,c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=c;let u=d.data.hChildren[0];u.type,u.tagName,u.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function a(l){let c=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=c,d.data.hChildren.push({type:"text",value:c})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function SO(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),r.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` +`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(o,a,s,l){let c=o.value||"",d=s.createTracker(l),u="$".repeat(Math.max(p1(c,"$")+1,2)),f=s.enter("mathFlow"),p=d.move(u);if(o.meta){let h=s.enter("mathFlowMeta");p+=d.move(s.safe(o.meta,D({after:` +`,before:p,encode:["$"]},d.current()))),h()}return p+=d.move(` +`),c&&(p+=d.move(c+` +`)),p+=d.move(u),f(),p}function r(o,a,s){let l=o.value||"",c=1;for(e||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let d="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let u=-1;for(;++u<s.unsafe.length;){let f=s.unsafe[u];if(!f.atBreak)continue;let p=s.compilePattern(f),h;for(;h=p.exec(l);){let g=h.index;l.codePointAt(g)===10&&l.codePointAt(g-1)===13&&g--,l=l.slice(0,g)+" "+l.slice(h.index+1)}}return d+l+d}function i(){return"$"}}var Z$={tokenize:Iye,concrete:!0},K$={tokenize:Oye,partial:!0};function Iye(t,e,n){let r=this,i=r.events[r.events.length-1],o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return s;function s(x){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),l(x)}function l(x){return x===36?(t.consume(x),a++,l):a<2?n(x):(t.exit("mathFlowFenceSequence"),Te(t,c,"whitespace")(x))}function c(x){return x===null||he(x)?u(x):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(x))}function d(x){return x===null||he(x)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),u(x)):x===36?n(x):(t.consume(x),d)}function u(x){return t.exit("mathFlowFence"),r.interrupt?e(x):t.attempt(K$,f,b)(x)}function f(x){return t.attempt({tokenize:_,partial:!0},b,p)(x)}function p(x){return(o?Te(t,h,"linePrefix",o+1):h)(x)}function h(x){return x===null?b(x):he(x)?t.attempt(K$,f,b)(x):(t.enter("mathFlowValue"),g(x))}function g(x){return x===null||he(x)?(t.exit("mathFlowValue"),h(x)):(t.consume(x),g)}function b(x){return t.exit("mathFlow"),e(x)}function _(x,E,v){let j=0;return Te(x,C,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function C(N){return x.enter("mathFlowFence"),x.enter("mathFlowFenceSequence"),P(N)}function P(N){return N===36?(j++,x.consume(N),P):j<a?v(N):(x.exit("mathFlowFenceSequence"),Te(x,z,"whitespace")(N))}function z(N){return N===null||he(N)?(x.exit("mathFlowFence"),E(N)):v(N)}}}function Oye(t,e,n){let r=this;return i;function i(a){return a===null?e(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),o)}function o(a){return r.parser.lazy[r.now().line]?n(a):e(a)}}function X$(t){let n=(t||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:Pye,previous:Fye};function r(i,o,a){let s=this,l=0,c,d;return u;function u(b){return i.enter("mathText"),i.enter("mathTextSequence"),f(b)}function f(b){return b===36?(i.consume(b),l++,f):l<2&&!n?a(b):(i.exit("mathTextSequence"),p(b))}function p(b){return b===null?a(b):b===36?(d=i.enter("mathTextSequence"),c=0,g(b)):b===32?(i.enter("space"),i.consume(b),i.exit("space"),p):he(b)?(i.enter("lineEnding"),i.consume(b),i.exit("lineEnding"),p):(i.enter("mathTextData"),h(b))}function h(b){return b===null||b===32||b===36||he(b)?(i.exit("mathTextData"),p(b)):(i.consume(b),h)}function g(b){return b===36?(i.consume(b),c++,g):c===l?(i.exit("mathTextSequence"),i.exit("mathText"),o(b)):(d.type="mathTextData",h(b))}}}function Pye(t){let e=t.length-4,n=3,r,i;if((t[n][1].type==="lineEnding"||t[n][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(r=n;++r<e;)if(t[r][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[n][1].type="mathTextPadding",n+=2,e-=2;break}}for(r=n-1,e++;++r<=e;)i===void 0?r!==e&&t[r][1].type!=="lineEnding"&&(i=r):(r===e||t[r][1].type==="lineEnding")&&(t[i][1].type="mathTextData",r!==i+2&&(t[i][1].end=t[r-1][1].end,t.splice(i+2,r-i-2),e-=r-i-2,r=i+2),i=void 0);return t}function Fye(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function EO(t){return{flow:{36:Z$},text:{36:X$(t)}}}var Nye={};function cC(t){let e=this,n=t||Nye,r=e.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(EO(n)),o.push(DO()),a.push(SO(n))}function jc(t,e){return Object.assign(t,{meta:D({package:"@milkdown/plugin-math"},e)}),t}var AO=_i("remarkMath",()=>cC);jc(AO.plugin,{displayName:"Remark<remarkMath>"});jc(AO.options,{displayName:"RemarkConfig<remarkMath>"});var MO="math_inline",$h=Vt({},"katexOptions");jc($h,{displayName:"Ctx<katexOptions>"});var IO=yn("math_inline",t=>({group:"inline",content:"text*",inline:!0,atom:!0,parseDOM:[{tag:`span[data-type="${MO}"]`,getContent:(e,n)=>{if(!(e instanceof HTMLElement))throw cr(e);return Z.from(n.text(e.dataset.value??""))}}],toDOM:e=>{let n=e.textContent,r=document.createElement("span");return r.dataset.type=MO,r.dataset.value=n,ub.render(n,r,t.get($h.key)),r},parseMarkdown:{match:e=>e.type==="inlineMath",runner:(e,n,r)=>{e.openNode(r).addText(n.value).closeNode()}},toMarkdown:{match:e=>e.type.name===MO,runner:(e,n)=>{e.addNode("inlineMath",void 0,n.textContent)}}}));jc(IO.ctx,{displayName:"NodeSchemaCtx<mathInline>"});jc(IO.node,{displayName:"NodeSchema<mathInline>"});var TO="math_block",tf=yn("math_block",t=>({content:"text*",group:"block",marks:"",defining:!0,atom:!0,isolating:!0,attrs:{value:{default:""}},parseDOM:[{tag:`div[data-type="${TO}"]`,preserveWhitespace:"full",getAttrs:e=>({value:e.dataset.value??""})}],toDOM:e=>{let n=e.attrs.value,r=document.createElement("div");return r.dataset.type=TO,r.dataset.value=n,ub.render(n,r,t.get($h.key)),r},parseMarkdown:{match:({type:e})=>e==="math",runner:(e,n,r)=>{let i=n.value;e.addNode(r,{value:i})}},toMarkdown:{match:e=>e.type.name===TO,runner:(e,n)=>{e.addNode("math",void 0,n.attrs.value)}}}));jc(tf.ctx,{displayName:"NodeSchemaCtx<mathBlock>"});jc(tf.node,{displayName:"NodeSchema<mathBlock>"});var Q$=jr(t=>new zn(/^\$\$\s$/,(e,n,r,i)=>{let o=e.doc.resolve(r);return o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),tf.type(t))?e.tr.delete(r,i).setBlockType(r,r,tf.type(t)):null}));jc(Q$,{displayName:"InputRule<mathBlock>"});var J$=[AO,$h,IO,tf,Q$].flat();function Rye(t,e){let{doc:n,selection:r}=t;if(!n||!r||!(r instanceof je||r instanceof hi))return t;let{to:i}=r,o=e.type==="space"?Array(e.size).fill(" ").join(""):" ";return t.insertText(o,i)}var fb=Vt({type:"space",size:2},"indentConfig");fb.meta={package:"@milkdown/plugin-indent",displayName:"Ctx<indentConfig>"};var eq=WT(t=>({Tab:(e,n)=>{let r=t.get(fb.key),{tr:i}=e,o=Rye(i,r);return o.docChanged?(n?.(o),!0):!1}}));eq.meta={package:"@milkdown/plugin-indent",displayName:"Shortcut<indent>"};var tq=[fb,eq];var dC=200,Br=function(){};Br.prototype.append=function(e){return e.length?(e=Br.from(e),!this.length&&e||e.length<dC&&this.leafAppend(e)||this.length<dC&&e.leafPrepend(this)||this.appendInner(e)):this};Br.prototype.prepend=function(e){return e.length?Br.from(e).append(this):this};Br.prototype.appendInner=function(e){return new jye(this,e)};Br.prototype.slice=function(e,n){return e===void 0&&(e=0),n===void 0&&(n=this.length),e>=n?Br.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};Br.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};Br.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};Br.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var i=[];return this.forEach(function(o,a){return i.push(e(o,a))},n,r),i};Br.from=function(e){return e instanceof Br?e:e&&e.length?new nq(e):Br.empty};var nq=function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(i,o){return i==0&&o==this.length?this:new e(this.values.slice(i,o))},e.prototype.getInner=function(i){return this.values[i]},e.prototype.forEachInner=function(i,o,a,s){for(var l=o;l<a;l++)if(i(this.values[l],s+l)===!1)return!1},e.prototype.forEachInvertedInner=function(i,o,a,s){for(var l=o-1;l>=a;l--)if(i(this.values[l],s+l)===!1)return!1},e.prototype.leafAppend=function(i){if(this.length+i.length<=dC)return new e(this.values.concat(i.flatten()))},e.prototype.leafPrepend=function(i){if(this.length+i.length<=dC)return new e(i.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(Br);Br.empty=new nq([]);var jye=function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return r<this.left.length?this.left.get(r):this.right.get(r-this.left.length)},e.prototype.forEachInner=function(r,i,o,a){var s=this.left.length;if(i<s&&this.left.forEachInner(r,i,Math.min(o,s),a)===!1||o>s&&this.right.forEachInner(r,Math.max(i-s,0),Math.min(this.length,o)-s,a+s)===!1)return!1},e.prototype.forEachInvertedInner=function(r,i,o,a){var s=this.left.length;if(i>s&&this.right.forEachInvertedInner(r,i-s,Math.max(o,s)-s,a+s)===!1||o<s&&this.left.forEachInvertedInner(r,Math.min(i,s),o,a)===!1)return!1},e.prototype.sliceInner=function(r,i){if(r==0&&i==this.length)return this;var o=this.left.length;return i<=o?this.left.slice(r,i):r>=o?this.right.slice(r-o,i-o):this.left.slice(r,o).append(this.right.slice(0,i-o))},e.prototype.leafAppend=function(r){var i=this.right.leafAppend(r);if(i)return new e(this.left,i)},e.prototype.leafPrepend=function(r){var i=this.left.leafPrepend(r);if(i)return new e(i,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e}(Br),OO=Br;var zye=500,nf=class t{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=e.tr,s,l,c=[],d=[];return this.items.forEach((u,f)=>{if(!u.step){i||(i=this.remapping(r,f+1),o=i.maps.length),o--,d.push(u);return}if(i){d.push(new ps(u.map));let p=u.step.map(i.slice(o)),h;p&&a.maybeStep(p).doc&&(h=a.mapping.maps[a.mapping.maps.length-1],c.push(new ps(h,void 0,void 0,c.length+d.length))),o--,h&&i.appendMap(h,o)}else a.maybeStep(u.step);if(u.selection)return s=i?u.selection.map(i.slice(o)):u.selection,l=new t(this.items.slice(0,r).append(d.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(e,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let d=0;d<e.steps.length;d++){let u=e.steps[d].invert(e.docs[d]),f=new ps(e.mapping.maps[d],u,n),p;(p=l&&l.merge(f))&&(f=p,d?o.pop():s=s.slice(0,s.length-1)),o.push(f),n&&(a++,n=void 0),i||(l=f)}let c=a-r.depth;return c>Bye&&(s=Lye(s,c),a-=c),new t(s.append(o),a)}remapping(e,n){let r=new k0;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=e?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},e,n),r}addMaps(e){return this.eventCount==0?this:new t(this.items.append(e.map(n=>new ps(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=e.mapping,a=e.steps.length,s=this.eventCount;this.items.forEach(f=>{f.selection&&s--},i);let l=n;this.items.forEach(f=>{let p=o.getMirror(--l);if(p==null)return;a=Math.min(a,p);let h=o.maps[p];if(f.step){let g=e.steps[p].invert(e.docs[p]),b=f.selection&&f.selection.map(o.slice(l+1,p));b&&s++,r.push(new ps(h,g,b))}else r.push(new ps(h))},i);let c=[];for(let f=n;f<a;f++)c.push(new ps(o.maps[f]));let d=this.items.slice(0,i).append(c).append(r),u=new t(d,s);return u.emptyItemCount()>zye&&(u=u.compress(this.items.length-r.length)),u}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=e)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let d=a.selection&&a.selection.map(n.slice(r));d&&o++;let u=new ps(c.invert(),l,d),f,p=i.length-1;(f=i.length&&i[p].merge(u))?i[p]=f:i.push(u)}}else a.map&&r--},this.items.length,0),new t(OO.from(i.reverse()),o)}};nf.empty=new nf(OO.empty,0);function Lye(t,e){let n;return t.forEach((r,i)=>{if(r.selection&&e--==0)return n=i,!1}),t.slice(n)}var ps=class t{constructor(e,n,r,i){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=i}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new t(n.getMap().invert(),n,this.selection)}}},hs=class{constructor(e,n,r,i,o){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}},Bye=20;function Vye(t,e,n,r){let i=n.getMeta(zc),o;if(i)return i.historyState;n.getMeta(Hye)&&(t=new hs(t.done,t.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(a&&a.getMeta(zc))return a.getMeta(zc).redo?new hs(t.done.addTransform(n,void 0,r,uC(e)),t.undone,rq(n.mapping.maps[n.steps.length-1]),t.prevTime,t.prevComposition):new hs(t.done,t.undone.addTransform(n,void 0,r,uC(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=t.prevTime==0||!a&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-r.newGroupDelay||!Uye(n,t.prevRanges)),c=a?PO(t.prevRanges,n.mapping):rq(n.mapping.maps[n.steps.length-1]);return new hs(t.done.addTransform(n,l?e.selection.getBookmark():void 0,r,uC(e)),nf.empty,c,n.time,s??t.prevComposition)}else return(o=n.getMeta("rebased"))?new hs(t.done.rebased(n,o),t.undone.rebased(n,o),PO(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new hs(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),PO(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function Uye(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,i)=>{for(let o=0;o<e.length;o+=2)r<=e[o+1]&&i>=e[o]&&(n=!0)}),n}function rq(t){let e=[];return t.forEach((n,r,i,o)=>e.push(i,o)),e}function PO(t,e){if(!t)return null;let n=[];for(let r=0;r<t.length;r+=2){let i=e.map(t[r],1),o=e.map(t[r+1],-1);i<=o&&n.push(i,o)}return n}function oq(t,e,n,r){let i=uC(e),o=zc.get(e).spec.config,a=(r?t.undone:t.done).popEvent(e,i);if(!a)return;let s=a.selection.resolve(a.transform.doc),l=(r?t.done:t.undone).addTransform(a.transform,e.selection.getBookmark(),o,i),c=new hs(r?l:a.remaining,r?a.remaining:l,null,0,-1);n(a.transform.setSelection(s).setMeta(zc,{redo:r,historyState:c}).scrollIntoView())}var FO=!1,iq=null;function uC(t){let e=t.plugins;if(iq!=e){FO=!1,iq=e;for(let n=0;n<e.length;n++)if(e[n].spec.historyPreserveItems){FO=!0;break}}return FO}var zc=new Je("history"),Hye=new Je("closeHistory");function aq(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new Le({key:zc,state:{init(){return new hs(nf.empty,nf.empty,null,0,-1)},apply(e,n,r){return Vye(n,r,e,t)}},config:t,props:{handleDOMEvents:{beforeinput(e,n){let r=n.inputType,i=r=="historyUndo"?NO:r=="historyRedo"?RO:null;return i?(n.preventDefault(),i(e.state,e.dispatch)):!1}}}})}var NO=(t,e)=>{let n=zc.getState(t);return!n||n.done.eventCount==0?!1:(e&&oq(n,t,e,!1),!0)},RO=(t,e)=>{let n=zc.getState(t);return!n||n.undone.eventCount==0?!1:(e&&oq(n,t,e,!0),!0)};function qh(t,e){return Object.assign(t,{meta:D({package:"@milkdown/plugin-history"},e)}),t}var _l=ut("Undo",()=>()=>NO);qh(_l,{displayName:"Command<undo>"});var rf=ut("Redo",()=>()=>RO);qh(rf,{displayName:"Command<redo>"});var jO=Vt({},"historyProviderConfig");qh(jO,{displayName:"Ctx<historyProviderConfig>"});var sq=Bt(t=>aq(t.get(jO.key)));qh(sq,{displayName:"Ctx<historyProviderPlugin>"});var zO=zr("historyKeymap",{Undo:{shortcuts:"Mod-z",command:t=>{let e=t.get(it);return()=>e.call(_l.key)}},Redo:{shortcuts:["Mod-y","Shift-Mod-z"],command:t=>{let e=t.get(it);return()=>e.call(rf.key)}}});qh(zO.ctx,{displayName:"KeymapCtx<history>"});qh(zO.shortcuts,{displayName:"Keymap<history>"});var lq=[jO,sq,zO,_l,rf].flat();function Lc(t){return t.editor.action}var Wh=(()=>{let e=class e extends eV{constructor(){super(...arguments),this.loading=!0}get action(){return Lc(this.provider.editor)}ngAfterViewInit(){this.loading=!1}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275dir=ke({type:e,selectors:[["ng-milkdown-plugin"]],standalone:!0,features:[ge]});let t=e;return t})();var Gh=(()=>{let e=class e extends Wh{get tooltipProvider(){return this.provider?.service?.pluginView[this.key]}get pluginView(){return new ns({content:this.container,debounce:50,tippyOptions:{appendTo:document.body}})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275dir=ke({type:e,selectors:[["ng-milkdown-tooltip"]],standalone:!0,features:[ge]});let t=e;return t})();function $ye(t,e){if(t&1){let n=lr();U(0,"button",1),Ce("mousedown",function(i){let a=nn(n).$implicit,s=ze(2);return rn(s.mousedown(i,a.command))})("touchstart",function(i){let a=nn(n).$implicit,s=ze(2);return rn(s.mousedown(i,a.command))}),U(1,"span",2),we(2),G()()}if(t&2){let n=e.$implicit;Se("title",n.title),oe(2),tr(n.icon)}}function qye(t,e){if(t&1&&(U(0,"div",0),$r(1,$ye,3,2,"button",3,Mo),G()),t&2){let n=e.$implicit;oe(1),qr(n)}}var cq=(()=>{let e=class e extends Gh{constructor(){super(...arguments),this.buttons=[[{icon:"undo",title:"Undo",command:_l.key},{icon:"redo",title:"Redo",command:rf.key}],[{icon:"format_bold",title:"Bold",command:Su.key},{icon:"format_italic",title:"Italic",command:Du.key},{icon:"format_strikethrough",title:"Strikethrough",command:Uu.key},{icon:"format_quote",title:"Quote",command:Xs.key}]]}mousedown(r,i){r.preventDefault(),this.action(dh(i))}get pluginView(){return new ns({debounce:50,content:this.container,shouldShow:r=>{let{from:i,to:o}=r.state.selection;return i!==o&&r.state.doc.nodeAt(i)?.type.name==="text"},tippyOptions:{appendTo:document.body}})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["tooltip"]],standalone:!0,features:[ge,Oe],decls:2,vars:0,consts:[[1,"flex-1","flex","w-64"],[1,"flex-1","text-gray-600","text-xs","bg-slate-200","px-2","py-1","hover:bg-slate-300","border","border-b-blue-50","hover:text-gray-900",3,"title","mousedown","touchstart"],[1,"material-symbols-outlined"],["class","flex-1 text-gray-600 text-xs bg-slate-200 px-2 py-1 hover:bg-slate-300 border border-b-blue-50 hover:text-gray-900",3,"title"],["class","flex-1 flex w-64"]],template:function(i,o){i&1&&$r(0,qye,3,0,"div",4,Mo),i&2&&qr(o.buttons)}});let t=e;return t})();var fC=(()=>{let e=class e extends Wh{constructor(r){super(r),this.el=r,this.list=[],this.selected=0,this._opened=!1,this.trigger="/",this.search="",this.removeSlash=i=>{let o=i.get(on);o.dispatch(o.state.tr.delete(o.state.selection.from-1,o.state.selection.from))},this.eventListener=null}get opened(){return this._opened}set opened(r){this._opened=r,setTimeout(()=>{this.action(i=>{i.update(this.slash.key,o=>q(D({},o),{opened:r}))})})}onKeyDown(r){if(!this.opened)return!1;let i=r.key;return i==="ArrowDown"?(r.preventDefault(),this.selected=(this.selected+1)%this.list.length,!1):i==="ArrowUp"?(r.preventDefault(),this.selected=(this.selected+this.list.length-1)%this.list.length,!1):i==="Enter"?(r.preventDefault(),setTimeout(()=>{this.action(dh(_l.key)),this.provider.editor.editor?.action(this.onPick)}),setTimeout(()=>{this.action(o=>{o.get(on).focus()})}),!1):!0}get onPick(){return r=>{}}ngAfterViewInit(){super.ngAfterViewInit(),this.eventListener=this.onKeyDown.bind(this)}get root(){return this.provider.editor.editor.ctx.get(U0)}get pluginView(){return new Eh({content:this.el.nativeElement,debounce:50,trigger:this.trigger,tippyOptions:{onShow:()=>{this.opened=!0,this.root.addEventListener("keydown",this.eventListener)},onHide:()=>{this.selected=0,this.opened=!1,this.root.removeEventListener("keydown",this.eventListener)}}})}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["ng-milkdown-slash"]],inputs:{slash:"slash"},standalone:!0,features:[ge]});let t=e;return t})();var Wye=()=>["bg-gray-200","dark:bg-gray-500"],Gye=()=>[];function Yye(t,e){if(t&1){let n=lr();U(0,"li",1),Ce("mousemove",function(){let o=nn(n).$index,a=ze();return rn(a.selected=o)})("mousedown",function(){nn(n);let i=ze();return rn(i.action(i.onPick))})("touchstart",function(){let o=nn(n).$index,a=ze();return a.selected=o,rn(a.action(a.onPick))}),U(1,"div",2)(2,"span",3),we(3),G(),U(4,"span"),we(5),G()()()}if(t&2){let n=e.$implicit,r=e.$index,i=ze();sr(i.selected===r?xr(4,Wye):xr(5,Gye)),oe(3),tr(n.icon),oe(2),tr(n.label)}}var dq=(()=>{let e=class e extends fC{constructor(){super(...arguments),this.list=[{label:"Heading 1",icon:"looks_one",slice:ti.key,payload:1},{label:"Heading 2",icon:"looks_two",slice:ti.key,payload:2},{label:"Heading 3",icon:"looks_3",slice:ti.key,payload:3},{label:"Code Block",icon:"code_blocks",slice:Tu.key},{label:"Quote Block",icon:"format_quote",slice:Xs.key},{label:"Divider",icon:"horizontal_rule",slice:ph.key,payload:{mode:"horizontal"}}]}get onPick(){let{slice:r,payload:i}=this.list[this.selected];return setTimeout(()=>{this.action(o=>{o.get(on).focus()})}),o=>{this.removeSlash(o),o.get(it).call(r,i)}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["slash"]],standalone:!0,features:[ge,Oe],decls:3,vars:0,consts:[[1,"m-0","w-96","list-none","rounded","bg-gray-50","shadow-lg","ring-2","dark:bg-gray-900"],[1,"cursor-pointer","px-6","py-3",3,"mousemove","mousedown","touchstart"],[1,"flex","items-center","gap-2"],[1,"material-symbols-outlined","text-nord-10","dark:text-nord-9"],["class","cursor-pointer px-6 py-3",3,"class"]],template:function(i,o){i&1&&(U(0,"ul",0),$r(1,Yye,6,6,"li",4,Mo),G()),i&2&&(oe(1),qr(o.list))}});let t=e;return t})();var uq=(()=>{let e=class e extends Wh{get pluginView(){return new Rx({ctx:this.ctx,content:this.el.nativeElement})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275dir=ke({type:e,selectors:[["ng-milkdown-block"]],inputs:{ctx:"ctx"},standalone:!0,features:[ge]});let t=e;return t})();var fq=(()=>{let e=class e extends uq{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["block"]],standalone:!0,features:[ge,Oe],decls:3,vars:0,consts:[[1,"w-6","bg-slate-200","rounded","hover:bg-slate-300","cursor-grab"],["xmlns","http://www.w3.org/2000/svg","fill","none","viewBox","0 0 24 24","stroke-width","{1.5}","stroke","currentColor",1,"w-6","h-6"],["stroke-linecap","round","stroke-linejoin","round","d","M12 6.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 12.75a.75.75 0 110-1.5.75.75 0 010 1.5zM12 18.75a.75.75 0 110-1.5.75.75 0 010 1.5z"]],template:function(i,o){i&1&&(U(0,"div",0),AF(),U(1,"svg",1),_t(2,"path",2),G()())},encapsulation:2});let t=e;return t})();var _Ge=ko(RZ(),1),wGe=ko(jZ(),1);var kGe=ko(zZ(),1);function Kye(t){return{type:"diagram",value:t}}function Zye(t){return oo(t,"code",(e,n,r)=>{let{lang:i,value:o}=e;if(i!=="mermaid")return e;let a=Kye(o);return r&&n!=null&&r.children.splice(n,1,a),e})}function Xye(){function t(e){Zye(e)}return t}var Qye=wk("abcdefg",8),pC=t=>{var e;return((e=t?.attrs)==null?void 0:e.identity)||Qye()};function of(t,e){return Object.assign(t,{meta:D({package:"@milkdown/plugin-diagram"},e)}),t}var LO=Vt({startOnLoad:!1},"mermaidConfig");of(LO,{displayName:"Ctx<mermaidConfig>"});var pb="diagram",af=yn(pb,t=>(Pf.initialize(D({},t.get(LO.key))),{content:"text*",group:"block",marks:"",defining:!0,atom:!0,isolating:!0,attrs:{value:{default:""},identity:{default:""}},parseDOM:[{tag:`div[data-type="${pb}"]`,preserveWhitespace:"full",getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{value:e.dataset.value,identity:e.dataset.id}}}],toDOM:e=>{let n=pC(e),r=e.attrs.value,i=document.createElement("div");return i.dataset.type=pb,i.dataset.id=n,i.dataset.value=r,i.textContent=r,i},parseMarkdown:{match:({type:e})=>e===pb,runner:(e,n,r)=>{let i=n.value;e.addNode(r,{value:i,identity:pC()})}},toMarkdown:{match:e=>e.type.name===pb,runner:(e,n)=>{e.addNode("code",void 0,n.attrs.value||"",{lang:"mermaid"})}}}));of(af.node,{displayName:"NodeSchema<diagram>"});of(af.ctx,{displayName:"NodeSchemaCtx<diagram>"});var pq=jr(t=>new zn(/^```mermaid$/,(e,n,r,i)=>{let o=af.type(t),a=e.doc.resolve(r);return a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),o)?e.tr.delete(r,i).setBlockType(r,r,o,{identity:pC()}):null}));of(pq,{displayName:"InputRule<insertDiagramInputRules>"});var BO=_i("remarkMermaid",()=>Xye);of(BO.plugin,{displayName:"Remark<diagram>"});of(BO.options,{displayName:"RemarkConfig<diagram>"});var hC=ut("InsertDiagramCommand",t=>()=>wc(af.type(t),{identity:pC()}));of(hC,{displayName:"Command<insertDiagramCommand>"});var hq=[BO,LO,af,hC,pq].flat();var Iq=ko(xq(),1),Oq=ko(Dq(),1);var Fq=ko(_q(),1);var bbe=ko(Aq(),1),LGe=(0,Oq.default)();var pbe=String.fromCharCode(65039),hbe=new RegExp(pbe,"g");function mbe(t){return t.replace(hbe,"")}function gbe(t){return/:.+:/.test(t)?t.slice(1,-1):t}var Pq=Object.entries(Iq.default.lib).map(([t,{char:e}])=>[t,e]),ybe=new Map(Pq),BGe=new Map(Pq.map(([t,e])=>[mbe(e),t]));var gC=t=>(Fq.assert.string(t),ybe.get(gbe(t)));var VO=[{name:"angry",emoji:"\u{1F620}",tags:["mad","annoyed"],description:"angry face",emoticons:[">:(",">:[",">:-(",">:-[",">=(",">=[",">=-(",">=-["]},{name:"blush",emoji:"\u{1F60A}",tags:["proud"],description:"smiling face with smiling eyes",emoticons:[':")',':"]',':"D',':-")',':-"]',':-"D','=")','="]','="D','=-")','=-"]','=-"D']},{name:"broken_heart",emoji:"\u{1F494}",tags:[],description:"broken heart",emoticons:["<\\3","</3"]},{name:"confused",emoji:"\u{1F615}",tags:[],description:"confused face",emoticons:[":/",":\\",":-/",":-\\","=/","=\\","=-/","=-\\"]},{name:"cry",emoji:"\u{1F622}",tags:["sad","tear"],description:"crying face",emoticons:[":,(",":,[",":,|",":,-(",":,-[",":,-|",":'(",":'[",":'|",":'-(",":'-[",":'-|","=,(","=,[","=,|","=,-(","=,-[","=,-|","='(","='[","='|","='-(","='-[","='-|"]},{name:"frowning",emoji:"\u{1F626}",tags:[],description:"frowning face with open mouth",emoticons:[":(",":[",":-(",":-[","=(","=[","=-(","=-["]},{name:"heart",emoji:"\u2764\uFE0F",tags:["love"],description:"red heart",emoticons:["<3"]},{name:"imp",emoji:"\u{1F47F}",tags:["angry","devil","evil","horns"],description:"angry face with horns",emoticons:["]:(","]:[","]:-(","]:-[","]=(","]=[","]=-(","]=-["]},{name:"innocent",emoji:"\u{1F607}",tags:["angel"],description:"smiling face with halo",emoticons:["o:)","o:]","o:D","o:-)","o:-]","o:-D","o=)","o=]","o=D","o=-)","o=-]","o=-D","O:)","O:]","O:D","O:-)","O:-]","O:-D","O=)","O=]","O=D","O=-)","O=-]","O=-D","0:)","0:]","0:D","0:-)","0:-]","0:-D","0=)","0=]","0=D","0=-)","0=-]","0=-D"]},{name:"joy",emoji:"\u{1F602}",tags:["tears"],description:"face with tears of joy",emoticons:[":,)",":,]",":,D",":,-)",":,-]",":,-D",":')",":']",":'D",":'-)",":'-]",":'-D","=,)","=,]","=,D","=,-)","=,-]","=,-D","=')","=']","='D","='-)","='-]","='-D"]},{name:"kissing",emoji:"\u{1F617}",tags:[],description:"kissing face",emoticons:[":*",":-*","=*","=-*"]},{name:"laughing",emoji:"\u{1F606}",tags:["happy","haha"],description:"grinning squinting face",emoticons:["x)","x]","xD","x-)","x-]","x-D","X)","X]","X-)","X-]","X-D"]},{name:"man",emoji:"\u{1F468}",tags:["mustache","father","dad"],description:"man",emoticons:[":3",":-3","=3","=-3",";3",";-3","x3","x-3","X3","X-3"]},{name:"neutral_face",emoji:"\u{1F610}",tags:["meh"],description:"neutral face",emoticons:[":|",":-|","=|","=-|"]},{name:"no_mouth",emoji:"\u{1F636}",tags:["mute","silence"],description:"face without mouth",emoticons:[":-"]},{name:"open_mouth",emoji:"\u{1F62E}",tags:["surprise","impressed","wow"],description:"face with open mouth",emoticons:[":o",":O",":0",":-o",":-O",":-0","=o","=O","=0","=-o","=-O","=-0"]},{name:"rage",emoji:"\u{1F621}",tags:["angry"],description:"pouting face",emoticons:[":@",":-@","=@","=-@"]},{name:"smile",emoji:"\u{1F604}",tags:["happy","joy","laugh","pleased"],description:"grinning face with smiling eyes",emoticons:[":D",":-D","=D","=-D"]},{name:"smiley",emoji:"\u{1F603}",tags:["happy","joy","haha"],description:"grinning face with big eyes",emoticons:[":)",":]",":-)",":-]","=)","=]","=-)","=-]"]},{name:"smiling_imp",emoji:"\u{1F608}",tags:["devil","evil","horns"],description:"smiling face with horns",emoticons:["]:)","]:]","]:D","]:-)","]:-]","]:-D","]=)","]=]","]=D","]=-)","]=-]","]=-D"]},{name:"sob",emoji:"\u{1F62D}",tags:["sad","cry","bawling"],description:"loudly crying face",emoticons:[":,'(",":,'[",":,'-(",":,'-[",":',(",":',[",":',-(",":',-[","=,'(","=,'[","=,'-(","=,'-[","=',(","=',[","=',-(","=',-["]},{name:"stuck_out_tongue",emoji:"\u{1F61B}",tags:[],description:"face with tongue",emoticons:[":p",":P",":d",":-p",":-P",":-d","=p","=P","=d","=-p","=-P","=-d"]},{name:"stuck_out_tongue_closed_eyes",emoji:"\u{1F61D}",tags:["prank"],description:"squinting face with tongue",emoticons:["xP","x-p","x-P","x-d","Xp","Xd","X-p","X-P","X-d"]},{name:"stuck_out_tongue_winking_eye",emoji:"\u{1F61C}",tags:["prank","silly"],description:"winking face with tongue",emoticons:[";p",";P",";d",";-p",";-P",";-d"]},{name:"sunglasses",emoji:"\u{1F60E}",tags:["cool"],description:"smiling face with sunglasses",emoticons:["8)","8]","8D","8-)","8-]","8-D","B)","B]","B-)","B-]","B-D"]},{name:"sweat",emoji:"\u{1F613}",tags:[],description:"downcast face with sweat",emoticons:[",:(",",:[",",:-(",",:-[",",=(",",=[",",=-(",",=-[","':(","':[","':-(","':-[","'=(","'=[","'=-(","'=-["]},{name:"sweat_smile",emoji:"\u{1F605}",tags:["hot"],description:"grinning face with sweat",emoticons:[",:)",",:]",",:D",",:-)",",:-]",",:-D",",=)",",=]",",=D",",=-)",",=-]",",=-D","':)","':]","':D","':-)","':-]","':-D","'=)","'=]","'=D","'=-)","'=-]","'=-D"]},{name:"unamused",emoji:"\u{1F612}",tags:["meh"],description:"unamused face",emoticons:[":$",":s",":z",":S",":Z",":-$",":-s",":-z",":-S",":-Z","=$","=s","=z","=S","=Z","=-$","=-s","=-z","=-S","=-Z"]},{name:"wink",emoji:"\u{1F609}",tags:["flirt"],description:"winking face",emoticons:[";)",";]",";D",";-)",";-]",";-D"]}];var _be=/:\+1:|:-1:|:[\w-]+:/g,wbe=/[$@|*'",;.=:\-)([\]\\/<>038BOopPsSdDxXzZ]{2,5}/g,vbe=/(?:_|-(?!1))/g,kbe={padSpaceAfter:!1,emoticon:!1,accessible:!1};function UO(t){let e=Object.assign({},kbe,t),n=!!e.padSpaceAfter,r=!!e.emoticon,i=!!e.accessible;function o(d,u){return{type:"text",meta:null,value:d,data:{hName:"span",hProperties:{role:"img",ariaLabel:u},hChildren:[{type:"text",value:d}]}}}function a(d){let u=VO.find(_=>_.emoticons.includes(d)),f=VO.find(_=>_.emoticons.includes(d.slice(0,-1))),p=u||f;if(!p)return!1;let h=!u&&f?d.slice(-1):"",g=n?" ":"",b=p.emoji+g+h;return i?o(b,p.name+" emoticon"):b}function s(d){let u=gC(d);if(typeof u>"u")return!1;if(n&&(u=u+" "),i){let f=d.slice(1,-1).replace(vbe," ")+" emoji";return o(u,f)}return u}let l=[[_be,s]];r&&l.push([wbe,a]);function c(d){cy(d,l)}return c}var xbe=function(){"use strict";var t={base:"https://twemoji.maxcdn.com/v/14.0.2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:x,toCodePoint:C},onerror:function(){this.parentNode&&this.parentNode.replaceChild(l(this.alt,!1),this)},parse:E,replace:v,test:j},e={"&":"&","<":"<",">":">","'":"'",'"':"""},n=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c[\udffc-\udfff]|\ud83e\udef1\ud83c\udffc\u200d\ud83e\udef2\ud83c[\udffb\udffd-\udfff]|\ud83e\udef1\ud83c\udffd\u200d\ud83e\udef2\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\udef1\ud83c\udffe\u200d\ud83e\udef2\ud83c[\udffb-\udffd\udfff]|\ud83e\udef1\ud83c\udfff\u200d\ud83e\udef2\ud83c[\udffb-\udffe]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83e\udd1d\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91]|\ud83e\udd1d)|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638-\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd\udec3-\udec5\udef0-\udef6]|[\u270a\u270b]))(?:\ud83c[\udffb-\udfff])?|(?:\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udedd-\udedf\udeeb\udeec\udef4-\udefc\udfe0-\udfeb\udff0]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78-\uddb4\uddb7\uddba\uddbc-\uddcc\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7c\ude80-\ude86\ude90-\udeac\udeb0-\udeba\udec0-\udec2\uded0-\uded9\udee0-\udee7]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,r=/\uFE0F/g,i=String.fromCharCode(8205),o=/[&<>'"]/g,a=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,s=String.fromCharCode;return t;function l(P,z){return document.createTextNode(z?P.replace(r,""):P)}function c(P){return P.replace(o,g)}function d(P,z){return"".concat(z.base,z.size,"/",P,z.ext)}function u(P,z){for(var N=P.childNodes,O=N.length,J,V;O--;)J=N[O],V=J.nodeType,V===3?z.push(J):V===1&&!("ownerSVGElement"in J)&&!a.test(J.nodeName.toLowerCase())&&u(J,z);return z}function f(P){return C(P.indexOf(i)<0?P.replace(r,""):P)}function p(P,z){for(var N=u(P,[]),O=N.length,J,V,Y,ie,me,W,X,te,xe,S,Be,Ie,I;O--;){for(Y=!1,ie=document.createDocumentFragment(),me=N[O],W=me.nodeValue,te=0;X=n.exec(W);){if(xe=X.index,xe!==te&&ie.appendChild(l(W.slice(te,xe),!0)),Be=X[0],Ie=f(Be),te=xe+Be.length,I=z.callback(Ie,z),Ie&&I){S=new Image,S.onerror=z.onerror,S.setAttribute("draggable","false"),J=z.attributes(Be,Ie);for(V in J)J.hasOwnProperty(V)&&V.indexOf("on")!==0&&!S.hasAttribute(V)&&S.setAttribute(V,J[V]);S.className=z.className,S.alt=Be,S.src=I,Y=!0,ie.appendChild(S)}S||ie.appendChild(l(Be,!1)),S=null}Y&&(te<W.length&&ie.appendChild(l(W.slice(te),!0)),me.parentNode.replaceChild(ie,me))}return P}function h(P,z){return v(P,function(N){var O=N,J=f(N),V=z.callback(J,z),Y,ie;if(J&&V){O="<img ".concat('class="',z.className,'" ','draggable="false" ','alt="',N,'"',' src="',V,'"'),Y=z.attributes(N,J);for(ie in Y)Y.hasOwnProperty(ie)&&ie.indexOf("on")!==0&&O.indexOf(" "+ie+"=")===-1&&(O=O.concat(" ",ie,'="',c(Y[ie]),'"'));O=O.concat("/>")}return O})}function g(P){return e[P]}function b(){return null}function _(P){return typeof P=="number"?P+"x"+P:P}function x(P){var z=typeof P=="string"?parseInt(P,16):P;return z<65536?s(z):(z-=65536,s(55296+(z>>10),56320+(z&1023)))}function E(P,z){return(!z||typeof z=="function")&&(z={callback:z}),(typeof P=="string"?h:p)(P,{callback:z.callback||d,attributes:typeof z.attributes=="function"?z.attributes:b,base:typeof z.base=="string"?z.base:t.base,ext:z.ext||t.ext,size:z.folder||_(z.size||t.size),className:z.className||t.className,onerror:z.onerror||t.onerror})}function v(P,z){return String(P).replace(n,z)}function j(P){n.lastIndex=0;var z=n.test(P);return n.lastIndex=0,z}function C(P,z){for(var N=[],O=0,J=0,V=0;V<P.length;)O=P.charCodeAt(V++),J?(N.push((65536+(J-55296<<10)+(O-56320)).toString(16)),J=0):55296<=O&&O<=56319?J=O:N.push(O.toString(16));return N.join(z||"-")}}(),Nq=xbe;var Rq=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;var Cbe=t=>({title:t});function zq(t,e){return Nq.parse(t,D({attributes:Cbe,base:"https://cdn.jsdelivr.net/gh/twitter/twemoji/assets/"},e))}var jq=Rq(),Dbe=t=>!!t.children,Sbe=t=>!!t.value;function Ebe(t,e){return n(t,0,null)[0];function n(r,i,o){if(Dbe(r)){let a=[];for(let s=0,l=r.children.length;s<l;s++){let c=r.children[s];if(c){let d=n(c,s,r);if(d)for(let u=0,f=d.length;u<f;u++){let p=d[u];p&&a.push(p)}}}r.children=a}return e(r,i,o)}}var Mbe=t=>{function e(n){Ebe(n,r=>{if(!Sbe(r))return[r];let i=r.value,o=[],a,s=i;for(;a=jq.exec(s);){let{index:l}=a,c=a[0];c&&(l>0&&o.push(q(D({},r),{value:s.slice(0,l)})),o.push(q(D({},r),{value:zq(c,t),type:"emoji"})),s=s.slice(l+c.length)),jq.lastIndex=0}return s.length&&o.push(q(D({},r),{value:s})),o})}return e};function Bc(t,e){return Object.assign(t,{meta:D({package:"@milkdown/plugin-emoji"},e)}),t}var mb=Ri("emoji",()=>({span:{},img:{}}));Bc(mb,{displayName:"Attr<emoji>"});var yC=yn("emoji",t=>({group:"inline",inline:!0,attrs:{html:{default:""}},parseDOM:[{tag:'span[data-type="emoji"]',getAttrs:e=>{if(!(e instanceof HTMLElement))throw cr(e);return{html:e.innerHTML}}}],toDOM:e=>{var n;let r=t.get(mb.key)(e),i=document.createElement("span");i.innerHTML=e.attrs.html;let o=(n=i.firstElementChild)==null?void 0:n.cloneNode();return i.remove(),o&&o instanceof HTMLElement&&Object.entries(r.img).forEach(([a,s])=>o.setAttribute(a,s)),["span",q(D({},r.container),{"data-type":"emoji"}),o]},parseMarkdown:{match:({type:e})=>e==="emoji",runner:(e,n,r)=>{e.addNode(r,{html:n.value})}},toMarkdown:{match:e=>e.type.name==="emoji",runner:(e,n)=>{let r=document.createElement("span");r.innerHTML=n.attrs.html;let i=r.querySelector("img"),o=i?.title||i?.alt;r.remove(),e.addNode("text",void 0,o)}}}));Bc(yC.node,{displayName:"NodeSchema<emoji>"});Bc(yC.ctx,{displayName:"NodeSchemaCtx<emoji>"});var HO=_i("remarkEmoji",()=>UO);Bc(HO.plugin,{displayName:"Remark<remarkEmojiPlugin>"});Bc(HO.options,{displayName:"RemarkConfig<remarkEmojiPlugin>"});var bC=_i("remarkTwemoji",()=>Mbe);Bc(bC.plugin,{displayName:"Remark<remarkTwemojiPlugin>"});Bc(bC.options,{displayName:"RemarkConfig<remarkTwemojiPlugin>"});var Lq=jr(t=>new zn(/(:([^:\s]+):)$/,(e,n,r,i)=>{let o=n[0];if(!o)return null;let a=gC(o);if(!a||o.includes(a))return null;let s=zq(a,t.get(bC.options.key));return e.tr.setMeta("emoji",!0).replaceRangeWith(r,i,yC.type(t).create({html:s})).scrollIntoView()}));Bc(Lq,{displayName:"InputRule<insertEmojiInputRule>"});var Bq=[mb,HO,bC,yC,Lq].flat();var qO;try{qO=typeof Intl<"u"&&Intl.v8BreakIterator}catch{qO=!1}var ln=(()=>{let e=class e{constructor(r){this._platformId=r,this.isBrowser=this._platformId?IN(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||qO)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(B(Va))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Kh,Vq=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function WO(){if(Kh)return Kh;if(typeof document!="object"||!document)return Kh=new Set(Vq),Kh;let t=document.createElement("input");return Kh=new Set(Vq.filter(e=>(t.setAttribute("type",e),t.type===e))),Kh}var gb;function Tbe(){if(gb==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>gb=!0}))}finally{gb=gb||!1}return gb}function ms(t){return Tbe()?t:!!t.capture}var sf;function Uq(){if(sf==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return sf=!1,sf;if("scrollBehavior"in document.documentElement.style)sf=!0;else{let t=Element.prototype.scrollTo;t?sf=!/\{\s*\[native code\]\s*\}/.test(t.toString()):sf=!1}}return sf}var $O;function Abe(){if($O==null){let t=typeof document<"u"?document.head:null;$O=!!(t&&(t.createShadowRoot||t.attachShadow))}return $O}function Hq(t){if(Abe()){let e=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function yb(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)break;t=e}return t}function Ca(t){return t.composedPath?t.composedPath()[0]:t.target}function bb(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function Vc(t,...e){return e.length?e.some(n=>t[n]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}function Tr(t){return t!=null&&`${t}`!="false"}function qo(t,e=0){return Ibe(t)?Number(t):e}function Ibe(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Zh(t){return Array.isArray(t)?t:[t]}function Gn(t){return t==null?"":typeof t=="string"?t:`${t}px`}function Ui(t){return t instanceof Me?t.nativeElement:t}var $q=(()=>{let e=class e{create(r){return typeof MutationObserver>"u"?null:new MutationObserver(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Obe=(()=>{let e=class e{constructor(r){this._mutationObserverFactory=r,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((r,i)=>this._cleanupObserver(i))}observe(r){let i=Ui(r);return new Ze(o=>{let s=this._observeElement(i).subscribe(o);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(r){if(this._observedElements.has(r))this._observedElements.get(r).count++;else{let i=new Ee,o=this._mutationObserverFactory.create(a=>i.next(a));o&&o.observe(r,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(r,{observer:o,stream:i,count:1})}return this._observedElements.get(r).stream}_unobserveElement(r){this._observedElements.has(r)&&(this._observedElements.get(r).count--,this._observedElements.get(r).count||this._cleanupObserver(r))}_cleanupObserver(r){if(this._observedElements.has(r)){let{observer:i,stream:o}=this._observedElements.get(r);i&&i.disconnect(),o.complete(),this._observedElements.delete(r)}}};e.\u0275fac=function(i){return new(i||e)(B($q))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),qq=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(r){this._debounce=qo(r),this._subscribe()}constructor(r,i,o){this._contentObserver=r,this._elementRef=i,this._ngZone=o,this.event=new Qe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let r=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?r.pipe(ud(this.debounce)):r).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(R(Obe),R(Me),R(De))},e.\u0275dir=ke({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled",ui],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"],features:[Eo]});let t=e;return t})(),Xh=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({providers:[$q]});let t=e;return t})();var Wq=new Set,lf,Fbe=(()=>{let e=class e{constructor(r,i){this._platform=r,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Rbe}matchMedia(r){return(this._platform.WEBKIT||this._platform.BLINK)&&Nbe(r,this._nonce),this._matchMedia(r)}};e.\u0275fac=function(i){return new(i||e)(B(ln),B(ug,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Nbe(t,e){if(!Wq.has(t))try{lf||(lf=document.createElement("style"),e&&(lf.nonce=e),lf.setAttribute("type","text/css"),document.head.appendChild(lf)),lf.sheet&&(lf.sheet.insertRule(`@media ${t} {body{ }}`,0),Wq.add(t))}catch(n){console.error(n)}}function Rbe(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Yq=(()=>{let e=class e{constructor(r,i){this._mediaMatcher=r,this._zone=i,this._queries=new Map,this._destroySubject=new Ee}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(r){return Gq(Zh(r)).some(o=>this._registerQuery(o).mql.matches)}observe(r){let o=Gq(Zh(r)).map(s=>this._registerQuery(s).observable),a=$f(o);return a=Pl(a.pipe(Un(1)),a.pipe(fd(1),ud(0))),a.pipe(dt(s=>{let l={matches:!1,breakpoints:{}};return s.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(r){if(this._queries.has(r))return this._queries.get(r);let i=this._mediaMatcher.matchMedia(r),a={observable:new Ze(s=>{let l=c=>this._zone.run(()=>s.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(Ei(i),dt(({matches:s})=>({query:r,matches:s})),Nn(this._destroySubject)),mql:i};return this._queries.set(r,a),a}};e.\u0275fac=function(i){return new(i||e)(B(Fbe),B(De))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function Gq(t){return t.map(e=>e.split(",")).reduce((e,n)=>e.concat(n)).map(e=>e.trim())}var YO=class{constructor(e){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ee,this._typeaheadSubscription=Lt.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=n=>n.disabled,this._pressedLetters=[],this.tabOut=new Ee,this.change=new Ee,e instanceof Wl&&(this._itemChangesSubscription=e.changes.subscribe(n=>{if(this._activeItem){let i=n.toArray().indexOf(this._activeItem);i>-1&&i!==this._activeItemIndex&&(this._activeItemIndex=i)}}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Hn(n=>this._pressedLetters.push(n)),ud(e),Kt(()=>this._pressedLetters.length>0),dt(()=>this._pressedLetters.join(""))).subscribe(n=>{let r=this._getItemsArray();for(let i=1;i<r.length+1;i++){let o=(this._activeItemIndex+i)%r.length,a=r[o];if(!this._skipPredicateFn(a)&&a.getLabel().toUpperCase().trim().indexOf(n)===0){this.setActiveItem(o);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,n=10){return this._pageUpAndDown={enabled:e,delta:n},this}setActiveItem(e){let n=this._activeItem;this.updateActiveItem(e),this._activeItem!==n&&this.change.next(this._activeItemIndex)}onKeydown(e){let n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(n){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,a=this._getItemsArray().length;this._setActiveItemByIndex(o<a?o:a-1,-1);break}else return;default:(i||Vc(e,"shiftKey"))&&(e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let n=this._getItemsArray(),r=typeof e=="number"?e:n.indexOf(e),i=n[r];this._activeItem=i??null,this._activeItemIndex=r}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let n=this._getItemsArray();for(let r=1;r<=n.length;r++){let i=(this._activeItemIndex+e*r+n.length)%n.length,o=n[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,n){let r=this._getItemsArray();if(r[e]){for(;this._skipPredicateFn(r[e]);)if(e+=n,!r[e])return;this.setActiveItem(e)}}_getItemsArray(){return this._items instanceof Wl?this._items.toArray():this._items}};var wC=class extends YO{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var _b=(()=>{let e=class e{constructor(r){this._platform=r}isDisabled(r){return r.hasAttribute("disabled")}isVisible(r){return n_e(r)&&getComputedStyle(r).visibility==="visible"}isTabbable(r){if(!this._platform.isBrowser)return!1;let i=t_e(d_e(r));if(i&&(Kq(i)===-1||!this.isVisible(i)))return!1;let o=r.nodeName.toLowerCase(),a=Kq(r);return r.hasAttribute("contenteditable")?a!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!l_e(r)?!1:o==="audio"?r.hasAttribute("controls")?a!==-1:!1:o==="video"?a===-1?!1:a!==null?!0:this._platform.FIREFOX||r.hasAttribute("controls"):r.tabIndex>=0}isFocusable(r,i){return c_e(r)&&!this.isDisabled(r)&&(i?.ignoreVisibility||this.isVisible(r))}};e.\u0275fac=function(i){return new(i||e)(B(ln))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function t_e(t){try{return t.frameElement}catch{return null}}function n_e(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function r_e(t){let e=t.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function i_e(t){return a_e(t)&&t.type=="hidden"}function o_e(t){return s_e(t)&&t.hasAttribute("href")}function a_e(t){return t.nodeName.toLowerCase()=="input"}function s_e(t){return t.nodeName.toLowerCase()=="a"}function Qq(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let e=t.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function Kq(t){if(!Qq(t))return null;let e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function l_e(t){let e=t.nodeName.toLowerCase(),n=e==="input"&&t.type;return n==="text"||n==="password"||e==="select"||e==="textarea"}function c_e(t){return i_e(t)?!1:r_e(t)||o_e(t)||t.hasAttribute("contenteditable")||Qq(t)}function d_e(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var KO=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,n,r,i,o=!1){this._element=e,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,n=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),n&&(n.removeEventListener("focus",this.endAnchorListener),n.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(n=>{this._executeOnStable(()=>n(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let n=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?n.length?n[0]:this._getFirstTabbableElement(this._element):n.length?n[n.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(n){if(!this._checker.isFocusable(n)){let r=this._getFirstTabbableElement(n);return r?.focus(e),!!r}return n.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let n=this._getRegionBoundary("start");return n&&n.focus(e),!!n}focusLastTabbableElement(e){let n=this._getRegionBoundary("end");return n&&n.focus(e),!!n}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let r=0;r<n.length;r++){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(n[r]):null;if(i)return i}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let n=e.children;for(let r=n.length-1;r>=0;r--){let i=n[r].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[r]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,n){e?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Un(1)).subscribe(e)}},vC=(()=>{let e=class e{constructor(r,i,o){this._checker=r,this._ngZone=i,this._document=o}create(r,i=!1){return new KO(r,this._checker,this._ngZone,this._document,i)}};e.\u0275fac=function(i){return new(i||e)(B(_b),B(De),B(rt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ZO(t){return t.buttons===0||t.detail===0}function XO(t){let e=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var u_e=new de("cdk-input-modality-detector-options"),f_e={ignoreKeys:[18,17,224,91,16]},Jq=650,Qh=ms({passive:!0,capture:!0}),p_e=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(r,i,o,a){this._platform=r,this._mostRecentTarget=null,this._modality=new Zn(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(l=>l===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ca(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<Jq||(this._modality.next(ZO(s)?"keyboard":"mouse"),this._mostRecentTarget=Ca(s))},this._onTouchstart=s=>{if(XO(s)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ca(s)},this._options=D(D({},f_e),a),this.modalityDetected=this._modality.pipe(fd(1)),this.modalityChanged=this.modalityDetected.pipe(zl()),r.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Qh),o.addEventListener("mousedown",this._onMousedown,Qh),o.addEventListener("touchstart",this._onTouchstart,Qh)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Qh),document.removeEventListener("mousedown",this._onMousedown,Qh),document.removeEventListener("touchstart",this._onTouchstart,Qh))}};e.\u0275fac=function(i){return new(i||e)(B(ln),B(De),B(rt),B(u_e,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var h_e=new de("cdk-focus-monitor-default-options"),_C=ms({passive:!0,capture:!0}),Uc=(()=>{let e=class e{constructor(r,i,o,a,s){this._ngZone=r,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ee,this._rootNodeFocusAndBlurListener=l=>{let c=Ca(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=a,this._detectionMode=s?.detectionMode||0}monitor(r,i=!1){let o=Ui(r);if(!this._platform.isBrowser||o.nodeType!==1)return Ve();let a=Hq(o)||this._getDocument(),s=this._elementInfo.get(o);if(s)return i&&(s.checkChildren=!0),s.subject;let l={checkChildren:i,subject:new Ee,rootNode:a};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(r){let i=Ui(r),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(r,i,o){let a=Ui(r),s=this._getDocument().activeElement;a===s?this._getClosestElementsInfo(a).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),typeof a.focus=="function"&&a.focus(o))}ngOnDestroy(){this._elementInfo.forEach((r,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(r){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(r)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:r&&this._isLastInteractionFromInputLabel(r)?"mouse":"program"}_shouldBeAttributedToTouch(r){return this._detectionMode===1||!!r?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(r,i){r.classList.toggle("cdk-focused",!!i),r.classList.toggle("cdk-touch-focused",i==="touch"),r.classList.toggle("cdk-keyboard-focused",i==="keyboard"),r.classList.toggle("cdk-mouse-focused",i==="mouse"),r.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(r,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=r,this._originFromTouchInteraction=r==="touch"&&i,this._detectionMode===0){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?Jq:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(r,i){let o=this._elementInfo.get(i),a=Ca(r);!o||!o.checkChildren&&i!==a||this._originChanged(i,this._getFocusOrigin(a),o)}_onBlur(r,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&r.relatedTarget instanceof Node&&i.contains(r.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(r,i){r.subject.observers.length&&this._ngZone.run(()=>r.subject.next(i))}_registerGlobalListeners(r){if(!this._platform.isBrowser)return;let i=r.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,_C),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,_C)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Nn(this._stopInputModalityDetector)).subscribe(a=>{this._setOrigin(a,!0)}))}_removeGlobalListeners(r){let i=r.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,_C),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,_C),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(r,i,o){this._setClasses(r,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(r){let i=[];return this._elementInfo.forEach((o,a)=>{(a===r||o.checkChildren&&a.contains(r))&&i.push([a,o])}),i}_isLastInteractionFromInputLabel(r){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===r||r.nodeName!=="INPUT"&&r.nodeName!=="TEXTAREA"||r.disabled)return!1;let a=r.labels;if(a){for(let s=0;s<a.length;s++)if(a[s].contains(i))return!0}return!1}};e.\u0275fac=function(i){return new(i||e)(B(De),B(ln),B(p_e),B(rt,8),B(h_e,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),eW=(()=>{let e=class e{constructor(r,i){this._elementRef=r,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Qe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let r=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(r,r.nodeType===1&&r.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(Uc))},e.\u0275dir=ke({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});let t=e;return t})(),Zq="cdk-high-contrast-black-on-white",Xq="cdk-high-contrast-white-on-black",GO="cdk-high-contrast-active",QO=(()=>{let e=class e{constructor(r,i){this._platform=r,this._document=i,this._breakpointSubscription=se(Yq).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;let r=this._document.createElement("div");r.style.backgroundColor="rgb(1,2,3)",r.style.position="absolute",this._document.body.appendChild(r);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(r):null,a=(o&&o.backgroundColor||"").replace(/ /g,"");switch(r.remove(),a){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let r=this._document.body.classList;r.remove(GO,Zq,Xq),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===1?r.add(GO,Zq):i===2&&r.add(GO,Xq)}}};e.\u0275fac=function(i){return new(i||e)(B(ln),B(rt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),tW=(()=>{let e=class e{constructor(r){r._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(B(QO))},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Xh]});let t=e;return t})();var m_e=new de("cdk-dir-doc",{providedIn:"root",factory:g_e});function g_e(){return se(rt)}var y_e=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function b_e(t){let e=t?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?y_e.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var Da=(()=>{let e=class e{constructor(r){if(this.value="ltr",this.change=new Qe,r){let i=r.body?r.body.dir:null,o=r.documentElement?r.documentElement.dir:null;this.value=b_e(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(B(m_e,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var JO=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({});let t=e;return t})();var ys="*";function xC(t,e){return{type:7,name:t,definitions:e,options:{}}}function Jh(t,e=null){return{type:4,styles:e,timings:t}}function nW(t,e=null){return{type:2,steps:t,options:e}}function Wo(t){return{type:6,styles:t,offset:null}}function em(t,e,n){return{type:0,name:t,styles:e,options:n}}function tm(t,e,n=null){return{type:1,expr:t,animation:e,options:n}}var Hc=class{constructor(e=0,n=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+n}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},wb=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let n=0,r=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++n==o&&this._onFinish()}),a.onDestroy(()=>{++r==o&&this._onDestroy()}),a.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((a,s)=>Math.max(a,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let n=e*this.totalTime;this.players.forEach(r=>{let i=r.totalTime?Math.min(1,n/r.totalTime):1;r.setPosition(i)})}getPosition(){let e=this.players.reduce((n,r)=>n===null||r.totalTime>n.totalTime?r:n,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let n=e=="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},CC="!";function rW(t){return new le(3e3,!1)}function __e(){return new le(3100,!1)}function w_e(){return new le(3101,!1)}function v_e(t){return new le(3001,!1)}function k_e(t){return new le(3003,!1)}function x_e(t){return new le(3004,!1)}function C_e(t,e){return new le(3005,!1)}function D_e(){return new le(3006,!1)}function S_e(){return new le(3007,!1)}function E_e(t,e){return new le(3008,!1)}function M_e(t){return new le(3002,!1)}function T_e(t,e,n,r,i){return new le(3010,!1)}function A_e(){return new le(3011,!1)}function I_e(){return new le(3012,!1)}function O_e(){return new le(3200,!1)}function P_e(){return new le(3202,!1)}function F_e(){return new le(3013,!1)}function N_e(t){return new le(3014,!1)}function R_e(t){return new le(3015,!1)}function j_e(t){return new le(3016,!1)}function z_e(t,e){return new le(3404,!1)}function L_e(t){return new le(3502,!1)}function B_e(t){return new le(3503,!1)}function V_e(){return new le(3300,!1)}function U_e(t){return new le(3504,!1)}function H_e(t){return new le(3301,!1)}function $_e(t,e){return new le(3302,!1)}function q_e(t){return new le(3303,!1)}function W_e(t,e){return new le(3400,!1)}function G_e(t){return new le(3401,!1)}function Y_e(t){return new le(3402,!1)}function K_e(t,e){return new le(3505,!1)}function $c(t){switch(t.length){case 0:return new Hc;case 1:return t[0];default:return new wb(t)}}function yW(t,e,n=new Map,r=new Map){let i=[],o=[],a=-1,s=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==a,u=d&&s||new Map;l.forEach((f,p)=>{let h=p,g=f;if(p!=="offset")switch(h=t.normalizePropertyName(h,i),g){case CC:g=n.get(p);break;case ys:g=r.get(p);break;default:g=t.normalizeStyleValue(p,h,g,i);break}u.set(h,g)}),d||o.push(u),s=u,a=c}),i.length)throw L_e(i);return o}function k6(t,e,n,r){switch(e){case"start":t.onStart(()=>r(n&&t6(n,"start",t)));break;case"done":t.onDone(()=>r(n&&t6(n,"done",t)));break;case"destroy":t.onDestroy(()=>r(n&&t6(n,"destroy",t)));break}}function t6(t,e,n){let r=n.totalTime,i=!!n.disabled,o=x6(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,r??t.totalTime,i),a=t._data;return a!=null&&(o._data=a),o}function x6(t,e,n,r,i="",o=0,a){return{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function ho(t,e,n){let r=t.get(e);return r||t.set(e,r=n),r}function iW(t){let e=t.indexOf(":"),n=t.substring(1,e),r=t.slice(e+1);return[n,r]}var Z_e=(()=>typeof document>"u"?null:document.documentElement)();function C6(t){let e=t.parentNode||t.host||null;return e===Z_e?null:e}function X_e(t){return t.substring(1,6)=="ebkit"}var cf=null,oW=!1;function Q_e(t){cf||(cf=J_e()||{},oW=cf.style?"WebkitAppearance"in cf.style:!1);let e=!0;return cf.style&&!X_e(t)&&(e=t in cf.style,!e&&oW&&(e="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in cf.style)),e}function J_e(){return typeof document<"u"?document.body:null}function bW(t,e){for(;e;){if(e===t)return!0;e=C6(e)}return!1}function _W(t,e,n){if(n)return Array.from(t.querySelectorAll(e));let r=t.querySelector(e);return r?[r]:[]}var D6=(()=>{let e=class e{validateStyleProperty(r){return Q_e(r)}matchesElement(r,i){return!1}containsElement(r,i){return bW(r,i)}getParentElement(r){return C6(r)}query(r,i,o){return _W(r,i,o)}computeStyle(r,i,o){return o||""}animate(r,i,o,a,s,l=[],c){return new Hc(o,a)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})(),Eb=(()=>{let e=class e{};e.NOOP=new D6;let t=e;return t})(),ff=class{};var ewe=1e3,wW="{{",twe="}}",vW="ng-enter",s6="ng-leave",DC="ng-trigger",AC=".ng-trigger",aW="ng-animating",l6=".ng-animating";function vl(t){if(typeof t=="number")return t;let e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:c6(parseFloat(e[1]),e[2])}function c6(t,e){switch(e){case"s":return t*ewe;default:return t}}function IC(t,e,n){return t.hasOwnProperty("duration")?t:nwe(t,e,n)}function nwe(t,e,n){let r=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,a="";if(typeof t=="string"){let s=t.match(r);if(s===null)return e.push(rW(t)),{duration:0,delay:0,easing:""};i=c6(parseFloat(s[1]),s[2]);let l=s[3];l!=null&&(o=c6(parseFloat(l),s[4]));let c=s[5];c&&(a=c)}else i=t;if(!n){let s=!1,l=e.length;i<0&&(e.push(__e()),s=!0),o<0&&(e.push(w_e()),s=!0),s&&e.splice(l,0,rW(t))}return{duration:i,delay:o,easing:a}}function Mb(t,e={}){return Object.keys(t).forEach(n=>{e[n]=t[n]}),e}function kW(t){let e=new Map;return Object.keys(t).forEach(n=>{let r=t[n];e.set(n,r)}),e}function rwe(t){return t.length?t[0]instanceof Map?t:t.map(e=>kW(e)):[]}function rm(t,e=new Map,n){if(n)for(let[r,i]of n)e.set(r,i);for(let[r,i]of t)e.set(r,i);return e}function bs(t,e,n){e.forEach((r,i)=>{let o=S6(i);n&&!n.has(i)&&n.set(i,t.style[o]),t.style[o]=r})}function uf(t,e){e.forEach((n,r)=>{let i=S6(r);t.style[i]=""})}function vb(t){return Array.isArray(t)?t.length==1?t[0]:nW(t):t}function iwe(t,e,n){let r=e.params||{},i=xW(t);i.length&&i.forEach(o=>{r.hasOwnProperty(o)||n.push(v_e(o))})}var d6=new RegExp(`${wW}\\s*(.+?)\\s*${twe}`,"g");function xW(t){let e=[];if(typeof t=="string"){let n;for(;n=d6.exec(t);)e.push(n[1]);d6.lastIndex=0}return e}function xb(t,e,n){let r=t.toString(),i=r.replace(d6,(o,a)=>{let s=e[a];return s==null&&(n.push(k_e(a)),s=""),s.toString()});return i==r?t:i}function OC(t){let e=[],n=t.next();for(;!n.done;)e.push(n.value),n=t.next();return e}var owe=/-+([a-z0-9])/g;function S6(t){return t.replace(owe,(...e)=>e[1].toUpperCase())}function awe(t,e){return t===0||e===0}function swe(t,e,n){if(n.size&&e.length){let r=e[0],i=[];if(n.forEach((o,a)=>{r.has(a)||i.push(a),r.set(a,o)}),i.length)for(let o=1;o<e.length;o++){let a=e[o];i.forEach(s=>a.set(s,CW(t,s)))}}return e}function po(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw x_e(e.type)}}function CW(t,e){return window.getComputedStyle(t)[e]}var lwe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),PC=class extends ff{normalizePropertyName(e,n){return S6(e)}normalizeStyleValue(e,n,r,i){let o="",a=r.toString().trim();if(lwe.has(n)&&r!==0&&r!=="0")if(typeof r=="number")o="px";else{let s=r.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&i.push(C_e(e,r))}return a+o}};var FC="*";function cwe(t,e){let n=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(r=>dwe(r,n,e)):n.push(t),n}function dwe(t,e,n){if(t[0]==":"){let l=uwe(t,n);if(typeof l=="function"){e.push(l);return}t=l}let r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(r==null||r.length<4)return n.push(R_e(t)),e;let i=r[1],o=r[2],a=r[3];e.push(sW(i,a));let s=i==FC&&a==FC;o[0]=="<"&&!s&&e.push(sW(a,i))}function uwe(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,r)=>parseFloat(r)>parseFloat(n);case":decrement":return(n,r)=>parseFloat(r)<parseFloat(n);default:return e.push(j_e(t)),"* => *"}}var SC=new Set(["true","1"]),EC=new Set(["false","0"]);function sW(t,e){let n=SC.has(t)||EC.has(t),r=SC.has(e)||EC.has(e);return(i,o)=>{let a=t==FC||t==i,s=e==FC||e==o;return!a&&n&&typeof i=="boolean"&&(a=i?SC.has(t):EC.has(t)),!s&&r&&typeof o=="boolean"&&(s=o?SC.has(e):EC.has(e)),a&&s}}var DW=":self",fwe=new RegExp(`s*${DW}s*,?`,"g");function SW(t,e,n,r){return new u6(t).build(e,n,r)}var lW="",u6=class{constructor(e){this._driver=e}build(e,n,r){let i=new f6(n);return this._resetContextStyleTimingState(i),po(this,vb(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=lW,e.collectedStyles=new Map,e.collectedStyles.set(lW,new Map),e.currentTime=0}visitTrigger(e,n){let r=n.queryCount=0,i=n.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&n.errors.push(D_e()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(n),s.type==0){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,n))}),l.name=c}else if(s.type==1){let l=this.visitTransition(s,n);r+=l.queryCount,i+=l.depCount,a.push(l)}else n.errors.push(S_e())}),{type:7,name:e.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}visitState(e,n){let r=this.visitStyle(e.styles,n),i=e.options&&e.options.params||null;if(r.containsDynamicStyles){let o=new Set,a=i||{};if(r.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{xW(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size){let s=OC(o.values());n.errors.push(E_e(e.name,s))}}return{type:0,name:e.name,style:r,options:i?{params:i}:null}}visitTransition(e,n){n.queryCount=0,n.depCount=0;let r=po(this,vb(e.animation),n);return{type:1,matchers:cwe(e.expr,n.errors),animation:r,queryCount:n.queryCount,depCount:n.depCount,options:df(e.options)}}visitSequence(e,n){return{type:2,steps:e.steps.map(r=>po(this,r,n)),options:df(e.options)}}visitGroup(e,n){let r=n.currentTime,i=0,o=e.steps.map(a=>{n.currentTime=r;let s=po(this,a,n);return i=Math.max(i,n.currentTime),s});return n.currentTime=i,{type:3,steps:o,options:df(e.options)}}visitAnimate(e,n){let r=gwe(e.timings,n.errors);n.currentAnimateTimings=r;let i,o=e.styles?e.styles:Wo({});if(o.type==5)i=this.visitKeyframes(o,n);else{let a=e.styles,s=!1;if(!a){s=!0;let c={};r.easing&&(c.easing=r.easing),a=Wo(c)}n.currentTime+=r.duration+r.delay;let l=this.visitStyle(a,n);l.isEmptyStep=s,i=l}return n.currentAnimateTimings=null,{type:4,timings:r,style:i,options:null}}visitStyle(e,n){let r=this._makeStyleAst(e,n);return this._validateStyleAst(r,n),r}_makeStyleAst(e,n){let r=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of i)typeof s=="string"?s===ys?r.push(s):n.errors.push(M_e(s)):r.push(kW(s));let o=!1,a=null;return r.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(a=s.get("easing"),s.delete("easing")),!o)){for(let l of s.values())if(l.toString().indexOf(wW)>=0){o=!0;break}}}),{type:6,styles:r,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,n){let r=n.currentAnimateTimings,i=n.currentTime,o=n.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let c=n.collectedStyles.get(n.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(n.errors.push(T_e(l,d.startTime,d.endTime,o,i)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),n.options&&iwe(s,n.options,n.errors)})})}visitKeyframes(e,n){let r={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push(A_e()),r;let i=1,o=0,a=[],s=!1,l=!1,c=0,d=e.steps.map(_=>{let x=this._makeStyleAst(_,n),E=x.offset!=null?x.offset:mwe(x.styles),v=0;return E!=null&&(o++,v=x.offset=E),l=l||v<0||v>1,s=s||v<c,c=v,a.push(v),x});l&&n.errors.push(I_e()),s&&n.errors.push(O_e());let u=e.steps.length,f=0;o>0&&o<u?n.errors.push(P_e()):o==0&&(f=i/(u-1));let p=u-1,h=n.currentTime,g=n.currentAnimateTimings,b=g.duration;return d.forEach((_,x)=>{let E=f>0?x==p?1:f*x:a[x],v=E*b;n.currentTime=h+g.delay+v,g.duration=v,this._validateStyleAst(_,n),_.offset=E,r.styles.push(_)}),r}visitReference(e,n){return{type:8,animation:po(this,vb(e.animation),n),options:df(e.options)}}visitAnimateChild(e,n){return n.depCount++,{type:9,options:df(e.options)}}visitAnimateRef(e,n){return{type:10,animation:this.visitReference(e.animation,n),options:df(e.options)}}visitQuery(e,n){let r=n.currentQuerySelector,i=e.options||{};n.queryCount++,n.currentQuery=e;let[o,a]=pwe(e.selector);n.currentQuerySelector=r.length?r+" "+o:o,ho(n.collectedStyles,n.currentQuerySelector,new Map);let s=po(this,vb(e.animation),n);return n.currentQuery=null,n.currentQuerySelector=r,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:df(e.options)}}visitStagger(e,n){n.currentQuery||n.errors.push(F_e());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:IC(e.timings,n.errors,!0);return{type:12,animation:po(this,vb(e.animation),n),timings:r,options:null}}};function pwe(t){let e=!!t.split(/\s*,\s*/).find(n=>n==DW);return e&&(t=t.replace(fwe,"")),t=t.replace(/@\*/g,AC).replace(/@\w+/g,n=>AC+"-"+n.slice(1)).replace(/:animating/g,l6),[t,e]}function hwe(t){return t?Mb(t):null}var f6=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function mwe(t){if(typeof t=="string")return null;let e=null;if(Array.isArray(t))t.forEach(n=>{if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}});else if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}return e}function gwe(t,e){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=IC(t,e).duration;return n6(o,0,"")}let n=t;if(n.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=n6(0,0,"");return o.dynamic=!0,o.strValue=n,o}let i=IC(n,e);return n6(i.duration,i.delay,i.easing)}function df(t){return t?(t=Mb(t),t.params&&(t.params=hwe(t.params))):t={},t}function n6(t,e,n){return{duration:t,delay:e,easing:n}}function E6(t,e,n,r,i,o,a=null,s=!1){return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var Cb=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,n){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...n)}has(e){return this._map.has(e)}clear(){this._map.clear()}},ywe=1,bwe=":enter",_we=new RegExp(bwe,"g"),wwe=":leave",vwe=new RegExp(wwe,"g");function EW(t,e,n,r,i,o=new Map,a=new Map,s,l,c=[]){return new p6().buildKeyframes(t,e,n,r,i,o,a,s,l,c)}var p6=class{buildKeyframes(e,n,r,i,o,a,s,l,c,d=[]){c=c||new Cb;let u=new h6(e,n,c,i,o,d,[]);u.options=l;let f=l.delay?vl(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([a],null,u.errors,l),po(this,r,u);let p=u.timelines.filter(h=>h.containsAnimation());if(p.length&&s.size){let h;for(let g=p.length-1;g>=0;g--){let b=p[g];if(b.element===n){h=b;break}}h&&!h.allowOnlyTimelineStyles()&&h.setStyles([s],null,u.errors,l)}return p.length?p.map(h=>h.buildKeyframes()):[E6(n,[],[],[],0,f,"",!1)]}visitTrigger(e,n){}visitState(e,n){}visitTransition(e,n){}visitAnimateChild(e,n){let r=n.subInstructions.get(n.element);if(r){let i=n.createSubContext(e.options),o=n.currentTimeline.currentTime,a=this._visitSubInstructions(r,i,i.options);o!=a&&n.transformIntoNewTimeline(a)}n.previousNode=e}visitAnimateRef(e,n){let r=n.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],n,r),this.visitReference(e.animation,r),n.transformIntoNewTimeline(r.currentTimeline.currentTime),n.previousNode=e}_applyAnimationRefDelays(e,n,r){for(let i of e){let o=i?.delay;if(o){let a=typeof o=="number"?o:vl(xb(o,i?.params??{},n.errors));r.delayNextStep(a)}}}_visitSubInstructions(e,n,r){let o=n.currentTimeline.currentTime,a=r.duration!=null?vl(r.duration):null,s=r.delay!=null?vl(r.delay):null;return a!==0&&e.forEach(l=>{let c=n.appendInstructionToTimeline(l,a,s);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,n){n.updateOptions(e.options,!0),po(this,e.animation,n),n.previousNode=e}visitSequence(e,n){let r=n.subContextCount,i=n,o=e.options;if(o&&(o.params||o.delay)&&(i=n.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==6&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=NC);let a=vl(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>po(this,a,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),n.previousNode=e}visitGroup(e,n){let r=[],i=n.currentTimeline.currentTime,o=e.options&&e.options.delay?vl(e.options.delay):0;e.steps.forEach(a=>{let s=n.createSubContext(e.options);o&&s.delayNextStep(o),po(this,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(a=>n.currentTimeline.mergeTimelineCollectedStyles(a)),n.transformIntoNewTimeline(i),n.previousNode=e}_visitTiming(e,n){if(e.dynamic){let r=e.strValue,i=n.params?xb(r,n.params,n.errors):r;return IC(i,n.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,n){let r=n.currentAnimateTimings=this._visitTiming(e.timings,n),i=n.currentTimeline;r.delay&&(n.incrementTime(r.delay),i.snapshotCurrentStyles());let o=e.style;o.type==5?this.visitKeyframes(o,n):(n.incrementTime(r.duration),this.visitStyle(o,n),i.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=e}visitStyle(e,n){let r=n.currentTimeline,i=n.currentAnimateTimings;!i&&r.hasCurrentStyleProperties()&&r.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(o):r.setStyles(e.styles,o,n.errors,n.options),n.previousNode=e}visitKeyframes(e,n){let r=n.currentAnimateTimings,i=n.currentTimeline.duration,o=r.duration,s=n.createSubContext().currentTimeline;s.easing=r.easing,e.styles.forEach(l=>{let c=l.offset||0;s.forwardTime(c*o),s.setStyles(l.styles,l.easing,n.errors,n.options),s.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(s),n.transformIntoNewTimeline(i+o),n.previousNode=e}visitQuery(e,n){let r=n.currentTimeline.currentTime,i=e.options||{},o=i.delay?vl(i.delay):0;o&&(n.previousNode.type===6||r==0&&n.currentTimeline.hasCurrentStyleProperties())&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=NC);let a=r,s=n.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,n.errors);n.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{n.currentQueryIndex=d;let u=n.createSubContext(e.options,c);o&&u.delayNextStep(o),c===n.element&&(l=u.currentTimeline),po(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let f=u.currentTimeline.currentTime;a=Math.max(a,f)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(a),l&&(n.currentTimeline.mergeTimelineCollectedStyles(l),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=e}visitStagger(e,n){let r=n.parentContext,i=n.currentTimeline,o=e.timings,a=Math.abs(o.duration),s=a*(n.currentQueryTotal-1),l=a*n.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=r.currentStaggerTime;break}let d=n.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;po(this,e.animation,n),n.previousNode=e,r.currentStaggerTime=i.currentTime-u+(i.startTime-r.currentTimeline.startTime)}},NC={},h6=class t{constructor(e,n,r,i,o,a,s,l){this._driver=e,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=NC,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new RC(this._driver,n,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,n){if(!e)return;let r=e,i=this.options;r.duration!=null&&(i.duration=vl(r.duration)),r.delay!=null&&(i.delay=vl(r.delay));let o=r.params;if(o){let a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!n||!a.hasOwnProperty(s))&&(a[s]=xb(o[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let n=this.options.params;if(n){let r=e.params={};Object.keys(n).forEach(i=>{r[i]=n[i]})}}return e}createSubContext(e=null,n,r){let i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=NC,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,n,r){let i={duration:n??e.duration,delay:this.currentTimeline.currentTime+(r??0)+e.delay,easing:""},o=new m6(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,n,r,i,o,a){let s=[];if(i&&s.push(this.element),e.length>0){e=e.replace(_we,"."+this._enterClassName),e=e.replace(vwe,"."+this._leaveClassName);let l=r!=1,c=this._driver.query(this.element,e,l);r!==0&&(c=r<0?c.slice(c.length+r,c.length):c.slice(0,r)),s.push(...c)}return!o&&s.length==0&&a.push(N_e(n)),s}},RC=class t{constructor(e,n,r,i){this._driver=e,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+e),n&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=ywe,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,n){this._localTimelineStyles.set(e,n),this._globalTimelineStyles.set(e,n),this._styleSummary.set(e,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[n,r]of this._globalTimelineStyles)this._backFill.set(n,r||ys),this._currentKeyframe.set(n,ys);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,n,r,i){n&&this._previousKeyframe.set("easing",n);let o=i&&i.params||{},a=kwe(e,this._globalTimelineStyles);for(let[s,l]of a){let c=xb(l,o,r);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??ys),this._updateStyle(s,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,n)=>{this._currentKeyframe.set(n,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,e)}))}snapshotCurrentStyles(){for(let[e,n]of this._localTimelineStyles)this._pendingStyles.set(e,n),this._updateStyle(e,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let n in this._currentKeyframe)e.push(n);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((n,r)=>{let i=this._styleSummary.get(r);(!i||n.time>i.time)&&this._updateStyle(r,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,n=new Set,r=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((s,l)=>{let c=rm(s,new Map,this._backFill);c.forEach((d,u)=>{d===CC?e.add(u):d===ys&&n.add(u)}),r||c.set("offset",l/this.duration),i.push(c)});let o=e.size?OC(e.values()):[],a=n.size?OC(n.values()):[];if(r){let s=i[0],l=new Map(s);s.set("offset",0),l.set("offset",1),i=[s,l]}return E6(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}},m6=class extends RC{constructor(e,n,r,i,o,a,s=!1){super(e,n,a.delay),this.keyframes=r,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=s,this.timings={duration:a.duration,delay:a.delay,easing:a.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:n,duration:r,easing:i}=this.timings;if(this._stretchStartingKeyframe&&n){let o=[],a=r+n,s=n/a,l=rm(e[0]);l.set("offset",0),o.push(l);let c=rm(e[0]);c.set("offset",cW(s)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let f=rm(e[u]),p=f.get("offset"),h=n+p*r;f.set("offset",cW(h/a)),o.push(f)}r=a,n=0,i="",e=o}return E6(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}};function cW(t,e=3){let n=Math.pow(10,e-1);return Math.round(t*n)/n}function kwe(t,e){let n=new Map,r;return t.forEach(i=>{if(i==="*"){r=r||e.keys();for(let o of r)n.set(o,ys)}else rm(i,n)}),n}function dW(t,e,n,r,i,o,a,s,l,c,d,u,f){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}var r6={},jC=class{constructor(e,n,r){this._triggerName=e,this.ast=n,this._stateStyles=r}match(e,n,r,i){return xwe(this.ast.matchers,e,n,r,i)}buildStyles(e,n,r){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e?.toString())||i),i?i.buildStyles(n,r):new Map}build(e,n,r,i,o,a,s,l,c,d){let u=[],f=this.ast.options&&this.ast.options.params||r6,p=s&&s.params||r6,h=this.buildStyles(r,p,u),g=l&&l.params||r6,b=this.buildStyles(i,g,u),_=new Set,x=new Map,E=new Map,v=i==="void",j={params:Cwe(g,f),delay:this.ast.options?.delay},C=d?[]:EW(e,n,this.ast.animation,o,a,h,b,j,c,u),P=0;if(C.forEach(N=>{P=Math.max(N.duration+N.delay,P)}),u.length)return dW(n,this._triggerName,r,i,v,h,b,[],[],x,E,P,u);C.forEach(N=>{let O=N.element,J=ho(x,O,new Set);N.preStyleProps.forEach(Y=>J.add(Y));let V=ho(E,O,new Set);N.postStyleProps.forEach(Y=>V.add(Y)),O!==n&&_.add(O)});let z=OC(_.values());return dW(n,this._triggerName,r,i,v,h,b,C,z,x,E,P)}};function xwe(t,e,n,r,i){return t.some(o=>o(e,n,r,i))}function Cwe(t,e){let n=Mb(e);for(let r in t)t.hasOwnProperty(r)&&t[r]!=null&&(n[r]=t[r]);return n}var g6=class{constructor(e,n,r){this.styles=e,this.defaultParams=n,this.normalizer=r}buildStyles(e,n){let r=new Map,i=Mb(this.defaultParams);return Object.keys(e).forEach(o=>{let a=e[o];a!==null&&(i[o]=a)}),this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=xb(a,i,n));let l=this.normalizer.normalizePropertyName(s,n);a=this.normalizer.normalizeStyleValue(s,l,a,n),r.set(s,a)})}),r}};function Dwe(t,e,n){return new y6(t,e,n)}var y6=class{constructor(e,n,r){this.name=e,this.ast=n,this._normalizer=r,this.transitionFactories=[],this.states=new Map,n.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new g6(i.style,o,r))}),uW(this.states,"true","1"),uW(this.states,"false","0"),n.transitions.forEach(i=>{this.transitionFactories.push(new jC(e,i,this.states))}),this.fallbackTransition=Swe(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,n,r,i){return this.transitionFactories.find(a=>a.match(e,n,r,i))||null}matchStyles(e,n,r){return this.fallbackTransition.buildStyles(e,n,r)}};function Swe(t,e,n){let o={type:1,animation:{type:2,steps:[],options:null},matchers:[(a,s)=>!0],options:null,queryCount:0,depCount:0};return new jC(t,o,e)}function uW(t,e,n){t.has(e)?t.has(n)||t.set(n,t.get(e)):t.has(n)&&t.set(e,t.get(n))}var Ewe=new Cb,b6=class{constructor(e,n,r){this.bodyNode=e,this._driver=n,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,n){let r=[],i=[],o=SW(this._driver,n,r,i);if(r.length)throw B_e(r);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,n,r){let i=e.element,o=yW(this._normalizer,e.keyframes,n,r);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,n,r={}){let i=[],o=this._animations.get(e),a,s=new Map;if(o?(a=EW(this._driver,n,o,vW,s6,new Map,new Map,r,Ewe,i),a.forEach(d=>{let u=ho(s,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(i.push(V_e()),a=[]),i.length)throw U_e(i);s.forEach((d,u)=>{d.forEach((f,p)=>{d.set(p,this._driver.computeStyle(u,p,ys))})});let l=a.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=$c(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let n=this._getPlayer(e);n.destroy(),this._playersById.delete(e);let r=this.players.indexOf(n);r>=0&&this.players.splice(r,1)}_getPlayer(e){let n=this._playersById.get(e);if(!n)throw H_e(e);return n}listen(e,n,r,i){let o=x6(n,"","","");return k6(this._getPlayer(e),r,o,i),()=>{}}command(e,n,r,i){if(r=="register"){this.register(e,i[0]);return}if(r=="create"){let a=i[0]||{};this.create(e,n,a);return}let o=this._getPlayer(e);switch(r){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},fW="ng-animate-queued",Mwe=".ng-animate-queued",i6="ng-animate-disabled",Twe=".ng-animate-disabled",Awe="ng-star-inserted",Iwe=".ng-star-inserted",Owe=[],MW={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Pwe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Sa="__ng_removed",Db=class{get params(){return this.options.params}constructor(e,n=""){this.namespaceId=n;let r=e&&e.hasOwnProperty("value"),i=r?e.value:e;if(this.value=Nwe(i),r){let o=Mb(e);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let n=e.params;if(n){let r=this.options.params;Object.keys(n).forEach(i=>{r[i]==null&&(r[i]=n[i])})}}},kb="void",o6=new Db(kb),_6=class{constructor(e,n,r){this.id=e,this.hostElement=n,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Go(n,this._hostClassName)}listen(e,n,r,i){if(!this._triggers.has(n))throw $_e(r,n);if(r==null||r.length==0)throw q_e(n);if(!Rwe(r))throw W_e(r,n);let o=ho(this._elementListeners,e,[]),a={name:n,phase:r,callback:i};o.push(a);let s=ho(this._engine.statesByElement,e,new Map);return s.has(n)||(Go(e,DC),Go(e,DC+"-"+n),s.set(n,o6)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(n)||s.delete(n)})}}register(e,n){return this._triggers.has(e)?!1:(this._triggers.set(e,n),!0)}_getTrigger(e){let n=this._triggers.get(e);if(!n)throw G_e(e);return n}trigger(e,n,r,i=!0){let o=this._getTrigger(n),a=new Sb(this.id,n,e),s=this._engine.statesByElement.get(e);s||(Go(e,DC),Go(e,DC+"-"+n),this._engine.statesByElement.set(e,s=new Map));let l=s.get(n),c=new Db(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(n,c),l||(l=o6),!(c.value===kb)&&l.value===c.value){if(!Lwe(l.params,c.params)){let g=[],b=o.matchStyles(l.value,l.params,g),_=o.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(()=>{uf(e,b),bs(e,_)})}return}let f=ho(this._engine.playersByElement,e,[]);f.forEach(g=>{g.namespaceId==this.id&&g.triggerName==n&&g.queued&&g.destroy()});let p=o.matchTransition(l.value,c.value,e,c.params),h=!1;if(!p){if(!i)return;p=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:n,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:h}),h||(Go(e,fW),a.onStart(()=>{nm(e,fW)})),a.onDone(()=>{let g=this.players.indexOf(a);g>=0&&this.players.splice(g,1);let b=this._engine.playersByElement.get(e);if(b){let _=b.indexOf(a);_>=0&&b.splice(_,1)}}),this.players.push(a),f.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(n=>n.delete(e)),this._elementListeners.forEach((n,r)=>{this._elementListeners.set(r,n.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let n=this._engine.playersByElement.get(e);n&&(n.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,n){let r=this._engine.driver.query(e,AC,!0);r.forEach(i=>{if(i[Sa])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(a=>a.triggerLeaveAnimation(i,n,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,n,r,i){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let s=[];if(o.forEach((l,c)=>{if(a.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,kb,i);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,n,a),r&&$c(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let n=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(n&&r){let i=new Set;n.forEach(o=>{let a=o.name;if(i.has(a))return;i.add(a);let l=this._triggers.get(a).fallbackTransition,c=r.get(a)||o6,d=new Db(kb),u=new Sb(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,n){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,n),this.triggerLeaveAnimation(e,n,!0))return;let i=!1;if(r.totalAnimations){let o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let a=e;for(;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,n);else{let o=e[Sa];(!o||o===MW)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,n))}}insertNode(e,n){Go(e,this._hostClassName)}drainQueuedTransitions(e){let n=[];return this._queue.forEach(r=>{let i=r.player;if(i.destroyed)return;let o=r.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==r.triggerName){let l=x6(o,r.triggerName,r.fromState.value,r.toState.value);l._data=e,k6(r.player,s.phase,l,s.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):n.push(r)}),this._queue=[],n.sort((r,i)=>{let o=r.transition.ast.depCount,a=i.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(r.element,i.element)?1:-1})}destroy(e){this.players.forEach(n=>n.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},w6=class{_onRemovalComplete(e,n){this.onRemovalComplete(e,n)}constructor(e,n,r){this.bodyNode=e,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(n=>{n.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,n){let r=new _6(e,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(r,n):(this.newHostElements.set(n,r),this.collectEnterElement(n)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,n){let r=this._namespaceList,i=this.namespacesByHostElement;if(r.length-1>=0){let a=!1,s=this.driver.getParentElement(n);for(;s;){let l=i.get(s);if(l){let c=r.indexOf(l);r.splice(c+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||r.unshift(e)}else r.push(e);return i.set(n,e),e}register(e,n){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,n)),r}registerTrigger(e,n,r){let i=this._namespaceLookup[e];i&&i.register(n,r)&&this.totalAnimations++}destroy(e,n){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let i=this._namespaceList.indexOf(r);i>=0&&this._namespaceList.splice(i,1),r.destroy(n),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let n=new Set,r=this.statesByElement.get(e);if(r){for(let i of r.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&n.add(o)}}return n}trigger(e,n,r,i){if(MC(n)){let o=this._fetchNamespace(e);if(o)return o.trigger(n,r,i),!0}return!1}insertNode(e,n,r,i){if(!MC(n))return;let o=n[Sa];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(n);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(n,r)}i&&this.collectEnterElement(n)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,n){n?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Go(e,i6)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),nm(e,i6))}removeNode(e,n,r){if(MC(n)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(n,r):this.markElementAsRemoved(e,n,!1,r);let o=this.namespacesByHostElement.get(n);o&&o.id!==e&&o.removeNode(n,r)}else this._onRemovalComplete(n,r)}markElementAsRemoved(e,n,r,i,o){this.collectedLeaveElements.push(n),n[Sa]={namespaceId:e,setForRemoval:i,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,n,r,i,o){return MC(n)?this._fetchNamespace(e).listen(n,r,i,o):()=>{}}_buildInstruction(e,n,r,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,i,e.fromState.options,e.toState.options,n,o)}destroyInnerAnimations(e){let n=this.driver.query(e,AC,!0);n.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(n=this.driver.query(e,l6,!0),n.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let n=this.playersByElement.get(e);n&&n.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let n=this.playersByQueriedElement.get(e);n&&n.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return $c(this.players).onDone(()=>e());e()})}processLeaveNode(e){let n=e[Sa];if(n&&n.setForRemoval){if(e[Sa]=MW,n.namespaceId){this.destroyInnerAnimations(e);let r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}e.classList?.contains(i6)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Twe,!0).forEach(r=>{this.markElementAsDisabled(r,!1)})}flush(e=-1){let n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,i)=>this._balanceNamespaceList(r,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let i=this.collectedEnterElements[r];Go(i,Awe)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{n=this._flushAnimations(r,e)}finally{for(let i=0;i<r.length;i++)r[i]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let i=this.collectedLeaveElements[r];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],n.length?$c(n).onDone(()=>{r.forEach(i=>i())}):r.forEach(i=>i())}}reportError(e){throw Y_e(e)}_flushAnimations(e,n){let r=new Cb,i=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(W=>{d.add(W);let X=this.driver.query(W,Mwe,!0);for(let te=0;te<X.length;te++)d.add(X[te])});let u=this.bodyNode,f=Array.from(this.statesByElement.keys()),p=mW(f,this.collectedEnterElements),h=new Map,g=0;p.forEach((W,X)=>{let te=vW+g++;h.set(X,te),W.forEach(xe=>Go(xe,te))});let b=[],_=new Set,x=new Set;for(let W=0;W<this.collectedLeaveElements.length;W++){let X=this.collectedLeaveElements[W],te=X[Sa];te&&te.setForRemoval&&(b.push(X),_.add(X),te.hasAnimation?this.driver.query(X,Iwe,!0).forEach(xe=>_.add(xe)):x.add(X))}let E=new Map,v=mW(f,Array.from(_));v.forEach((W,X)=>{let te=s6+g++;E.set(X,te),W.forEach(xe=>Go(xe,te))}),e.push(()=>{p.forEach((W,X)=>{let te=h.get(X);W.forEach(xe=>nm(xe,te))}),v.forEach((W,X)=>{let te=E.get(X);W.forEach(xe=>nm(xe,te))}),b.forEach(W=>{this.processLeaveNode(W)})});let j=[],C=[];for(let W=this._namespaceList.length-1;W>=0;W--)this._namespaceList[W].drainQueuedTransitions(n).forEach(te=>{let xe=te.player,S=te.element;if(j.push(xe),this.collectedEnterElements.length){let Nt=S[Sa];if(Nt&&Nt.setForMove){if(Nt.previousTriggersValues&&Nt.previousTriggersValues.has(te.triggerName)){let yt=Nt.previousTriggersValues.get(te.triggerName),Gt=this.statesByElement.get(te.element);if(Gt&&Gt.has(te.triggerName)){let en=Gt.get(te.triggerName);en.value=yt,Gt.set(te.triggerName,en)}}xe.destroy();return}}let Be=!u||!this.driver.containsElement(u,S),Ie=E.get(S),I=h.get(S),Ye=this._buildInstruction(te,r,I,Ie,Be);if(Ye.errors&&Ye.errors.length){C.push(Ye);return}if(Be){xe.onStart(()=>uf(S,Ye.fromStyles)),xe.onDestroy(()=>bs(S,Ye.toStyles)),i.push(xe);return}if(te.isFallbackTransition){xe.onStart(()=>uf(S,Ye.fromStyles)),xe.onDestroy(()=>bs(S,Ye.toStyles)),i.push(xe);return}let Jt=[];Ye.timelines.forEach(Nt=>{Nt.stretchStartingKeyframe=!0,this.disabledNodes.has(Nt.element)||Jt.push(Nt)}),Ye.timelines=Jt,r.append(S,Ye.timelines);let wr={instruction:Ye,player:xe,element:S};a.push(wr),Ye.queriedElements.forEach(Nt=>ho(s,Nt,[]).push(xe)),Ye.preStyleProps.forEach((Nt,yt)=>{if(Nt.size){let Gt=l.get(yt);Gt||l.set(yt,Gt=new Set),Nt.forEach((en,or)=>Gt.add(or))}}),Ye.postStyleProps.forEach((Nt,yt)=>{let Gt=c.get(yt);Gt||c.set(yt,Gt=new Set),Nt.forEach((en,or)=>Gt.add(or))})});if(C.length){let W=[];C.forEach(X=>{W.push(K_e(X.triggerName,X.errors))}),j.forEach(X=>X.destroy()),this.reportError(W)}let P=new Map,z=new Map;a.forEach(W=>{let X=W.element;r.has(X)&&(z.set(X,X),this._beforeAnimationBuild(W.player.namespaceId,W.instruction,P))}),i.forEach(W=>{let X=W.element;this._getPreviousPlayers(X,!1,W.namespaceId,W.triggerName,null).forEach(xe=>{ho(P,X,[]).push(xe),xe.destroy()})});let N=b.filter(W=>gW(W,l,c)),O=new Map;hW(O,this.driver,x,c,ys).forEach(W=>{gW(W,l,c)&&N.push(W)});let V=new Map;p.forEach((W,X)=>{hW(V,this.driver,new Set(W),l,CC)}),N.forEach(W=>{let X=O.get(W),te=V.get(W);O.set(W,new Map([...X?.entries()??[],...te?.entries()??[]]))});let Y=[],ie=[],me={};a.forEach(W=>{let{element:X,player:te,instruction:xe}=W;if(r.has(X)){if(d.has(X)){te.onDestroy(()=>bs(X,xe.toStyles)),te.disabled=!0,te.overrideTotalTime(xe.totalTime),i.push(te);return}let S=me;if(z.size>1){let Ie=X,I=[];for(;Ie=Ie.parentNode;){let Ye=z.get(Ie);if(Ye){S=Ye;break}I.push(Ie)}I.forEach(Ye=>z.set(Ye,S))}let Be=this._buildAnimation(te.namespaceId,xe,P,o,V,O);if(te.setRealPlayer(Be),S===me)Y.push(te);else{let Ie=this.playersByElement.get(S);Ie&&Ie.length&&(te.parentPlayer=$c(Ie)),i.push(te)}}else uf(X,xe.fromStyles),te.onDestroy(()=>bs(X,xe.toStyles)),ie.push(te),d.has(X)&&i.push(te)}),ie.forEach(W=>{let X=o.get(W.element);if(X&&X.length){let te=$c(X);W.setRealPlayer(te)}}),i.forEach(W=>{W.parentPlayer?W.syncPlayerEvents(W.parentPlayer):W.destroy()});for(let W=0;W<b.length;W++){let X=b[W],te=X[Sa];if(nm(X,s6),te&&te.hasAnimation)continue;let xe=[];if(s.size){let Be=s.get(X);Be&&Be.length&&xe.push(...Be);let Ie=this.driver.query(X,l6,!0);for(let I=0;I<Ie.length;I++){let Ye=s.get(Ie[I]);Ye&&Ye.length&&xe.push(...Ye)}}let S=xe.filter(Be=>!Be.destroyed);S.length?jwe(this,X,S):this.processLeaveNode(X)}return b.length=0,Y.forEach(W=>{this.players.push(W),W.onDone(()=>{W.destroy();let X=this.players.indexOf(W);this.players.splice(X,1)}),W.play()}),Y}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,n,r,i,o){let a=[];if(n){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==kb;s.forEach(c=>{c.queued||!l&&c.triggerName!=i||a.push(c)})}}return(r||i)&&(a=a.filter(s=>!(r&&r!=s.namespaceId||i&&i!=s.triggerName))),a}_beforeAnimationBuild(e,n,r){let i=n.triggerName,o=n.element,a=n.isRemovalTransition?void 0:e,s=n.isRemovalTransition?void 0:i;for(let l of n.timelines){let c=l.element,d=c!==o,u=ho(r,c,[]);this._getPreviousPlayers(c,d,a,s,n.toState).forEach(p=>{let h=p.getRealPlayer();h.beforeDestroy&&h.beforeDestroy(),p.destroy(),u.push(p)})}uf(o,n.fromStyles)}_buildAnimation(e,n,r,i,o,a){let s=n.triggerName,l=n.element,c=[],d=new Set,u=new Set,f=n.timelines.map(h=>{let g=h.element;d.add(g);let b=g[Sa];if(b&&b.removedBeforeQueried)return new Hc(h.duration,h.delay);let _=g!==l,x=zwe((r.get(g)||Owe).map(P=>P.getRealPlayer())).filter(P=>{let z=P;return z.element?z.element===g:!1}),E=o.get(g),v=a.get(g),j=yW(this._normalizer,h.keyframes,E,v),C=this._buildPlayer(h,j,x);if(h.subTimeline&&i&&u.add(g),_){let P=new Sb(e,s,g);P.setRealPlayer(C),c.push(P)}return C});c.forEach(h=>{ho(this.playersByQueriedElement,h.element,[]).push(h),h.onDone(()=>Fwe(this.playersByQueriedElement,h.element,h))}),d.forEach(h=>Go(h,aW));let p=$c(f);return p.onDestroy(()=>{d.forEach(h=>nm(h,aW)),bs(l,n.toStyles)}),u.forEach(h=>{ho(i,h,[]).push(p)}),p}_buildPlayer(e,n,r){return n.length>0?this.driver.animate(e.element,n,e.duration,e.delay,e.easing,r):new Hc(e.duration,e.delay)}},Sb=class{constructor(e,n,r){this.namespaceId=e,this.triggerName=n,this.element=r,this._player=new Hc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((n,r)=>{n.forEach(i=>k6(e,r,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let n=this._player;n.triggerCallback&&e.onStart(()=>n.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,n){ho(this._queuedCallbacks,e,[]).push(n)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let n=this._player;n.triggerCallback&&n.triggerCallback(e)}};function Fwe(t,e,n){let r=t.get(e);if(r){if(r.length){let i=r.indexOf(n);r.splice(i,1)}r.length==0&&t.delete(e)}return r}function Nwe(t){return t??null}function MC(t){return t&&t.nodeType===1}function Rwe(t){return t=="start"||t=="done"}function pW(t,e){let n=t.style.display;return t.style.display=e??"none",n}function hW(t,e,n,r,i){let o=[];n.forEach(l=>o.push(pW(l)));let a=[];r.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let f=e.computeStyle(c,u,i);d.set(u,f),(!f||f.length==0)&&(c[Sa]=Pwe,a.push(c))}),t.set(c,d)});let s=0;return n.forEach(l=>pW(l,o[s++])),a}function mW(t,e){let n=new Map;if(t.forEach(s=>n.set(s,[])),e.length==0)return n;let r=1,i=new Set(e),o=new Map;function a(s){if(!s)return r;let l=o.get(s);if(l)return l;let c=s.parentNode;return n.has(c)?l=c:i.has(c)?l=r:l=a(c),o.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==r&&n.get(l).push(s)}),n}function Go(t,e){t.classList?.add(e)}function nm(t,e){t.classList?.remove(e)}function jwe(t,e,n){$c(n).onDone(()=>t.processLeaveNode(e))}function zwe(t){let e=[];return TW(t,e),e}function TW(t,e){for(let n=0;n<t.length;n++){let r=t[n];r instanceof wb?TW(r.players,e):e.push(r)}}function Lwe(t,e){let n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(let i=0;i<n.length;i++){let o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}function gW(t,e,n){let r=n.get(t);if(!r)return!1;let i=e.get(t);return i?r.forEach(o=>i.add(o)):e.set(t,r),n.delete(t),!0}var im=class{constructor(e,n,r){this._driver=n,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new w6(e.body,n,r),this._timelineEngine=new b6(e.body,n,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,n,r,i,o){let a=e+"-"+i,s=this._triggerCache[a];if(!s){let l=[],c=[],d=SW(this._driver,o,l,c);if(l.length)throw z_e(i,l);c.length&&void 0,s=Dwe(i,d,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(n,i,s)}register(e,n){this._transitionEngine.register(e,n)}destroy(e,n){this._transitionEngine.destroy(e,n)}onInsert(e,n,r,i){this._transitionEngine.insertNode(e,n,r,i)}onRemove(e,n,r){this._transitionEngine.removeNode(e,n,r)}disableAnimations(e,n){this._transitionEngine.markElementAsDisabled(e,n)}process(e,n,r,i){if(r.charAt(0)=="@"){let[o,a]=iW(r),s=i;this._timelineEngine.command(o,n,a,s)}else this._transitionEngine.trigger(e,n,r,i)}listen(e,n,r,i,o){if(r.charAt(0)=="@"){let[a,s]=iW(r);return this._timelineEngine.listen(a,n,s,o)}return this._transitionEngine.listen(e,n,r,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Bwe(t,e){let n=null,r=null;return Array.isArray(e)&&e.length?(n=a6(e[0]),e.length>1&&(r=a6(e[e.length-1]))):e instanceof Map&&(n=a6(e)),n||r?new Vwe(t,n,r):null}var Vwe=(()=>{let e=class e{constructor(r,i,o){this._element=r,this._startStyles=i,this._endStyles=o,this._state=0;let a=e.initialStylesByElement.get(r);a||e.initialStylesByElement.set(r,a=new Map),this._initialStyles=a}start(){this._state<1&&(this._startStyles&&bs(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(bs(this._element,this._initialStyles),this._endStyles&&(bs(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(uf(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(uf(this._element,this._endStyles),this._endStyles=null),bs(this._element,this._initialStyles),this._state=3)}};e.initialStylesByElement=new WeakMap;let t=e;return t})();function a6(t){let e=null;return t.forEach((n,r)=>{Uwe(r)&&(e=e||new Map,e.set(r,n))}),e}function Uwe(t){return t==="display"||t==="position"}var zC=class{constructor(e,n,r,i){this.element=e,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let n=()=>this._onFinish();this.domPlayer.addEventListener("finish",n),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",n)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let n=[];return e.forEach(r=>{n.push(Object.fromEntries(r))}),n}_triggerWebAnimation(e,n,r){return e.animate(this._convertKeyframesToObject(n),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((r,i)=>{i!=="offset"&&e.set(i,this._finished?r:CW(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let n=e==="start"?this._onStartFns:this._onDoneFns;n.forEach(r=>r()),n.length=0}},LC=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,n){return!1}containsElement(e,n){return bW(e,n)}getParentElement(e){return C6(e)}query(e,n,r){return _W(e,n,r)}computeStyle(e,n,r){return window.getComputedStyle(e)[n]}animate(e,n,r,i,o,a=[]){let s=i==0?"both":"forwards",l={duration:r,delay:i,fill:s};o&&(l.easing=o);let c=new Map,d=a.filter(p=>p instanceof zC);awe(r,i)&&d.forEach(p=>{p.currentSnapshot.forEach((h,g)=>c.set(g,h))});let u=rwe(n).map(p=>rm(p));u=swe(e,u,c);let f=Bwe(e,u);return new zC(e,u,l,f)}};var TC="@",AW="@.disabled",BC=class{constructor(e,n,r,i){this.namespaceId=e,this.delegate=n,this.engine=r,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,n){return this.delegate.createElement(e,n)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,n){this.delegate.appendChild(e,n),this.engine.onInsert(this.namespaceId,n,e,!1)}insertBefore(e,n,r,i=!0){this.delegate.insertBefore(e,n,r),this.engine.onInsert(this.namespaceId,n,e,i)}removeChild(e,n,r){this.engine.onRemove(this.namespaceId,n,this.delegate)}selectRootElement(e,n){return this.delegate.selectRootElement(e,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,n,r,i){this.delegate.setAttribute(e,n,r,i)}removeAttribute(e,n,r){this.delegate.removeAttribute(e,n,r)}addClass(e,n){this.delegate.addClass(e,n)}removeClass(e,n){this.delegate.removeClass(e,n)}setStyle(e,n,r,i){this.delegate.setStyle(e,n,r,i)}removeStyle(e,n,r){this.delegate.removeStyle(e,n,r)}setProperty(e,n,r){n.charAt(0)==TC&&n==AW?this.disableAnimations(e,!!r):this.delegate.setProperty(e,n,r)}setValue(e,n){this.delegate.setValue(e,n)}listen(e,n,r){return this.delegate.listen(e,n,r)}disableAnimations(e,n){this.engine.disableAnimations(e,n)}},v6=class extends BC{constructor(e,n,r,i,o){super(n,r,i,o),this.factory=e,this.namespaceId=n}setProperty(e,n,r){n.charAt(0)==TC?n.charAt(1)=="."&&n==AW?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,n.slice(1),r):this.delegate.setProperty(e,n,r)}listen(e,n,r){if(n.charAt(0)==TC){let i=Hwe(e),o=n.slice(1),a="";return o.charAt(0)!=TC&&([o,a]=$we(o)),this.engine.listen(this.namespaceId,i,o,a,s=>{let l=s._data||-1;this.factory.scheduleListenerCallback(l,r,s)})}return this.delegate.listen(e,n,r)}};function Hwe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function $we(t){let e=t.indexOf("."),n=t.substring(0,e),r=t.slice(e+1);return[n,r]}var VC=class{constructor(e,n,r){this.delegate=e,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,n.onRemovalComplete=(i,o)=>{let a=o?.parentNode(i);a&&o.removeChild(a,i)}}createRenderer(e,n){let r="",i=this.delegate.createRenderer(e,n);if(!e||!n?.data?.animation){let c=this._rendererCache,d=c.get(i);if(!d){let u=()=>c.delete(i);d=new BC(r,i,this.engine,u),c.set(i,d)}return d}let o=n.id,a=n.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(o,a,e,c.name,c)};return n.data.animation.forEach(s),new v6(this,a,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,n,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>n(r));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[a,s]=o;a(s)}),this._animationCallbacksBuffer=[]})}),i.push([n,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Wwe=(()=>{let e=class e extends im{constructor(r,i,o,a){super(r,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(B(rt),B(Eb),B(ff),B(Ha))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();function Gwe(){return new PC}function Ywe(t,e,n){return new VC(t,e,n)}var IW=[{provide:ff,useFactory:Gwe},{provide:im,useClass:Wwe},{provide:vd,useFactory:Ywe,deps:[dv,im,De]}],Kwe=[{provide:Eb,useFactory:()=>new LC},{provide:Rn,useValue:"BrowserAnimations"},...IW],hKe=[{provide:Eb,useClass:D6},{provide:Rn,useValue:"NoopAnimations"},...IW];function OW(){return[...Kwe]}function Zwe(){return!0}var Xwe=new de("mat-sanity-checks",{providedIn:"root",factory:Zwe}),Hi=(()=>{let e=class e{constructor(r,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,r._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(r){return bb()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[r]}};e.\u0275fac=function(i){return new(i||e)(B(QO),B(Xwe,8),B(rt))},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[JO,JO]});let t=e;return t})();function P6(t){return class extends t{get disabled(){return this._disabled}set disabled(e){this._disabled=Tr(e)}constructor(...e){super(...e),this._disabled=!1}}}function VW(t,e){return class extends t{get color(){return this._color}set color(n){let r=n||this.defaultColor;r!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),r&&this._elementRef.nativeElement.classList.add(`mat-${r}`),this._color=r)}constructor(...n){super(...n),this.defaultColor=e,this.color=e}}}function UW(t){return class extends t{get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=Tr(e)}constructor(...e){super(...e),this._disableRipple=!1}}}function HW(t){return class extends t{updateErrorState(){let e=this.errorState,n=this._parentFormGroup||this._parentForm,r=this.errorStateMatcher||this._defaultErrorStateMatcher,i=this.ngControl?this.ngControl.control:null,o=r.isErrorState(i,n);o!==e&&(this.errorState=o,this.stateChanges.next())}constructor(...e){super(...e),this.errorState=!1}}}var $W=(()=>{let e=class e{isErrorState(r,i){return!!(r&&r.invalid&&(r.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var A6=class{constructor(e,n,r,i=!1){this._renderer=e,this.element=n,this.config=r,this._animationForciblyDisabledThroughCss=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}},PW=ms({passive:!0,capture:!0}),I6=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{let n=Ca(e);n&&this._events.get(e.type)?.forEach((r,i)=>{(i===n||i.contains(n))&&r.forEach(o=>o.handleEvent(e))})}}addHandler(e,n,r,i){let o=this._events.get(n);if(o){let a=o.get(r);a?a.add(i):o.set(r,new Set([i]))}else this._events.set(n,new Map([[r,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(n,this._delegateEventHandler,PW)})}removeHandler(e,n,r){let i=this._events.get(e);if(!i)return;let o=i.get(n);o&&(o.delete(r),o.size===0&&i.delete(n),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,PW)))}},FW={enterDuration:225,exitDuration:150},Qwe=800,NW=ms({passive:!0,capture:!0}),RW=["mousedown","touchstart"],jW=["mouseup","mouseleave","touchend","touchcancel"],Tb=class Tb{constructor(e,n,r,i){this._target=e,this._ngZone=n,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=Ui(r))}fadeInRipple(e,n,r={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},FW),r.animation);r.centered&&(e=i.left+i.width/2,n=i.top+i.height/2);let a=r.radius||Jwe(e,n,i),s=e-i.left,l=n-i.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=`${s-a}px`,d.style.top=`${l-a}px`,d.style.height=`${a*2}px`,d.style.width=`${a*2}px`,r.color!=null&&(d.style.backgroundColor=r.color),d.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,p=u.transitionDuration,h=f==="none"||p==="0s"||p==="0s, 0s"||i.width===0&&i.height===0,g=new A6(this,d,r,h);d.style.transform="scale3d(1, 1, 1)",g.state=0,r.persistent||(this._mostRecentTransientRipple=g);let b=null;return!h&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let _=()=>this._finishRippleTransition(g),x=()=>this._destroyRipple(g);d.addEventListener("transitionend",_),d.addEventListener("transitioncancel",x),b={onTransitionEnd:_,onTransitionCancel:x}}),this._activeRipples.set(g,b),(h||!c)&&this._finishRippleTransition(g),g}fadeOutRipple(e){if(e.state===2||e.state===3)return;let n=e.element,r=D(D({},FW),e.config.animation);n.style.transitionDuration=`${r.exitDuration}ms`,n.style.opacity="0",e.state=2,(e._animationForciblyDisabledThroughCss||!r.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let n=Ui(e);!this._platform.isBrowser||!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,RW.forEach(r=>{Tb._eventManager.addHandler(this._ngZone,r,n,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{jW.forEach(n=>{this._triggerElement.addEventListener(n,this,NW)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===0?this._startFadeOutTransition(e):e.state===2&&this._destroyRipple(e)}_startFadeOutTransition(e){let n=e===this._mostRecentTransientRipple,{persistent:r}=e.config;e.state=1,!r&&(!n||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){let n=this._activeRipples.get(e)??null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=3,n!==null&&(e.element.removeEventListener("transitionend",n.onTransitionEnd),e.element.removeEventListener("transitioncancel",n.onTransitionCancel)),e.element.remove()}_onMousedown(e){let n=ZO(e),r=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Qwe;!this._target.rippleDisabled&&!n&&!r&&(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}_onTouchStart(e){if(!this._target.rippleDisabled&&!XO(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let n=e.changedTouches;if(n)for(let r=0;r<n.length;r++)this.fadeInRipple(n[r].clientX,n[r].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(e=>{let n=e.state===1||e.config.terminateOnPointerUp&&e.state===0;!e.config.persistent&&n&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(RW.forEach(n=>Tb._eventManager.removeHandler(n,e,this)),this._pointerUpEventsRegistered&&jW.forEach(n=>e.removeEventListener(n,this,NW)))}};Tb._eventManager=new I6;var O6=Tb;function Jwe(t,e,n){let r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}var F6=new de("mat-ripple-global-options"),HC=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(r){r&&this.fadeOutAllNonPersistent(),this._disabled=r,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(r){this._trigger=r,this._setupTriggerEventsIfEnabled()}constructor(r,i,o,a,s){this._elementRef=r,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=a||{},this._rippleRenderer=new O6(this,i,r,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:D(D(D({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(r,i=0,o){return typeof r=="number"?this._rippleRenderer.fadeInRipple(r,i,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),r))}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(De),R(ln),R(F6,8),R(Rn,8))},e.\u0275dir=ke({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&Rt("mat-ripple-unbounded",o.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});let t=e;return t})(),$C=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Hi,Hi]});let t=e;return t})();var zW={capture:!0},LW=["focus","click","mouseenter","touchstart"],M6="mat-ripple-loader-uninitialized",T6="mat-ripple-loader-class-name",BW="mat-ripple-loader-centered",UC="mat-ripple-loader-disabled",qW=(()=>{let e=class e{constructor(){this._document=se(rt,{optional:!0}),this._animationMode=se(Rn,{optional:!0}),this._globalRippleOptions=se(F6,{optional:!0}),this._platform=se(ln),this._ngZone=se(De),this._hosts=new Map,this._onInteraction=r=>{if(!(r.target instanceof HTMLElement))return;let o=r.target.closest(`[${M6}]`);o&&this._createRipple(o)},this._ngZone.runOutsideAngular(()=>{for(let r of LW)this._document?.addEventListener(r,this._onInteraction,zW)})}ngOnDestroy(){let r=this._hosts.keys();for(let i of r)this.destroyRipple(i);for(let i of LW)this._document?.removeEventListener(i,this._onInteraction,zW)}configureRipple(r,i){r.setAttribute(M6,""),(i.className||!r.hasAttribute(T6))&&r.setAttribute(T6,i.className||""),i.centered&&r.setAttribute(BW,""),i.disabled&&r.setAttribute(UC,"")}getRipple(r){return this._hosts.get(r)||this._createRipple(r)}setDisabled(r,i){let o=this._hosts.get(r);if(o){o.disabled=i;return}i?r.setAttribute(UC,""):r.removeAttribute(UC)}_createRipple(r){if(!this._document)return;let i=this._hosts.get(r);if(i)return i;r.querySelector(".mat-ripple")?.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",r.getAttribute(T6)),r.append(o);let a=new HC(new Me(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return a._isInitialized=!0,a.trigger=r,a.centered=r.hasAttribute(BW),a.disabled=r.hasAttribute(UC),this.attachRipple(r,a),a}attachRipple(r,i){r.removeAttribute(M6),this._hosts.set(r,i)}destroyRipple(r){let i=this._hosts.get(r);i&&(i.ngOnDestroy(),this._hosts.delete(r))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Ab=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},om=class extends Ab{constructor(e,n,r,i,o){super(),this.component=e,this.viewContainerRef=n,this.injector=r,this.componentFactoryResolver=i,this.projectableNodes=o}},kl=class extends Ab{constructor(e,n,r,i){super(),this.templateRef=e,this.viewContainerRef=n,this.context=r,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,n=this.context){return this.context=n,super.attach(e)}detach(){return this.context=void 0,super.detach()}},N6=class extends Ab{constructor(e){super(),this.element=e instanceof Me?e.nativeElement:e}},am=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof om)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof kl)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof N6)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var qC=class extends am{constructor(e,n,r,i,o){super(),this.outletElement=e,this._componentFactoryResolver=n,this._appRef=r,this._defaultInjector=i,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");s.parentNode.insertBefore(l,s),this.outletElement.appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}attachComponentPortal(e){let r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=r.create(e.injector||this._defaultInjector||er.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return r.rootNodes.forEach(i=>this.outletElement.appendChild(i)),r.detectChanges(),this.setDisposeFn(()=>{let i=n.indexOf(r);i!==-1&&n.remove(i)}),this._attachedPortal=e,r}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var GW=(()=>{let e=class e extends kl{constructor(r,i){super(r,i)}};e.\u0275fac=function(i){return new(i||e)(R(vn),R($n))},e.\u0275dir=ke({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ge]});let t=e;return t})();var Ea=(()=>{let e=class e extends am{constructor(r,i,o){super(),this._componentFactoryResolver=r,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Qe,this.attachDomPortal=a=>{this._document;let s=a.element;s.parentNode;let l=this._document.createComment("dom-portal");a.setAttachedHost(this),s.parentNode.insertBefore(l,s),this._getRootNode().appendChild(s),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(s,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(r){this.hasAttached()&&!r&&!this._isInitialized||(this.hasAttached()&&super.detach(),r&&super.attach(r),this._attachedPortal=r||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(r){r.setAttachedHost(this);let i=r.viewContainerRef!=null?r.viewContainerRef:this._viewContainerRef,a=(r.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(r.component),s=i.createComponent(a,i.length,r.injector||i.injector,r.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=r,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(r){r.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(r.templateRef,r.context,{injector:r.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=r,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let r=this._viewContainerRef.element.nativeElement;return r.nodeType===r.ELEMENT_NODE?r:r.parentNode}};e.\u0275fac=function(i){return new(i||e)(R(Ua),R($n),R(rt))},e.\u0275dir=ke({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ge]});let t=e;return t})();var pf=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({});let t=e;return t})();var eve=20,YW=(()=>{let e=class e{constructor(r,i,o){this._ngZone=r,this._platform=i,this._scrolled=new Ee,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(r){this.scrollContainers.has(r)||this.scrollContainers.set(r,r.elementScrolled().subscribe(()=>this._scrolled.next(r)))}deregister(r){let i=this.scrollContainers.get(r);i&&(i.unsubscribe(),this.scrollContainers.delete(r))}scrolled(r=eve){return this._platform.isBrowser?new Ze(i=>{this._globalSubscription||this._addGlobalListener();let o=r>0?this._scrolled.pipe(q_(r)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Ve()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((r,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(r,i){let o=this.getAncestorScrollContainers(r);return this.scrolled(i).pipe(Kt(a=>!a||o.indexOf(a)>-1))}getAncestorScrollContainers(r){let i=[];return this.scrollContainers.forEach((o,a)=>{this._scrollableContainsElement(a,r)&&i.push(a)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(r,i){let o=Ui(i),a=r.getElementRef().nativeElement;do if(o==a)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let r=this._getWindow();return Fa(r.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(B(De),B(ln),B(rt,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var tve=20,sm=(()=>{let e=class e{constructor(r,i,o){this._platform=r,this._change=new Ee,this._changeListener=a=>{this._change.next(a)},this._document=o,i.runOutsideAngular(()=>{if(r.isBrowser){let a=this._getWindow();a.addEventListener("resize",this._changeListener),a.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let r=this._getWindow();r.removeEventListener("resize",this._changeListener),r.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let r={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),r}getViewportRect(){let r=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:r.top,left:r.left,bottom:r.top+o,right:r.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let r=this._document,i=this._getWindow(),o=r.documentElement,a=o.getBoundingClientRect(),s=-a.top||r.body.scrollTop||i.scrollY||o.scrollTop||0,l=-a.left||r.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:s,left:l}}change(r=tve){return r>0?this._change.pipe(q_(r)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let r=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:r.innerWidth,height:r.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(B(ln),B(De),B(rt,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function ive(t,e){}var ove=t=>({animationDuration:t}),ave=(t,e)=>({value:t,params:e});function sve(t,e){t&1&&xn(0)}var QW=["*"],lve=["tabListContainer"],cve=["tabList"],dve=["tabListInner"],uve=["nextPaginator"],fve=["previousPaginator"],pve=["tabBodyWrapper"],hve=["tabHeader"];function mve(t,e){}function gve(t,e){if(t&1&&ct(0,mve,0,0,"ng-template",10),t&2){let n=ze().$implicit;Se("cdkPortalOutlet",n.templateLabel)}}function yve(t,e){if(t&1&&we(0),t&2){let n=ze().$implicit;tr(n.textLabel)}}function bve(t,e){if(t&1){let n=lr();U(0,"div",4,5),Ce("click",function(){let i=nn(n),o=i.$implicit,a=i.$index,s=ze(),l=Ls(1);return rn(s._handleClick(o,l,a))})("cdkFocusChange",function(i){let a=nn(n).$index,s=ze();return rn(s._tabFocusChanged(i,a))}),_t(2,"span",6)(3,"div",7),U(4,"span",8)(5,"span",9),ct(6,gve,1,1,null,10)(7,yve,1,1),G()()()}if(t&2){let n=e.$implicit,r=e.$index,i=Ls(1),o=ze();Rt("mdc-tab--active",o.selectedIndex===r),Se("id",o._getTabLabelId(r))("ngClass",n.labelClass)("disabled",n.disabled)("fitInkBarToContent",o.fitInkBarToContent),pn("tabIndex",o._getTabIndex(r))("aria-posinset",r+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(r))("aria-selected",o.selectedIndex===r)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),oe(3),Se("matRippleTrigger",i)("matRippleDisabled",n.disabled||o.disableRipple),oe(3),Ht(6,n.templateLabel?6:7)}}function _ve(t,e){if(t&1){let n=lr();U(0,"mat-tab-body",11),Ce("_onCentered",function(){nn(n);let i=ze();return rn(i._removeTabBodyWrapperHeight())})("_onCentering",function(i){nn(n);let o=ze();return rn(o._setTabBodyWrapperHeight(i))}),G()}if(t&2){let n=e.$implicit,r=e.$index,i=ze();Rt("mat-mdc-tab-body-active",i.selectedIndex===r),Se("id",i._getTabContentId(r))("ngClass",n.bodyClass)("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",i.animationDuration)("preserveContent",i.preserveContent),pn("tabindex",i.contentTabIndex!=null&&i.selectedIndex===r?i.contentTabIndex:null)("aria-labelledby",i._getTabLabelId(r))("aria-hidden",i.selectedIndex!==r)}}var wve={translateTab:xC("translateTab",[em("center, void, left-origin-center, right-origin-center",Wo({transform:"none"})),em("left",Wo({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),em("right",Wo({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),tm("* => left, * => right, left => center, right => center",Jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),tm("void => left-origin-center",[Wo({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),Jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),tm("void => right-origin-center",[Wo({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Jh("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},vve=(()=>{let e=class e extends Ea{constructor(r,i,o,a){super(r,i,a),this._host=o,this._centeringSub=Lt.EMPTY,this._leavingSub=Lt.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ei(this._host._isCenterPosition(this._host._position))).subscribe(r=>{r&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(R(Ua),R($n),R(Do(()=>JW)),R(rt))},e.\u0275dir=ke({type:e,selectors:[["","matTabBodyHost",""]],features:[ge]});let t=e;return t})(),JW=(()=>{let e=class e{set position(r){this._positionIndex=r,this._computePositionAnimationState()}constructor(r,i,o){this._elementRef=r,this._dir=i,this._dirChangeSubscription=Lt.EMPTY,this._translateTabComplete=new Ee,this._onCentering=new Qe,this._beforeCentering=new Qe,this._afterLeavingCenter=new Qe,this._onCentered=new Qe(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),o.markForCheck()})),this._translateTabComplete.pipe(zl((a,s)=>a.fromState===s.fromState&&a.toState===s.toState)).subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(r){let i=this._isCenterPosition(r.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(r){return r=="center"||r=="left-origin-center"||r=="right-origin-center"}_computePositionAnimationState(r=this._getLayoutDirection()){this._positionIndex<0?this._position=r=="ltr"?"left":"right":this._positionIndex>0?this._position=r=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(r){let i=this._getLayoutDirection();return i=="ltr"&&r<=0||i=="rtl"&&r>0?"left-origin-center":"right-origin-center"}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(Da,8),R(di))},e.\u0275cmp=_e({type:e,selectors:[["mat-tab-body"]],viewQuery:function(i,o){if(i&1&&mn(Ea,5),i&2){let a;Dt(a=St())&&(o._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(i,o){i&1&&(U(0,"div",0,1),Ce("@translateTab.start",function(s){return o._onTranslateTabStarted(s)})("@translateTab.done",function(s){return o._translateTabComplete.next(s)}),ct(2,ive,0,0,"ng-template",2),G()),i&2&&Se("@translateTab",lN(3,ave,o._position,hp(1,ove,o.animationDuration)))},dependencies:[vve],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[wve.translateTab]}});let t=e;return t})(),kve=new de("MatTabContent"),xve=(()=>{let e=class e{constructor(r){this.template=r}};e.\u0275fac=function(i){return new(i||e)(R(vn))},e.\u0275dir=ke({type:e,selectors:[["","matTabContent",""]],features:[hn([{provide:kve,useExisting:e}])]});let t=e;return t})(),Cve=new de("MatTabLabel"),eG=new de("MAT_TAB"),Dve=(()=>{let e=class e extends GW{constructor(r,i,o){super(r,i),this._closestTab=o}};e.\u0275fac=function(i){return new(i||e)(R(vn),R($n),R(eG,8))},e.\u0275dir=ke({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[hn([{provide:Cve,useExisting:e}]),ge]});let t=e;return t})(),j6="mdc-tab-indicator--active",ZW="mdc-tab-indicator--no-transition",z6=class{constructor(e){this._items=e}hide(){this._items.forEach(e=>e.deactivateInkBar())}alignToElement(e){let n=this._items.find(i=>i.elementRef.nativeElement===e),r=this._currentItem;if(n!==r&&(r?.deactivateInkBar(),n)){let i=r?.elementRef.nativeElement.getBoundingClientRect?.();n.activateInkBar(i),this._currentItem=n}}};function Sve(t){return class extends t{constructor(...e){super(...e),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){let n=Tr(e);this._fitToContent!==n&&(this._fitToContent=n,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let n=this.elementRef.nativeElement;if(!e||!n.getBoundingClientRect||!this._inkBarContentElement){n.classList.add(j6);return}let r=n.getBoundingClientRect(),i=e.width/r.width,o=e.left-r.left;n.classList.add(ZW),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${i})`),n.getBoundingClientRect(),n.classList.remove(ZW),n.classList.add(j6),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(j6)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=e.createElement("span"),this._inkBarContentElement=e.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement;e.appendChild(this._inkBarElement)}}}var Eve=Sve(P6(class{})),tG=(()=>{let e=class e extends Eve{constructor(r){super(),this.elementRef=r}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,o){i&2&&(pn("aria-disabled",!!o.disabled),Rt("mat-mdc-tab-disabled",o.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[ge]});let t=e;return t})(),Mve=P6(class{}),nG=new de("MAT_TAB_GROUP"),Ib=(()=>{let e=class e extends Mve{get templateLabel(){return this._templateLabel}set templateLabel(r){this._setTemplateLabelInput(r)}get content(){return this._contentPortal}constructor(r,i){super(),this._viewContainerRef=r,this._closestTabGroup=i,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new Ee,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(r){(r.hasOwnProperty("textLabel")||r.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new kl(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(r){r&&r._closestTab===this&&(this._templateLabel=r)}};e.\u0275fac=function(i){return new(i||e)(R($n),R(nG,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-tab"]],contentQueries:function(i,o,a){if(i&1&&(Wr(a,Dve,5),Wr(a,xve,7,vn)),i&2){let s;Dt(s=St())&&(o.templateLabel=s.first),Dt(s=St())&&(o._explicitContent=s.first)}},viewQuery:function(i,o){if(i&1&&mn(vn,7),i&2){let a;Dt(a=St())&&(o._implicitContent=a.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[hn([{provide:eG,useExisting:e}]),ge,Qn],ngContentSelectors:QW,decls:1,vars:0,template:function(i,o){i&1&&(Ii(),ct(0,sve,1,0,"ng-template"))},encapsulation:2});let t=e;return t})(),XW=ms({passive:!0}),Tve=650,Ave=100,Ive=(()=>{let e=class e{get disablePagination(){return this._disablePagination}set disablePagination(r){this._disablePagination=Tr(r)}get selectedIndex(){return this._selectedIndex}set selectedIndex(r){r=qo(r),this._selectedIndex!=r&&(this._selectedIndexChanged=!0,this._selectedIndex=r,this._keyManager&&this._keyManager.updateActiveItem(r))}constructor(r,i,o,a,s,l,c){this._elementRef=r,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=a,this._ngZone=s,this._platform=l,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ee,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ee,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Qe,this.indexFocused=new Qe,s.runOutsideAngular(()=>{Fa(r.nativeElement,"mouseleave").pipe(Nn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Fa(this._previousPaginator.nativeElement,"touchstart",XW).pipe(Nn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Fa(this._nextPaginator.nativeElement,"touchstart",XW).pipe(Nn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let r=this._dir?this._dir.change:Ve("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new wC(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(Un(1)).subscribe(o),Qi(r,i,this._items.changes,this._itemsResized()).pipe(Nn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(a=>{this.indexFocused.emit(a),this._setTabFocus(a)})}_itemsResized(){return typeof ResizeObserver!="function"?vr:this._items.changes.pipe(Ei(this._items),kr(r=>new Ze(i=>this._ngZone.runOutsideAngular(()=>{let o=new ResizeObserver(a=>i.next(a));return r.forEach(a=>o.observe(a.elementRef.nativeElement)),()=>{o.disconnect()}}))),fd(1),Kt(r=>r.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(r){if(!Vc(r))switch(r.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(r))}break;default:this._keyManager.onKeydown(r)}}_onContentChanges(){let r=this._elementRef.nativeElement.textContent;r!==this._currentTextContent&&(this._currentTextContent=r||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(r){!this._isValidIndex(r)||this.focusIndex===r||!this._keyManager||this._keyManager.setActiveItem(r)}_isValidIndex(r){return this._items?!!this._items.toArray()[r]:!0}_setTabFocus(r){if(this._showPaginationControls&&this._scrollToLabel(r),this._items&&this._items.length){this._items.toArray()[r].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let r=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-r:r;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(r){this._scrollTo(r)}_scrollHeader(r){let i=this._tabListContainer.nativeElement.offsetWidth,o=(r=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+o)}_handlePaginatorClick(r){this._stopInterval(),this._scrollHeader(r)}_scrollToLabel(r){if(this.disablePagination)return;let i=this._items?this._items.toArray()[r]:null;if(!i)return;let o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:s}=i.elementRef.nativeElement,l,c;this._getLayoutDirection()=="ltr"?(l=a,c=l+s):(c=this._tabListInner.nativeElement.offsetWidth-a,l=c-s);let d=this.scrollDistance,u=this.scrollDistance+o;l<d?this.scrollDistance-=d-l:c>u&&(this.scrollDistance+=Math.min(c-u,l-d))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let r=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;r||(this.scrollDistance=0),r!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=r}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let r=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return r-i||0}_alignInkBarToSelectedTab(){let r=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=r?r.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(r,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),qm(Tve,Ave).pipe(Nn(Qi(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:o,distance:a}=this._scrollHeader(r);(a===0||a>=o)&&this._stopInterval()}))}_scrollTo(r){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,r)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(di),R(sm),R(Da,8),R(De),R(ln),R(Rn,8))},e.\u0275dir=ke({type:e,inputs:{disablePagination:"disablePagination"}});let t=e;return t})(),Ove=(()=>{let e=class e extends Ive{get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=Tr(r)}constructor(r,i,o,a,s,l,c){super(r,i,o,a,s,l,c),this._disableRipple=!1}ngAfterContentInit(){this._inkBar=new z6(this._items),super.ngAfterContentInit()}_itemSelected(r){r.preventDefault()}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(di),R(sm),R(Da,8),R(De),R(ln),R(Rn,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-tab-header"]],contentQueries:function(i,o,a){if(i&1&&Wr(a,tG,4),i&2){let s;Dt(s=St())&&(o._items=s)}},viewQuery:function(i,o){if(i&1&&(mn(lve,7),mn(cve,7),mn(dve,7),mn(uve,5),mn(fve,5)),i&2){let a;Dt(a=St())&&(o._tabListContainer=a.first),Dt(a=St())&&(o._tabList=a.first),Dt(a=St())&&(o._tabListInner=a.first),Dt(a=St())&&(o._nextPaginator=a.first),Dt(a=St())&&(o._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,o){i&2&&Rt("mat-mdc-tab-header-pagination-controls-enabled",o._showPaginationControls)("mat-mdc-tab-header-rtl",o._getLayoutDirection()=="rtl")},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ge],ngContentSelectors:QW,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(i,o){i&1&&(Ii(),U(0,"button",0,1),Ce("click",function(){return o._handlePaginatorClick("before")})("mousedown",function(s){return o._handlePaginatorPress("before",s)})("touchend",function(){return o._stopInterval()}),_t(2,"div",2),G(),U(3,"div",3,4),Ce("keydown",function(s){return o._handleKeydown(s)}),U(5,"div",5,6),Ce("cdkObserveContent",function(){return o._onContentChanges()}),U(7,"div",7,8),xn(9),G()()(),U(10,"button",9,10),Ce("mousedown",function(s){return o._handlePaginatorPress("after",s)})("click",function(){return o._handlePaginatorClick("after")})("touchend",function(){return o._stopInterval()}),_t(12,"div",2),G()),i&2&&(Rt("mat-mdc-tab-header-pagination-disabled",o._disableScrollBefore),Se("matRippleDisabled",o._disableScrollBefore||o.disableRipple)("disabled",o._disableScrollBefore||null),oe(3),Rt("_mat-animation-noopable",o._animationMode==="NoopAnimations"),oe(7),Rt("mat-mdc-tab-header-pagination-disabled",o._disableScrollAfter),Se("matRippleDisabled",o._disableScrollAfter||o.disableRipple)("disabled",o._disableScrollAfter||null))},dependencies:[HC,qq],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color)}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2});let t=e;return t})(),Pve=new de("MAT_TABS_CONFIG"),Fve=0,Nve=VW(UW(class{constructor(t){this._elementRef=t}}),"primary"),Rve=!0,WC=(()=>{let e=class e extends Nve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(r){this._fitInkBarToContent=Tr(r),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(r){this._stretchTabs=Tr(r)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(r){this._dynamicHeight=Tr(r)}get selectedIndex(){return this._selectedIndex}set selectedIndex(r){this._indexToSelect=qo(r,null)}get animationDuration(){return this._animationDuration}set animationDuration(r){this._animationDuration=/^\d+$/.test(r+"")?r+"ms":r}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(r){this._contentTabIndex=qo(r,null)}get disablePagination(){return this._disablePagination}set disablePagination(r){this._disablePagination=Tr(r)}get preserveContent(){return this._preserveContent}set preserveContent(r){this._preserveContent=Tr(r)}get backgroundColor(){return this._backgroundColor}set backgroundColor(r){if(!Rve)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),r&&i.add("mat-tabs-with-background",`mat-background-${r}`),this._backgroundColor=r}constructor(r,i,o,a){super(r),this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Wl,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Lt.EMPTY,this._tabLabelSubscription=Lt.EMPTY,this._fitInkBarToContent=!1,this._stretchTabs=!0,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Qe,this.focusChange=new Qe,this.animationDone=new Qe,this.selectedTabChange=new Qe(!0),this._groupId=Fve++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=o&&o.disablePagination!=null?o.disablePagination:!1,this.dynamicHeight=o&&o.dynamicHeight!=null?o.dynamicHeight:!1,this.contentTabIndex=o?.contentTabIndex??null,this.preserveContent=!!o?.preserveContent,this.fitInkBarToContent=o&&o.fitInkBarToContent!=null?o.fitInkBarToContent:!1,this.stretchTabs=o&&o.stretchTabs!=null?o.stretchTabs:!0}ngAfterContentChecked(){let r=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=r){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(r));let o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,a)=>o.isActive=a===r),i||(this.selectedIndexChange.emit(r),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-r,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=r-this._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let r=this._clampTabIndex(this._indexToSelect);if(r===this._selectedIndex){let i=this._tabs.toArray(),o;for(let a=0;a<i.length;a++)if(i[a].isActive){this._indexToSelect=this._selectedIndex=a,this._lastFocusedTabIndex=null,o=i[a];break}!o&&i[r]&&Promise.resolve().then(()=>{i[r].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(r))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ei(this._allTabs)).subscribe(r=>{this._tabs.reset(r.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(r){let i=this._tabHeader;i&&(i.focusIndex=r)}_focusChanged(r){this._lastFocusedTabIndex=r,this.focusChange.emit(this._createChangeEvent(r))}_createChangeEvent(r){let i=new L6;return i.index=r,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[r]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Qi(...this._tabs.map(r=>r._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(r){return Math.min(this._tabs.length-1,Math.max(r||0,0))}_getTabLabelId(r){return`mat-tab-label-${this._groupId}-${r}`}_getTabContentId(r){return`mat-tab-content-${this._groupId}-${r}`}_setTabBodyWrapperHeight(r){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=r+"px")}_removeTabBodyWrapperHeight(){let r=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=r.clientHeight,r.style.height="",this.animationDone.emit()}_handleClick(r,i,o){i.focusIndex=o,r.disabled||(this.selectedIndex=o)}_getTabIndex(r){let i=this._lastFocusedTabIndex??this.selectedIndex;return r===i?0:-1}_tabFocusChanged(r,i){r&&r!=="mouse"&&r!=="touch"&&(this._tabHeader.focusIndex=i)}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(di),R(Pve,8),R(Rn,8))},e.\u0275cmp=_e({type:e,selectors:[["mat-tab-group"]],contentQueries:function(i,o,a){if(i&1&&Wr(a,Ib,5),i&2){let s;Dt(s=St())&&(o._allTabs=s)}},viewQuery:function(i,o){if(i&1&&(mn(pve,5),mn(hve,5)),i&2){let a;Dt(a=St())&&(o._tabBodyWrapper=a.first),Dt(a=St())&&(o._tabHeader=a.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(i,o){i&2&&(js("--mat-tab-animation-duration",o.animationDuration),Rt("mat-mdc-tab-group-dynamic-height",o.dynamicHeight)("mat-mdc-tab-group-inverted-header",o.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",o.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"],dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[hn([{provide:nG,useExisting:e}]),ge],decls:8,vars:5,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent"]],template:function(i,o){i&1&&(U(0,"mat-tab-header",0,1),Ce("indexFocused",function(s){return o._focusChanged(s)})("selectFocusedIndex",function(s){return o.selectedIndex=s}),$r(2,bve,8,16,"div",12,Mo),G(),U(4,"div",2,3),$r(6,_ve,1,12,"mat-tab-body",13,Mo),G()),i&2&&(Se("selectedIndex",o.selectedIndex||0)("disableRipple",o.disableRipple)("disablePagination",o.disablePagination),oe(2),qr(o._tabs),oe(2),Rt("_mat-animation-noopable",o._animationMode==="NoopAnimations"),oe(2),qr(o._tabs))},dependencies:[MN,Ea,HC,eW,JW,tG,Ove],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2});let t=e;return t})(),L6=class{};var GC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[to,Hi,pf,$C,Xh,tW,Hi]});let t=e;return t})();var jve=["mat-button",""],zve=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],Lve=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"];var Bve=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Vve=(()=>{let e=class e{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(r){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,r)}get disableRipple(){return this._disableRipple}set disableRipple(r){this._disableRipple=r,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(r){this._disabled=r,this._updateRippleDisabled()}constructor(r,i,o,a){this._elementRef=r,this._platform=i,this._ngZone=o,this._animationMode=a,this._focusMonitor=se(Uc),this._rippleLoader=se(qW),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});let s=this._elementRef.nativeElement,l=s.classList;for(let{attribute:c,mdcClasses:d}of Bve)s.hasAttribute(c)&&l.add(...d)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._rippleLoader?.destroyRipple(this._elementRef.nativeElement)}focus(r="program",i){r?this._focusMonitor.focusVia(this._elementRef.nativeElement,r,i):this._elementRef.nativeElement.focus(i)}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){oE()},e.\u0275dir=ke({type:e,inputs:{color:"color",disableRipple:["disableRipple","disableRipple",ui],disabled:["disabled","disabled",ui]},features:[Eo]});let t=e;return t})();var iG=(()=>{let e=class e extends Vve{constructor(r,i,o,a){super(r,i,o,a)}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(ln),R(De),R(Rn,8))},e.\u0275cmp=_e({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:9,hostBindings:function(i,o){i&2&&(pn("disabled",o.disabled||null),sr(o.color?"mat-"+o.color:""),Rt("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],features:[ge],attrs:jve,ngContentSelectors:Lve,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Ii(zve),_t(0,"span",0),xn(1),U(2,"span",1),xn(3,1),G(),xn(4,2),_t(5,"span",2)(6,"span",3)),i&2&&Rt("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);--mdc-text-button-container-shape:4px;--mdc-text-button-container-height:36px;--mdc-text-button-keep-touch-target:false}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);--mdc-filled-button-container-shape:4px;--mdc-filled-button-container-elevation:0;--mdc-filled-button-disabled-container-elevation:0;--mdc-filled-button-focus-container-elevation:0;--mdc-filled-button-hover-container-elevation:0;--mdc-filled-button-keep-touch-target:false;--mdc-filled-button-pressed-container-elevation:0}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);--mdc-protected-button-container-shape:4px;--mdc-protected-button-keep-touch-target:false}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled][disabled]{box-shadow:none}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);--mdc-outlined-button-keep-touch-target:false;--mdc-outlined-button-outline-width:1px;--mdc-outlined-button-container-shape:4px}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let t=e;return t})();var lm=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Hi,$C,Hi]});let t=e;return t})();var Yo=(()=>{let e=class e extends JB{get action(){return Lc(this.provider.editor)}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275dir=ke({type:e,selectors:[["ng-milkdown-node"]],standalone:!0,features:[ge]});let t=e;return t})();function Hve(t,e){t&1&&(U(0,"span"),we(1," (\u02DA\u0394\u02DA)b"),G())}var oG=(()=>{let e=class e extends Yo{constructor(){super(...arguments),this.selectedIndex=0,this.rendering=!0,this.code=null}get container(){return super.container.children[0]}preview(){this.setAttrs({value:this.code}),this.render(),this.selectedIndex=0}render(){let r=()=>st(this,null,function*(){this.code=this.node.attrs.value;let i=this.node.attrs.identity;if(this.code.length===0)return;Pf.initialize({startOnLoad:!1,theme:"default"});let{svg:o,bindFunctions:a}=yield Pf.render(i,this.code);a?.(this.el.nativeElement),this.container.querySelector(".diagram-ref").innerHTML=o});requestAnimationFrame(()=>st(this,null,function*(){yield r()})),this.rendering=!1}ngAfterViewInit(){this.render(),super.ngAfterViewInit()}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["diagram"]],standalone:!0,features:[ge,Oe],decls:8,vars:6,consts:[["contenteditable","false","preserveContent","",3,"animationDuration","selectedIndex","selectedIndexChange"],["label","Preview"],[1,"cursor-pointer","border-2","border-gray-300","rounded-md","p-2","flex","justify-center","items-center","hover:bg-gray-100","diagram-ref"],["label","Source"],[1,"block","h-48","w-full","bg-slate-800","font-mono","text-gray-50",3,"ngModel","ngModelChange"],[1,"absolute","right-1","top-1","mb-1","inline-flex","items-center","justify-center","rounded","border","border-gray-600","bg-nord8","px-6","py-2","text-base","font-medium","leading-6","text-gray-50","shadow-sm","hover:bg-blue-200","focus:ring-2","focus:ring-offset-2","dark:bg-nord9",3,"click"]],template:function(i,o){i&1&&(U(0,"mat-tab-group",0),Ce("selectedIndexChange",function(s){return o.selectedIndex=s}),U(1,"mat-tab",1)(2,"div",2),ct(3,Hve,2,0,"span"),G()(),U(4,"mat-tab",3)(5,"textarea",4),Ce("ngModelChange",function(s){return o.code=s}),G(),U(6,"button",5),Ce("click",function(){return o.preview()}),we(7,"OK "),G()()()),i&2&&(Se("animationDuration",150)("selectedIndex",o.selectedIndex),oe(2),js("min-height",100,"px"),oe(1),Ht(3,!o.code||!o.rendering?3:-1),oe(2),Se("ngModel",o.code))},dependencies:[GC,Ib,WC,io,Ao,ro,Oi,lm]});let t=e;return t})();function $ve(t,e){if(t&1){let n=lr();U(0,"input",3),Ce("change",function(){nn(n);let i=ze();return rn(i.setAttrs({checked:!i.checked}))}),G()}}function qve(t,e){t&1&&_t(0,"span",4)}function Wve(t,e){if(t&1&&(U(0,"span",5),we(1),G()),t&2){let n=ze();oe(1),tr(n.label)}}var Gve=t=>["flex-column","flex","items-start","gap-2",t],aG=(()=>{let e=class e extends Yo{get checked(){return this.node.attrs?.checked}get isBullet(){return this.node.attrs?.listType==="bullet"}get label(){return this.node.attrs?.label}get container(){return this.el.nativeElement.querySelector(".list-item-ref")}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["list-item"]],standalone:!0,features:[ge,Oe],decls:6,vars:5,consts:[[1,"flex","h-6","items-center"],["class","form-checkbox rounded","type","checkbox","checked","checked"],[1,"min-w-0","list-item-ref"],["type","checkbox","checked","checked",1,"form-checkbox","rounded",3,"change"],[1,"h-2","w-2","rounded-full","bg-nord8","dark:bg-nord9"],[1,"text-nord8"]],template:function(i,o){i&1&&(U(0,"li")(1,"span",0),ct(2,$ve,1,0,"input",1)(3,qve,1,0)(4,Wve,2,1),G(),_t(5,"div",2),G()),i&2&&(sr(hp(3,Gve,o.selected?"ProseMirror-selectednode":"")),oe(2),Ht(2,o.isBullet&&o.checked!=null?2:o.isBullet?3:4))},encapsulation:2});let t=e;return t})();var sG=(()=>{let e=class e extends Yo{get label(){return this.node.attrs?.label}get container(){return this.el.nativeElement.querySelector(".footnote-def")}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["footnote"]],standalone:!0,features:[ge,Oe],decls:7,vars:3,consts:[[1,"relative","flex","gap-2","rounded","border-2","border-gray-300","bg-gray-50","p-3","dark:border-gray-500","dark:bg-gray-900"],[1,"text-nord8"],[1,"not-prose","min-w-0","footnote-def"],["contentEditable","false",1,"absolute","top-0","right-0","cursor-pointer"],[1,"p-2","text-nord8",3,"href"]],template:function(i,o){i&1&&(U(0,"dl",0)(1,"dt",1),we(2),G(),_t(3,"dd",2),U(4,"div",3)(5,"a",4),we(6," \u21A9 "),G()()()),i&2&&(pn("id","footnote-"+o.label+"-def"),oe(2),ca("",o.label,":"),oe(3),Se("href","#footnote-"+o.label+"-ref",Sd))},styles:["dt[_ngcontent-%COMP%]{margin:0}"]});let t=e;return t})();var lG=(()=>{let e=class e extends Yo{get label(){return this.node.attrs?.label}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["footnote"]],standalone:!0,features:[ge,Oe],decls:3,vars:3,consts:[[1,"text-nord8",3,"href"]],template:function(i,o){i&1&&(U(0,"sup")(1,"a",0),we(2),G()()),i&2&&(oe(1),Se("href","#footnote-"+o.label+"-def",Sd),pn("id","footnote-"+o.label+"-ref"),oe(1),ca(" ",o.label," "))},encapsulation:2});let t=e;return t})();function Yve(t,e){if(t&1&&(U(0,"option",6),we(1),G()),t&2){let n=e.$implicit;hg("value",n),oe(1),tr(n)}}var Kve=t=>[t],Zve=()=>["bg-green-400","hover:bg-green-400","text-white"],Xve=()=>["bg-white"],cG=(()=>{let e=class e extends Yo{constructor(){super(...arguments),this.language="text",this.langs=["text","javascript","typescript","css","html","bash","json","markdown","python","java","c","cpp","ruby","go","rust","php","sql","yaml"],this.copiedSuccessfully=!1}ngAfterViewInit(){super.ngAfterViewInit(),setTimeout(()=>{this.language=this.node.attrs?.language})}copyToClipboard(r){return st(this,null,function*(){r.preventDefault(),yield navigator.clipboard.writeText(this.node.textContent),this.copiedSuccessfully=!0,setTimeout(()=>{this.copiedSuccessfully=!1},2e3)})}get container(){return this.el.nativeElement.querySelector(".code-block-ref")}onChange(r){let{value:i}=r.target;this.setAttrs({language:i}),this.contentRef(this.container)}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["code-block"]],standalone:!0,features:[ge,Oe],decls:11,vars:11,consts:[[1,"not-prose","my-4","rounded","bg-gray-200","p-5","shadow","dark:bg-gray-800"],["contentEditable","false",1,"mb-2","flex","justify-between"],[1,"!focus:shadow-none","cursor-pointer","rounded","!border-0","bg-white","shadow-sm","focus:ring-2","focus:ring-offset-2","dark:bg-black",3,"value","change"],[1,"inline-flex","items-center","justify-center","rounded","border","border-gray-200","px-4","py-2","text-base","font-medium","leading-6","shadow-sm","hover:bg-gray-50","focus:ring-2","focus:ring-offset-2","dark:bg-black",3,"disabled","click"],["spellCheck","false",1,"flex","!m-0","!mb-4"],[1,"code-block-ref"],[3,"value"]],template:function(i,o){i&1&&(U(0,"div",0)(1,"div",1)(2,"select",2),Ce("change",function(s){return o.onChange(s)}),$r(3,Yve,2,2,"option",6,Mo),G(),U(5,"button",3),Ce("click",function(s){return o.copyToClipboard(s)}),we(6),G()(),U(7,"pre",4),we(8," "),_t(9,"code",5),we(10,` + `),G()()),i&2&&(sr(hp(7,Kve,o.selected?"ProseMirror-selectednode":"")),oe(2),Se("value",o.language),oe(1),qr(o.langs),oe(2),sr(o.copiedSuccessfully?xr(9,Zve):xr(10,Xve)),Se("disabled",o.copiedSuccessfully),oe(1),ca(" ",o.copiedSuccessfully?"Copied!":"Copy"," "))},styles:[".code-block-ref[_ngcontent-%COMP%]{min-width:1px}"]});let t=e;return t})();var B6=[{emoji:"\u{1F600}",names:["grinning"],tags:["smile","happy"],description:"grinning face",category:"Smileys & Emotion"},{emoji:"\u{1F603}",names:["smiley"],tags:["happy","joy","haha"],description:"grinning face with big eyes",category:"Smileys & Emotion"},{emoji:"\u{1F604}",names:["smile"],tags:["happy","joy","laugh","pleased"],description:"grinning face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F601}",names:["grin"],tags:[],description:"beaming face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F606}",names:["laughing","satisfied"],tags:["happy","haha"],description:"grinning squinting face",category:"Smileys & Emotion"},{emoji:"\u{1F605}",names:["sweat_smile"],tags:["hot"],description:"grinning face with sweat",category:"Smileys & Emotion"},{emoji:"\u{1F923}",names:["rofl"],tags:["lol","laughing"],description:"rolling on the floor laughing",category:"Smileys & Emotion"},{emoji:"\u{1F602}",names:["joy"],tags:["tears"],description:"face with tears of joy",category:"Smileys & Emotion"},{emoji:"\u{1F642}",names:["slightly_smiling_face"],tags:[],description:"slightly smiling face",category:"Smileys & Emotion"},{emoji:"\u{1F643}",names:["upside_down_face"],tags:[],description:"upside-down face",category:"Smileys & Emotion"},{emoji:"\u{1FAE0}",names:["melting_face"],tags:["sarcasm","dread"],description:"melting face",category:"Smileys & Emotion"},{emoji:"\u{1F609}",names:["wink"],tags:["flirt"],description:"winking face",category:"Smileys & Emotion"},{emoji:"\u{1F60A}",names:["blush"],tags:["proud"],description:"smiling face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F607}",names:["innocent"],tags:["angel"],description:"smiling face with halo",category:"Smileys & Emotion"},{emoji:"\u{1F970}",names:["smiling_face_with_three_hearts"],tags:["love"],description:"smiling face with hearts",category:"Smileys & Emotion"},{emoji:"\u{1F60D}",names:["heart_eyes"],tags:["love","crush"],description:"smiling face with heart-eyes",category:"Smileys & Emotion"},{emoji:"\u{1F929}",names:["star_struck"],tags:["eyes"],description:"star-struck",category:"Smileys & Emotion"},{emoji:"\u{1F618}",names:["kissing_heart"],tags:["flirt"],description:"face blowing a kiss",category:"Smileys & Emotion"},{emoji:"\u{1F617}",names:["kissing"],tags:[],description:"kissing face",category:"Smileys & Emotion"},{emoji:"\u263A\uFE0F",names:["relaxed"],tags:["blush","pleased"],description:"smiling face",category:"Smileys & Emotion"},{emoji:"\u{1F61A}",names:["kissing_closed_eyes"],tags:[],description:"kissing face with closed eyes",category:"Smileys & Emotion"},{emoji:"\u{1F619}",names:["kissing_smiling_eyes"],tags:[],description:"kissing face with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F972}",names:["smiling_face_with_tear"],tags:[],description:"smiling face with tear",category:"Smileys & Emotion"},{emoji:"\u{1F60B}",names:["yum"],tags:["tongue","lick"],description:"face savoring food",category:"Smileys & Emotion"},{emoji:"\u{1F61B}",names:["stuck_out_tongue"],tags:[],description:"face with tongue",category:"Smileys & Emotion"},{emoji:"\u{1F61C}",names:["stuck_out_tongue_winking_eye"],tags:["prank","silly"],description:"winking face with tongue",category:"Smileys & Emotion"},{emoji:"\u{1F92A}",names:["zany_face"],tags:["goofy","wacky"],description:"zany face",category:"Smileys & Emotion"},{emoji:"\u{1F61D}",names:["stuck_out_tongue_closed_eyes"],tags:["prank"],description:"squinting face with tongue",category:"Smileys & Emotion"},{emoji:"\u{1F911}",names:["money_mouth_face"],tags:["rich"],description:"money-mouth face",category:"Smileys & Emotion"},{emoji:"\u{1F917}",names:["hugs"],tags:[],description:"smiling face with open hands",category:"Smileys & Emotion"},{emoji:"\u{1F92D}",names:["hand_over_mouth"],tags:["quiet","whoops"],description:"face with hand over mouth",category:"Smileys & Emotion"},{emoji:"\u{1FAE2}",names:["face_with_open_eyes_and_hand_over_mouth"],tags:["gasp","shock"],description:"face with open eyes and hand over mouth",category:"Smileys & Emotion"},{emoji:"\u{1FAE3}",names:["face_with_peeking_eye"],tags:[],description:"face with peeking eye",category:"Smileys & Emotion"},{emoji:"\u{1F92B}",names:["shushing_face"],tags:["silence","quiet"],description:"shushing face",category:"Smileys & Emotion"},{emoji:"\u{1F914}",names:["thinking"],tags:[],description:"thinking face",category:"Smileys & Emotion"},{emoji:"\u{1FAE1}",names:["saluting_face"],tags:["respect"],description:"saluting face",category:"Smileys & Emotion"},{emoji:"\u{1F910}",names:["zipper_mouth_face"],tags:["silence","hush"],description:"zipper-mouth face",category:"Smileys & Emotion"},{emoji:"\u{1F928}",names:["raised_eyebrow"],tags:["suspicious"],description:"face with raised eyebrow",category:"Smileys & Emotion"},{emoji:"\u{1F610}",names:["neutral_face"],tags:["meh"],description:"neutral face",category:"Smileys & Emotion"},{emoji:"\u{1F611}",names:["expressionless"],tags:[],description:"expressionless face",category:"Smileys & Emotion"},{emoji:"\u{1F636}",names:["no_mouth"],tags:["mute","silence"],description:"face without mouth",category:"Smileys & Emotion"},{emoji:"\u{1FAE5}",names:["dotted_line_face"],tags:["invisible"],description:"dotted line face",category:"Smileys & Emotion"},{emoji:"\u{1F636}\u200D\u{1F32B}\uFE0F",names:["face_in_clouds"],tags:[],description:"face in clouds",category:"Smileys & Emotion"},{emoji:"\u{1F60F}",names:["smirk"],tags:["smug"],description:"smirking face",category:"Smileys & Emotion"},{emoji:"\u{1F612}",names:["unamused"],tags:["meh"],description:"unamused face",category:"Smileys & Emotion"},{emoji:"\u{1F644}",names:["roll_eyes"],tags:[],description:"face with rolling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F62C}",names:["grimacing"],tags:[],description:"grimacing face",category:"Smileys & Emotion"},{emoji:"\u{1F62E}\u200D\u{1F4A8}",names:["face_exhaling"],tags:[],description:"face exhaling",category:"Smileys & Emotion"},{emoji:"\u{1F925}",names:["lying_face"],tags:["liar"],description:"lying face",category:"Smileys & Emotion"},{emoji:"\u{1FAE8}",names:["shaking_face"],tags:["shock"],description:"shaking face",category:"Smileys & Emotion"},{emoji:"\u{1F60C}",names:["relieved"],tags:["whew"],description:"relieved face",category:"Smileys & Emotion"},{emoji:"\u{1F614}",names:["pensive"],tags:[],description:"pensive face",category:"Smileys & Emotion"},{emoji:"\u{1F62A}",names:["sleepy"],tags:["tired"],description:"sleepy face",category:"Smileys & Emotion"},{emoji:"\u{1F924}",names:["drooling_face"],tags:[],description:"drooling face",category:"Smileys & Emotion"},{emoji:"\u{1F634}",names:["sleeping"],tags:["zzz"],description:"sleeping face",category:"Smileys & Emotion"},{emoji:"\u{1F637}",names:["mask"],tags:["sick","ill"],description:"face with medical mask",category:"Smileys & Emotion"},{emoji:"\u{1F912}",names:["face_with_thermometer"],tags:["sick"],description:"face with thermometer",category:"Smileys & Emotion"},{emoji:"\u{1F915}",names:["face_with_head_bandage"],tags:["hurt"],description:"face with head-bandage",category:"Smileys & Emotion"},{emoji:"\u{1F922}",names:["nauseated_face"],tags:["sick","barf","disgusted"],description:"nauseated face",category:"Smileys & Emotion"},{emoji:"\u{1F92E}",names:["vomiting_face"],tags:["barf","sick"],description:"face vomiting",category:"Smileys & Emotion"},{emoji:"\u{1F927}",names:["sneezing_face"],tags:["achoo","sick"],description:"sneezing face",category:"Smileys & Emotion"},{emoji:"\u{1F975}",names:["hot_face"],tags:["heat","sweating"],description:"hot face",category:"Smileys & Emotion"},{emoji:"\u{1F976}",names:["cold_face"],tags:["freezing","ice"],description:"cold face",category:"Smileys & Emotion"},{emoji:"\u{1F974}",names:["woozy_face"],tags:["groggy"],description:"woozy face",category:"Smileys & Emotion"},{emoji:"\u{1F635}",names:["dizzy_face"],tags:[],description:"face with crossed-out eyes",category:"Smileys & Emotion"},{emoji:"\u{1F635}\u200D\u{1F4AB}",names:["face_with_spiral_eyes"],tags:[],description:"face with spiral eyes",category:"Smileys & Emotion"},{emoji:"\u{1F92F}",names:["exploding_head"],tags:["mind","blown"],description:"exploding head",category:"Smileys & Emotion"},{emoji:"\u{1F920}",names:["cowboy_hat_face"],tags:[],description:"cowboy hat face",category:"Smileys & Emotion"},{emoji:"\u{1F973}",names:["partying_face"],tags:["celebration","birthday"],description:"partying face",category:"Smileys & Emotion"},{emoji:"\u{1F978}",names:["disguised_face"],tags:[],description:"disguised face",category:"Smileys & Emotion"},{emoji:"\u{1F60E}",names:["sunglasses"],tags:["cool"],description:"smiling face with sunglasses",category:"Smileys & Emotion"},{emoji:"\u{1F913}",names:["nerd_face"],tags:["geek","glasses"],description:"nerd face",category:"Smileys & Emotion"},{emoji:"\u{1F9D0}",names:["monocle_face"],tags:[],description:"face with monocle",category:"Smileys & Emotion"},{emoji:"\u{1F615}",names:["confused"],tags:[],description:"confused face",category:"Smileys & Emotion"},{emoji:"\u{1FAE4}",names:["face_with_diagonal_mouth"],tags:["confused"],description:"face with diagonal mouth",category:"Smileys & Emotion"},{emoji:"\u{1F61F}",names:["worried"],tags:["nervous"],description:"worried face",category:"Smileys & Emotion"},{emoji:"\u{1F641}",names:["slightly_frowning_face"],tags:[],description:"slightly frowning face",category:"Smileys & Emotion"},{emoji:"\u2639\uFE0F",names:["frowning_face"],tags:[],description:"frowning face",category:"Smileys & Emotion"},{emoji:"\u{1F62E}",names:["open_mouth"],tags:["surprise","impressed","wow"],description:"face with open mouth",category:"Smileys & Emotion"},{emoji:"\u{1F62F}",names:["hushed"],tags:["silence","speechless"],description:"hushed face",category:"Smileys & Emotion"},{emoji:"\u{1F632}",names:["astonished"],tags:["amazed","gasp"],description:"astonished face",category:"Smileys & Emotion"},{emoji:"\u{1F633}",names:["flushed"],tags:[],description:"flushed face",category:"Smileys & Emotion"},{emoji:"\u{1F97A}",names:["pleading_face"],tags:["puppy","eyes"],description:"pleading face",category:"Smileys & Emotion"},{emoji:"\u{1F979}",names:["face_holding_back_tears"],tags:["tears","gratitude"],description:"face holding back tears",category:"Smileys & Emotion"},{emoji:"\u{1F626}",names:["frowning"],tags:[],description:"frowning face with open mouth",category:"Smileys & Emotion"},{emoji:"\u{1F627}",names:["anguished"],tags:["stunned"],description:"anguished face",category:"Smileys & Emotion"},{emoji:"\u{1F628}",names:["fearful"],tags:["scared","shocked","oops"],description:"fearful face",category:"Smileys & Emotion"},{emoji:"\u{1F630}",names:["cold_sweat"],tags:["nervous"],description:"anxious face with sweat",category:"Smileys & Emotion"},{emoji:"\u{1F625}",names:["disappointed_relieved"],tags:["phew","sweat","nervous"],description:"sad but relieved face",category:"Smileys & Emotion"},{emoji:"\u{1F622}",names:["cry"],tags:["sad","tear"],description:"crying face",category:"Smileys & Emotion"},{emoji:"\u{1F62D}",names:["sob"],tags:["sad","cry","bawling"],description:"loudly crying face",category:"Smileys & Emotion"},{emoji:"\u{1F631}",names:["scream"],tags:["horror","shocked"],description:"face screaming in fear",category:"Smileys & Emotion"},{emoji:"\u{1F616}",names:["confounded"],tags:[],description:"confounded face",category:"Smileys & Emotion"},{emoji:"\u{1F623}",names:["persevere"],tags:["struggling"],description:"persevering face",category:"Smileys & Emotion"},{emoji:"\u{1F61E}",names:["disappointed"],tags:["sad"],description:"disappointed face",category:"Smileys & Emotion"},{emoji:"\u{1F613}",names:["sweat"],tags:[],description:"downcast face with sweat",category:"Smileys & Emotion"},{emoji:"\u{1F629}",names:["weary"],tags:["tired"],description:"weary face",category:"Smileys & Emotion"},{emoji:"\u{1F62B}",names:["tired_face"],tags:["upset","whine"],description:"tired face",category:"Smileys & Emotion"},{emoji:"\u{1F971}",names:["yawning_face"],tags:[],description:"yawning face",category:"Smileys & Emotion"},{emoji:"\u{1F624}",names:["triumph"],tags:["smug"],description:"face with steam from nose",category:"Smileys & Emotion"},{emoji:"\u{1F621}",names:["rage","pout"],tags:["angry"],description:"enraged face",category:"Smileys & Emotion"},{emoji:"\u{1F620}",names:["angry"],tags:["mad","annoyed"],description:"angry face",category:"Smileys & Emotion"},{emoji:"\u{1F92C}",names:["cursing_face"],tags:["foul"],description:"face with symbols on mouth",category:"Smileys & Emotion"},{emoji:"\u{1F608}",names:["smiling_imp"],tags:["devil","evil","horns"],description:"smiling face with horns",category:"Smileys & Emotion"},{emoji:"\u{1F47F}",names:["imp"],tags:["angry","devil","evil","horns"],description:"angry face with horns",category:"Smileys & Emotion"},{emoji:"\u{1F480}",names:["skull"],tags:["dead","danger","poison"],description:"skull",category:"Smileys & Emotion"},{emoji:"\u2620\uFE0F",names:["skull_and_crossbones"],tags:["danger","pirate"],description:"skull and crossbones",category:"Smileys & Emotion"},{emoji:"\u{1F4A9}",names:["hankey","poop","shit"],tags:["crap"],description:"pile of poo",category:"Smileys & Emotion"},{emoji:"\u{1F921}",names:["clown_face"],tags:[],description:"clown face",category:"Smileys & Emotion"},{emoji:"\u{1F479}",names:["japanese_ogre"],tags:["monster"],description:"ogre",category:"Smileys & Emotion"},{emoji:"\u{1F47A}",names:["japanese_goblin"],tags:[],description:"goblin",category:"Smileys & Emotion"},{emoji:"\u{1F47B}",names:["ghost"],tags:["halloween"],description:"ghost",category:"Smileys & Emotion"},{emoji:"\u{1F47D}",names:["alien"],tags:["ufo"],description:"alien",category:"Smileys & Emotion"},{emoji:"\u{1F47E}",names:["space_invader"],tags:["game","retro"],description:"alien monster",category:"Smileys & Emotion"},{emoji:"\u{1F916}",names:["robot"],tags:[],description:"robot",category:"Smileys & Emotion"},{emoji:"\u{1F63A}",names:["smiley_cat"],tags:[],description:"grinning cat",category:"Smileys & Emotion"},{emoji:"\u{1F638}",names:["smile_cat"],tags:[],description:"grinning cat with smiling eyes",category:"Smileys & Emotion"},{emoji:"\u{1F639}",names:["joy_cat"],tags:[],description:"cat with tears of joy",category:"Smileys & Emotion"},{emoji:"\u{1F63B}",names:["heart_eyes_cat"],tags:[],description:"smiling cat with heart-eyes",category:"Smileys & Emotion"},{emoji:"\u{1F63C}",names:["smirk_cat"],tags:[],description:"cat with wry smile",category:"Smileys & Emotion"},{emoji:"\u{1F63D}",names:["kissing_cat"],tags:[],description:"kissing cat",category:"Smileys & Emotion"},{emoji:"\u{1F640}",names:["scream_cat"],tags:["horror"],description:"weary cat",category:"Smileys & Emotion"},{emoji:"\u{1F63F}",names:["crying_cat_face"],tags:["sad","tear"],description:"crying cat",category:"Smileys & Emotion"},{emoji:"\u{1F63E}",names:["pouting_cat"],tags:[],description:"pouting cat",category:"Smileys & Emotion"},{emoji:"\u{1F648}",names:["see_no_evil"],tags:["monkey","blind","ignore"],description:"see-no-evil monkey",category:"Smileys & Emotion"},{emoji:"\u{1F649}",names:["hear_no_evil"],tags:["monkey","deaf"],description:"hear-no-evil monkey",category:"Smileys & Emotion"},{emoji:"\u{1F64A}",names:["speak_no_evil"],tags:["monkey","mute","hush"],description:"speak-no-evil monkey",category:"Smileys & Emotion"},{emoji:"\u{1F48C}",names:["love_letter"],tags:["email","envelope"],description:"love letter",category:"Smileys & Emotion"},{emoji:"\u{1F498}",names:["cupid"],tags:["love","heart"],description:"heart with arrow",category:"Smileys & Emotion"},{emoji:"\u{1F49D}",names:["gift_heart"],tags:["chocolates"],description:"heart with ribbon",category:"Smileys & Emotion"},{emoji:"\u{1F496}",names:["sparkling_heart"],tags:[],description:"sparkling heart",category:"Smileys & Emotion"},{emoji:"\u{1F497}",names:["heartpulse"],tags:[],description:"growing heart",category:"Smileys & Emotion"},{emoji:"\u{1F493}",names:["heartbeat"],tags:[],description:"beating heart",category:"Smileys & Emotion"},{emoji:"\u{1F49E}",names:["revolving_hearts"],tags:[],description:"revolving hearts",category:"Smileys & Emotion"},{emoji:"\u{1F495}",names:["two_hearts"],tags:[],description:"two hearts",category:"Smileys & Emotion"},{emoji:"\u{1F49F}",names:["heart_decoration"],tags:[],description:"heart decoration",category:"Smileys & Emotion"},{emoji:"\u2763\uFE0F",names:["heavy_heart_exclamation"],tags:[],description:"heart exclamation",category:"Smileys & Emotion"},{emoji:"\u{1F494}",names:["broken_heart"],tags:[],description:"broken heart",category:"Smileys & Emotion"},{emoji:"\u2764\uFE0F\u200D\u{1F525}",names:["heart_on_fire"],tags:[],description:"heart on fire",category:"Smileys & Emotion"},{emoji:"\u2764\uFE0F\u200D\u{1FA79}",names:["mending_heart"],tags:[],description:"mending heart",category:"Smileys & Emotion"},{emoji:"\u2764\uFE0F",names:["heart"],tags:["love"],description:"red heart",category:"Smileys & Emotion"},{emoji:"\u{1FA77}",names:["pink_heart"],tags:[],description:"pink heart",category:"Smileys & Emotion"},{emoji:"\u{1F9E1}",names:["orange_heart"],tags:[],description:"orange heart",category:"Smileys & Emotion"},{emoji:"\u{1F49B}",names:["yellow_heart"],tags:[],description:"yellow heart",category:"Smileys & Emotion"},{emoji:"\u{1F49A}",names:["green_heart"],tags:[],description:"green heart",category:"Smileys & Emotion"},{emoji:"\u{1F499}",names:["blue_heart"],tags:[],description:"blue heart",category:"Smileys & Emotion"},{emoji:"\u{1FA75}",names:["light_blue_heart"],tags:[],description:"light blue heart",category:"Smileys & Emotion"},{emoji:"\u{1F49C}",names:["purple_heart"],tags:[],description:"purple heart",category:"Smileys & Emotion"},{emoji:"\u{1F90E}",names:["brown_heart"],tags:[],description:"brown heart",category:"Smileys & Emotion"},{emoji:"\u{1F5A4}",names:["black_heart"],tags:[],description:"black heart",category:"Smileys & Emotion"},{emoji:"\u{1FA76}",names:["grey_heart"],tags:[],description:"grey heart",category:"Smileys & Emotion"},{emoji:"\u{1F90D}",names:["white_heart"],tags:[],description:"white heart",category:"Smileys & Emotion"},{emoji:"\u{1F48B}",names:["kiss"],tags:["lipstick"],description:"kiss mark",category:"Smileys & Emotion"},{emoji:"\u{1F4AF}",names:["100"],tags:["score","perfect"],description:"hundred points",category:"Smileys & Emotion"},{emoji:"\u{1F4A2}",names:["anger"],tags:["angry"],description:"anger symbol",category:"Smileys & Emotion"},{emoji:"\u{1F4A5}",names:["boom","collision"],tags:["explode"],description:"collision",category:"Smileys & Emotion"},{emoji:"\u{1F4AB}",names:["dizzy"],tags:["star"],description:"dizzy",category:"Smileys & Emotion"},{emoji:"\u{1F4A6}",names:["sweat_drops"],tags:["water","workout"],description:"sweat droplets",category:"Smileys & Emotion"},{emoji:"\u{1F4A8}",names:["dash"],tags:["wind","blow","fast"],description:"dashing away",category:"Smileys & Emotion"},{emoji:"\u{1F573}\uFE0F",names:["hole"],tags:[],description:"hole",category:"Smileys & Emotion"},{emoji:"\u{1F4AC}",names:["speech_balloon"],tags:["comment"],description:"speech balloon",category:"Smileys & Emotion"},{emoji:"\u{1F441}\uFE0F\u200D\u{1F5E8}\uFE0F",names:["eye_speech_bubble"],tags:[],description:"eye in speech bubble",category:"Smileys & Emotion"},{emoji:"\u{1F5E8}\uFE0F",names:["left_speech_bubble"],tags:[],description:"left speech bubble",category:"Smileys & Emotion"},{emoji:"\u{1F5EF}\uFE0F",names:["right_anger_bubble"],tags:[],description:"right anger bubble",category:"Smileys & Emotion"},{emoji:"\u{1F4AD}",names:["thought_balloon"],tags:["thinking"],description:"thought balloon",category:"Smileys & Emotion"},{emoji:"\u{1F4A4}",names:["zzz"],tags:["sleeping"],description:"ZZZ",category:"Smileys & Emotion"},{emoji:"\u{1F44B}",names:["wave"],tags:["goodbye"],description:"waving hand",category:"People & Body"},{emoji:"\u{1F91A}",names:["raised_back_of_hand"],tags:[],description:"raised back of hand",category:"People & Body"},{emoji:"\u{1F590}\uFE0F",names:["raised_hand_with_fingers_splayed"],tags:[],description:"hand with fingers splayed",category:"People & Body"},{emoji:"\u270B",names:["hand","raised_hand"],tags:["highfive","stop"],description:"raised hand",category:"People & Body"},{emoji:"\u{1F596}",names:["vulcan_salute"],tags:["prosper","spock"],description:"vulcan salute",category:"People & Body"},{emoji:"\u{1FAF1}",names:["rightwards_hand"],tags:[],description:"rightwards hand",category:"People & Body"},{emoji:"\u{1FAF2}",names:["leftwards_hand"],tags:[],description:"leftwards hand",category:"People & Body"},{emoji:"\u{1FAF3}",names:["palm_down_hand"],tags:[],description:"palm down hand",category:"People & Body"},{emoji:"\u{1FAF4}",names:["palm_up_hand"],tags:[],description:"palm up hand",category:"People & Body"},{emoji:"\u{1FAF7}",names:["leftwards_pushing_hand"],tags:[],description:"leftwards pushing hand",category:"People & Body"},{emoji:"\u{1FAF8}",names:["rightwards_pushing_hand"],tags:[],description:"rightwards pushing hand",category:"People & Body"},{emoji:"\u{1F44C}",names:["ok_hand"],tags:[],description:"OK hand",category:"People & Body"},{emoji:"\u{1F90C}",names:["pinched_fingers"],tags:[],description:"pinched fingers",category:"People & Body"},{emoji:"\u{1F90F}",names:["pinching_hand"],tags:[],description:"pinching hand",category:"People & Body"},{emoji:"\u270C\uFE0F",names:["v"],tags:["victory","peace"],description:"victory hand",category:"People & Body"},{emoji:"\u{1F91E}",names:["crossed_fingers"],tags:["luck","hopeful"],description:"crossed fingers",category:"People & Body"},{emoji:"\u{1FAF0}",names:["hand_with_index_finger_and_thumb_crossed"],tags:[],description:"hand with index finger and thumb crossed",category:"People & Body"},{emoji:"\u{1F91F}",names:["love_you_gesture"],tags:[],description:"love-you gesture",category:"People & Body"},{emoji:"\u{1F918}",names:["metal"],tags:[],description:"sign of the horns",category:"People & Body"},{emoji:"\u{1F919}",names:["call_me_hand"],tags:[],description:"call me hand",category:"People & Body"},{emoji:"\u{1F448}",names:["point_left"],tags:[],description:"backhand index pointing left",category:"People & Body"},{emoji:"\u{1F449}",names:["point_right"],tags:[],description:"backhand index pointing right",category:"People & Body"},{emoji:"\u{1F446}",names:["point_up_2"],tags:[],description:"backhand index pointing up",category:"People & Body"},{emoji:"\u{1F595}",names:["middle_finger","fu"],tags:[],description:"middle finger",category:"People & Body"},{emoji:"\u{1F447}",names:["point_down"],tags:[],description:"backhand index pointing down",category:"People & Body"},{emoji:"\u261D\uFE0F",names:["point_up"],tags:[],description:"index pointing up",category:"People & Body"},{emoji:"\u{1FAF5}",names:["index_pointing_at_the_viewer"],tags:[],description:"index pointing at the viewer",category:"People & Body"},{emoji:"\u{1F44D}",names:["+1","thumbsup"],tags:["approve","ok"],description:"thumbs up",category:"People & Body"},{emoji:"\u{1F44E}",names:["-1","thumbsdown"],tags:["disapprove","bury"],description:"thumbs down",category:"People & Body"},{emoji:"\u270A",names:["fist_raised","fist"],tags:["power"],description:"raised fist",category:"People & Body"},{emoji:"\u{1F44A}",names:["fist_oncoming","facepunch","punch"],tags:["attack"],description:"oncoming fist",category:"People & Body"},{emoji:"\u{1F91B}",names:["fist_left"],tags:[],description:"left-facing fist",category:"People & Body"},{emoji:"\u{1F91C}",names:["fist_right"],tags:[],description:"right-facing fist",category:"People & Body"},{emoji:"\u{1F44F}",names:["clap"],tags:["praise","applause"],description:"clapping hands",category:"People & Body"},{emoji:"\u{1F64C}",names:["raised_hands"],tags:["hooray"],description:"raising hands",category:"People & Body"},{emoji:"\u{1FAF6}",names:["heart_hands"],tags:["love"],description:"heart hands",category:"People & Body"},{emoji:"\u{1F450}",names:["open_hands"],tags:[],description:"open hands",category:"People & Body"},{emoji:"\u{1F932}",names:["palms_up_together"],tags:[],description:"palms up together",category:"People & Body"},{emoji:"\u{1F91D}",names:["handshake"],tags:["deal"],description:"handshake",category:"People & Body"},{emoji:"\u{1F64F}",names:["pray"],tags:["please","hope","wish"],description:"folded hands",category:"People & Body"},{emoji:"\u270D\uFE0F",names:["writing_hand"],tags:[],description:"writing hand",category:"People & Body"},{emoji:"\u{1F485}",names:["nail_care"],tags:["beauty","manicure"],description:"nail polish",category:"People & Body"},{emoji:"\u{1F933}",names:["selfie"],tags:[],description:"selfie",category:"People & Body"},{emoji:"\u{1F4AA}",names:["muscle"],tags:["flex","bicep","strong","workout"],description:"flexed biceps",category:"People & Body"},{emoji:"\u{1F9BE}",names:["mechanical_arm"],tags:[],description:"mechanical arm",category:"People & Body"},{emoji:"\u{1F9BF}",names:["mechanical_leg"],tags:[],description:"mechanical leg",category:"People & Body"},{emoji:"\u{1F9B5}",names:["leg"],tags:[],description:"leg",category:"People & Body"},{emoji:"\u{1F9B6}",names:["foot"],tags:[],description:"foot",category:"People & Body"},{emoji:"\u{1F442}",names:["ear"],tags:["hear","sound","listen"],description:"ear",category:"People & Body"},{emoji:"\u{1F9BB}",names:["ear_with_hearing_aid"],tags:[],description:"ear with hearing aid",category:"People & Body"},{emoji:"\u{1F443}",names:["nose"],tags:["smell"],description:"nose",category:"People & Body"},{emoji:"\u{1F9E0}",names:["brain"],tags:[],description:"brain",category:"People & Body"},{emoji:"\u{1FAC0}",names:["anatomical_heart"],tags:[],description:"anatomical heart",category:"People & Body"},{emoji:"\u{1FAC1}",names:["lungs"],tags:[],description:"lungs",category:"People & Body"},{emoji:"\u{1F9B7}",names:["tooth"],tags:[],description:"tooth",category:"People & Body"},{emoji:"\u{1F9B4}",names:["bone"],tags:[],description:"bone",category:"People & Body"},{emoji:"\u{1F440}",names:["eyes"],tags:["look","see","watch"],description:"eyes",category:"People & Body"},{emoji:"\u{1F441}\uFE0F",names:["eye"],tags:[],description:"eye",category:"People & Body"},{emoji:"\u{1F445}",names:["tongue"],tags:["taste"],description:"tongue",category:"People & Body"},{emoji:"\u{1F444}",names:["lips"],tags:["kiss"],description:"mouth",category:"People & Body"},{emoji:"\u{1FAE6}",names:["biting_lip"],tags:[],description:"biting lip",category:"People & Body"},{emoji:"\u{1F476}",names:["baby"],tags:["child","newborn"],description:"baby",category:"People & Body"},{emoji:"\u{1F9D2}",names:["child"],tags:[],description:"child",category:"People & Body"},{emoji:"\u{1F466}",names:["boy"],tags:["child"],description:"boy",category:"People & Body"},{emoji:"\u{1F467}",names:["girl"],tags:["child"],description:"girl",category:"People & Body"},{emoji:"\u{1F9D1}",names:["adult"],tags:[],description:"person",category:"People & Body"},{emoji:"\u{1F471}",names:["blond_haired_person"],tags:[],description:"person: blond hair",category:"People & Body"},{emoji:"\u{1F468}",names:["man"],tags:["mustache","father","dad"],description:"man",category:"People & Body"},{emoji:"\u{1F9D4}",names:["bearded_person"],tags:[],description:"person: beard",category:"People & Body"},{emoji:"\u{1F9D4}\u200D\u2642\uFE0F",names:["man_beard"],tags:[],description:"man: beard",category:"People & Body"},{emoji:"\u{1F9D4}\u200D\u2640\uFE0F",names:["woman_beard"],tags:[],description:"woman: beard",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B0}",names:["red_haired_man"],tags:[],description:"man: red hair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B1}",names:["curly_haired_man"],tags:[],description:"man: curly hair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B3}",names:["white_haired_man"],tags:[],description:"man: white hair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9B2}",names:["bald_man"],tags:[],description:"man: bald",category:"People & Body"},{emoji:"\u{1F469}",names:["woman"],tags:["girls"],description:"woman",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B0}",names:["red_haired_woman"],tags:[],description:"woman: red hair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B0}",names:["person_red_hair"],tags:[],description:"person: red hair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B1}",names:["curly_haired_woman"],tags:[],description:"woman: curly hair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B1}",names:["person_curly_hair"],tags:[],description:"person: curly hair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B3}",names:["white_haired_woman"],tags:[],description:"woman: white hair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B3}",names:["person_white_hair"],tags:[],description:"person: white hair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9B2}",names:["bald_woman"],tags:[],description:"woman: bald",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9B2}",names:["person_bald"],tags:[],description:"person: bald",category:"People & Body"},{emoji:"\u{1F471}\u200D\u2640\uFE0F",names:["blond_haired_woman","blonde_woman"],tags:[],description:"woman: blond hair",category:"People & Body"},{emoji:"\u{1F471}\u200D\u2642\uFE0F",names:["blond_haired_man"],tags:[],description:"man: blond hair",category:"People & Body"},{emoji:"\u{1F9D3}",names:["older_adult"],tags:[],description:"older person",category:"People & Body"},{emoji:"\u{1F474}",names:["older_man"],tags:[],description:"old man",category:"People & Body"},{emoji:"\u{1F475}",names:["older_woman"],tags:[],description:"old woman",category:"People & Body"},{emoji:"\u{1F64D}",names:["frowning_person"],tags:[],description:"person frowning",category:"People & Body"},{emoji:"\u{1F64D}\u200D\u2642\uFE0F",names:["frowning_man"],tags:[],description:"man frowning",category:"People & Body"},{emoji:"\u{1F64D}\u200D\u2640\uFE0F",names:["frowning_woman"],tags:[],description:"woman frowning",category:"People & Body"},{emoji:"\u{1F64E}",names:["pouting_face"],tags:[],description:"person pouting",category:"People & Body"},{emoji:"\u{1F64E}\u200D\u2642\uFE0F",names:["pouting_man"],tags:[],description:"man pouting",category:"People & Body"},{emoji:"\u{1F64E}\u200D\u2640\uFE0F",names:["pouting_woman"],tags:[],description:"woman pouting",category:"People & Body"},{emoji:"\u{1F645}",names:["no_good"],tags:["stop","halt","denied"],description:"person gesturing NO",category:"People & Body"},{emoji:"\u{1F645}\u200D\u2642\uFE0F",names:["no_good_man","ng_man"],tags:["stop","halt","denied"],description:"man gesturing NO",category:"People & Body"},{emoji:"\u{1F645}\u200D\u2640\uFE0F",names:["no_good_woman","ng_woman"],tags:["stop","halt","denied"],description:"woman gesturing NO",category:"People & Body"},{emoji:"\u{1F646}",names:["ok_person"],tags:[],description:"person gesturing OK",category:"People & Body"},{emoji:"\u{1F646}\u200D\u2642\uFE0F",names:["ok_man"],tags:[],description:"man gesturing OK",category:"People & Body"},{emoji:"\u{1F646}\u200D\u2640\uFE0F",names:["ok_woman"],tags:[],description:"woman gesturing OK",category:"People & Body"},{emoji:"\u{1F481}",names:["tipping_hand_person","information_desk_person"],tags:[],description:"person tipping hand",category:"People & Body"},{emoji:"\u{1F481}\u200D\u2642\uFE0F",names:["tipping_hand_man","sassy_man"],tags:["information"],description:"man tipping hand",category:"People & Body"},{emoji:"\u{1F481}\u200D\u2640\uFE0F",names:["tipping_hand_woman","sassy_woman"],tags:["information"],description:"woman tipping hand",category:"People & Body"},{emoji:"\u{1F64B}",names:["raising_hand"],tags:[],description:"person raising hand",category:"People & Body"},{emoji:"\u{1F64B}\u200D\u2642\uFE0F",names:["raising_hand_man"],tags:[],description:"man raising hand",category:"People & Body"},{emoji:"\u{1F64B}\u200D\u2640\uFE0F",names:["raising_hand_woman"],tags:[],description:"woman raising hand",category:"People & Body"},{emoji:"\u{1F9CF}",names:["deaf_person"],tags:[],description:"deaf person",category:"People & Body"},{emoji:"\u{1F9CF}\u200D\u2642\uFE0F",names:["deaf_man"],tags:[],description:"deaf man",category:"People & Body"},{emoji:"\u{1F9CF}\u200D\u2640\uFE0F",names:["deaf_woman"],tags:[],description:"deaf woman",category:"People & Body"},{emoji:"\u{1F647}",names:["bow"],tags:["respect","thanks"],description:"person bowing",category:"People & Body"},{emoji:"\u{1F647}\u200D\u2642\uFE0F",names:["bowing_man"],tags:["respect","thanks"],description:"man bowing",category:"People & Body"},{emoji:"\u{1F647}\u200D\u2640\uFE0F",names:["bowing_woman"],tags:["respect","thanks"],description:"woman bowing",category:"People & Body"},{emoji:"\u{1F926}",names:["facepalm"],tags:[],description:"person facepalming",category:"People & Body"},{emoji:"\u{1F926}\u200D\u2642\uFE0F",names:["man_facepalming"],tags:[],description:"man facepalming",category:"People & Body"},{emoji:"\u{1F926}\u200D\u2640\uFE0F",names:["woman_facepalming"],tags:[],description:"woman facepalming",category:"People & Body"},{emoji:"\u{1F937}",names:["shrug"],tags:[],description:"person shrugging",category:"People & Body"},{emoji:"\u{1F937}\u200D\u2642\uFE0F",names:["man_shrugging"],tags:[],description:"man shrugging",category:"People & Body"},{emoji:"\u{1F937}\u200D\u2640\uFE0F",names:["woman_shrugging"],tags:[],description:"woman shrugging",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u2695\uFE0F",names:["health_worker"],tags:[],description:"health worker",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2695\uFE0F",names:["man_health_worker"],tags:["doctor","nurse"],description:"man health worker",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2695\uFE0F",names:["woman_health_worker"],tags:["doctor","nurse"],description:"woman health worker",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F393}",names:["student"],tags:[],description:"student",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F393}",names:["man_student"],tags:["graduation"],description:"man student",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F393}",names:["woman_student"],tags:["graduation"],description:"woman student",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3EB}",names:["teacher"],tags:[],description:"teacher",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3EB}",names:["man_teacher"],tags:["school","professor"],description:"man teacher",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3EB}",names:["woman_teacher"],tags:["school","professor"],description:"woman teacher",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u2696\uFE0F",names:["judge"],tags:[],description:"judge",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2696\uFE0F",names:["man_judge"],tags:["justice"],description:"man judge",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2696\uFE0F",names:["woman_judge"],tags:["justice"],description:"woman judge",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F33E}",names:["farmer"],tags:[],description:"farmer",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F33E}",names:["man_farmer"],tags:[],description:"man farmer",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F33E}",names:["woman_farmer"],tags:[],description:"woman farmer",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F373}",names:["cook"],tags:[],description:"cook",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F373}",names:["man_cook"],tags:["chef"],description:"man cook",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F373}",names:["woman_cook"],tags:["chef"],description:"woman cook",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F527}",names:["mechanic"],tags:[],description:"mechanic",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F527}",names:["man_mechanic"],tags:[],description:"man mechanic",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F527}",names:["woman_mechanic"],tags:[],description:"woman mechanic",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3ED}",names:["factory_worker"],tags:[],description:"factory worker",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3ED}",names:["man_factory_worker"],tags:[],description:"man factory worker",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3ED}",names:["woman_factory_worker"],tags:[],description:"woman factory worker",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F4BC}",names:["office_worker"],tags:[],description:"office worker",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F4BC}",names:["man_office_worker"],tags:["business"],description:"man office worker",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F4BC}",names:["woman_office_worker"],tags:["business"],description:"woman office worker",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F52C}",names:["scientist"],tags:[],description:"scientist",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F52C}",names:["man_scientist"],tags:["research"],description:"man scientist",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F52C}",names:["woman_scientist"],tags:["research"],description:"woman scientist",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F4BB}",names:["technologist"],tags:[],description:"technologist",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F4BB}",names:["man_technologist"],tags:["coder"],description:"man technologist",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F4BB}",names:["woman_technologist"],tags:["coder"],description:"woman technologist",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3A4}",names:["singer"],tags:[],description:"singer",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3A4}",names:["man_singer"],tags:["rockstar"],description:"man singer",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3A4}",names:["woman_singer"],tags:["rockstar"],description:"woman singer",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F3A8}",names:["artist"],tags:[],description:"artist",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F3A8}",names:["man_artist"],tags:["painter"],description:"man artist",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F3A8}",names:["woman_artist"],tags:["painter"],description:"woman artist",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u2708\uFE0F",names:["pilot"],tags:[],description:"pilot",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2708\uFE0F",names:["man_pilot"],tags:[],description:"man pilot",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2708\uFE0F",names:["woman_pilot"],tags:[],description:"woman pilot",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F680}",names:["astronaut"],tags:[],description:"astronaut",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F680}",names:["man_astronaut"],tags:["space"],description:"man astronaut",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F680}",names:["woman_astronaut"],tags:["space"],description:"woman astronaut",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F692}",names:["firefighter"],tags:[],description:"firefighter",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F692}",names:["man_firefighter"],tags:[],description:"man firefighter",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F692}",names:["woman_firefighter"],tags:[],description:"woman firefighter",category:"People & Body"},{emoji:"\u{1F46E}",names:["police_officer","cop"],tags:["law"],description:"police officer",category:"People & Body"},{emoji:"\u{1F46E}\u200D\u2642\uFE0F",names:["policeman"],tags:["law","cop"],description:"man police officer",category:"People & Body"},{emoji:"\u{1F46E}\u200D\u2640\uFE0F",names:["policewoman"],tags:["law","cop"],description:"woman police officer",category:"People & Body"},{emoji:"\u{1F575}\uFE0F",names:["detective"],tags:["sleuth"],description:"detective",category:"People & Body"},{emoji:"\u{1F575}\uFE0F\u200D\u2642\uFE0F",names:["male_detective"],tags:["sleuth"],description:"man detective",category:"People & Body"},{emoji:"\u{1F575}\uFE0F\u200D\u2640\uFE0F",names:["female_detective"],tags:["sleuth"],description:"woman detective",category:"People & Body"},{emoji:"\u{1F482}",names:["guard"],tags:[],description:"guard",category:"People & Body"},{emoji:"\u{1F482}\u200D\u2642\uFE0F",names:["guardsman"],tags:[],description:"man guard",category:"People & Body"},{emoji:"\u{1F482}\u200D\u2640\uFE0F",names:["guardswoman"],tags:[],description:"woman guard",category:"People & Body"},{emoji:"\u{1F977}",names:["ninja"],tags:[],description:"ninja",category:"People & Body"},{emoji:"\u{1F477}",names:["construction_worker"],tags:["helmet"],description:"construction worker",category:"People & Body"},{emoji:"\u{1F477}\u200D\u2642\uFE0F",names:["construction_worker_man"],tags:["helmet"],description:"man construction worker",category:"People & Body"},{emoji:"\u{1F477}\u200D\u2640\uFE0F",names:["construction_worker_woman"],tags:["helmet"],description:"woman construction worker",category:"People & Body"},{emoji:"\u{1FAC5}",names:["person_with_crown"],tags:[],description:"person with crown",category:"People & Body"},{emoji:"\u{1F934}",names:["prince"],tags:["crown","royal"],description:"prince",category:"People & Body"},{emoji:"\u{1F478}",names:["princess"],tags:["crown","royal"],description:"princess",category:"People & Body"},{emoji:"\u{1F473}",names:["person_with_turban"],tags:[],description:"person wearing turban",category:"People & Body"},{emoji:"\u{1F473}\u200D\u2642\uFE0F",names:["man_with_turban"],tags:[],description:"man wearing turban",category:"People & Body"},{emoji:"\u{1F473}\u200D\u2640\uFE0F",names:["woman_with_turban"],tags:[],description:"woman wearing turban",category:"People & Body"},{emoji:"\u{1F472}",names:["man_with_gua_pi_mao"],tags:[],description:"person with skullcap",category:"People & Body"},{emoji:"\u{1F9D5}",names:["woman_with_headscarf"],tags:["hijab"],description:"woman with headscarf",category:"People & Body"},{emoji:"\u{1F935}",names:["person_in_tuxedo"],tags:["groom","marriage","wedding"],description:"person in tuxedo",category:"People & Body"},{emoji:"\u{1F935}\u200D\u2642\uFE0F",names:["man_in_tuxedo"],tags:[],description:"man in tuxedo",category:"People & Body"},{emoji:"\u{1F935}\u200D\u2640\uFE0F",names:["woman_in_tuxedo"],tags:[],description:"woman in tuxedo",category:"People & Body"},{emoji:"\u{1F470}",names:["person_with_veil"],tags:["marriage","wedding"],description:"person with veil",category:"People & Body"},{emoji:"\u{1F470}\u200D\u2642\uFE0F",names:["man_with_veil"],tags:[],description:"man with veil",category:"People & Body"},{emoji:"\u{1F470}\u200D\u2640\uFE0F",names:["woman_with_veil","bride_with_veil"],tags:[],description:"woman with veil",category:"People & Body"},{emoji:"\u{1F930}",names:["pregnant_woman"],tags:[],description:"pregnant woman",category:"People & Body"},{emoji:"\u{1FAC3}",names:["pregnant_man"],tags:[],description:"pregnant man",category:"People & Body"},{emoji:"\u{1FAC4}",names:["pregnant_person"],tags:[],description:"pregnant person",category:"People & Body"},{emoji:"\u{1F931}",names:["breast_feeding"],tags:["nursing"],description:"breast-feeding",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F37C}",names:["woman_feeding_baby"],tags:[],description:"woman feeding baby",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F37C}",names:["man_feeding_baby"],tags:[],description:"man feeding baby",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F37C}",names:["person_feeding_baby"],tags:[],description:"person feeding baby",category:"People & Body"},{emoji:"\u{1F47C}",names:["angel"],tags:[],description:"baby angel",category:"People & Body"},{emoji:"\u{1F385}",names:["santa"],tags:["christmas"],description:"Santa Claus",category:"People & Body"},{emoji:"\u{1F936}",names:["mrs_claus"],tags:["santa"],description:"Mrs. Claus",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F384}",names:["mx_claus"],tags:[],description:"mx claus",category:"People & Body"},{emoji:"\u{1F9B8}",names:["superhero"],tags:[],description:"superhero",category:"People & Body"},{emoji:"\u{1F9B8}\u200D\u2642\uFE0F",names:["superhero_man"],tags:[],description:"man superhero",category:"People & Body"},{emoji:"\u{1F9B8}\u200D\u2640\uFE0F",names:["superhero_woman"],tags:[],description:"woman superhero",category:"People & Body"},{emoji:"\u{1F9B9}",names:["supervillain"],tags:[],description:"supervillain",category:"People & Body"},{emoji:"\u{1F9B9}\u200D\u2642\uFE0F",names:["supervillain_man"],tags:[],description:"man supervillain",category:"People & Body"},{emoji:"\u{1F9B9}\u200D\u2640\uFE0F",names:["supervillain_woman"],tags:[],description:"woman supervillain",category:"People & Body"},{emoji:"\u{1F9D9}",names:["mage"],tags:["wizard"],description:"mage",category:"People & Body"},{emoji:"\u{1F9D9}\u200D\u2642\uFE0F",names:["mage_man"],tags:["wizard"],description:"man mage",category:"People & Body"},{emoji:"\u{1F9D9}\u200D\u2640\uFE0F",names:["mage_woman"],tags:["wizard"],description:"woman mage",category:"People & Body"},{emoji:"\u{1F9DA}",names:["fairy"],tags:[],description:"fairy",category:"People & Body"},{emoji:"\u{1F9DA}\u200D\u2642\uFE0F",names:["fairy_man"],tags:[],description:"man fairy",category:"People & Body"},{emoji:"\u{1F9DA}\u200D\u2640\uFE0F",names:["fairy_woman"],tags:[],description:"woman fairy",category:"People & Body"},{emoji:"\u{1F9DB}",names:["vampire"],tags:[],description:"vampire",category:"People & Body"},{emoji:"\u{1F9DB}\u200D\u2642\uFE0F",names:["vampire_man"],tags:[],description:"man vampire",category:"People & Body"},{emoji:"\u{1F9DB}\u200D\u2640\uFE0F",names:["vampire_woman"],tags:[],description:"woman vampire",category:"People & Body"},{emoji:"\u{1F9DC}",names:["merperson"],tags:[],description:"merperson",category:"People & Body"},{emoji:"\u{1F9DC}\u200D\u2642\uFE0F",names:["merman"],tags:[],description:"merman",category:"People & Body"},{emoji:"\u{1F9DC}\u200D\u2640\uFE0F",names:["mermaid"],tags:[],description:"mermaid",category:"People & Body"},{emoji:"\u{1F9DD}",names:["elf"],tags:[],description:"elf",category:"People & Body"},{emoji:"\u{1F9DD}\u200D\u2642\uFE0F",names:["elf_man"],tags:[],description:"man elf",category:"People & Body"},{emoji:"\u{1F9DD}\u200D\u2640\uFE0F",names:["elf_woman"],tags:[],description:"woman elf",category:"People & Body"},{emoji:"\u{1F9DE}",names:["genie"],tags:[],description:"genie",category:"People & Body"},{emoji:"\u{1F9DE}\u200D\u2642\uFE0F",names:["genie_man"],tags:[],description:"man genie",category:"People & Body"},{emoji:"\u{1F9DE}\u200D\u2640\uFE0F",names:["genie_woman"],tags:[],description:"woman genie",category:"People & Body"},{emoji:"\u{1F9DF}",names:["zombie"],tags:[],description:"zombie",category:"People & Body"},{emoji:"\u{1F9DF}\u200D\u2642\uFE0F",names:["zombie_man"],tags:[],description:"man zombie",category:"People & Body"},{emoji:"\u{1F9DF}\u200D\u2640\uFE0F",names:["zombie_woman"],tags:[],description:"woman zombie",category:"People & Body"},{emoji:"\u{1F9CC}",names:["troll"],tags:[],description:"troll",category:"People & Body"},{emoji:"\u{1F486}",names:["massage"],tags:["spa"],description:"person getting massage",category:"People & Body"},{emoji:"\u{1F486}\u200D\u2642\uFE0F",names:["massage_man"],tags:["spa"],description:"man getting massage",category:"People & Body"},{emoji:"\u{1F486}\u200D\u2640\uFE0F",names:["massage_woman"],tags:["spa"],description:"woman getting massage",category:"People & Body"},{emoji:"\u{1F487}",names:["haircut"],tags:["beauty"],description:"person getting haircut",category:"People & Body"},{emoji:"\u{1F487}\u200D\u2642\uFE0F",names:["haircut_man"],tags:[],description:"man getting haircut",category:"People & Body"},{emoji:"\u{1F487}\u200D\u2640\uFE0F",names:["haircut_woman"],tags:[],description:"woman getting haircut",category:"People & Body"},{emoji:"\u{1F6B6}",names:["walking"],tags:[],description:"person walking",category:"People & Body"},{emoji:"\u{1F6B6}\u200D\u2642\uFE0F",names:["walking_man"],tags:[],description:"man walking",category:"People & Body"},{emoji:"\u{1F6B6}\u200D\u2640\uFE0F",names:["walking_woman"],tags:[],description:"woman walking",category:"People & Body"},{emoji:"\u{1F9CD}",names:["standing_person"],tags:[],description:"person standing",category:"People & Body"},{emoji:"\u{1F9CD}\u200D\u2642\uFE0F",names:["standing_man"],tags:[],description:"man standing",category:"People & Body"},{emoji:"\u{1F9CD}\u200D\u2640\uFE0F",names:["standing_woman"],tags:[],description:"woman standing",category:"People & Body"},{emoji:"\u{1F9CE}",names:["kneeling_person"],tags:[],description:"person kneeling",category:"People & Body"},{emoji:"\u{1F9CE}\u200D\u2642\uFE0F",names:["kneeling_man"],tags:[],description:"man kneeling",category:"People & Body"},{emoji:"\u{1F9CE}\u200D\u2640\uFE0F",names:["kneeling_woman"],tags:[],description:"woman kneeling",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9AF}",names:["person_with_probing_cane"],tags:[],description:"person with white cane",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9AF}",names:["man_with_probing_cane"],tags:[],description:"man with white cane",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9AF}",names:["woman_with_probing_cane"],tags:[],description:"woman with white cane",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9BC}",names:["person_in_motorized_wheelchair"],tags:[],description:"person in motorized wheelchair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9BC}",names:["man_in_motorized_wheelchair"],tags:[],description:"man in motorized wheelchair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9BC}",names:["woman_in_motorized_wheelchair"],tags:[],description:"woman in motorized wheelchair",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F9BD}",names:["person_in_manual_wheelchair"],tags:[],description:"person in manual wheelchair",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F9BD}",names:["man_in_manual_wheelchair"],tags:[],description:"man in manual wheelchair",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F9BD}",names:["woman_in_manual_wheelchair"],tags:[],description:"woman in manual wheelchair",category:"People & Body"},{emoji:"\u{1F3C3}",names:["runner","running"],tags:["exercise","workout","marathon"],description:"person running",category:"People & Body"},{emoji:"\u{1F3C3}\u200D\u2642\uFE0F",names:["running_man"],tags:["exercise","workout","marathon"],description:"man running",category:"People & Body"},{emoji:"\u{1F3C3}\u200D\u2640\uFE0F",names:["running_woman"],tags:["exercise","workout","marathon"],description:"woman running",category:"People & Body"},{emoji:"\u{1F483}",names:["woman_dancing","dancer"],tags:["dress"],description:"woman dancing",category:"People & Body"},{emoji:"\u{1F57A}",names:["man_dancing"],tags:["dancer"],description:"man dancing",category:"People & Body"},{emoji:"\u{1F574}\uFE0F",names:["business_suit_levitating"],tags:[],description:"person in suit levitating",category:"People & Body"},{emoji:"\u{1F46F}",names:["dancers"],tags:["bunny"],description:"people with bunny ears",category:"People & Body"},{emoji:"\u{1F46F}\u200D\u2642\uFE0F",names:["dancing_men"],tags:["bunny"],description:"men with bunny ears",category:"People & Body"},{emoji:"\u{1F46F}\u200D\u2640\uFE0F",names:["dancing_women"],tags:["bunny"],description:"women with bunny ears",category:"People & Body"},{emoji:"\u{1F9D6}",names:["sauna_person"],tags:["steamy"],description:"person in steamy room",category:"People & Body"},{emoji:"\u{1F9D6}\u200D\u2642\uFE0F",names:["sauna_man"],tags:["steamy"],description:"man in steamy room",category:"People & Body"},{emoji:"\u{1F9D6}\u200D\u2640\uFE0F",names:["sauna_woman"],tags:["steamy"],description:"woman in steamy room",category:"People & Body"},{emoji:"\u{1F9D7}",names:["climbing"],tags:["bouldering"],description:"person climbing",category:"People & Body"},{emoji:"\u{1F9D7}\u200D\u2642\uFE0F",names:["climbing_man"],tags:["bouldering"],description:"man climbing",category:"People & Body"},{emoji:"\u{1F9D7}\u200D\u2640\uFE0F",names:["climbing_woman"],tags:["bouldering"],description:"woman climbing",category:"People & Body"},{emoji:"\u{1F93A}",names:["person_fencing"],tags:[],description:"person fencing",category:"People & Body"},{emoji:"\u{1F3C7}",names:["horse_racing"],tags:[],description:"horse racing",category:"People & Body"},{emoji:"\u26F7\uFE0F",names:["skier"],tags:[],description:"skier",category:"People & Body"},{emoji:"\u{1F3C2}",names:["snowboarder"],tags:[],description:"snowboarder",category:"People & Body"},{emoji:"\u{1F3CC}\uFE0F",names:["golfing"],tags:[],description:"person golfing",category:"People & Body"},{emoji:"\u{1F3CC}\uFE0F\u200D\u2642\uFE0F",names:["golfing_man"],tags:[],description:"man golfing",category:"People & Body"},{emoji:"\u{1F3CC}\uFE0F\u200D\u2640\uFE0F",names:["golfing_woman"],tags:[],description:"woman golfing",category:"People & Body"},{emoji:"\u{1F3C4}",names:["surfer"],tags:[],description:"person surfing",category:"People & Body"},{emoji:"\u{1F3C4}\u200D\u2642\uFE0F",names:["surfing_man"],tags:[],description:"man surfing",category:"People & Body"},{emoji:"\u{1F3C4}\u200D\u2640\uFE0F",names:["surfing_woman"],tags:[],description:"woman surfing",category:"People & Body"},{emoji:"\u{1F6A3}",names:["rowboat"],tags:[],description:"person rowing boat",category:"People & Body"},{emoji:"\u{1F6A3}\u200D\u2642\uFE0F",names:["rowing_man"],tags:[],description:"man rowing boat",category:"People & Body"},{emoji:"\u{1F6A3}\u200D\u2640\uFE0F",names:["rowing_woman"],tags:[],description:"woman rowing boat",category:"People & Body"},{emoji:"\u{1F3CA}",names:["swimmer"],tags:[],description:"person swimming",category:"People & Body"},{emoji:"\u{1F3CA}\u200D\u2642\uFE0F",names:["swimming_man"],tags:[],description:"man swimming",category:"People & Body"},{emoji:"\u{1F3CA}\u200D\u2640\uFE0F",names:["swimming_woman"],tags:[],description:"woman swimming",category:"People & Body"},{emoji:"\u26F9\uFE0F",names:["bouncing_ball_person"],tags:["basketball"],description:"person bouncing ball",category:"People & Body"},{emoji:"\u26F9\uFE0F\u200D\u2642\uFE0F",names:["bouncing_ball_man","basketball_man"],tags:[],description:"man bouncing ball",category:"People & Body"},{emoji:"\u26F9\uFE0F\u200D\u2640\uFE0F",names:["bouncing_ball_woman","basketball_woman"],tags:[],description:"woman bouncing ball",category:"People & Body"},{emoji:"\u{1F3CB}\uFE0F",names:["weight_lifting"],tags:["gym","workout"],description:"person lifting weights",category:"People & Body"},{emoji:"\u{1F3CB}\uFE0F\u200D\u2642\uFE0F",names:["weight_lifting_man"],tags:["gym","workout"],description:"man lifting weights",category:"People & Body"},{emoji:"\u{1F3CB}\uFE0F\u200D\u2640\uFE0F",names:["weight_lifting_woman"],tags:["gym","workout"],description:"woman lifting weights",category:"People & Body"},{emoji:"\u{1F6B4}",names:["bicyclist"],tags:[],description:"person biking",category:"People & Body"},{emoji:"\u{1F6B4}\u200D\u2642\uFE0F",names:["biking_man"],tags:[],description:"man biking",category:"People & Body"},{emoji:"\u{1F6B4}\u200D\u2640\uFE0F",names:["biking_woman"],tags:[],description:"woman biking",category:"People & Body"},{emoji:"\u{1F6B5}",names:["mountain_bicyclist"],tags:[],description:"person mountain biking",category:"People & Body"},{emoji:"\u{1F6B5}\u200D\u2642\uFE0F",names:["mountain_biking_man"],tags:[],description:"man mountain biking",category:"People & Body"},{emoji:"\u{1F6B5}\u200D\u2640\uFE0F",names:["mountain_biking_woman"],tags:[],description:"woman mountain biking",category:"People & Body"},{emoji:"\u{1F938}",names:["cartwheeling"],tags:[],description:"person cartwheeling",category:"People & Body"},{emoji:"\u{1F938}\u200D\u2642\uFE0F",names:["man_cartwheeling"],tags:[],description:"man cartwheeling",category:"People & Body"},{emoji:"\u{1F938}\u200D\u2640\uFE0F",names:["woman_cartwheeling"],tags:[],description:"woman cartwheeling",category:"People & Body"},{emoji:"\u{1F93C}",names:["wrestling"],tags:[],description:"people wrestling",category:"People & Body"},{emoji:"\u{1F93C}\u200D\u2642\uFE0F",names:["men_wrestling"],tags:[],description:"men wrestling",category:"People & Body"},{emoji:"\u{1F93C}\u200D\u2640\uFE0F",names:["women_wrestling"],tags:[],description:"women wrestling",category:"People & Body"},{emoji:"\u{1F93D}",names:["water_polo"],tags:[],description:"person playing water polo",category:"People & Body"},{emoji:"\u{1F93D}\u200D\u2642\uFE0F",names:["man_playing_water_polo"],tags:[],description:"man playing water polo",category:"People & Body"},{emoji:"\u{1F93D}\u200D\u2640\uFE0F",names:["woman_playing_water_polo"],tags:[],description:"woman playing water polo",category:"People & Body"},{emoji:"\u{1F93E}",names:["handball_person"],tags:[],description:"person playing handball",category:"People & Body"},{emoji:"\u{1F93E}\u200D\u2642\uFE0F",names:["man_playing_handball"],tags:[],description:"man playing handball",category:"People & Body"},{emoji:"\u{1F93E}\u200D\u2640\uFE0F",names:["woman_playing_handball"],tags:[],description:"woman playing handball",category:"People & Body"},{emoji:"\u{1F939}",names:["juggling_person"],tags:[],description:"person juggling",category:"People & Body"},{emoji:"\u{1F939}\u200D\u2642\uFE0F",names:["man_juggling"],tags:[],description:"man juggling",category:"People & Body"},{emoji:"\u{1F939}\u200D\u2640\uFE0F",names:["woman_juggling"],tags:[],description:"woman juggling",category:"People & Body"},{emoji:"\u{1F9D8}",names:["lotus_position"],tags:["meditation"],description:"person in lotus position",category:"People & Body"},{emoji:"\u{1F9D8}\u200D\u2642\uFE0F",names:["lotus_position_man"],tags:["meditation"],description:"man in lotus position",category:"People & Body"},{emoji:"\u{1F9D8}\u200D\u2640\uFE0F",names:["lotus_position_woman"],tags:["meditation"],description:"woman in lotus position",category:"People & Body"},{emoji:"\u{1F6C0}",names:["bath"],tags:["shower"],description:"person taking bath",category:"People & Body"},{emoji:"\u{1F6CC}",names:["sleeping_bed"],tags:[],description:"person in bed",category:"People & Body"},{emoji:"\u{1F9D1}\u200D\u{1F91D}\u200D\u{1F9D1}",names:["people_holding_hands"],tags:["couple","date"],description:"people holding hands",category:"People & Body"},{emoji:"\u{1F46D}",names:["two_women_holding_hands"],tags:["couple","date"],description:"women holding hands",category:"People & Body"},{emoji:"\u{1F46B}",names:["couple"],tags:["date"],description:"woman and man holding hands",category:"People & Body"},{emoji:"\u{1F46C}",names:["two_men_holding_hands"],tags:["couple","date"],description:"men holding hands",category:"People & Body"},{emoji:"\u{1F48F}",names:["couplekiss"],tags:[],description:"kiss",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}",names:["couplekiss_man_woman"],tags:[],description:"kiss: woman, man",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F468}",names:["couplekiss_man_man"],tags:[],description:"kiss: man, man",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F48B}\u200D\u{1F469}",names:["couplekiss_woman_woman"],tags:[],description:"kiss: woman, woman",category:"People & Body"},{emoji:"\u{1F491}",names:["couple_with_heart"],tags:[],description:"couple with heart",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F468}",names:["couple_with_heart_woman_man"],tags:[],description:"couple with heart: woman, man",category:"People & Body"},{emoji:"\u{1F468}\u200D\u2764\uFE0F\u200D\u{1F468}",names:["couple_with_heart_man_man"],tags:[],description:"couple with heart: man, man",category:"People & Body"},{emoji:"\u{1F469}\u200D\u2764\uFE0F\u200D\u{1F469}",names:["couple_with_heart_woman_woman"],tags:[],description:"couple with heart: woman, woman",category:"People & Body"},{emoji:"\u{1F46A}",names:["family"],tags:["home","parents","child"],description:"family",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}",names:["family_man_woman_boy"],tags:[],description:"family: man, woman, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}",names:["family_man_woman_girl"],tags:[],description:"family: man, woman, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",names:["family_man_woman_girl_boy"],tags:[],description:"family: man, woman, girl, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",names:["family_man_woman_boy_boy"],tags:[],description:"family: man, woman, boy, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",names:["family_man_woman_girl_girl"],tags:[],description:"family: man, woman, girl, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}",names:["family_man_man_boy"],tags:[],description:"family: man, man, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}",names:["family_man_man_girl"],tags:[],description:"family: man, man, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",names:["family_man_man_girl_boy"],tags:[],description:"family: man, man, girl, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",names:["family_man_man_boy_boy"],tags:[],description:"family: man, man, boy, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",names:["family_man_man_girl_girl"],tags:[],description:"family: man, man, girl, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}",names:["family_woman_woman_boy"],tags:[],description:"family: woman, woman, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}",names:["family_woman_woman_girl"],tags:[],description:"family: woman, woman, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",names:["family_woman_woman_girl_boy"],tags:[],description:"family: woman, woman, girl, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",names:["family_woman_woman_boy_boy"],tags:[],description:"family: woman, woman, boy, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",names:["family_woman_woman_girl_girl"],tags:[],description:"family: woman, woman, girl, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F466}",names:["family_man_boy"],tags:[],description:"family: man, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F466}\u200D\u{1F466}",names:["family_man_boy_boy"],tags:[],description:"family: man, boy, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F467}",names:["family_man_girl"],tags:[],description:"family: man, girl",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F467}\u200D\u{1F466}",names:["family_man_girl_boy"],tags:[],description:"family: man, girl, boy",category:"People & Body"},{emoji:"\u{1F468}\u200D\u{1F467}\u200D\u{1F467}",names:["family_man_girl_girl"],tags:[],description:"family: man, girl, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F466}",names:["family_woman_boy"],tags:[],description:"family: woman, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F466}\u200D\u{1F466}",names:["family_woman_boy_boy"],tags:[],description:"family: woman, boy, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F467}",names:["family_woman_girl"],tags:[],description:"family: woman, girl",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F467}\u200D\u{1F466}",names:["family_woman_girl_boy"],tags:[],description:"family: woman, girl, boy",category:"People & Body"},{emoji:"\u{1F469}\u200D\u{1F467}\u200D\u{1F467}",names:["family_woman_girl_girl"],tags:[],description:"family: woman, girl, girl",category:"People & Body"},{emoji:"\u{1F5E3}\uFE0F",names:["speaking_head"],tags:[],description:"speaking head",category:"People & Body"},{emoji:"\u{1F464}",names:["bust_in_silhouette"],tags:["user"],description:"bust in silhouette",category:"People & Body"},{emoji:"\u{1F465}",names:["busts_in_silhouette"],tags:["users","group","team"],description:"busts in silhouette",category:"People & Body"},{emoji:"\u{1FAC2}",names:["people_hugging"],tags:[],description:"people hugging",category:"People & Body"},{emoji:"\u{1F463}",names:["footprints"],tags:["feet","tracks"],description:"footprints",category:"People & Body"},{emoji:"\u{1F435}",names:["monkey_face"],tags:[],description:"monkey face",category:"Animals & Nature"},{emoji:"\u{1F412}",names:["monkey"],tags:[],description:"monkey",category:"Animals & Nature"},{emoji:"\u{1F98D}",names:["gorilla"],tags:[],description:"gorilla",category:"Animals & Nature"},{emoji:"\u{1F9A7}",names:["orangutan"],tags:[],description:"orangutan",category:"Animals & Nature"},{emoji:"\u{1F436}",names:["dog"],tags:["pet"],description:"dog face",category:"Animals & Nature"},{emoji:"\u{1F415}",names:["dog2"],tags:[],description:"dog",category:"Animals & Nature"},{emoji:"\u{1F9AE}",names:["guide_dog"],tags:[],description:"guide dog",category:"Animals & Nature"},{emoji:"\u{1F415}\u200D\u{1F9BA}",names:["service_dog"],tags:[],description:"service dog",category:"Animals & Nature"},{emoji:"\u{1F429}",names:["poodle"],tags:["dog"],description:"poodle",category:"Animals & Nature"},{emoji:"\u{1F43A}",names:["wolf"],tags:[],description:"wolf",category:"Animals & Nature"},{emoji:"\u{1F98A}",names:["fox_face"],tags:[],description:"fox",category:"Animals & Nature"},{emoji:"\u{1F99D}",names:["raccoon"],tags:[],description:"raccoon",category:"Animals & Nature"},{emoji:"\u{1F431}",names:["cat"],tags:["pet"],description:"cat face",category:"Animals & Nature"},{emoji:"\u{1F408}",names:["cat2"],tags:[],description:"cat",category:"Animals & Nature"},{emoji:"\u{1F408}\u200D\u2B1B",names:["black_cat"],tags:[],description:"black cat",category:"Animals & Nature"},{emoji:"\u{1F981}",names:["lion"],tags:[],description:"lion",category:"Animals & Nature"},{emoji:"\u{1F42F}",names:["tiger"],tags:[],description:"tiger face",category:"Animals & Nature"},{emoji:"\u{1F405}",names:["tiger2"],tags:[],description:"tiger",category:"Animals & Nature"},{emoji:"\u{1F406}",names:["leopard"],tags:[],description:"leopard",category:"Animals & Nature"},{emoji:"\u{1F434}",names:["horse"],tags:[],description:"horse face",category:"Animals & Nature"},{emoji:"\u{1FACE}",names:["moose"],tags:["canada"],description:"moose",category:"Animals & Nature"},{emoji:"\u{1FACF}",names:["donkey"],tags:["mule"],description:"donkey",category:"Animals & Nature"},{emoji:"\u{1F40E}",names:["racehorse"],tags:["speed"],description:"horse",category:"Animals & Nature"},{emoji:"\u{1F984}",names:["unicorn"],tags:[],description:"unicorn",category:"Animals & Nature"},{emoji:"\u{1F993}",names:["zebra"],tags:[],description:"zebra",category:"Animals & Nature"},{emoji:"\u{1F98C}",names:["deer"],tags:[],description:"deer",category:"Animals & Nature"},{emoji:"\u{1F9AC}",names:["bison"],tags:[],description:"bison",category:"Animals & Nature"},{emoji:"\u{1F42E}",names:["cow"],tags:[],description:"cow face",category:"Animals & Nature"},{emoji:"\u{1F402}",names:["ox"],tags:[],description:"ox",category:"Animals & Nature"},{emoji:"\u{1F403}",names:["water_buffalo"],tags:[],description:"water buffalo",category:"Animals & Nature"},{emoji:"\u{1F404}",names:["cow2"],tags:[],description:"cow",category:"Animals & Nature"},{emoji:"\u{1F437}",names:["pig"],tags:[],description:"pig face",category:"Animals & Nature"},{emoji:"\u{1F416}",names:["pig2"],tags:[],description:"pig",category:"Animals & Nature"},{emoji:"\u{1F417}",names:["boar"],tags:[],description:"boar",category:"Animals & Nature"},{emoji:"\u{1F43D}",names:["pig_nose"],tags:[],description:"pig nose",category:"Animals & Nature"},{emoji:"\u{1F40F}",names:["ram"],tags:[],description:"ram",category:"Animals & Nature"},{emoji:"\u{1F411}",names:["sheep"],tags:[],description:"ewe",category:"Animals & Nature"},{emoji:"\u{1F410}",names:["goat"],tags:[],description:"goat",category:"Animals & Nature"},{emoji:"\u{1F42A}",names:["dromedary_camel"],tags:["desert"],description:"camel",category:"Animals & Nature"},{emoji:"\u{1F42B}",names:["camel"],tags:[],description:"two-hump camel",category:"Animals & Nature"},{emoji:"\u{1F999}",names:["llama"],tags:[],description:"llama",category:"Animals & Nature"},{emoji:"\u{1F992}",names:["giraffe"],tags:[],description:"giraffe",category:"Animals & Nature"},{emoji:"\u{1F418}",names:["elephant"],tags:[],description:"elephant",category:"Animals & Nature"},{emoji:"\u{1F9A3}",names:["mammoth"],tags:[],description:"mammoth",category:"Animals & Nature"},{emoji:"\u{1F98F}",names:["rhinoceros"],tags:[],description:"rhinoceros",category:"Animals & Nature"},{emoji:"\u{1F99B}",names:["hippopotamus"],tags:[],description:"hippopotamus",category:"Animals & Nature"},{emoji:"\u{1F42D}",names:["mouse"],tags:[],description:"mouse face",category:"Animals & Nature"},{emoji:"\u{1F401}",names:["mouse2"],tags:[],description:"mouse",category:"Animals & Nature"},{emoji:"\u{1F400}",names:["rat"],tags:[],description:"rat",category:"Animals & Nature"},{emoji:"\u{1F439}",names:["hamster"],tags:["pet"],description:"hamster",category:"Animals & Nature"},{emoji:"\u{1F430}",names:["rabbit"],tags:["bunny"],description:"rabbit face",category:"Animals & Nature"},{emoji:"\u{1F407}",names:["rabbit2"],tags:[],description:"rabbit",category:"Animals & Nature"},{emoji:"\u{1F43F}\uFE0F",names:["chipmunk"],tags:[],description:"chipmunk",category:"Animals & Nature"},{emoji:"\u{1F9AB}",names:["beaver"],tags:[],description:"beaver",category:"Animals & Nature"},{emoji:"\u{1F994}",names:["hedgehog"],tags:[],description:"hedgehog",category:"Animals & Nature"},{emoji:"\u{1F987}",names:["bat"],tags:[],description:"bat",category:"Animals & Nature"},{emoji:"\u{1F43B}",names:["bear"],tags:[],description:"bear",category:"Animals & Nature"},{emoji:"\u{1F43B}\u200D\u2744\uFE0F",names:["polar_bear"],tags:[],description:"polar bear",category:"Animals & Nature"},{emoji:"\u{1F428}",names:["koala"],tags:[],description:"koala",category:"Animals & Nature"},{emoji:"\u{1F43C}",names:["panda_face"],tags:[],description:"panda",category:"Animals & Nature"},{emoji:"\u{1F9A5}",names:["sloth"],tags:[],description:"sloth",category:"Animals & Nature"},{emoji:"\u{1F9A6}",names:["otter"],tags:[],description:"otter",category:"Animals & Nature"},{emoji:"\u{1F9A8}",names:["skunk"],tags:[],description:"skunk",category:"Animals & Nature"},{emoji:"\u{1F998}",names:["kangaroo"],tags:[],description:"kangaroo",category:"Animals & Nature"},{emoji:"\u{1F9A1}",names:["badger"],tags:[],description:"badger",category:"Animals & Nature"},{emoji:"\u{1F43E}",names:["feet","paw_prints"],tags:[],description:"paw prints",category:"Animals & Nature"},{emoji:"\u{1F983}",names:["turkey"],tags:["thanksgiving"],description:"turkey",category:"Animals & Nature"},{emoji:"\u{1F414}",names:["chicken"],tags:[],description:"chicken",category:"Animals & Nature"},{emoji:"\u{1F413}",names:["rooster"],tags:[],description:"rooster",category:"Animals & Nature"},{emoji:"\u{1F423}",names:["hatching_chick"],tags:[],description:"hatching chick",category:"Animals & Nature"},{emoji:"\u{1F424}",names:["baby_chick"],tags:[],description:"baby chick",category:"Animals & Nature"},{emoji:"\u{1F425}",names:["hatched_chick"],tags:[],description:"front-facing baby chick",category:"Animals & Nature"},{emoji:"\u{1F426}",names:["bird"],tags:[],description:"bird",category:"Animals & Nature"},{emoji:"\u{1F427}",names:["penguin"],tags:[],description:"penguin",category:"Animals & Nature"},{emoji:"\u{1F54A}\uFE0F",names:["dove"],tags:["peace"],description:"dove",category:"Animals & Nature"},{emoji:"\u{1F985}",names:["eagle"],tags:[],description:"eagle",category:"Animals & Nature"},{emoji:"\u{1F986}",names:["duck"],tags:[],description:"duck",category:"Animals & Nature"},{emoji:"\u{1F9A2}",names:["swan"],tags:[],description:"swan",category:"Animals & Nature"},{emoji:"\u{1F989}",names:["owl"],tags:[],description:"owl",category:"Animals & Nature"},{emoji:"\u{1F9A4}",names:["dodo"],tags:[],description:"dodo",category:"Animals & Nature"},{emoji:"\u{1FAB6}",names:["feather"],tags:[],description:"feather",category:"Animals & Nature"},{emoji:"\u{1F9A9}",names:["flamingo"],tags:[],description:"flamingo",category:"Animals & Nature"},{emoji:"\u{1F99A}",names:["peacock"],tags:[],description:"peacock",category:"Animals & Nature"},{emoji:"\u{1F99C}",names:["parrot"],tags:[],description:"parrot",category:"Animals & Nature"},{emoji:"\u{1FABD}",names:["wing"],tags:["fly"],description:"wing",category:"Animals & Nature"},{emoji:"\u{1F426}\u200D\u2B1B",names:["black_bird"],tags:[],description:"black bird",category:"Animals & Nature"},{emoji:"\u{1FABF}",names:["goose"],tags:["honk"],description:"goose",category:"Animals & Nature"},{emoji:"\u{1F438}",names:["frog"],tags:[],description:"frog",category:"Animals & Nature"},{emoji:"\u{1F40A}",names:["crocodile"],tags:[],description:"crocodile",category:"Animals & Nature"},{emoji:"\u{1F422}",names:["turtle"],tags:["slow"],description:"turtle",category:"Animals & Nature"},{emoji:"\u{1F98E}",names:["lizard"],tags:[],description:"lizard",category:"Animals & Nature"},{emoji:"\u{1F40D}",names:["snake"],tags:[],description:"snake",category:"Animals & Nature"},{emoji:"\u{1F432}",names:["dragon_face"],tags:[],description:"dragon face",category:"Animals & Nature"},{emoji:"\u{1F409}",names:["dragon"],tags:[],description:"dragon",category:"Animals & Nature"},{emoji:"\u{1F995}",names:["sauropod"],tags:["dinosaur"],description:"sauropod",category:"Animals & Nature"},{emoji:"\u{1F996}",names:["t-rex"],tags:["dinosaur"],description:"T-Rex",category:"Animals & Nature"},{emoji:"\u{1F433}",names:["whale"],tags:["sea"],description:"spouting whale",category:"Animals & Nature"},{emoji:"\u{1F40B}",names:["whale2"],tags:[],description:"whale",category:"Animals & Nature"},{emoji:"\u{1F42C}",names:["dolphin","flipper"],tags:[],description:"dolphin",category:"Animals & Nature"},{emoji:"\u{1F9AD}",names:["seal"],tags:[],description:"seal",category:"Animals & Nature"},{emoji:"\u{1F41F}",names:["fish"],tags:[],description:"fish",category:"Animals & Nature"},{emoji:"\u{1F420}",names:["tropical_fish"],tags:[],description:"tropical fish",category:"Animals & Nature"},{emoji:"\u{1F421}",names:["blowfish"],tags:[],description:"blowfish",category:"Animals & Nature"},{emoji:"\u{1F988}",names:["shark"],tags:[],description:"shark",category:"Animals & Nature"},{emoji:"\u{1F419}",names:["octopus"],tags:[],description:"octopus",category:"Animals & Nature"},{emoji:"\u{1F41A}",names:["shell"],tags:["sea","beach"],description:"spiral shell",category:"Animals & Nature"},{emoji:"\u{1FAB8}",names:["coral"],tags:[],description:"coral",category:"Animals & Nature"},{emoji:"\u{1FABC}",names:["jellyfish"],tags:[],description:"jellyfish",category:"Animals & Nature"},{emoji:"\u{1F40C}",names:["snail"],tags:["slow"],description:"snail",category:"Animals & Nature"},{emoji:"\u{1F98B}",names:["butterfly"],tags:[],description:"butterfly",category:"Animals & Nature"},{emoji:"\u{1F41B}",names:["bug"],tags:[],description:"bug",category:"Animals & Nature"},{emoji:"\u{1F41C}",names:["ant"],tags:[],description:"ant",category:"Animals & Nature"},{emoji:"\u{1F41D}",names:["bee","honeybee"],tags:[],description:"honeybee",category:"Animals & Nature"},{emoji:"\u{1FAB2}",names:["beetle"],tags:[],description:"beetle",category:"Animals & Nature"},{emoji:"\u{1F41E}",names:["lady_beetle"],tags:["bug"],description:"lady beetle",category:"Animals & Nature"},{emoji:"\u{1F997}",names:["cricket"],tags:[],description:"cricket",category:"Animals & Nature"},{emoji:"\u{1FAB3}",names:["cockroach"],tags:[],description:"cockroach",category:"Animals & Nature"},{emoji:"\u{1F577}\uFE0F",names:["spider"],tags:[],description:"spider",category:"Animals & Nature"},{emoji:"\u{1F578}\uFE0F",names:["spider_web"],tags:[],description:"spider web",category:"Animals & Nature"},{emoji:"\u{1F982}",names:["scorpion"],tags:[],description:"scorpion",category:"Animals & Nature"},{emoji:"\u{1F99F}",names:["mosquito"],tags:[],description:"mosquito",category:"Animals & Nature"},{emoji:"\u{1FAB0}",names:["fly"],tags:[],description:"fly",category:"Animals & Nature"},{emoji:"\u{1FAB1}",names:["worm"],tags:[],description:"worm",category:"Animals & Nature"},{emoji:"\u{1F9A0}",names:["microbe"],tags:["germ"],description:"microbe",category:"Animals & Nature"},{emoji:"\u{1F490}",names:["bouquet"],tags:["flowers"],description:"bouquet",category:"Animals & Nature"},{emoji:"\u{1F338}",names:["cherry_blossom"],tags:["flower","spring"],description:"cherry blossom",category:"Animals & Nature"},{emoji:"\u{1F4AE}",names:["white_flower"],tags:[],description:"white flower",category:"Animals & Nature"},{emoji:"\u{1FAB7}",names:["lotus"],tags:[],description:"lotus",category:"Animals & Nature"},{emoji:"\u{1F3F5}\uFE0F",names:["rosette"],tags:[],description:"rosette",category:"Animals & Nature"},{emoji:"\u{1F339}",names:["rose"],tags:["flower"],description:"rose",category:"Animals & Nature"},{emoji:"\u{1F940}",names:["wilted_flower"],tags:[],description:"wilted flower",category:"Animals & Nature"},{emoji:"\u{1F33A}",names:["hibiscus"],tags:[],description:"hibiscus",category:"Animals & Nature"},{emoji:"\u{1F33B}",names:["sunflower"],tags:[],description:"sunflower",category:"Animals & Nature"},{emoji:"\u{1F33C}",names:["blossom"],tags:[],description:"blossom",category:"Animals & Nature"},{emoji:"\u{1F337}",names:["tulip"],tags:["flower"],description:"tulip",category:"Animals & Nature"},{emoji:"\u{1FABB}",names:["hyacinth"],tags:[],description:"hyacinth",category:"Animals & Nature"},{emoji:"\u{1F331}",names:["seedling"],tags:["plant"],description:"seedling",category:"Animals & Nature"},{emoji:"\u{1FAB4}",names:["potted_plant"],tags:[],description:"potted plant",category:"Animals & Nature"},{emoji:"\u{1F332}",names:["evergreen_tree"],tags:["wood"],description:"evergreen tree",category:"Animals & Nature"},{emoji:"\u{1F333}",names:["deciduous_tree"],tags:["wood"],description:"deciduous tree",category:"Animals & Nature"},{emoji:"\u{1F334}",names:["palm_tree"],tags:[],description:"palm tree",category:"Animals & Nature"},{emoji:"\u{1F335}",names:["cactus"],tags:[],description:"cactus",category:"Animals & Nature"},{emoji:"\u{1F33E}",names:["ear_of_rice"],tags:[],description:"sheaf of rice",category:"Animals & Nature"},{emoji:"\u{1F33F}",names:["herb"],tags:[],description:"herb",category:"Animals & Nature"},{emoji:"\u2618\uFE0F",names:["shamrock"],tags:[],description:"shamrock",category:"Animals & Nature"},{emoji:"\u{1F340}",names:["four_leaf_clover"],tags:["luck"],description:"four leaf clover",category:"Animals & Nature"},{emoji:"\u{1F341}",names:["maple_leaf"],tags:["canada"],description:"maple leaf",category:"Animals & Nature"},{emoji:"\u{1F342}",names:["fallen_leaf"],tags:["autumn"],description:"fallen leaf",category:"Animals & Nature"},{emoji:"\u{1F343}",names:["leaves"],tags:["leaf"],description:"leaf fluttering in wind",category:"Animals & Nature"},{emoji:"\u{1FAB9}",names:["empty_nest"],tags:[],description:"empty nest",category:"Animals & Nature"},{emoji:"\u{1FABA}",names:["nest_with_eggs"],tags:[],description:"nest with eggs",category:"Animals & Nature"},{emoji:"\u{1F344}",names:["mushroom"],tags:["fungus"],description:"mushroom",category:"Animals & Nature"},{emoji:"\u{1F347}",names:["grapes"],tags:[],description:"grapes",category:"Food & Drink"},{emoji:"\u{1F348}",names:["melon"],tags:[],description:"melon",category:"Food & Drink"},{emoji:"\u{1F349}",names:["watermelon"],tags:[],description:"watermelon",category:"Food & Drink"},{emoji:"\u{1F34A}",names:["tangerine","orange","mandarin"],tags:[],description:"tangerine",category:"Food & Drink"},{emoji:"\u{1F34B}",names:["lemon"],tags:[],description:"lemon",category:"Food & Drink"},{emoji:"\u{1F34C}",names:["banana"],tags:["fruit"],description:"banana",category:"Food & Drink"},{emoji:"\u{1F34D}",names:["pineapple"],tags:[],description:"pineapple",category:"Food & Drink"},{emoji:"\u{1F96D}",names:["mango"],tags:[],description:"mango",category:"Food & Drink"},{emoji:"\u{1F34E}",names:["apple"],tags:[],description:"red apple",category:"Food & Drink"},{emoji:"\u{1F34F}",names:["green_apple"],tags:["fruit"],description:"green apple",category:"Food & Drink"},{emoji:"\u{1F350}",names:["pear"],tags:[],description:"pear",category:"Food & Drink"},{emoji:"\u{1F351}",names:["peach"],tags:[],description:"peach",category:"Food & Drink"},{emoji:"\u{1F352}",names:["cherries"],tags:["fruit"],description:"cherries",category:"Food & Drink"},{emoji:"\u{1F353}",names:["strawberry"],tags:["fruit"],description:"strawberry",category:"Food & Drink"},{emoji:"\u{1FAD0}",names:["blueberries"],tags:[],description:"blueberries",category:"Food & Drink"},{emoji:"\u{1F95D}",names:["kiwi_fruit"],tags:[],description:"kiwi fruit",category:"Food & Drink"},{emoji:"\u{1F345}",names:["tomato"],tags:[],description:"tomato",category:"Food & Drink"},{emoji:"\u{1FAD2}",names:["olive"],tags:[],description:"olive",category:"Food & Drink"},{emoji:"\u{1F965}",names:["coconut"],tags:[],description:"coconut",category:"Food & Drink"},{emoji:"\u{1F951}",names:["avocado"],tags:[],description:"avocado",category:"Food & Drink"},{emoji:"\u{1F346}",names:["eggplant"],tags:["aubergine"],description:"eggplant",category:"Food & Drink"},{emoji:"\u{1F954}",names:["potato"],tags:[],description:"potato",category:"Food & Drink"},{emoji:"\u{1F955}",names:["carrot"],tags:[],description:"carrot",category:"Food & Drink"},{emoji:"\u{1F33D}",names:["corn"],tags:[],description:"ear of corn",category:"Food & Drink"},{emoji:"\u{1F336}\uFE0F",names:["hot_pepper"],tags:["spicy"],description:"hot pepper",category:"Food & Drink"},{emoji:"\u{1FAD1}",names:["bell_pepper"],tags:[],description:"bell pepper",category:"Food & Drink"},{emoji:"\u{1F952}",names:["cucumber"],tags:[],description:"cucumber",category:"Food & Drink"},{emoji:"\u{1F96C}",names:["leafy_green"],tags:[],description:"leafy green",category:"Food & Drink"},{emoji:"\u{1F966}",names:["broccoli"],tags:[],description:"broccoli",category:"Food & Drink"},{emoji:"\u{1F9C4}",names:["garlic"],tags:[],description:"garlic",category:"Food & Drink"},{emoji:"\u{1F9C5}",names:["onion"],tags:[],description:"onion",category:"Food & Drink"},{emoji:"\u{1F95C}",names:["peanuts"],tags:[],description:"peanuts",category:"Food & Drink"},{emoji:"\u{1FAD8}",names:["beans"],tags:[],description:"beans",category:"Food & Drink"},{emoji:"\u{1F330}",names:["chestnut"],tags:[],description:"chestnut",category:"Food & Drink"},{emoji:"\u{1FADA}",names:["ginger_root"],tags:[],description:"ginger root",category:"Food & Drink"},{emoji:"\u{1FADB}",names:["pea_pod"],tags:[],description:"pea pod",category:"Food & Drink"},{emoji:"\u{1F35E}",names:["bread"],tags:["toast"],description:"bread",category:"Food & Drink"},{emoji:"\u{1F950}",names:["croissant"],tags:[],description:"croissant",category:"Food & Drink"},{emoji:"\u{1F956}",names:["baguette_bread"],tags:[],description:"baguette bread",category:"Food & Drink"},{emoji:"\u{1FAD3}",names:["flatbread"],tags:[],description:"flatbread",category:"Food & Drink"},{emoji:"\u{1F968}",names:["pretzel"],tags:[],description:"pretzel",category:"Food & Drink"},{emoji:"\u{1F96F}",names:["bagel"],tags:[],description:"bagel",category:"Food & Drink"},{emoji:"\u{1F95E}",names:["pancakes"],tags:[],description:"pancakes",category:"Food & Drink"},{emoji:"\u{1F9C7}",names:["waffle"],tags:[],description:"waffle",category:"Food & Drink"},{emoji:"\u{1F9C0}",names:["cheese"],tags:[],description:"cheese wedge",category:"Food & Drink"},{emoji:"\u{1F356}",names:["meat_on_bone"],tags:[],description:"meat on bone",category:"Food & Drink"},{emoji:"\u{1F357}",names:["poultry_leg"],tags:["meat","chicken"],description:"poultry leg",category:"Food & Drink"},{emoji:"\u{1F969}",names:["cut_of_meat"],tags:[],description:"cut of meat",category:"Food & Drink"},{emoji:"\u{1F953}",names:["bacon"],tags:[],description:"bacon",category:"Food & Drink"},{emoji:"\u{1F354}",names:["hamburger"],tags:["burger"],description:"hamburger",category:"Food & Drink"},{emoji:"\u{1F35F}",names:["fries"],tags:[],description:"french fries",category:"Food & Drink"},{emoji:"\u{1F355}",names:["pizza"],tags:[],description:"pizza",category:"Food & Drink"},{emoji:"\u{1F32D}",names:["hotdog"],tags:[],description:"hot dog",category:"Food & Drink"},{emoji:"\u{1F96A}",names:["sandwich"],tags:[],description:"sandwich",category:"Food & Drink"},{emoji:"\u{1F32E}",names:["taco"],tags:[],description:"taco",category:"Food & Drink"},{emoji:"\u{1F32F}",names:["burrito"],tags:[],description:"burrito",category:"Food & Drink"},{emoji:"\u{1FAD4}",names:["tamale"],tags:[],description:"tamale",category:"Food & Drink"},{emoji:"\u{1F959}",names:["stuffed_flatbread"],tags:[],description:"stuffed flatbread",category:"Food & Drink"},{emoji:"\u{1F9C6}",names:["falafel"],tags:[],description:"falafel",category:"Food & Drink"},{emoji:"\u{1F95A}",names:["egg"],tags:[],description:"egg",category:"Food & Drink"},{emoji:"\u{1F373}",names:["fried_egg"],tags:["breakfast"],description:"cooking",category:"Food & Drink"},{emoji:"\u{1F958}",names:["shallow_pan_of_food"],tags:["paella","curry"],description:"shallow pan of food",category:"Food & Drink"},{emoji:"\u{1F372}",names:["stew"],tags:[],description:"pot of food",category:"Food & Drink"},{emoji:"\u{1FAD5}",names:["fondue"],tags:[],description:"fondue",category:"Food & Drink"},{emoji:"\u{1F963}",names:["bowl_with_spoon"],tags:[],description:"bowl with spoon",category:"Food & Drink"},{emoji:"\u{1F957}",names:["green_salad"],tags:[],description:"green salad",category:"Food & Drink"},{emoji:"\u{1F37F}",names:["popcorn"],tags:[],description:"popcorn",category:"Food & Drink"},{emoji:"\u{1F9C8}",names:["butter"],tags:[],description:"butter",category:"Food & Drink"},{emoji:"\u{1F9C2}",names:["salt"],tags:[],description:"salt",category:"Food & Drink"},{emoji:"\u{1F96B}",names:["canned_food"],tags:[],description:"canned food",category:"Food & Drink"},{emoji:"\u{1F371}",names:["bento"],tags:[],description:"bento box",category:"Food & Drink"},{emoji:"\u{1F358}",names:["rice_cracker"],tags:[],description:"rice cracker",category:"Food & Drink"},{emoji:"\u{1F359}",names:["rice_ball"],tags:[],description:"rice ball",category:"Food & Drink"},{emoji:"\u{1F35A}",names:["rice"],tags:[],description:"cooked rice",category:"Food & Drink"},{emoji:"\u{1F35B}",names:["curry"],tags:[],description:"curry rice",category:"Food & Drink"},{emoji:"\u{1F35C}",names:["ramen"],tags:["noodle"],description:"steaming bowl",category:"Food & Drink"},{emoji:"\u{1F35D}",names:["spaghetti"],tags:["pasta"],description:"spaghetti",category:"Food & Drink"},{emoji:"\u{1F360}",names:["sweet_potato"],tags:[],description:"roasted sweet potato",category:"Food & Drink"},{emoji:"\u{1F362}",names:["oden"],tags:[],description:"oden",category:"Food & Drink"},{emoji:"\u{1F363}",names:["sushi"],tags:[],description:"sushi",category:"Food & Drink"},{emoji:"\u{1F364}",names:["fried_shrimp"],tags:["tempura"],description:"fried shrimp",category:"Food & Drink"},{emoji:"\u{1F365}",names:["fish_cake"],tags:[],description:"fish cake with swirl",category:"Food & Drink"},{emoji:"\u{1F96E}",names:["moon_cake"],tags:[],description:"moon cake",category:"Food & Drink"},{emoji:"\u{1F361}",names:["dango"],tags:[],description:"dango",category:"Food & Drink"},{emoji:"\u{1F95F}",names:["dumpling"],tags:[],description:"dumpling",category:"Food & Drink"},{emoji:"\u{1F960}",names:["fortune_cookie"],tags:[],description:"fortune cookie",category:"Food & Drink"},{emoji:"\u{1F961}",names:["takeout_box"],tags:[],description:"takeout box",category:"Food & Drink"},{emoji:"\u{1F980}",names:["crab"],tags:[],description:"crab",category:"Food & Drink"},{emoji:"\u{1F99E}",names:["lobster"],tags:[],description:"lobster",category:"Food & Drink"},{emoji:"\u{1F990}",names:["shrimp"],tags:[],description:"shrimp",category:"Food & Drink"},{emoji:"\u{1F991}",names:["squid"],tags:[],description:"squid",category:"Food & Drink"},{emoji:"\u{1F9AA}",names:["oyster"],tags:[],description:"oyster",category:"Food & Drink"},{emoji:"\u{1F366}",names:["icecream"],tags:[],description:"soft ice cream",category:"Food & Drink"},{emoji:"\u{1F367}",names:["shaved_ice"],tags:[],description:"shaved ice",category:"Food & Drink"},{emoji:"\u{1F368}",names:["ice_cream"],tags:[],description:"ice cream",category:"Food & Drink"},{emoji:"\u{1F369}",names:["doughnut"],tags:[],description:"doughnut",category:"Food & Drink"},{emoji:"\u{1F36A}",names:["cookie"],tags:[],description:"cookie",category:"Food & Drink"},{emoji:"\u{1F382}",names:["birthday"],tags:["party"],description:"birthday cake",category:"Food & Drink"},{emoji:"\u{1F370}",names:["cake"],tags:["dessert"],description:"shortcake",category:"Food & Drink"},{emoji:"\u{1F9C1}",names:["cupcake"],tags:[],description:"cupcake",category:"Food & Drink"},{emoji:"\u{1F967}",names:["pie"],tags:[],description:"pie",category:"Food & Drink"},{emoji:"\u{1F36B}",names:["chocolate_bar"],tags:[],description:"chocolate bar",category:"Food & Drink"},{emoji:"\u{1F36C}",names:["candy"],tags:["sweet"],description:"candy",category:"Food & Drink"},{emoji:"\u{1F36D}",names:["lollipop"],tags:[],description:"lollipop",category:"Food & Drink"},{emoji:"\u{1F36E}",names:["custard"],tags:[],description:"custard",category:"Food & Drink"},{emoji:"\u{1F36F}",names:["honey_pot"],tags:[],description:"honey pot",category:"Food & Drink"},{emoji:"\u{1F37C}",names:["baby_bottle"],tags:["milk"],description:"baby bottle",category:"Food & Drink"},{emoji:"\u{1F95B}",names:["milk_glass"],tags:[],description:"glass of milk",category:"Food & Drink"},{emoji:"\u2615",names:["coffee"],tags:["cafe","espresso"],description:"hot beverage",category:"Food & Drink"},{emoji:"\u{1FAD6}",names:["teapot"],tags:[],description:"teapot",category:"Food & Drink"},{emoji:"\u{1F375}",names:["tea"],tags:["green","breakfast"],description:"teacup without handle",category:"Food & Drink"},{emoji:"\u{1F376}",names:["sake"],tags:[],description:"sake",category:"Food & Drink"},{emoji:"\u{1F37E}",names:["champagne"],tags:["bottle","bubbly","celebration"],description:"bottle with popping cork",category:"Food & Drink"},{emoji:"\u{1F377}",names:["wine_glass"],tags:[],description:"wine glass",category:"Food & Drink"},{emoji:"\u{1F378}",names:["cocktail"],tags:["drink"],description:"cocktail glass",category:"Food & Drink"},{emoji:"\u{1F379}",names:["tropical_drink"],tags:["summer","vacation"],description:"tropical drink",category:"Food & Drink"},{emoji:"\u{1F37A}",names:["beer"],tags:["drink"],description:"beer mug",category:"Food & Drink"},{emoji:"\u{1F37B}",names:["beers"],tags:["drinks"],description:"clinking beer mugs",category:"Food & Drink"},{emoji:"\u{1F942}",names:["clinking_glasses"],tags:["cheers","toast"],description:"clinking glasses",category:"Food & Drink"},{emoji:"\u{1F943}",names:["tumbler_glass"],tags:["whisky"],description:"tumbler glass",category:"Food & Drink"},{emoji:"\u{1FAD7}",names:["pouring_liquid"],tags:[],description:"pouring liquid",category:"Food & Drink"},{emoji:"\u{1F964}",names:["cup_with_straw"],tags:[],description:"cup with straw",category:"Food & Drink"},{emoji:"\u{1F9CB}",names:["bubble_tea"],tags:[],description:"bubble tea",category:"Food & Drink"},{emoji:"\u{1F9C3}",names:["beverage_box"],tags:[],description:"beverage box",category:"Food & Drink"},{emoji:"\u{1F9C9}",names:["mate"],tags:[],description:"mate",category:"Food & Drink"},{emoji:"\u{1F9CA}",names:["ice_cube"],tags:[],description:"ice",category:"Food & Drink"},{emoji:"\u{1F962}",names:["chopsticks"],tags:[],description:"chopsticks",category:"Food & Drink"},{emoji:"\u{1F37D}\uFE0F",names:["plate_with_cutlery"],tags:["dining","dinner"],description:"fork and knife with plate",category:"Food & Drink"},{emoji:"\u{1F374}",names:["fork_and_knife"],tags:["cutlery"],description:"fork and knife",category:"Food & Drink"},{emoji:"\u{1F944}",names:["spoon"],tags:[],description:"spoon",category:"Food & Drink"},{emoji:"\u{1F52A}",names:["hocho","knife"],tags:["cut","chop"],description:"kitchen knife",category:"Food & Drink"},{emoji:"\u{1FAD9}",names:["jar"],tags:[],description:"jar",category:"Food & Drink"},{emoji:"\u{1F3FA}",names:["amphora"],tags:[],description:"amphora",category:"Food & Drink"},{emoji:"\u{1F30D}",names:["earth_africa"],tags:["globe","world","international"],description:"globe showing Europe-Africa",category:"Travel & Places"},{emoji:"\u{1F30E}",names:["earth_americas"],tags:["globe","world","international"],description:"globe showing Americas",category:"Travel & Places"},{emoji:"\u{1F30F}",names:["earth_asia"],tags:["globe","world","international"],description:"globe showing Asia-Australia",category:"Travel & Places"},{emoji:"\u{1F310}",names:["globe_with_meridians"],tags:["world","global","international"],description:"globe with meridians",category:"Travel & Places"},{emoji:"\u{1F5FA}\uFE0F",names:["world_map"],tags:["travel"],description:"world map",category:"Travel & Places"},{emoji:"\u{1F5FE}",names:["japan"],tags:[],description:"map of Japan",category:"Travel & Places"},{emoji:"\u{1F9ED}",names:["compass"],tags:[],description:"compass",category:"Travel & Places"},{emoji:"\u{1F3D4}\uFE0F",names:["mountain_snow"],tags:[],description:"snow-capped mountain",category:"Travel & Places"},{emoji:"\u26F0\uFE0F",names:["mountain"],tags:[],description:"mountain",category:"Travel & Places"},{emoji:"\u{1F30B}",names:["volcano"],tags:[],description:"volcano",category:"Travel & Places"},{emoji:"\u{1F5FB}",names:["mount_fuji"],tags:[],description:"mount fuji",category:"Travel & Places"},{emoji:"\u{1F3D5}\uFE0F",names:["camping"],tags:[],description:"camping",category:"Travel & Places"},{emoji:"\u{1F3D6}\uFE0F",names:["beach_umbrella"],tags:[],description:"beach with umbrella",category:"Travel & Places"},{emoji:"\u{1F3DC}\uFE0F",names:["desert"],tags:[],description:"desert",category:"Travel & Places"},{emoji:"\u{1F3DD}\uFE0F",names:["desert_island"],tags:[],description:"desert island",category:"Travel & Places"},{emoji:"\u{1F3DE}\uFE0F",names:["national_park"],tags:[],description:"national park",category:"Travel & Places"},{emoji:"\u{1F3DF}\uFE0F",names:["stadium"],tags:[],description:"stadium",category:"Travel & Places"},{emoji:"\u{1F3DB}\uFE0F",names:["classical_building"],tags:[],description:"classical building",category:"Travel & Places"},{emoji:"\u{1F3D7}\uFE0F",names:["building_construction"],tags:[],description:"building construction",category:"Travel & Places"},{emoji:"\u{1F9F1}",names:["bricks"],tags:[],description:"brick",category:"Travel & Places"},{emoji:"\u{1FAA8}",names:["rock"],tags:[],description:"rock",category:"Travel & Places"},{emoji:"\u{1FAB5}",names:["wood"],tags:[],description:"wood",category:"Travel & Places"},{emoji:"\u{1F6D6}",names:["hut"],tags:[],description:"hut",category:"Travel & Places"},{emoji:"\u{1F3D8}\uFE0F",names:["houses"],tags:[],description:"houses",category:"Travel & Places"},{emoji:"\u{1F3DA}\uFE0F",names:["derelict_house"],tags:[],description:"derelict house",category:"Travel & Places"},{emoji:"\u{1F3E0}",names:["house"],tags:[],description:"house",category:"Travel & Places"},{emoji:"\u{1F3E1}",names:["house_with_garden"],tags:[],description:"house with garden",category:"Travel & Places"},{emoji:"\u{1F3E2}",names:["office"],tags:[],description:"office building",category:"Travel & Places"},{emoji:"\u{1F3E3}",names:["post_office"],tags:[],description:"Japanese post office",category:"Travel & Places"},{emoji:"\u{1F3E4}",names:["european_post_office"],tags:[],description:"post office",category:"Travel & Places"},{emoji:"\u{1F3E5}",names:["hospital"],tags:[],description:"hospital",category:"Travel & Places"},{emoji:"\u{1F3E6}",names:["bank"],tags:[],description:"bank",category:"Travel & Places"},{emoji:"\u{1F3E8}",names:["hotel"],tags:[],description:"hotel",category:"Travel & Places"},{emoji:"\u{1F3E9}",names:["love_hotel"],tags:[],description:"love hotel",category:"Travel & Places"},{emoji:"\u{1F3EA}",names:["convenience_store"],tags:[],description:"convenience store",category:"Travel & Places"},{emoji:"\u{1F3EB}",names:["school"],tags:[],description:"school",category:"Travel & Places"},{emoji:"\u{1F3EC}",names:["department_store"],tags:[],description:"department store",category:"Travel & Places"},{emoji:"\u{1F3ED}",names:["factory"],tags:[],description:"factory",category:"Travel & Places"},{emoji:"\u{1F3EF}",names:["japanese_castle"],tags:[],description:"Japanese castle",category:"Travel & Places"},{emoji:"\u{1F3F0}",names:["european_castle"],tags:[],description:"castle",category:"Travel & Places"},{emoji:"\u{1F492}",names:["wedding"],tags:["marriage"],description:"wedding",category:"Travel & Places"},{emoji:"\u{1F5FC}",names:["tokyo_tower"],tags:[],description:"Tokyo tower",category:"Travel & Places"},{emoji:"\u{1F5FD}",names:["statue_of_liberty"],tags:[],description:"Statue of Liberty",category:"Travel & Places"},{emoji:"\u26EA",names:["church"],tags:[],description:"church",category:"Travel & Places"},{emoji:"\u{1F54C}",names:["mosque"],tags:[],description:"mosque",category:"Travel & Places"},{emoji:"\u{1F6D5}",names:["hindu_temple"],tags:[],description:"hindu temple",category:"Travel & Places"},{emoji:"\u{1F54D}",names:["synagogue"],tags:[],description:"synagogue",category:"Travel & Places"},{emoji:"\u26E9\uFE0F",names:["shinto_shrine"],tags:[],description:"shinto shrine",category:"Travel & Places"},{emoji:"\u{1F54B}",names:["kaaba"],tags:[],description:"kaaba",category:"Travel & Places"},{emoji:"\u26F2",names:["fountain"],tags:[],description:"fountain",category:"Travel & Places"},{emoji:"\u26FA",names:["tent"],tags:["camping"],description:"tent",category:"Travel & Places"},{emoji:"\u{1F301}",names:["foggy"],tags:["karl"],description:"foggy",category:"Travel & Places"},{emoji:"\u{1F303}",names:["night_with_stars"],tags:[],description:"night with stars",category:"Travel & Places"},{emoji:"\u{1F3D9}\uFE0F",names:["cityscape"],tags:["skyline"],description:"cityscape",category:"Travel & Places"},{emoji:"\u{1F304}",names:["sunrise_over_mountains"],tags:[],description:"sunrise over mountains",category:"Travel & Places"},{emoji:"\u{1F305}",names:["sunrise"],tags:[],description:"sunrise",category:"Travel & Places"},{emoji:"\u{1F306}",names:["city_sunset"],tags:[],description:"cityscape at dusk",category:"Travel & Places"},{emoji:"\u{1F307}",names:["city_sunrise"],tags:[],description:"sunset",category:"Travel & Places"},{emoji:"\u{1F309}",names:["bridge_at_night"],tags:[],description:"bridge at night",category:"Travel & Places"},{emoji:"\u2668\uFE0F",names:["hotsprings"],tags:[],description:"hot springs",category:"Travel & Places"},{emoji:"\u{1F3A0}",names:["carousel_horse"],tags:[],description:"carousel horse",category:"Travel & Places"},{emoji:"\u{1F6DD}",names:["playground_slide"],tags:[],description:"playground slide",category:"Travel & Places"},{emoji:"\u{1F3A1}",names:["ferris_wheel"],tags:[],description:"ferris wheel",category:"Travel & Places"},{emoji:"\u{1F3A2}",names:["roller_coaster"],tags:[],description:"roller coaster",category:"Travel & Places"},{emoji:"\u{1F488}",names:["barber"],tags:[],description:"barber pole",category:"Travel & Places"},{emoji:"\u{1F3AA}",names:["circus_tent"],tags:[],description:"circus tent",category:"Travel & Places"},{emoji:"\u{1F682}",names:["steam_locomotive"],tags:["train"],description:"locomotive",category:"Travel & Places"},{emoji:"\u{1F683}",names:["railway_car"],tags:[],description:"railway car",category:"Travel & Places"},{emoji:"\u{1F684}",names:["bullettrain_side"],tags:["train"],description:"high-speed train",category:"Travel & Places"},{emoji:"\u{1F685}",names:["bullettrain_front"],tags:["train"],description:"bullet train",category:"Travel & Places"},{emoji:"\u{1F686}",names:["train2"],tags:[],description:"train",category:"Travel & Places"},{emoji:"\u{1F687}",names:["metro"],tags:[],description:"metro",category:"Travel & Places"},{emoji:"\u{1F688}",names:["light_rail"],tags:[],description:"light rail",category:"Travel & Places"},{emoji:"\u{1F689}",names:["station"],tags:[],description:"station",category:"Travel & Places"},{emoji:"\u{1F68A}",names:["tram"],tags:[],description:"tram",category:"Travel & Places"},{emoji:"\u{1F69D}",names:["monorail"],tags:[],description:"monorail",category:"Travel & Places"},{emoji:"\u{1F69E}",names:["mountain_railway"],tags:[],description:"mountain railway",category:"Travel & Places"},{emoji:"\u{1F68B}",names:["train"],tags:[],description:"tram car",category:"Travel & Places"},{emoji:"\u{1F68C}",names:["bus"],tags:[],description:"bus",category:"Travel & Places"},{emoji:"\u{1F68D}",names:["oncoming_bus"],tags:[],description:"oncoming bus",category:"Travel & Places"},{emoji:"\u{1F68E}",names:["trolleybus"],tags:[],description:"trolleybus",category:"Travel & Places"},{emoji:"\u{1F690}",names:["minibus"],tags:[],description:"minibus",category:"Travel & Places"},{emoji:"\u{1F691}",names:["ambulance"],tags:[],description:"ambulance",category:"Travel & Places"},{emoji:"\u{1F692}",names:["fire_engine"],tags:[],description:"fire engine",category:"Travel & Places"},{emoji:"\u{1F693}",names:["police_car"],tags:[],description:"police car",category:"Travel & Places"},{emoji:"\u{1F694}",names:["oncoming_police_car"],tags:[],description:"oncoming police car",category:"Travel & Places"},{emoji:"\u{1F695}",names:["taxi"],tags:[],description:"taxi",category:"Travel & Places"},{emoji:"\u{1F696}",names:["oncoming_taxi"],tags:[],description:"oncoming taxi",category:"Travel & Places"},{emoji:"\u{1F697}",names:["car","red_car"],tags:[],description:"automobile",category:"Travel & Places"},{emoji:"\u{1F698}",names:["oncoming_automobile"],tags:[],description:"oncoming automobile",category:"Travel & Places"},{emoji:"\u{1F699}",names:["blue_car"],tags:[],description:"sport utility vehicle",category:"Travel & Places"},{emoji:"\u{1F6FB}",names:["pickup_truck"],tags:[],description:"pickup truck",category:"Travel & Places"},{emoji:"\u{1F69A}",names:["truck"],tags:[],description:"delivery truck",category:"Travel & Places"},{emoji:"\u{1F69B}",names:["articulated_lorry"],tags:[],description:"articulated lorry",category:"Travel & Places"},{emoji:"\u{1F69C}",names:["tractor"],tags:[],description:"tractor",category:"Travel & Places"},{emoji:"\u{1F3CE}\uFE0F",names:["racing_car"],tags:[],description:"racing car",category:"Travel & Places"},{emoji:"\u{1F3CD}\uFE0F",names:["motorcycle"],tags:[],description:"motorcycle",category:"Travel & Places"},{emoji:"\u{1F6F5}",names:["motor_scooter"],tags:[],description:"motor scooter",category:"Travel & Places"},{emoji:"\u{1F9BD}",names:["manual_wheelchair"],tags:[],description:"manual wheelchair",category:"Travel & Places"},{emoji:"\u{1F9BC}",names:["motorized_wheelchair"],tags:[],description:"motorized wheelchair",category:"Travel & Places"},{emoji:"\u{1F6FA}",names:["auto_rickshaw"],tags:[],description:"auto rickshaw",category:"Travel & Places"},{emoji:"\u{1F6B2}",names:["bike"],tags:["bicycle"],description:"bicycle",category:"Travel & Places"},{emoji:"\u{1F6F4}",names:["kick_scooter"],tags:[],description:"kick scooter",category:"Travel & Places"},{emoji:"\u{1F6F9}",names:["skateboard"],tags:[],description:"skateboard",category:"Travel & Places"},{emoji:"\u{1F6FC}",names:["roller_skate"],tags:[],description:"roller skate",category:"Travel & Places"},{emoji:"\u{1F68F}",names:["busstop"],tags:[],description:"bus stop",category:"Travel & Places"},{emoji:"\u{1F6E3}\uFE0F",names:["motorway"],tags:[],description:"motorway",category:"Travel & Places"},{emoji:"\u{1F6E4}\uFE0F",names:["railway_track"],tags:[],description:"railway track",category:"Travel & Places"},{emoji:"\u{1F6E2}\uFE0F",names:["oil_drum"],tags:[],description:"oil drum",category:"Travel & Places"},{emoji:"\u26FD",names:["fuelpump"],tags:[],description:"fuel pump",category:"Travel & Places"},{emoji:"\u{1F6DE}",names:["wheel"],tags:[],description:"wheel",category:"Travel & Places"},{emoji:"\u{1F6A8}",names:["rotating_light"],tags:["911","emergency"],description:"police car light",category:"Travel & Places"},{emoji:"\u{1F6A5}",names:["traffic_light"],tags:[],description:"horizontal traffic light",category:"Travel & Places"},{emoji:"\u{1F6A6}",names:["vertical_traffic_light"],tags:["semaphore"],description:"vertical traffic light",category:"Travel & Places"},{emoji:"\u{1F6D1}",names:["stop_sign"],tags:[],description:"stop sign",category:"Travel & Places"},{emoji:"\u{1F6A7}",names:["construction"],tags:["wip"],description:"construction",category:"Travel & Places"},{emoji:"\u2693",names:["anchor"],tags:["ship"],description:"anchor",category:"Travel & Places"},{emoji:"\u{1F6DF}",names:["ring_buoy"],tags:["life preserver"],description:"ring buoy",category:"Travel & Places"},{emoji:"\u26F5",names:["boat","sailboat"],tags:[],description:"sailboat",category:"Travel & Places"},{emoji:"\u{1F6F6}",names:["canoe"],tags:[],description:"canoe",category:"Travel & Places"},{emoji:"\u{1F6A4}",names:["speedboat"],tags:["ship"],description:"speedboat",category:"Travel & Places"},{emoji:"\u{1F6F3}\uFE0F",names:["passenger_ship"],tags:["cruise"],description:"passenger ship",category:"Travel & Places"},{emoji:"\u26F4\uFE0F",names:["ferry"],tags:[],description:"ferry",category:"Travel & Places"},{emoji:"\u{1F6E5}\uFE0F",names:["motor_boat"],tags:[],description:"motor boat",category:"Travel & Places"},{emoji:"\u{1F6A2}",names:["ship"],tags:[],description:"ship",category:"Travel & Places"},{emoji:"\u2708\uFE0F",names:["airplane"],tags:["flight"],description:"airplane",category:"Travel & Places"},{emoji:"\u{1F6E9}\uFE0F",names:["small_airplane"],tags:["flight"],description:"small airplane",category:"Travel & Places"},{emoji:"\u{1F6EB}",names:["flight_departure"],tags:[],description:"airplane departure",category:"Travel & Places"},{emoji:"\u{1F6EC}",names:["flight_arrival"],tags:[],description:"airplane arrival",category:"Travel & Places"},{emoji:"\u{1FA82}",names:["parachute"],tags:[],description:"parachute",category:"Travel & Places"},{emoji:"\u{1F4BA}",names:["seat"],tags:[],description:"seat",category:"Travel & Places"},{emoji:"\u{1F681}",names:["helicopter"],tags:[],description:"helicopter",category:"Travel & Places"},{emoji:"\u{1F69F}",names:["suspension_railway"],tags:[],description:"suspension railway",category:"Travel & Places"},{emoji:"\u{1F6A0}",names:["mountain_cableway"],tags:[],description:"mountain cableway",category:"Travel & Places"},{emoji:"\u{1F6A1}",names:["aerial_tramway"],tags:[],description:"aerial tramway",category:"Travel & Places"},{emoji:"\u{1F6F0}\uFE0F",names:["artificial_satellite"],tags:["orbit","space"],description:"satellite",category:"Travel & Places"},{emoji:"\u{1F680}",names:["rocket"],tags:["ship","launch"],description:"rocket",category:"Travel & Places"},{emoji:"\u{1F6F8}",names:["flying_saucer"],tags:["ufo"],description:"flying saucer",category:"Travel & Places"},{emoji:"\u{1F6CE}\uFE0F",names:["bellhop_bell"],tags:[],description:"bellhop bell",category:"Travel & Places"},{emoji:"\u{1F9F3}",names:["luggage"],tags:[],description:"luggage",category:"Travel & Places"},{emoji:"\u231B",names:["hourglass"],tags:["time"],description:"hourglass done",category:"Travel & Places"},{emoji:"\u23F3",names:["hourglass_flowing_sand"],tags:["time"],description:"hourglass not done",category:"Travel & Places"},{emoji:"\u231A",names:["watch"],tags:["time"],description:"watch",category:"Travel & Places"},{emoji:"\u23F0",names:["alarm_clock"],tags:["morning"],description:"alarm clock",category:"Travel & Places"},{emoji:"\u23F1\uFE0F",names:["stopwatch"],tags:[],description:"stopwatch",category:"Travel & Places"},{emoji:"\u23F2\uFE0F",names:["timer_clock"],tags:[],description:"timer clock",category:"Travel & Places"},{emoji:"\u{1F570}\uFE0F",names:["mantelpiece_clock"],tags:[],description:"mantelpiece clock",category:"Travel & Places"},{emoji:"\u{1F55B}",names:["clock12"],tags:[],description:"twelve o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F567}",names:["clock1230"],tags:[],description:"twelve-thirty",category:"Travel & Places"},{emoji:"\u{1F550}",names:["clock1"],tags:[],description:"one o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55C}",names:["clock130"],tags:[],description:"one-thirty",category:"Travel & Places"},{emoji:"\u{1F551}",names:["clock2"],tags:[],description:"two o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55D}",names:["clock230"],tags:[],description:"two-thirty",category:"Travel & Places"},{emoji:"\u{1F552}",names:["clock3"],tags:[],description:"three o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55E}",names:["clock330"],tags:[],description:"three-thirty",category:"Travel & Places"},{emoji:"\u{1F553}",names:["clock4"],tags:[],description:"four o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F55F}",names:["clock430"],tags:[],description:"four-thirty",category:"Travel & Places"},{emoji:"\u{1F554}",names:["clock5"],tags:[],description:"five o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F560}",names:["clock530"],tags:[],description:"five-thirty",category:"Travel & Places"},{emoji:"\u{1F555}",names:["clock6"],tags:[],description:"six o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F561}",names:["clock630"],tags:[],description:"six-thirty",category:"Travel & Places"},{emoji:"\u{1F556}",names:["clock7"],tags:[],description:"seven o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F562}",names:["clock730"],tags:[],description:"seven-thirty",category:"Travel & Places"},{emoji:"\u{1F557}",names:["clock8"],tags:[],description:"eight o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F563}",names:["clock830"],tags:[],description:"eight-thirty",category:"Travel & Places"},{emoji:"\u{1F558}",names:["clock9"],tags:[],description:"nine o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F564}",names:["clock930"],tags:[],description:"nine-thirty",category:"Travel & Places"},{emoji:"\u{1F559}",names:["clock10"],tags:[],description:"ten o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F565}",names:["clock1030"],tags:[],description:"ten-thirty",category:"Travel & Places"},{emoji:"\u{1F55A}",names:["clock11"],tags:[],description:"eleven o\u2019clock",category:"Travel & Places"},{emoji:"\u{1F566}",names:["clock1130"],tags:[],description:"eleven-thirty",category:"Travel & Places"},{emoji:"\u{1F311}",names:["new_moon"],tags:[],description:"new moon",category:"Travel & Places"},{emoji:"\u{1F312}",names:["waxing_crescent_moon"],tags:[],description:"waxing crescent moon",category:"Travel & Places"},{emoji:"\u{1F313}",names:["first_quarter_moon"],tags:[],description:"first quarter moon",category:"Travel & Places"},{emoji:"\u{1F314}",names:["moon","waxing_gibbous_moon"],tags:[],description:"waxing gibbous moon",category:"Travel & Places"},{emoji:"\u{1F315}",names:["full_moon"],tags:[],description:"full moon",category:"Travel & Places"},{emoji:"\u{1F316}",names:["waning_gibbous_moon"],tags:[],description:"waning gibbous moon",category:"Travel & Places"},{emoji:"\u{1F317}",names:["last_quarter_moon"],tags:[],description:"last quarter moon",category:"Travel & Places"},{emoji:"\u{1F318}",names:["waning_crescent_moon"],tags:[],description:"waning crescent moon",category:"Travel & Places"},{emoji:"\u{1F319}",names:["crescent_moon"],tags:["night"],description:"crescent moon",category:"Travel & Places"},{emoji:"\u{1F31A}",names:["new_moon_with_face"],tags:[],description:"new moon face",category:"Travel & Places"},{emoji:"\u{1F31B}",names:["first_quarter_moon_with_face"],tags:[],description:"first quarter moon face",category:"Travel & Places"},{emoji:"\u{1F31C}",names:["last_quarter_moon_with_face"],tags:[],description:"last quarter moon face",category:"Travel & Places"},{emoji:"\u{1F321}\uFE0F",names:["thermometer"],tags:[],description:"thermometer",category:"Travel & Places"},{emoji:"\u2600\uFE0F",names:["sunny"],tags:["weather"],description:"sun",category:"Travel & Places"},{emoji:"\u{1F31D}",names:["full_moon_with_face"],tags:[],description:"full moon face",category:"Travel & Places"},{emoji:"\u{1F31E}",names:["sun_with_face"],tags:["summer"],description:"sun with face",category:"Travel & Places"},{emoji:"\u{1FA90}",names:["ringed_planet"],tags:[],description:"ringed planet",category:"Travel & Places"},{emoji:"\u2B50",names:["star"],tags:[],description:"star",category:"Travel & Places"},{emoji:"\u{1F31F}",names:["star2"],tags:[],description:"glowing star",category:"Travel & Places"},{emoji:"\u{1F320}",names:["stars"],tags:[],description:"shooting star",category:"Travel & Places"},{emoji:"\u{1F30C}",names:["milky_way"],tags:[],description:"milky way",category:"Travel & Places"},{emoji:"\u2601\uFE0F",names:["cloud"],tags:[],description:"cloud",category:"Travel & Places"},{emoji:"\u26C5",names:["partly_sunny"],tags:["weather","cloud"],description:"sun behind cloud",category:"Travel & Places"},{emoji:"\u26C8\uFE0F",names:["cloud_with_lightning_and_rain"],tags:[],description:"cloud with lightning and rain",category:"Travel & Places"},{emoji:"\u{1F324}\uFE0F",names:["sun_behind_small_cloud"],tags:[],description:"sun behind small cloud",category:"Travel & Places"},{emoji:"\u{1F325}\uFE0F",names:["sun_behind_large_cloud"],tags:[],description:"sun behind large cloud",category:"Travel & Places"},{emoji:"\u{1F326}\uFE0F",names:["sun_behind_rain_cloud"],tags:[],description:"sun behind rain cloud",category:"Travel & Places"},{emoji:"\u{1F327}\uFE0F",names:["cloud_with_rain"],tags:[],description:"cloud with rain",category:"Travel & Places"},{emoji:"\u{1F328}\uFE0F",names:["cloud_with_snow"],tags:[],description:"cloud with snow",category:"Travel & Places"},{emoji:"\u{1F329}\uFE0F",names:["cloud_with_lightning"],tags:[],description:"cloud with lightning",category:"Travel & Places"},{emoji:"\u{1F32A}\uFE0F",names:["tornado"],tags:[],description:"tornado",category:"Travel & Places"},{emoji:"\u{1F32B}\uFE0F",names:["fog"],tags:[],description:"fog",category:"Travel & Places"},{emoji:"\u{1F32C}\uFE0F",names:["wind_face"],tags:[],description:"wind face",category:"Travel & Places"},{emoji:"\u{1F300}",names:["cyclone"],tags:["swirl"],description:"cyclone",category:"Travel & Places"},{emoji:"\u{1F308}",names:["rainbow"],tags:[],description:"rainbow",category:"Travel & Places"},{emoji:"\u{1F302}",names:["closed_umbrella"],tags:["weather","rain"],description:"closed umbrella",category:"Travel & Places"},{emoji:"\u2602\uFE0F",names:["open_umbrella"],tags:[],description:"umbrella",category:"Travel & Places"},{emoji:"\u2614",names:["umbrella"],tags:["rain","weather"],description:"umbrella with rain drops",category:"Travel & Places"},{emoji:"\u26F1\uFE0F",names:["parasol_on_ground"],tags:["beach_umbrella"],description:"umbrella on ground",category:"Travel & Places"},{emoji:"\u26A1",names:["zap"],tags:["lightning","thunder"],description:"high voltage",category:"Travel & Places"},{emoji:"\u2744\uFE0F",names:["snowflake"],tags:["winter","cold","weather"],description:"snowflake",category:"Travel & Places"},{emoji:"\u2603\uFE0F",names:["snowman_with_snow"],tags:["winter","christmas"],description:"snowman",category:"Travel & Places"},{emoji:"\u26C4",names:["snowman"],tags:["winter"],description:"snowman without snow",category:"Travel & Places"},{emoji:"\u2604\uFE0F",names:["comet"],tags:[],description:"comet",category:"Travel & Places"},{emoji:"\u{1F525}",names:["fire"],tags:["burn"],description:"fire",category:"Travel & Places"},{emoji:"\u{1F4A7}",names:["droplet"],tags:["water"],description:"droplet",category:"Travel & Places"},{emoji:"\u{1F30A}",names:["ocean"],tags:["sea"],description:"water wave",category:"Travel & Places"},{emoji:"\u{1F383}",names:["jack_o_lantern"],tags:["halloween"],description:"jack-o-lantern",category:"Activities"},{emoji:"\u{1F384}",names:["christmas_tree"],tags:[],description:"Christmas tree",category:"Activities"},{emoji:"\u{1F386}",names:["fireworks"],tags:["festival","celebration"],description:"fireworks",category:"Activities"},{emoji:"\u{1F387}",names:["sparkler"],tags:[],description:"sparkler",category:"Activities"},{emoji:"\u{1F9E8}",names:["firecracker"],tags:[],description:"firecracker",category:"Activities"},{emoji:"\u2728",names:["sparkles"],tags:["shiny"],description:"sparkles",category:"Activities"},{emoji:"\u{1F388}",names:["balloon"],tags:["party","birthday"],description:"balloon",category:"Activities"},{emoji:"\u{1F389}",names:["tada"],tags:["hooray","party"],description:"party popper",category:"Activities"},{emoji:"\u{1F38A}",names:["confetti_ball"],tags:[],description:"confetti ball",category:"Activities"},{emoji:"\u{1F38B}",names:["tanabata_tree"],tags:[],description:"tanabata tree",category:"Activities"},{emoji:"\u{1F38D}",names:["bamboo"],tags:[],description:"pine decoration",category:"Activities"},{emoji:"\u{1F38E}",names:["dolls"],tags:[],description:"Japanese dolls",category:"Activities"},{emoji:"\u{1F38F}",names:["flags"],tags:[],description:"carp streamer",category:"Activities"},{emoji:"\u{1F390}",names:["wind_chime"],tags:[],description:"wind chime",category:"Activities"},{emoji:"\u{1F391}",names:["rice_scene"],tags:[],description:"moon viewing ceremony",category:"Activities"},{emoji:"\u{1F9E7}",names:["red_envelope"],tags:[],description:"red envelope",category:"Activities"},{emoji:"\u{1F380}",names:["ribbon"],tags:[],description:"ribbon",category:"Activities"},{emoji:"\u{1F381}",names:["gift"],tags:["present","birthday","christmas"],description:"wrapped gift",category:"Activities"},{emoji:"\u{1F397}\uFE0F",names:["reminder_ribbon"],tags:[],description:"reminder ribbon",category:"Activities"},{emoji:"\u{1F39F}\uFE0F",names:["tickets"],tags:[],description:"admission tickets",category:"Activities"},{emoji:"\u{1F3AB}",names:["ticket"],tags:[],description:"ticket",category:"Activities"},{emoji:"\u{1F396}\uFE0F",names:["medal_military"],tags:[],description:"military medal",category:"Activities"},{emoji:"\u{1F3C6}",names:["trophy"],tags:["award","contest","winner"],description:"trophy",category:"Activities"},{emoji:"\u{1F3C5}",names:["medal_sports"],tags:["gold","winner"],description:"sports medal",category:"Activities"},{emoji:"\u{1F947}",names:["1st_place_medal"],tags:["gold"],description:"1st place medal",category:"Activities"},{emoji:"\u{1F948}",names:["2nd_place_medal"],tags:["silver"],description:"2nd place medal",category:"Activities"},{emoji:"\u{1F949}",names:["3rd_place_medal"],tags:["bronze"],description:"3rd place medal",category:"Activities"},{emoji:"\u26BD",names:["soccer"],tags:["sports"],description:"soccer ball",category:"Activities"},{emoji:"\u26BE",names:["baseball"],tags:["sports"],description:"baseball",category:"Activities"},{emoji:"\u{1F94E}",names:["softball"],tags:[],description:"softball",category:"Activities"},{emoji:"\u{1F3C0}",names:["basketball"],tags:["sports"],description:"basketball",category:"Activities"},{emoji:"\u{1F3D0}",names:["volleyball"],tags:[],description:"volleyball",category:"Activities"},{emoji:"\u{1F3C8}",names:["football"],tags:["sports"],description:"american football",category:"Activities"},{emoji:"\u{1F3C9}",names:["rugby_football"],tags:[],description:"rugby football",category:"Activities"},{emoji:"\u{1F3BE}",names:["tennis"],tags:["sports"],description:"tennis",category:"Activities"},{emoji:"\u{1F94F}",names:["flying_disc"],tags:[],description:"flying disc",category:"Activities"},{emoji:"\u{1F3B3}",names:["bowling"],tags:[],description:"bowling",category:"Activities"},{emoji:"\u{1F3CF}",names:["cricket_game"],tags:[],description:"cricket game",category:"Activities"},{emoji:"\u{1F3D1}",names:["field_hockey"],tags:[],description:"field hockey",category:"Activities"},{emoji:"\u{1F3D2}",names:["ice_hockey"],tags:[],description:"ice hockey",category:"Activities"},{emoji:"\u{1F94D}",names:["lacrosse"],tags:[],description:"lacrosse",category:"Activities"},{emoji:"\u{1F3D3}",names:["ping_pong"],tags:[],description:"ping pong",category:"Activities"},{emoji:"\u{1F3F8}",names:["badminton"],tags:[],description:"badminton",category:"Activities"},{emoji:"\u{1F94A}",names:["boxing_glove"],tags:[],description:"boxing glove",category:"Activities"},{emoji:"\u{1F94B}",names:["martial_arts_uniform"],tags:[],description:"martial arts uniform",category:"Activities"},{emoji:"\u{1F945}",names:["goal_net"],tags:[],description:"goal net",category:"Activities"},{emoji:"\u26F3",names:["golf"],tags:[],description:"flag in hole",category:"Activities"},{emoji:"\u26F8\uFE0F",names:["ice_skate"],tags:["skating"],description:"ice skate",category:"Activities"},{emoji:"\u{1F3A3}",names:["fishing_pole_and_fish"],tags:[],description:"fishing pole",category:"Activities"},{emoji:"\u{1F93F}",names:["diving_mask"],tags:[],description:"diving mask",category:"Activities"},{emoji:"\u{1F3BD}",names:["running_shirt_with_sash"],tags:["marathon"],description:"running shirt",category:"Activities"},{emoji:"\u{1F3BF}",names:["ski"],tags:[],description:"skis",category:"Activities"},{emoji:"\u{1F6F7}",names:["sled"],tags:[],description:"sled",category:"Activities"},{emoji:"\u{1F94C}",names:["curling_stone"],tags:[],description:"curling stone",category:"Activities"},{emoji:"\u{1F3AF}",names:["dart"],tags:["target"],description:"bullseye",category:"Activities"},{emoji:"\u{1FA80}",names:["yo_yo"],tags:[],description:"yo-yo",category:"Activities"},{emoji:"\u{1FA81}",names:["kite"],tags:[],description:"kite",category:"Activities"},{emoji:"\u{1F52B}",names:["gun"],tags:["shoot","weapon"],description:"water pistol",category:"Activities"},{emoji:"\u{1F3B1}",names:["8ball"],tags:["pool","billiards"],description:"pool 8 ball",category:"Activities"},{emoji:"\u{1F52E}",names:["crystal_ball"],tags:["fortune"],description:"crystal ball",category:"Activities"},{emoji:"\u{1FA84}",names:["magic_wand"],tags:[],description:"magic wand",category:"Activities"},{emoji:"\u{1F3AE}",names:["video_game"],tags:["play","controller","console"],description:"video game",category:"Activities"},{emoji:"\u{1F579}\uFE0F",names:["joystick"],tags:[],description:"joystick",category:"Activities"},{emoji:"\u{1F3B0}",names:["slot_machine"],tags:[],description:"slot machine",category:"Activities"},{emoji:"\u{1F3B2}",names:["game_die"],tags:["dice","gambling"],description:"game die",category:"Activities"},{emoji:"\u{1F9E9}",names:["jigsaw"],tags:[],description:"puzzle piece",category:"Activities"},{emoji:"\u{1F9F8}",names:["teddy_bear"],tags:[],description:"teddy bear",category:"Activities"},{emoji:"\u{1FA85}",names:["pinata"],tags:[],description:"pi\xF1ata",category:"Activities"},{emoji:"\u{1FAA9}",names:["mirror_ball"],tags:["disco","party"],description:"mirror ball",category:"Activities"},{emoji:"\u{1FA86}",names:["nesting_dolls"],tags:[],description:"nesting dolls",category:"Activities"},{emoji:"\u2660\uFE0F",names:["spades"],tags:[],description:"spade suit",category:"Activities"},{emoji:"\u2665\uFE0F",names:["hearts"],tags:[],description:"heart suit",category:"Activities"},{emoji:"\u2666\uFE0F",names:["diamonds"],tags:[],description:"diamond suit",category:"Activities"},{emoji:"\u2663\uFE0F",names:["clubs"],tags:[],description:"club suit",category:"Activities"},{emoji:"\u265F\uFE0F",names:["chess_pawn"],tags:[],description:"chess pawn",category:"Activities"},{emoji:"\u{1F0CF}",names:["black_joker"],tags:[],description:"joker",category:"Activities"},{emoji:"\u{1F004}",names:["mahjong"],tags:[],description:"mahjong red dragon",category:"Activities"},{emoji:"\u{1F3B4}",names:["flower_playing_cards"],tags:[],description:"flower playing cards",category:"Activities"},{emoji:"\u{1F3AD}",names:["performing_arts"],tags:["theater","drama"],description:"performing arts",category:"Activities"},{emoji:"\u{1F5BC}\uFE0F",names:["framed_picture"],tags:[],description:"framed picture",category:"Activities"},{emoji:"\u{1F3A8}",names:["art"],tags:["design","paint"],description:"artist palette",category:"Activities"},{emoji:"\u{1F9F5}",names:["thread"],tags:[],description:"thread",category:"Activities"},{emoji:"\u{1FAA1}",names:["sewing_needle"],tags:[],description:"sewing needle",category:"Activities"},{emoji:"\u{1F9F6}",names:["yarn"],tags:[],description:"yarn",category:"Activities"},{emoji:"\u{1FAA2}",names:["knot"],tags:[],description:"knot",category:"Activities"},{emoji:"\u{1F453}",names:["eyeglasses"],tags:["glasses"],description:"glasses",category:"Objects"},{emoji:"\u{1F576}\uFE0F",names:["dark_sunglasses"],tags:[],description:"sunglasses",category:"Objects"},{emoji:"\u{1F97D}",names:["goggles"],tags:[],description:"goggles",category:"Objects"},{emoji:"\u{1F97C}",names:["lab_coat"],tags:[],description:"lab coat",category:"Objects"},{emoji:"\u{1F9BA}",names:["safety_vest"],tags:[],description:"safety vest",category:"Objects"},{emoji:"\u{1F454}",names:["necktie"],tags:["shirt","formal"],description:"necktie",category:"Objects"},{emoji:"\u{1F455}",names:["shirt","tshirt"],tags:[],description:"t-shirt",category:"Objects"},{emoji:"\u{1F456}",names:["jeans"],tags:["pants"],description:"jeans",category:"Objects"},{emoji:"\u{1F9E3}",names:["scarf"],tags:[],description:"scarf",category:"Objects"},{emoji:"\u{1F9E4}",names:["gloves"],tags:[],description:"gloves",category:"Objects"},{emoji:"\u{1F9E5}",names:["coat"],tags:[],description:"coat",category:"Objects"},{emoji:"\u{1F9E6}",names:["socks"],tags:[],description:"socks",category:"Objects"},{emoji:"\u{1F457}",names:["dress"],tags:[],description:"dress",category:"Objects"},{emoji:"\u{1F458}",names:["kimono"],tags:[],description:"kimono",category:"Objects"},{emoji:"\u{1F97B}",names:["sari"],tags:[],description:"sari",category:"Objects"},{emoji:"\u{1FA71}",names:["one_piece_swimsuit"],tags:[],description:"one-piece swimsuit",category:"Objects"},{emoji:"\u{1FA72}",names:["swim_brief"],tags:[],description:"briefs",category:"Objects"},{emoji:"\u{1FA73}",names:["shorts"],tags:[],description:"shorts",category:"Objects"},{emoji:"\u{1F459}",names:["bikini"],tags:["beach"],description:"bikini",category:"Objects"},{emoji:"\u{1F45A}",names:["womans_clothes"],tags:[],description:"woman\u2019s clothes",category:"Objects"},{emoji:"\u{1FAAD}",names:["folding_hand_fan"],tags:["sensu"],description:"folding hand fan",category:"Objects"},{emoji:"\u{1F45B}",names:["purse"],tags:[],description:"purse",category:"Objects"},{emoji:"\u{1F45C}",names:["handbag"],tags:["bag"],description:"handbag",category:"Objects"},{emoji:"\u{1F45D}",names:["pouch"],tags:["bag"],description:"clutch bag",category:"Objects"},{emoji:"\u{1F6CD}\uFE0F",names:["shopping"],tags:["bags"],description:"shopping bags",category:"Objects"},{emoji:"\u{1F392}",names:["school_satchel"],tags:[],description:"backpack",category:"Objects"},{emoji:"\u{1FA74}",names:["thong_sandal"],tags:[],description:"thong sandal",category:"Objects"},{emoji:"\u{1F45E}",names:["mans_shoe","shoe"],tags:[],description:"man\u2019s shoe",category:"Objects"},{emoji:"\u{1F45F}",names:["athletic_shoe"],tags:["sneaker","sport","running"],description:"running shoe",category:"Objects"},{emoji:"\u{1F97E}",names:["hiking_boot"],tags:[],description:"hiking boot",category:"Objects"},{emoji:"\u{1F97F}",names:["flat_shoe"],tags:[],description:"flat shoe",category:"Objects"},{emoji:"\u{1F460}",names:["high_heel"],tags:["shoe"],description:"high-heeled shoe",category:"Objects"},{emoji:"\u{1F461}",names:["sandal"],tags:["shoe"],description:"woman\u2019s sandal",category:"Objects"},{emoji:"\u{1FA70}",names:["ballet_shoes"],tags:[],description:"ballet shoes",category:"Objects"},{emoji:"\u{1F462}",names:["boot"],tags:[],description:"woman\u2019s boot",category:"Objects"},{emoji:"\u{1FAAE}",names:["hair_pick"],tags:[],description:"hair pick",category:"Objects"},{emoji:"\u{1F451}",names:["crown"],tags:["king","queen","royal"],description:"crown",category:"Objects"},{emoji:"\u{1F452}",names:["womans_hat"],tags:[],description:"woman\u2019s hat",category:"Objects"},{emoji:"\u{1F3A9}",names:["tophat"],tags:["hat","classy"],description:"top hat",category:"Objects"},{emoji:"\u{1F393}",names:["mortar_board"],tags:["education","college","university","graduation"],description:"graduation cap",category:"Objects"},{emoji:"\u{1F9E2}",names:["billed_cap"],tags:[],description:"billed cap",category:"Objects"},{emoji:"\u{1FA96}",names:["military_helmet"],tags:[],description:"military helmet",category:"Objects"},{emoji:"\u26D1\uFE0F",names:["rescue_worker_helmet"],tags:[],description:"rescue worker\u2019s helmet",category:"Objects"},{emoji:"\u{1F4FF}",names:["prayer_beads"],tags:[],description:"prayer beads",category:"Objects"},{emoji:"\u{1F484}",names:["lipstick"],tags:["makeup"],description:"lipstick",category:"Objects"},{emoji:"\u{1F48D}",names:["ring"],tags:["wedding","marriage","engaged"],description:"ring",category:"Objects"},{emoji:"\u{1F48E}",names:["gem"],tags:["diamond"],description:"gem stone",category:"Objects"},{emoji:"\u{1F507}",names:["mute"],tags:["sound","volume"],description:"muted speaker",category:"Objects"},{emoji:"\u{1F508}",names:["speaker"],tags:[],description:"speaker low volume",category:"Objects"},{emoji:"\u{1F509}",names:["sound"],tags:["volume"],description:"speaker medium volume",category:"Objects"},{emoji:"\u{1F50A}",names:["loud_sound"],tags:["volume"],description:"speaker high volume",category:"Objects"},{emoji:"\u{1F4E2}",names:["loudspeaker"],tags:["announcement"],description:"loudspeaker",category:"Objects"},{emoji:"\u{1F4E3}",names:["mega"],tags:[],description:"megaphone",category:"Objects"},{emoji:"\u{1F4EF}",names:["postal_horn"],tags:[],description:"postal horn",category:"Objects"},{emoji:"\u{1F514}",names:["bell"],tags:["sound","notification"],description:"bell",category:"Objects"},{emoji:"\u{1F515}",names:["no_bell"],tags:["volume","off"],description:"bell with slash",category:"Objects"},{emoji:"\u{1F3BC}",names:["musical_score"],tags:[],description:"musical score",category:"Objects"},{emoji:"\u{1F3B5}",names:["musical_note"],tags:[],description:"musical note",category:"Objects"},{emoji:"\u{1F3B6}",names:["notes"],tags:["music"],description:"musical notes",category:"Objects"},{emoji:"\u{1F399}\uFE0F",names:["studio_microphone"],tags:["podcast"],description:"studio microphone",category:"Objects"},{emoji:"\u{1F39A}\uFE0F",names:["level_slider"],tags:[],description:"level slider",category:"Objects"},{emoji:"\u{1F39B}\uFE0F",names:["control_knobs"],tags:[],description:"control knobs",category:"Objects"},{emoji:"\u{1F3A4}",names:["microphone"],tags:["sing"],description:"microphone",category:"Objects"},{emoji:"\u{1F3A7}",names:["headphones"],tags:["music","earphones"],description:"headphone",category:"Objects"},{emoji:"\u{1F4FB}",names:["radio"],tags:["podcast"],description:"radio",category:"Objects"},{emoji:"\u{1F3B7}",names:["saxophone"],tags:[],description:"saxophone",category:"Objects"},{emoji:"\u{1FA97}",names:["accordion"],tags:[],description:"accordion",category:"Objects"},{emoji:"\u{1F3B8}",names:["guitar"],tags:["rock"],description:"guitar",category:"Objects"},{emoji:"\u{1F3B9}",names:["musical_keyboard"],tags:["piano"],description:"musical keyboard",category:"Objects"},{emoji:"\u{1F3BA}",names:["trumpet"],tags:[],description:"trumpet",category:"Objects"},{emoji:"\u{1F3BB}",names:["violin"],tags:[],description:"violin",category:"Objects"},{emoji:"\u{1FA95}",names:["banjo"],tags:[],description:"banjo",category:"Objects"},{emoji:"\u{1F941}",names:["drum"],tags:[],description:"drum",category:"Objects"},{emoji:"\u{1FA98}",names:["long_drum"],tags:[],description:"long drum",category:"Objects"},{emoji:"\u{1FA87}",names:["maracas"],tags:["shaker"],description:"maracas",category:"Objects"},{emoji:"\u{1FA88}",names:["flute"],tags:["recorder"],description:"flute",category:"Objects"},{emoji:"\u{1F4F1}",names:["iphone"],tags:["smartphone","mobile"],description:"mobile phone",category:"Objects"},{emoji:"\u{1F4F2}",names:["calling"],tags:["call","incoming"],description:"mobile phone with arrow",category:"Objects"},{emoji:"\u260E\uFE0F",names:["phone","telephone"],tags:[],description:"telephone",category:"Objects"},{emoji:"\u{1F4DE}",names:["telephone_receiver"],tags:["phone","call"],description:"telephone receiver",category:"Objects"},{emoji:"\u{1F4DF}",names:["pager"],tags:[],description:"pager",category:"Objects"},{emoji:"\u{1F4E0}",names:["fax"],tags:[],description:"fax machine",category:"Objects"},{emoji:"\u{1F50B}",names:["battery"],tags:["power"],description:"battery",category:"Objects"},{emoji:"\u{1FAAB}",names:["low_battery"],tags:[],description:"low battery",category:"Objects"},{emoji:"\u{1F50C}",names:["electric_plug"],tags:[],description:"electric plug",category:"Objects"},{emoji:"\u{1F4BB}",names:["computer"],tags:["desktop","screen"],description:"laptop",category:"Objects"},{emoji:"\u{1F5A5}\uFE0F",names:["desktop_computer"],tags:[],description:"desktop computer",category:"Objects"},{emoji:"\u{1F5A8}\uFE0F",names:["printer"],tags:[],description:"printer",category:"Objects"},{emoji:"\u2328\uFE0F",names:["keyboard"],tags:[],description:"keyboard",category:"Objects"},{emoji:"\u{1F5B1}\uFE0F",names:["computer_mouse"],tags:[],description:"computer mouse",category:"Objects"},{emoji:"\u{1F5B2}\uFE0F",names:["trackball"],tags:[],description:"trackball",category:"Objects"},{emoji:"\u{1F4BD}",names:["minidisc"],tags:[],description:"computer disk",category:"Objects"},{emoji:"\u{1F4BE}",names:["floppy_disk"],tags:["save"],description:"floppy disk",category:"Objects"},{emoji:"\u{1F4BF}",names:["cd"],tags:[],description:"optical disk",category:"Objects"},{emoji:"\u{1F4C0}",names:["dvd"],tags:[],description:"dvd",category:"Objects"},{emoji:"\u{1F9EE}",names:["abacus"],tags:[],description:"abacus",category:"Objects"},{emoji:"\u{1F3A5}",names:["movie_camera"],tags:["film","video"],description:"movie camera",category:"Objects"},{emoji:"\u{1F39E}\uFE0F",names:["film_strip"],tags:[],description:"film frames",category:"Objects"},{emoji:"\u{1F4FD}\uFE0F",names:["film_projector"],tags:[],description:"film projector",category:"Objects"},{emoji:"\u{1F3AC}",names:["clapper"],tags:["film"],description:"clapper board",category:"Objects"},{emoji:"\u{1F4FA}",names:["tv"],tags:[],description:"television",category:"Objects"},{emoji:"\u{1F4F7}",names:["camera"],tags:["photo"],description:"camera",category:"Objects"},{emoji:"\u{1F4F8}",names:["camera_flash"],tags:["photo"],description:"camera with flash",category:"Objects"},{emoji:"\u{1F4F9}",names:["video_camera"],tags:[],description:"video camera",category:"Objects"},{emoji:"\u{1F4FC}",names:["vhs"],tags:[],description:"videocassette",category:"Objects"},{emoji:"\u{1F50D}",names:["mag"],tags:["search","zoom"],description:"magnifying glass tilted left",category:"Objects"},{emoji:"\u{1F50E}",names:["mag_right"],tags:[],description:"magnifying glass tilted right",category:"Objects"},{emoji:"\u{1F56F}\uFE0F",names:["candle"],tags:[],description:"candle",category:"Objects"},{emoji:"\u{1F4A1}",names:["bulb"],tags:["idea","light"],description:"light bulb",category:"Objects"},{emoji:"\u{1F526}",names:["flashlight"],tags:[],description:"flashlight",category:"Objects"},{emoji:"\u{1F3EE}",names:["izakaya_lantern","lantern"],tags:[],description:"red paper lantern",category:"Objects"},{emoji:"\u{1FA94}",names:["diya_lamp"],tags:[],description:"diya lamp",category:"Objects"},{emoji:"\u{1F4D4}",names:["notebook_with_decorative_cover"],tags:[],description:"notebook with decorative cover",category:"Objects"},{emoji:"\u{1F4D5}",names:["closed_book"],tags:[],description:"closed book",category:"Objects"},{emoji:"\u{1F4D6}",names:["book","open_book"],tags:[],description:"open book",category:"Objects"},{emoji:"\u{1F4D7}",names:["green_book"],tags:[],description:"green book",category:"Objects"},{emoji:"\u{1F4D8}",names:["blue_book"],tags:[],description:"blue book",category:"Objects"},{emoji:"\u{1F4D9}",names:["orange_book"],tags:[],description:"orange book",category:"Objects"},{emoji:"\u{1F4DA}",names:["books"],tags:["library"],description:"books",category:"Objects"},{emoji:"\u{1F4D3}",names:["notebook"],tags:[],description:"notebook",category:"Objects"},{emoji:"\u{1F4D2}",names:["ledger"],tags:[],description:"ledger",category:"Objects"},{emoji:"\u{1F4C3}",names:["page_with_curl"],tags:[],description:"page with curl",category:"Objects"},{emoji:"\u{1F4DC}",names:["scroll"],tags:["document"],description:"scroll",category:"Objects"},{emoji:"\u{1F4C4}",names:["page_facing_up"],tags:["document"],description:"page facing up",category:"Objects"},{emoji:"\u{1F4F0}",names:["newspaper"],tags:["press"],description:"newspaper",category:"Objects"},{emoji:"\u{1F5DE}\uFE0F",names:["newspaper_roll"],tags:["press"],description:"rolled-up newspaper",category:"Objects"},{emoji:"\u{1F4D1}",names:["bookmark_tabs"],tags:[],description:"bookmark tabs",category:"Objects"},{emoji:"\u{1F516}",names:["bookmark"],tags:[],description:"bookmark",category:"Objects"},{emoji:"\u{1F3F7}\uFE0F",names:["label"],tags:["tag"],description:"label",category:"Objects"},{emoji:"\u{1F4B0}",names:["moneybag"],tags:["dollar","cream"],description:"money bag",category:"Objects"},{emoji:"\u{1FA99}",names:["coin"],tags:[],description:"coin",category:"Objects"},{emoji:"\u{1F4B4}",names:["yen"],tags:[],description:"yen banknote",category:"Objects"},{emoji:"\u{1F4B5}",names:["dollar"],tags:["money"],description:"dollar banknote",category:"Objects"},{emoji:"\u{1F4B6}",names:["euro"],tags:[],description:"euro banknote",category:"Objects"},{emoji:"\u{1F4B7}",names:["pound"],tags:[],description:"pound banknote",category:"Objects"},{emoji:"\u{1F4B8}",names:["money_with_wings"],tags:["dollar"],description:"money with wings",category:"Objects"},{emoji:"\u{1F4B3}",names:["credit_card"],tags:["subscription"],description:"credit card",category:"Objects"},{emoji:"\u{1F9FE}",names:["receipt"],tags:[],description:"receipt",category:"Objects"},{emoji:"\u{1F4B9}",names:["chart"],tags:[],description:"chart increasing with yen",category:"Objects"},{emoji:"\u2709\uFE0F",names:["envelope"],tags:["letter","email"],description:"envelope",category:"Objects"},{emoji:"\u{1F4E7}",names:["email","e-mail"],tags:[],description:"e-mail",category:"Objects"},{emoji:"\u{1F4E8}",names:["incoming_envelope"],tags:[],description:"incoming envelope",category:"Objects"},{emoji:"\u{1F4E9}",names:["envelope_with_arrow"],tags:[],description:"envelope with arrow",category:"Objects"},{emoji:"\u{1F4E4}",names:["outbox_tray"],tags:[],description:"outbox tray",category:"Objects"},{emoji:"\u{1F4E5}",names:["inbox_tray"],tags:[],description:"inbox tray",category:"Objects"},{emoji:"\u{1F4E6}",names:["package"],tags:["shipping"],description:"package",category:"Objects"},{emoji:"\u{1F4EB}",names:["mailbox"],tags:[],description:"closed mailbox with raised flag",category:"Objects"},{emoji:"\u{1F4EA}",names:["mailbox_closed"],tags:[],description:"closed mailbox with lowered flag",category:"Objects"},{emoji:"\u{1F4EC}",names:["mailbox_with_mail"],tags:[],description:"open mailbox with raised flag",category:"Objects"},{emoji:"\u{1F4ED}",names:["mailbox_with_no_mail"],tags:[],description:"open mailbox with lowered flag",category:"Objects"},{emoji:"\u{1F4EE}",names:["postbox"],tags:[],description:"postbox",category:"Objects"},{emoji:"\u{1F5F3}\uFE0F",names:["ballot_box"],tags:[],description:"ballot box with ballot",category:"Objects"},{emoji:"\u270F\uFE0F",names:["pencil2"],tags:[],description:"pencil",category:"Objects"},{emoji:"\u2712\uFE0F",names:["black_nib"],tags:[],description:"black nib",category:"Objects"},{emoji:"\u{1F58B}\uFE0F",names:["fountain_pen"],tags:[],description:"fountain pen",category:"Objects"},{emoji:"\u{1F58A}\uFE0F",names:["pen"],tags:[],description:"pen",category:"Objects"},{emoji:"\u{1F58C}\uFE0F",names:["paintbrush"],tags:[],description:"paintbrush",category:"Objects"},{emoji:"\u{1F58D}\uFE0F",names:["crayon"],tags:[],description:"crayon",category:"Objects"},{emoji:"\u{1F4DD}",names:["memo","pencil"],tags:["document","note"],description:"memo",category:"Objects"},{emoji:"\u{1F4BC}",names:["briefcase"],tags:["business"],description:"briefcase",category:"Objects"},{emoji:"\u{1F4C1}",names:["file_folder"],tags:["directory"],description:"file folder",category:"Objects"},{emoji:"\u{1F4C2}",names:["open_file_folder"],tags:[],description:"open file folder",category:"Objects"},{emoji:"\u{1F5C2}\uFE0F",names:["card_index_dividers"],tags:[],description:"card index dividers",category:"Objects"},{emoji:"\u{1F4C5}",names:["date"],tags:["calendar","schedule"],description:"calendar",category:"Objects"},{emoji:"\u{1F4C6}",names:["calendar"],tags:["schedule"],description:"tear-off calendar",category:"Objects"},{emoji:"\u{1F5D2}\uFE0F",names:["spiral_notepad"],tags:[],description:"spiral notepad",category:"Objects"},{emoji:"\u{1F5D3}\uFE0F",names:["spiral_calendar"],tags:[],description:"spiral calendar",category:"Objects"},{emoji:"\u{1F4C7}",names:["card_index"],tags:[],description:"card index",category:"Objects"},{emoji:"\u{1F4C8}",names:["chart_with_upwards_trend"],tags:["graph","metrics"],description:"chart increasing",category:"Objects"},{emoji:"\u{1F4C9}",names:["chart_with_downwards_trend"],tags:["graph","metrics"],description:"chart decreasing",category:"Objects"},{emoji:"\u{1F4CA}",names:["bar_chart"],tags:["stats","metrics"],description:"bar chart",category:"Objects"},{emoji:"\u{1F4CB}",names:["clipboard"],tags:[],description:"clipboard",category:"Objects"},{emoji:"\u{1F4CC}",names:["pushpin"],tags:["location"],description:"pushpin",category:"Objects"},{emoji:"\u{1F4CD}",names:["round_pushpin"],tags:["location"],description:"round pushpin",category:"Objects"},{emoji:"\u{1F4CE}",names:["paperclip"],tags:[],description:"paperclip",category:"Objects"},{emoji:"\u{1F587}\uFE0F",names:["paperclips"],tags:[],description:"linked paperclips",category:"Objects"},{emoji:"\u{1F4CF}",names:["straight_ruler"],tags:[],description:"straight ruler",category:"Objects"},{emoji:"\u{1F4D0}",names:["triangular_ruler"],tags:[],description:"triangular ruler",category:"Objects"},{emoji:"\u2702\uFE0F",names:["scissors"],tags:["cut"],description:"scissors",category:"Objects"},{emoji:"\u{1F5C3}\uFE0F",names:["card_file_box"],tags:[],description:"card file box",category:"Objects"},{emoji:"\u{1F5C4}\uFE0F",names:["file_cabinet"],tags:[],description:"file cabinet",category:"Objects"},{emoji:"\u{1F5D1}\uFE0F",names:["wastebasket"],tags:["trash"],description:"wastebasket",category:"Objects"},{emoji:"\u{1F512}",names:["lock"],tags:["security","private"],description:"locked",category:"Objects"},{emoji:"\u{1F513}",names:["unlock"],tags:["security"],description:"unlocked",category:"Objects"},{emoji:"\u{1F50F}",names:["lock_with_ink_pen"],tags:[],description:"locked with pen",category:"Objects"},{emoji:"\u{1F510}",names:["closed_lock_with_key"],tags:["security"],description:"locked with key",category:"Objects"},{emoji:"\u{1F511}",names:["key"],tags:["lock","password"],description:"key",category:"Objects"},{emoji:"\u{1F5DD}\uFE0F",names:["old_key"],tags:[],description:"old key",category:"Objects"},{emoji:"\u{1F528}",names:["hammer"],tags:["tool"],description:"hammer",category:"Objects"},{emoji:"\u{1FA93}",names:["axe"],tags:[],description:"axe",category:"Objects"},{emoji:"\u26CF\uFE0F",names:["pick"],tags:[],description:"pick",category:"Objects"},{emoji:"\u2692\uFE0F",names:["hammer_and_pick"],tags:[],description:"hammer and pick",category:"Objects"},{emoji:"\u{1F6E0}\uFE0F",names:["hammer_and_wrench"],tags:[],description:"hammer and wrench",category:"Objects"},{emoji:"\u{1F5E1}\uFE0F",names:["dagger"],tags:[],description:"dagger",category:"Objects"},{emoji:"\u2694\uFE0F",names:["crossed_swords"],tags:[],description:"crossed swords",category:"Objects"},{emoji:"\u{1F4A3}",names:["bomb"],tags:["boom"],description:"bomb",category:"Objects"},{emoji:"\u{1FA83}",names:["boomerang"],tags:[],description:"boomerang",category:"Objects"},{emoji:"\u{1F3F9}",names:["bow_and_arrow"],tags:["archery"],description:"bow and arrow",category:"Objects"},{emoji:"\u{1F6E1}\uFE0F",names:["shield"],tags:[],description:"shield",category:"Objects"},{emoji:"\u{1FA9A}",names:["carpentry_saw"],tags:[],description:"carpentry saw",category:"Objects"},{emoji:"\u{1F527}",names:["wrench"],tags:["tool"],description:"wrench",category:"Objects"},{emoji:"\u{1FA9B}",names:["screwdriver"],tags:[],description:"screwdriver",category:"Objects"},{emoji:"\u{1F529}",names:["nut_and_bolt"],tags:[],description:"nut and bolt",category:"Objects"},{emoji:"\u2699\uFE0F",names:["gear"],tags:[],description:"gear",category:"Objects"},{emoji:"\u{1F5DC}\uFE0F",names:["clamp"],tags:[],description:"clamp",category:"Objects"},{emoji:"\u2696\uFE0F",names:["balance_scale"],tags:[],description:"balance scale",category:"Objects"},{emoji:"\u{1F9AF}",names:["probing_cane"],tags:[],description:"white cane",category:"Objects"},{emoji:"\u{1F517}",names:["link"],tags:[],description:"link",category:"Objects"},{emoji:"\u26D3\uFE0F",names:["chains"],tags:[],description:"chains",category:"Objects"},{emoji:"\u{1FA9D}",names:["hook"],tags:[],description:"hook",category:"Objects"},{emoji:"\u{1F9F0}",names:["toolbox"],tags:[],description:"toolbox",category:"Objects"},{emoji:"\u{1F9F2}",names:["magnet"],tags:[],description:"magnet",category:"Objects"},{emoji:"\u{1FA9C}",names:["ladder"],tags:[],description:"ladder",category:"Objects"},{emoji:"\u2697\uFE0F",names:["alembic"],tags:[],description:"alembic",category:"Objects"},{emoji:"\u{1F9EA}",names:["test_tube"],tags:[],description:"test tube",category:"Objects"},{emoji:"\u{1F9EB}",names:["petri_dish"],tags:[],description:"petri dish",category:"Objects"},{emoji:"\u{1F9EC}",names:["dna"],tags:[],description:"dna",category:"Objects"},{emoji:"\u{1F52C}",names:["microscope"],tags:["science","laboratory","investigate"],description:"microscope",category:"Objects"},{emoji:"\u{1F52D}",names:["telescope"],tags:[],description:"telescope",category:"Objects"},{emoji:"\u{1F4E1}",names:["satellite"],tags:["signal"],description:"satellite antenna",category:"Objects"},{emoji:"\u{1F489}",names:["syringe"],tags:["health","hospital","needle"],description:"syringe",category:"Objects"},{emoji:"\u{1FA78}",names:["drop_of_blood"],tags:[],description:"drop of blood",category:"Objects"},{emoji:"\u{1F48A}",names:["pill"],tags:["health","medicine"],description:"pill",category:"Objects"},{emoji:"\u{1FA79}",names:["adhesive_bandage"],tags:[],description:"adhesive bandage",category:"Objects"},{emoji:"\u{1FA7C}",names:["crutch"],tags:[],description:"crutch",category:"Objects"},{emoji:"\u{1FA7A}",names:["stethoscope"],tags:[],description:"stethoscope",category:"Objects"},{emoji:"\u{1FA7B}",names:["x_ray"],tags:[],description:"x-ray",category:"Objects"},{emoji:"\u{1F6AA}",names:["door"],tags:[],description:"door",category:"Objects"},{emoji:"\u{1F6D7}",names:["elevator"],tags:[],description:"elevator",category:"Objects"},{emoji:"\u{1FA9E}",names:["mirror"],tags:[],description:"mirror",category:"Objects"},{emoji:"\u{1FA9F}",names:["window"],tags:[],description:"window",category:"Objects"},{emoji:"\u{1F6CF}\uFE0F",names:["bed"],tags:[],description:"bed",category:"Objects"},{emoji:"\u{1F6CB}\uFE0F",names:["couch_and_lamp"],tags:[],description:"couch and lamp",category:"Objects"},{emoji:"\u{1FA91}",names:["chair"],tags:[],description:"chair",category:"Objects"},{emoji:"\u{1F6BD}",names:["toilet"],tags:["wc"],description:"toilet",category:"Objects"},{emoji:"\u{1FAA0}",names:["plunger"],tags:[],description:"plunger",category:"Objects"},{emoji:"\u{1F6BF}",names:["shower"],tags:["bath"],description:"shower",category:"Objects"},{emoji:"\u{1F6C1}",names:["bathtub"],tags:[],description:"bathtub",category:"Objects"},{emoji:"\u{1FAA4}",names:["mouse_trap"],tags:[],description:"mouse trap",category:"Objects"},{emoji:"\u{1FA92}",names:["razor"],tags:[],description:"razor",category:"Objects"},{emoji:"\u{1F9F4}",names:["lotion_bottle"],tags:[],description:"lotion bottle",category:"Objects"},{emoji:"\u{1F9F7}",names:["safety_pin"],tags:[],description:"safety pin",category:"Objects"},{emoji:"\u{1F9F9}",names:["broom"],tags:[],description:"broom",category:"Objects"},{emoji:"\u{1F9FA}",names:["basket"],tags:[],description:"basket",category:"Objects"},{emoji:"\u{1F9FB}",names:["roll_of_paper"],tags:["toilet"],description:"roll of paper",category:"Objects"},{emoji:"\u{1FAA3}",names:["bucket"],tags:[],description:"bucket",category:"Objects"},{emoji:"\u{1F9FC}",names:["soap"],tags:[],description:"soap",category:"Objects"},{emoji:"\u{1FAE7}",names:["bubbles"],tags:[],description:"bubbles",category:"Objects"},{emoji:"\u{1FAA5}",names:["toothbrush"],tags:[],description:"toothbrush",category:"Objects"},{emoji:"\u{1F9FD}",names:["sponge"],tags:[],description:"sponge",category:"Objects"},{emoji:"\u{1F9EF}",names:["fire_extinguisher"],tags:[],description:"fire extinguisher",category:"Objects"},{emoji:"\u{1F6D2}",names:["shopping_cart"],tags:[],description:"shopping cart",category:"Objects"},{emoji:"\u{1F6AC}",names:["smoking"],tags:["cigarette"],description:"cigarette",category:"Objects"},{emoji:"\u26B0\uFE0F",names:["coffin"],tags:["funeral"],description:"coffin",category:"Objects"},{emoji:"\u{1FAA6}",names:["headstone"],tags:[],description:"headstone",category:"Objects"},{emoji:"\u26B1\uFE0F",names:["funeral_urn"],tags:[],description:"funeral urn",category:"Objects"},{emoji:"\u{1F9FF}",names:["nazar_amulet"],tags:[],description:"nazar amulet",category:"Objects"},{emoji:"\u{1FAAC}",names:["hamsa"],tags:[],description:"hamsa",category:"Objects"},{emoji:"\u{1F5FF}",names:["moyai"],tags:["stone"],description:"moai",category:"Objects"},{emoji:"\u{1FAA7}",names:["placard"],tags:[],description:"placard",category:"Objects"},{emoji:"\u{1FAAA}",names:["identification_card"],tags:[],description:"identification card",category:"Objects"},{emoji:"\u{1F3E7}",names:["atm"],tags:[],description:"ATM sign",category:"Symbols"},{emoji:"\u{1F6AE}",names:["put_litter_in_its_place"],tags:[],description:"litter in bin sign",category:"Symbols"},{emoji:"\u{1F6B0}",names:["potable_water"],tags:[],description:"potable water",category:"Symbols"},{emoji:"\u267F",names:["wheelchair"],tags:["accessibility"],description:"wheelchair symbol",category:"Symbols"},{emoji:"\u{1F6B9}",names:["mens"],tags:[],description:"men\u2019s room",category:"Symbols"},{emoji:"\u{1F6BA}",names:["womens"],tags:[],description:"women\u2019s room",category:"Symbols"},{emoji:"\u{1F6BB}",names:["restroom"],tags:["toilet"],description:"restroom",category:"Symbols"},{emoji:"\u{1F6BC}",names:["baby_symbol"],tags:[],description:"baby symbol",category:"Symbols"},{emoji:"\u{1F6BE}",names:["wc"],tags:["toilet","restroom"],description:"water closet",category:"Symbols"},{emoji:"\u{1F6C2}",names:["passport_control"],tags:[],description:"passport control",category:"Symbols"},{emoji:"\u{1F6C3}",names:["customs"],tags:[],description:"customs",category:"Symbols"},{emoji:"\u{1F6C4}",names:["baggage_claim"],tags:["airport"],description:"baggage claim",category:"Symbols"},{emoji:"\u{1F6C5}",names:["left_luggage"],tags:[],description:"left luggage",category:"Symbols"},{emoji:"\u26A0\uFE0F",names:["warning"],tags:["wip"],description:"warning",category:"Symbols"},{emoji:"\u{1F6B8}",names:["children_crossing"],tags:[],description:"children crossing",category:"Symbols"},{emoji:"\u26D4",names:["no_entry"],tags:["limit"],description:"no entry",category:"Symbols"},{emoji:"\u{1F6AB}",names:["no_entry_sign"],tags:["block","forbidden"],description:"prohibited",category:"Symbols"},{emoji:"\u{1F6B3}",names:["no_bicycles"],tags:[],description:"no bicycles",category:"Symbols"},{emoji:"\u{1F6AD}",names:["no_smoking"],tags:[],description:"no smoking",category:"Symbols"},{emoji:"\u{1F6AF}",names:["do_not_litter"],tags:[],description:"no littering",category:"Symbols"},{emoji:"\u{1F6B1}",names:["non-potable_water"],tags:[],description:"non-potable water",category:"Symbols"},{emoji:"\u{1F6B7}",names:["no_pedestrians"],tags:[],description:"no pedestrians",category:"Symbols"},{emoji:"\u{1F4F5}",names:["no_mobile_phones"],tags:[],description:"no mobile phones",category:"Symbols"},{emoji:"\u{1F51E}",names:["underage"],tags:[],description:"no one under eighteen",category:"Symbols"},{emoji:"\u2622\uFE0F",names:["radioactive"],tags:[],description:"radioactive",category:"Symbols"},{emoji:"\u2623\uFE0F",names:["biohazard"],tags:[],description:"biohazard",category:"Symbols"},{emoji:"\u2B06\uFE0F",names:["arrow_up"],tags:[],description:"up arrow",category:"Symbols"},{emoji:"\u2197\uFE0F",names:["arrow_upper_right"],tags:[],description:"up-right arrow",category:"Symbols"},{emoji:"\u27A1\uFE0F",names:["arrow_right"],tags:[],description:"right arrow",category:"Symbols"},{emoji:"\u2198\uFE0F",names:["arrow_lower_right"],tags:[],description:"down-right arrow",category:"Symbols"},{emoji:"\u2B07\uFE0F",names:["arrow_down"],tags:[],description:"down arrow",category:"Symbols"},{emoji:"\u2199\uFE0F",names:["arrow_lower_left"],tags:[],description:"down-left arrow",category:"Symbols"},{emoji:"\u2B05\uFE0F",names:["arrow_left"],tags:[],description:"left arrow",category:"Symbols"},{emoji:"\u2196\uFE0F",names:["arrow_upper_left"],tags:[],description:"up-left arrow",category:"Symbols"},{emoji:"\u2195\uFE0F",names:["arrow_up_down"],tags:[],description:"up-down arrow",category:"Symbols"},{emoji:"\u2194\uFE0F",names:["left_right_arrow"],tags:[],description:"left-right arrow",category:"Symbols"},{emoji:"\u21A9\uFE0F",names:["leftwards_arrow_with_hook"],tags:["return"],description:"right arrow curving left",category:"Symbols"},{emoji:"\u21AA\uFE0F",names:["arrow_right_hook"],tags:[],description:"left arrow curving right",category:"Symbols"},{emoji:"\u2934\uFE0F",names:["arrow_heading_up"],tags:[],description:"right arrow curving up",category:"Symbols"},{emoji:"\u2935\uFE0F",names:["arrow_heading_down"],tags:[],description:"right arrow curving down",category:"Symbols"},{emoji:"\u{1F503}",names:["arrows_clockwise"],tags:[],description:"clockwise vertical arrows",category:"Symbols"},{emoji:"\u{1F504}",names:["arrows_counterclockwise"],tags:["sync"],description:"counterclockwise arrows button",category:"Symbols"},{emoji:"\u{1F519}",names:["back"],tags:[],description:"BACK arrow",category:"Symbols"},{emoji:"\u{1F51A}",names:["end"],tags:[],description:"END arrow",category:"Symbols"},{emoji:"\u{1F51B}",names:["on"],tags:[],description:"ON! arrow",category:"Symbols"},{emoji:"\u{1F51C}",names:["soon"],tags:[],description:"SOON arrow",category:"Symbols"},{emoji:"\u{1F51D}",names:["top"],tags:[],description:"TOP arrow",category:"Symbols"},{emoji:"\u{1F6D0}",names:["place_of_worship"],tags:[],description:"place of worship",category:"Symbols"},{emoji:"\u269B\uFE0F",names:["atom_symbol"],tags:[],description:"atom symbol",category:"Symbols"},{emoji:"\u{1F549}\uFE0F",names:["om"],tags:[],description:"om",category:"Symbols"},{emoji:"\u2721\uFE0F",names:["star_of_david"],tags:[],description:"star of David",category:"Symbols"},{emoji:"\u2638\uFE0F",names:["wheel_of_dharma"],tags:[],description:"wheel of dharma",category:"Symbols"},{emoji:"\u262F\uFE0F",names:["yin_yang"],tags:[],description:"yin yang",category:"Symbols"},{emoji:"\u271D\uFE0F",names:["latin_cross"],tags:[],description:"latin cross",category:"Symbols"},{emoji:"\u2626\uFE0F",names:["orthodox_cross"],tags:[],description:"orthodox cross",category:"Symbols"},{emoji:"\u262A\uFE0F",names:["star_and_crescent"],tags:[],description:"star and crescent",category:"Symbols"},{emoji:"\u262E\uFE0F",names:["peace_symbol"],tags:[],description:"peace symbol",category:"Symbols"},{emoji:"\u{1F54E}",names:["menorah"],tags:[],description:"menorah",category:"Symbols"},{emoji:"\u{1F52F}",names:["six_pointed_star"],tags:[],description:"dotted six-pointed star",category:"Symbols"},{emoji:"\u{1FAAF}",names:["khanda"],tags:[],description:"khanda",category:"Symbols"},{emoji:"\u2648",names:["aries"],tags:[],description:"Aries",category:"Symbols"},{emoji:"\u2649",names:["taurus"],tags:[],description:"Taurus",category:"Symbols"},{emoji:"\u264A",names:["gemini"],tags:[],description:"Gemini",category:"Symbols"},{emoji:"\u264B",names:["cancer"],tags:[],description:"Cancer",category:"Symbols"},{emoji:"\u264C",names:["leo"],tags:[],description:"Leo",category:"Symbols"},{emoji:"\u264D",names:["virgo"],tags:[],description:"Virgo",category:"Symbols"},{emoji:"\u264E",names:["libra"],tags:[],description:"Libra",category:"Symbols"},{emoji:"\u264F",names:["scorpius"],tags:[],description:"Scorpio",category:"Symbols"},{emoji:"\u2650",names:["sagittarius"],tags:[],description:"Sagittarius",category:"Symbols"},{emoji:"\u2651",names:["capricorn"],tags:[],description:"Capricorn",category:"Symbols"},{emoji:"\u2652",names:["aquarius"],tags:[],description:"Aquarius",category:"Symbols"},{emoji:"\u2653",names:["pisces"],tags:[],description:"Pisces",category:"Symbols"},{emoji:"\u26CE",names:["ophiuchus"],tags:[],description:"Ophiuchus",category:"Symbols"},{emoji:"\u{1F500}",names:["twisted_rightwards_arrows"],tags:["shuffle"],description:"shuffle tracks button",category:"Symbols"},{emoji:"\u{1F501}",names:["repeat"],tags:["loop"],description:"repeat button",category:"Symbols"},{emoji:"\u{1F502}",names:["repeat_one"],tags:[],description:"repeat single button",category:"Symbols"},{emoji:"\u25B6\uFE0F",names:["arrow_forward"],tags:[],description:"play button",category:"Symbols"},{emoji:"\u23E9",names:["fast_forward"],tags:[],description:"fast-forward button",category:"Symbols"},{emoji:"\u23ED\uFE0F",names:["next_track_button"],tags:[],description:"next track button",category:"Symbols"},{emoji:"\u23EF\uFE0F",names:["play_or_pause_button"],tags:[],description:"play or pause button",category:"Symbols"},{emoji:"\u25C0\uFE0F",names:["arrow_backward"],tags:[],description:"reverse button",category:"Symbols"},{emoji:"\u23EA",names:["rewind"],tags:[],description:"fast reverse button",category:"Symbols"},{emoji:"\u23EE\uFE0F",names:["previous_track_button"],tags:[],description:"last track button",category:"Symbols"},{emoji:"\u{1F53C}",names:["arrow_up_small"],tags:[],description:"upwards button",category:"Symbols"},{emoji:"\u23EB",names:["arrow_double_up"],tags:[],description:"fast up button",category:"Symbols"},{emoji:"\u{1F53D}",names:["arrow_down_small"],tags:[],description:"downwards button",category:"Symbols"},{emoji:"\u23EC",names:["arrow_double_down"],tags:[],description:"fast down button",category:"Symbols"},{emoji:"\u23F8\uFE0F",names:["pause_button"],tags:[],description:"pause button",category:"Symbols"},{emoji:"\u23F9\uFE0F",names:["stop_button"],tags:[],description:"stop button",category:"Symbols"},{emoji:"\u23FA\uFE0F",names:["record_button"],tags:[],description:"record button",category:"Symbols"},{emoji:"\u23CF\uFE0F",names:["eject_button"],tags:[],description:"eject button",category:"Symbols"},{emoji:"\u{1F3A6}",names:["cinema"],tags:["film","movie"],description:"cinema",category:"Symbols"},{emoji:"\u{1F505}",names:["low_brightness"],tags:[],description:"dim button",category:"Symbols"},{emoji:"\u{1F506}",names:["high_brightness"],tags:[],description:"bright button",category:"Symbols"},{emoji:"\u{1F4F6}",names:["signal_strength"],tags:["wifi"],description:"antenna bars",category:"Symbols"},{emoji:"\u{1F6DC}",names:["wireless"],tags:["wifi"],description:"wireless",category:"Symbols"},{emoji:"\u{1F4F3}",names:["vibration_mode"],tags:[],description:"vibration mode",category:"Symbols"},{emoji:"\u{1F4F4}",names:["mobile_phone_off"],tags:["mute","off"],description:"mobile phone off",category:"Symbols"},{emoji:"\u2640\uFE0F",names:["female_sign"],tags:[],description:"female sign",category:"Symbols"},{emoji:"\u2642\uFE0F",names:["male_sign"],tags:[],description:"male sign",category:"Symbols"},{emoji:"\u26A7\uFE0F",names:["transgender_symbol"],tags:[],description:"transgender symbol",category:"Symbols"},{emoji:"\u2716\uFE0F",names:["heavy_multiplication_x"],tags:[],description:"multiply",category:"Symbols"},{emoji:"\u2795",names:["heavy_plus_sign"],tags:[],description:"plus",category:"Symbols"},{emoji:"\u2796",names:["heavy_minus_sign"],tags:[],description:"minus",category:"Symbols"},{emoji:"\u2797",names:["heavy_division_sign"],tags:[],description:"divide",category:"Symbols"},{emoji:"\u{1F7F0}",names:["heavy_equals_sign"],tags:[],description:"heavy equals sign",category:"Symbols"},{emoji:"\u267E\uFE0F",names:["infinity"],tags:[],description:"infinity",category:"Symbols"},{emoji:"\u203C\uFE0F",names:["bangbang"],tags:[],description:"double exclamation mark",category:"Symbols"},{emoji:"\u2049\uFE0F",names:["interrobang"],tags:[],description:"exclamation question mark",category:"Symbols"},{emoji:"\u2753",names:["question"],tags:["confused"],description:"red question mark",category:"Symbols"},{emoji:"\u2754",names:["grey_question"],tags:[],description:"white question mark",category:"Symbols"},{emoji:"\u2755",names:["grey_exclamation"],tags:[],description:"white exclamation mark",category:"Symbols"},{emoji:"\u2757",names:["exclamation","heavy_exclamation_mark"],tags:["bang"],description:"red exclamation mark",category:"Symbols"},{emoji:"\u3030\uFE0F",names:["wavy_dash"],tags:[],description:"wavy dash",category:"Symbols"},{emoji:"\u{1F4B1}",names:["currency_exchange"],tags:[],description:"currency exchange",category:"Symbols"},{emoji:"\u{1F4B2}",names:["heavy_dollar_sign"],tags:[],description:"heavy dollar sign",category:"Symbols"},{emoji:"\u2695\uFE0F",names:["medical_symbol"],tags:[],description:"medical symbol",category:"Symbols"},{emoji:"\u267B\uFE0F",names:["recycle"],tags:["environment","green"],description:"recycling symbol",category:"Symbols"},{emoji:"\u269C\uFE0F",names:["fleur_de_lis"],tags:[],description:"fleur-de-lis",category:"Symbols"},{emoji:"\u{1F531}",names:["trident"],tags:[],description:"trident emblem",category:"Symbols"},{emoji:"\u{1F4DB}",names:["name_badge"],tags:[],description:"name badge",category:"Symbols"},{emoji:"\u{1F530}",names:["beginner"],tags:[],description:"Japanese symbol for beginner",category:"Symbols"},{emoji:"\u2B55",names:["o"],tags:[],description:"hollow red circle",category:"Symbols"},{emoji:"\u2705",names:["white_check_mark"],tags:[],description:"check mark button",category:"Symbols"},{emoji:"\u2611\uFE0F",names:["ballot_box_with_check"],tags:[],description:"check box with check",category:"Symbols"},{emoji:"\u2714\uFE0F",names:["heavy_check_mark"],tags:[],description:"check mark",category:"Symbols"},{emoji:"\u274C",names:["x"],tags:[],description:"cross mark",category:"Symbols"},{emoji:"\u274E",names:["negative_squared_cross_mark"],tags:[],description:"cross mark button",category:"Symbols"},{emoji:"\u27B0",names:["curly_loop"],tags:[],description:"curly loop",category:"Symbols"},{emoji:"\u27BF",names:["loop"],tags:[],description:"double curly loop",category:"Symbols"},{emoji:"\u303D\uFE0F",names:["part_alternation_mark"],tags:[],description:"part alternation mark",category:"Symbols"},{emoji:"\u2733\uFE0F",names:["eight_spoked_asterisk"],tags:[],description:"eight-spoked asterisk",category:"Symbols"},{emoji:"\u2734\uFE0F",names:["eight_pointed_black_star"],tags:[],description:"eight-pointed star",category:"Symbols"},{emoji:"\u2747\uFE0F",names:["sparkle"],tags:[],description:"sparkle",category:"Symbols"},{emoji:"\xA9\uFE0F",names:["copyright"],tags:[],description:"copyright",category:"Symbols"},{emoji:"\xAE\uFE0F",names:["registered"],tags:[],description:"registered",category:"Symbols"},{emoji:"\u2122\uFE0F",names:["tm"],tags:["trademark"],description:"trade mark",category:"Symbols"},{emoji:"#\uFE0F\u20E3",names:["hash"],tags:["number"],description:"keycap: #",category:"Symbols"},{emoji:"*\uFE0F\u20E3",names:["asterisk"],tags:[],description:"keycap: *",category:"Symbols"},{emoji:"0\uFE0F\u20E3",names:["zero"],tags:[],description:"keycap: 0",category:"Symbols"},{emoji:"1\uFE0F\u20E3",names:["one"],tags:[],description:"keycap: 1",category:"Symbols"},{emoji:"2\uFE0F\u20E3",names:["two"],tags:[],description:"keycap: 2",category:"Symbols"},{emoji:"3\uFE0F\u20E3",names:["three"],tags:[],description:"keycap: 3",category:"Symbols"},{emoji:"4\uFE0F\u20E3",names:["four"],tags:[],description:"keycap: 4",category:"Symbols"},{emoji:"5\uFE0F\u20E3",names:["five"],tags:[],description:"keycap: 5",category:"Symbols"},{emoji:"6\uFE0F\u20E3",names:["six"],tags:[],description:"keycap: 6",category:"Symbols"},{emoji:"7\uFE0F\u20E3",names:["seven"],tags:[],description:"keycap: 7",category:"Symbols"},{emoji:"8\uFE0F\u20E3",names:["eight"],tags:[],description:"keycap: 8",category:"Symbols"},{emoji:"9\uFE0F\u20E3",names:["nine"],tags:[],description:"keycap: 9",category:"Symbols"},{emoji:"\u{1F51F}",names:["keycap_ten"],tags:[],description:"keycap: 10",category:"Symbols"},{emoji:"\u{1F520}",names:["capital_abcd"],tags:["letters"],description:"input latin uppercase",category:"Symbols"},{emoji:"\u{1F521}",names:["abcd"],tags:[],description:"input latin lowercase",category:"Symbols"},{emoji:"\u{1F522}",names:["1234"],tags:["numbers"],description:"input numbers",category:"Symbols"},{emoji:"\u{1F523}",names:["symbols"],tags:[],description:"input symbols",category:"Symbols"},{emoji:"\u{1F524}",names:["abc"],tags:["alphabet"],description:"input latin letters",category:"Symbols"},{emoji:"\u{1F170}\uFE0F",names:["a"],tags:[],description:"A button (blood type)",category:"Symbols"},{emoji:"\u{1F18E}",names:["ab"],tags:[],description:"AB button (blood type)",category:"Symbols"},{emoji:"\u{1F171}\uFE0F",names:["b"],tags:[],description:"B button (blood type)",category:"Symbols"},{emoji:"\u{1F191}",names:["cl"],tags:[],description:"CL button",category:"Symbols"},{emoji:"\u{1F192}",names:["cool"],tags:[],description:"COOL button",category:"Symbols"},{emoji:"\u{1F193}",names:["free"],tags:[],description:"FREE button",category:"Symbols"},{emoji:"\u2139\uFE0F",names:["information_source"],tags:[],description:"information",category:"Symbols"},{emoji:"\u{1F194}",names:["id"],tags:[],description:"ID button",category:"Symbols"},{emoji:"\u24C2\uFE0F",names:["m"],tags:[],description:"circled M",category:"Symbols"},{emoji:"\u{1F195}",names:["new"],tags:["fresh"],description:"NEW button",category:"Symbols"},{emoji:"\u{1F196}",names:["ng"],tags:[],description:"NG button",category:"Symbols"},{emoji:"\u{1F17E}\uFE0F",names:["o2"],tags:[],description:"O button (blood type)",category:"Symbols"},{emoji:"\u{1F197}",names:["ok"],tags:["yes"],description:"OK button",category:"Symbols"},{emoji:"\u{1F17F}\uFE0F",names:["parking"],tags:[],description:"P button",category:"Symbols"},{emoji:"\u{1F198}",names:["sos"],tags:["help","emergency"],description:"SOS button",category:"Symbols"},{emoji:"\u{1F199}",names:["up"],tags:[],description:"UP! button",category:"Symbols"},{emoji:"\u{1F19A}",names:["vs"],tags:[],description:"VS button",category:"Symbols"},{emoji:"\u{1F201}",names:["koko"],tags:[],description:"Japanese \u201Chere\u201D button",category:"Symbols"},{emoji:"\u{1F202}\uFE0F",names:["sa"],tags:[],description:"Japanese \u201Cservice charge\u201D button",category:"Symbols"},{emoji:"\u{1F237}\uFE0F",names:["u6708"],tags:[],description:"Japanese \u201Cmonthly amount\u201D button",category:"Symbols"},{emoji:"\u{1F236}",names:["u6709"],tags:[],description:"Japanese \u201Cnot free of charge\u201D button",category:"Symbols"},{emoji:"\u{1F22F}",names:["u6307"],tags:[],description:"Japanese \u201Creserved\u201D button",category:"Symbols"},{emoji:"\u{1F250}",names:["ideograph_advantage"],tags:[],description:"Japanese \u201Cbargain\u201D button",category:"Symbols"},{emoji:"\u{1F239}",names:["u5272"],tags:[],description:"Japanese \u201Cdiscount\u201D button",category:"Symbols"},{emoji:"\u{1F21A}",names:["u7121"],tags:[],description:"Japanese \u201Cfree of charge\u201D button",category:"Symbols"},{emoji:"\u{1F232}",names:["u7981"],tags:[],description:"Japanese \u201Cprohibited\u201D button",category:"Symbols"},{emoji:"\u{1F251}",names:["accept"],tags:[],description:"Japanese \u201Cacceptable\u201D button",category:"Symbols"},{emoji:"\u{1F238}",names:["u7533"],tags:[],description:"Japanese \u201Capplication\u201D button",category:"Symbols"},{emoji:"\u{1F234}",names:["u5408"],tags:[],description:"Japanese \u201Cpassing grade\u201D button",category:"Symbols"},{emoji:"\u{1F233}",names:["u7a7a"],tags:[],description:"Japanese \u201Cvacancy\u201D button",category:"Symbols"},{emoji:"\u3297\uFE0F",names:["congratulations"],tags:[],description:"Japanese \u201Ccongratulations\u201D button",category:"Symbols"},{emoji:"\u3299\uFE0F",names:["secret"],tags:[],description:"Japanese \u201Csecret\u201D button",category:"Symbols"},{emoji:"\u{1F23A}",names:["u55b6"],tags:[],description:"Japanese \u201Copen for business\u201D button",category:"Symbols"},{emoji:"\u{1F235}",names:["u6e80"],tags:[],description:"Japanese \u201Cno vacancy\u201D button",category:"Symbols"},{emoji:"\u{1F534}",names:["red_circle"],tags:[],description:"red circle",category:"Symbols"},{emoji:"\u{1F7E0}",names:["orange_circle"],tags:[],description:"orange circle",category:"Symbols"},{emoji:"\u{1F7E1}",names:["yellow_circle"],tags:[],description:"yellow circle",category:"Symbols"},{emoji:"\u{1F7E2}",names:["green_circle"],tags:[],description:"green circle",category:"Symbols"},{emoji:"\u{1F535}",names:["large_blue_circle"],tags:[],description:"blue circle",category:"Symbols"},{emoji:"\u{1F7E3}",names:["purple_circle"],tags:[],description:"purple circle",category:"Symbols"},{emoji:"\u{1F7E4}",names:["brown_circle"],tags:[],description:"brown circle",category:"Symbols"},{emoji:"\u26AB",names:["black_circle"],tags:[],description:"black circle",category:"Symbols"},{emoji:"\u26AA",names:["white_circle"],tags:[],description:"white circle",category:"Symbols"},{emoji:"\u{1F7E5}",names:["red_square"],tags:[],description:"red square",category:"Symbols"},{emoji:"\u{1F7E7}",names:["orange_square"],tags:[],description:"orange square",category:"Symbols"},{emoji:"\u{1F7E8}",names:["yellow_square"],tags:[],description:"yellow square",category:"Symbols"},{emoji:"\u{1F7E9}",names:["green_square"],tags:[],description:"green square",category:"Symbols"},{emoji:"\u{1F7E6}",names:["blue_square"],tags:[],description:"blue square",category:"Symbols"},{emoji:"\u{1F7EA}",names:["purple_square"],tags:[],description:"purple square",category:"Symbols"},{emoji:"\u{1F7EB}",names:["brown_square"],tags:[],description:"brown square",category:"Symbols"},{emoji:"\u2B1B",names:["black_large_square"],tags:[],description:"black large square",category:"Symbols"},{emoji:"\u2B1C",names:["white_large_square"],tags:[],description:"white large square",category:"Symbols"},{emoji:"\u25FC\uFE0F",names:["black_medium_square"],tags:[],description:"black medium square",category:"Symbols"},{emoji:"\u25FB\uFE0F",names:["white_medium_square"],tags:[],description:"white medium square",category:"Symbols"},{emoji:"\u25FE",names:["black_medium_small_square"],tags:[],description:"black medium-small square",category:"Symbols"},{emoji:"\u25FD",names:["white_medium_small_square"],tags:[],description:"white medium-small square",category:"Symbols"},{emoji:"\u25AA\uFE0F",names:["black_small_square"],tags:[],description:"black small square",category:"Symbols"},{emoji:"\u25AB\uFE0F",names:["white_small_square"],tags:[],description:"white small square",category:"Symbols"},{emoji:"\u{1F536}",names:["large_orange_diamond"],tags:[],description:"large orange diamond",category:"Symbols"},{emoji:"\u{1F537}",names:["large_blue_diamond"],tags:[],description:"large blue diamond",category:"Symbols"},{emoji:"\u{1F538}",names:["small_orange_diamond"],tags:[],description:"small orange diamond",category:"Symbols"},{emoji:"\u{1F539}",names:["small_blue_diamond"],tags:[],description:"small blue diamond",category:"Symbols"},{emoji:"\u{1F53A}",names:["small_red_triangle"],tags:[],description:"red triangle pointed up",category:"Symbols"},{emoji:"\u{1F53B}",names:["small_red_triangle_down"],tags:[],description:"red triangle pointed down",category:"Symbols"},{emoji:"\u{1F4A0}",names:["diamond_shape_with_a_dot_inside"],tags:[],description:"diamond with a dot",category:"Symbols"},{emoji:"\u{1F518}",names:["radio_button"],tags:[],description:"radio button",category:"Symbols"},{emoji:"\u{1F533}",names:["white_square_button"],tags:[],description:"white square button",category:"Symbols"},{emoji:"\u{1F532}",names:["black_square_button"],tags:[],description:"black square button",category:"Symbols"},{emoji:"\u{1F3C1}",names:["checkered_flag"],tags:["milestone","finish"],description:"chequered flag",category:"Flags"},{emoji:"\u{1F6A9}",names:["triangular_flag_on_post"],tags:[],description:"triangular flag",category:"Flags"},{emoji:"\u{1F38C}",names:["crossed_flags"],tags:[],description:"crossed flags",category:"Flags"},{emoji:"\u{1F3F4}",names:["black_flag"],tags:[],description:"black flag",category:"Flags"},{emoji:"\u{1F3F3}\uFE0F",names:["white_flag"],tags:[],description:"white flag",category:"Flags"},{emoji:"\u{1F3F3}\uFE0F\u200D\u{1F308}",names:["rainbow_flag"],tags:["pride"],description:"rainbow flag",category:"Flags"},{emoji:"\u{1F3F3}\uFE0F\u200D\u26A7\uFE0F",names:["transgender_flag"],tags:[],description:"transgender flag",category:"Flags"},{emoji:"\u{1F3F4}\u200D\u2620\uFE0F",names:["pirate_flag"],tags:[],description:"pirate flag",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1E8}",names:["ascension_island"],tags:[],description:"flag: Ascension Island",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1E9}",names:["andorra"],tags:[],description:"flag: Andorra",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EA}",names:["united_arab_emirates"],tags:[],description:"flag: United Arab Emirates",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EB}",names:["afghanistan"],tags:[],description:"flag: Afghanistan",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EC}",names:["antigua_barbuda"],tags:[],description:"flag: Antigua & Barbuda",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1EE}",names:["anguilla"],tags:[],description:"flag: Anguilla",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F1}",names:["albania"],tags:[],description:"flag: Albania",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F2}",names:["armenia"],tags:[],description:"flag: Armenia",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F4}",names:["angola"],tags:[],description:"flag: Angola",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F6}",names:["antarctica"],tags:[],description:"flag: Antarctica",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F7}",names:["argentina"],tags:[],description:"flag: Argentina",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F8}",names:["american_samoa"],tags:[],description:"flag: American Samoa",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1F9}",names:["austria"],tags:[],description:"flag: Austria",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FA}",names:["australia"],tags:[],description:"flag: Australia",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FC}",names:["aruba"],tags:[],description:"flag: Aruba",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FD}",names:["aland_islands"],tags:[],description:"flag: \xC5land Islands",category:"Flags"},{emoji:"\u{1F1E6}\u{1F1FF}",names:["azerbaijan"],tags:[],description:"flag: Azerbaijan",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1E6}",names:["bosnia_herzegovina"],tags:[],description:"flag: Bosnia & Herzegovina",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1E7}",names:["barbados"],tags:[],description:"flag: Barbados",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1E9}",names:["bangladesh"],tags:[],description:"flag: Bangladesh",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EA}",names:["belgium"],tags:[],description:"flag: Belgium",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EB}",names:["burkina_faso"],tags:[],description:"flag: Burkina Faso",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EC}",names:["bulgaria"],tags:[],description:"flag: Bulgaria",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1ED}",names:["bahrain"],tags:[],description:"flag: Bahrain",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EE}",names:["burundi"],tags:[],description:"flag: Burundi",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1EF}",names:["benin"],tags:[],description:"flag: Benin",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F1}",names:["st_barthelemy"],tags:[],description:"flag: St. Barth\xE9lemy",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F2}",names:["bermuda"],tags:[],description:"flag: Bermuda",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F3}",names:["brunei"],tags:[],description:"flag: Brunei",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F4}",names:["bolivia"],tags:[],description:"flag: Bolivia",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F6}",names:["caribbean_netherlands"],tags:[],description:"flag: Caribbean Netherlands",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F7}",names:["brazil"],tags:[],description:"flag: Brazil",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F8}",names:["bahamas"],tags:[],description:"flag: Bahamas",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1F9}",names:["bhutan"],tags:[],description:"flag: Bhutan",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FB}",names:["bouvet_island"],tags:[],description:"flag: Bouvet Island",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FC}",names:["botswana"],tags:[],description:"flag: Botswana",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FE}",names:["belarus"],tags:[],description:"flag: Belarus",category:"Flags"},{emoji:"\u{1F1E7}\u{1F1FF}",names:["belize"],tags:[],description:"flag: Belize",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1E6}",names:["canada"],tags:[],description:"flag: Canada",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1E8}",names:["cocos_islands"],tags:["keeling"],description:"flag: Cocos (Keeling) Islands",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1E9}",names:["congo_kinshasa"],tags:[],description:"flag: Congo - Kinshasa",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1EB}",names:["central_african_republic"],tags:[],description:"flag: Central African Republic",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1EC}",names:["congo_brazzaville"],tags:[],description:"flag: Congo - Brazzaville",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1ED}",names:["switzerland"],tags:[],description:"flag: Switzerland",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1EE}",names:["cote_divoire"],tags:["ivory"],description:"flag: C\xF4te d\u2019Ivoire",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F0}",names:["cook_islands"],tags:[],description:"flag: Cook Islands",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F1}",names:["chile"],tags:[],description:"flag: Chile",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F2}",names:["cameroon"],tags:[],description:"flag: Cameroon",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F3}",names:["cn"],tags:["china"],description:"flag: China",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F4}",names:["colombia"],tags:[],description:"flag: Colombia",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F5}",names:["clipperton_island"],tags:[],description:"flag: Clipperton Island",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1F7}",names:["costa_rica"],tags:[],description:"flag: Costa Rica",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FA}",names:["cuba"],tags:[],description:"flag: Cuba",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FB}",names:["cape_verde"],tags:[],description:"flag: Cape Verde",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FC}",names:["curacao"],tags:[],description:"flag: Cura\xE7ao",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FD}",names:["christmas_island"],tags:[],description:"flag: Christmas Island",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FE}",names:["cyprus"],tags:[],description:"flag: Cyprus",category:"Flags"},{emoji:"\u{1F1E8}\u{1F1FF}",names:["czech_republic"],tags:[],description:"flag: Czechia",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1EA}",names:["de"],tags:["flag","germany"],description:"flag: Germany",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1EC}",names:["diego_garcia"],tags:[],description:"flag: Diego Garcia",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1EF}",names:["djibouti"],tags:[],description:"flag: Djibouti",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1F0}",names:["denmark"],tags:[],description:"flag: Denmark",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1F2}",names:["dominica"],tags:[],description:"flag: Dominica",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1F4}",names:["dominican_republic"],tags:[],description:"flag: Dominican Republic",category:"Flags"},{emoji:"\u{1F1E9}\u{1F1FF}",names:["algeria"],tags:[],description:"flag: Algeria",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1E6}",names:["ceuta_melilla"],tags:[],description:"flag: Ceuta & Melilla",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1E8}",names:["ecuador"],tags:[],description:"flag: Ecuador",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1EA}",names:["estonia"],tags:[],description:"flag: Estonia",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1EC}",names:["egypt"],tags:[],description:"flag: Egypt",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1ED}",names:["western_sahara"],tags:[],description:"flag: Western Sahara",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1F7}",names:["eritrea"],tags:[],description:"flag: Eritrea",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1F8}",names:["es"],tags:["spain"],description:"flag: Spain",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1F9}",names:["ethiopia"],tags:[],description:"flag: Ethiopia",category:"Flags"},{emoji:"\u{1F1EA}\u{1F1FA}",names:["eu","european_union"],tags:[],description:"flag: European Union",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1EE}",names:["finland"],tags:[],description:"flag: Finland",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1EF}",names:["fiji"],tags:[],description:"flag: Fiji",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F0}",names:["falkland_islands"],tags:[],description:"flag: Falkland Islands",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F2}",names:["micronesia"],tags:[],description:"flag: Micronesia",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F4}",names:["faroe_islands"],tags:[],description:"flag: Faroe Islands",category:"Flags"},{emoji:"\u{1F1EB}\u{1F1F7}",names:["fr"],tags:["france","french"],description:"flag: France",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1E6}",names:["gabon"],tags:[],description:"flag: Gabon",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1E7}",names:["gb","uk"],tags:["flag","british"],description:"flag: United Kingdom",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1E9}",names:["grenada"],tags:[],description:"flag: Grenada",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EA}",names:["georgia"],tags:[],description:"flag: Georgia",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EB}",names:["french_guiana"],tags:[],description:"flag: French Guiana",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EC}",names:["guernsey"],tags:[],description:"flag: Guernsey",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1ED}",names:["ghana"],tags:[],description:"flag: Ghana",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1EE}",names:["gibraltar"],tags:[],description:"flag: Gibraltar",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F1}",names:["greenland"],tags:[],description:"flag: Greenland",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F2}",names:["gambia"],tags:[],description:"flag: Gambia",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F3}",names:["guinea"],tags:[],description:"flag: Guinea",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F5}",names:["guadeloupe"],tags:[],description:"flag: Guadeloupe",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F6}",names:["equatorial_guinea"],tags:[],description:"flag: Equatorial Guinea",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F7}",names:["greece"],tags:[],description:"flag: Greece",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F8}",names:["south_georgia_south_sandwich_islands"],tags:[],description:"flag: South Georgia & South Sandwich Islands",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1F9}",names:["guatemala"],tags:[],description:"flag: Guatemala",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1FA}",names:["guam"],tags:[],description:"flag: Guam",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1FC}",names:["guinea_bissau"],tags:[],description:"flag: Guinea-Bissau",category:"Flags"},{emoji:"\u{1F1EC}\u{1F1FE}",names:["guyana"],tags:[],description:"flag: Guyana",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F0}",names:["hong_kong"],tags:[],description:"flag: Hong Kong SAR China",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F2}",names:["heard_mcdonald_islands"],tags:[],description:"flag: Heard & McDonald Islands",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F3}",names:["honduras"],tags:[],description:"flag: Honduras",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F7}",names:["croatia"],tags:[],description:"flag: Croatia",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1F9}",names:["haiti"],tags:[],description:"flag: Haiti",category:"Flags"},{emoji:"\u{1F1ED}\u{1F1FA}",names:["hungary"],tags:[],description:"flag: Hungary",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1E8}",names:["canary_islands"],tags:[],description:"flag: Canary Islands",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1E9}",names:["indonesia"],tags:[],description:"flag: Indonesia",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1EA}",names:["ireland"],tags:[],description:"flag: Ireland",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F1}",names:["israel"],tags:[],description:"flag: Israel",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F2}",names:["isle_of_man"],tags:[],description:"flag: Isle of Man",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F3}",names:["india"],tags:[],description:"flag: India",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F4}",names:["british_indian_ocean_territory"],tags:[],description:"flag: British Indian Ocean Territory",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F6}",names:["iraq"],tags:[],description:"flag: Iraq",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F7}",names:["iran"],tags:[],description:"flag: Iran",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F8}",names:["iceland"],tags:[],description:"flag: Iceland",category:"Flags"},{emoji:"\u{1F1EE}\u{1F1F9}",names:["it"],tags:["italy"],description:"flag: Italy",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1EA}",names:["jersey"],tags:[],description:"flag: Jersey",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1F2}",names:["jamaica"],tags:[],description:"flag: Jamaica",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1F4}",names:["jordan"],tags:[],description:"flag: Jordan",category:"Flags"},{emoji:"\u{1F1EF}\u{1F1F5}",names:["jp"],tags:["japan"],description:"flag: Japan",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1EA}",names:["kenya"],tags:[],description:"flag: Kenya",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1EC}",names:["kyrgyzstan"],tags:[],description:"flag: Kyrgyzstan",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1ED}",names:["cambodia"],tags:[],description:"flag: Cambodia",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1EE}",names:["kiribati"],tags:[],description:"flag: Kiribati",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F2}",names:["comoros"],tags:[],description:"flag: Comoros",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F3}",names:["st_kitts_nevis"],tags:[],description:"flag: St. Kitts & Nevis",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F5}",names:["north_korea"],tags:[],description:"flag: North Korea",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1F7}",names:["kr"],tags:["korea"],description:"flag: South Korea",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1FC}",names:["kuwait"],tags:[],description:"flag: Kuwait",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1FE}",names:["cayman_islands"],tags:[],description:"flag: Cayman Islands",category:"Flags"},{emoji:"\u{1F1F0}\u{1F1FF}",names:["kazakhstan"],tags:[],description:"flag: Kazakhstan",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1E6}",names:["laos"],tags:[],description:"flag: Laos",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1E7}",names:["lebanon"],tags:[],description:"flag: Lebanon",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1E8}",names:["st_lucia"],tags:[],description:"flag: St. Lucia",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1EE}",names:["liechtenstein"],tags:[],description:"flag: Liechtenstein",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F0}",names:["sri_lanka"],tags:[],description:"flag: Sri Lanka",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F7}",names:["liberia"],tags:[],description:"flag: Liberia",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F8}",names:["lesotho"],tags:[],description:"flag: Lesotho",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1F9}",names:["lithuania"],tags:[],description:"flag: Lithuania",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1FA}",names:["luxembourg"],tags:[],description:"flag: Luxembourg",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1FB}",names:["latvia"],tags:[],description:"flag: Latvia",category:"Flags"},{emoji:"\u{1F1F1}\u{1F1FE}",names:["libya"],tags:[],description:"flag: Libya",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1E6}",names:["morocco"],tags:[],description:"flag: Morocco",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1E8}",names:["monaco"],tags:[],description:"flag: Monaco",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1E9}",names:["moldova"],tags:[],description:"flag: Moldova",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1EA}",names:["montenegro"],tags:[],description:"flag: Montenegro",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1EB}",names:["st_martin"],tags:[],description:"flag: St. Martin",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1EC}",names:["madagascar"],tags:[],description:"flag: Madagascar",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1ED}",names:["marshall_islands"],tags:[],description:"flag: Marshall Islands",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F0}",names:["macedonia"],tags:[],description:"flag: North Macedonia",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F1}",names:["mali"],tags:[],description:"flag: Mali",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F2}",names:["myanmar"],tags:["burma"],description:"flag: Myanmar (Burma)",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F3}",names:["mongolia"],tags:[],description:"flag: Mongolia",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F4}",names:["macau"],tags:[],description:"flag: Macao SAR China",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F5}",names:["northern_mariana_islands"],tags:[],description:"flag: Northern Mariana Islands",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F6}",names:["martinique"],tags:[],description:"flag: Martinique",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F7}",names:["mauritania"],tags:[],description:"flag: Mauritania",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F8}",names:["montserrat"],tags:[],description:"flag: Montserrat",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1F9}",names:["malta"],tags:[],description:"flag: Malta",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FA}",names:["mauritius"],tags:[],description:"flag: Mauritius",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FB}",names:["maldives"],tags:[],description:"flag: Maldives",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FC}",names:["malawi"],tags:[],description:"flag: Malawi",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FD}",names:["mexico"],tags:[],description:"flag: Mexico",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FE}",names:["malaysia"],tags:[],description:"flag: Malaysia",category:"Flags"},{emoji:"\u{1F1F2}\u{1F1FF}",names:["mozambique"],tags:[],description:"flag: Mozambique",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1E6}",names:["namibia"],tags:[],description:"flag: Namibia",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1E8}",names:["new_caledonia"],tags:[],description:"flag: New Caledonia",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EA}",names:["niger"],tags:[],description:"flag: Niger",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EB}",names:["norfolk_island"],tags:[],description:"flag: Norfolk Island",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EC}",names:["nigeria"],tags:[],description:"flag: Nigeria",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1EE}",names:["nicaragua"],tags:[],description:"flag: Nicaragua",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F1}",names:["netherlands"],tags:[],description:"flag: Netherlands",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F4}",names:["norway"],tags:[],description:"flag: Norway",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F5}",names:["nepal"],tags:[],description:"flag: Nepal",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1F7}",names:["nauru"],tags:[],description:"flag: Nauru",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1FA}",names:["niue"],tags:[],description:"flag: Niue",category:"Flags"},{emoji:"\u{1F1F3}\u{1F1FF}",names:["new_zealand"],tags:[],description:"flag: New Zealand",category:"Flags"},{emoji:"\u{1F1F4}\u{1F1F2}",names:["oman"],tags:[],description:"flag: Oman",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1E6}",names:["panama"],tags:[],description:"flag: Panama",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1EA}",names:["peru"],tags:[],description:"flag: Peru",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1EB}",names:["french_polynesia"],tags:[],description:"flag: French Polynesia",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1EC}",names:["papua_new_guinea"],tags:[],description:"flag: Papua New Guinea",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1ED}",names:["philippines"],tags:[],description:"flag: Philippines",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F0}",names:["pakistan"],tags:[],description:"flag: Pakistan",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F1}",names:["poland"],tags:[],description:"flag: Poland",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F2}",names:["st_pierre_miquelon"],tags:[],description:"flag: St. Pierre & Miquelon",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F3}",names:["pitcairn_islands"],tags:[],description:"flag: Pitcairn Islands",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F7}",names:["puerto_rico"],tags:[],description:"flag: Puerto Rico",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F8}",names:["palestinian_territories"],tags:[],description:"flag: Palestinian Territories",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1F9}",names:["portugal"],tags:[],description:"flag: Portugal",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1FC}",names:["palau"],tags:[],description:"flag: Palau",category:"Flags"},{emoji:"\u{1F1F5}\u{1F1FE}",names:["paraguay"],tags:[],description:"flag: Paraguay",category:"Flags"},{emoji:"\u{1F1F6}\u{1F1E6}",names:["qatar"],tags:[],description:"flag: Qatar",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1EA}",names:["reunion"],tags:[],description:"flag: R\xE9union",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1F4}",names:["romania"],tags:[],description:"flag: Romania",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1F8}",names:["serbia"],tags:[],description:"flag: Serbia",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1FA}",names:["ru"],tags:["russia"],description:"flag: Russia",category:"Flags"},{emoji:"\u{1F1F7}\u{1F1FC}",names:["rwanda"],tags:[],description:"flag: Rwanda",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E6}",names:["saudi_arabia"],tags:[],description:"flag: Saudi Arabia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E7}",names:["solomon_islands"],tags:[],description:"flag: Solomon Islands",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E8}",names:["seychelles"],tags:[],description:"flag: Seychelles",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1E9}",names:["sudan"],tags:[],description:"flag: Sudan",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EA}",names:["sweden"],tags:[],description:"flag: Sweden",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EC}",names:["singapore"],tags:[],description:"flag: Singapore",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1ED}",names:["st_helena"],tags:[],description:"flag: St. Helena",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EE}",names:["slovenia"],tags:[],description:"flag: Slovenia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1EF}",names:["svalbard_jan_mayen"],tags:[],description:"flag: Svalbard & Jan Mayen",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F0}",names:["slovakia"],tags:[],description:"flag: Slovakia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F1}",names:["sierra_leone"],tags:[],description:"flag: Sierra Leone",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F2}",names:["san_marino"],tags:[],description:"flag: San Marino",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F3}",names:["senegal"],tags:[],description:"flag: Senegal",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F4}",names:["somalia"],tags:[],description:"flag: Somalia",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F7}",names:["suriname"],tags:[],description:"flag: Suriname",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F8}",names:["south_sudan"],tags:[],description:"flag: South Sudan",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1F9}",names:["sao_tome_principe"],tags:[],description:"flag: S\xE3o Tom\xE9 & Pr\xEDncipe",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FB}",names:["el_salvador"],tags:[],description:"flag: El Salvador",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FD}",names:["sint_maarten"],tags:[],description:"flag: Sint Maarten",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FE}",names:["syria"],tags:[],description:"flag: Syria",category:"Flags"},{emoji:"\u{1F1F8}\u{1F1FF}",names:["swaziland"],tags:[],description:"flag: Eswatini",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1E6}",names:["tristan_da_cunha"],tags:[],description:"flag: Tristan da Cunha",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1E8}",names:["turks_caicos_islands"],tags:[],description:"flag: Turks & Caicos Islands",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1E9}",names:["chad"],tags:[],description:"flag: Chad",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1EB}",names:["french_southern_territories"],tags:[],description:"flag: French Southern Territories",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1EC}",names:["togo"],tags:[],description:"flag: Togo",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1ED}",names:["thailand"],tags:[],description:"flag: Thailand",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1EF}",names:["tajikistan"],tags:[],description:"flag: Tajikistan",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F0}",names:["tokelau"],tags:[],description:"flag: Tokelau",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F1}",names:["timor_leste"],tags:[],description:"flag: Timor-Leste",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F2}",names:["turkmenistan"],tags:[],description:"flag: Turkmenistan",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F3}",names:["tunisia"],tags:[],description:"flag: Tunisia",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F4}",names:["tonga"],tags:[],description:"flag: Tonga",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F7}",names:["tr"],tags:["turkey"],description:"flag: Turkey",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1F9}",names:["trinidad_tobago"],tags:[],description:"flag: Trinidad & Tobago",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1FB}",names:["tuvalu"],tags:[],description:"flag: Tuvalu",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1FC}",names:["taiwan"],tags:[],description:"flag: Taiwan",category:"Flags"},{emoji:"\u{1F1F9}\u{1F1FF}",names:["tanzania"],tags:[],description:"flag: Tanzania",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1E6}",names:["ukraine"],tags:[],description:"flag: Ukraine",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1EC}",names:["uganda"],tags:[],description:"flag: Uganda",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1F2}",names:["us_outlying_islands"],tags:[],description:"flag: U.S. Outlying Islands",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1F3}",names:["united_nations"],tags:[],description:"flag: United Nations",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1F8}",names:["us"],tags:["flag","united","america"],description:"flag: United States",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1FE}",names:["uruguay"],tags:[],description:"flag: Uruguay",category:"Flags"},{emoji:"\u{1F1FA}\u{1F1FF}",names:["uzbekistan"],tags:[],description:"flag: Uzbekistan",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1E6}",names:["vatican_city"],tags:[],description:"flag: Vatican City",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1E8}",names:["st_vincent_grenadines"],tags:[],description:"flag: St. Vincent & Grenadines",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1EA}",names:["venezuela"],tags:[],description:"flag: Venezuela",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1EC}",names:["british_virgin_islands"],tags:[],description:"flag: British Virgin Islands",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1EE}",names:["us_virgin_islands"],tags:[],description:"flag: U.S. Virgin Islands",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1F3}",names:["vietnam"],tags:[],description:"flag: Vietnam",category:"Flags"},{emoji:"\u{1F1FB}\u{1F1FA}",names:["vanuatu"],tags:[],description:"flag: Vanuatu",category:"Flags"},{emoji:"\u{1F1FC}\u{1F1EB}",names:["wallis_futuna"],tags:[],description:"flag: Wallis & Futuna",category:"Flags"},{emoji:"\u{1F1FC}\u{1F1F8}",names:["samoa"],tags:[],description:"flag: Samoa",category:"Flags"},{emoji:"\u{1F1FD}\u{1F1F0}",names:["kosovo"],tags:[],description:"flag: Kosovo",category:"Flags"},{emoji:"\u{1F1FE}\u{1F1EA}",names:["yemen"],tags:[],description:"flag: Yemen",category:"Flags"},{emoji:"\u{1F1FE}\u{1F1F9}",names:["mayotte"],tags:[],description:"flag: Mayotte",category:"Flags"},{emoji:"\u{1F1FF}\u{1F1E6}",names:["south_africa"],tags:[],description:"flag: South Africa",category:"Flags"},{emoji:"\u{1F1FF}\u{1F1F2}",names:["zambia"],tags:[],description:"flag: Zambia",category:"Flags"},{emoji:"\u{1F1FF}\u{1F1FC}",names:["zimbabwe"],tags:[],description:"flag: Zimbabwe",category:"Flags"},{emoji:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0065}\u{E006E}\u{E0067}\u{E007F}",names:["england"],tags:[],description:"flag: England",category:"Flags"},{emoji:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0073}\u{E0063}\u{E0074}\u{E007F}",names:["scotland"],tags:[],description:"flag: Scotland",category:"Flags"},{emoji:"\u{1F3F4}\u{E0067}\u{E0062}\u{E0077}\u{E006C}\u{E0073}\u{E007F}",names:["wales"],tags:[],description:"flag: Wales",category:"Flags"}];var Qve=()=>["bg-gray-200","dark:bg-gray-500"],Jve=()=>[];function e1e(t,e){if(t&1){let n=lr();U(0,"li",1),Ce("mousemove",function(){let o=nn(n).$index,a=ze();return rn(a.selected=o)})("mousedown",function(){nn(n);let i=ze();return rn(i.action(i.onPick))}),we(1),G()}if(t&2){let n=e.$implicit,r=e.$index,i=ze();sr(i.selected===r?xr(4,Qve):xr(5,Jve)),oe(1),_E(" ",n.emoji," :",n.names[0],": ")}}var dG=(()=>{let e=class e extends fC{get pluginView(){let r=/:(?<search>\S+)/,i=this;return new Eh({content:this.el.nativeElement,debounce:50,trigger:this.trigger,shouldShow(o){let a=this.getContent(o);if(!a)return i.search="",!1;let s=a.match(r);if(!s)return i.search="",!1;let l=s.groups.search;return B6.findIndex(d=>d.names.some(u=>u.includes(l)))<0?(i.search="",!1):(i.search=l,i.selected=0,i.list=i.emojis,!0)},tippyOptions:{onShow:()=>{this.opened=!0,this.root.addEventListener("keydown",this.eventListener)},onHide:()=>{this.selected=0,this.opened=!1,this.root.removeEventListener("keydown",this.eventListener)}}})}get emojis(){return this.search.length===0?[]:B6.filter(r=>r.names.some(i=>i.includes(this.search))).slice(0,10)}get onPick(){return r=>{let i=this.emojis[this.selected];if(!i)return;let o=r.get(on),{state:a}=o,{selection:s}=a;o.dispatch(o.state.tr.delete(s.from-this.search.length-1,s.from).insertText(i.emoji))}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["emoji-menu"]],standalone:!0,features:[ge,Oe],decls:3,vars:0,consts:[[1,"m-0","w-96","list-none","rounded","bg-gray-50","shadow-lg","ring-2","dark:bg-gray-900"],[1,"cursor-pointer","px-6","py-3",3,"mousemove","mousedown"],["class","cursor-pointer px-6 py-3",3,"class"]],template:function(i,o){i&1&&(U(0,"ul",0),$r(1,e1e,2,6,"li",2,Mo),G()),i&2&&(oe(1),qr(o.list))},encapsulation:2});let t=e;return t})();var uG=(()=>{let e=class e extends Gh{constructor(){super(...arguments),this.src="",this.alt="",this.title="",this.temp=""}onChange(r,i){return this.temp!==this[r]?(this.action(o=>{o.get(it).call(Ek.key,{[r]:this[r]})}),!0):(i.preventDefault(),!1)}get pluginView(){return new ns({content:this.container,tippyOptions:{zIndex:9999,appendTo:document.body},shouldShow:r=>{let{selection:i}=r.state,{empty:o,from:a}=i,s=r.state.doc.nodeAt(i.from),{src:l,alt:c,title:d}=s?.attrs??{};this.src=l,this.alt=c,this.title=d;let u=this.container.contains(document.activeElement),f=!r.hasFocus()&&!u,p=!r.editable;return f||o||p?!1:i instanceof Ue&&r.state.doc.nodeAt(a)?.type.name==="image"}})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["image-tooltip"]],standalone:!0,features:[ge,Oe],decls:13,vars:3,consts:[[1,"flex","w-96","flex-col","gap-2","rounded","border-gray-300","bg-white","p-4","shadow","ring","dark:border-gray-600","dark:bg-black"],[1,"flex","flex-row","items-center","justify-center","gap-4"],[1,"w-10"],["type","text",1,"mt-1","block","w-full","rounded-md","bg-gray-300","shadow-sm","focus:border-indigo-300","focus:ring","focus:ring-indigo-200/50","dark:bg-gray-600",3,"ngModel","ngModelChange","focus","blur"]],template:function(i,o){i&1&&(U(0,"div",0)(1,"label",1)(2,"span",2),we(3,"Link"),G(),U(4,"input",3),Ce("ngModelChange",function(s){return o.src=s})("focus",function(){return o.temp=o.src})("blur",function(s){return o.onChange("src",s)}),G()(),U(5,"label",1)(6,"span",2),we(7,"Alt"),G(),U(8,"input",3),Ce("ngModelChange",function(s){return o.alt=s})("focus",function(){return o.temp=o.alt})("blur",function(s){return o.onChange("alt",s)}),G()(),U(9,"label",1)(10,"span",2),we(11,"Title"),G(),U(12,"input",3),Ce("ngModelChange",function(s){return o.title=s})("focus",function(){return o.temp=o.title})("blur",function(s){return o.onChange("title",s)}),G()()()),i&2&&(oe(4),Se("ngModel",o.src),oe(4),Se("ngModel",o.alt),oe(4),Se("ngModel",o.title))},dependencies:[io,Ao,ro,Oi]});let t=e;return t})();var qc=(()=>{let e=class e extends tV{get action(){return Lc(this.provider.editor)}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275dir=ke({type:e,selectors:[["ng-milkdown-widget"]],standalone:!0,features:[ge]});let t=e;return t})();var fG=(()=>{let e=class e extends qc{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["link-widget-before"]],standalone:!0,features:[ge,Oe],decls:1,vars:0,template:function(i,o){i&1&&we(0,"[")},encapsulation:2});let t=e;return t})();var pG=(()=>{let e=class e extends qc{constructor(r){super(r),this.el=r,this.href="",this.title="",this.onUpdate.subscribe(i=>{this.href=this.spec?.href||"",this.title=this.spec?.title||""})}onHrefBlur(r){this.action(i=>{i.get(it).call(q0.key,{href:r.target.value||""})})}onTitleBlur(r){this.action(i=>{i.get(it).call(q0.key,{title:r.target.value||""})})}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275cmp=_e({type:e,selectors:[["link-widget-after"]],standalone:!0,features:[ge,Oe],decls:16,vars:6,consts:[["target","_blank",1,"text-blue-500","underline",3,"href"],[1,"material-symbols-outlined","text-nord-10","dark:text-nord-9",2,"vertical-align","middle"],[1,"font-light","text-nord8"],["placeholder","empty","type","text",1,"rounded","border-none","bg-gray-50","py-0","px-2","ring-1","dark:bg-gray-900",3,"size","ngModel","blur","ngModelChange"]],template:function(i,o){i&1&&(U(0,"span"),we(1,"]("),U(2,"a",0)(3,"span",1),we(4,"link"),G(),we(5),G(),we(6," \xA0 "),U(7,"small",2),we(8,"link: "),G(),U(9,"input",3),Ce("blur",function(s){return o.onHrefBlur(s)})("ngModelChange",function(s){return o.href=s}),G(),we(10," \xA0 "),U(11,"small",2),we(12,"title: "),G(),we(13,' " '),U(14,"input",3),Ce("blur",function(s){return o.onTitleBlur(s)})("ngModelChange",function(s){return o.title=s}),G(),we(15,' ")'),G()),i&2&&(oe(2),hg("href",o.href,Sd),oe(3),ca(" ",o.title||o.href||"empty"," "),oe(4),Se("size",o.href.length||5)("ngModel",o.href),oe(5),Se("size",o.title.length||5)("ngModel",o.title))},dependencies:[io,Ao,ro,Oi],encapsulation:2});let t=e;return t})();function hG(t){return Bt(()=>new Le({state:{init(){return wt.empty},apply(e){let{selection:n}=e,{$from:r,$to:i}=n,o=e.doc.nodeAt(n.from),a=o?.marks.find(d=>d.type.name==="link");if(!a)return wt.empty;let s={start:-1,end:-1};e.doc.nodesBetween(r.start(),i.end(),(d,u)=>{if(o===d)return s={start:u,end:u+Math.max(d.textContent.length,1)},!1});let l=t.createWidgetView({as:"span",component:fG}),c=t.createWidgetView({as:"span",component:pG});return wt.create(e.doc,[l(s.start),c(s.end,{href:a.attrs.href,title:a.attrs.title})])}},props:{decorations(e){return this.getState(e)}}}))}function t1e(t){return new Promise(e=>{let n=new FileReader;n.addEventListener("load",()=>{e({alt:t.name,src:n.result})},!1),n.readAsDataURL(t)})}var n1e=(t,e)=>st(void 0,null,function*(){let n=[];for(let i=0;i<t.length;i++){let o=t.item(i);o&&o.type.includes("image")&&n.push(o)}let{image:r}=e.nodes;if(!r)throw Vv("image");return(yield Promise.all(n.map(i=>t1e(i)))).map(({alt:i,src:o})=>r.createAndFill({src:o,alt:i}))}),Ob=Vt({uploader:n1e,enableHtmlFileUploader:!1,uploadWidgetFactory:(t,e)=>{let n=document.createElement("span");return n.textContent="Upload in progress...",gn.widget(t,n,e)}},"uploadConfig");Ob.meta={package:"@milkdown/plugin-upload",displayName:"Ctx<uploadConfig>"};var mG=Bt(t=>{let e=new Je("MILKDOWN_UPLOAD"),n=(i,o)=>{var a;let s=e.getState(i);if(!s)return-1;let l=s.find(void 0,void 0,c=>c.id===o);return l.length?((a=l[0])==null?void 0:a.from)??-1:-1},r=(i,o,a)=>{var s;if(!a||a.length<=0)return!1;let l=Symbol("upload symbol"),c=t.get(Jr),{tr:d}=i.state,u=o instanceof DragEvent?((s=i.posAtCoords({left:o.clientX,top:o.clientY}))==null?void 0:s.pos)??d.selection.from:d.selection.from;i.dispatch(d.setMeta(e,{add:{id:l,pos:u}}));let{uploader:f}=t.get(Ob.key);return f(a,c).then(p=>{let h=n(i.state,l);h<0||i.dispatch(i.state.tr.replaceWith(h,h,p).setMeta(e,{remove:{id:l}}))}).catch(p=>{console.error(p)}),!0};return new Le({key:e,state:{init(){return wt.empty},apply(i,o){let a=o.map(i.mapping,i.doc),s=i.getMeta(this);if(!s)return a;if(s.add){let{uploadWidgetFactory:l}=t.get(Ob.key),c=l(s.add.pos,{id:s.add.id});return a.add(i.doc,[c])}if(s.remove){let l=a.find(void 0,void 0,c=>c.id===s.remove.id);return a.remove(l)}return a}},props:{decorations(i){return this.getState(i)},handlePaste:(i,o)=>{var a,s;let{enableHtmlFileUploader:l}=t.get(Ob.key);return!(o instanceof ClipboardEvent)||!l&&(a=o.clipboardData)!=null&&a.getData("text/html")?!1:r(i,o,(s=o.clipboardData)==null?void 0:s.files)},handleDrop:(i,o)=>{var a;return o instanceof DragEvent?r(i,o,(a=o.dataTransfer)==null?void 0:a.files):!1}}})});mG.meta={package:"@milkdown/plugin-upload",displayName:"Prose<upload>"};var gG=[Ob,mG];var yG=(()=>{let e=class e{constructor(){this.onClick=new Qe}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_e({type:e,selectors:[["table-tooltip-button"]],inputs:{icon:"icon",title:"title"},outputs:{onClick:"onClick"},standalone:!0,features:[Oe],decls:3,vars:1,consts:[[1,"inline-flex","items-center","justify-center","rounded","border","border-gray-200","bg-white","px-4","py-2","text-base","font-medium","leading-6","shadow-sm","dark:bg-black","hover:bg-gray-100",3,"click"],[1,"material-symbols-outlined","!text-base"]],template:function(i,o){i&1&&(U(0,"button",0),Ce("click",function(s){return o.onClick.emit(s)}),U(1,"span",1),we(2),G()()),i&2&&(oe(2),tr(o.icon))},encapsulation:2});let t=e;return t})();function r1e(t,e){if(t&1){let n=lr();U(0,"table-tooltip-button",2),Ce("onClick",function(){nn(n);let i=ze().$index,o=ze();return rn(o.onClick(i))}),G()}if(t&2){let n=ze().$implicit;G7(n.style),Se("icon",n.icon)("title",n.title)}}function i1e(t,e){if(t&1&&ct(0,r1e,1,4,"table-tooltip-button",1),t&2){let n=e.$implicit;Ht(0,n.iif()?0:-1)}}var Pb=Vt(null,"tableTooltip"),V6=sy("TABLE"),bG=(()=>{let e=class e extends Gh{constructor(){super(...arguments),this.buttons=[{icon:"splitscreen_add",title:"Add row before",slice:kx.key,iif:()=>!this.isWholeTable&&!this.isHeading&&this.isRow,hide:!0,style:{transform:"scaleY(-1)"}},{icon:"splitscreen_vertical_add",title:"Add column before",slice:wx.key,iif:()=>!this.isWholeTable&&this.isCol,hide:!0,style:{transform:"scaleX(-1)"}},{icon:"delete",title:"Delete selected cells",slice:_x.key,iif:()=>this.isWholeTable||!this.isHeading&&this.isAny,hide:!0},{icon:"splitscreen_add",title:"Add row after",slice:xx.key,iif:()=>!this.isWholeTable&&this.isRow,hide:!0},{icon:"splitscreen_vertical_add",title:"Add column after",slice:vx.key,iif:()=>!this.isWholeTable&&this.isCol,hide:!0},{icon:"format_align_left",title:"Align left",slice:Ah.key,payload:"left",iif:()=>!this.isWholeTable&&this.isCol,hide:!1},{icon:"format_align_center",title:"Align center",slice:Ah.key,payload:"center",iif:()=>!this.isWholeTable&&this.isCol,hide:!1},{icon:"format_align_right",title:"Align right",slice:Ah.key,payload:"right",iif:()=>!this.isWholeTable&&this.isCol,hide:!1}]}get isRow(){return this.state.selection instanceof an&&this.state.selection.isRowSelection()}get isCol(){return this.state.selection instanceof an&&this.state.selection.isColSelection()}get isWholeTable(){return this.isRow&&this.isCol}get isAny(){return this.isRow||this.isCol}get isHeading(){return this.isRow&&this.state.doc.nodeAt(this.state.selection.$headCell.pos)?.type.name==="table_header"}onClick(r){let{slice:i,payload:o,hide:a}=this.buttons[r];this.tooltipProvider?.hide(),this.action(s=>{s.get(it).call(i,o)}),a&&this.tooltipProvider?.hide(),this.action(s=>{s.get(on).focus()})}ngAfterViewInit(){super.ngAfterViewInit(),this.action(r=>{r.set(Pb.key,this.tooltipProvider)})}get pluginView(){return new ns({content:this.container,tippyOptions:{zIndex:30,appendTo:document.body},shouldShow:()=>!1,debounce:50})}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["table-tooltip"]],standalone:!0,features:[ge,Oe],decls:3,vars:0,consts:[[1,"flex"],[3,"icon","title","style"],[3,"icon","title","onClick"]],template:function(i,o){i&1&&(U(0,"div",0),$r(1,i1e,1,1,null,null,Kw),G()),i&2&&(oe(1),qr(o.buttons))},dependencies:[yG],styles:["[_nghost-%COMP%] table-tooltip-button:not(:first-child):not(:last-child) button{border-left:none;border-radius:0}[_nghost-%COMP%] table-tooltip-button:last-child button{border-left:none;border-radius:0 .25rem .25rem 0}[_nghost-%COMP%] table-tooltip-button:first-child button{border-radius:0 .25rem .25rem 0}"]});let t=e;return t})();var U6=function(t){return typeof t=="function"?t:function(e){return t}};function H6(t,e){return new Wc(function(n){return n===t},e)}function $6(t){return new Wc(function(){return!0},t)}var _G=function(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,o;r<i;r++)(o||!(r in e))&&(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e))};function q6(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return _G([t],n,!0).every(function(i){return i instanceof Wc||typeof i=="function"})?(e=new YC(void 0)).whenCase.apply(e,_G([t],n,!0)):function(){for(var i,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return(i=new YC(t)).whenCase.apply(i,o)}}var Wc=function(){function t(e,n){this.condition=e,this.result=n}return t.prototype.isTrue=function(e){return e===void 0&&(e=void 0),this.condition(e)},t.prototype.getResult=function(e){return typeof this.result=="function"?this.result():this.result},t.prototype.else=function(e){return this.isTrue()?this.getResult(void 0):typeof e=="function"?e():e},t.prototype.elseIf=function(e,n){var r=this;return n===void 0?function(i){return new t(U6(e),i)}:function(){return r.isTrue()?r:new t(U6(e),n)}},t.prototype.then=function(e){return new t(this.condition,e)},t}();var YC=function(){function t(e){this.value=e}return t.prototype.whenCase=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0;r<e.length;r++){var i=e[r];if(i instanceof Wc&&i.isTrue(this.value))return i.getResult(this.value);if(typeof i=="function")if(r!==e.length-1){var o=i();if(o&&o.constructor.name===Wc.name&&o.isTrue(this.value))return o.getResult(this.value)}else return i()}},t}();var o1e=()=>["w-2","h-full","-left-3.5","top-0"],a1e=()=>["right-px","h-2","left-0","-top-3.5"],s1e=()=>["h-3","w-3","-left-4","-top-4","rounded-full"],l1e=()=>[],wG=(()=>{let e=class e extends qc{constructor(){super(...arguments),this.dragOver=!1,this.when=q6,this.is=H6,this.Else=$6}get type(){return this.context?.spec?.type}get index(){return this.context?.spec?.index||0}onClick(r){r.preventDefault(),r.stopPropagation(),this.action(i=>{let o=i.get(it);this.type==="left"?o.call(gx.key,this.index):this.type==="top"?o.call(yx.key,this.index):o.call(bx.key);let a=r.target.getBoundingClientRect(),s=i.get(Pb.key);s.getInstance().props.getReferenceClientRect=()=>a,setTimeout(()=>{s.show()},50)})}onDragStart(r){r.stopPropagation();let i={index:this.index,type:this.type};r.dataTransfer.setData("application/milkdown-table-sort",JSON.stringify(i)),r.dataTransfer.effectAllowed="move"}onDragOver(r){this.dragOver=!0,r.stopPropagation(),r.preventDefault(),r.dataTransfer.dropEffect="move"}onDrop(r){this.dragOver=!1,r.stopPropagation(),r.preventDefault();let i=this.context.spec?.index,o=r.dataTransfer.getData("application/milkdown-table-sort");try{let{index:a,type:s}=JSON.parse(o);this.action(l=>{let c=l.get(it),d={from:Number(a),to:i};c.call(s==="left"?hx.key:mx.key,d)})}catch{}}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["table-select-widget"]],standalone:!0,features:[ge,Oe],decls:1,vars:10,consts:[[1,"hover:bg-nord8","hover:dark:bg-nord9","absolute","cursor-pointer","bg-gray-200","dark:bg-gray-600",3,"id","draggable","click","dragstart","dragover","dragleave","drop"]],template:function(i,o){i&1&&(U(0,"div",0),Ce("click",function(s){return o.onClick(s)})("dragstart",function(s){return o.onDragStart(s)})("dragover",function(s){return o.onDragOver(s)})("dragleave",function(){return o.dragOver=!1})("drop",function(s){return o.onDrop(s)}),G()),i&2&&(sr(o.when(o.type)(o.is("left",xr(6,o1e)),o.is("top",xr(7,a1e)),o.is("top-left",xr(8,s1e)),o.Else(xr(9,l1e)))),Rt("ring-2",o.dragOver),Se("id",o.key)("draggable",o.type!=="top-left"))},encapsulation:2});let t=e;return t})();function vG(t){return Bt(()=>{let e=new Je("MILKDOWN_TABLE_SELECTOR");return new Le({key:e,state:{init(){return{decorations:wt.empty,pos:0}},apply(n,r,i,o){let a=Mc(0,n.selection);if(!a)return{decorations:wt.empty,pos:0};let s=Tc(0,n.selection);if(!s)return{decorations:wt.empty,pos:0};let l=t.createWidgetView({as:"div",component:wG}),[c]=a;if(!c)return{decorations:wt.empty,pos:0};let d=[];return d.push(l(c.pos+1,{type:"top-left"})),a.forEach((u,f)=>{d.push(l(u.pos+1,{type:"left",index:f}))}),s.forEach((u,f)=>{d.push(l(u.pos+1,{type:"top",index:f}))}),r.pos===c.pos&&i.doc.eq(o.doc)?r:{decorations:wt.create(n.doc,d),pos:c.pos}}},props:{decorations(n){return e.getState(n).decorations}}})})}function c1e(t,e){t&1&&(U(0,"span"),we(1," (\u02DA\u0394\u02DA)b"),G())}var kG=(()=>{let e=class e extends Yo{constructor(){super(...arguments),this.selectedIndex=0,this.rendering=!0,this.code=null}get container(){return super.container.children[0]}preview(){this.setAttrs({value:this.code}),this.render(),this.selectedIndex=0}render(){let r=()=>st(this,null,function*(){this.action(i=>{if(this.code=this.node.attrs.value,this.code.length!==0)try{ub.render(this.code,this.container.querySelector(".math-block-ref"),i.get($h.key))}catch(o){console.error(o)}})});requestAnimationFrame(()=>st(this,null,function*(){yield r()})),this.rendering=!1}ngAfterViewInit(){this.render(),super.ngAfterViewInit()}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["math-block"]],standalone:!0,features:[ge,Oe],decls:8,vars:6,consts:[["contenteditable","false","preserveContent","",3,"animationDuration","selectedIndex","selectedIndexChange"],["label","Preview"],[1,"cursor-pointer","border-2","border-gray-300","rounded-md","p-2","flex","justify-center","items-center","hover:bg-gray-100","math-block-ref"],["label","Source"],[1,"block","h-48","w-full","bg-slate-800","font-mono","text-gray-50",3,"ngModel","ngModelChange"],[1,"absolute","right-1","top-1","mb-1","inline-flex","items-center","justify-center","rounded","border","border-gray-600","bg-nord8","px-6","py-2","text-base","font-medium","leading-6","text-gray-50","shadow-sm","hover:bg-blue-200","focus:ring-2","focus:ring-offset-2","dark:bg-nord9",3,"click"]],template:function(i,o){i&1&&(U(0,"mat-tab-group",0),Ce("selectedIndexChange",function(s){return o.selectedIndex=s}),U(1,"mat-tab",1)(2,"div",2),ct(3,c1e,2,0,"span"),G()(),U(4,"mat-tab",3)(5,"textarea",4),Ce("ngModelChange",function(s){return o.code=s}),G(),U(6,"button",5),Ce("click",function(){return o.preview()}),we(7,"OK "),G()()()),i&2&&(Se("animationDuration",150)("selectedIndex",o.selectedIndex),oe(2),js("min-height",100,"px"),oe(1),Ht(3,!o.code||!o.rendering?3:-1),oe(2),Se("ngModel",o.code))},dependencies:[GC,Ib,WC,io,Ao,ro,Oi,lm]});let t=e;return t})();var xG=(()=>{let e=class e extends qc{get message(){return this.spec?.message}};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["copilot-widget"]],standalone:!0,features:[ge,Oe],decls:2,vars:1,consts:[[1,"text-gray-400","dark:text-gray-50"]],template:function(i,o){i&1&&(U(0,"span",0),we(1),G()),i&2&&(oe(1),tr(o.message))},encapsulation:2});let t=e;return t})();var CG=null,DG=Date.now();function SG(t,e=800,...n){let r=Date.now(),i=e-(r-DG),o=this;clearTimeout(CG),i<=0?(t.apply(o,n),DG=Date.now()):CG=setTimeout(()=>{t.apply(o,n)},i)}var cm=(()=>{let e=class e{constructor(r){this.http=r,this.enabled=!1,this.initialState={deco:wt.empty,message:""},this.copilotPluginKey=new Je("milkdown-copilot"),this.copilotPlugin=i=>Bt(o=>new Le({key:this.copilotPluginKey,props:{handleKeyDown:(a,s)=>{this.enabled&&this.keyDownHandler(o,s)},decorations:a=>this.copilotPluginKey.getState(a).deco},state:{init:()=>D({},this.initialState),apply:(a,s,l,c)=>{if(!this.enabled)return s;let d=a.getMeta(this.copilotPluginKey);if(typeof d!="string")return s;if(d.length===0)return D({},this.initialState);let{to:u}=a.selection,f=i.createWidgetView({as:"span",component:xG});return{deco:wt.create(a.doc,[f(u,{message:d})]),message:d}}}}))}keyDownHandler(r,i){if(i.key==="Enter"||i.code==="Space"||i.code==="Backspace"||i.code==="Delete"){this.getHint(r);return}if(i.key==="Tab"){i.preventDefault(),this.applyHint(r);return}this.hideHint(r)}getHint(r){let i=r.get(on),{state:o}=i,{tr:a,schema:s}=o,{from:l}=a.selection,c=a.doc.slice(0,l),d=r.get(Ro),u=s.topNodeType.createAndFill(void 0,c.content);if(!u)return;let f=d(u);SG(()=>{this.fetchAIHint(f).subscribe(p=>{let h=i.state.tr;i.dispatch(h.setMeta(this.copilotPluginKey,p.choices[0].text))})},2e3)}applyHint(r){let i=r.get(on),{state:o}=i,{tr:a,schema:s}=o,{message:l}=this.copilotPluginKey.getState(o),d=r.get(so)(l),u=Fi.fromSchema(s).serializeFragment(d.content),f=ua.fromSchema(s).parseSlice(u);a.setMeta(this.copilotPluginKey,"").replaceSelection(f),i.dispatch(a)}hideHint(r){let i=r.get(on),{state:o}=i,{tr:a}=o;i.dispatch(a.setMeta(this.copilotPluginKey,""))}fetchAIHint(r){let i=JSON.parse(localStorage.getItem("openai-api-config")??"{}"),o=localStorage.getItem("openai-api-url"),a=localStorage.getItem("openai-api-token");return this.http.post(o,q(D({},i),{prompt:r}),{headers:{Authorization:"Bearer "+a}})}};e.\u0275fac=function(i){return new(i||e)(B(bg))},e.\u0275prov=ee({token:e,factory:e.\u0275fac});let t=e;return t})();function d1e(t,e){if(t&1){let n=lr();U(0,"div",3),Ce("mousedown",function(i){nn(n);let o=ze().$implicit,a=ze();return rn(a.onMouseDown(i,o.slice,o.payload,o.click))})("touchstart",function(i){nn(n);let o=ze().$implicit,a=ze();return rn(a.onMouseDown(i,o.slice,o.payload,o.click))}),U(1,"span",4),we(2),G()()}if(t&2){let n=ze().$implicit;sr(n.className),Se("title",n.title)("routerLink",n.routerLink),oe(2),tr(n.icon)}}function u1e(t,e){if(t&1&&ct(0,d1e,3,5,"div",2),t&2){let n=e.$implicit;Ht(0,!n.hidden||!n.hidden()?0:-1)}}var MG=(()=>{let e=class e{constructor(r){this.copilotService=r,this.navBarItems=[{title:"Undo",icon:"undo",slice:_l.key},{title:"Redo",icon:"redo",slice:rf.key},{title:"Heading 1",icon:"looks_one",slice:ti.key,payload:1,className:["hidden-xs"]},{title:"Heading 2",icon:"looks_two",slice:ti.key,payload:2,className:["hidden-sm"]},{title:"Heading 3",icon:"looks_3",slice:ti.key,payload:3,className:["hidden-sm"]},{title:"Bold",icon:"format_bold",slice:Su.key},{title:"Italic",icon:"format_italic",slice:Du.key},{title:"Strikethrough",icon:"format_strikethrough",slice:Uu.key},{title:"Table",icon:"table",slice:px.key},{title:"Divider",icon:"horizontal_rule",slice:ph.key,payload:{mode:"horizontal"}},{title:"Diagram",icon:"rebase",slice:hC.key,className:["hidden-sm"]},{title:"Bullet List",icon:"format_list_bulleted",slice:K0.key},{title:"Ordered List",icon:"format_list_numbered",slice:Z0.key},{title:"Code Block",icon:"code_blocks",slice:Tu.key},{title:"Quote Block",icon:"format_quote",slice:Xs.key},{title:"Test collaborative Editing",icon:"partner_exchange",className:["hidden-sm"],routerLink:["/collaborative-editing"]},{title:"Open copilot",icon:"smart_toy",className:["hidden-sm"],click:()=>this.copilotService.enabled=!0,hidden:()=>this.copilotService.enabled},{title:"Close copilot",icon:"smart_toy",className:["hidden-sm","text-red-500"],click:()=>this.copilotService.enabled=!1,hidden:()=>!this.copilotService.enabled}]}get action(){return Lc(this.provider.editor)}onMouseDown(r,i,o,a){r.preventDefault(),i&&this.action(dh(i,o)),a&&a()}};e.\u0275fac=function(i){return new(i||e)(R(cm))},e.\u0275cmp=_e({type:e,selectors:[["top-bar"]],inputs:{provider:"provider"},standalone:!0,features:[Oe],decls:4,vars:0,consts:[[1,"absolute","top-0","h-10","w-full","border-b","border-nord4","dark:divide-gray-600","dark:border-gray-600"],[1,"prose","mx-auto","flex"],["class","flex h-10 w-10 cursor-pointer items-center justify-center rounded hover:bg-gray-100",3,"title","class","routerLink"],[1,"flex","h-10","w-10","cursor-pointer","items-center","justify-center","rounded","hover:bg-gray-100",3,"title","routerLink","mousedown","touchstart"],[1,"material-symbols-outlined","!text-base"]],template:function(i,o){i&1&&(U(0,"div",0)(1,"div",1),$r(2,u1e,1,1,null,null,Kw),G()()),i&2&&(oe(2),qr(o.navBarItems))},dependencies:[Mv],styles:["@media (max-width: 768px){.hidden-sm[_ngcontent-%COMP%]{display:none}}@media (max-width: 640px){.hidden-xs[_ngcontent-%COMP%]{display:none}}"]});let t=e;return t})();var f1e=["*"],Fb=(()=>{let e=class e extends QB{};e.\u0275fac=(()=>{let r;return function(o){return(r||(r=nt(e)))(o||e)}})(),e.\u0275cmp=_e({type:e,selectors:[["ng-milkdown-provider"]],standalone:!0,features:[hn([Nk]),ge,Oe],ngContentSelectors:f1e,decls:1,vars:0,template:function(i,o){i&1&&(Ii(),xn(0))},dependencies:[to],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}"]});let t=e;return t})();var TG=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_e({type:e,selectors:[["spinner"]],standalone:!0,features:[Oe],decls:4,vars:0,consts:[[1,"flex","h-full","w-full","items-center","justify-center"],[1,"spinner"],[1,"spinner-before"],[1,"spinner-after"]],template:function(i,o){i&1&&(U(0,"div",0)(1,"span",1),_t(2,"span",2)(3,"span",3),G()())},styles:[".spinner[_ngcontent-%COMP%]{display:inherit;position:relative;width:50px;height:50px;transform:rotate(165deg)}.spinner[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;display:block;width:10px;height:10px;border-radius:5px;transform:translate(-50%,-50%)}.spinner-before[_ngcontent-%COMP%]{animation:2s ease 0s infinite normal none running _ngcontent-%COMP%_spinners-HashLoader-before}.spinner-after[_ngcontent-%COMP%]{animation:2s ease 0s infinite normal none running _ngcontent-%COMP%_spinners-HashLoader-after}@keyframes _ngcontent-%COMP%_spinners-HashLoader-before{0%{width:10px;box-shadow:#81a1c1bf 20px -10px,#81a1c1bf -20px 10px}35%{width:50px;box-shadow:#81a1c1bf 0 -10px,#81a1c1bf 0 10px}70%{width:10px;box-shadow:#81a1c1bf -20px -10px,#81a1c1bf 20px 10px}to{box-shadow:#81a1c1bf 20px -10px,#81a1c1bf -20px 10px}}@keyframes _ngcontent-%COMP%_spinners-HashLoader-after{0%{height:10px;box-shadow:#81a1c1 10px 20px,#81a1c1 -10px -20px}35%{height:50px;box-shadow:#81a1c1 10px 0,#81a1c1 -10px 0}70%{height:10px;box-shadow:#81a1c1 10px -20px,#81a1c1 -10px 20px}to{box-shadow:#81a1c1 10px 20px,#81a1c1 -10px -20px}}"]});let t=e;return t})();function p1e(t,e){if(t&1&&_t(0,"top-bar",7),t&2){ze();let n=Ls(5);Se("provider",n)}}function h1e(t,e){if(t&1){let n=lr();U(0,"ng-milkdown",8),Ce("ngModelChange",function(i){nn(n);let o=ze();return rn(o.value=i)})("loadingChange",function(i){nn(n);let o=ze();return rn(o.loading=i)})("ngModelChange",function(i){nn(n);let o=ze();return rn(o.onChange(i))})("onReady",function(i){nn(n);let o=ze();return rn(o.editor=i)}),G()}if(t&2){let n=ze(),r=Ls(8);Se("config",n.config)("plugins",n.plugins)("ngModel",n.value)("loading",n.loading)("spinner",r)}}function m1e(t,e){t&1&&_t(0,"spinner")}var AG=(()=>{let e=class e{constructor(r,i){this.http=r,this.copilotService=i,this.editor=null,this.loading=!0,this.tooltip=sy("tooltipMenu"),this.imageTooltip=sy("imageTooltipMenu"),this.slash=gA("slashMenu"),this.emojiSlash=gA("emojiMenu"),this.plugins=null,this.config=o=>{o.set(ma,{attributes:{class:"prose dark:prose-invert outline-none mx-auto px-2 py-4 box-border milkdown-theme-nord editor",spellcheck:"false"}}),o.set(W0.key,()=>({class:"border-l-4 border-nord10 pl-4 dark:border-nord8"})),o.set($0.key,()=>({class:"font-mono text-nord10 tracking-tight dark:text-nord8"})),o.set(mb.key,()=>({container:{},img:{class:"w-[1em] h-[1em] inline align-text-top"}}))}}ngOnInit(){this.http.get("assets/markdown.md",{responseType:"text"}).subscribe(r=>{this.plugins=[YU,lq,Ax,aI,gH,[J$,wu(tf.node,()=>this.provider.createNodeView({component:kG,stopEvent:()=>!0}))],hq,gG,wu(af.node,()=>this.provider.createNodeView({component:oG,stopEvent:()=>!0})),wu(lo.node,()=>this.provider.createNodeView({component:aG})),[wu(py.node,()=>this.provider.createNodeView({component:sG})),wu(hy.node,()=>this.provider.createNodeView({component:lG}))],wu(Mu.node,()=>this.provider.createNodeView({component:cG})),{plugin:eb,config:i=>{i.set(eb.key,{view:this.provider.createPluginView({component:fq,inputs:{ctx:i}})})}},{plugin:this.tooltip,config:i=>{i.set(this.tooltip.key,{view:this.provider.createPluginView({component:cq})})}},{plugin:this.slash,config:i=>{i.set(this.slash.key,{view:this.provider.createPluginView({component:dq,inputs:{slash:this.slash}})})}},Bq,{plugin:this.emojiSlash,config:i=>{i.set(this.emojiSlash.key,{view:this.provider.createPluginView({component:dG,inputs:{slash:this.emojiSlash}})})}},{plugin:this.imageTooltip,config:i=>{i.set(this.imageTooltip.key,{view:this.provider.createPluginView({component:uG})})}},hG(this.provider),this.copilotService.copilotPlugin(this.provider),V6,{plugin:Pb,config:i=>{i.set(V6.key,{view:this.provider.createPluginView({component:bG})})}},vG(this.provider),{plugin:tq,config:i=>{i.set(fb.key,{type:"indent",size:4})}}],this.value=r})}onChange(r){}};e.\u0275fac=function(i){return new(i||e)(R(bg),R(cm))},e.\u0275cmp=_e({type:e,selectors:[["app-root"]],viewQuery:function(i,o){if(i&1&&mn(Fb,7),i&2){let a;Dt(a=St())&&(o.provider=a.first)}},standalone:!0,features:[hn([cm]),Oe],decls:9,vars:2,consts:[[1,"prose","lg:prose-xl"],[1,"relative","h-full","pt-10"],["class","opacity-80",3,"provider"],[1,"h-full","overflow-auto","overscroll-none","ctn","flex","flex-col","px-4"],["provider",""],[3,"config","plugins","ngModel","loading","spinner","ngModelChange","loadingChange","onReady",4,"ngIf"],["spinner",""],[1,"opacity-80",3,"provider"],[3,"config","plugins","ngModel","loading","spinner","ngModelChange","loadingChange","onReady"]],template:function(i,o){i&1&&(_t(0,"article",0),U(1,"div",1),ct(2,p1e,1,1,"top-bar",2),U(3,"div",3)(4,"ng-milkdown-provider",null,4),ct(6,h1e,1,5,"ng-milkdown",5)(7,m1e,1,0,"ng-template",null,6,Xw),G()()()),i&2&&(oe(2),Ht(2,o.editor&&!o.loading?2:-1),oe(4),Se("ngIf",o.value))},dependencies:[to,TN,io,ro,Oi,jk,lv,MG,Fb,TG]});let t=e;return t})();var Vr=()=>new Map,KC=t=>{let e=Vr();return t.forEach((n,r)=>{e.set(r,n)}),e},$i=(t,e,n)=>{let r=t.get(e);return r===void 0&&t.set(e,r=n()),r},IG=(t,e)=>{let n=[];for(let[r,i]of t)n.push(e(i,r));return n},OG=(t,e)=>{for(let[n,r]of t)if(e(r,n))return!0;return!1};var mo=()=>new Set;var ZC=t=>t[t.length-1];var PG=(t,e)=>{for(let n=0;n<e.length;n++)t.push(e[n])},_s=Array.from;var FG=(t,e)=>{for(let n=0;n<t.length;n++)if(e(t[n],n,t))return!0;return!1};var Rb=Array.isArray;var xl=class{constructor(){this._observers=Vr()}on(e,n){$i(this._observers,e,mo).add(n)}once(e,n){let r=(...i)=>{this.off(e,r),n(...i)};this.on(e,r)}off(e,n){let r=this._observers.get(e);r!==void 0&&(r.delete(n),r.size===0&&this._observers.delete(e))}emit(e,n){return _s((this._observers.get(e)||Vr()).values()).forEach(r=>r(...n))}destroy(){this._observers=Vr()}};var oi=Math.floor;var dm=Math.abs;var go=(t,e)=>t<e?t:e,Ko=(t,e)=>t>e?t:e,JJe=Number.isNaN,NG=Math.pow;var XC=t=>t!==0?t<0:1/t<0;var G6=Number.MAX_SAFE_INTEGER,eet=Number.MIN_SAFE_INTEGER,tet=1<<31;var RG=Number.isInteger||(t=>typeof t=="number"&&isFinite(t)&&oi(t)===t),net=Number.isNaN,ret=Number.parseInt;var Y6=String.fromCharCode,iet=String.fromCodePoint,oet=Y6(65535),g1e=t=>t.toLowerCase(),y1e=/^\s*/g,b1e=t=>t.replace(y1e,""),_1e=/([A-Z])/g,K6=(t,e)=>b1e(t.replace(_1e,n=>`${e}${g1e(n)}`));var w1e=t=>{let e=unescape(encodeURIComponent(t)),n=e.length,r=new Uint8Array(n);for(let i=0;i<n;i++)r[i]=e.codePointAt(i);return r},fm=typeof TextEncoder<"u"?new TextEncoder:null,v1e=t=>fm.encode(t),zG=fm?v1e:w1e;var um=typeof TextDecoder>"u"?null:new TextDecoder("utf-8",{fatal:!0,ignoreBOM:!0});um&&um.decode(new Uint8Array).length===1&&(um=null);var mf=class{constructor(){this.cpos=0,this.cbuf=new Uint8Array(100),this.bufs=[]}},yr=()=>new mf;var eD=t=>{let e=t.cpos;for(let n=0;n<t.bufs.length;n++)e+=t.bufs[n].length;return e};var _n=t=>{let e=new Uint8Array(eD(t)),n=0;for(let r=0;r<t.bufs.length;r++){let i=t.bufs[r];e.set(i,n),n+=i.length}return e.set(new Uint8Array(t.cbuf.buffer,0,t.cpos),n),e},k1e=(t,e)=>{let n=t.cbuf.length;n-t.cpos<e&&(t.bufs.push(new Uint8Array(t.cbuf.buffer,0,t.cpos)),t.cbuf=new Uint8Array(Ko(n,e)*2),t.cpos=0)},Ar=(t,e)=>{let n=t.cbuf.length;t.cpos===n&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(n*2),t.cpos=0),t.cbuf[t.cpos++]=e};var tD=Ar;var Re=(t,e)=>{for(;e>127;)Ar(t,128|127&e),e=oi(e/128);Ar(t,127&e)},nD=(t,e)=>{let n=XC(e);for(n&&(e=-e),Ar(t,(e>63?128:0)|(n?64:0)|63&e),e=oi(e/64);e>0;)Ar(t,(e>127?128:0)|127&e),e=oi(e/128)},Z6=new Uint8Array(3e4),x1e=Z6.length/3,C1e=(t,e)=>{if(e.length<x1e){let n=fm.encodeInto(e,Z6).written||0;Re(t,n);for(let r=0;r<n;r++)Ar(t,Z6[r])}else Tn(t,zG(e))},D1e=(t,e)=>{let n=unescape(encodeURIComponent(e)),r=n.length;Re(t,r);for(let i=0;i<r;i++)Ar(t,n.codePointAt(i))},Dl=fm&&fm.encodeInto?C1e:D1e;var zb=(t,e)=>{let n=t.cbuf.length,r=t.cpos,i=go(n-r,e.length),o=e.length-i;t.cbuf.set(e.subarray(0,i),r),t.cpos+=i,o>0&&(t.bufs.push(t.cbuf),t.cbuf=new Uint8Array(Ko(n*2,o)),t.cbuf.set(e.subarray(i)),t.cpos=o)},Tn=(t,e)=>{Re(t,e.byteLength),zb(t,e)},X6=(t,e)=>{k1e(t,e);let n=new DataView(t.cbuf.buffer,t.cpos,e);return t.cpos+=e,n},S1e=(t,e)=>X6(t,4).setFloat32(0,e,!1),E1e=(t,e)=>X6(t,8).setFloat64(0,e,!1),M1e=(t,e)=>X6(t,8).setBigInt64(0,e,!1);var BG=new DataView(new ArrayBuffer(4)),T1e=t=>(BG.setFloat32(0,t),BG.getFloat32(0)===t),hm=(t,e)=>{switch(typeof e){case"string":Ar(t,119),Dl(t,e);break;case"number":RG(e)&&dm(e)<=2147483647?(Ar(t,125),nD(t,e)):T1e(e)?(Ar(t,124),S1e(t,e)):(Ar(t,123),E1e(t,e));break;case"bigint":Ar(t,122),M1e(t,e);break;case"object":if(e===null)Ar(t,126);else if(Rb(e)){Ar(t,117),Re(t,e.length);for(let n=0;n<e.length;n++)hm(t,e[n])}else if(e instanceof Uint8Array)Ar(t,116),Tn(t,e);else{Ar(t,118);let n=Object.keys(e);Re(t,n.length);for(let r=0;r<n.length;r++){let i=n[r];Dl(t,i),hm(t,e[i])}}break;case"boolean":Ar(t,e?120:121);break;default:Ar(t,127)}},jb=class extends mf{constructor(e){super(),this.w=e,this.s=null,this.count=0}write(e){this.s===e?this.count++:(this.count>0&&Re(this,this.count-1),this.count=1,this.w(this,e),this.s=e)}};var VG=t=>{t.count>0&&(nD(t.encoder,t.count===1?t.s:-t.s),t.count>1&&Re(t.encoder,t.count-2))},gf=class{constructor(){this.encoder=new mf,this.s=0,this.count=0}write(e){this.s===e?this.count++:(VG(this),this.count=1,this.s=e)}toUint8Array(){return VG(this),_n(this.encoder)}};var UG=t=>{if(t.count>0){let e=t.diff*2+(t.count===1?0:1);nD(t.encoder,e),t.count>1&&Re(t.encoder,t.count-2)}},mm=class{constructor(){this.encoder=new mf,this.s=0,this.count=0,this.diff=0}write(e){this.diff===e-this.s?(this.s=e,this.count++):(UG(this),this.count=1,this.diff=e-this.s,this.s=e)}toUint8Array(){return UG(this),_n(this.encoder)}},JC=class{constructor(){this.sarr=[],this.s="",this.lensE=new gf}write(e){this.s+=e,this.s.length>19&&(this.sarr.push(this.s),this.s=""),this.lensE.write(e.length)}toUint8Array(){let e=new mf;return this.sarr.push(this.s),this.s="",Dl(e,this.sarr.join("")),zb(e,this.lensE.toUint8Array()),_n(e)}};var ws=t=>new Error(t),yo=()=>{throw ws("Method unimplemented")},qi=()=>{throw ws("Unexpected case")};var HG=ws("Unexpected end of array"),$G=ws("Integer out of Range"),gm=class{constructor(e){this.arr=e,this.pos=0}},Ta=t=>new gm(t),qG=t=>t.pos!==t.arr.length;var A1e=(t,e)=>{let n=new Uint8Array(t.arr.buffer,t.pos+t.arr.byteOffset,e);return t.pos+=e,n},br=t=>A1e(t,et(t));var yf=t=>t.arr[t.pos++];var et=t=>{let e=0,n=1,r=t.arr.length;for(;t.pos<r;){let i=t.arr[t.pos++];if(e=e+(i&127)*n,n*=128,i<128)return e;if(e>G6)throw $G}throw HG},aD=t=>{let e=t.arr[t.pos++],n=e&63,r=64,i=(e&64)>0?-1:1;if(!(e&128))return i*n;let o=t.arr.length;for(;t.pos<o;){if(e=t.arr[t.pos++],n=n+(e&127)*r,r*=128,e<128)return i*n;if(n>G6)throw $G}throw HG};var I1e=t=>{let e=et(t);if(e===0)return"";{let n=String.fromCodePoint(yf(t));if(--e<100)for(;e--;)n+=String.fromCodePoint(yf(t));else for(;e>0;){let r=e<1e4?e:1e4,i=t.arr.subarray(t.pos,t.pos+r);t.pos+=r,n+=String.fromCodePoint.apply(null,i),e-=r}return decodeURIComponent(escape(n))}},O1e=t=>um.decode(br(t)),Ma=um?O1e:I1e;var Q6=(t,e)=>{let n=new DataView(t.arr.buffer,t.arr.byteOffset+t.pos,e);return t.pos+=e,n},P1e=t=>Q6(t,4).getFloat32(0,!1),F1e=t=>Q6(t,8).getFloat64(0,!1),N1e=t=>Q6(t,8).getBigInt64(0,!1);var R1e=[t=>{},t=>null,aD,P1e,F1e,N1e,t=>!1,t=>!0,Ma,t=>{let e=et(t),n={};for(let r=0;r<e;r++){let i=Ma(t);n[i]=ym(t)}return n},t=>{let e=et(t),n=[];for(let r=0;r<e;r++)n.push(ym(t));return n},br],ym=t=>R1e[127-yf(t)](t),Lb=class extends gm{constructor(e,n){super(e),this.reader=n,this.s=null,this.count=0}read(){return this.count===0&&(this.s=this.reader(this),qG(this)?this.count=et(this)+1:this.count=-1),this.count--,this.s}};var bf=class extends gm{constructor(e){super(e),this.s=0,this.count=0}read(){if(this.count===0){this.s=aD(this);let e=XC(this.s);this.count=1,e&&(this.s=-this.s,this.count=et(this)+2)}return this.count--,this.s}};var bm=class extends gm{constructor(e){super(e),this.s=0,this.count=0,this.diff=0}read(){if(this.count===0){let e=aD(this),n=e&1;this.diff=oi(e/2),this.count=1,n&&(this.count=et(this)+2)}return this.s+=this.diff,this.count--,this.s}},oD=class{constructor(e){this.decoder=new bf(e),this.str=Ma(this.decoder),this.spos=0}read(){let e=this.spos+this.decoder.read(),n=this.str.slice(this.spos,e);return this.spos=e,n}};var cet=crypto.subtle,WG=crypto.getRandomValues.bind(crypto);var j1e=Math.random,J6=()=>WG(new Uint32Array(1))[0];var GG=t=>t[oi(j1e()*t.length)],z1e=[1e7]+-1e3+-4e3+-8e3+-1e11,YG=()=>z1e.replace(/[018]/g,t=>(t^J6()&15>>t/4).toString(16));var bo=Date.now;var e8=t=>new Promise(t);var fet=Promise.all.bind(Promise);var t8=t=>t===void 0?null:t;var n8=class{constructor(){this.map=new Map}setItem(e,n){this.map.set(e,n)}getItem(e){return this.map.get(e)}},ZG=new n8,r8=!0;try{typeof localStorage<"u"&&localStorage&&(ZG=localStorage,r8=!1)}catch{}var lD=ZG,XG=t=>r8||addEventListener("storage",t),QG=t=>r8||removeEventListener("storage",t);var eY=Object.assign,i8=Object.keys,tY=(t,e)=>{for(let n in t)e(t[n],n)},nY=(t,e)=>{let n=[];for(let r in t)n.push(e(t[r],r));return n},Vb=t=>i8(t).length;var rY=t=>{for(let e in t)return!1;return!0},V1e=(t,e)=>{for(let n in t)if(!e(t[n],n))return!1;return!0},o8=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a8=(t,e)=>t===e||Vb(t)===Vb(e)&&V1e(t,(n,r)=>(n!==void 0||o8(e,r))&&e[r]===n);var Ub=(t,e,n=0)=>{try{for(;n<t.length;n++)t[n](...e)}finally{n<t.length&&Ub(t,e,n+1)}};var iY=t=>t,U1e=(t,e)=>t===e;var _m=(t,e)=>{if(t==null||e==null)return U1e(t,e);if(t.constructor!==e.constructor)return!1;if(t===e)return!0;switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t),e=new Uint8Array(e);case Uint8Array:{if(t.byteLength!==e.byteLength)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;break}case Set:{if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;break}case Map:{if(t.size!==e.size)return!1;for(let n of t.keys())if(!e.has(n)||!_m(t.get(n),e.get(n)))return!1;break}case Object:if(Vb(t)!==Vb(e))return!1;for(let n in t)if(!o8(t,n)||!_m(t[n],e[n]))return!1;break;case Array:if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(!_m(t[n],e[n]))return!1;break;default:return!1}return!0},oY=(t,e)=>e.includes(t);var wm=typeof process<"u"&&process.release&&/node|io\.js/.test(process.release.name)&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]",vm=typeof window<"u"&&typeof document<"u"&&!wm,pet=typeof navigator<"u"?/Mac/.test(navigator.platform):!1,vs,H1e=[],$1e=()=>{if(vs===void 0)if(wm){vs=Vr();let t=process.argv,e=null;for(let n=0;n<t.length;n++){let r=t[n];r[0]==="-"?(e!==null&&vs.set(e,""),e=r):e!==null?(vs.set(e,r),e=null):H1e.push(r)}e!==null&&vs.set(e,"")}else typeof location=="object"?(vs=Vr(),(location.search||"?").slice(1).split("&").forEach(t=>{if(t.length!==0){let[e,n]=t.split("=");vs.set(`--${K6(e,"-")}`,n),vs.set(`-${K6(e,"-")}`,n)}})):vs=Vr();return vs},l8=t=>$1e().has(t);var c8=t=>wm?t8(process.env[t.toUpperCase()]):t8(lD.getItem(t));var q1e=t=>l8("--"+t)||c8(t)!==null,het=q1e("production"),aY=wm&&oY(process.env.FORCE_COLOR,["true","1","2"]),sY=!l8("no-colors")&&(!wm||process.stdout.isTTY||aY)&&(!wm||l8("color")||aY||c8("COLORTERM")!==null||(c8("TERM")||"").includes("color"));var lY=t=>new Uint8Array(t),W1e=(t,e,n)=>new Uint8Array(t,e,n),cY=t=>new Uint8Array(t),G1e=t=>{let e="";for(let n=0;n<t.byteLength;n++)e+=Y6(t[n]);return btoa(e)},Y1e=t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("base64"),K1e=t=>{let e=atob(t),n=lY(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r);return n},Z1e=t=>{let e=Buffer.from(t,"base64");return W1e(e.buffer,e.byteOffset,e.byteLength)},dY=vm?G1e:Y1e,uY=vm?K1e:Z1e;var fY=t=>{let e=lY(t.byteLength);return e.set(t),e};var u8=class{constructor(e,n){this.left=e,this.right=n}},ks=(t,e)=>new u8(t,e);var Sl=typeof document<"u"?document:{};var met=typeof DOMParser<"u"?new DOMParser:null;var hY=t=>IG(t,(e,n)=>`${n}:${e};`).join("");var get=Sl.ELEMENT_NODE,yet=Sl.TEXT_NODE,bet=Sl.CDATA_SECTION_NODE,_et=Sl.COMMENT_NODE,wet=Sl.DOCUMENT_NODE,vet=Sl.DOCUMENT_TYPE_NODE,ket=Sl.DOCUMENT_FRAGMENT_NODE;var dD=t=>class{constructor(n){this._=n}destroy(){t(this._)}},Q1e=dD(clearTimeout),km=(t,e)=>new Q1e(setTimeout(e,t)),Cet=dD(clearInterval);var Det=dD(t=>typeof requestAnimationFrame<"u"&&cancelAnimationFrame(t));var Eet=dD(t=>typeof cancelIdleCallback<"u"&&cancelIdleCallback(t));var xs=Symbol;var Hb=xs(),$b=xs(),f8=xs(),p8=xs(),h8=xs(),qb=xs(),m8=xs(),xm=xs(),g8=xs(),yY=t=>{let e=[],n=[],r=0;for(;r<t.length;r++){let i=t[r];i.constructor===String||i.constructor===Number?e.push(i):i.constructor===Object&&n.push(JSON.stringify(i))}return n};var Met=bo();var tke={[Hb]:ks("font-weight","bold"),[$b]:ks("font-weight","normal"),[f8]:ks("color","blue"),[h8]:ks("color","green"),[p8]:ks("color","grey"),[qb]:ks("color","red"),[m8]:ks("color","purple"),[xm]:ks("color","orange"),[g8]:ks("color","black")},nke=t=>{let e=[],n=[],r=Vr(),i=[],o=0;for(;o<t.length;o++){let a=t[o],s=tke[a];if(s!==void 0)r.set(s.left,s.right);else if(a.constructor===String||a.constructor===Number){let l=hY(r);o>0||l.length>0?(e.push("%c"+a),n.push(l)):e.push(a)}else break}for(o>0&&(i=n,i.unshift(e.join("")));o<t.length;o++){let a=t[o];a instanceof Symbol||i.push(a)}return i},bY=sY?nke:yY,_Y=(...t)=>{console.log(...bY(t)),vY.forEach(e=>e.print(t))},wY=(...t)=>{console.warn(...bY(t)),t.unshift(xm),vY.forEach(e=>e.print(t))};var vY=mo();var kY=t=>({[Symbol.iterator](){return this},next:t}),xY=(t,e)=>kY(()=>{let n;do n=t.next();while(!n.done&&!e(n.value));return n}),uD=(t,e)=>kY(()=>{let{done:n,value:r}=t.next();return{done:n,value:n?void 0:e(r)}});var Gb=class{constructor(e,n){this.clock=e,this.len=n}},Xc=class{constructor(){this.clients=new Map}},El=(t,e,n)=>e.clients.forEach((r,i)=>{let o=t.doc.store.clients.get(i);for(let a=0;a<r.length;a++){let s=r[a];ZY(t,o,s.clock,s.len,n)}}),ske=(t,e)=>{let n=0,r=t.length-1;for(;n<=r;){let i=oi((n+r)/2),o=t[i],a=o.clock;if(a<=e){if(e<a+o.len)return i;n=i+1}else r=i-1}return null},xf=(t,e)=>{let n=t.clients.get(e.client);return n!==void 0&&ske(n,e.clock)!==null},N8=t=>{t.clients.forEach(e=>{e.sort((i,o)=>i.clock-o.clock);let n,r;for(n=1,r=1;n<e.length;n++){let i=e[r-1],o=e[n];i.clock+i.len>=o.clock?i.len=Ko(i.len,o.clock+o.len-i.clock):(r<n&&(e[r]=o),r++)}e.length=r})},b8=t=>{let e=new Xc;for(let n=0;n<t.length;n++)t[n].clients.forEach((r,i)=>{if(!e.clients.has(i)){let o=r.slice();for(let a=n+1;a<t.length;a++)PG(o,t[a].clients.get(i)||[]);e.clients.set(i,o)}});return N8(e),e},Yb=(t,e,n,r)=>{$i(t.clients,e,()=>[]).push(new Gb(n,r))},TD=()=>new Xc,BY=t=>{let e=TD();return t.clients.forEach((n,r)=>{let i=[];for(let o=0;o<n.length;o++){let a=n[o];if(a.deleted){let s=a.id.clock,l=a.length;if(o+1<n.length)for(let c=n[o+1];o+1<n.length&&c.deleted;c=n[++o+1])l+=c.length;i.push(new Gb(s,l))}}i.length>0&&e.clients.set(r,i)}),e},Am=(t,e)=>{Re(t.restEncoder,e.clients.size),_s(e.clients.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{t.resetDsCurVal(),Re(t.restEncoder,n);let i=r.length;Re(t.restEncoder,i);for(let o=0;o<i;o++){let a=r[o];t.writeDsClock(a.clock),t.writeDsLen(a.len)}})},R8=t=>{let e=new Xc,n=et(t.restDecoder);for(let r=0;r<n;r++){t.resetDsCurVal();let i=et(t.restDecoder),o=et(t.restDecoder);if(o>0){let a=$i(e.clients,i,()=>[]);for(let s=0;s<o;s++)a.push(new Gb(t.readDsClock(),t.readDsLen()))}}return e},SY=(t,e,n)=>{let r=new Xc,i=et(t.restDecoder);for(let o=0;o<i;o++){t.resetDsCurVal();let a=et(t.restDecoder),s=et(t.restDecoder),l=n.clients.get(a)||[],c=Yn(n,a);for(let d=0;d<s;d++){let u=t.readDsClock(),f=u+t.readDsLen();if(u<c){c<f&&Yb(r,a,c,f-c);let p=Cs(l,u),h=l[p];for(!h.deleted&&h.id.clock<u&&(l.splice(p+1,0,MD(e,h,u-h.id.clock)),p++);p<l.length&&(h=l[p++],h.id.clock<f);)h.deleted||(f<h.id.clock+h.length&&l.splice(p,0,MD(e,h,f-h.id.clock)),h.delete(e))}else Yb(r,a,u,f-u)}}if(r.clients.size>0){let o=new Tl;return Re(o.restEncoder,0),Am(o,r),o.toUint8Array()}return null};var VY=J6,Ml=class t extends xl{constructor({guid:e=YG(),collectionid:n=null,gc:r=!0,gcFilter:i=()=>!0,meta:o=null,autoLoad:a=!1,shouldLoad:s=!0}={}){super(),this.gc=r,this.gcFilter=i,this.clientID=VY(),this.guid=e,this.collectionid=n,this.share=new Map,this.store=new kD,this._transaction=null,this._transactionCleanups=[],this.subdocs=new Set,this._item=null,this.shouldLoad=s,this.autoLoad=a,this.meta=o,this.isLoaded=!1,this.isSynced=!1,this.whenLoaded=e8(c=>{this.on("load",()=>{this.isLoaded=!0,c(this)})});let l=()=>e8(c=>{let d=u=>{(u===void 0||u===!0)&&(this.off("sync",d),c())};this.on("sync",d)});this.on("sync",c=>{c===!1&&this.isSynced&&(this.whenSynced=l()),this.isSynced=c===void 0||c===!0,this.isSynced&&!this.isLoaded&&this.emit("load",[])}),this.whenSynced=l()}load(){let e=this._item;e!==null&&!this.shouldLoad&&fn(e.parent.doc,n=>{n.subdocsLoaded.add(this)},null,!0),this.shouldLoad=!0}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(_s(this.subdocs).map(e=>e.guid))}transact(e,n=null){return fn(this,e,n)}get(e,n=_r){let r=$i(this.share,e,()=>{let o=new n;return o._integrate(this,null),o}),i=r.constructor;if(n!==_r&&i!==n)if(i===_r){let o=new n;o._map=r._map,r._map.forEach(a=>{for(;a!==null;a=a.left)a.parent=o}),o._start=r._start;for(let a=o._start;a!==null;a=a.right)a.parent=o;return o._length=r._length,this.share.set(e,o),o._integrate(this,null),o}else throw new Error(`Type with the name ${e} has already been defined with a different constructor`);return r}getArray(e=""){return this.get(e,SD)}getText(e=""){return this.get(e,vf)}getMap(e=""){return this.get(e,Jb)}getXmlFragment(e=""){return this.get(e,Al)}toJSON(){let e={};return this.share.forEach((n,r)=>{e[r]=n.toJSON()}),e}destroy(){_s(this.subdocs).forEach(n=>n.destroy());let e=this._item;if(e!==null){this._item=null;let n=e.content;n.doc=new t(q(D({guid:this.guid},n.opts),{shouldLoad:!1})),n.doc._item=e,fn(e.parent.doc,r=>{let i=n.doc;e.deleted||r.subdocsAdded.add(i),r.subdocsRemoved.add(this)},null,!0)}this.emit("destroyed",[!0]),this.emit("destroy",[this]),super.destroy()}on(e,n){super.on(e,n)}off(e,n){super.off(e,n)}},bD=class{constructor(e){this.restDecoder=e}resetDsCurVal(){}readDsClock(){return et(this.restDecoder)}readDsLen(){return et(this.restDecoder)}},_D=class extends bD{readLeftID(){return pt(et(this.restDecoder),et(this.restDecoder))}readRightID(){return pt(et(this.restDecoder),et(this.restDecoder))}readClient(){return et(this.restDecoder)}readInfo(){return yf(this.restDecoder)}readString(){return Ma(this.restDecoder)}readParentInfo(){return et(this.restDecoder)===1}readTypeRef(){return et(this.restDecoder)}readLen(){return et(this.restDecoder)}readAny(){return ym(this.restDecoder)}readBuf(){return fY(br(this.restDecoder))}readJSON(){return JSON.parse(Ma(this.restDecoder))}readKey(){return Ma(this.restDecoder)}},_8=class{constructor(e){this.dsCurrVal=0,this.restDecoder=e}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){return this.dsCurrVal+=et(this.restDecoder),this.dsCurrVal}readDsLen(){let e=et(this.restDecoder)+1;return this.dsCurrVal+=e,e}},Qc=class extends _8{constructor(e){super(e),this.keys=[],et(e),this.keyClockDecoder=new bm(br(e)),this.clientDecoder=new bf(br(e)),this.leftClockDecoder=new bm(br(e)),this.rightClockDecoder=new bm(br(e)),this.infoDecoder=new Lb(br(e),yf),this.stringDecoder=new oD(br(e)),this.parentInfoDecoder=new Lb(br(e),yf),this.typeRefDecoder=new bf(br(e)),this.lenDecoder=new bf(br(e))}readLeftID(){return new Zc(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new Zc(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return ym(this.restDecoder)}readBuf(){return br(this.restDecoder)}readJSON(){return ym(this.restDecoder)}readKey(){let e=this.keyClockDecoder.read();if(e<this.keys.length)return this.keys[e];{let n=this.stringDecoder.read();return this.keys.push(n),n}}},wD=class{constructor(){this.restEncoder=yr()}toUint8Array(){return _n(this.restEncoder)}resetDsCurVal(){}writeDsClock(e){Re(this.restEncoder,e)}writeDsLen(e){Re(this.restEncoder,e)}},wf=class extends wD{writeLeftID(e){Re(this.restEncoder,e.client),Re(this.restEncoder,e.clock)}writeRightID(e){Re(this.restEncoder,e.client),Re(this.restEncoder,e.clock)}writeClient(e){Re(this.restEncoder,e)}writeInfo(e){tD(this.restEncoder,e)}writeString(e){Dl(this.restEncoder,e)}writeParentInfo(e){Re(this.restEncoder,e?1:0)}writeTypeRef(e){Re(this.restEncoder,e)}writeLen(e){Re(this.restEncoder,e)}writeAny(e){hm(this.restEncoder,e)}writeBuf(e){Tn(this.restEncoder,e)}writeJSON(e){Dl(this.restEncoder,JSON.stringify(e))}writeKey(e){Dl(this.restEncoder,e)}},vD=class{constructor(){this.restEncoder=yr(),this.dsCurrVal=0}toUint8Array(){return _n(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(e){let n=e-this.dsCurrVal;this.dsCurrVal=e,Re(this.restEncoder,n)}writeDsLen(e){e===0&&qi(),Re(this.restEncoder,e-1),this.dsCurrVal+=e}},Tl=class extends vD{constructor(){super(),this.keyMap=new Map,this.keyClock=0,this.keyClockEncoder=new mm,this.clientEncoder=new gf,this.leftClockEncoder=new mm,this.rightClockEncoder=new mm,this.infoEncoder=new jb(tD),this.stringEncoder=new JC,this.parentInfoEncoder=new jb(tD),this.typeRefEncoder=new gf,this.lenEncoder=new gf}toUint8Array(){let e=yr();return Re(e,0),Tn(e,this.keyClockEncoder.toUint8Array()),Tn(e,this.clientEncoder.toUint8Array()),Tn(e,this.leftClockEncoder.toUint8Array()),Tn(e,this.rightClockEncoder.toUint8Array()),Tn(e,_n(this.infoEncoder)),Tn(e,this.stringEncoder.toUint8Array()),Tn(e,_n(this.parentInfoEncoder)),Tn(e,this.typeRefEncoder.toUint8Array()),Tn(e,this.lenEncoder.toUint8Array()),zb(e,_n(this.restEncoder)),_n(e)}writeLeftID(e){this.clientEncoder.write(e.client),this.leftClockEncoder.write(e.clock)}writeRightID(e){this.clientEncoder.write(e.client),this.rightClockEncoder.write(e.clock)}writeClient(e){this.clientEncoder.write(e)}writeInfo(e){this.infoEncoder.write(e)}writeString(e){this.stringEncoder.write(e)}writeParentInfo(e){this.parentInfoEncoder.write(e?1:0)}writeTypeRef(e){this.typeRefEncoder.write(e)}writeLen(e){this.lenEncoder.write(e)}writeAny(e){hm(this.restEncoder,e)}writeBuf(e){Tn(this.restEncoder,e)}writeJSON(e){hm(this.restEncoder,e)}writeKey(e){let n=this.keyMap.get(e);n===void 0?(this.keyClockEncoder.write(this.keyClock++),this.stringEncoder.write(e)):this.keyClockEncoder.write(n)}},lke=(t,e,n,r)=>{r=Ko(r,e[0].id.clock);let i=Cs(e,r);Re(t.restEncoder,e.length-i),t.writeClient(n),Re(t.restEncoder,r);let o=e[i];o.write(t,r-o.id.clock);for(let a=i+1;a<e.length;a++)e[a].write(t,0)},j8=(t,e,n)=>{let r=new Map;n.forEach((i,o)=>{Yn(e,o)>i&&r.set(o,i)}),i_(e).forEach((i,o)=>{n.has(o)||r.set(o,0)}),Re(t.restEncoder,r.size),_s(r.entries()).sort((i,o)=>o[0]-i[0]).forEach(([i,o])=>{lke(t,e.clients.get(i),i,o)})},cke=(t,e)=>{let n=Vr(),r=et(t.restDecoder);for(let i=0;i<r;i++){let o=et(t.restDecoder),a=new Array(o),s=t.readClient(),l=et(t.restDecoder);n.set(s,{i:0,refs:a});for(let c=0;c<o;c++){let d=t.readInfo();switch(31&d){case 0:{let u=t.readLen();a[c]=new Gi(pt(s,l),u),l+=u;break}case 10:{let u=et(t.restDecoder);a[c]=new Yi(pt(s,l),u),l+=u;break}default:{let u=(d&192)===0,f=new Xt(pt(s,l),null,(d&128)===128?t.readLeftID():null,null,(d&64)===64?t.readRightID():null,u?t.readParentInfo()?e.get(t.readString()):t.readLeftID():null,u&&(d&32)===32?t.readString():null,gK(t,d));a[c]=f,l+=f.length}}}}return n},dke=(t,e,n)=>{let r=[],i=_s(n.keys()).sort((p,h)=>p-h);if(i.length===0)return null;let o=()=>{if(i.length===0)return null;let p=n.get(i[i.length-1]);for(;p.refs.length===p.i;)if(i.pop(),i.length>0)p=n.get(i[i.length-1]);else return null;return p},a=o();if(a===null)return null;let s=new kD,l=new Map,c=(p,h)=>{let g=l.get(p);(g==null||g>h)&&l.set(p,h)},d=a.refs[a.i++],u=new Map,f=()=>{for(let p of r){let h=p.id.client,g=n.get(h);g?(g.i--,s.clients.set(h,g.refs.slice(g.i)),n.delete(h),g.i=0,g.refs=[]):s.clients.set(h,[p]),i=i.filter(b=>b!==h)}r.length=0};for(;;){if(d.constructor!==Yi){let h=$i(u,d.id.client,()=>Yn(e,d.id.client))-d.id.clock;if(h<0)r.push(d),c(d.id.client,d.id.clock-1),f();else{let g=d.getMissing(t,e);if(g!==null){r.push(d);let b=n.get(g)||{refs:[],i:0};if(b.refs.length===b.i)c(g,Yn(e,g)),f();else{d=b.refs[b.i++];continue}}else(h===0||h<d.length)&&(d.integrate(t,h),u.set(d.id.client,d.id.clock+d.length))}}if(r.length>0)d=r.pop();else if(a!==null&&a.i<a.refs.length)d=a.refs[a.i++];else{if(a=o(),a===null)break;d=a.refs[a.i++]}}if(s.clients.size>0){let p=new Tl;return j8(p,s,new Map),Re(p.restEncoder,0),{missing:l,update:p.toUint8Array()}}return null},uke=(t,e)=>j8(t,e.doc.store,e.beforeState),fke=(t,e,n,r=new Qc(t))=>fn(e,i=>{i.local=!1;let o=!1,a=i.doc,s=a.store,l=cke(r,a),c=dke(i,s,l),d=s.pendingStructs;if(d){for(let[f,p]of d.missing)if(p<Yn(s,f)){o=!0;break}if(c){for(let[f,p]of c.missing){let h=d.missing.get(f);(h==null||h>p)&&d.missing.set(f,p)}d.update=xD([d.update,c.update])}}else s.pendingStructs=c;let u=SY(r,i,s);if(s.pendingDs){let f=new Qc(Ta(s.pendingDs));et(f.restDecoder);let p=SY(f,i,s);u&&p?s.pendingDs=xD([u,p]):s.pendingDs=u||p}else s.pendingDs=u;if(o){let f=s.pendingStructs.update;s.pendingStructs=null,UY(i.doc,f)}},n,!1);var UY=(t,e,n,r=Qc)=>{let i=Ta(e);fke(i,t,n,new r(i))},AD=(t,e,n)=>UY(t,e,n,_D),pke=(t,e,n=new Map)=>{j8(t,e.store,n),Am(t,BY(e.store))},hke=(t,e=new Uint8Array([0]),n=new Tl)=>{let r=HY(e);pke(n,t,r);let i=[n.toUint8Array()];if(t.store.pendingDs&&i.push(t.store.pendingDs),t.store.pendingStructs&&i.push(Ske(t.store.pendingStructs.update,e)),i.length>1){if(n.constructor===wf)return Cke(i.map((o,a)=>a===0?o:Mke(o)));if(n.constructor===Tl)return xD(i)}return i[0]},ID=(t,e)=>hke(t,e,new wf),mke=t=>{let e=new Map,n=et(t.restDecoder);for(let r=0;r<n;r++){let i=et(t.restDecoder),o=et(t.restDecoder);e.set(i,o)}return e},HY=t=>mke(new bD(Ta(t))),$Y=(t,e)=>(Re(t.restEncoder,e.size),_s(e.entries()).sort((n,r)=>r[0]-n[0]).forEach(([n,r])=>{Re(t.restEncoder,n),Re(t.restEncoder,r)}),t),gke=(t,e)=>$Y(t,i_(e.store)),yke=(t,e=new vD)=>(t instanceof Map?$Y(e,t):gke(e,t),e.toUint8Array()),qY=t=>yke(t,new wD),w8=class{constructor(){this.l=[]}},EY=()=>new w8,MY=(t,e)=>t.l.push(e),TY=(t,e)=>{let n=t.l,r=n.length;t.l=n.filter(i=>e!==i),r===t.l.length&&console.error("[yjs] Tried to remove event handler that doesn't exist.")},WY=(t,e,n)=>Ub(t.l,[e,n]),Zc=class{constructor(e,n){this.client=e,this.clock=n}},Cm=(t,e)=>t===e||t!==null&&e!==null&&t.client===e.client&&t.clock===e.clock,pt=(t,e)=>new Zc(t,e);var Im=t=>{for(let[e,n]of t.doc.share.entries())if(n===t)return e;throw qi()},Dm=(t,e)=>{for(;e!==null;){if(e.parent===t)return!0;e=e.parent._item}return!1};var Jc=class{constructor(e,n,r,i=0){this.type=e,this.tname=n,this.item=r,this.assoc=i}};var Om=t=>new Jc(t.type==null?null:pt(t.type.client,t.type.clock),t.tname||null,t.item==null?null:pt(t.item.client,t.item.clock),t.assoc==null?0:t.assoc),v8=class{constructor(e,n,r=0){this.type=e,this.index=n,this.assoc=r}},bke=(t,e,n=0)=>new v8(t,e,n),fD=(t,e,n)=>{let r=null,i=null;return t._item===null?i=Im(t):r=pt(t._item.id.client,t._item.id.clock),new Jc(r,i,e,n)},OD=(t,e,n=0)=>{let r=t._start;if(n<0){if(e===0)return fD(t,null,n);e--}for(;r!==null;){if(!r.deleted&&r.countable){if(r.length>e)return fD(t,pt(r.id.client,r.id.clock+e),n);e-=r.length}if(r.right===null&&n<0)return fD(t,r.lastId,n);r=r.right}return fD(t,null,n)};var GY=(t,e)=>{let n=e.store,r=t.item,i=t.type,o=t.tname,a=t.assoc,s=null,l=0;if(r!==null){if(Yn(n,r.client)<=r.clock)return null;let c=P8(n,r),d=c.item;if(!(d instanceof Xt))return null;if(s=d.parent,s._item===null||!s._item.deleted){l=d.deleted||!d.countable?0:c.diff+(a>=0?0:1);let u=d.left;for(;u!==null;)!u.deleted&&u.countable&&(l+=u.length),u=u.left}}else{if(o!==null)s=e.get(o);else if(i!==null){if(Yn(n,i.client)<=i.clock)return null;let{item:c}=P8(n,i);if(c instanceof Xt&&c.content instanceof Xo)s=c.content.type;else return null}else throw qi();a>=0?l=s._length:l=0}return bke(s,l,t.assoc)},z8=(t,e)=>t===e||t!==null&&e!==null&&t.tname===e.tname&&Cm(t.item,e.item)&&Cm(t.type,e.type)&&t.assoc===e.assoc,Sm=class{constructor(e,n){this.ds=e,this.sv=n}};var PD=(t,e)=>new Sm(t,e),zet=PD(TD(),new Map),YY=t=>PD(BY(t.store),i_(t.store)),_f=(t,e)=>e===void 0?!t.deleted:e.sv.has(t.id.client)&&(e.sv.get(t.id.client)||0)>t.id.clock&&!xf(e.ds,t.id),k8=(t,e)=>{let n=$i(t.meta,k8,mo),r=t.doc.store;n.has(e)||(e.sv.forEach((i,o)=>{i<Yn(r,o)&&Wi(t,pt(o,i))}),El(t,e.ds,i=>{}),n.add(e))};var kD=class{constructor(){this.clients=new Map,this.pendingStructs=null,this.pendingDs=null}},i_=t=>{let e=new Map;return t.clients.forEach((n,r)=>{let i=n[n.length-1];e.set(r,i.id.clock+i.length)}),e},Yn=(t,e)=>{let n=t.clients.get(e);if(n===void 0)return 0;let r=n[n.length-1];return r.id.clock+r.length},KY=(t,e)=>{let n=t.clients.get(e.id.client);if(n===void 0)n=[],t.clients.set(e.id.client,n);else{let r=n[n.length-1];if(r.id.clock+r.length!==e.id.clock)throw qi()}n.push(e)},Cs=(t,e)=>{let n=0,r=t.length-1,i=t[r],o=i.id.clock;if(o===e)return r;let a=oi(e/(o+i.length-1)*r);for(;n<=r;){if(i=t[a],o=i.id.clock,o<=e){if(e<o+i.length)return a;n=a+1}else r=a-1;a=oi((n+r)/2)}throw qi()},_ke=(t,e)=>{let n=t.clients.get(e.client);return n[Cs(n,e.clock)]},mD=_ke,x8=(t,e,n)=>{let r=Cs(e,n),i=e[r];return i.id.clock<n&&i instanceof Xt?(e.splice(r+1,0,MD(t,i,n-i.id.clock)),r+1):r},Wi=(t,e)=>{let n=t.doc.store.clients.get(e.client);return n[x8(t,n,e.clock)]},AY=(t,e,n)=>{let r=e.clients.get(n.client),i=Cs(r,n.clock),o=r[i];return n.clock!==o.id.clock+o.length-1&&o.constructor!==Gi&&r.splice(i+1,0,MD(t,o,n.clock-o.id.clock+1)),o},wke=(t,e,n)=>{let r=t.clients.get(e.id.client);r[Cs(r,e.id.clock)]=n},ZY=(t,e,n,r,i)=>{if(r===0)return;let o=n+r,a=x8(t,e,n),s;do s=e[a++],o<s.id.clock+s.length&&x8(t,e,o),i(s);while(a<e.length&&e[a].id.clock<o)},C8=class{constructor(e,n,r){this.doc=e,this.deleteSet=new Xc,this.beforeState=i_(e.store),this.afterState=new Map,this.changed=new Map,this.changedParentTypes=new Map,this._mergeStructs=[],this.origin=n,this.meta=new Map,this.local=r,this.subdocsAdded=new Set,this.subdocsRemoved=new Set,this.subdocsLoaded=new Set,this._needFormattingCleanup=!1}},IY=(t,e)=>e.deleteSet.clients.size===0&&!OG(e.afterState,(n,r)=>e.beforeState.get(r)!==n)?!1:(N8(e.deleteSet),uke(t,e),Am(t,e.deleteSet),!0),OY=(t,e,n)=>{let r=e._item;(r===null||r.id.clock<(t.beforeState.get(r.id.client)||0)&&!r.deleted)&&$i(t.changed,e,mo).add(n)},gD=(t,e)=>{let n=t[e],r=t[e-1],i=e;for(;i>0;n=r,r=t[--i-1]){if(r.deleted===n.deleted&&r.constructor===n.constructor&&r.mergeWith(n)){n instanceof Xt&&n.parentSub!==null&&n.parent._map.get(n.parentSub)===n&&n.parent._map.set(n.parentSub,r);continue}break}let o=e-i;return o&&t.splice(e+1-o,o),o},vke=(t,e,n)=>{for(let[r,i]of t.clients.entries()){let o=e.clients.get(r);for(let a=i.length-1;a>=0;a--){let s=i[a],l=s.clock+s.len;for(let c=Cs(o,s.clock),d=o[c];c<o.length&&d.id.clock<l;d=o[++c]){let u=o[c];if(s.clock+s.len<=u.id.clock)break;u instanceof Xt&&u.deleted&&!u.keep&&n(u)&&u.gc(e,!1)}}}},kke=(t,e)=>{t.clients.forEach((n,r)=>{let i=e.clients.get(r);for(let o=n.length-1;o>=0;o--){let a=n[o],s=go(i.length-1,1+Cs(i,a.clock+a.len-1));for(let l=s,c=i[l];l>0&&c.id.clock>=a.clock;c=i[l])l-=1+gD(i,l)}})};var XY=(t,e)=>{if(e<t.length){let n=t[e],r=n.doc,i=r.store,o=n.deleteSet,a=n._mergeStructs;try{N8(o),n.afterState=i_(n.doc.store),r.emit("beforeObserverCalls",[n,r]);let s=[];n.changed.forEach((l,c)=>s.push(()=>{(c._item===null||!c._item.deleted)&&c._callObserver(n,l)})),s.push(()=>{n.changedParentTypes.forEach((l,c)=>{c._dEH.l.length>0&&(c._item===null||!c._item.deleted)&&(l=l.filter(d=>d.target._item===null||!d.target._item.deleted),l.forEach(d=>{d.currentTarget=c,d._path=null}),l.sort((d,u)=>d.path.length-u.path.length),WY(c._dEH,l,n))})}),s.push(()=>r.emit("afterTransaction",[n,r])),Ub(s,[]),n._needFormattingCleanup&&Lke(n)}finally{r.gc&&vke(o,i,r.gcFilter),kke(o,i),n.afterState.forEach((d,u)=>{let f=n.beforeState.get(u)||0;if(f!==d){let p=i.clients.get(u),h=Ko(Cs(p,f),1);for(let g=p.length-1;g>=h;)g-=1+gD(p,g)}});for(let d=a.length-1;d>=0;d--){let{client:u,clock:f}=a[d].id,p=i.clients.get(u),h=Cs(p,f);h+1<p.length&&gD(p,h+1)>1||h>0&&gD(p,h)}if(!n.local&&n.afterState.get(r.clientID)!==n.beforeState.get(r.clientID)&&(_Y(xm,Hb,"[yjs] ",$b,qb,"Changed the client-id because another client seems to be using it."),r.clientID=VY()),r.emit("afterTransactionCleanup",[n,r]),r._observers.has("update")){let d=new wf;IY(d,n)&&r.emit("update",[d.toUint8Array(),n.origin,r,n])}if(r._observers.has("updateV2")){let d=new Tl;IY(d,n)&&r.emit("updateV2",[d.toUint8Array(),n.origin,r,n])}let{subdocsAdded:s,subdocsLoaded:l,subdocsRemoved:c}=n;(s.size>0||c.size>0||l.size>0)&&(s.forEach(d=>{d.clientID=r.clientID,d.collectionid==null&&(d.collectionid=r.collectionid),r.subdocs.add(d)}),c.forEach(d=>r.subdocs.delete(d)),r.emit("subdocs",[{loaded:l,added:s,removed:c},r,n]),c.forEach(d=>d.destroy())),t.length<=e+1?(r._transactionCleanups=[],r.emit("afterAllTransactions",[r,t])):XY(t,e+1)}}},fn=(t,e,n=null,r=!0)=>{let i=t._transactionCleanups,o=!1,a=null;t._transaction===null&&(o=!0,t._transaction=new C8(t,n,r),i.push(t._transaction),i.length===1&&t.emit("beforeAllTransactions",[t]),t.emit("beforeTransaction",[t._transaction,t]));try{a=e(t._transaction)}finally{if(o){let s=t._transaction===i[0];t._transaction=null,s&&XY(i,0)}}return a},D8=class{constructor(e,n){this.insertions=n,this.deletions=e,this.meta=new Map}},PY=(t,e,n)=>{El(t,n.deletions,r=>{r instanceof Xt&&e.scope.some(i=>Dm(i,r))&&$8(r,!1)})},FY=(t,e,n)=>{let r=null,i=null,o=t.doc,a=t.scope;if(fn(o,s=>{for(;e.length>0&&r===null;){let l=o.store,c=e.pop(),d=new Set,u=[],f=!1;El(s,c.insertions,p=>{if(p instanceof Xt){if(p.redone!==null){let{item:h,diff:g}=P8(l,p.id);g>0&&(h=Wi(s,pt(h.id.client,h.id.clock+g))),p=h}!p.deleted&&a.some(h=>Dm(h,p))&&u.push(p)}}),El(s,c.deletions,p=>{p instanceof Xt&&a.some(h=>Dm(h,p))&&!xf(c.insertions,p.id)&&d.add(p)}),d.forEach(p=>{f=mK(s,p,d,c.insertions,t.ignoreRemoteMapChanges,t)!==null||f});for(let p=u.length-1;p>=0;p--){let h=u[p];t.deleteFilter(h)&&(h.delete(s),f=!0)}r=f?c:null}s.changed.forEach((l,c)=>{l.has(null)&&c._searchMarker&&(c._searchMarker.length=0)}),i=s},t),r!=null){let s=i.changedParentTypes;t.emit("stack-item-popped",[{stackItem:r,type:n,changedParentTypes:s},t])}return r},Em=class extends xl{constructor(e,{captureTimeout:n=500,captureTransaction:r=l=>!0,deleteFilter:i=()=>!0,trackedOrigins:o=new Set([null]),ignoreRemoteMapChanges:a=!1,doc:s=Rb(e)?e[0].doc:e.doc}={}){super(),this.scope=[],this.doc=s,this.addToScope(e),this.deleteFilter=i,o.add(this),this.trackedOrigins=o,this.captureTransaction=r,this.undoStack=[],this.redoStack=[],this.undoing=!1,this.redoing=!1,this.lastChange=0,this.ignoreRemoteMapChanges=a,this.captureTimeout=n,this.afterTransactionHandler=l=>{if(!this.captureTransaction(l)||!this.scope.some(b=>l.changedParentTypes.has(b))||!this.trackedOrigins.has(l.origin)&&(!l.origin||!this.trackedOrigins.has(l.origin.constructor)))return;let c=this.undoing,d=this.redoing,u=c?this.redoStack:this.undoStack;c?this.stopCapturing():d||this.clear(!1,!0);let f=new Xc;l.afterState.forEach((b,_)=>{let x=l.beforeState.get(_)||0,E=b-x;E>0&&Yb(f,_,x,E)});let p=bo(),h=!1;if(this.lastChange>0&&p-this.lastChange<this.captureTimeout&&u.length>0&&!c&&!d){let b=u[u.length-1];b.deletions=b8([b.deletions,l.deleteSet]),b.insertions=b8([b.insertions,f])}else u.push(new D8(l.deleteSet,f)),h=!0;!c&&!d&&(this.lastChange=p),El(l,l.deleteSet,b=>{b instanceof Xt&&this.scope.some(_=>Dm(_,b))&&$8(b,!0)});let g=[{stackItem:u[u.length-1],origin:l.origin,type:c?"redo":"undo",changedParentTypes:l.changedParentTypes},this];h?this.emit("stack-item-added",g):this.emit("stack-item-updated",g)},this.doc.on("afterTransaction",this.afterTransactionHandler),this.doc.on("destroy",()=>{this.destroy()})}addToScope(e){e=Rb(e)?e:[e],e.forEach(n=>{this.scope.every(r=>r!==n)&&(n.doc!==this.doc&&wY("[yjs#509] Not same Y.Doc"),this.scope.push(n))})}addTrackedOrigin(e){this.trackedOrigins.add(e)}removeTrackedOrigin(e){this.trackedOrigins.delete(e)}clear(e=!0,n=!0){(e&&this.canUndo()||n&&this.canRedo())&&this.doc.transact(r=>{e&&(this.undoStack.forEach(i=>PY(r,this,i)),this.undoStack=[]),n&&(this.redoStack.forEach(i=>PY(r,this,i)),this.redoStack=[]),this.emit("stack-cleared",[{undoStackCleared:e,redoStackCleared:n}])})}stopCapturing(){this.lastChange=0}undo(){this.undoing=!0;let e;try{e=FY(this,this.undoStack,"undo")}finally{this.undoing=!1}return e}redo(){this.redoing=!0;let e;try{e=FY(this,this.redoStack,"redo")}finally{this.redoing=!1}return e}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this),this.doc.off("afterTransaction",this.afterTransactionHandler),super.destroy()}};function*xke(t){let e=et(t.restDecoder);for(let n=0;n<e;n++){let r=et(t.restDecoder),i=t.readClient(),o=et(t.restDecoder);for(let a=0;a<r;a++){let s=t.readInfo();if(s===10){let l=et(t.restDecoder);yield new Yi(pt(i,o),l),o+=l}else if(31&s){let l=(s&192)===0,c=new Xt(pt(i,o),null,(s&128)===128?t.readLeftID():null,null,(s&64)===64?t.readRightID():null,l?t.readParentInfo()?t.readString():t.readLeftID():null,l&&(s&32)===32?t.readString():null,gK(t,s));yield c,o+=c.length}else{let l=t.readLen();yield new Gi(pt(i,o),l),o+=l}}}}var Kb=class{constructor(e,n){this.gen=xke(e),this.curr=null,this.done=!1,this.filterSkips=n,this.next()}next(){do this.curr=this.gen.next().value||null;while(this.filterSkips&&this.curr!==null&&this.curr.constructor===Yi);return this.curr}};var Zb=class{constructor(e){this.currClient=0,this.startClock=0,this.written=0,this.encoder=e,this.clientStructs=[]}},Cke=t=>xD(t,_D,wf);var Dke=(t,e)=>{if(t.constructor===Gi){let{client:n,clock:r}=t.id;return new Gi(pt(n,r+e),t.length-e)}else if(t.constructor===Yi){let{client:n,clock:r}=t.id;return new Yi(pt(n,r+e),t.length-e)}else{let n=t,{client:r,clock:i}=n.id;return new Xt(pt(r,i+e),null,pt(r,i+e-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(e))}},xD=(t,e=Qc,n=Tl)=>{if(t.length===1)return t[0];let r=t.map(d=>new e(Ta(d))),i=r.map(d=>new Kb(d,!0)),o=null,a=new n,s=new Zb(a);for(;i=i.filter(f=>f.curr!==null),i.sort((f,p)=>{if(f.curr.id.client===p.curr.id.client){let h=f.curr.id.clock-p.curr.id.clock;return h===0?f.curr.constructor===p.curr.constructor?0:f.curr.constructor===Yi?1:-1:h}else return p.curr.id.client-f.curr.id.client}),i.length!==0;){let d=i[0],u=d.curr.id.client;if(o!==null){let f=d.curr,p=!1;for(;f!==null&&f.id.clock+f.length<=o.struct.id.clock+o.struct.length&&f.id.client>=o.struct.id.client;)f=d.next(),p=!0;if(f===null||f.id.client!==u||p&&f.id.clock>o.struct.id.clock+o.struct.length)continue;if(u!==o.struct.id.client)Yc(s,o.struct,o.offset),o={struct:f,offset:0},d.next();else if(o.struct.id.clock+o.struct.length<f.id.clock)if(o.struct.constructor===Yi)o.struct.length=f.id.clock+f.length-o.struct.id.clock;else{Yc(s,o.struct,o.offset);let h=f.id.clock-o.struct.id.clock-o.struct.length;o={struct:new Yi(pt(u,o.struct.id.clock+o.struct.length),h),offset:0}}else{let h=o.struct.id.clock+o.struct.length-f.id.clock;h>0&&(o.struct.constructor===Yi?o.struct.length-=h:f=Dke(f,h)),o.struct.mergeWith(f)||(Yc(s,o.struct,o.offset),o={struct:f,offset:0},d.next())}}else o={struct:d.curr,offset:0},d.next();for(let f=d.curr;f!==null&&f.id.client===u&&f.id.clock===o.struct.id.clock+o.struct.length&&f.constructor!==Yi;f=d.next())Yc(s,o.struct,o.offset),o={struct:f,offset:0}}o!==null&&(Yc(s,o.struct,o.offset),o=null),L8(s);let l=r.map(d=>R8(d)),c=b8(l);return Am(a,c),a.toUint8Array()},Ske=(t,e,n=Qc,r=Tl)=>{let i=HY(e),o=new r,a=new Zb(o),s=new n(Ta(t)),l=new Kb(s,!1);for(;l.curr;){let d=l.curr,u=d.id.client,f=i.get(u)||0;if(l.curr.constructor===Yi){l.next();continue}if(d.id.clock+d.length>f)for(Yc(a,d,Ko(f-d.id.clock,0)),l.next();l.curr&&l.curr.id.client===u;)Yc(a,l.curr,0),l.next();else for(;l.curr&&l.curr.id.client===u&&l.curr.id.clock+l.curr.length<=f;)l.next()}L8(a);let c=R8(s);return Am(o,c),o.toUint8Array()};var QY=t=>{t.written>0&&(t.clientStructs.push({written:t.written,restEncoder:_n(t.encoder.restEncoder)}),t.encoder.restEncoder=yr(),t.written=0)},Yc=(t,e,n)=>{t.written>0&&t.currClient!==e.id.client&&QY(t),t.written===0&&(t.currClient=e.id.client,t.encoder.writeClient(e.id.client),Re(t.encoder.restEncoder,e.id.clock+n)),e.write(t.encoder,n),t.written++},L8=t=>{QY(t);let e=t.encoder.restEncoder;Re(e,t.clientStructs.length);for(let n=0;n<t.clientStructs.length;n++){let r=t.clientStructs[n];Re(e,r.written),zb(e,r.restEncoder)}},Eke=(t,e,n,r)=>{let i=new n(Ta(t)),o=new Kb(i,!1),a=new r,s=new Zb(a);for(let c=o.curr;c!==null;c=o.next())Yc(s,e(c),0);L8(s);let l=R8(i);return Am(a,l),a.toUint8Array()};var Mke=t=>Eke(t,iY,Qc,wf),NY="You must not compute changes after the event-handler fired.",Mm=class{constructor(e,n){this.target=e,this.currentTarget=e,this.transaction=n,this._changes=null,this._keys=null,this._delta=null,this._path=null}get path(){return this._path||(this._path=Tke(this.currentTarget,this.target))}deletes(e){return xf(this.transaction.deleteSet,e.id)}get keys(){if(this._keys===null){if(this.transaction.doc._transactionCleanups.length===0)throw ws(NY);let e=new Map,n=this.target;this.transaction.changed.get(n).forEach(i=>{if(i!==null){let o=n._map.get(i),a,s;if(this.adds(o)){let l=o.left;for(;l!==null&&this.adds(l);)l=l.left;if(this.deletes(o))if(l!==null&&this.deletes(l))a="delete",s=ZC(l.content.getContent());else return;else l!==null&&this.deletes(l)?(a="update",s=ZC(l.content.getContent())):(a="add",s=void 0)}else if(this.deletes(o))a="delete",s=ZC(o.content.getContent());else return;e.set(i,{action:a,oldValue:s})}}),this._keys=e}return this._keys}get delta(){return this.changes.delta}adds(e){return e.id.clock>=(this.transaction.beforeState.get(e.id.client)||0)}get changes(){let e=this._changes;if(e===null){if(this.transaction.doc._transactionCleanups.length===0)throw ws(NY);let n=this.target,r=mo(),i=mo(),o=[];if(e={added:r,deleted:i,delta:o,keys:this.keys},this.transaction.changed.get(n).has(null)){let s=null,l=()=>{s&&o.push(s)};for(let c=n._start;c!==null;c=c.right)c.deleted?this.deletes(c)&&!this.adds(c)&&((s===null||s.delete===void 0)&&(l(),s={delete:0}),s.delete+=c.length,i.add(c)):this.adds(c)?((s===null||s.insert===void 0)&&(l(),s={insert:[]}),s.insert=s.insert.concat(c.content.getContent()),r.add(c)):((s===null||s.retain===void 0)&&(l(),s={retain:0}),s.retain+=c.length);s!==null&&s.retain===void 0&&l()}this._changes=e}return e}},Tke=(t,e)=>{let n=[];for(;e._item!==null&&e!==t;){if(e._item.parentSub!==null)n.unshift(e._item.parentSub);else{let r=0,i=e._item.parent._start;for(;i!==e._item&&i!==null;)i.deleted||r++,i=i.right;n.unshift(r)}e=e._item.parent}return n},JY=80,B8=0,S8=class{constructor(e,n){e.marker=!0,this.p=e,this.index=n,this.timestamp=B8++}},Ake=t=>{t.timestamp=B8++},eK=(t,e,n)=>{t.p.marker=!1,t.p=e,e.marker=!0,t.index=n,t.timestamp=B8++},Ike=(t,e,n)=>{if(t.length>=JY){let r=t.reduce((i,o)=>i.timestamp<o.timestamp?i:o);return eK(r,e,n),r}else{let r=new S8(e,n);return t.push(r),r}},FD=(t,e)=>{if(t._start===null||e===0||t._searchMarker===null)return null;let n=t._searchMarker.length===0?null:t._searchMarker.reduce((o,a)=>dm(e-o.index)<dm(e-a.index)?o:a),r=t._start,i=0;for(n!==null&&(r=n.p,i=n.index,Ake(n));r.right!==null&&i<e;){if(!r.deleted&&r.countable){if(e<i+r.length)break;i+=r.length}r=r.right}for(;r.left!==null&&i>e;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);for(;r.left!==null&&r.left.id.client===r.id.client&&r.left.id.clock+r.left.length===r.id.clock;)r=r.left,!r.deleted&&r.countable&&(i-=r.length);return n!==null&&dm(n.index-i)<r.parent.length/JY?(eK(n,r,i),n):Ike(t._searchMarker,r,i)},Xb=(t,e,n)=>{for(let r=t.length-1;r>=0;r--){let i=t[r];if(n>0){let o=i.p;for(o.marker=!1;o&&(o.deleted||!o.countable);)o=o.left,o&&!o.deleted&&o.countable&&(i.index-=o.length);if(o===null||o.marker===!0){t.splice(r,1);continue}i.p=o,o.marker=!0}(e<i.index||n>0&&e===i.index)&&(i.index=Ko(e,i.index+n))}};var ND=(t,e,n)=>{let r=t,i=e.changedParentTypes;for(;$i(i,t,()=>[]).push(n),t._item!==null;)t=t._item.parent;WY(r._eH,n,e)},_r=class{constructor(){this._item=null,this._map=new Map,this._start=null,this.doc=null,this._length=0,this._eH=EY(),this._dEH=EY(),this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(e,n){this.doc=e,this._item=n}_copy(){throw yo()}clone(){throw yo()}_write(e){}get _first(){let e=this._start;for(;e!==null&&e.deleted;)e=e.right;return e}_callObserver(e,n){!e.local&&this._searchMarker&&(this._searchMarker.length=0)}observe(e){MY(this._eH,e)}observeDeep(e){MY(this._dEH,e)}unobserve(e){TY(this._eH,e)}unobserveDeep(e){TY(this._dEH,e)}toJSON(){}},tK=(t,e,n)=>{e<0&&(e=t._length+e),n<0&&(n=t._length+n);let r=n-e,i=[],o=t._start;for(;o!==null&&r>0;){if(o.countable&&!o.deleted){let a=o.content.getContent();if(a.length<=e)e-=a.length;else{for(let s=e;s<a.length&&r>0;s++)i.push(a[s]),r--;e=0}}o=o.right}return i},nK=t=>{let e=[],n=t._start;for(;n!==null;){if(n.countable&&!n.deleted){let r=n.content.getContent();for(let i=0;i<r.length;i++)e.push(r[i])}n=n.right}return e},V8=(t,e)=>{let n=[],r=t._start;for(;r!==null;){if(r.countable&&_f(r,e)){let i=r.content.getContent();for(let o=0;o<i.length;o++)n.push(i[o])}r=r.right}return n},Qb=(t,e)=>{let n=0,r=t._start;for(;r!==null;){if(r.countable&&!r.deleted){let i=r.content.getContent();for(let o=0;o<i.length;o++)e(i[o],n++,t)}r=r.right}},rK=(t,e)=>{let n=[];return Qb(t,(r,i)=>{n.push(e(r,i,t))}),n},Oke=t=>{let e=t._start,n=null,r=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){for(;e!==null&&e.deleted;)e=e.right;if(e===null)return{done:!0,value:void 0};n=e.content.getContent(),r=0,e=e.right}let i=n[r++];return n.length<=r&&(n=null),{done:!1,value:i}}}},iK=(t,e)=>{let n=FD(t,e),r=t._start;for(n!==null&&(r=n.p,e-=n.index);r!==null;r=r.right)if(!r.deleted&&r.countable){if(e<r.length)return r.content.getContent()[e];e-=r.length}},CD=(t,e,n,r)=>{let i=n,o=t.doc,a=o.clientID,s=o.store,l=n===null?e._start:n.right,c=[],d=()=>{c.length>0&&(i=new Xt(pt(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Tm(c)),i.integrate(t,0),c=[])};r.forEach(u=>{if(u===null)c.push(u);else switch(u.constructor){case Number:case Object:case Boolean:case Array:case String:c.push(u);break;default:switch(d(),u.constructor){case Uint8Array:case ArrayBuffer:i=new Xt(pt(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new n_(new Uint8Array(u))),i.integrate(t,0);break;case Ml:i=new Xt(pt(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new r_(u)),i.integrate(t,0);break;default:if(u instanceof _r)i=new Xt(pt(a,Yn(s,a)),i,i&&i.lastId,l,l&&l.id,e,null,new Xo(u)),i.integrate(t,0);else throw new Error("Unexpected content type in insert operation")}}}),d()},oK=()=>ws("Length exceeded!"),aK=(t,e,n,r)=>{if(n>e._length)throw oK();if(n===0)return e._searchMarker&&Xb(e._searchMarker,n,r.length),CD(t,e,null,r);let i=n,o=FD(e,n),a=e._start;for(o!==null&&(a=o.p,n-=o.index,n===0&&(a=a.prev,n+=a&&a.countable&&!a.deleted?a.length:0));a!==null;a=a.right)if(!a.deleted&&a.countable){if(n<=a.length){n<a.length&&Wi(t,pt(a.id.client,a.id.clock+n));break}n-=a.length}return e._searchMarker&&Xb(e._searchMarker,i,r.length),CD(t,e,a,r)},Pke=(t,e,n)=>{let i=(e._searchMarker||[]).reduce((o,a)=>a.index>o.index?a:o,{index:0,p:e._start}).p;if(i)for(;i.right;)i=i.right;return CD(t,e,i,n)},sK=(t,e,n,r)=>{if(r===0)return;let i=n,o=r,a=FD(e,n),s=e._start;for(a!==null&&(s=a.p,n-=a.index);s!==null&&n>0;s=s.right)!s.deleted&&s.countable&&(n<s.length&&Wi(t,pt(s.id.client,s.id.clock+n)),n-=s.length);for(;r>0&&s!==null;)s.deleted||(r<s.length&&Wi(t,pt(s.id.client,s.id.clock+r)),s.delete(t),r-=s.length),s=s.right;if(r>0)throw oK();e._searchMarker&&Xb(e._searchMarker,i,-o+r)},DD=(t,e,n)=>{let r=e._map.get(n);r!==void 0&&r.delete(t)},U8=(t,e,n,r)=>{let i=e._map.get(n)||null,o=t.doc,a=o.clientID,s;if(r==null)s=new Tm([r]);else switch(r.constructor){case Number:case Object:case Boolean:case Array:case String:s=new Tm([r]);break;case Uint8Array:s=new n_(r);break;case Ml:s=new r_(r);break;default:if(r instanceof _r)s=new Xo(r);else throw new Error("Unexpected content type")}new Xt(pt(a,Yn(o.store,a)),i,i&&i.lastId,null,null,e,n,s).integrate(t,0)},H8=(t,e)=>{let n=t._map.get(e);return n!==void 0&&!n.deleted?n.content.getContent()[n.length-1]:void 0},lK=t=>{let e={};return t._map.forEach((n,r)=>{n.deleted||(e[r]=n.content.getContent()[n.length-1])}),e},cK=(t,e)=>{let n=t._map.get(e);return n!==void 0&&!n.deleted};var Fke=(t,e)=>{let n={};return t._map.forEach((r,i)=>{let o=r;for(;o!==null&&(!e.sv.has(o.id.client)||o.id.clock>=(e.sv.get(o.id.client)||0));)o=o.left;o!==null&&_f(o,e)&&(n[i]=o.content.getContent()[o.length-1])}),n},pD=t=>xY(t.entries(),e=>!e[1].deleted),E8=class extends Mm{constructor(e,n){super(e,n),this._transaction=n}},SD=class t extends _r{constructor(){super(),this._prelimContent=[],this._searchMarker=[]}static from(e){let n=new t;return n.push(e),n}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return e.insert(0,this.toArray().map(n=>n instanceof _r?n.clone():n)),e}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}_callObserver(e,n){super._callObserver(e,n),ND(this,e,new E8(this,e))}insert(e,n){this.doc!==null?fn(this.doc,r=>{aK(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}push(e){this.doc!==null?fn(this.doc,n=>{Pke(n,this,e)}):this._prelimContent.push(...e)}unshift(e){this.insert(0,e)}delete(e,n=1){this.doc!==null?fn(this.doc,r=>{sK(r,this,e,n)}):this._prelimContent.splice(e,n)}get(e){return iK(this,e)}toArray(){return nK(this)}slice(e=0,n=this.length){return tK(this,e,n)}toJSON(){return this.map(e=>e instanceof _r?e.toJSON():e)}map(e){return rK(this,e)}forEach(e){Qb(this,e)}[Symbol.iterator](){return Oke(this)}_write(e){e.writeTypeRef(txe)}},Nke=t=>new SD,M8=class extends Mm{constructor(e,n,r){super(e,n),this.keysChanged=r}},Jb=class t extends _r{constructor(e){super(),this._prelimContent=null,e===void 0?this._prelimContent=new Map:this._prelimContent=new Map(e)}_integrate(e,n){super._integrate(e,n),this._prelimContent.forEach((r,i)=>{this.set(i,r)}),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return this.forEach((n,r)=>{e.set(r,n instanceof _r?n.clone():n)}),e}_callObserver(e,n){ND(this,e,new M8(this,e,n))}toJSON(){let e={};return this._map.forEach((n,r)=>{if(!n.deleted){let i=n.content.getContent()[n.length-1];e[r]=i instanceof _r?i.toJSON():i}}),e}get size(){return[...pD(this._map)].length}keys(){return uD(pD(this._map),e=>e[0])}values(){return uD(pD(this._map),e=>e[1].content.getContent()[e[1].length-1])}entries(){return uD(pD(this._map),e=>[e[0],e[1].content.getContent()[e[1].length-1]])}forEach(e){this._map.forEach((n,r)=>{n.deleted||e(n.content.getContent()[n.length-1],r,this)})}[Symbol.iterator](){return this.entries()}delete(e){this.doc!==null?fn(this.doc,n=>{DD(n,this,e)}):this._prelimContent.delete(e)}set(e,n){return this.doc!==null?fn(this.doc,r=>{U8(r,this,e,n)}):this._prelimContent.set(e,n),n}get(e){return H8(this,e)}has(e){return cK(this,e)}clear(){this.doc!==null?fn(this.doc,e=>{this.forEach(function(n,r,i){DD(e,i,r)})}):this._prelimContent.clear()}_write(e){e.writeTypeRef(nxe)}},Rke=t=>new Jb,Kc=(t,e)=>t===e||typeof t=="object"&&typeof e=="object"&&t&&e&&a8(t,e),e_=class{constructor(e,n,r,i){this.left=e,this.right=n,this.index=r,this.currentAttributes=i}forward(){switch(this.right===null&&qi(),this.right.content.constructor){case Kn:this.right.deleted||Pm(this.currentAttributes,this.right.content);break;default:this.right.deleted||(this.index+=this.right.length);break}this.left=this.right,this.right=this.right.right}},RY=(t,e,n)=>{for(;e.right!==null&&n>0;){switch(e.right.content.constructor){case Kn:e.right.deleted||Pm(e.currentAttributes,e.right.content);break;default:e.right.deleted||(n<e.right.length&&Wi(t,pt(e.right.id.client,e.right.id.clock+n)),e.index+=e.right.length,n-=e.right.length);break}e.left=e.right,e.right=e.right.right}return e},hD=(t,e,n)=>{let r=new Map,i=FD(e,n);if(i){let o=new e_(i.p.left,i.p,i.index,r);return RY(t,o,n-i.index)}else{let o=new e_(null,e._start,0,r);return RY(t,o,n)}},dK=(t,e,n,r)=>{for(;n.right!==null&&(n.right.deleted===!0||n.right.content.constructor===Kn&&Kc(r.get(n.right.content.key),n.right.content.value));)n.right.deleted||r.delete(n.right.content.key),n.forward();let i=t.doc,o=i.clientID;r.forEach((a,s)=>{let l=n.left,c=n.right,d=new Xt(pt(o,Yn(i.store,o)),l,l&&l.lastId,c,c&&c.id,e,null,new Kn(s,a));d.integrate(t,0),n.right=d,n.forward()})},Pm=(t,e)=>{let{key:n,value:r}=e;r===null?t.delete(n):t.set(n,r)},uK=(t,e)=>{for(;t.right!==null;){if(!(t.right.deleted||t.right.content.constructor===Kn&&Kc(e[t.right.content.key]||null,t.right.content.value)))break;t.forward()}},fK=(t,e,n,r)=>{let i=t.doc,o=i.clientID,a=new Map;for(let s in r){let l=r[s],c=n.currentAttributes.get(s)||null;if(!Kc(c,l)){a.set(s,c);let{left:d,right:u}=n;n.right=new Xt(pt(o,Yn(i.store,o)),d,d&&d.lastId,u,u&&u.id,e,null,new Kn(s,l)),n.right.integrate(t,0),n.forward()}}return a},y8=(t,e,n,r,i)=>{n.currentAttributes.forEach((f,p)=>{i[p]===void 0&&(i[p]=null)});let o=t.doc,a=o.clientID;uK(n,i);let s=fK(t,e,n,i),l=r.constructor===String?new Aa(r):r instanceof _r?new Xo(r):new kf(r),{left:c,right:d,index:u}=n;e._searchMarker&&Xb(e._searchMarker,n.index,l.getLength()),d=new Xt(pt(a,Yn(o.store,a)),c,c&&c.lastId,d,d&&d.id,e,null,l),d.integrate(t,0),n.right=d,n.index=u,n.forward(),dK(t,e,n,s)},jY=(t,e,n,r,i)=>{let o=t.doc,a=o.clientID;uK(n,i);let s=fK(t,e,n,i);e:for(;n.right!==null&&(r>0||s.size>0&&(n.right.deleted||n.right.content.constructor===Kn));){if(!n.right.deleted)switch(n.right.content.constructor){case Kn:{let{key:l,value:c}=n.right.content,d=i[l];if(d!==void 0){if(Kc(d,c))s.delete(l);else{if(r===0)break e;s.set(l,c)}n.right.delete(t)}else n.currentAttributes.set(l,c);break}default:r<n.right.length&&Wi(t,pt(n.right.id.client,n.right.id.clock+r)),r-=n.right.length;break}n.forward()}if(r>0){let l="";for(;r>0;r--)l+=` +`;n.right=new Xt(pt(a,Yn(o.store,a)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,e,null,new Aa(l)),n.right.integrate(t,0),n.forward()}dK(t,e,n,s)},pK=(t,e,n,r,i)=>{let o=e,a=Vr();for(;o&&(!o.countable||o.deleted);){if(!o.deleted&&o.content.constructor===Kn){let c=o.content;a.set(c.key,c)}o=o.right}let s=0,l=!1;for(;e!==o;){if(n===e&&(l=!0),!e.deleted){let c=e.content;switch(c.constructor){case Kn:{let{key:d,value:u}=c,f=r.get(d)||null;(a.get(d)!==c||f===u)&&(e.delete(t),s++,!l&&(i.get(d)||null)===u&&f!==u&&(f===null?i.delete(d):i.set(d,f))),!l&&!e.deleted&&Pm(i,c);break}}}e=e.right}return s},jke=(t,e)=>{for(;e&&e.right&&(e.right.deleted||!e.right.countable);)e=e.right;let n=new Set;for(;e&&(e.deleted||!e.countable);){if(!e.deleted&&e.content.constructor===Kn){let r=e.content.key;n.has(r)?e.delete(t):n.add(r)}e=e.left}},zke=t=>{let e=0;return fn(t.doc,n=>{let r=t._start,i=t._start,o=Vr(),a=KC(o);for(;i;){if(i.deleted===!1)switch(i.content.constructor){case Kn:Pm(a,i.content);break;default:e+=pK(n,r,i,o,a),o=KC(a),r=i;break}i=i.right}}),e},Lke=t=>{let e=new Set,n=t.doc;for(let[r,i]of t.afterState.entries()){let o=t.beforeState.get(r)||0;i!==o&&ZY(t,n.store.clients.get(r),o,i,a=>{!a.deleted&&a.content.constructor===Kn&&a.constructor!==Gi&&e.add(a.parent)})}fn(n,r=>{El(t,t.deleteSet,i=>{if(i instanceof Gi||!i.parent._hasFormatting||e.has(i.parent))return;let o=i.parent;i.content.constructor===Kn?e.add(o):jke(r,i)});for(let i of e)zke(i)})},zY=(t,e,n)=>{let r=n,i=KC(e.currentAttributes),o=e.right;for(;n>0&&e.right!==null;){if(e.right.deleted===!1)switch(e.right.content.constructor){case Xo:case kf:case Aa:n<e.right.length&&Wi(t,pt(e.right.id.client,e.right.id.clock+n)),n-=e.right.length,e.right.delete(t);break}e.forward()}o&&pK(t,o,e.right,i,e.currentAttributes);let a=(e.left||e.right).parent;return a._searchMarker&&Xb(a._searchMarker,e.index,-r+n),e},T8=class extends Mm{constructor(e,n,r){super(e,n),this.childListChanged=!1,this.keysChanged=new Set,r.forEach(i=>{i===null?this.childListChanged=!0:this.keysChanged.add(i)})}get changes(){if(this._changes===null){let e={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=e}return this._changes}get delta(){if(this._delta===null){let e=this.target.doc,n=[];fn(e,r=>{let i=new Map,o=new Map,a=this.target._start,s=null,l={},c="",d=0,u=0,f=()=>{if(s!==null){let p=null;switch(s){case"delete":u>0&&(p={delete:u}),u=0;break;case"insert":(typeof c=="object"||c.length>0)&&(p={insert:c},i.size>0&&(p.attributes={},i.forEach((h,g)=>{h!==null&&(p.attributes[g]=h)}))),c="";break;case"retain":d>0&&(p={retain:d},rY(l)||(p.attributes=eY({},l))),d=0;break}p&&n.push(p),s=null}};for(;a!==null;){switch(a.content.constructor){case Xo:case kf:this.adds(a)?this.deletes(a)||(f(),s="insert",c=a.content.getContent()[0],f()):this.deletes(a)?(s!=="delete"&&(f(),s="delete"),u+=1):a.deleted||(s!=="retain"&&(f(),s="retain"),d+=1);break;case Aa:this.adds(a)?this.deletes(a)||(s!=="insert"&&(f(),s="insert"),c+=a.content.str):this.deletes(a)?(s!=="delete"&&(f(),s="delete"),u+=a.length):a.deleted||(s!=="retain"&&(f(),s="retain"),d+=a.length);break;case Kn:{let{key:p,value:h}=a.content;if(this.adds(a)){if(!this.deletes(a)){let g=i.get(p)||null;Kc(g,h)?h!==null&&a.delete(r):(s==="retain"&&f(),Kc(h,o.get(p)||null)?delete l[p]:l[p]=h)}}else if(this.deletes(a)){o.set(p,h);let g=i.get(p)||null;Kc(g,h)||(s==="retain"&&f(),l[p]=g)}else if(!a.deleted){o.set(p,h);let g=l[p];g!==void 0&&(Kc(g,h)?g!==null&&a.delete(r):(s==="retain"&&f(),h===null?delete l[p]:l[p]=h))}a.deleted||(s==="insert"&&f(),Pm(i,a.content));break}}a=a.right}for(f();n.length>0;){let p=n[n.length-1];if(p.retain!==void 0&&p.attributes===void 0)n.pop();else break}}),this._delta=n}return this._delta}},vf=class t extends _r{constructor(e){super(),this._pending=e!==void 0?[()=>this.insert(0,e)]:[],this._searchMarker=[],this._hasFormatting=!1}get length(){return this._length}_integrate(e,n){super._integrate(e,n);try{this._pending.forEach(r=>r())}catch(r){console.error(r)}this._pending=null}_copy(){return new t}clone(){let e=new t;return e.applyDelta(this.toDelta()),e}_callObserver(e,n){super._callObserver(e,n);let r=new T8(this,e,n);ND(this,e,r),!e.local&&this._hasFormatting&&(e._needFormattingCleanup=!0)}toString(){let e="",n=this._start;for(;n!==null;)!n.deleted&&n.countable&&n.content.constructor===Aa&&(e+=n.content.str),n=n.right;return e}toJSON(){return this.toString()}applyDelta(e,{sanitize:n=!0}={}){this.doc!==null?fn(this.doc,r=>{let i=new e_(null,this._start,0,new Map);for(let o=0;o<e.length;o++){let a=e[o];if(a.insert!==void 0){let s=!n&&typeof a.insert=="string"&&o===e.length-1&&i.right===null&&a.insert.slice(-1)===` +`?a.insert.slice(0,-1):a.insert;(typeof s!="string"||s.length>0)&&y8(r,this,i,s,a.attributes||{})}else a.retain!==void 0?jY(r,this,i,a.retain,a.attributes||{}):a.delete!==void 0&&zY(r,i,a.delete)}}):this._pending.push(()=>this.applyDelta(e))}toDelta(e,n,r){let i=[],o=new Map,a=this.doc,s="",l=this._start;function c(){if(s.length>0){let u={},f=!1;o.forEach((h,g)=>{f=!0,u[g]=h});let p={insert:s};f&&(p.attributes=u),i.push(p),s=""}}let d=()=>{for(;l!==null;){if(_f(l,e)||n!==void 0&&_f(l,n))switch(l.content.constructor){case Aa:{let u=o.get("ychange");e!==void 0&&!_f(l,e)?(u===void 0||u.user!==l.id.client||u.type!=="removed")&&(c(),o.set("ychange",r?r("removed",l.id):{type:"removed"})):n!==void 0&&!_f(l,n)?(u===void 0||u.user!==l.id.client||u.type!=="added")&&(c(),o.set("ychange",r?r("added",l.id):{type:"added"})):u!==void 0&&(c(),o.delete("ychange")),s+=l.content.str;break}case Xo:case kf:{c();let u={insert:l.content.getContent()[0]};if(o.size>0){let f={};u.attributes=f,o.forEach((p,h)=>{f[h]=p})}i.push(u);break}case Kn:_f(l,e)&&(c(),Pm(o,l.content));break}l=l.right}c()};return e||n?fn(a,u=>{e&&k8(u,e),n&&k8(u,n),d()},"cleanup"):d(),i}insert(e,n,r){if(n.length<=0)return;let i=this.doc;i!==null?fn(i,o=>{let a=hD(o,this,e);r||(r={},a.currentAttributes.forEach((s,l)=>{r[l]=s})),y8(o,this,a,n,r)}):this._pending.push(()=>this.insert(e,n,r))}insertEmbed(e,n,r={}){let i=this.doc;i!==null?fn(i,o=>{let a=hD(o,this,e);y8(o,this,a,n,r)}):this._pending.push(()=>this.insertEmbed(e,n,r))}delete(e,n){if(n===0)return;let r=this.doc;r!==null?fn(r,i=>{zY(i,hD(i,this,e),n)}):this._pending.push(()=>this.delete(e,n))}format(e,n,r){if(n===0)return;let i=this.doc;i!==null?fn(i,o=>{let a=hD(o,this,e);a.right!==null&&jY(o,this,a,n,r)}):this._pending.push(()=>this.format(e,n,r))}removeAttribute(e){this.doc!==null?fn(this.doc,n=>{DD(n,this,e)}):this._pending.push(()=>this.removeAttribute(e))}setAttribute(e,n){this.doc!==null?fn(this.doc,r=>{U8(r,this,e,n)}):this._pending.push(()=>this.setAttribute(e,n))}getAttribute(e){return H8(this,e)}getAttributes(){return lK(this)}_write(e){e.writeTypeRef(rxe)}},Bke=t=>new vf,Wb=class{constructor(e,n=()=>!0){this._filter=n,this._root=e,this._currentNode=e._start,this._firstCall=!0}[Symbol.iterator](){return this}next(){let e=this._currentNode,n=e&&e.content&&e.content.type;if(e!==null&&(!this._firstCall||e.deleted||!this._filter(n)))do if(n=e.content.type,!e.deleted&&(n.constructor===Ci||n.constructor===Al)&&n._start!==null)e=n._start;else for(;e!==null;)if(e.right!==null){e=e.right;break}else e.parent===this._root?e=null:e=e.parent._item;while(e!==null&&(e.deleted||!this._filter(e.content.type)));return this._firstCall=!1,e===null?{value:void 0,done:!0}:(this._currentNode=e,{value:e.content.type,done:!1})}},Al=class t extends _r{constructor(){super(),this._prelimContent=[]}get firstChild(){let e=this._first;return e?e.content.getContent()[0]:null}_integrate(e,n){super._integrate(e,n),this.insert(0,this._prelimContent),this._prelimContent=null}_copy(){return new t}clone(){let e=new t;return e.insert(0,this.toArray().map(n=>n instanceof _r?n.clone():n)),e}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(e){return new Wb(this,e)}querySelector(e){e=e.toUpperCase();let r=new Wb(this,i=>i.nodeName&&i.nodeName.toUpperCase()===e).next();return r.done?null:r.value}querySelectorAll(e){return e=e.toUpperCase(),_s(new Wb(this,n=>n.nodeName&&n.nodeName.toUpperCase()===e))}_callObserver(e,n){ND(this,e,new A8(this,n,e))}toString(){return rK(this,e=>e.toString()).join("")}toJSON(){return this.toString()}toDOM(e=document,n={},r){let i=e.createDocumentFragment();return r!==void 0&&r._createAssociation(i,this),Qb(this,o=>{i.insertBefore(o.toDOM(e,n,r),null)}),i}insert(e,n){this.doc!==null?fn(this.doc,r=>{aK(r,this,e,n)}):this._prelimContent.splice(e,0,...n)}insertAfter(e,n){if(this.doc!==null)fn(this.doc,r=>{let i=e&&e instanceof _r?e._item:e;CD(r,this,i,n)});else{let r=this._prelimContent,i=e===null?0:r.findIndex(o=>o===e)+1;if(i===0&&e!==null)throw ws("Reference item not found");r.splice(i,0,...n)}}delete(e,n=1){this.doc!==null?fn(this.doc,r=>{sK(r,this,e,n)}):this._prelimContent.splice(e,n)}toArray(){return nK(this)}push(e){this.insert(this.length,e)}unshift(e){this.insert(0,e)}get(e){return iK(this,e)}slice(e=0,n=this.length){return tK(this,e,n)}forEach(e){Qb(this,e)}_write(e){e.writeTypeRef(oxe)}},Vke=t=>new Al,Ci=class t extends Al{constructor(e="UNDEFINED"){super(),this.nodeName=e,this._prelimAttrs=new Map}get nextSibling(){let e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){let e=this._item?this._item.prev:null;return e?e.content.type:null}_integrate(e,n){super._integrate(e,n),this._prelimAttrs.forEach((r,i)=>{this.setAttribute(i,r)}),this._prelimAttrs=null}_copy(){return new t(this.nodeName)}clone(){let e=new t(this.nodeName),n=this.getAttributes();return tY(n,(r,i)=>{typeof r=="string"&&e.setAttribute(i,r)}),e.insert(0,this.toArray().map(r=>r instanceof _r?r.clone():r)),e}toString(){let e=this.getAttributes(),n=[],r=[];for(let s in e)r.push(s);r.sort();let i=r.length;for(let s=0;s<i;s++){let l=r[s];n.push(l+'="'+e[l]+'"')}let o=this.nodeName.toLocaleLowerCase(),a=n.length>0?" "+n.join(" "):"";return`<${o}${a}>${super.toString()}</${o}>`}removeAttribute(e){this.doc!==null?fn(this.doc,n=>{DD(n,this,e)}):this._prelimAttrs.delete(e)}setAttribute(e,n){this.doc!==null?fn(this.doc,r=>{U8(r,this,e,n)}):this._prelimAttrs.set(e,n)}getAttribute(e){return H8(this,e)}hasAttribute(e){return cK(this,e)}getAttributes(e){return e?Fke(this,e):lK(this)}toDOM(e=document,n={},r){let i=e.createElement(this.nodeName),o=this.getAttributes();for(let a in o){let s=o[a];typeof s=="string"&&i.setAttribute(a,s)}return Qb(this,a=>{i.appendChild(a.toDOM(e,n,r))}),r!==void 0&&r._createAssociation(i,this),i}_write(e){e.writeTypeRef(ixe),e.writeKey(this.nodeName)}},Uke=t=>new Ci(t.readKey()),A8=class extends Mm{constructor(e,n,r){super(e,r),this.childListChanged=!1,this.attributesChanged=new Set,n.forEach(i=>{i===null?this.childListChanged=!0:this.attributesChanged.add(i)})}},I8=class t extends Jb{constructor(e){super(),this.hookName=e}_copy(){return new t(this.hookName)}clone(){let e=new t(this.hookName);return this.forEach((n,r)=>{e.set(r,n)}),e}toDOM(e=document,n={},r){let i=n[this.hookName],o;return i!==void 0?o=i.createDom(this):o=document.createElement(this.hookName),o.setAttribute("data-yjs-hook",this.hookName),r!==void 0&&r._createAssociation(o,this),o}_write(e){e.writeTypeRef(axe),e.writeKey(this.hookName)}},Hke=t=>new I8(t.readKey()),Ki=class t extends vf{get nextSibling(){let e=this._item?this._item.next:null;return e?e.content.type:null}get prevSibling(){let e=this._item?this._item.prev:null;return e?e.content.type:null}_copy(){return new t}clone(){let e=new t;return e.applyDelta(this.toDelta()),e}toDOM(e=document,n,r){let i=e.createTextNode(this.toString());return r!==void 0&&r._createAssociation(i,this),i}toString(){return this.toDelta().map(e=>{let n=[];for(let i in e.attributes){let o=[];for(let a in e.attributes[i])o.push({key:a,value:e.attributes[i][a]});o.sort((a,s)=>a.key<s.key?-1:1),n.push({nodeName:i,attrs:o})}n.sort((i,o)=>i.nodeName<o.nodeName?-1:1);let r="";for(let i=0;i<n.length;i++){let o=n[i];r+=`<${o.nodeName}`;for(let a=0;a<o.attrs.length;a++){let s=o.attrs[a];r+=` ${s.key}="${s.value}"`}r+=">"}r+=e.insert;for(let i=n.length-1;i>=0;i--)r+=`</${n[i].nodeName}>`;return r}).join("")}toJSON(){return this.toString()}_write(e){e.writeTypeRef(sxe)}},$ke=t=>new Ki,t_=class{constructor(e,n){this.id=e,this.length=n}get deleted(){throw yo()}mergeWith(e){return!1}write(e,n,r){throw yo()}integrate(e,n){throw yo()}},qke=0,Gi=class extends t_{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,n){n>0&&(this.id.clock+=n,this.length-=n),KY(e.doc.store,this)}write(e,n){e.writeInfo(qke),e.writeLen(this.length-n)}getMissing(e,n){return null}},n_=class t{constructor(e){this.content=e}getLength(){return 1}getContent(){return[this.content]}isCountable(){return!0}copy(){return new t(this.content)}splice(e){throw yo()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeBuf(this.content)}getRef(){return 3}},Wke=t=>new n_(t.readBuf()),ED=class t{constructor(e){this.len=e}getLength(){return this.len}getContent(){return[]}isCountable(){return!1}copy(){return new t(this.len)}splice(e){let n=new t(this.len-e);return this.len=e,n}mergeWith(e){return this.len+=e.len,!0}integrate(e,n){Yb(e.deleteSet,n.id.client,n.id.clock,this.len),n.markDeleted()}delete(e){}gc(e){}write(e,n){e.writeLen(this.len-n)}getRef(){return 1}},Gke=t=>new ED(t.readLen()),hK=(t,e)=>new Ml(q(D({guid:t},e),{shouldLoad:e.shouldLoad||e.autoLoad||!1})),r_=class t{constructor(e){e._item&&console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid."),this.doc=e;let n={};this.opts=n,e.gc||(n.gc=!1),e.autoLoad&&(n.autoLoad=!0),e.meta!==null&&(n.meta=e.meta)}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return!0}copy(){return new t(hK(this.doc.guid,this.opts))}splice(e){throw yo()}mergeWith(e){return!1}integrate(e,n){this.doc._item=n,e.subdocsAdded.add(this.doc),this.doc.shouldLoad&&e.subdocsLoaded.add(this.doc)}delete(e){e.subdocsAdded.has(this.doc)?e.subdocsAdded.delete(this.doc):e.subdocsRemoved.add(this.doc)}gc(e){}write(e,n){e.writeString(this.doc.guid),e.writeAny(this.opts)}getRef(){return 9}},Yke=t=>new r_(hK(t.readString(),t.readAny())),kf=class t{constructor(e){this.embed=e}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return!0}copy(){return new t(this.embed)}splice(e){throw yo()}mergeWith(e){return!1}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeJSON(this.embed)}getRef(){return 5}},Kke=t=>new kf(t.readJSON()),Kn=class t{constructor(e,n){this.key=e,this.value=n}getLength(){return 1}getContent(){return[]}isCountable(){return!1}copy(){return new t(this.key,this.value)}splice(e){throw yo()}mergeWith(e){return!1}integrate(e,n){let r=n.parent;r._searchMarker=null,r._hasFormatting=!0}delete(e){}gc(e){}write(e,n){e.writeKey(this.key),e.writeJSON(this.value)}getRef(){return 6}},Zke=t=>new Kn(t.readKey(),t.readJSON()),O8=class t{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new t(this.arr)}splice(e){let n=new t(this.arr.slice(e));return this.arr=this.arr.slice(0,e),n}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){let r=this.arr.length;e.writeLen(r-n);for(let i=n;i<r;i++){let o=this.arr[i];e.writeString(o===void 0?"undefined":JSON.stringify(o))}}getRef(){return 2}},Xke=t=>{let e=t.readLen(),n=[];for(let r=0;r<e;r++){let i=t.readString();i==="undefined"?n.push(void 0):n.push(JSON.parse(i))}return new O8(n)},Tm=class t{constructor(e){this.arr=e}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return!0}copy(){return new t(this.arr)}splice(e){let n=new t(this.arr.slice(e));return this.arr=this.arr.slice(0,e),n}mergeWith(e){return this.arr=this.arr.concat(e.arr),!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){let r=this.arr.length;e.writeLen(r-n);for(let i=n;i<r;i++){let o=this.arr[i];e.writeAny(o)}}getRef(){return 8}},Qke=t=>{let e=t.readLen(),n=[];for(let r=0;r<e;r++)n.push(t.readAny());return new Tm(n)},Aa=class t{constructor(e){this.str=e}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return!0}copy(){return new t(this.str)}splice(e){let n=new t(this.str.slice(e));this.str=this.str.slice(0,e);let r=this.str.charCodeAt(e-1);return r>=55296&&r<=56319&&(this.str=this.str.slice(0,e-1)+"\uFFFD",n.str="\uFFFD"+n.str.slice(1)),n}mergeWith(e){return this.str+=e.str,!0}integrate(e,n){}delete(e){}gc(e){}write(e,n){e.writeString(n===0?this.str:this.str.slice(n))}getRef(){return 4}},Jke=t=>new Aa(t.readString()),exe=[Nke,Rke,Bke,Uke,Vke,Hke,$ke],txe=0,nxe=1,rxe=2,ixe=3,oxe=4,axe=5,sxe=6,Xo=class t{constructor(e){this.type=e}getLength(){return 1}getContent(){return[this.type]}isCountable(){return!0}copy(){return new t(this.type._copy())}splice(e){throw yo()}mergeWith(e){return!1}integrate(e,n){this.type._integrate(e.doc,n)}delete(e){let n=this.type._start;for(;n!==null;)n.deleted?n.id.clock<(e.beforeState.get(n.id.client)||0)&&e._mergeStructs.push(n):n.delete(e),n=n.right;this.type._map.forEach(r=>{r.deleted?r.id.clock<(e.beforeState.get(r.id.client)||0)&&e._mergeStructs.push(r):r.delete(e)}),e.changed.delete(this.type)}gc(e){let n=this.type._start;for(;n!==null;)n.gc(e,!0),n=n.right;this.type._start=null,this.type._map.forEach(r=>{for(;r!==null;)r.gc(e,!0),r=r.left}),this.type._map=new Map}write(e,n){this.type._write(e)}getRef(){return 7}},lxe=t=>new Xo(exe[t.readTypeRef()](t)),P8=(t,e)=>{let n=e,r=0,i;do r>0&&(n=pt(n.client,n.clock+r)),i=mD(t,n),r=n.clock-i.id.clock,n=i.redone;while(n!==null&&i instanceof Xt);return{item:i,diff:r}},$8=(t,e)=>{for(;t!==null&&t.keep!==e;)t.keep=e,t=t.parent._item},MD=(t,e,n)=>{let{client:r,clock:i}=e.id,o=new Xt(pt(r,i+n),e,pt(r,i+n-1),e.right,e.rightOrigin,e.parent,e.parentSub,e.content.splice(n));return e.deleted&&o.markDeleted(),e.keep&&(o.keep=!0),e.redone!==null&&(o.redone=pt(e.redone.client,e.redone.clock+n)),e.right=o,o.right!==null&&(o.right.left=o),t._mergeStructs.push(o),o.parentSub!==null&&o.right===null&&o.parent._map.set(o.parentSub,o),e.length=n,o},LY=(t,e)=>FG(t,n=>xf(n.deletions,e)),mK=(t,e,n,r,i,o)=>{let a=t.doc,s=a.store,l=a.clientID,c=e.redone;if(c!==null)return Wi(t,c);let d=e.parent._item,u=null,f;if(d!==null&&d.deleted===!0){if(d.redone===null&&(!n.has(d)||mK(t,d,n,r,i,o)===null))return null;for(;d.redone!==null;)d=Wi(t,d.redone)}let p=d===null?e.parent:d.content.type;if(e.parentSub===null){for(u=e.left,f=e;u!==null;){let _=u;for(;_!==null&&_.parent._item!==d;)_=_.redone===null?null:Wi(t,_.redone);if(_!==null&&_.parent._item===d){u=_;break}u=u.left}for(;f!==null;){let _=f;for(;_!==null&&_.parent._item!==d;)_=_.redone===null?null:Wi(t,_.redone);if(_!==null&&_.parent._item===d){f=_;break}f=f.right}}else if(f=null,e.right&&!i){for(u=e;u!==null&&u.right!==null&&(u.right.redone||xf(r,u.right.id)||LY(o.undoStack,u.right.id)||LY(o.redoStack,u.right.id));)for(u=u.right;u.redone;)u=Wi(t,u.redone);if(u&&u.right!==null)return null}else u=p._map.get(e.parentSub)||null;let h=Yn(s,l),g=pt(l,h),b=new Xt(g,u,u&&u.lastId,f,f&&f.id,p,e.parentSub,e.content.copy());return e.redone=g,$8(b,!0),b.integrate(t,0),b},Xt=class t extends t_{constructor(e,n,r,i,o,a,s,l){super(e,l.getLength()),this.origin=r,this.left=n,this.right=i,this.rightOrigin=o,this.parent=a,this.parentSub=s,this.redone=null,this.content=l,this.info=this.content.isCountable()?2:0}set marker(e){(this.info&8)>0!==e&&(this.info^=8)}get marker(){return(this.info&8)>0}get keep(){return(this.info&1)>0}set keep(e){this.keep!==e&&(this.info^=1)}get countable(){return(this.info&2)>0}get deleted(){return(this.info&4)>0}set deleted(e){this.deleted!==e&&(this.info^=4)}markDeleted(){this.info|=4}getMissing(e,n){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=Yn(n,this.origin.client))return this.origin.client;if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=Yn(n,this.rightOrigin.client))return this.rightOrigin.client;if(this.parent&&this.parent.constructor===Zc&&this.id.client!==this.parent.client&&this.parent.clock>=Yn(n,this.parent.client))return this.parent.client;if(this.origin&&(this.left=AY(e,n,this.origin),this.origin=this.left.lastId),this.rightOrigin&&(this.right=Wi(e,this.rightOrigin),this.rightOrigin=this.right.id),this.left&&this.left.constructor===Gi||this.right&&this.right.constructor===Gi)this.parent=null;else if(!this.parent)this.left&&this.left.constructor===t&&(this.parent=this.left.parent,this.parentSub=this.left.parentSub),this.right&&this.right.constructor===t&&(this.parent=this.right.parent,this.parentSub=this.right.parentSub);else if(this.parent.constructor===Zc){let r=mD(n,this.parent);r.constructor===Gi?this.parent=null:this.parent=r.content.type}return null}integrate(e,n){if(n>0&&(this.id.clock+=n,this.left=AY(e,e.doc.store,pt(this.id.client,this.id.clock-1)),this.origin=this.left.lastId,this.content=this.content.splice(n),this.length-=n),this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let r=this.left,i;if(r!==null)i=r.right;else if(this.parentSub!==null)for(i=this.parent._map.get(this.parentSub)||null;i!==null&&i.left!==null;)i=i.left;else i=this.parent._start;let o=new Set,a=new Set;for(;i!==null&&i!==this.right;){if(a.add(i),o.add(i),Cm(this.origin,i.origin)){if(i.id.client<this.id.client)r=i,o.clear();else if(Cm(this.rightOrigin,i.rightOrigin))break}else if(i.origin!==null&&a.has(mD(e.doc.store,i.origin)))o.has(mD(e.doc.store,i.origin))||(r=i,o.clear());else break;i=i.right}this.left=r}if(this.left!==null){let r=this.left.right;this.right=r,this.left.right=this}else{let r;if(this.parentSub!==null)for(r=this.parent._map.get(this.parentSub)||null;r!==null&&r.left!==null;)r=r.left;else r=this.parent._start,this.parent._start=this;this.right=r}this.right!==null?this.right.left=this:this.parentSub!==null&&(this.parent._map.set(this.parentSub,this),this.left!==null&&this.left.delete(e)),this.parentSub===null&&this.countable&&!this.deleted&&(this.parent._length+=this.length),KY(e.doc.store,this),this.content.integrate(e,this),OY(e,this.parent,this.parentSub),(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null)&&this.delete(e)}else new Gi(this.id,this.length).integrate(e,0)}get next(){let e=this.right;for(;e!==null&&e.deleted;)e=e.right;return e}get prev(){let e=this.left;for(;e!==null&&e.deleted;)e=e.left;return e}get lastId(){return this.length===1?this.id:pt(this.id.client,this.id.clock+this.length-1)}mergeWith(e){if(this.constructor===e.constructor&&Cm(e.origin,this.lastId)&&this.right===e&&Cm(this.rightOrigin,e.rightOrigin)&&this.id.client===e.id.client&&this.id.clock+this.length===e.id.clock&&this.deleted===e.deleted&&this.redone===null&&e.redone===null&&this.content.constructor===e.content.constructor&&this.content.mergeWith(e.content)){let n=this.parent._searchMarker;return n&&n.forEach(r=>{r.p===e&&(r.p=this,!this.deleted&&this.countable&&(r.index-=this.length))}),e.keep&&(this.keep=!0),this.right=e.right,this.right!==null&&(this.right.left=this),this.length+=e.length,!0}return!1}delete(e){if(!this.deleted){let n=this.parent;this.countable&&this.parentSub===null&&(n._length-=this.length),this.markDeleted(),Yb(e.deleteSet,this.id.client,this.id.clock,this.length),OY(e,n,this.parentSub),this.content.delete(e)}}gc(e,n){if(!this.deleted)throw qi();this.content.gc(e),n?wke(e,this,new Gi(this.id,this.length)):this.content=new ED(this.length)}write(e,n){let r=n>0?pt(this.id.client,this.id.clock+n-1):this.origin,i=this.rightOrigin,o=this.parentSub,a=this.content.getRef()&31|(r===null?0:128)|(i===null?0:64)|(o===null?0:32);if(e.writeInfo(a),r!==null&&e.writeLeftID(r),i!==null&&e.writeRightID(i),r===null&&i===null){let s=this.parent;if(s._item!==void 0){let l=s._item;if(l===null){let c=Im(s);e.writeParentInfo(!0),e.writeString(c)}else e.writeParentInfo(!1),e.writeLeftID(l.id)}else s.constructor===String?(e.writeParentInfo(!0),e.writeString(s)):s.constructor===Zc?(e.writeParentInfo(!1),e.writeLeftID(s)):qi();o!==null&&e.writeString(o)}this.content.write(e,n)}},gK=(t,e)=>cxe[e&31](t),cxe=[()=>{qi()},Gke,Xke,Wke,Jke,Kke,Zke,lxe,Qke,Yke,()=>{qi()}],dxe=10,Yi=class extends t_{get deleted(){return!0}delete(){}mergeWith(e){return this.constructor!==e.constructor?!1:(this.length+=e.length,!0)}integrate(e,n){qi()}write(e,n){e.writeInfo(dxe),Re(e.restEncoder,this.length-n)}getMissing(e,n){return null}},yK=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{},bK="__ $YJS$ __";yK[bK]===!0&&console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438");yK[bK]=!0;var q8=3e4,jD=class extends xl{constructor(e){super(),this.doc=e,this.clientID=e.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{let n=bo();this.getLocalState()!==null&&q8/2<=n-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());let r=[];this.meta.forEach((i,o)=>{o!==this.clientID&&q8<=n-i.lastUpdated&&this.states.has(o)&&r.push(o)}),r.length>0&&zD(this,r,"timeout")},oi(q8/10)),e.on("destroy",()=>{this.destroy()}),this.setLocalState({})}destroy(){this.emit("destroy",[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(e){let n=this.clientID,r=this.meta.get(n),i=r===void 0?0:r.clock+1,o=this.states.get(n);e===null?this.states.delete(n):this.states.set(n,e),this.meta.set(n,{clock:i,lastUpdated:bo()});let a=[],s=[],l=[],c=[];e===null?c.push(n):o==null?e!=null&&a.push(n):(s.push(n),_m(o,e)||l.push(n)),(a.length>0||l.length>0||c.length>0)&&this.emit("change",[{added:a,updated:l,removed:c},"local"]),this.emit("update",[{added:a,updated:s,removed:c},"local"])}setLocalStateField(e,n){let r=this.getLocalState();r!==null&&this.setLocalState(q(D({},r),{[e]:n}))}getStates(){return this.states}},zD=(t,e,n)=>{let r=[];for(let i=0;i<e.length;i++){let o=e[i];if(t.states.has(o)){if(t.states.delete(o),o===t.clientID){let a=t.meta.get(o);t.meta.set(o,{clock:a.clock+1,lastUpdated:bo()})}r.push(o)}}r.length>0&&(t.emit("change",[{added:[],updated:[],removed:r},n]),t.emit("update",[{added:[],updated:[],removed:r},n]))},Fm=(t,e,n=t.states)=>{let r=e.length,i=yr();Re(i,r);for(let o=0;o<r;o++){let a=e[o],s=n.get(a)||null,l=t.meta.get(a).clock;Re(i,a),Re(i,l),Dl(i,JSON.stringify(s))}return _n(i)};var _K=(t,e,n)=>{let r=Ta(e),i=bo(),o=[],a=[],s=[],l=[],c=et(r);for(let d=0;d<c;d++){let u=et(r),f=et(r),p=JSON.parse(Ma(r)),h=t.meta.get(u),g=t.states.get(u),b=h===void 0?0:h.clock;(b<f||b===f&&p===null&&t.states.has(u))&&(p===null?u===t.clientID&&t.getLocalState()!=null?f++:t.states.delete(u):t.states.set(u,p),t.meta.set(u,{clock:f,lastUpdated:i}),h===void 0&&p!==null?o.push(u):h!==void 0&&p===null?l.push(u):p!==null&&(_m(p,g)||s.push(u),a.push(u)))}(o.length>0||s.length>0||l.length>0)&&t.emit("change",[{added:o,updated:s,removed:l},n]),(o.length>0||a.length>0||l.length>0)&&t.emit("update",[{added:o,updated:a,removed:l},n])};var wK=()=>{let t=!0;return(e,n)=>{if(t){t=!1;try{e()}finally{t=!0}}else n!==void 0&&n()}};var fxe=/[\uD800-\uDBFF]/,pxe=/[\uDC00-\uDFFF]/,hxe=(t,e)=>{let n=0,r=0;for(;n<t.length&&n<e.length&&t[n]===e[n];)n++;for(n>0&&fxe.test(t[n-1])&&n--;r+n<t.length&&r+n<e.length&&t[t.length-r-1]===e[e.length-r-1];)r++;return r>0&&pxe.test(t[t.length-r])&&r--,{index:n,remove:t.length-n-r,insert:e.slice(n,e.length-r)}},vK=hxe;var Qt=new Je("y-sync"),Ds=new Je("y-undo"),Cf=new Je("yjs-cursor");var o_=(t,e)=>e===void 0?!t.deleted:e.sv.has(t.id.client)&&e.sv.get(t.id.client)>t.id.clock&&!xf(e.ds,t.id),mxe=[{light:"#ecd44433",dark:"#ecd444"}],gxe=(t,e,n)=>{if(!t.has(n)){if(t.size<e.length){let r=mo();t.forEach(i=>r.add(i)),e=e.filter(i=>!r.has(i))}t.set(n,GG(e))}return t.get(n)},Y8=(t,{colors:e=mxe,colorMapping:n=new Map,permanentUserData:r=null,onFirstRender:i=()=>{}}={})=>{let o=!1,a,s=new Le({props:{editable:l=>{let c=Qt.getState(l);return c.snapshot==null&&c.prevSnapshot==null}},key:Qt,state:{init:(l,c)=>({type:t,doc:t.doc,binding:null,snapshot:null,prevSnapshot:null,isChangeOrigin:!1,isUndoRedoOperation:!1,addToHistory:!0,colors:e,colorMapping:n,permanentUserData:r}),apply:(l,c)=>{let d=l.getMeta(Qt);if(d!==void 0){c=Object.assign({},c);for(let u in d)c[u]=d[u]}return c.addToHistory=l.getMeta("addToHistory")!==!1,c.isChangeOrigin=d!==void 0&&!!d.isChangeOrigin,c.isUndoRedoOperation=d!==void 0&&!!d.isChangeOrigin&&!!d.isUndoRedoOperation,c.binding!==null&&d!==void 0&&(d.snapshot!=null||d.prevSnapshot!=null)&&km(0,()=>{c.binding==null||c.binding.isDestroyed||(d.restore==null?c.binding._renderSnapshot(d.snapshot,d.prevSnapshot,c):(c.binding._renderSnapshot(d.snapshot,d.snapshot,c),delete c.restore,delete c.snapshot,delete c.prevSnapshot,c.binding.mux(()=>{c.binding._prosemirrorChanged(c.binding.prosemirrorView.state.doc)})))}),c}},view:l=>{let c=new BD(t,l);return a?.destroy(),a=km(0,()=>{c._forceRerender(),l.dispatch(l.state.tr.setMeta(Qt,{binding:c})),i()}),{update:()=>{let d=s.getState(l.state);if(d.snapshot==null&&d.prevSnapshot==null&&(o||l.state.doc.content.findDiffStart(l.state.doc.type.createAndFill().content)!==null)){if(o=!0,d.addToHistory===!1&&!d.isChangeOrigin){let u=Ds.getState(l.state),f=u&&u.undoManager;f&&f.stopCapturing()}c.mux(()=>{d.doc.transact(u=>{u.meta.set("addToHistory",d.addToHistory),c._prosemirrorChanged(l.state.doc)},Qt)})}},destroy:()=>{a.destroy(),c.destroy()}}}});return s},yxe=(t,e,n)=>{if(e!==null&&e.anchor!==null&&e.head!==null){let r=ed(n.doc,n.type,e.anchor,n.mapping),i=ed(n.doc,n.type,e.head,n.mapping);r!==null&&i!==null&&(t=t.setSelection(je.create(t.doc,r,i)))}},a_=(t,e)=>({anchor:Df(e.selection.anchor,t.type,t.mapping),head:Df(e.selection.head,t.type,t.mapping)}),BD=class{constructor(e,n){this.type=e,this.prosemirrorView=n,this.mux=wK(),this.isDestroyed=!1,this.mapping=new Map,this._observeFunction=this._typeChanged.bind(this),this.doc=e.doc,this.beforeTransactionSelection=null,this.beforeAllTransactions=()=>{this.beforeTransactionSelection===null&&(this.beforeTransactionSelection=a_(this,n.state))},this.afterAllTransactions=()=>{this.beforeTransactionSelection=null},this.doc.on("beforeAllTransactions",this.beforeAllTransactions),this.doc.on("afterAllTransactions",this.afterAllTransactions),e.observeDeep(this._observeFunction),this._domSelectionInView=null}get _tr(){return this.prosemirrorView.state.tr.setMeta("addToHistory",!1)}_isLocalCursorInView(){return this.prosemirrorView.hasFocus()?(vm&&this._domSelectionInView===null&&(km(0,()=>{this._domSelectionInView=null}),this._domSelectionInView=this._isDomSelectionInView()),this._domSelectionInView):!1}_isDomSelectionInView(){let e=this.prosemirrorView._root.getSelection(),n=this.prosemirrorView._root.createRange();n.setStart(e.anchorNode,e.anchorOffset),n.setEnd(e.focusNode,e.focusOffset),n.getClientRects().length===0&&n.startContainer&&n.collapsed&&n.selectNodeContents(n.startContainer);let i=n.getBoundingClientRect(),o=Sl.documentElement;return i.bottom>=0&&i.right>=0&&i.left<=(window.innerWidth||o.clientWidth||0)&&i.top<=(window.innerHeight||o.clientHeight||0)}renderSnapshot(e,n){n||(n=PD(TD(),new Map)),this.prosemirrorView.dispatch(this._tr.setMeta(Qt,{snapshot:e,prevSnapshot:n}))}unrenderSnapshot(){this.mapping=new Map,this.mux(()=>{let e=this.type.toArray().map(r=>LD(r,this.prosemirrorView.state.schema,this.mapping)).filter(r=>r!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(e),0,0));n.setMeta(Qt,{snapshot:null,prevSnapshot:null}),this.prosemirrorView.dispatch(n)})}_forceRerender(){this.mapping=new Map,this.mux(()=>{let e=this.type.toArray().map(r=>LD(r,this.prosemirrorView.state.schema,this.mapping)).filter(r=>r!==null),n=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(e),0,0));this.prosemirrorView.dispatch(n.setMeta(Qt,{isChangeOrigin:!0}))})}_renderSnapshot(e,n,r){e||(e=YY(this.doc)),this.mapping=new Map,this.mux(()=>{this.doc.transact(i=>{let o=r.permanentUserData;o&&o.dss.forEach(c=>{El(i,c,d=>{})});let a=(c,d)=>{let u=c==="added"?o.getUserByClientId(d.client):o.getUserByDeletedId(d);return{user:u,type:c,color:gxe(r.colorMapping,r.colors,u)}},s=V8(this.type,new Sm(n.ds,e.sv)).map(c=>!c._item.deleted||o_(c._item,e)||o_(c._item,n)?LD(c,this.prosemirrorView.state.schema,new Map,e,n,a):null).filter(c=>c!==null),l=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(s),0,0));this.prosemirrorView.dispatch(l.setMeta(Qt,{isChangeOrigin:!0}))},Qt)})}_typeChanged(e,n){let r=Qt.getState(this.prosemirrorView.state);if(e.length===0||r.snapshot!=null||r.prevSnapshot!=null){this.renderSnapshot(r.snapshot,r.prevSnapshot);return}this.mux(()=>{let i=(s,l)=>this.mapping.delete(l);El(n,n.deleteSet,s=>{if(s.constructor===Xt){let l=s.content.type;l&&this.mapping.delete(l)}}),n.changed.forEach(i),n.changedParentTypes.forEach(i);let o=this.type.toArray().map(s=>CK(s,this.prosemirrorView.state.schema,this.mapping)).filter(s=>s!==null),a=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new ce(Z.from(o),0,0));yxe(a,this.beforeTransactionSelection,this),a=a.setMeta(Qt,{isChangeOrigin:!0,isUndoRedoOperation:n.origin instanceof Em}),this.beforeTransactionSelection!==null&&this._isLocalCursorInView()&&a.scrollIntoView(),this.prosemirrorView.dispatch(a)})}_prosemirrorChanged(e){this.doc.transact(()=>{l_(this.doc,this.type,e,this.mapping),this.beforeTransactionSelection=a_(this,this.prosemirrorView.state)},Qt)}destroy(){this.isDestroyed=!0,this.type.unobserveDeep(this._observeFunction),this.doc.off("beforeAllTransactions",this.beforeAllTransactions),this.doc.off("afterAllTransactions",this.afterAllTransactions)}},CK=(t,e,n,r,i,o)=>{let a=n.get(t);if(a===void 0){if(t instanceof Ci)return LD(t,e,n,r,i,o);throw yo()}return a},LD=(t,e,n,r,i,o)=>{let a=[],s=l=>{if(l.constructor===Ci){let c=CK(l,e,n,r,i,o);c!==null&&a.push(c)}else{let c=bxe(l,e,n,r,i,o);c!==null&&c.forEach(d=>{d!==null&&a.push(d)})}};r===void 0||i===void 0?t.toArray().forEach(s):V8(t,new Sm(i.ds,r.sv)).forEach(s);try{let l=t.getAttributes(r);r!==void 0&&(o_(t._item,r)?o_(t._item,i)||(l.ychange=o?o("added",t._item.id):{type:"added"}):l.ychange=o?o("removed",t._item.id):{type:"removed"});let c=e.node(t.nodeName,l,a);return n.set(t,c),c}catch{return t.doc.transact(c=>{t._item.delete(c)},Qt),n.delete(t),null}},bxe=(t,e,n,r,i,o)=>{let a=[],s=t.toDelta(r,i,o);try{for(let l=0;l<s.length;l++){let c=s[l],d=[];for(let u in c.attributes)d.push(e.mark(u,c.attributes[u]));a.push(e.text(c.insert,d))}}catch{return t.doc.transact(c=>{t._item.delete(c)},Qt),null}return a},_xe=(t,e)=>{let n=new Ki,r=t.map(i=>({insert:i.text,attributes:SK(i.marks)}));return n.applyDelta(r),e.set(n,t),n},wxe=(t,e)=>{let n=new Ci(t.type.name);for(let r in t.attrs){let i=t.attrs[r];i!==null&&r!=="ychange"&&n.setAttribute(r,i)}return n.insert(0,UD(t).map(r=>W8(r,e))),e.set(n,t),n},W8=(t,e)=>t instanceof Array?_xe(t,e):wxe(t,e),kK=t=>typeof t=="object"&&t!==null,K8=(t,e)=>{let n=Object.keys(t).filter(i=>t[i]!==null),r=n.length===Object.keys(e).filter(i=>e[i]!==null).length;for(let i=0;i<n.length&&r;i++){let o=n[i],a=t[o],s=e[o];r=o==="ychange"||a===s||kK(a)&&kK(s)&&K8(a,s)}return r},UD=t=>{let e=t.content.content,n=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.isText){let o=[];for(let a=e[r];r<e.length&&a.isText;a=e[++r])o.push(a);r--,n.push(o)}else n.push(i)}return n},DK=(t,e)=>{let n=t.toDelta();return n.length===e.length&&n.every((r,i)=>r.insert===e[i].text&&i8(r.attributes||{}).length===e[i].marks.length&&e[i].marks.every(o=>K8(r.attributes[o.type.name]||{},o.attrs)))},s_=(t,e)=>{if(t instanceof Ci&&!(e instanceof Array)&&G8(t,e)){let n=UD(e);return t._length===n.length&&K8(t.getAttributes(),e.attrs)&&t.toArray().every((r,i)=>s_(r,n[i]))}return t instanceof Ki&&e instanceof Array&&DK(t,e)},VD=(t,e)=>t===e||t instanceof Array&&e instanceof Array&&t.length===e.length&&t.every((n,r)=>e[r]===n),xK=(t,e,n)=>{let r=t.toArray(),i=UD(e),o=i.length,a=r.length,s=go(a,o),l=0,c=0,d=!1;for(;l<s;l++){let u=r[l],f=i[l];if(VD(n.get(u),f))d=!0;else if(!s_(u,f))break}for(;l+c<s;c++){let u=r[a-c-1],f=i[o-c-1];if(VD(n.get(u),f))d=!0;else if(!s_(u,f))break}return{equalityFactor:l+c,foundMappedChild:d}},vxe=t=>{let e="",n=t._start,r={};for(;n!==null;)n.deleted||(n.countable&&n.content instanceof Aa?e+=n.content.str:n.content instanceof Kn&&(r[n.content.key]=null)),n=n.right;return{str:e,nAttrs:r}},kxe=(t,e,n)=>{n.set(t,e);let{nAttrs:r,str:i}=vxe(t),o=e.map(c=>({insert:c.text,attributes:Object.assign({},r,SK(c.marks))})),{insert:a,remove:s,index:l}=vK(i,o.map(c=>c.insert).join(""));t.delete(l,s),t.insert(l,a),t.applyDelta(o.map(c=>({retain:c.insert.length,attributes:c.attributes})))},SK=t=>{let e={};return t.forEach(n=>{n.type.name!=="ychange"&&(e[n.type.name]=n.attrs)}),e},l_=(t,e,n,r)=>{if(e instanceof Ci&&e.nodeName!==n.type.name)throw new Error("node name mismatch!");if(r.set(e,n),e instanceof Ci){let u=e.getAttributes(),f=n.attrs;for(let p in f)f[p]!==null?u[p]!==f[p]&&p!=="ychange"&&e.setAttribute(p,f[p]):e.removeAttribute(p);for(let p in u)f[p]===void 0&&e.removeAttribute(p)}let i=UD(n),o=i.length,a=e.toArray(),s=a.length,l=go(o,s),c=0,d=0;for(;c<l;c++){let u=a[c],f=i[c];if(!VD(r.get(u),f))if(s_(u,f))r.set(u,f);else break}for(;d+c+1<l;d++){let u=a[s-d-1],f=i[o-d-1];if(!VD(r.get(u),f))if(s_(u,f))r.set(u,f);else break}t.transact(()=>{for(;s-c-d>0&&o-c-d>0;){let f=a[c],p=i[c],h=a[s-d-1],g=i[o-d-1];if(f instanceof Ki&&p instanceof Array)DK(f,p)||kxe(f,p,r),c+=1;else{let b=f instanceof Ci&&G8(f,p),_=h instanceof Ci&&G8(h,g);if(b&&_){let x=xK(f,p,r),E=xK(h,g,r);x.foundMappedChild&&!E.foundMappedChild?_=!1:!x.foundMappedChild&&E.foundMappedChild||x.equalityFactor<E.equalityFactor?b=!1:_=!1}b?(l_(t,f,p,r),c+=1):_?(l_(t,h,g,r),d+=1):(r.delete(e.get(c)),e.delete(c,1),e.insert(c,[W8(p,r)]),c+=1)}}let u=s-c-d;if(s===1&&o===0&&a[0]instanceof Ki?(r.delete(a[0]),a[0].delete(0,a[0].length)):u>0&&(e.slice(c,c+u).forEach(f=>r.delete(f)),e.delete(c,u)),c+d<o){let f=[];for(let p=c;p<o-d;p++)f.push(W8(i[p],r));e.insert(c,f)}},Qt)},G8=(t,e)=>!(e instanceof Array)&&t.nodeName===e.type.name;var c_=null,xxe=()=>{let t=c_;c_=null,t.forEach((e,n)=>{let r=n.state.tr,i=Qt.getState(n.state);i&&i.binding&&!i.binding.isDestroyed&&(e.forEach((o,a)=>{r.setMeta(a,o)}),n.dispatch(r))})},Z8=(t,e,n)=>{c_||(c_=new Map,km(0,xxe)),$i(c_,t,Vr).set(e,n)},Df=(t,e,n)=>{if(t===0)return OD(e,0);let r=e._first===null?null:e._first.content.type;for(;r!==null&&e!==r;){if(r instanceof Ki){if(r._length>=t)return OD(r,t);if(t-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,t--;while(r!==e&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==e&&(r=r._item===null?null:r._item.next.content.type)}}else{let i=(n.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&t<i)r=r._first.content.type,t--;else{if(t===1&&r._length===0&&i>1)return new Jc(r._item===null?null:r._item.id,r._item===null?Im(r):null,null);if(t-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(t===0)return r=r._item===null?r:r._item.parent,new Jc(r._item===null?null:r._item.id,r._item===null?Im(r):null,null);do r=r._item.parent,t--;while(r!==e&&r._item.next===null);r!==e&&(r=r._item.next.content.type)}}}if(r===null)throw qi();if(t===0&&r.constructor!==Ki&&r!==e)return Cxe(r._item.parent,r._item)}return OD(e,e._length)},Cxe=(t,e)=>{let n=null,r=null;return t._item===null?r=Im(t):n=pt(t._item.id.client,t._item.id.clock),new Jc(n,r,e.id)},ed=(t,e,n,r)=>{let i=GY(n,t);if(i===null||i.type!==e&&!Dm(e,i.type._item))return null;let o=i.type,a=0;if(o.constructor===Ki)a=i.index;else if(o._item===null||!o._item.deleted){let s=o._first,l=0;for(;l<o._length&&l<i.index&&s!==null;){if(!s.deleted){let c=s.content.type;l++,c instanceof Ki?a+=c._length:a+=r.get(c).nodeSize}s=s.right}a+=1}for(;o!==e&&o._item!==null;){let s=o._item.parent;if(s._item===null||!s._item.deleted){a+=1;let l=s._first;for(;l!==null;){let c=l.content.type;if(c===o)break;l.deleted||(c instanceof Ki?a+=c._length:a+=r.get(c).nodeSize),l=l.right}}o=s}return a-1};function X8(t,e="prosemirror"){let n=new Ml,r=n.get(e,Al);return r.doc?(EK(t,r),r.doc):n}function EK(t,e){let n=e||new Al,r=n.doc?n.doc:{transact:i=>i(void 0)};return l_(r,n,t,new Map),n}function Q8(t,e){let n=MK(e);return Pi.fromJSON(t,n)}function MK(t,e="prosemirror"){return TK(t.getXmlFragment(e))}function TK(t){let e=t.toArray();function n(r){let i;if(!r.nodeName)i=r.toDelta().map(a=>{let s={type:"text",text:a.insert};return a.attributes&&(s.marks=Object.keys(a.attributes).map(l=>{let c=a.attributes[l],d={type:l};return Object.keys(c)&&(d.attrs=c),d})),s});else{i={type:r.nodeName};let o=r.getAttributes();Object.keys(o).length&&(i.attrs=o);let a=r.toArray();a.length&&(i.content=a.map(n).flat())}return i}return{type:"doc",content:e.map(n)}}var Dxe=(t,e,n)=>t!==e,Sxe=t=>{let e=document.createElement("span");e.classList.add("ProseMirror-yjs-cursor"),e.setAttribute("style",`border-color: ${t.color}`);let n=document.createElement("div");n.setAttribute("style",`background-color: ${t.color}`),n.insertBefore(document.createTextNode(t.name),null);let r=document.createTextNode("\u2060"),i=document.createTextNode("\u2060");return e.insertBefore(r,null),e.insertBefore(n,null),e.insertBefore(i,null),e},Exe=t=>({style:`background-color: ${t.color}70`,class:"ProseMirror-yjs-selection"}),Mxe=/^#[0-9a-fA-F]{6}$/,AK=(t,e,n,r,i)=>{let o=Qt.getState(t),a=o.doc,s=[];return o.snapshot!=null||o.prevSnapshot!=null||o.binding===null?wt.create(t.doc,[]):(e.getStates().forEach((l,c)=>{if(n(a.clientID,c,l)&&l.cursor!=null){let d=l.user||{};d.color==null?d.color="#ffa500":Mxe.test(d.color)||console.warn("A user uses an unsupported color format",d),d.name==null&&(d.name=`User: ${c}`);let u=ed(a,o.type,Om(l.cursor.anchor),o.binding.mapping),f=ed(a,o.type,Om(l.cursor.head),o.binding.mapping);if(u!==null&&f!==null){let p=Ko(t.doc.content.size-1,0);u=go(u,p),f=go(f,p),s.push(gn.widget(f,()=>r(d),{key:c+"",side:10}));let h=go(u,f),g=Ko(u,f);s.push(gn.inline(h,g,i(d),{inclusiveEnd:!0,inclusiveStart:!1}))}}}),wt.create(t.doc,s))},IK=(t,{awarenessStateFilter:e=Dxe,cursorBuilder:n=Sxe,selectionBuilder:r=Exe,getSelection:i=a=>a.selection}={},o="cursor")=>new Le({key:Cf,state:{init(a,s){return AK(s,t,e,n,r)},apply(a,s,l,c){let d=Qt.getState(c),u=a.getMeta(Cf);return d&&d.isChangeOrigin||u&&u.awarenessUpdated?AK(c,t,e,n,r):s.map(a.mapping,a.doc)}},props:{decorations:a=>Cf.getState(a)},view:a=>{let s=()=>{a.docView&&Z8(a,Cf,{awarenessUpdated:!0})},l=()=>{let c=Qt.getState(a.state),d=t.getLocalState()||{};if(c.binding!=null)if(a.hasFocus()){let u=i(a.state),f=Df(u.anchor,c.type,c.binding.mapping),p=Df(u.head,c.type,c.binding.mapping);(d.cursor==null||!z8(Om(d.cursor.anchor),f)||!z8(Om(d.cursor.head),p))&&t.setLocalStateField(o,{anchor:f,head:p})}else d.cursor!=null&&ed(c.doc,c.type,Om(d.cursor.anchor),c.binding.mapping)!==null&&t.setLocalStateField(o,null)};return t.on("change",s),a.dom.addEventListener("focusin",l),a.dom.addEventListener("focusout",l),{update:l,destroy:()=>{a.dom.removeEventListener("focusin",l),a.dom.removeEventListener("focusout",l),t.off("change",s),t.setLocalStateField(o,null)}}}});var OK=t=>{let e=Ds.getState(t).undoManager;if(e!=null)return e.undo(),!0},J8=t=>{let e=Ds.getState(t).undoManager;if(e!=null)return e.redo(),!0},Txe=new Set(["paragraph"]),Axe=(t,e)=>!(t instanceof Xt)||!(t.content instanceof Xo)||!(t.content.type instanceof vf||t.content.type instanceof Ci&&e.has(t.content.type.nodeName))||t.content.type._length===0,PK=({protectedNodes:t=Txe,trackedOrigins:e=[],undoManager:n=null}={})=>new Le({key:Ds,state:{init:(r,i)=>{let o=Qt.getState(i),a=n||new Em(o.type,{trackedOrigins:new Set([Qt].concat(e)),deleteFilter:s=>Axe(s,t),captureTransaction:s=>s.meta.get("addToHistory")!==!1});return{undoManager:a,prevSel:null,hasUndoOps:a.undoStack.length>0,hasRedoOps:a.redoStack.length>0}},apply:(r,i,o,a)=>{let s=Qt.getState(a).binding,l=i.undoManager,c=l.undoStack.length>0,d=l.redoStack.length>0;return s?{undoManager:l,prevSel:a_(s,o),hasUndoOps:c,hasRedoOps:d}:c!==i.hasUndoOps||d!==i.hasRedoOps?Object.assign({},i,{hasUndoOps:l.undoStack.length>0,hasRedoOps:l.redoStack.length>0}):i}},view:r=>{let i=Qt.getState(r.state),o=Ds.getState(r.state).undoManager;return o.on("stack-item-added",({stackItem:a})=>{let s=i.binding;s&&a.meta.set(s,Ds.getState(r.state).prevSel)}),o.on("stack-item-popped",({stackItem:a})=>{let s=i.binding;s&&(s.beforeTransactionSelection=a.meta.get(s)||s.beforeTransactionSelection)}),{destroy:()=>{o.destroy()}}}});var i5=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)},kn=(t,e,n)=>(i5(t,e,"read from private field"),n?n.call(t):e.get(t)),td=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},Nm=(t,e,n,r)=>(i5(t,e,"write to private field"),r?r.call(t,n):e.set(t,n),n),HD=(t,e,n)=>(i5(t,e,"access private method"),n),FK=new Je("MILKDOWN_COLLAB_KEYMAP"),Ixe=[FK,Qt,Cf,Ds],jm,Il,d_,Di,Rm,t5,NK,n5,RK,$D,r5,qD=class{constructor(){td(this,t5),td(this,n5),td(this,$D),td(this,jm,{}),td(this,Il,null),td(this,d_,null),td(this,Di,null),td(this,Rm,!1)}bindCtx(e){return Nm(this,Di,e),this}bindDoc(e){return Nm(this,Il,e),this}setOptions(e){return Nm(this,jm,e),this}mergeOptions(e){return Object.assign(kn(this,jm),e),this}setAwareness(e){return Nm(this,d_,e),this}applyTemplate(e,n){if(!kn(this,Di))throw Mp();if(!kn(this,Il))throw BM();let r=n||(s=>s.textContent.length===0),i=HD(this,t5,NK).call(this,e),o=kn(this,Di).get(Jr),a=Q8(o,kn(this,Il));if(i&&r(a,i)){let s=kn(this,Il).getXmlFragment("prosemirror");s.delete(0,s.length);let l=X8(i),c=ID(l);AD(kn(this,Il),c),l.destroy()}return this}connect(){if(!kn(this,Di))throw Mp();if(kn(this,Rm))return;let e=kn(this,Di).get(ei),n=HD(this,n5,RK).call(this),r=e.concat(n);return HD(this,$D,r5).call(this,r),Nm(this,Rm,!0),this}disconnect(){if(!kn(this,Di))throw Mp();if(!kn(this,Rm))return this;let e=kn(this,Di).get(ei).filter(n=>!n.spec.key||!Ixe.includes(n.spec.key));return HD(this,$D,r5).call(this,e),Nm(this,Rm,!1),this}};jm=new WeakMap,Il=new WeakMap,d_=new WeakMap,Di=new WeakMap,Rm=new WeakMap,t5=new WeakSet,NK=function(t){if(!kn(this,Di))throw Mp();let e=kn(this,Di).get(Jr),n=kn(this,Di).get(so);return UT(t,n,e)},n5=new WeakSet,RK=function(){if(!kn(this,Il))throw BM();let{ySyncOpts:t,yUndoOpts:e}=kn(this,jm),n=kn(this,Il).getXmlFragment("prosemirror"),r=[Y8(n,t),PK(e),new Le({key:FK,props:{handleKeyDown:pu({"Mod-z":OK,"Mod-y":J8,"Mod-Shift-z":J8})}})];if(kn(this,d_)){let{yCursorOpts:i,yCursorStateField:o}=kn(this,jm);r.push(IK(kn(this,d_),i,o))}return r},$D=new WeakSet,r5=function(t){if(!kn(this,Di))throw Mp();kn(this,Di).set(ei,t);let e=kn(this,Di).get(on),n=e.state.reconfigure({plugins:t});e.updateState(n)};var WD=Ft(new qD,"collabServiceCtx"),e5=Io("CollabReady"),o5=t=>{let e=new qD;return t.inject(WD,e).record(e5),()=>st(void 0,null,function*(){return yield t.wait(_u),e.bindCtx(t),t.done(e5),()=>{t.remove(WD).clearTimer(e5)}})};o5.meta={package:"@milkdown/plugin-collab",displayName:"Collab"};var jK=new Map,a5=class{constructor(e){this.room=e,this.onmessage=null,this._onChange=n=>n.key===e&&this.onmessage!==null&&this.onmessage({data:uY(n.newValue||"")}),XG(this._onChange)}postMessage(e){lD.setItem(this.room,dY(cY(e)))}close(){QG(this._onChange)}},Oxe=typeof BroadcastChannel>"u"?a5:BroadcastChannel,s5=t=>$i(jK,t,()=>{let e=mo(),n=new Oxe(t);return n.onmessage=r=>e.forEach(i=>i(r.data,"broadcastchannel")),{bc:n,subs:e}}),zK=(t,e)=>(s5(t).subs.add(e),e),LK=(t,e)=>{let n=s5(t),r=n.subs.delete(e);return r&&n.subs.size===0&&(n.bc.close(),jK.delete(t)),r},Sf=(t,e,n=null)=>{let r=s5(t);r.bc.postMessage(e),r.subs.forEach(i=>i(e,n))};var BK=0,GD=1,VK=2,YD=(t,e)=>{Re(t,BK);let n=qY(e);Tn(t,n)},l5=(t,e,n)=>{Re(t,GD),Tn(t,ID(e,n))},Fxe=(t,e,n)=>l5(e,n,br(t)),UK=(t,e,n)=>{try{AD(e,br(t),n)}catch(r){console.error("Caught error while handling a Yjs update",r)}},HK=(t,e)=>{Re(t,VK),Tn(t,e)},Nxe=UK,$K=(t,e,n,r)=>{let i=et(t);switch(i){case BK:Fxe(t,e,n);break;case GD:UK(t,n,r);break;case VK:Nxe(t,n,r);break;default:throw new Error("Unknown message type")}return i};var jxe=0;var qK=(t,e,n)=>{switch(et(t)){case jxe:n(e,Ma(t))}};var WK=t=>nY(t,(e,n)=>`${encodeURIComponent(n)}=${encodeURIComponent(e)}`).join("&");var Ef=0,YK=3,zm=1,Bxe=2,u_=[];u_[Ef]=(t,e,n,r,i)=>{Re(t,Ef);let o=$K(e,t,n.doc,n);r&&o===GD&&!n.synced&&(n.synced=!0)};u_[YK]=(t,e,n,r,i)=>{Re(t,zm),Tn(t,Fm(n.awareness,Array.from(n.awareness.getStates().keys())))};u_[zm]=(t,e,n,r,i)=>{_K(n.awareness,br(e),n)};u_[Bxe]=(t,e,n,r,i)=>{qK(e,n.doc,(o,a)=>Vxe(n,a))};var GK=3e4,Vxe=(t,e)=>console.warn(`Permission denied to access ${t.url}. +${e}`),KK=(t,e,n)=>{let r=Ta(e),i=yr(),o=et(r),a=t.messageHandlers[o];return a?a(i,r,t,n,o):console.error("Unable to compute message"),i},ZK=t=>{if(t.shouldConnect&&t.ws===null){let e=new t._WS(t.url);e.binaryType="arraybuffer",t.ws=e,t.wsconnecting=!0,t.wsconnected=!1,t.synced=!1,e.onmessage=n=>{t.wsLastMessageReceived=bo();let r=KK(t,new Uint8Array(n.data),!0);eD(r)>1&&e.send(_n(r))},e.onerror=n=>{t.emit("connection-error",[n,t])},e.onclose=n=>{t.emit("connection-close",[n,t]),t.ws=null,t.wsconnecting=!1,t.wsconnected?(t.wsconnected=!1,t.synced=!1,zD(t.awareness,Array.from(t.awareness.getStates().keys()).filter(r=>r!==t.doc.clientID),t),t.emit("status",[{status:"disconnected"}])):t.wsUnsuccessfulReconnects++,setTimeout(ZK,go(NG(2,t.wsUnsuccessfulReconnects)*100,t.maxBackoffTime),t)},e.onopen=()=>{t.wsLastMessageReceived=bo(),t.wsconnecting=!1,t.wsconnected=!0,t.wsUnsuccessfulReconnects=0,t.emit("status",[{status:"connected"}]);let n=yr();if(Re(n,Ef),YD(n,t.doc),e.send(_n(n)),t.awareness.getLocalState()!==null){let r=yr();Re(r,zm),Tn(r,Fm(t.awareness,[t.doc.clientID])),e.send(_n(r))}},t.emit("status",[{status:"connecting"}])}},c5=(t,e)=>{let n=t.ws;t.wsconnected&&n&&n.readyState===n.OPEN&&n.send(e),t.bcconnected&&Sf(t.bcChannel,e,t)},KD=class extends xl{constructor(e,n,r,{connect:i=!0,awareness:o=new jD(r),params:a={},WebSocketPolyfill:s=WebSocket,resyncInterval:l=-1,maxBackoffTime:c=2500,disableBc:d=!1}={}){for(super();e[e.length-1]==="/";)e=e.slice(0,e.length-1);let u=WK(a);this.maxBackoffTime=c,this.bcChannel=e+"/"+n,this.url=e+"/"+n+(u.length===0?"":"?"+u),this.roomname=n,this.doc=r,this._WS=s,this.awareness=o,this.wsconnected=!1,this.wsconnecting=!1,this.bcconnected=!1,this.disableBc=d,this.wsUnsuccessfulReconnects=0,this.messageHandlers=u_.slice(),this._synced=!1,this.ws=null,this.wsLastMessageReceived=0,this.shouldConnect=i,this._resyncInterval=0,l>0&&(this._resyncInterval=setInterval(()=>{if(this.ws&&this.ws.readyState===WebSocket.OPEN){let f=yr();Re(f,Ef),YD(f,r),this.ws.send(_n(f))}},l)),this._bcSubscriber=(f,p)=>{if(p!==this){let h=KK(this,new Uint8Array(f),!1);eD(h)>1&&Sf(this.bcChannel,_n(h),this)}},this._updateHandler=(f,p)=>{if(p!==this){let h=yr();Re(h,Ef),HK(h,f),c5(this,_n(h))}},this.doc.on("update",this._updateHandler),this._awarenessUpdateHandler=({added:f,updated:p,removed:h},g)=>{let b=f.concat(p).concat(h),_=yr();Re(_,zm),Tn(_,Fm(o,b)),c5(this,_n(_))},this._unloadHandler=()=>{zD(this.awareness,[r.clientID],"window unload")},typeof window<"u"?window.addEventListener("unload",this._unloadHandler):typeof process<"u"&&process.on("exit",this._unloadHandler),o.on("update",this._awarenessUpdateHandler),this._checkInterval=setInterval(()=>{this.wsconnected&&GK<bo()-this.wsLastMessageReceived&&this.ws.close()},GK/10),i&&this.connect()}get synced(){return this._synced}set synced(e){this._synced!==e&&(this._synced=e,this.emit("synced",[e]),this.emit("sync",[e]))}destroy(){this._resyncInterval!==0&&clearInterval(this._resyncInterval),clearInterval(this._checkInterval),this.disconnect(),typeof window<"u"?window.removeEventListener("unload",this._unloadHandler):typeof process<"u"&&process.off("exit",this._unloadHandler),this.awareness.off("update",this._awarenessUpdateHandler),this.doc.off("update",this._updateHandler),super.destroy()}connectBc(){if(this.disableBc)return;this.bcconnected||(zK(this.bcChannel,this._bcSubscriber),this.bcconnected=!0);let e=yr();Re(e,Ef),YD(e,this.doc),Sf(this.bcChannel,_n(e),this);let n=yr();Re(n,Ef),l5(n,this.doc),Sf(this.bcChannel,_n(n),this);let r=yr();Re(r,YK),Sf(this.bcChannel,_n(r),this);let i=yr();Re(i,zm),Tn(i,Fm(this.awareness,[this.doc.clientID])),Sf(this.bcChannel,_n(i),this)}disconnectBc(){let e=yr();Re(e,zm),Tn(e,Fm(this.awareness,[this.doc.clientID],new Map)),c5(this,_n(e)),this.bcconnected&&(LK(this.bcChannel,this._bcSubscriber),this.bcconnected=!1)}disconnect(){this.shouldConnect=!1,this.disconnectBc(),this.ws!==null&&this.ws.close()}connect(){this.shouldConnect=!0,!this.wsconnected&&this.ws===null&&(ZK(this),this.connectBc())}};var d5=class{constructor(e){this._box=e,this._destroyed=new Ee,this._resizeSubject=new Ee,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(n=>this._resizeSubject.next(n)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new Ze(n=>{let r=this._resizeSubject.subscribe(n);return this._resizeObserver?.observe(e,{box:this._box}),()=>{this._resizeObserver?.unobserve(e),r.unsubscribe(),this._elementObservables.delete(e)}}).pipe(Kt(n=>n.some(r=>r.target===e)),G_({bufferSize:1,refCount:!0}),Nn(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},XK=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=se(De),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,r]of this._observers)r.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(r,i){let o=i?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new d5(o)),this._observers.get(o).observe(r)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var Uxe=["notch"],Hxe=["matFormFieldNotchedOutline",""],$xe=["*"],qxe=["textField"],Wxe=["iconPrefixContainer"],Gxe=["textPrefixContainer"];function Yxe(t,e){t&1&&_t(0,"span",16)}function Kxe(t,e){if(t&1&&(U(0,"label",14),xn(1,1),ct(2,Yxe,1,0,"span",15),G()),t&2){let n=ze(2);Se("floating",n._shouldLabelFloat())("monitorResize",n._hasOutline())("id",n._labelId),pn("for",n._control.id),oe(2),Ht(2,!n.hideRequiredMarker&&n._control.required?2:-1)}}function Zxe(t,e){if(t&1&&ct(0,Kxe,3,5,"label",14),t&2){let n=ze();Ht(0,n._hasFloatingLabel()?0:-1)}}function Xxe(t,e){t&1&&_t(0,"div",17)}function Qxe(t,e){}function Jxe(t,e){if(t&1&&ct(0,Qxe,0,0,"ng-template",9),t&2){ze(2);let n=Ls(1);Se("ngTemplateOutlet",n)}}function eCe(t,e){if(t&1&&(U(0,"div",5),ct(1,Jxe,1,1,null,9),G()),t&2){let n=ze();Se("matFormFieldNotchedOutlineOpen",n._shouldLabelFloat()),oe(1),Ht(1,n._forceDisplayInfixLabel()?-1:1)}}function tCe(t,e){t&1&&(U(0,"div",18,19),xn(2,2),G())}function nCe(t,e){t&1&&(U(0,"div",20,21),xn(2,3),G())}function rCe(t,e){}function iCe(t,e){if(t&1&&ct(0,rCe,0,0,"ng-template",9),t&2){ze();let n=Ls(1);Se("ngTemplateOutlet",n)}}function oCe(t,e){t&1&&(U(0,"div",22),xn(1,4),G())}function aCe(t,e){t&1&&(U(0,"div",23),xn(1,5),G())}function sCe(t,e){t&1&&_t(0,"div",12)}function lCe(t,e){if(t&1&&(U(0,"div",24),xn(1,6),G()),t&2){let n=ze();Se("@transitionMessages",n._subscriptAnimationState)}}function cCe(t,e){if(t&1&&(U(0,"mat-hint",26),we(1),G()),t&2){let n=ze(2);Se("id",n._hintLabelId),oe(1),tr(n.hintLabel)}}function dCe(t,e){if(t&1&&(U(0,"div",25),ct(1,cCe,2,2,"mat-hint",26),xn(2,7),_t(3,"div",27),xn(4,8),G()),t&2){let n=ze();Se("@transitionMessages",n._subscriptAnimationState),oe(1),Ht(1,n.hintLabel?1:-1)}}var uCe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],fCe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"],XD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ke({type:e,selectors:[["mat-label"]]});let t=e;return t})();var pCe=new de("MatError");var hCe=0,QK=(()=>{let e=class e{constructor(){this.align="start",this.id=`mat-mdc-hint-${hCe++}`}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ke({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(zs("id",o.id),pn("align",null),Rt("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}});let t=e;return t})(),mCe=new de("MatPrefix");var gCe=new de("MatSuffix");var aZ=new de("FloatingLabelParent"),JK=(()=>{let e=class e{get floating(){return this._floating}set floating(r){this._floating=r,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(r){this._monitorResize=r,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(r){this._elementRef=r,this._floating=!1,this._monitorResize=!1,this._resizeObserver=se(XK),this._ngZone=se(De),this._parent=se(aZ),this._resizeSubscription=new Lt}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return yCe(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(i){return new(i||e)(R(Me))},e.\u0275dir=ke({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&Rt("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}});let t=e;return t})();function yCe(t){let e=t;if(e.offsetParent!==null)return e.scrollWidth;let n=e.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);let r=n.scrollWidth;return n.remove(),r}var eZ="mdc-line-ripple--active",ZD="mdc-line-ripple--deactivating",tZ=(()=>{let e=class e{constructor(r,i){this._elementRef=r,this._handleTransitionEnd=o=>{let a=this._elementRef.nativeElement.classList,s=a.contains(ZD);o.propertyName==="opacity"&&s&&a.remove(eZ,ZD)},i.runOutsideAngular(()=>{r.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let r=this._elementRef.nativeElement.classList;r.remove(ZD),r.add(eZ)}deactivate(){this._elementRef.nativeElement.classList.add(ZD)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(De))},e.\u0275dir=ke({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]});let t=e;return t})(),nZ=(()=>{let e=class e{constructor(r,i){this._elementRef=r,this._ngZone=i,this.open=!1}ngAfterViewInit(){let r=this._elementRef.nativeElement.querySelector(".mdc-floating-label");r?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(r.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>r.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(r){!this.open||!r?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width=`calc(${r}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + ${8+1}px)`}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(De))},e.\u0275cmp=_e({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&mn(Uxe,5),i&2){let a;Dt(a=St())&&(o._notch=a.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&Rt("mdc-notched-outline--notched",o.open)},inputs:{open:["matFormFieldNotchedOutlineOpen","open"]},attrs:Hxe,ngContentSelectors:$xe,decls:5,vars:0,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],["notch",""],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(Ii(),_t(0,"div",0),U(1,"div",1,2),xn(3),G(),_t(4,"div",3))},encapsulation:2,changeDetection:0});let t=e;return t})(),bCe={transitionMessages:xC("transitionMessages",[em("enter",Wo({opacity:1,transform:"translateY(0%)"})),tm("void => enter",[Wo({opacity:0,transform:"translateY(-5px)"}),Jh("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},u5=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ke({type:e});let t=e;return t})();var f5=new de("MatFormField"),_Ce=new de("MAT_FORM_FIELD_DEFAULT_OPTIONS"),rZ=0,iZ="fill",wCe="auto",oZ="fixed",vCe="translateY(-50%)",sZ=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(r){this._hideRequiredMarker=Tr(r)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||wCe}set floatLabel(r){r!==this._floatLabel&&(this._floatLabel=r,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(r){let i=this._appearance,o=r||this._defaults?.appearance||iZ;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oZ}set subscriptSizing(r){this._subscriptSizing=r||this._defaults?.subscriptSizing||oZ}get hintLabel(){return this._hintLabel}set hintLabel(r){this._hintLabel=r,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(r){this._explicitFormFieldControl=r}constructor(r,i,o,a,s,l,c,d){this._elementRef=r,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._platform=s,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=iZ,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId=`mat-mdc-form-field-label-${rZ++}`,this._hintLabelId=`mat-mdc-hint-${rZ++}`,this._subscriptAnimationState="",this._destroyed=new Ee,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!l?.hideRequiredMarker,l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let r=this._control;r.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${r.controlType}`),r.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),r.ngControl&&r.ngControl.valueChanges&&r.ngControl.valueChanges.pipe(Nn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(r=>!r._isText),this._hasTextPrefix=!!this._prefixChildren.find(r=>r._isText),this._hasIconSuffix=!!this._suffixChildren.find(r=>!r._isText),this._hasTextSuffix=!!this._suffixChildren.find(r=>r._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),Qi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){this._control.focused&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Nn(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe(Nn(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdateOnStable=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(r){let i=this._control?this._control.ngControl:null;return i&&i[r]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let r=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&r.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(a=>a.align==="start"):null,o=this._hintChildren?this._hintChildren.find(a=>a.align==="end"):null;i?r.push(i.id):this._hintLabel&&r.push(this._hintLabelId),o&&r.push(o.id)}else this._errorChildren&&r.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(r)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;let r=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){r.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdateOnStable=!0;return}let i=this._iconPrefixContainer?.nativeElement,o=this._textPrefixContainer?.nativeElement,a=i?.getBoundingClientRect().width??0,s=o?.getBoundingClientRect().width??0,l=this._dir.value==="rtl"?"-1":"1",c=`${a+s}px`,u=`calc(${l} * (${c} + var(--mat-mdc-form-field-label-offset-x, 0px)))`;r.style.transform=`var( --mat-mdc-form-field-label-transform, - ${hCe} translateX(${u}) - )`}_isAttachedToDom(){let r=this._elementRef.nativeElement;if(r.getRootNode){let i=r.getRootNode();return i&&i!==r}return document.documentElement.contains(r)}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(ui),R(xe),R(Da),R(on),R(uCe,8),R(Fn,8),R(tt))},e.\u0275cmp=De({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(Wr(a,KD,5),Wr(a,KD,7),Wr(a,c5,5),Wr(a,sCe,5),Wr(a,lCe,5),Wr(a,oCe,5),Wr(a,VK,5)),i&2){let s;_t(s=wt())&&(o._labelChildNonStatic=s.first),_t(s=wt())&&(o._labelChildStatic=s.first),_t(s=wt())&&(o._formFieldControl=s.first),_t(s=wt())&&(o._prefixChildren=s),_t(s=wt())&&(o._suffixChildren=s),_t(s=wt())&&(o._errorChildren=s),_t(s=wt())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(sn(jxe,5),sn(zxe,5),sn(Lxe,5),sn(UK,5),sn(qK,5),sn($K,5)),i&2){let a;_t(a=wt())&&(o._textField=a.first),_t(a=wt())&&(o._iconPrefixContainer=a.first),_t(a=wt())&&(o._textPrefixContainer=a.first),_t(a=wt())&&(o._floatingLabel=a.first),_t(a=wt())&&(o._notchedOutline=a.first),_t(a=wt())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&Rt("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[Rn([{provide:d5,useExisting:e},{provide:KK,useExisting:e}])],ngContentSelectors:iCe,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1&&(So(rCe),bt(0,Uxe,1,1,"ng-template",null,0,Zw),H(2,"div",1,2),we("click",function(s){return o._control.onContainerClick(s)}),bt(4,Hxe,1,0,"div",3),H(5,"div",4),bt(6,Wxe,2,2,"div",5)(7,Gxe,3,0,"div",6)(8,Yxe,3,0,"div",7),H(9,"div",8),bt(10,Zxe,1,1,null,9),Nn(11),Y(),bt(12,Xxe,2,0,"div",10)(13,Qxe,2,0,"div",11),Y(),bt(14,Jxe,1,0,"div",12),Y(),H(15,"div",13),bt(16,eCe,2,1)(17,nCe,5,2),Y()),i&2){let a;se(2),Rt("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),se(2),tn(4,!o._hasOutline()&&!o._control.disabled?4:-1),se(2),tn(6,o._hasOutline()?6:-1),se(1),tn(7,o._hasIconPrefix?7:-1),se(1),tn(8,o._hasTextPrefix?8:-1),se(2),tn(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),se(2),tn(12,o._hasTextSuffix?12:-1),se(1),tn(13,o._hasIconSuffix?13:-1),se(1),tn(14,o._hasOutline()?-1:14),se(1),Rt("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),se(1),tn(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[AN,VK,UK,qK,$K],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[dCe.transitionMessages]},changeDetection:0});let t=e;return t})(),u_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Hi,ca,Zp,Hi]});let t=e;return t})();var XK=gs({passive:!0}),QK=(()=>{let e=class e{constructor(r,i){this._platform=r,this._ngZone=i,this._monitoredElements=new Map}monitor(r){if(!this._platform.isBrowser)return wr;let i=Ui(r),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new Ee,s="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,XK),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",l,XK)}}),a}stopMonitoring(r){let i=Ui(r),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((r,i)=>this.stopMonitoring(i))}};e.\u0275fac=function(i){return new(i||e)(B(on),B(xe))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var JK=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({});let t=e;return t})();var gCe=new de("MAT_INPUT_VALUE_ACCESSOR"),yCe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],bCe=0,_Ce=zW(class{constructor(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r,this.stateChanges=new Ee}}),eZ=(()=>{let e=class e extends _Ce{get disabled(){return this._disabled}set disabled(r){this._disabled=Ar(r),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(r){this._id=r||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Tv.required)??!1}set required(r){this._required=Ar(r)}get type(){return this._type}set type(r){this._type=r||"text",this._validateType(),!this._isTextarea&&$O().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(r){r!==this.value&&(this._inputValueAccessor.value=r,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(r){this._readonly=Ar(r)}constructor(r,i,o,a,s,l,c,d,u,f){super(l,a,s,o),this._elementRef=r,this._platform=i,this._autofillMonitor=d,this._formField=f,this._uid=`mat-input-${bCe++}`,this.focused=!1,this.stateChanges=new Ee,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(g=>$O().has(g)),this._iOSKeyupListener=g=>{let b=g.target;!b.value&&b.selectionStart===0&&b.selectionEnd===0&&(b.setSelectionRange(1,1),b.setSelectionRange(0,0))};let h=this._elementRef.nativeElement,p=h.nodeName.toLowerCase();this._inputValueAccessor=c||h,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{r.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=p==="select",this._isTextarea=p==="textarea",this._isInFormField=!!f,this._isNativeSelect&&(this.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(r=>{this.autofilled=r.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(r){this._elementRef.nativeElement.focus(r)}_focusChanged(r){r!==this.focused&&(this.focused=r,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let r=this._elementRef.nativeElement.value;this._previousNativeValue!==r&&(this._previousNativeValue=r,this.stateChanges.next())}_dirtyCheckPlaceholder(){let r=this._getPlaceholder();if(r!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=r,r?i.setAttribute("placeholder",r):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){yCe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let r=this._elementRef.nativeElement.validity;return r&&r.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let r=this._elementRef.nativeElement,i=r.options[0];return this.focused||r.multiple||!this.empty||!!(r.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(r){r.length?this._elementRef.nativeElement.setAttribute("aria-describedby",r.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let r=this._elementRef.nativeElement;return this._isNativeSelect&&(r.multiple||r.size>1)}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(on),R(Fd,10),R(NM,8),R(RM,8),R(LW),R(gCe,10),R(QK),R(xe),R(d5,8))},e.\u0275dir=ve({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&we("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(Ls("id",o.id)("disabled",o.disabled)("required",o.required),hn("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Rt("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[Rn([{provide:c5,useExisting:e}]),ke,Qn]});let t=e;return t})(),tZ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=At({type:e}),e.\u0275inj=Tt({imports:[Hi,u_,u_,JK,Hi]});let t=e;return t})();var nZ=jq(),u5=class{constructor(e,n){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Gn(-this._previousScrollPosition.left),e.style.top=Gn(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,n=this._document.body,r=e.style,i=n.style,o=r.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),nZ&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),nZ&&(r.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}};var f5=class{constructor(e,n,r,i){this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Yt(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},ZD=class{enable(){}disable(){}attach(){}};function h5(t,e){return e.some(n=>{let r=t.bottom<n.top,i=t.top>n.bottom,o=t.right<n.left,a=t.left>n.right;return r||i||o||a})}function rZ(t,e){return e.some(n=>{let r=t.top<n.top,i=t.bottom>n.bottom,o=t.left<n.left,a=t.right>n.right;return r||i||o||a})}var p5=class{constructor(e,n,r,i){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();h5(n,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},vCe=(()=>{let e=class e{constructor(r,i,o,a){this._scrollDispatcher=r,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new ZD,this.close=s=>new f5(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new u5(this._viewportRuler,this._document),this.reposition=s=>new p5(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};e.\u0275fac=function(i){return new(i||e)(B(HW),B(am),B(xe),B(tt))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),f_=class{constructor(e){if(this.scrollStrategy=new ZD,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let n=Object.keys(e);for(let r of n)e[r]!==void 0&&(this[r]=e[r])}}};var m5=class{constructor(e,n){this.connectionPair=e,this.scrollableViewProperties=n}};var lZ=(()=>{let e=class e{constructor(r){this._attachedOverlays=[],this._document=r}ngOnDestroy(){this.detach()}add(r){this.remove(r),this._attachedOverlays.push(r)}remove(r){let i=this._attachedOverlays.indexOf(r);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(B(tt))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),kCe=(()=>{let e=class e extends lZ{constructor(r,i){super(r),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let l=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(r){super.add(r),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(i){return new(i||e)(B(tt),B(xe,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),xCe=(()=>{let e=class e extends lZ{constructor(r,i,o){super(r),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=Ca(a)},this._clickListener=a=>{let s=Ca(a),l=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(l))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(a)):f.next(a)}}}add(r){if(super.add(r),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let r=this._document.body;r.removeEventListener("pointerdown",this._pointerDownListener,!0),r.removeEventListener("click",this._clickListener,!0),r.removeEventListener("auxclick",this._clickListener,!0),r.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(r.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(r){r.addEventListener("pointerdown",this._pointerDownListener,!0),r.addEventListener("click",this._clickListener,!0),r.addEventListener("auxclick",this._clickListener,!0),r.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(B(tt),B(on),B(xe,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),zm=(()=>{let e=class e{constructor(r,i){this._platform=i,this._document=r}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r="cdk-overlay-container";if(this._platform.isBrowser||bb()){let o=this._document.querySelectorAll(`.${r}[platform="server"], .${r}[platform="test"]`);for(let a=0;a<o.length;a++)o[a].remove()}let i=this._document.createElement("div");i.classList.add(r),bb()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}};e.\u0275fac=function(i){return new(i||e)(B(tt),B(on))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Pl=class{constructor(e,n,r,i,o,a,s,l,c,d=!1){this._portalOutlet=e,this._host=n,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new Ee,this._attachments=new Ee,this._detachments=new Ee,this._locationChanges=Lt.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Ee,this._outsidePointerEvents=new Ee,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Un(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=S(S({},this._config),e),this._updateElementSize()}setDirection(e){this._config=W(S({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Gn(this._config.width),e.height=Gn(this._config.height),e.minWidth=Gn(this._config.minWidth),e.minHeight=Gn(this._config.minHeight),e.maxWidth=Gn(this._config.maxWidth),e.maxHeight=Gn(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,n,r){let i=Kp(n||[]).filter(o=>!!o);i.length&&(r?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(Pn(Qi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},iZ="cdk-overlay-connected-position-bounding-box",CCe=/([A-Za-z%]+)$/,g5=class{get positions(){return this._preferredPositions}constructor(e,n,r,i,o){this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ee,this._resizeSubscription=Lt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(iZ),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,n=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,i,s),c=this._getOverlayPoint(l,n,s),d=this._getOverlayFit(c,n,r,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,r)){o.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:n})}if(o.length){let s=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Ef(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(iZ),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,n)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,n,r){let i;if(r.originX=="center")i=e.left+e.width/2;else{let a=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;i=r.originX=="start"?a:s}n.left<0&&(i-=n.left);let o;return r.originY=="center"?o=e.top+e.height/2:o=r.originY=="top"?e.top:e.bottom,n.top<0&&(o-=n.top),{x:i,y:o}}_getOverlayPoint(e,n,r){let i;r.overlayX=="center"?i=-n.width/2:r.overlayX==="start"?i=this._isRtl()?-n.width:0:i=this._isRtl()?0:-n.width;let o;return r.overlayY=="center"?o=-n.height/2:o=r.overlayY=="top"?0:-n.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,n,r,i){let o=aZ(n),{x:a,y:s}=e,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=l),c&&(s+=c);let d=0-a,u=a+o.width-r.width,f=0-s,h=s+o.height-r.height,p=this._subtractOverflows(o.width,d,u),g=this._subtractOverflows(o.height,f,h),b=p*g;return{visibleArea:b,isCompletelyWithinViewport:o.width*o.height===b,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:p==o.width}}_canFitWithFlexibleDimensions(e,n,r){if(this._hasFlexibleDimensions){let i=r.bottom-n.y,o=r.right-n.x,a=oZ(this._overlayRef.getConfig().minHeight),s=oZ(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||a!=null&&a<=i,c=e.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(e,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=aZ(n),o=this._viewportRect,a=Math.max(e.x+i.width-o.width,0),s=Math.max(e.y+i.height-o.height,0),l=Math.max(o.top-r.top-e.y,0),c=Math.max(o.left-r.left-e.x,0),d=0,u=0;return i.width<=o.width?d=c||-a:d=e.x<this._viewportMargin?o.left-r.left-e.x:0,i.height<=o.height?u=l||-s:u=e.y<this._viewportMargin?o.top-r.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,n){if(this._setTransformOrigin(e),this._setOverlayElementStyles(n,e),this._setBoundingBoxStyles(n,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){let r=this._getScrollVisibility(),i=new m5(e,r);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,i=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(e,n){let r=this._viewportRect,i=this._isRtl(),o,a,s;if(n.overlayY==="top")a=e.y,o=r.height-a+this._viewportMargin;else if(n.overlayY==="bottom")s=r.height-e.y+this._viewportMargin*2,o=r.height-s+this._viewportMargin;else{let h=Math.min(r.bottom-e.y+r.top,e.y),p=this._lastBoundingBoxSize.height;o=h*2,a=e.y-h,o>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.y-p/2)}let l=n.overlayX==="start"&&!i||n.overlayX==="end"&&i,c=n.overlayX==="end"&&!i||n.overlayX==="start"&&i,d,u,f;if(c)f=r.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if(l)u=e.x,d=r.right-e.x;else{let h=Math.min(r.right-e.x+r.left,e.x),p=this._lastBoundingBoxSize.width;d=h*2,u=e.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-p/2)}return{top:a,left:u,bottom:s,right:f,width:d,height:o}}_setBoundingBoxStyles(e,n){let r=this._calculateBoundingBoxRect(e,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Gn(r.height),i.top=Gn(r.top),i.bottom=Gn(r.bottom),i.width=Gn(r.width),i.left=Gn(r.left),i.right=Gn(r.right),n.overlayX==="center"?i.alignItems="center":i.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?i.justifyContent="center":i.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Gn(o)),a&&(i.maxWidth=Gn(a))}this._lastBoundingBoxSize=r,Ef(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Ef(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Ef(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,n){let r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();Ef(r,this._getExactOverlayY(n,e,d)),Ef(r,this._getExactOverlayX(n,e,d))}else r.position="static";let s="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),r.transform=s.trim(),a.maxHeight&&(i?r.maxHeight=Gn(a.maxHeight):o&&(r.maxHeight="")),a.maxWidth&&(i?r.maxWidth=Gn(a.maxWidth):o&&(r.maxWidth="")),Ef(this._pane.style,r)}_getExactOverlayY(e,n,r){let i={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),e.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Gn(o.y);return i}_getExactOverlayX(e,n,r){let i={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r));let a;if(this._isRtl()?a=e.overlayX==="end"?"left":"right":a=e.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Gn(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:rZ(e,r),isOriginOutsideView:h5(e,r),isOverlayClipped:rZ(n,r),isOverlayOutsideView:h5(n,r)}}_subtractOverflows(e,...n){return n.reduce((r,i)=>r-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:e-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,n){return n==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Kp(e).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Ce)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let n=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+n,height:r,width:n}}};function Ef(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function oZ(t){if(typeof t!="number"&&t!=null){let[e,n]=t.split(CCe);return!n||n==="px"?parseFloat(e):null}return t||null}function aZ(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}var sZ="cdk-global-overlay-wrapper",y5=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let n=e.getConfig();this._overlayRef=e,this._width&&!n.width&&e.updateSize({width:this._width}),this._height&&!n.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(sZ),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=r,l=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",h="",p="",g="";l?g="flex-start":d==="center"?(g="center",f?p=u:h=u):f?d==="left"||d==="end"?(g="flex-end",h=u):(d==="right"||d==="start")&&(g="flex-start",p=u):d==="left"||d==="start"?(g="flex-start",h=u):(d==="right"||d==="end")&&(g="flex-end",p=u),e.position=this._cssPosition,e.marginLeft=l?"0":h,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":p,n.justifyContent=g,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(sZ),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},DCe=(()=>{let e=class e{constructor(r,i,o,a){this._viewportRuler=r,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new y5}flexibleConnectedTo(r){return new g5(r,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(B(am),B(tt),B(on),B(zm))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),SCe=0,td=(()=>{let e=class e{constructor(r,i,o,a,s,l,c,d,u,f,h,p){this.scrollStrategies=r,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=h,this._animationsModuleType=p}create(r){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new f_(r);return s.direction=s.direction||this._directionality.value,new Pl(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(r){let i=this._document.createElement("div");return i.id=`cdk-overlay-${SCe++}`,i.classList.add("cdk-overlay-pane"),r.appendChild(i),i}_createHostElement(){let r=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(r),r}_createPortalOutlet(r){return this._appRef||(this._appRef=this._injector.get(Ha)),new HC(r,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(B(vCe),B(zm),B(Ua),B(DCe),B(kCe),B(er),B(xe),B(tt),B(Da),B(Us),B(xCe),B(Fn,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function MCe(t,e){}var Mf=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var w5=(()=>{let e=class e extends om{constructor(r,i,o,a,s,l,c,d){super(),this._elementRef=r,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let f=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),f},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(r){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(r);return this._contentAttached(),i}attachTemplatePortal(r){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(r);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(r,i){this._interactivityChecker.isFocusable(r)||(r.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r.removeEventListener("blur",o),r.removeEventListener("mousedown",o),r.removeAttribute("tabindex")};r.addEventListener("blur",o),r.addEventListener("mousedown",o)})),r.focus(i)}_focusByCssSelector(r,i){let o=this._elementRef.nativeElement.querySelector(r);o&&this._forceFocus(o,i)}_trapFocus(){let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let r=this._config.restoreFocus,i=null;if(typeof r=="string"?i=this._document.querySelector(r):typeof r=="boolean"?i=r?this._elementFocusedBeforeDialogWasOpened:null:r&&(i=r),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=yb(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let r=this._elementRef.nativeElement,i=yb();return r===i||r.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=yb())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(_C),R(tt,8),R(Mf),R(_b),R(xe),R(Pl),R(Uc))},e.\u0275cmp=De({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&sn(Ea,7),i&2){let a;_t(a=wt())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&hn("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[ke,He],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&bt(0,MCe,0,0,"ng-template",0)},dependencies:[ff,Ea],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let t=e;return t})(),h_=class{constructor(e,n){this.overlayRef=e,this.config=n,this.closed=new Ee,this.disableClose=n.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=n.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Vc(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{n.closeOnOverlayDetachments!==!1&&this.close()})}close(e,n){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=n?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",n=""){return this.overlayRef.updateSize({width:e,height:n}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},TCe=new de("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=ae(td);return()=>t.scrollStrategies.block()}}),ACe=new de("DialogData"),ICe=new de("DefaultDialogConfig");var OCe=0,dZ=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(r,i,o,a,s,l){this._overlay=r,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ee,this._afterOpenedAtThisLevel=new Ee,this._ariaHiddenElements=new Map,this.afterAllClosed=Nl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Mi(void 0))),this._scrollStrategy=l}open(r,i){let o=this._defaultOptions||new Mf;i=S(S({},o),i),i.id=i.id||`cdk-dialog-${OCe++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),l=new h_(s,i),c=this._attachContainer(s,l,i);return l.containerInstance=c,this._attachDialogContent(r,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){b5(this.openDialogs,r=>r.close())}getDialogById(r){return this.openDialogs.find(i=>i.id===r)}ngOnDestroy(){b5(this._openDialogsAtThisLevel,r=>{r.config.closeOnDestroy===!1&&this._removeOpenDialog(r,!1)}),b5(this._openDialogsAtThisLevel,r=>r.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(r){let i=new f_({positionStrategy:r.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:r.scrollStrategy||this._scrollStrategy(),panelClass:r.panelClass,hasBackdrop:r.hasBackdrop,direction:r.direction,minWidth:r.minWidth,minHeight:r.minHeight,maxWidth:r.maxWidth,maxHeight:r.maxHeight,width:r.width,height:r.height,disposeOnNavigation:r.closeOnNavigation});return r.backdropClass&&(i.backdropClass=r.backdropClass),i}_attachContainer(r,i,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:Mf,useValue:o},{provide:h_,useValue:i},{provide:Pl,useValue:r}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,s.push(...o.container.providers(o))):l=w5;let c=new im(l,o.viewContainerRef,er.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return r.attach(c).instance}_attachDialogContent(r,i,o,a){if(r instanceof _n){let s=this._createInjector(a,i,o,void 0),l={$implicit:a.data,dialogRef:i};a.templateContext&&(l=S(S({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new xl(r,null,l,s))}else{let s=this._createInjector(a,i,o,this._injector),l=o.attachComponentPortal(new im(r,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(r,i,o,a){let s=r.injector||r.viewContainerRef?.injector,l=[{provide:ACe,useValue:r.data},{provide:h_,useValue:i}];return r.providers&&(typeof r.providers=="function"?l.push(...r.providers(i,r,o)):l.push(...r.providers)),r.direction&&(!s||!s.get(Da,null,{optional:!0}))&&l.push({provide:Da,useValue:{value:r.direction,change:ze()}}),er.create({parent:s||a,providers:l})}_removeOpenDialog(r,i){let o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let r=this._overlayContainer.getContainerElement();if(r.parentElement){let i=r.parentElement.children;for(let o=i.length-1;o>-1;o--){let a=i[o];a!==r&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let r=this._parentDialog;return r?r._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(i){return new(i||e)(B(td),B(er),B(ICe,8),B(e,12),B(zm),B(TCe))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function b5(t,e){let n=t.length;for(;n--;)e(t[n])}function PCe(t,e){}var p_=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},v5="mdc-dialog--open",uZ="mdc-dialog--opening",fZ="mdc-dialog--closing",FCe=150,NCe=75,RCe=(()=>{let e=class e extends w5{constructor(r,i,o,a,s,l,c,d,u){super(r,i,o,a,s,l,c,u),this._animationMode=d,this._animationStateChanged=new Xe,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?pZ(this._config.enterAnimationDuration)??FCe:0,this._exitAnimationDuration=this._animationsEnabled?pZ(this._config.exitAnimationDuration)??NCe:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(hZ,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(uZ,v5)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(v5),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(v5),this._animationsEnabled?(this._hostElement.style.setProperty(hZ,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(fZ)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(uZ,fZ)}_waitForAnimationToComplete(r,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,r)}_requestAnimationFrame(r){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(r):r()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(r){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:r})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(r){let i=super.attachComponentPortal(r);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};e.\u0275fac=function(i){return new(i||e)(R(Ce),R(_C),R(tt,8),R(p_),R(_b),R(xe),R(Pl),R(Fn,8),R(Uc))},e.\u0275cmp=De({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){i&2&&(Ls("id",o._config.id),hn("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Rt("_mat-animation-noopable",!o._animationsEnabled))},standalone:!0,features:[ke,He],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(H(0,"div",0)(1,"div",1),bt(2,PCe,0,0,"ng-template",2),Y()())},dependencies:[ff,Ea],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let t=e;return t})(),hZ="--mat-dialog-transition-duration";function pZ(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?$o(t.substring(0,t.length-2)):t.endsWith("s")?$o(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Tf=class{constructor(e,n,r){this._ref=e,this._containerInstance=r,this._afterOpened=new Ee,this._beforeClosed=new Ee,this._state=0,this.disableClose=n.disableClose,this.id=e.id,r._animationStateChanged.pipe(Yt(i=>i.state==="opened"),Un(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Yt(i=>i.state==="closed"),Un(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Qi(this.backdropClick(),this.keydownEvents().pipe(Yt(i=>i.keyCode===27&&!this.disableClose&&!Vc(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),mZ(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Yt(n=>n.state==="closing"),Un(1)).subscribe(n=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let n=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?n.left(e.left):n.right(e.right):n.centerHorizontally(),e&&(e.top||e.bottom)?e.top?n.top(e.top):n.bottom(e.bottom):n.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",n=""){return this._ref.updateSize(e,n),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function mZ(t,e,n){return t._closeInteractionType=e,t.close(n)}var k5=new de("MatMdcDialogData"),jCe=new de("mat-mdc-dialog-default-options"),zCe=new de("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=ae(td);return()=>t.scrollStrategies.block()}});var LCe=0,XD=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let r=this._parentDialog;return r?r._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(r,i,o,a,s,l,c,d){this._overlay=r,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ee,this._afterOpenedAtThisLevel=new Ee,this.dialogConfigClass=p_,this.afterAllClosed=Nl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Mi(void 0))),this._dialog=i.get(dZ),this._dialogRefConstructor=Tf,this._dialogContainerType=RCe,this._dialogDataToken=k5}open(r,i){let o;i=S(S({},this._defaultOptions||new p_),i),i.id=i.id||`mat-mdc-dialog-${LCe++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(r,W(S({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Mf,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,l,c)=>(o=new this._dialogRefConstructor(s,i,c),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(r){return this.openDialogs.find(i=>i.id===r)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(r){let i=r.length;for(;i--;)r[i].close()}};e.\u0275fac=function(i){return new(i||e)(B(td),B(er),B(Us,8),B(jCe,8),B(zCe),B(e,12),B(zm),B(Fn,8))},e.\u0275prov=ne({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),BCe=0,gZ=(()=>{let e=class e{constructor(r,i,o){this.dialogRef=r,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=wZ(this._elementRef,this._dialog.openDialogs))}ngOnChanges(r){let i=r._matDialogClose||r._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(r){mZ(this.dialogRef,r.screenX===0&&r.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(i){return new(i||e)(R(Tf,8),R(Ce),R(XD))},e.\u0275dir=ve({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&we("click",function(s){return o._onButtonClick(s)}),i&2&&hn("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Qn]});let t=e;return t})(),yZ=(()=>{let e=class e{constructor(r,i,o){this._dialogRef=r,this._elementRef=i,this._dialog=o,this.id=`mat-mdc-dialog-title-${BCe++}`}ngOnInit(){this._dialogRef||(this._dialogRef=wZ(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){let r=this._dialogRef?._containerInstance?._ariaLabelledByQueue;r&&Promise.resolve().then(()=>{let i=r.indexOf(this.id);i>-1&&r.splice(i,1)})}};e.\u0275fac=function(i){return new(i||e)(R(Tf,8),R(Ce),R(XD))},e.\u0275dir=ve({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&Ls("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0});let t=e;return t})(),bZ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ve({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let t=e;return t})(),_Z=(()=>{let e=class e{constructor(){this.align="start"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ve({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(i,o){i&2&&Rt("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0});let t=e;return t})();function wZ(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-mdc-dialog-container");)n=n.parentElement;return n?e.find(r=>r.id===n.id):null}var UCe=()=>["/"],HCe=()=>["dot","mr-2"],$Ce=()=>["border","border-nord4","mx-auto"],vZ=(()=>{let e=class e{constructor(r){this.dialog=r,this.value=`Setting up a y-webSocket server, and click \`connect\` button, ensure using **same** \`room name\`! + ${vCe} translateX(${u}) + )`}_isAttachedToDom(){let r=this._elementRef.nativeElement;if(r.getRootNode){let i=r.getRootNode();return i&&i!==r}return document.documentElement.contains(r)}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(di),R(De),R(Da),R(ln),R(_Ce,8),R(Rn,8),R(rt))},e.\u0275cmp=_e({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,o,a){if(i&1&&(Wr(a,XD,5),Wr(a,XD,7),Wr(a,u5,5),Wr(a,mCe,5),Wr(a,gCe,5),Wr(a,pCe,5),Wr(a,QK,5)),i&2){let s;Dt(s=St())&&(o._labelChildNonStatic=s.first),Dt(s=St())&&(o._labelChildStatic=s.first),Dt(s=St())&&(o._formFieldControl=s.first),Dt(s=St())&&(o._prefixChildren=s),Dt(s=St())&&(o._suffixChildren=s),Dt(s=St())&&(o._errorChildren=s),Dt(s=St())&&(o._hintChildren=s)}},viewQuery:function(i,o){if(i&1&&(mn(qxe,5),mn(Wxe,5),mn(Gxe,5),mn(JK,5),mn(nZ,5),mn(tZ,5)),i&2){let a;Dt(a=St())&&(o._textField=a.first),Dt(a=St())&&(o._iconPrefixContainer=a.first),Dt(a=St())&&(o._textPrefixContainer=a.first),Dt(a=St())&&(o._floatingLabel=a.first),Dt(a=St())&&(o._notchedOutline=a.first),Dt(a=St())&&(o._lineRipple=a.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&Rt("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[hn([{provide:f5,useExisting:e},{provide:aZ,useExisting:e}])],ngContentSelectors:fCe,decls:18,vars:21,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],["class","mat-mdc-form-field-icon-prefix"],["class","mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],["class","mat-mdc-form-field-text-suffix"],["class","mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1&&(Ii(uCe),ct(0,Zxe,1,1,"ng-template",null,0,Xw),U(2,"div",1,2),Ce("click",function(s){return o._control.onContainerClick(s)}),ct(4,Xxe,1,0,"div",3),U(5,"div",4),ct(6,eCe,2,2,"div",5)(7,tCe,3,0,"div",6)(8,nCe,3,0,"div",7),U(9,"div",8),ct(10,iCe,1,1,null,9),xn(11),G(),ct(12,oCe,2,0,"div",10)(13,aCe,2,0,"div",11),G(),ct(14,sCe,1,0,"div",12),G(),U(15,"div",13),ct(16,lCe,2,1)(17,dCe,5,2),G()),i&2){let a;oe(2),Rt("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),oe(2),Ht(4,!o._hasOutline()&&!o._control.disabled?4:-1),oe(2),Ht(6,o._hasOutline()?6:-1),oe(1),Ht(7,o._hasIconPrefix?7:-1),oe(1),Ht(8,o._hasTextPrefix?8:-1),oe(2),Ht(10,!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),oe(2),Ht(12,o._hasTextSuffix?12:-1),oe(1),Ht(13,o._hasIconSuffix?13:-1),oe(1),Ht(14,o._hasOutline()?-1:14),oe(1),Rt("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),oe(1),Ht(16,(a=o._getDisplayedMessages())==="error"?16:a==="hint"?17:-1)}},dependencies:[AN,QK,JK,nZ,tZ],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[bCe.transitionMessages]},changeDetection:0});let t=e;return t})(),f_=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Hi,to,Xh,Hi]});let t=e;return t})();var lZ=ms({passive:!0}),cZ=(()=>{let e=class e{constructor(r,i){this._platform=r,this._ngZone=i,this._monitoredElements=new Map}monitor(r){if(!this._platform.isBrowser)return vr;let i=Ui(r),o=this._monitoredElements.get(i);if(o)return o.subject;let a=new Ee,s="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(s)?(i.classList.add(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>a.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,lZ),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:a,unlisten:()=>{i.removeEventListener("animationstart",l,lZ)}}),a}stopMonitoring(r){let i=Ui(r),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((r,i)=>this.stopMonitoring(i))}};e.\u0275fac=function(i){return new(i||e)(B(ln),B(De))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var dZ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({});let t=e;return t})();var CCe=new de("MAT_INPUT_VALUE_ACCESSOR"),DCe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],SCe=0,ECe=HW(class{constructor(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r,this.stateChanges=new Ee}}),uZ=(()=>{let e=class e extends ECe{get disabled(){return this._disabled}set disabled(r){this._disabled=Tr(r),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(r){this._id=r||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Av.required)??!1}set required(r){this._required=Tr(r)}get type(){return this._type}set type(r){this._type=r||"text",this._validateType(),!this._isTextarea&&WO().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(r){r!==this.value&&(this._inputValueAccessor.value=r,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(r){this._readonly=Tr(r)}constructor(r,i,o,a,s,l,c,d,u,f){super(l,a,s,o),this._elementRef=r,this._platform=i,this._autofillMonitor=d,this._formField=f,this._uid=`mat-input-${SCe++}`,this.focused=!1,this.stateChanges=new Ee,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(g=>WO().has(g)),this._iOSKeyupListener=g=>{let b=g.target;!b.value&&b.selectionStart===0&&b.selectionEnd===0&&(b.setSelectionRange(1,1),b.setSelectionRange(0,0))};let p=this._elementRef.nativeElement,h=p.nodeName.toLowerCase();this._inputValueAccessor=c||p,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{r.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect=h==="select",this._isTextarea=h==="textarea",this._isInFormField=!!f,this._isNativeSelect&&(this.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(r=>{this.autofilled=r.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(r){this._elementRef.nativeElement.focus(r)}_focusChanged(r){r!==this.focused&&(this.focused=r,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let r=this._elementRef.nativeElement.value;this._previousNativeValue!==r&&(this._previousNativeValue=r,this.stateChanges.next())}_dirtyCheckPlaceholder(){let r=this._getPlaceholder();if(r!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=r,r?i.setAttribute("placeholder",r):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){DCe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let r=this._elementRef.nativeElement.validity;return r&&r.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let r=this._elementRef.nativeElement,i=r.options[0];return this.focused||r.multiple||!this.empty||!!(r.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(r){r.length?this._elementRef.nativeElement.setAttribute("aria-describedby",r.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let r=this._elementRef.nativeElement;return this._isNativeSelect&&(r.multiple||r.size>1)}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(ln),R(Nd,10),R(jM,8),R(zM,8),R($W),R(CCe,10),R(cZ),R(De),R(f5,8))},e.\u0275dir=ke({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&Ce("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(zs("id",o.id)("disabled",o.disabled)("required",o.required),pn("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),Rt("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[hn([{provide:u5,useExisting:e}]),ge,Qn]});let t=e;return t})(),fZ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=It({type:e}),e.\u0275inj=At({imports:[Hi,f_,f_,dZ,Hi]});let t=e;return t})();var pZ=Uq(),p5=class{constructor(e,n){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Gn(-this._previousScrollPosition.left),e.style.top=Gn(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,n=this._document.body,r=e.style,i=n.style,o=r.scrollBehavior||"",a=i.scrollBehavior||"";this._isEnabled=!1,r.left=this._previousHTMLStyles.left,r.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),pZ&&(r.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),pZ&&(r.scrollBehavior=o,i.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let n=this._document.body,r=this._viewportRuler.getViewportSize();return n.scrollHeight>r.height||n.scrollWidth>r.width}};var h5=class{constructor(e,n,r,i){this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=r,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(Kt(n=>!n||!this._overlayRef.overlayElement.contains(n.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let n=this._viewportRuler.getViewportScrollPosition().top;Math.abs(n-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},QD=class{enable(){}disable(){}attach(){}};function m5(t,e){return e.some(n=>{let r=t.bottom<n.top,i=t.top>n.bottom,o=t.right<n.left,a=t.left>n.right;return r||i||o||a})}function hZ(t,e){return e.some(n=>{let r=t.top<n.top,i=t.bottom>n.bottom,o=t.left<n.left,a=t.right>n.right;return r||i||o||a})}var g5=class{constructor(e,n,r,i){this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=r,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let n=this._overlayRef.overlayElement.getBoundingClientRect(),{width:r,height:i}=this._viewportRuler.getViewportSize();m5(n,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},TCe=(()=>{let e=class e{constructor(r,i,o,a){this._scrollDispatcher=r,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new QD,this.close=s=>new h5(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new p5(this._viewportRuler,this._document),this.reposition=s=>new g5(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=a}};e.\u0275fac=function(i){return new(i||e)(B(YW),B(sm),B(De),B(rt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),p_=class{constructor(e){if(this.scrollStrategy=new QD,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let n=Object.keys(e);for(let r of n)e[r]!==void 0&&(this[r]=e[r])}}};var y5=class{constructor(e,n){this.connectionPair=e,this.scrollableViewProperties=n}};var _Z=(()=>{let e=class e{constructor(r){this._attachedOverlays=[],this._document=r}ngOnDestroy(){this.detach()}add(r){this.remove(r),this._attachedOverlays.push(r)}remove(r){let i=this._attachedOverlays.indexOf(r);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(B(rt))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ACe=(()=>{let e=class e extends _Z{constructor(r,i){super(r),this._ngZone=i,this._keydownListener=o=>{let a=this._attachedOverlays;for(let s=a.length-1;s>-1;s--)if(a[s]._keydownEvents.observers.length>0){let l=a[s]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(r){super.add(r),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(i){return new(i||e)(B(rt),B(De,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),ICe=(()=>{let e=class e extends _Z{constructor(r,i,o){super(r),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=a=>{this._pointerDownEventTarget=Ca(a)},this._clickListener=a=>{let s=Ca(a),l=a.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:s;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(s)||u.overlayElement.contains(l))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(a)):f.next(a)}}}add(r){if(super.add(r),!this._isAttached){let i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){let r=this._document.body;r.removeEventListener("pointerdown",this._pointerDownListener,!0),r.removeEventListener("click",this._clickListener,!0),r.removeEventListener("auxclick",this._clickListener,!0),r.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(r.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(r){r.addEventListener("pointerdown",this._pointerDownListener,!0),r.addEventListener("click",this._clickListener,!0),r.addEventListener("auxclick",this._clickListener,!0),r.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(B(rt),B(ln),B(De,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Lm=(()=>{let e=class e{constructor(r,i){this._platform=i,this._document=r}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let r="cdk-overlay-container";if(this._platform.isBrowser||bb()){let o=this._document.querySelectorAll(`.${r}[platform="server"], .${r}[platform="test"]`);for(let a=0;a<o.length;a++)o[a].remove()}let i=this._document.createElement("div");i.classList.add(r),bb()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}};e.\u0275fac=function(i){return new(i||e)(B(rt),B(ln))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),Ol=class{constructor(e,n,r,i,o,a,s,l,c,d=!1){this._portalOutlet=e,this._host=n,this._pane=r,this._config=i,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=c,this._animationsDisabled=d,this._backdropElement=null,this._backdropClick=new Ee,this._attachments=new Ee,this._detachments=new Ee,this._locationChanges=Lt.EMPTY,this._backdropClickHandler=u=>this._backdropClick.next(u),this._backdropTransitionendHandler=u=>{this._disposeBackdrop(u.target)},this._keydownEvents=new Ee,this._outsidePointerEvents=new Ee,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Un(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof n?.onDestroy=="function"&&n.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),n}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=D(D({},this._config),e),this._updateElementSize()}setDirection(e){this._config=q(D({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Gn(this._config.width),e.height=Gn(this._config.height),e.minWidth=Gn(this._config.minWidth),e.minHeight=Gn(this._config.minHeight),e.maxWidth=Gn(this._config.maxWidth),e.maxHeight=Gn(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,n,r){let i=Zh(n||[]).filter(o=>!!o);i.length&&(r?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{let e=this._ngZone.onStable.pipe(Nn(Qi(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},mZ="cdk-overlay-connected-position-bounding-box",OCe=/([A-Za-z%]+)$/,b5=class{get positions(){return this._preferredPositions}constructor(e,n,r,i,o){this._viewportRuler=n,this._document=r,this._platform=i,this._overlayContainer=o,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new Ee,this._resizeSubscription=Lt.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(mZ),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,n=this._overlayRect,r=this._viewportRect,i=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,i,s),c=this._getOverlayPoint(l,n,s),d=this._getOverlayFit(c,n,r,s);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(d,c,r)){o.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<d.visibleArea)&&(a={overlayFit:d,overlayPoint:c,originPoint:l,position:s,overlayRect:n})}if(o.length){let s=null,l=-1;for(let c of o){let d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1);d>l&&(l=d,s=c)}this._isPushed=!1,this._applyPosition(s.position,s.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(a.position,a.originPoint);return}this._applyPosition(a.position,a.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Mf(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(mZ),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let n=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,n)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,n,r){let i;if(r.originX=="center")i=e.left+e.width/2;else{let a=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;i=r.originX=="start"?a:s}n.left<0&&(i-=n.left);let o;return r.originY=="center"?o=e.top+e.height/2:o=r.originY=="top"?e.top:e.bottom,n.top<0&&(o-=n.top),{x:i,y:o}}_getOverlayPoint(e,n,r){let i;r.overlayX=="center"?i=-n.width/2:r.overlayX==="start"?i=this._isRtl()?-n.width:0:i=this._isRtl()?0:-n.width;let o;return r.overlayY=="center"?o=-n.height/2:o=r.overlayY=="top"?0:-n.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,n,r,i){let o=yZ(n),{x:a,y:s}=e,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(a+=l),c&&(s+=c);let d=0-a,u=a+o.width-r.width,f=0-s,p=s+o.height-r.height,h=this._subtractOverflows(o.width,d,u),g=this._subtractOverflows(o.height,f,p),b=h*g;return{visibleArea:b,isCompletelyWithinViewport:o.width*o.height===b,fitsInViewportVertically:g===o.height,fitsInViewportHorizontally:h==o.width}}_canFitWithFlexibleDimensions(e,n,r){if(this._hasFlexibleDimensions){let i=r.bottom-n.y,o=r.right-n.x,a=gZ(this._overlayRef.getConfig().minHeight),s=gZ(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||a!=null&&a<=i,c=e.fitsInViewportHorizontally||s!=null&&s<=o;return l&&c}return!1}_pushOverlayOnScreen(e,n,r){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=yZ(n),o=this._viewportRect,a=Math.max(e.x+i.width-o.width,0),s=Math.max(e.y+i.height-o.height,0),l=Math.max(o.top-r.top-e.y,0),c=Math.max(o.left-r.left-e.x,0),d=0,u=0;return i.width<=o.width?d=c||-a:d=e.x<this._viewportMargin?o.left-r.left-e.x:0,i.height<=o.height?u=l||-s:u=e.y<this._viewportMargin?o.top-r.top-e.y:0,this._previousPushAmount={x:d,y:u},{x:e.x+d,y:e.y+u}}_applyPosition(e,n){if(this._setTransformOrigin(e),this._setOverlayElementStyles(n,e),this._setBoundingBoxStyles(n,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){let r=this._getScrollVisibility(),i=new y5(e,r);this._positionChanges.next(i)}this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r,i=e.overlayY;e.overlayX==="center"?r="center":this._isRtl()?r=e.overlayX==="start"?"right":"left":r=e.overlayX==="start"?"left":"right";for(let o=0;o<n.length;o++)n[o].style.transformOrigin=`${r} ${i}`}_calculateBoundingBoxRect(e,n){let r=this._viewportRect,i=this._isRtl(),o,a,s;if(n.overlayY==="top")a=e.y,o=r.height-a+this._viewportMargin;else if(n.overlayY==="bottom")s=r.height-e.y+this._viewportMargin*2,o=r.height-s+this._viewportMargin;else{let p=Math.min(r.bottom-e.y+r.top,e.y),h=this._lastBoundingBoxSize.height;o=p*2,a=e.y-p,o>h&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.y-h/2)}let l=n.overlayX==="start"&&!i||n.overlayX==="end"&&i,c=n.overlayX==="end"&&!i||n.overlayX==="start"&&i,d,u,f;if(c)f=r.width-e.x+this._viewportMargin,d=e.x-this._viewportMargin;else if(l)u=e.x,d=r.right-e.x;else{let p=Math.min(r.right-e.x+r.left,e.x),h=this._lastBoundingBoxSize.width;d=p*2,u=e.x-p,d>h&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-h/2)}return{top:a,left:u,bottom:s,right:f,width:d,height:o}}_setBoundingBoxStyles(e,n){let r=this._calculateBoundingBoxRect(e,n);!this._isInitialRender&&!this._growAfterOpen&&(r.height=Math.min(r.height,this._lastBoundingBoxSize.height),r.width=Math.min(r.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Gn(r.height),i.top=Gn(r.top),i.bottom=Gn(r.bottom),i.width=Gn(r.width),i.left=Gn(r.left),i.right=Gn(r.right),n.overlayX==="center"?i.alignItems="center":i.alignItems=n.overlayX==="end"?"flex-end":"flex-start",n.overlayY==="center"?i.justifyContent="center":i.justifyContent=n.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=Gn(o)),a&&(i.maxWidth=Gn(a))}this._lastBoundingBoxSize=r,Mf(this._boundingBox.style,i)}_resetBoundingBoxStyles(){Mf(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Mf(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,n){let r={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();Mf(r,this._getExactOverlayY(n,e,d)),Mf(r,this._getExactOverlayX(n,e,d))}else r.position="static";let s="",l=this._getOffset(n,"x"),c=this._getOffset(n,"y");l&&(s+=`translateX(${l}px) `),c&&(s+=`translateY(${c}px)`),r.transform=s.trim(),a.maxHeight&&(i?r.maxHeight=Gn(a.maxHeight):o&&(r.maxHeight="")),a.maxWidth&&(i?r.maxWidth=Gn(a.maxWidth):o&&(r.maxWidth="")),Mf(this._pane.style,r)}_getExactOverlayY(e,n,r){let i={top:"",bottom:""},o=this._getOverlayPoint(n,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r)),e.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;i.bottom=`${a-(o.y+this._overlayRect.height)}px`}else i.top=Gn(o.y);return i}_getExactOverlayX(e,n,r){let i={left:"",right:""},o=this._getOverlayPoint(n,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,r));let a;if(this._isRtl()?a=e.overlayX==="end"?"left":"right":a=e.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;i.right=`${s-(o.x+this._overlayRect.width)}px`}else i.left=Gn(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),n=this._pane.getBoundingClientRect(),r=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:hZ(e,r),isOriginOutsideView:m5(e,r),isOverlayClipped:hZ(n,r),isOverlayOutsideView:m5(n,r)}}_subtractOverflows(e,...n){return n.reduce((r,i)=>r-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,n=this._document.documentElement.clientHeight,r=this._viewportRuler.getViewportScrollPosition();return{top:r.top+this._viewportMargin,left:r.left+this._viewportMargin,right:r.left+e-this._viewportMargin,bottom:r.top+n-this._viewportMargin,width:e-2*this._viewportMargin,height:n-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,n){return n==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Zh(e).forEach(n=>{n!==""&&this._appliedPanelClasses.indexOf(n)===-1&&(this._appliedPanelClasses.push(n),this._pane.classList.add(n))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof Me)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let n=e.width||0,r=e.height||0;return{top:e.y,bottom:e.y+r,left:e.x,right:e.x+n,height:r,width:n}}};function Mf(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function gZ(t){if(typeof t!="number"&&t!=null){let[e,n]=t.split(OCe);return!n||n==="px"?parseFloat(e):null}return t||null}function yZ(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}var bZ="cdk-global-overlay-wrapper",_5=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let n=e.getConfig();this._overlayRef=e,this._width&&!n.width&&e.updateSize({width:this._width}),this._height&&!n.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(bZ),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,r=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:a,maxHeight:s}=r,l=(i==="100%"||i==="100vw")&&(!a||a==="100%"||a==="100vw"),c=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",p="",h="",g="";l?g="flex-start":d==="center"?(g="center",f?h=u:p=u):f?d==="left"||d==="end"?(g="flex-end",p=u):(d==="right"||d==="start")&&(g="flex-start",h=u):d==="left"||d==="start"?(g="flex-start",p=u):(d==="right"||d==="end")&&(g="flex-end",h=u),e.position=this._cssPosition,e.marginLeft=l?"0":p,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":h,n.justifyContent=g,n.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,r=n.style;n.classList.remove(bZ),r.justifyContent=r.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},PCe=(()=>{let e=class e{constructor(r,i,o,a){this._viewportRuler=r,this._document=i,this._platform=o,this._overlayContainer=a}global(){return new _5}flexibleConnectedTo(r){return new b5(r,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(B(sm),B(rt),B(ln),B(Lm))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),FCe=0,nd=(()=>{let e=class e{constructor(r,i,o,a,s,l,c,d,u,f,p,h){this.scrollStrategies=r,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=a,this._keyboardDispatcher=s,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=p,this._animationsModuleType=h}create(r){let i=this._createHostElement(),o=this._createPaneElement(i),a=this._createPortalOutlet(o),s=new p_(r);return s.direction=s.direction||this._directionality.value,new Ol(a,i,o,s,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations")}position(){return this._positionBuilder}_createPaneElement(r){let i=this._document.createElement("div");return i.id=`cdk-overlay-${FCe++}`,i.classList.add("cdk-overlay-pane"),r.appendChild(i),i}_createHostElement(){let r=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(r),r}_createPortalOutlet(r){return this._appRef||(this._appRef=this._injector.get(Ha)),new qC(r,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(B(TCe),B(Lm),B(Ua),B(PCe),B(ACe),B(er),B(De),B(rt),B(Da),B(Us),B(ICe),B(Rn,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function RCe(t,e){}var Tf=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var k5=(()=>{let e=class e extends am{constructor(r,i,o,a,s,l,c,d){super(),this._elementRef=r,this._focusTrapFactory=i,this._config=a,this._interactivityChecker=s,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let f=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),f},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(r){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(r);return this._contentAttached(),i}attachTemplatePortal(r){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(r);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(r,i){this._interactivityChecker.isFocusable(r)||(r.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{r.removeEventListener("blur",o),r.removeEventListener("mousedown",o),r.removeAttribute("tabindex")};r.addEventListener("blur",o),r.addEventListener("mousedown",o)})),r.focus(i)}_focusByCssSelector(r,i){let o=this._elementRef.nativeElement.querySelector(r);o&&this._forceFocus(o,i)}_trapFocus(){let r=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||r.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let r=this._config.restoreFocus,i=null;if(typeof r=="string"?i=this._document.querySelector(r):typeof r=="boolean"?i=r?this._elementFocusedBeforeDialogWasOpened:null:r&&(i=r),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=yb(),a=this._elementRef.nativeElement;(!o||o===this._document.body||o===a||a.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let r=this._elementRef.nativeElement,i=yb();return r===i||r.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=yb())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(vC),R(rt,8),R(Tf),R(_b),R(De),R(Ol),R(Uc))},e.\u0275cmp=_e({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&mn(Ea,7),i&2){let a;Dt(a=St())&&(o._portalOutlet=a.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&pn("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[ge,Oe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&ct(0,RCe,0,0,"ng-template",0)},dependencies:[pf,Ea],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let t=e;return t})(),h_=class{constructor(e,n){this.overlayRef=e,this.config=n,this.closed=new Ee,this.disableClose=n.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=n.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!Vc(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{n.closeOnOverlayDetachments!==!1&&this.close()})}close(e,n){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=n?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",n=""){return this.overlayRef.updateSize({width:e,height:n}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},jCe=new de("DialogScrollStrategy",{providedIn:"root",factory:()=>{let t=se(nd);return()=>t.scrollStrategies.block()}}),zCe=new de("DialogData"),LCe=new de("DefaultDialogConfig");var BCe=0,vZ=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(r,i,o,a,s,l){this._overlay=r,this._injector=i,this._defaultOptions=o,this._parentDialog=a,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ee,this._afterOpenedAtThisLevel=new Ee,this._ariaHiddenElements=new Map,this.afterAllClosed=Fl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ei(void 0))),this._scrollStrategy=l}open(r,i){let o=this._defaultOptions||new Tf;i=D(D({},o),i),i.id=i.id||`cdk-dialog-${BCe++}`,i.id&&this.getDialogById(i.id);let a=this._getOverlayConfig(i),s=this._overlay.create(a),l=new h_(s,i),c=this._attachContainer(s,l,i);return l.containerInstance=c,this._attachDialogContent(r,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){w5(this.openDialogs,r=>r.close())}getDialogById(r){return this.openDialogs.find(i=>i.id===r)}ngOnDestroy(){w5(this._openDialogsAtThisLevel,r=>{r.config.closeOnDestroy===!1&&this._removeOpenDialog(r,!1)}),w5(this._openDialogsAtThisLevel,r=>r.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(r){let i=new p_({positionStrategy:r.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:r.scrollStrategy||this._scrollStrategy(),panelClass:r.panelClass,hasBackdrop:r.hasBackdrop,direction:r.direction,minWidth:r.minWidth,minHeight:r.minHeight,maxWidth:r.maxWidth,maxHeight:r.maxHeight,width:r.width,height:r.height,disposeOnNavigation:r.closeOnNavigation});return r.backdropClass&&(i.backdropClass=r.backdropClass),i}_attachContainer(r,i,o){let a=o.injector||o.viewContainerRef?.injector,s=[{provide:Tf,useValue:o},{provide:h_,useValue:i},{provide:Ol,useValue:r}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,s.push(...o.container.providers(o))):l=k5;let c=new om(l,o.viewContainerRef,er.create({parent:a||this._injector,providers:s}),o.componentFactoryResolver);return r.attach(c).instance}_attachDialogContent(r,i,o,a){if(r instanceof vn){let s=this._createInjector(a,i,o,void 0),l={$implicit:a.data,dialogRef:i};a.templateContext&&(l=D(D({},l),typeof a.templateContext=="function"?a.templateContext():a.templateContext)),o.attachTemplatePortal(new kl(r,null,l,s))}else{let s=this._createInjector(a,i,o,this._injector),l=o.attachComponentPortal(new om(r,a.viewContainerRef,s,a.componentFactoryResolver));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(r,i,o,a){let s=r.injector||r.viewContainerRef?.injector,l=[{provide:zCe,useValue:r.data},{provide:h_,useValue:i}];return r.providers&&(typeof r.providers=="function"?l.push(...r.providers(i,r,o)):l.push(...r.providers)),r.direction&&(!s||!s.get(Da,null,{optional:!0}))&&l.push({provide:Da,useValue:{value:r.direction,change:Ve()}}),er.create({parent:s||a,providers:l})}_removeOpenDialog(r,i){let o=this.openDialogs.indexOf(r);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((a,s)=>{a?s.setAttribute("aria-hidden",a):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let r=this._overlayContainer.getContainerElement();if(r.parentElement){let i=r.parentElement.children;for(let o=i.length-1;o>-1;o--){let a=i[o];a!==r&&a.nodeName!=="SCRIPT"&&a.nodeName!=="STYLE"&&!a.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(a,a.getAttribute("aria-hidden")),a.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let r=this._parentDialog;return r?r._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(i){return new(i||e)(B(nd),B(er),B(LCe,8),B(e,12),B(Lm),B(jCe))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();function w5(t,e){let n=t.length;for(;n--;)e(t[n])}function VCe(t,e){}var m_=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},x5="mdc-dialog--open",kZ="mdc-dialog--opening",xZ="mdc-dialog--closing",UCe=150,HCe=75,$Ce=(()=>{let e=class e extends k5{constructor(r,i,o,a,s,l,c,d,u){super(r,i,o,a,s,l,c,u),this._animationMode=d,this._animationStateChanged=new Qe,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?DZ(this._config.enterAnimationDuration)??UCe:0,this._exitAnimationDuration=this._animationsEnabled?DZ(this._config.exitAnimationDuration)??HCe:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(CZ,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(kZ,x5)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(x5),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(x5),this._animationsEnabled?(this._hostElement.style.setProperty(CZ,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(xZ)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(kZ,xZ)}_waitForAnimationToComplete(r,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,r)}_requestAnimationFrame(r){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(r):r()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(r){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:r})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(r){let i=super.attachComponentPortal(r);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};e.\u0275fac=function(i){return new(i||e)(R(Me),R(vC),R(rt,8),R(m_),R(_b),R(De),R(Ol),R(Rn,8),R(Uc))},e.\u0275cmp=_e({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(i,o){i&2&&(zs("id",o._config.id),pn("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Rt("_mat-animation-noopable",!o._animationsEnabled))},standalone:!0,features:[ge,Oe],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(U(0,"div",0)(1,"div",1),ct(2,VCe,0,0,"ng-template",2),G()())},dependencies:[pf,Ea],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let t=e;return t})(),CZ="--mat-dialog-transition-duration";function DZ(t){return t==null?null:typeof t=="number"?t:t.endsWith("ms")?qo(t.substring(0,t.length-2)):t.endsWith("s")?qo(t.substring(0,t.length-1))*1e3:t==="0"?0:null}var Af=class{constructor(e,n,r){this._ref=e,this._containerInstance=r,this._afterOpened=new Ee,this._beforeClosed=new Ee,this._state=0,this.disableClose=n.disableClose,this.id=e.id,r._animationStateChanged.pipe(Kt(i=>i.state==="opened"),Un(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(Kt(i=>i.state==="closed"),Un(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Qi(this.backdropClick(),this.keydownEvents().pipe(Kt(i=>i.keyCode===27&&!this.disableClose&&!Vc(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),SZ(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(Kt(n=>n.state==="closing"),Un(1)).subscribe(n=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let n=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?n.left(e.left):n.right(e.right):n.centerHorizontally(),e&&(e.top||e.bottom)?e.top?n.top(e.top):n.bottom(e.bottom):n.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",n=""){return this._ref.updateSize(e,n),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function SZ(t,e,n){return t._closeInteractionType=e,t.close(n)}var C5=new de("MatMdcDialogData"),qCe=new de("mat-mdc-dialog-default-options"),WCe=new de("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let t=se(nd);return()=>t.scrollStrategies.block()}});var GCe=0,JD=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let r=this._parentDialog;return r?r._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(r,i,o,a,s,l,c,d){this._overlay=r,this._defaultOptions=a,this._scrollStrategy=s,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ee,this._afterOpenedAtThisLevel=new Ee,this.dialogConfigClass=m_,this.afterAllClosed=Fl(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ei(void 0))),this._dialog=i.get(vZ),this._dialogRefConstructor=Af,this._dialogContainerType=$Ce,this._dialogDataToken=C5}open(r,i){let o;i=D(D({},this._defaultOptions||new m_),i),i.id=i.id||`mat-mdc-dialog-${GCe++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let a=this._dialog.open(r,q(D({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:Tf,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(s,l,c)=>(o=new this._dialogRefConstructor(s,i,c),o.updatePosition(i?.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=a.componentRef,o.componentInstance=a.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let s=this.openDialogs.indexOf(o);s>-1&&(this.openDialogs.splice(s,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(r){return this.openDialogs.find(i=>i.id===r)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(r){let i=r.length;for(;i--;)r[i].close()}};e.\u0275fac=function(i){return new(i||e)(B(nd),B(er),B(Us,8),B(qCe,8),B(WCe),B(e,12),B(Lm),B(Rn,8))},e.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})(),YCe=0,EZ=(()=>{let e=class e{constructor(r,i,o){this.dialogRef=r,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=IZ(this._elementRef,this._dialog.openDialogs))}ngOnChanges(r){let i=r._matDialogClose||r._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(r){SZ(this.dialogRef,r.screenX===0&&r.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(i){return new(i||e)(R(Af,8),R(Me),R(JD))},e.\u0275dir=ke({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&Ce("click",function(s){return o._onButtonClick(s)}),i&2&&pn("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Qn]});let t=e;return t})(),MZ=(()=>{let e=class e{constructor(r,i,o){this._dialogRef=r,this._elementRef=i,this._dialog=o,this.id=`mat-mdc-dialog-title-${YCe++}`}ngOnInit(){this._dialogRef||(this._dialogRef=IZ(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){let r=this._dialogRef?._containerInstance?._ariaLabelledByQueue;r&&Promise.resolve().then(()=>{let i=r.indexOf(this.id);i>-1&&r.splice(i,1)})}};e.\u0275fac=function(i){return new(i||e)(R(Af,8),R(Me),R(JD))},e.\u0275dir=ke({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&zs("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0});let t=e;return t})(),TZ=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ke({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let t=e;return t})(),AZ=(()=>{let e=class e{constructor(){this.align="start"}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=ke({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:4,hostBindings:function(i,o){i&2&&Rt("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0});let t=e;return t})();function IZ(t,e){let n=t.nativeElement.parentElement;for(;n&&!n.classList.contains("mat-mdc-dialog-container");)n=n.parentElement;return n?e.find(r=>r.id===n.id):null}function ZCe(t,e){if(t&1){let n=lr();U(0,"button",9),Ce("click",function(){nn(n);let i=ze();return rn(i.openDialog())}),U(1,"span",10),we(2,"settings"),G()()}if(t&2){let n=ze();Se("hidden",n.connecting)}}var XCe=()=>["/"],QCe=()=>["dot","mr-2"],JCe=()=>["border","border-nord4","mx-auto"],OZ=(()=>{let e=class e{constructor(r){this.dialog=r,this.value=`Setting up a y-webSocket server, and click \`connect\` button, ensure using **same** \`room name\`! Read the milkdown document for [collaborative-editing](https://milkdown.dev/docs/guide/collaborative-editing) before create your angular collaborative-editing-app project. Set up a WebSocket server for [https://github.com/yjs/y-websocket](https://github.com/yjs/y-websocket); - `,this.config=i=>{i.set(ma,{attributes:{class:"prose dark:prose-invert outline-none mx-auto px-2 py-4 box-border milkdown-theme-nord editor",spellcheck:"false"}})},this.plugins=[kx,r5],this.roomName="ng-milkdown",this.serverUrl="wss://ws.leinbo.com/ws",this.connecting=!1}onReady(r){this.dialog.open(qCe,{data:{roomName:this.roomName,serverUrl:this.serverUrl}}).afterClosed().subscribe(o=>{this.roomName=o?.roomName||"ng-milkdown",this.serverUrl=o?.serverUrl||"wss://ws.leinbo.com/ws";let a=new Tl;this.wsProvider=new GD(this.serverUrl,this.roomName,a),r.action(s=>{this.collabService=s.get($D),this.collabService.bindDoc(a).setAwareness(this.wsProvider.awareness),document.getElementById("connect").onclick=()=>{this.connect(s)},document.getElementById("disconnect").onclick=()=>{this.disconnect()}})})}connect(r){let i="Welcome to ng-milkdown collaborative-editing demo, you can edit this document with your friends together!";this.connecting||(this.wsProvider.connect(),this.collabService.applyTemplate(i).connect(),this.connecting=!0,console.log("Connect successfully!"),setTimeout(()=>{r.get(wn).focus()},100))}disconnect(){this.connecting&&(this.wsProvider.disconnect(),this.collabService.disconnect(),this.connecting=!1,console.log("Disconnect successfully!"))}ngOnDestroy(){this.disconnect()}};e.\u0275fac=function(i){return new(i||e)(R(XD))},e.\u0275cmp=De({type:e,selectors:[["collaborative-editing"]],standalone:!0,features:[He],decls:15,vars:14,consts:[[1,"relative","h-full"],["id","top-bar",1,"flex","justify-between","items-center","px-4","py-2"],[1,"bg-gray-200","dark:bg-gray-600","hover:bg-gray-300","dark:hover:bg-gray-500","px-2","py-1","rounded",3,"routerLink"],[1,"material-symbols-outlined","!text-base"],["id","connect",1,"bg-gray-200","dark:bg-green-600","hover:bg-green-300","dark:hover:bg-gray-500","px-2","py-1","rounded",3,"hidden"],["id","disconnect",1,"bg-gray-200","dark:bg-red-600","hover:bg-red-300","dark:hover:bg-gray-500","px-2","py-1","rounded",3,"hidden"],["provider",""],[3,"editorConfig","classList","plugins","ngModel","ngModelChange","onReady"]],template:function(i,o){i&1&&(H(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),Se(4,"home"),Y()(),H(5,"div"),St(6,"span"),H(7,"button",4),Se(8," Connect "),Y(),H(9,"button",5),Se(10," Disconnect "),Y()(),St(11,"div"),Y(),H(12,"ng-prosemirror-adapter-provider",null,6)(14,"ng-milkdown",7),we("ngModelChange",function(s){return o.value=s})("onReady",function(s){return o.onReady(s)}),Y()()()),i&2&&(se(2),Me("routerLink",tr(11,UCe)),se(4),sr(tr(12,HCe)),Rt("connecting",o.connecting),se(1),Me("hidden",o.connecting),se(2),Me("hidden",!o.connecting),se(5),Me("editorConfig",o.config)("classList",tr(13,$Ce))("plugins",o.plugins)("ngModel",o.value))},dependencies:[ca,ro,no,Pi,mb,Tk,sv,Ev],styles:[".dot[_ngcontent-%COMP%]{width:8px;height:8px;background:gray;border-radius:4px;display:inline-block}.connecting[_ngcontent-%COMP%]{background:green;animation:_ngcontent-%COMP%_jump 2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_jump{0%{opacity:1}50%{opacity:.2}to{opacity:1}}"]});let t=e;return t})(),qCe=(()=>{let e=class e{constructor(r,i){this.dialogRef=r,this.data=i}onNoClick(){this.dialogRef.close({})}onClick(){this.dialogRef.close(this.data)}};e.\u0275fac=function(i){return new(i||e)(R(Tf),R(k5))},e.\u0275cmp=De({type:e,selectors:[["collab-dialog"]],standalone:!0,features:[He],decls:23,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"w-full"],["matInput","","placeholder","ng-milkdown",3,"ngModel","ngModelChange"],["matInput","","placeholder","wss://ws.leinbo.com/ws",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-button","",3,"mat-dialog-close","click"]],template:function(i,o){i&1&&(H(0,"h1",0),Se(1,"Hi, dear developer."),Y(),H(2,"div",1)(3,"p"),Se(4,"complete information to start collaborative edit."),Y(),H(5,"mat-form-field",2)(6,"mat-label"),Se(7,"Room name"),Y(),H(8,"input",3),we("ngModelChange",function(s){return o.data.roomName=s}),Y()(),H(9,"p"),Se(10,"this is a test server url, you can use it to test collab plugin, but "),H(11,"strong"),Se(12,"DO NOT"),Y(),Se(13," use it in production environment."),Y(),H(14,"mat-form-field",2)(15,"mat-label"),Se(16,"Server url"),Y(),H(17,"input",4),we("ngModelChange",function(s){return o.data.serverUrl=s}),Y()()(),H(18,"div",5)(19,"button",6),we("click",function(){return o.onNoClick()}),Se(20,"Use default setting"),Y(),H(21,"button",7),we("click",function(){return o.onClick()}),Se(22,"Ok"),Y()()),i&2&&(se(8),Me("ngModel",o.data.roomName),se(9),Me("ngModel",o.data.serverUrl),se(4),Me("mat-dialog-close",o.data.serverUrl))},dependencies:[u_,ZK,KD,tZ,eZ,ro,Mo,no,Pi,sm,JW,yZ,bZ,_Z,gZ],encapsulation:2});let t=e;return t})();var QD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=De({type:e,selectors:[["app-root"]],standalone:!0,features:[He],decls:1,vars:0,template:function(i,o){i&1&&St(0,"router-outlet")},dependencies:[_M],encapsulation:2});let t=e;return t})();var kZ=[{path:"",component:QD,children:[{path:"",redirectTo:"work-ground",pathMatch:"full"},{path:"work-ground",component:_G},{path:"collaborative-editing",component:vZ}]}];var xZ={providers:[MR(kZ,TR()),EW(),{provide:Lw,useValue:{disableImageSizeWarning:!0,disableImageLazyLoadWarning:!0}}]};YN(QD,xZ).catch(t=>console.error(t)); + `,this.config=i=>{i.set(ma,{attributes:{class:"prose dark:prose-invert outline-none mx-auto px-2 py-4 box-border milkdown-theme-nord editor",spellcheck:"false"}})},this.plugins=[Ax,o5],this.roomName="ng-milkdown",this.serverUrl="wss://ws.leinbo.com/ws",this.connecting=!1}openDialog(){this.dialog.open(eDe,{data:{roomName:this.roomName,serverUrl:this.serverUrl}}).afterClosed().subscribe(i=>{this.roomName=i?.roomName||"ng-milkdown",this.serverUrl=i?.serverUrl||"wss://ws.leinbo.com/ws";let o=new Ml;this.wsProvider=new KD(this.serverUrl,this.roomName,o),this.editor.action(a=>{this.collabService=a.get(WD),this.collabService.bindDoc(o).setAwareness(this.wsProvider.awareness),document.getElementById("connect").onclick=()=>{this.connect(a)},document.getElementById("disconnect").onclick=()=>{this.disconnect()}})})}onReady(r){this.editor=r,this.openDialog()}connect(r){let i="Welcome to ng-milkdown collaborative-editing demo, you can edit this document with your friends together!";this.connecting||(this.wsProvider.connect(),this.collabService.applyTemplate(i).connect(),this.connecting=!0,console.log("Connect successfully!"),setTimeout(()=>{r.get(on).focus()},100))}disconnect(){this.connecting&&(this.wsProvider.disconnect(),this.collabService.disconnect(),this.connecting=!1,console.log("Disconnect successfully!"))}ngOnDestroy(){this.disconnect()}};e.\u0275fac=function(i){return new(i||e)(R(JD))},e.\u0275cmp=_e({type:e,selectors:[["collaborative-editing"]],standalone:!0,features:[Oe],decls:16,vars:15,consts:[[1,"relative","h-full"],["id","top-bar",1,"flex","justify-between","items-center","px-4","py-2"],[1,"bg-gray-200","dark:bg-gray-600","hover:bg-gray-300","dark:hover:bg-gray-500","px-2","py-1","rounded",3,"routerLink"],[1,"material-symbols-outlined","!text-base"],["class","bg-gray-200 dark:bg-green-600 hover:bg-green-300 dark:hover:bg-gray-500 px-2 py-1 rounded mr-2",3,"hidden"],["id","connect",1,"bg-gray-200","dark:bg-green-600","hover:bg-green-300","dark:hover:bg-gray-500","px-2","py-1","rounded",3,"hidden"],["id","disconnect",1,"bg-gray-200","dark:bg-red-600","hover:bg-red-300","dark:hover:bg-gray-500","px-2","py-1","rounded",3,"hidden"],["provider",""],[3,"config","classList","plugins","ngModel","ngModelChange","onReady"],[1,"bg-gray-200","dark:bg-green-600","hover:bg-green-300","dark:hover:bg-gray-500","px-2","py-1","rounded","mr-2",3,"hidden","click"],[1,"material-symbols-outlined","!text-xs"]],template:function(i,o){i&1&&(U(0,"div",0)(1,"div",1)(2,"button",2)(3,"span",3),we(4,"home"),G()(),U(5,"div"),_t(6,"span"),ct(7,ZCe,3,1,"button",4),U(8,"button",5),we(9," Connect "),G(),U(10,"button",6),we(11," Disconnect "),G()(),_t(12,"div"),G(),U(13,"ng-milkdown-provider",null,7)(15,"ng-milkdown",8),Ce("ngModelChange",function(s){return o.value=s})("onReady",function(s){return o.onReady(s)}),G()()()),i&2&&(oe(2),Se("routerLink",xr(12,XCe)),oe(4),sr(xr(13,QCe)),Rt("connecting",o.connecting),oe(1),Ht(7,o.editor?7:-1),oe(1),Se("hidden",o.connecting),oe(2),Se("hidden",!o.connecting),oe(5),Se("config",o.config)("classList",xr(14,JCe))("plugins",o.plugins)("ngModel",o.value))},dependencies:[to,io,ro,Oi,Fb,jk,lv,Mv],styles:[".dot[_ngcontent-%COMP%]{width:8px;height:8px;background:gray;border-radius:4px;display:inline-block}.connecting[_ngcontent-%COMP%]{background:green;animation:_ngcontent-%COMP%_jump 2s ease-in-out infinite}@keyframes _ngcontent-%COMP%_jump{0%{opacity:1}50%{opacity:.2}to{opacity:1}}"]});let t=e;return t})(),eDe=(()=>{let e=class e{constructor(r,i){this.dialogRef=r,this.data=i}onNoClick(){this.dialogRef.close({})}onClick(){this.dialogRef.close(this.data)}};e.\u0275fac=function(i){return new(i||e)(R(Af),R(C5))},e.\u0275cmp=_e({type:e,selectors:[["collab-dialog"]],standalone:!0,features:[Oe],decls:25,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"w-full"],["matInput","","placeholder","ng-milkdown",3,"ngModel","ngModelChange"],["matInput","","placeholder","wss://ws.leinbo.com/ws",3,"ngModel","ngModelChange"],["mat-dialog-actions",""],["mat-button","",3,"click"],["mat-button","",3,"mat-dialog-close","click"]],template:function(i,o){i&1&&(U(0,"h1",0),we(1,"Hi, dear developer."),G(),U(2,"div",1)(3,"p"),we(4,"complete information to start collaborative edit."),G(),U(5,"mat-form-field",2)(6,"mat-label"),we(7,"Room name"),G(),U(8,"input",3),Ce("ngModelChange",function(s){return o.data.roomName=s}),G()(),U(9,"p"),we(10,"this is a test server url, you can use it to test collab plugin, "),_t(11,"br"),we(12,"but "),U(13,"strong"),we(14,"DO NOT"),G(),we(15," use it in production environment."),G(),U(16,"mat-form-field",2)(17,"mat-label"),we(18,"Server url"),G(),U(19,"input",4),Ce("ngModelChange",function(s){return o.data.serverUrl=s}),G()()(),U(20,"div",5)(21,"button",6),Ce("click",function(){return o.onNoClick()}),we(22,"Use default setting"),G(),U(23,"button",7),Ce("click",function(){return o.onClick()}),we(24,"Ok"),G()()),i&2&&(oe(8),Se("ngModel",o.data.roomName),oe(11),Se("ngModel",o.data.serverUrl),oe(4),Se("mat-dialog-close",o.data.serverUrl))},dependencies:[f_,sZ,XD,fZ,uZ,io,Ao,ro,Oi,lm,iG,MZ,TZ,AZ,EZ],encapsulation:2});let t=e;return t})();var eS=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=_e({type:e,selectors:[["app-root"]],standalone:!0,features:[Oe],decls:1,vars:0,template:function(i,o){i&1&&_t(0,"router-outlet")},dependencies:[vM],encapsulation:2});let t=e;return t})();var PZ=[{path:"",component:eS,children:[{path:"",redirectTo:"work-ground",pathMatch:"full"},{path:"work-ground",component:AG},{path:"collaborative-editing",component:OZ}]}];var FZ={providers:[TR(PZ,AR()),OW(),{provide:Bw,useValue:{disableImageSizeWarning:!0,disableImageLazyLoadWarning:!0}}]};KN(eS,FZ).catch(t=>console.error(t)); diff --git a/docs/styles-2YDIBNFG.css b/docs/styles-2VLJEJEK.css similarity index 90% rename from docs/styles-2YDIBNFG.css rename to docs/styles-2VLJEJEK.css index db44be6..36531b7 100644 --- a/docs/styles-2YDIBNFG.css +++ b/docs/styles-2VLJEJEK.css @@ -1 +1 @@ -code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:none;font-family:Fira Code,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2E3440}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#636f88}.token.punctuation{color:#81a1c1}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#81a1c1}.token.number{color:#b48ead}.token.boolean{color:#81a1c1}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a3be8c}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#81a1c1}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#88c0d0}.token.keyword{color:#81a1c1}.token.regex,.token.important{color:#ebcb8b}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.ProseMirror{position:relative;word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}.ProseMirror .tableWrapper{overflow-x:auto}.ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;overflow:hidden}.ProseMirror td,.ProseMirror th{vertical-align:top;box-sizing:border-box;position:relative}.ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;z-index:20;background-color:#adf;pointer-events:none}.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";inset:0;background:rgba(200,200,255,.4);pointer-events:none}.milkdown-theme-nord blockquote{border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity));padding-left:1rem;font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif;font-style:normal}.milkdown-theme-nord code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:400;--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.milkdown-theme-nord pre code{color:inherit}.milkdown-theme-nord img{margin-top:0!important;margin-bottom:0!important;display:inline-block;max-width:100%}.milkdown-theme-nord.prose :where(blockquote):not(:where([class~=not-prose] *)){font-weight:400}.milkdown-theme-nord.prose :where(ol>li):not(:where([class~=not-prose] *))::marker,.milkdown-theme-nord.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.milkdown-theme-nord.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before,.milkdown-theme-nord.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):after{content:""}.milkdown-theme-nord.prose :where(code):not(:where([class~=not-prose] *)):before,.milkdown-theme-nord.prose :where(code):not(:where([class~=not-prose] *)):after{content:""}.milkdown-theme-nord.prose .tableWrapper{position:relative;margin-bottom:.5rem;overflow-x:auto}.milkdown-theme-nord.prose table{margin:1rem!important;overflow:visible!important;font-size:.875rem;line-height:1.25rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.milkdown-theme-nord.prose table{border-radius:.5rem}}.milkdown-theme-nord.prose td,.milkdown-theme-nord.prose th{padding:.75rem 1.5rem!important}.milkdown-theme-nord.prose tr{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.dark .milkdown-theme-nord.prose tr{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.milkdown-theme-nord.prose :where(td,th) p{margin:0!important}.milkdown-theme-nord.prose :where(td,th):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.dark .milkdown-theme-nord.prose :where(td,th):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.milkdown-theme-nord.prose.ProseMirror .selectedCell:after{background-color:#88c0d04d}.milkdown-theme-nord.prose br[data-is-inline=true],.milkdown-theme-nord.prose br[data-is-inline=true]:after{content:" "}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url("./media/KaTeX_AMS-Regular-U6PRYMIZ.woff2") format("woff2"),url("./media/KaTeX_AMS-Regular-CYEKBG2K.woff") format("woff"),url("./media/KaTeX_AMS-Regular-JKX5W2C4.ttf") format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url("./media/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2") format("woff2"),url("./media/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff") format("woff"),url("./media/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf") format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url("./media/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2") format("woff2"),url("./media/KaTeX_Caligraphic-Regular-3LKEU76G.woff") format("woff"),url("./media/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf") format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url("./media/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2") format("woff2"),url("./media/KaTeX_Fraktur-Bold-T4SWXBMT.woff") format("woff"),url("./media/KaTeX_Fraktur-Bold-WGHVTYOR.ttf") format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url("./media/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2") format("woff2"),url("./media/KaTeX_Fraktur-Regular-PQMHCIK6.woff") format("woff"),url("./media/KaTeX_Fraktur-Regular-5U4OPH2X.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url("./media/KaTeX_Main-Bold-YP5VVQRP.woff2") format("woff2"),url("./media/KaTeX_Main-Bold-2GA4IZIN.woff") format("woff"),url("./media/KaTeX_Main-Bold-W5FBVCZM.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url("./media/KaTeX_Main-BoldItalic-N4V3DX7S.woff2") format("woff2"),url("./media/KaTeX_Main-BoldItalic-4P4C7HJH.woff") format("woff"),url("./media/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url("./media/KaTeX_Main-Italic-RELBIK7M.woff2") format("woff2"),url("./media/KaTeX_Main-Italic-SASNQFN2.woff") format("woff"),url("./media/KaTeX_Main-Italic-I43T2HSR.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url("./media/KaTeX_Main-Regular-ARRPAO67.woff2") format("woff2"),url("./media/KaTeX_Main-Regular-P5I74A2A.woff") format("woff"),url("./media/KaTeX_Main-Regular-W74P5G27.ttf") format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url("./media/KaTeX_Math-BoldItalic-K4WTGH3J.woff2") format("woff2"),url("./media/KaTeX_Math-BoldItalic-6EBV3DK5.woff") format("woff"),url("./media/KaTeX_Math-BoldItalic-VB447A4D.ttf") format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url("./media/KaTeX_Math-Italic-6KGCHLFN.woff2") format("woff2"),url("./media/KaTeX_Math-Italic-KKK3USB2.woff") format("woff"),url("./media/KaTeX_Math-Italic-SON4MRCA.ttf") format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url("./media/KaTeX_SansSerif-Bold-RRNVJFFW.woff2") format("woff2"),url("./media/KaTeX_SansSerif-Bold-X5M5EMOD.woff") format("woff"),url("./media/KaTeX_SansSerif-Bold-STQ6RXC7.ttf") format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url("./media/KaTeX_SansSerif-Italic-HMPFTM52.woff2") format("woff2"),url("./media/KaTeX_SansSerif-Italic-PSN4QKYX.woff") format("woff"),url("./media/KaTeX_SansSerif-Italic-WTBAZBGY.ttf") format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url("./media/KaTeX_SansSerif-Regular-XIQ62X4E.woff2") format("woff2"),url("./media/KaTeX_SansSerif-Regular-OQCII6EP.woff") format("woff"),url("./media/KaTeX_SansSerif-Regular-2TL3USAE.ttf") format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url("./media/KaTeX_Script-Regular-APUWIHLP.woff2") format("woff2"),url("./media/KaTeX_Script-Regular-A5IFOEBS.woff") format("woff"),url("./media/KaTeX_Script-Regular-72OLXYNA.ttf") format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size1-Regular-5LRUTBFT.woff2") format("woff2"),url("./media/KaTeX_Size1-Regular-4HRHTS65.woff") format("woff"),url("./media/KaTeX_Size1-Regular-7K6AASVL.ttf") format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size2-Regular-LELKET5D.woff2") format("woff2"),url("./media/KaTeX_Size2-Regular-K5ZHAIS6.woff") format("woff"),url("./media/KaTeX_Size2-Regular-222HN3GT.ttf") format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size3-Regular-WQRQ47UD.woff2") format("woff2"),url("./media/KaTeX_Size3-Regular-TLFPAHDE.woff") format("woff"),url("./media/KaTeX_Size3-Regular-UFCO6WCA.ttf") format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size4-Regular-CDMV7U5C.woff2") format("woff2"),url("./media/KaTeX_Size4-Regular-PKMWZHNC.woff") format("woff"),url("./media/KaTeX_Size4-Regular-7PGNVPQK.ttf") format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url("./media/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2") format("woff2"),url("./media/KaTeX_Typewriter-Regular-MJMFSK64.woff") format("woff"),url("./media/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf") format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}html{--mat-ripple-color: rgba(0, 0, 0, .1);--mat-option-selected-state-label-text-color: #607d8b;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #eeeeee;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #607d8b;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #607d8b;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #eeeeee;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #eeeeee;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400;--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400;--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px;--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #607d8b;--mdc-linear-progress-track-color: rgba(96, 125, 139, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#607d8b40;background-color:var(--mdc-linear-progress-track-color, rgba(96, 125, 139, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(96, 125, 139, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#607d8b40;background-color:var(--mdc-linear-progress-track-color, rgba(96, 125, 139, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #eeeeee;--mdc-linear-progress-track-color: rgba(238, 238, 238, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#eeeeee40;background-color:var(--mdc-linear-progress-track-color, rgba(238, 238, 238, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(238, 238, 238, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#eeeeee40;background-color:var(--mdc-linear-progress-track-color, rgba(238, 238, 238, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px;--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mdc-filled-text-field-caret-color: #607d8b;--mdc-filled-text-field-focus-active-indicator-color: #607d8b;--mdc-filled-text-field-focus-label-text-color: rgba(96, 125, 139, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #607d8b;--mdc-outlined-text-field-focus-outline-color: #607d8b;--mdc-outlined-text-field-focus-label-text-color: rgba(96, 125, 139, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(96, 125, 139, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #eeeeee;--mdc-filled-text-field-focus-active-indicator-color: #eeeeee;--mdc-filled-text-field-focus-label-text-color: rgba(238, 238, 238, .87);--mdc-outlined-text-field-caret-color: #eeeeee;--mdc-outlined-text-field-focus-outline-color: #eeeeee;--mdc-outlined-text-field-focus-label-text-color: rgba(238, 238, 238, .87);--mat-form-field-focus-select-arrow-color: rgba(238, 238, 238, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(96, 125, 139, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(238, 238, 238, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400;--mat-autocomplete-background-color: white;--mdc-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color: #000;--mdc-dialog-container-shape: 4px;--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6);--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-family: rounded;--mdc-chip-container-shape-radius: 16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family: rounded;--mdc-chip-with-avatar-avatar-shape-radius: 14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #607d8b;--mdc-chip-elevated-disabled-container-color: #607d8b;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-elevated-container-color: #eeeeee;--mdc-chip-elevated-disabled-container-color: #eeeeee;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}.mdc-switch{--mdc-switch-disabled-handle-opacity: .38;--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-state-layer-size: 40px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color: #546e7a;--mdc-switch-selected-handle-color: #546e7a;--mdc-switch-selected-hover-state-layer-color: #546e7a;--mdc-switch-selected-pressed-state-layer-color: #546e7a;--mdc-switch-selected-focus-handle-color: #263238;--mdc-switch-selected-hover-handle-color: #263238;--mdc-switch-selected-pressed-handle-color: #263238;--mdc-switch-selected-focus-track-color: #90a4ae;--mdc-switch-selected-hover-track-color: #90a4ae;--mdc-switch-selected-pressed-track-color: #90a4ae;--mdc-switch-selected-track-color: #90a4ae;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #757575;--mdc-switch-selected-handle-color: #757575;--mdc-switch-selected-hover-state-layer-color: #757575;--mdc-switch-selected-pressed-state-layer-color: #757575;--mdc-switch-selected-focus-handle-color: #212121;--mdc-switch-selected-hover-handle-color: #212121;--mdc-switch-selected-pressed-handle-color: #212121;--mdc-switch-selected-focus-track-color: #e0e0e0;--mdc-switch-selected-hover-track-color: #e0e0e0;--mdc-switch-selected-pressed-track-color: #e0e0e0;--mdc-switch-selected-track-color: #e0e0e0}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px;--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #607d8b;--mdc-radio-selected-hover-icon-color: #607d8b;--mdc-radio-selected-icon-color: #607d8b;--mdc-radio-selected-pressed-icon-color: #607d8b;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #607d8b;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #eeeeee;--mdc-radio-selected-hover-icon-color: #eeeeee;--mdc-radio-selected-icon-color: #eeeeee;--mdc-radio-selected-pressed-icon-color: #eeeeee;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #eeeeee;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}html{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-color: #607d8b;--mdc-slider-focus-handle-color: #607d8b;--mdc-slider-hover-handle-color: #607d8b;--mdc-slider-active-track-color: #607d8b;--mdc-slider-inactive-track-color: #607d8b;--mdc-slider-with-tick-marks-inactive-container-color: #607d8b;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-mdc-slider-ripple-color: #607d8b;--mat-mdc-slider-hover-ripple-color: rgba(96, 125, 139, .05);--mat-mdc-slider-focus-ripple-color: rgba(96, 125, 139, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #eeeeee;--mdc-slider-focus-handle-color: #eeeeee;--mdc-slider-hover-handle-color: #eeeeee;--mdc-slider-active-track-color: #eeeeee;--mdc-slider-inactive-track-color: #eeeeee;--mdc-slider-with-tick-marks-inactive-container-color: #eeeeee;--mdc-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87);--mat-mdc-slider-ripple-color: #eeeeee;--mat-mdc-slider-hover-ripple-color: rgba(238, 238, 238, .05);--mat-mdc-slider-focus-ripple-color: rgba(238, 238, 238, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400;--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #607d8b;--mdc-radio-selected-hover-icon-color: #607d8b;--mdc-radio-selected-icon-color: #607d8b;--mdc-radio-selected-pressed-icon-color: #607d8b}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #eeeeee;--mdc-radio-selected-hover-icon-color: #eeeeee;--mdc-radio-selected-icon-color: #eeeeee;--mdc-radio-selected-pressed-icon-color: #eeeeee}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #607d8b;--mdc-checkbox-selected-hover-icon-color: #607d8b;--mdc-checkbox-selected-icon-color: #607d8b;--mdc-checkbox-selected-pressed-icon-color: #607d8b;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #607d8b;--mdc-checkbox-selected-hover-state-layer-color: #607d8b;--mdc-checkbox-selected-pressed-state-layer-color: #607d8b;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #000;--mdc-checkbox-selected-focus-icon-color: #eeeeee;--mdc-checkbox-selected-hover-icon-color: #eeeeee;--mdc-checkbox-selected-icon-color: #eeeeee;--mdc-checkbox-selected-pressed-icon-color: #eeeeee;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #eeeeee;--mdc-checkbox-selected-hover-state-layer-color: #eeeeee;--mdc-checkbox-selected-pressed-state-layer-color: #eeeeee;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#607d8b}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12);--mat-paginator-container-size: 56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #607d8b;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #607d8b;--mat-tab-header-active-ripple-color: #607d8b;--mat-tab-header-inactive-ripple-color: #607d8b;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #607d8b;--mat-tab-header-active-hover-label-text-color: #607d8b;--mat-tab-header-active-focus-indicator-color: #607d8b;--mat-tab-header-active-hover-indicator-color: #607d8b}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #eeeeee;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #eeeeee;--mat-tab-header-active-ripple-color: #eeeeee;--mat-tab-header-inactive-ripple-color: #eeeeee;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #eeeeee;--mat-tab-header-active-hover-label-text-color: #eeeeee;--mat-tab-header-active-focus-indicator-color: #eeeeee;--mat-tab-header-active-hover-indicator-color: #eeeeee}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #607d8b;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #eeeeee;--mat-tab-header-with-background-foreground-color: rgba(0, 0, 0, .87)}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #000;--mdc-checkbox-selected-focus-icon-color: #eeeeee;--mdc-checkbox-selected-hover-icon-color: #eeeeee;--mdc-checkbox-selected-icon-color: #eeeeee;--mdc-checkbox-selected-pressed-icon-color: #eeeeee;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #eeeeee;--mdc-checkbox-selected-hover-state-layer-color: #eeeeee;--mdc-checkbox-selected-pressed-state-layer-color: #eeeeee;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #607d8b;--mdc-checkbox-selected-hover-icon-color: #607d8b;--mdc-checkbox-selected-icon-color: #607d8b;--mdc-checkbox-selected-pressed-icon-color: #607d8b;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #607d8b;--mdc-checkbox-selected-hover-state-layer-color: #607d8b;--mdc-checkbox-selected-pressed-state-layer-color: #607d8b;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button{--mdc-text-button-label-text-color: #000;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: #000;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #607d8b;--mat-text-button-state-layer-color: #607d8b;--mat-text-button-ripple-color: rgba(96, 125, 139, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #eeeeee;--mat-text-button-state-layer-color: #eeeeee;--mat-text-button-ripple-color: rgba(238, 238, 238, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: #000;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: #000;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #607d8b;--mdc-filled-button-label-text-color: #fff;--mat-filled-button-state-layer-color: #fff;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #eeeeee;--mdc-filled-button-label-text-color: #000;--mat-filled-button-state-layer-color: #000;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff;--mat-filled-button-state-layer-color: #fff;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: #000;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-protected-button-state-layer-color: #000;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #607d8b;--mdc-protected-button-label-text-color: #fff;--mat-protected-button-state-layer-color: #fff;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #eeeeee;--mdc-protected-button-label-text-color: #000;--mat-protected-button-state-layer-color: #000;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff;--mat-protected-button-state-layer-color: #fff;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button:hover,.mat-mdc-raised-button:focus{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-mdc-outlined-button{--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: #000;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #000;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #607d8b;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #607d8b;--mat-outlined-button-ripple-color: rgba(96, 125, 139, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #eeeeee;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #eeeeee;--mat-outlined-button-ripple-color: rgba(238, 238, 238, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-button{--mdc-text-button-container-height: 36px}.mat-mdc-raised-button{--mdc-protected-button-container-height: 36px}.mat-mdc-unelevated-button{--mdc-filled-button-container-height: 36px}.mat-mdc-outlined-button{--mdc-outlined-button-container-height: 36px}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: #000;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #607d8b;--mat-icon-button-state-layer-color: #607d8b;--mat-icon-button-ripple-color: rgba(96, 125, 139, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #eeeeee;--mat-icon-button-state-layer-color: #eeeeee;--mat-icon-button-ripple-color: rgba(238, 238, 238, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-icon-size: 24px;--mdc-fab-container-color: white;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: #000;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary,html .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #607d8b;--mat-fab-foreground-color: #fff;--mat-fab-state-layer-color: #fff;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent,html .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #eeeeee;--mat-fab-foreground-color: #000;--mat-fab-state-layer-color: #000;--mat-fab-ripple-color: rgba(0, 0, 0, .1)}html .mat-mdc-fab.mat-warn,html .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: #fff;--mat-fab-state-layer-color: #fff;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500;--mdc-snackbar-container-shape: 4px;--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #eeeeee;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400;--mat-table-row-item-outline-width: 1px;--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12);--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mdc-circular-progress-active-indicator-color: #607d8b}html .mat-accent{--mdc-circular-progress-active-indicator-color: #eeeeee}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color: #607d8b;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #eeeeee;--mat-badge-text-color: rgba(0, 0, 0, .87)}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px;--mat-bottom-sheet-container-shape: 4px;--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white;--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400;--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0;--mat-standard-button-toggle-height: 48px;--mat-legacy-button-toggle-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif;--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #607d8b;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(96, 125, 139, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(96, 125, 139, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(96, 125, 139, .3);--mat-datepicker-toggle-active-state-icon-color: #607d8b;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(96, 125, 139, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #eeeeee;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(238, 238, 238, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: rgba(238, 238, 238, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(238, 238, 238, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(238, 238, 238, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #eeeeee}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400;--mat-divider-width: 1px;--mat-divider-color: rgba(0, 0, 0, .12);--mat-expansion-container-shape: 4px;--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54);--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400;--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px;--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #607d8b}.mat-icon.mat-accent{--mat-icon-color: #eeeeee}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #607d8b;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #607d8b;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #607d8b;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #eeeeee;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #eeeeee;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #eeeeee;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400;--mat-sort-arrow-color: #757575;--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #607d8b;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #eeeeee;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500;--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87);--mat-tree-node-min-height: 48px;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201c""\201d""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.form-checkbox,.form-radio{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}.form-checkbox{border-radius:0}.form-checkbox:focus,.form-radio:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.form-checkbox:checked,.form-radio:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}.form-checkbox:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){.form-checkbox:checked{appearance:auto}}.form-checkbox:checked:hover,.form-checkbox:checked:focus,.form-radio:checked:hover,.form-radio:checked:focus{border-color:transparent;background-color:currentColor}.form-checkbox:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){.form-checkbox:indeterminate{appearance:auto}}.form-checkbox:indeterminate:hover,.form-checkbox:indeterminate:focus{border-color:transparent;background-color:currentColor}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-3{left:-.75rem}.-left-3\.5{left:-.875rem}.-left-4{left:-1rem}.-top-3{top:-.75rem}.-top-3\.5{top:-.875rem}.-top-4{top:-1rem}.left-0{left:0}.right-0{right:0}.right-1{right:.25rem}.right-px{right:1px}.top-0{top:0}.top-1{top:.25rem}.\!m-0{margin:0!important}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.\!mb-4{margin-bottom:1rem!important}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.box-border{box-sizing:border-box}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.list-item{display:list-item}.hidden{display:none}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-\[1em\]{height:1em}.h-full{height:100%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-96{width:24rem}.w-\[1em\]{width:1em}.w-full{width:100%}.min-w-0{min-width:0px}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-auto{overflow:auto}.overscroll-none{overscroll-behavior:none}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-none{border-style:none}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-nord10{--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity))}.border-nord4{--tw-border-opacity: 1;border-color:rgb(216 222 233 / var(--tw-border-opacity))}.border-b-blue-50{--tw-border-opacity: 1;border-bottom-color:rgb(239 246 255 / var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-nord8{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-4{padding-left:1rem}.pt-10{padding-top:2.5rem}.align-text-top{vertical-align:text-top}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-base{font-size:1rem!important;line-height:1.5rem!important}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-6{line-height:1.5rem}.tracking-tight{letter-spacing:-.025em}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-nord-10,.text-nord10{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.text-nord8{--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}html,body{height:100%;margin:0;padding:0}.prose table{width:calc(100% - 2rem)!important}li p{margin:0!important;line-height:1.5rem!important}:is(.dark .dark\:prose-invert){--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}@media (min-width: 1024px){.lg\:prose-xl{font-size:1.25rem;line-height:1.8}.lg\:prose-xl :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em}.lg\:prose-xl :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2em;line-height:1.5;margin-top:1em;margin-bottom:1em}.lg\:prose-xl :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:1.6em;padding-left:1.0666667em}.lg\:prose-xl :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.8em;margin-top:0;margin-bottom:.8571429em;line-height:1}.lg\:prose-xl :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.8em;margin-top:1.5555556em;margin-bottom:.8888889em;line-height:1.1111111}.lg\:prose-xl :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.5em;margin-top:1.6em;margin-bottom:.6666667em;line-height:1.3333333}.lg\:prose-xl :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.8em;margin-bottom:.6em;line-height:1.6}.lg\:prose-xl :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\:prose-xl :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;border-radius:.3125rem;padding:.25em .4em}.lg\:prose-xl :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\:prose-xl :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8611111em}.lg\:prose-xl :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\:prose-xl :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.7777778;margin-top:2em;margin-bottom:2em;border-radius:.5rem;padding:1.1111111em 1.3333333em}.lg\:prose-xl :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\:prose-xl :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\:prose-xl :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6em;margin-bottom:.6em}.lg\:prose-xl :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4em}.lg\:prose-xl :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8em;margin-bottom:.8em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.2em}.lg\:prose-xl :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8em;margin-bottom:.8em}.lg\:prose-xl :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em}.lg\:prose-xl :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6em;padding-left:1.6em}.lg\:prose-xl :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8em;margin-bottom:2.8em}.lg\:prose-xl :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.5555556}.lg\:prose-xl :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:.6666667em;padding-bottom:.8888889em;padding-left:.6666667em}.lg\:prose-xl :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.lg\:prose-xl :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.lg\:prose-xl :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.8888889em .6666667em}.lg\:prose-xl :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.lg\:prose-xl :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.lg\:prose-xl :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\:prose-xl :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.5555556;margin-top:1em}.lg\:prose-xl :where(.lg\:prose-xl>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(.lg\:prose-xl>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}@media (hover: hover) and (pointer: fine){.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-nord8:hover{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}}.focus\:border-indigo-300:focus{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-indigo-200\/50:focus{--tw-ring-color: rgb(199 210 254 / .5)}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}:is(.dark .dark\:divide-gray-600)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-nord8){--tw-border-opacity: 1;border-color:rgb(136 192 208 / var(--tw-border-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-nord9){--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:text-nord-9){--tw-text-opacity: 1;color:rgb(129 161 193 / var(--tw-text-opacity))}:is(.dark .dark\:text-nord8){--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}@media (hover: hover) and (pointer: fine){:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-nord9):hover{--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}} +code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:none;font-family:Fira Code,Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2E3440}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:#636f88}.token.punctuation{color:#81a1c1}.namespace{opacity:.7}.token.property,.token.tag,.token.constant,.token.symbol,.token.deleted{color:#81a1c1}.token.number{color:#b48ead}.token.boolean{color:#81a1c1}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#a3be8c}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string,.token.variable{color:#81a1c1}.token.atrule,.token.attr-value,.token.function,.token.class-name{color:#88c0d0}.token.keyword{color:#81a1c1}.token.regex,.token.important{color:#ebcb8b}.token.important,.token.bold{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.ProseMirror{position:relative;word-wrap:break-word;white-space:pre-wrap;white-space:break-spaces;font-variant-ligatures:none;font-feature-settings:"liga" 0}.ProseMirror pre{white-space:pre-wrap}.ProseMirror li{position:relative}.ProseMirror-hideselection *::selection{background:transparent}.ProseMirror-hideselection *::-moz-selection{background:transparent}.ProseMirror-hideselection{caret-color:transparent}.ProseMirror-selectednode{outline:2px solid #8cf}li.ProseMirror-selectednode{outline:none}li.ProseMirror-selectednode:after{content:"";position:absolute;inset:-2px -2px -2px -32px;border:2px solid #8cf;pointer-events:none}img.ProseMirror-separator{display:inline!important;border:none!important;margin:0!important}.ProseMirror .tableWrapper{overflow-x:auto}.ProseMirror table{border-collapse:collapse;table-layout:fixed;width:100%;overflow:hidden}.ProseMirror td,.ProseMirror th{vertical-align:top;box-sizing:border-box;position:relative}.ProseMirror .column-resize-handle{position:absolute;right:-2px;top:0;bottom:0;width:4px;z-index:20;background-color:#adf;pointer-events:none}.ProseMirror.resize-cursor{cursor:ew-resize;cursor:col-resize}.ProseMirror .selectedCell:after{z-index:2;position:absolute;content:"";inset:0;background:rgba(200,200,255,.4);pointer-events:none}.milkdown-theme-nord blockquote{border-left-width:4px;--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity));padding-left:1rem;font-family:ui-serif,Georgia,Cambria,Times New Roman,Times,serif;font-style:normal}.milkdown-theme-nord code{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-weight:400;--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.milkdown-theme-nord pre code{color:inherit}.milkdown-theme-nord img{margin-top:0!important;margin-bottom:0!important;display:inline-block;max-width:100%}.milkdown-theme-nord.prose :where(blockquote):not(:where([class~=not-prose] *)){font-weight:400}.milkdown-theme-nord.prose :where(ol>li):not(:where([class~=not-prose] *))::marker,.milkdown-theme-nord.prose :where(ul>li):not(:where([class~=not-prose] *))::marker{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.milkdown-theme-nord.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):before,.milkdown-theme-nord.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose] *)):after{content:""}.milkdown-theme-nord.prose :where(code):not(:where([class~=not-prose] *)):before,.milkdown-theme-nord.prose :where(code):not(:where([class~=not-prose] *)):after{content:""}.milkdown-theme-nord.prose .tableWrapper{position:relative;margin-bottom:.5rem;overflow-x:auto}.milkdown-theme-nord.prose table{margin:1rem!important;overflow:visible!important;font-size:.875rem;line-height:1.25rem;--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}@media (min-width: 640px){.milkdown-theme-nord.prose table{border-radius:.5rem}}.milkdown-theme-nord.prose td,.milkdown-theme-nord.prose th{padding:.75rem 1.5rem!important}.milkdown-theme-nord.prose tr{border-bottom-width:1px;--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.dark .milkdown-theme-nord.prose tr{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.milkdown-theme-nord.prose :where(td,th) p{margin:0!important}.milkdown-theme-nord.prose :where(td,th):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.dark .milkdown-theme-nord.prose :where(td,th):nth-child(odd){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.milkdown-theme-nord.prose.ProseMirror .selectedCell:after{background-color:#88c0d04d}.milkdown-theme-nord.prose br[data-is-inline=true],.milkdown-theme-nord.prose br[data-is-inline=true]:after{content:" "}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url("./media/KaTeX_AMS-Regular-U6PRYMIZ.woff2") format("woff2"),url("./media/KaTeX_AMS-Regular-CYEKBG2K.woff") format("woff"),url("./media/KaTeX_AMS-Regular-JKX5W2C4.ttf") format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url("./media/KaTeX_Caligraphic-Bold-5QL5CMTE.woff2") format("woff2"),url("./media/KaTeX_Caligraphic-Bold-WZ3QSGD3.woff") format("woff"),url("./media/KaTeX_Caligraphic-Bold-ZTS3R3HK.ttf") format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url("./media/KaTeX_Caligraphic-Regular-KX5MEWCF.woff2") format("woff2"),url("./media/KaTeX_Caligraphic-Regular-3LKEU76G.woff") format("woff"),url("./media/KaTeX_Caligraphic-Regular-A7XRTZ5Q.ttf") format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url("./media/KaTeX_Fraktur-Bold-2QVFK6NQ.woff2") format("woff2"),url("./media/KaTeX_Fraktur-Bold-T4SWXBMT.woff") format("woff"),url("./media/KaTeX_Fraktur-Bold-WGHVTYOR.ttf") format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url("./media/KaTeX_Fraktur-Regular-2PEIFJSJ.woff2") format("woff2"),url("./media/KaTeX_Fraktur-Regular-PQMHCIK6.woff") format("woff"),url("./media/KaTeX_Fraktur-Regular-5U4OPH2X.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url("./media/KaTeX_Main-Bold-YP5VVQRP.woff2") format("woff2"),url("./media/KaTeX_Main-Bold-2GA4IZIN.woff") format("woff"),url("./media/KaTeX_Main-Bold-W5FBVCZM.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url("./media/KaTeX_Main-BoldItalic-N4V3DX7S.woff2") format("woff2"),url("./media/KaTeX_Main-BoldItalic-4P4C7HJH.woff") format("woff"),url("./media/KaTeX_Main-BoldItalic-ODMLBJJQ.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url("./media/KaTeX_Main-Italic-RELBIK7M.woff2") format("woff2"),url("./media/KaTeX_Main-Italic-SASNQFN2.woff") format("woff"),url("./media/KaTeX_Main-Italic-I43T2HSR.ttf") format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url("./media/KaTeX_Main-Regular-ARRPAO67.woff2") format("woff2"),url("./media/KaTeX_Main-Regular-P5I74A2A.woff") format("woff"),url("./media/KaTeX_Main-Regular-W74P5G27.ttf") format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url("./media/KaTeX_Math-BoldItalic-K4WTGH3J.woff2") format("woff2"),url("./media/KaTeX_Math-BoldItalic-6EBV3DK5.woff") format("woff"),url("./media/KaTeX_Math-BoldItalic-VB447A4D.ttf") format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url("./media/KaTeX_Math-Italic-6KGCHLFN.woff2") format("woff2"),url("./media/KaTeX_Math-Italic-KKK3USB2.woff") format("woff"),url("./media/KaTeX_Math-Italic-SON4MRCA.ttf") format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url("./media/KaTeX_SansSerif-Bold-RRNVJFFW.woff2") format("woff2"),url("./media/KaTeX_SansSerif-Bold-X5M5EMOD.woff") format("woff"),url("./media/KaTeX_SansSerif-Bold-STQ6RXC7.ttf") format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url("./media/KaTeX_SansSerif-Italic-HMPFTM52.woff2") format("woff2"),url("./media/KaTeX_SansSerif-Italic-PSN4QKYX.woff") format("woff"),url("./media/KaTeX_SansSerif-Italic-WTBAZBGY.ttf") format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url("./media/KaTeX_SansSerif-Regular-XIQ62X4E.woff2") format("woff2"),url("./media/KaTeX_SansSerif-Regular-OQCII6EP.woff") format("woff"),url("./media/KaTeX_SansSerif-Regular-2TL3USAE.ttf") format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url("./media/KaTeX_Script-Regular-APUWIHLP.woff2") format("woff2"),url("./media/KaTeX_Script-Regular-A5IFOEBS.woff") format("woff"),url("./media/KaTeX_Script-Regular-72OLXYNA.ttf") format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size1-Regular-5LRUTBFT.woff2") format("woff2"),url("./media/KaTeX_Size1-Regular-4HRHTS65.woff") format("woff"),url("./media/KaTeX_Size1-Regular-7K6AASVL.ttf") format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size2-Regular-LELKET5D.woff2") format("woff2"),url("./media/KaTeX_Size2-Regular-K5ZHAIS6.woff") format("woff"),url("./media/KaTeX_Size2-Regular-222HN3GT.ttf") format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size3-Regular-WQRQ47UD.woff2") format("woff2"),url("./media/KaTeX_Size3-Regular-TLFPAHDE.woff") format("woff"),url("./media/KaTeX_Size3-Regular-UFCO6WCA.ttf") format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url("./media/KaTeX_Size4-Regular-CDMV7U5C.woff2") format("woff2"),url("./media/KaTeX_Size4-Regular-PKMWZHNC.woff") format("woff"),url("./media/KaTeX_Size4-Regular-7PGNVPQK.ttf") format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url("./media/KaTeX_Typewriter-Regular-VBYJ4NRC.woff2") format("woff2"),url("./media/KaTeX_Typewriter-Regular-MJMFSK64.woff") format("woff"),url("./media/KaTeX_Typewriter-Regular-3F5K6SQ6.ttf") format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-webkit-min-content;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}html{--mat-ripple-color: rgba(0, 0, 0, .1);--mat-option-selected-state-label-text-color: #607d8b;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-accent{--mat-option-selected-state-label-text-color: #eeeeee;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}.mat-warn{--mat-option-selected-state-label-text-color: #f44336;--mat-option-label-text-color: rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color: rgba(0, 0, 0, .04)}html{--mat-optgroup-label-text-color: rgba(0, 0, 0, .87)}.mat-primary{--mat-full-pseudo-checkbox-selected-icon-color: #607d8b;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #607d8b;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}html,.mat-accent{--mat-full-pseudo-checkbox-selected-icon-color: #eeeeee;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #eeeeee;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-warn{--mat-full-pseudo-checkbox-selected-icon-color: #f44336;--mat-full-pseudo-checkbox-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color: #fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color: #b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color: #b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color: #f44336;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: #b0b0b0}.mat-app-background{background-color:#fafafa;color:#000000de}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.mat-theme-loaded-marker{display:none}html{--mat-option-label-text-font: Roboto, sans-serif;--mat-option-label-text-line-height: 24px;--mat-option-label-text-size: 16px;--mat-option-label-text-tracking: .03125em;--mat-option-label-text-weight: 400;--mat-optgroup-label-text-font: Roboto, sans-serif;--mat-optgroup-label-text-line-height: 24px;--mat-optgroup-label-text-size: 16px;--mat-optgroup-label-text-tracking: .03125em;--mat-optgroup-label-text-weight: 400;--mdc-elevated-card-container-shape: 4px;--mdc-outlined-card-container-shape: 4px;--mdc-outlined-card-outline-width: 1px;--mdc-elevated-card-container-color: white;--mdc-elevated-card-container-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-outlined-card-container-color: white;--mdc-outlined-card-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-card-container-elevation: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-card-subtitle-text-color: rgba(0, 0, 0, .54);--mat-card-title-text-font: Roboto, sans-serif;--mat-card-title-text-line-height: 32px;--mat-card-title-text-size: 20px;--mat-card-title-text-tracking: .0125em;--mat-card-title-text-weight: 500;--mat-card-subtitle-text-font: Roboto, sans-serif;--mat-card-subtitle-text-line-height: 22px;--mat-card-subtitle-text-size: 14px;--mat-card-subtitle-text-tracking: .0071428571em;--mat-card-subtitle-text-weight: 500;--mdc-linear-progress-active-indicator-height: 4px;--mdc-linear-progress-track-height: 4px;--mdc-linear-progress-track-shape: 0}.mat-mdc-progress-bar{--mdc-linear-progress-active-indicator-color: #607d8b;--mdc-linear-progress-track-color: rgba(96, 125, 139, .25)}.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:#607d8b40;background-color:var(--mdc-linear-progress-track-color, rgba(96, 125, 139, .25))}@media (forced-colors: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(96, 125, 139, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar{background-color:#607d8b40;background-color:var(--mdc-linear-progress-track-color, rgba(96, 125, 139, .25))}.mat-mdc-progress-bar.mat-accent{--mdc-linear-progress-active-indicator-color: #eeeeee;--mdc-linear-progress-track-color: rgba(238, 238, 238, .25)}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:#eeeeee40;background-color:var(--mdc-linear-progress-track-color, rgba(238, 238, 238, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(238, 238, 238, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-accent .mdc-linear-progress__buffer-bar{background-color:#eeeeee40;background-color:var(--mdc-linear-progress-track-color, rgba(238, 238, 238, .25))}.mat-mdc-progress-bar.mat-warn{--mdc-linear-progress-active-indicator-color: #f44336;--mdc-linear-progress-track-color: rgba(244, 67, 54, .25)}@keyframes mdc-linear-progress-buffering{}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}@media (forced-colors: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(244, 67, 54, 0.25)'/%3E%3C/svg%3E")}}.mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-bar{background-color:#f4433640;background-color:var(--mdc-linear-progress-track-color, rgba(244, 67, 54, .25))}html{--mdc-plain-tooltip-container-shape: 4px;--mdc-plain-tooltip-supporting-text-line-height: 16px;--mdc-plain-tooltip-container-color: #616161;--mdc-plain-tooltip-supporting-text-color: #fff;--mdc-plain-tooltip-supporting-text-font: Roboto, sans-serif;--mdc-plain-tooltip-supporting-text-size: 12px;--mdc-plain-tooltip-supporting-text-weight: 400;--mdc-plain-tooltip-supporting-text-tracking: .0333333333em;--mdc-filled-text-field-active-indicator-height: 1px;--mdc-filled-text-field-focus-active-indicator-height: 2px;--mdc-filled-text-field-container-shape: 4px;--mdc-outlined-text-field-outline-width: 1px;--mdc-outlined-text-field-focus-outline-width: 2px;--mdc-outlined-text-field-container-shape: 4px;--mdc-filled-text-field-caret-color: #607d8b;--mdc-filled-text-field-focus-active-indicator-color: #607d8b;--mdc-filled-text-field-focus-label-text-color: rgba(96, 125, 139, .87);--mdc-filled-text-field-container-color: whitesmoke;--mdc-filled-text-field-disabled-container-color: #fafafa;--mdc-filled-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-filled-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-filled-text-field-error-focus-label-text-color: #f44336;--mdc-filled-text-field-error-label-text-color: #f44336;--mdc-filled-text-field-error-caret-color: #f44336;--mdc-filled-text-field-active-indicator-color: rgba(0, 0, 0, .42);--mdc-filled-text-field-disabled-active-indicator-color: rgba(0, 0, 0, .06);--mdc-filled-text-field-hover-active-indicator-color: rgba(0, 0, 0, .87);--mdc-filled-text-field-error-active-indicator-color: #f44336;--mdc-filled-text-field-error-focus-active-indicator-color: #f44336;--mdc-filled-text-field-error-hover-active-indicator-color: #f44336;--mdc-outlined-text-field-caret-color: #607d8b;--mdc-outlined-text-field-focus-outline-color: #607d8b;--mdc-outlined-text-field-focus-label-text-color: rgba(96, 125, 139, .87);--mdc-outlined-text-field-label-text-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-disabled-input-text-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-input-text-placeholder-color: rgba(0, 0, 0, .6);--mdc-outlined-text-field-error-caret-color: #f44336;--mdc-outlined-text-field-error-focus-label-text-color: #f44336;--mdc-outlined-text-field-error-label-text-color: #f44336;--mdc-outlined-text-field-outline-color: rgba(0, 0, 0, .38);--mdc-outlined-text-field-disabled-outline-color: rgba(0, 0, 0, .06);--mdc-outlined-text-field-hover-outline-color: rgba(0, 0, 0, .87);--mdc-outlined-text-field-error-focus-outline-color: #f44336;--mdc-outlined-text-field-error-hover-outline-color: #f44336;--mdc-outlined-text-field-error-outline-color: #f44336;--mat-form-field-focus-select-arrow-color: rgba(96, 125, 139, .87);--mat-form-field-disabled-input-text-placeholder-color: rgba(0, 0, 0, .38);--mat-form-field-state-layer-color: rgba(0, 0, 0, .87);--mat-form-field-error-text-color: #f44336;--mat-form-field-select-option-text-color: inherit;--mat-form-field-select-disabled-option-text-color: GrayText;--mat-form-field-enabled-select-arrow-color: rgba(0, 0, 0, .54);--mat-form-field-disabled-select-arrow-color: rgba(0, 0, 0, .38);--mat-form-field-hover-state-layer-opacity: .04;--mat-form-field-focus-state-layer-opacity: .12}.mat-mdc-form-field.mat-accent{--mdc-filled-text-field-caret-color: #eeeeee;--mdc-filled-text-field-focus-active-indicator-color: #eeeeee;--mdc-filled-text-field-focus-label-text-color: rgba(238, 238, 238, .87);--mdc-outlined-text-field-caret-color: #eeeeee;--mdc-outlined-text-field-focus-outline-color: #eeeeee;--mdc-outlined-text-field-focus-label-text-color: rgba(238, 238, 238, .87);--mat-form-field-focus-select-arrow-color: rgba(238, 238, 238, .87)}.mat-mdc-form-field.mat-warn{--mdc-filled-text-field-caret-color: #f44336;--mdc-filled-text-field-focus-active-indicator-color: #f44336;--mdc-filled-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mdc-outlined-text-field-caret-color: #f44336;--mdc-outlined-text-field-focus-outline-color: #f44336;--mdc-outlined-text-field-focus-label-text-color: rgba(244, 67, 54, .87);--mat-form-field-focus-select-arrow-color: rgba(244, 67, 54, .87)}.mat-mdc-form-field-infix{min-height:56px}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:28px}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -34.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}.mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:24px;padding-bottom:8px}.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:16px;padding-bottom:16px}html{--mdc-filled-text-field-label-text-font: Roboto, sans-serif;--mdc-filled-text-field-label-text-size: 16px;--mdc-filled-text-field-label-text-tracking: .03125em;--mdc-filled-text-field-label-text-weight: 400;--mdc-outlined-text-field-label-text-font: Roboto, sans-serif;--mdc-outlined-text-field-label-text-size: 16px;--mdc-outlined-text-field-label-text-tracking: .03125em;--mdc-outlined-text-field-label-text-weight: 400;--mat-form-field-container-text-font: Roboto, sans-serif;--mat-form-field-container-text-line-height: 24px;--mat-form-field-container-text-size: 16px;--mat-form-field-container-text-tracking: .03125em;--mat-form-field-container-text-weight: 400;--mat-form-field-outlined-label-text-populated-size: 16px;--mat-form-field-subscript-text-font: Roboto, sans-serif;--mat-form-field-subscript-text-line-height: 20px;--mat-form-field-subscript-text-size: 12px;--mat-form-field-subscript-text-tracking: .0333333333em;--mat-form-field-subscript-text-weight: 400;--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(96, 125, 139, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-accent{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(238, 238, 238, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html .mat-mdc-form-field.mat-warn{--mat-select-panel-background-color: white;--mat-select-enabled-trigger-text-color: rgba(0, 0, 0, .87);--mat-select-disabled-trigger-text-color: rgba(0, 0, 0, .38);--mat-select-placeholder-text-color: rgba(0, 0, 0, .6);--mat-select-enabled-arrow-color: rgba(0, 0, 0, .54);--mat-select-disabled-arrow-color: rgba(0, 0, 0, .38);--mat-select-focused-arrow-color: rgba(244, 67, 54, .87);--mat-select-invalid-arrow-color: rgba(244, 67, 54, .87)}html{--mat-select-trigger-text-font: Roboto, sans-serif;--mat-select-trigger-text-line-height: 24px;--mat-select-trigger-text-size: 16px;--mat-select-trigger-text-tracking: .03125em;--mat-select-trigger-text-weight: 400;--mat-autocomplete-background-color: white;--mdc-dialog-container-elevation-shadow: 0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mdc-dialog-container-shadow-color: #000;--mdc-dialog-container-shape: 4px;--mdc-dialog-container-color: white;--mdc-dialog-subhead-color: rgba(0, 0, 0, .87);--mdc-dialog-supporting-text-color: rgba(0, 0, 0, .6);--mdc-dialog-subhead-font: Roboto, sans-serif;--mdc-dialog-subhead-line-height: 32px;--mdc-dialog-subhead-size: 20px;--mdc-dialog-subhead-weight: 500;--mdc-dialog-subhead-tracking: .0125em;--mdc-dialog-supporting-text-font: Roboto, sans-serif;--mdc-dialog-supporting-text-line-height: 24px;--mdc-dialog-supporting-text-size: 16px;--mdc-dialog-supporting-text-weight: 400;--mdc-dialog-supporting-text-tracking: .03125em}.mat-mdc-standard-chip{--mdc-chip-container-shape-family: rounded;--mdc-chip-container-shape-radius: 16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family: rounded;--mdc-chip-with-avatar-avatar-shape-radius: 14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size: 28px;--mdc-chip-with-icon-icon-size: 18px;--mdc-chip-disabled-label-text-color: #212121;--mdc-chip-elevated-container-color: #e0e0e0;--mdc-chip-elevated-disabled-container-color: #e0e0e0;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: #212121;--mdc-chip-with-icon-icon-color: #212121;--mdc-chip-with-icon-disabled-icon-color: #212121;--mdc-chip-with-icon-selected-icon-color: #212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: #212121;--mdc-chip-with-trailing-icon-trailing-icon-color: #212121}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #607d8b;--mdc-chip-elevated-disabled-container-color: #607d8b;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent{--mdc-chip-disabled-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-elevated-container-color: #eeeeee;--mdc-chip-elevated-disabled-container-color: #eeeeee;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-disabled-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-icon-selected-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: rgba(0, 0, 0, .87);--mdc-chip-with-trailing-icon-trailing-icon-color: rgba(0, 0, 0, .87)}.mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn{--mdc-chip-disabled-label-text-color: white;--mdc-chip-elevated-container-color: #f44336;--mdc-chip-elevated-disabled-container-color: #f44336;--mdc-chip-focus-state-layer-color: black;--mdc-chip-focus-state-layer-opacity: .12;--mdc-chip-label-text-color: white;--mdc-chip-with-icon-icon-color: white;--mdc-chip-with-icon-disabled-icon-color: white;--mdc-chip-with-icon-selected-icon-color: white;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color: white;--mdc-chip-with-trailing-icon-trailing-icon-color: white}.mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height: 32px}.mat-mdc-standard-chip{--mdc-chip-label-text-font: Roboto, sans-serif;--mdc-chip-label-text-line-height: 20px;--mdc-chip-label-text-size: 14px;--mdc-chip-label-text-tracking: .0178571429em;--mdc-chip-label-text-weight: 400}.mdc-switch{--mdc-switch-disabled-handle-opacity: .38;--mdc-switch-disabled-selected-icon-opacity: .38;--mdc-switch-disabled-track-opacity: .12;--mdc-switch-disabled-unselected-icon-opacity: .38;--mdc-switch-handle-height: 20px;--mdc-switch-handle-shape: 10px;--mdc-switch-handle-width: 20px;--mdc-switch-selected-icon-size: 18px;--mdc-switch-track-height: 14px;--mdc-switch-track-shape: 7px;--mdc-switch-track-width: 36px;--mdc-switch-unselected-icon-size: 18px;--mdc-switch-state-layer-size: 40px;--mdc-switch-selected-focus-state-layer-opacity: .12;--mdc-switch-selected-hover-state-layer-opacity: .04;--mdc-switch-selected-pressed-state-layer-opacity: .1;--mdc-switch-unselected-focus-state-layer-opacity: .12;--mdc-switch-unselected-hover-state-layer-opacity: .04;--mdc-switch-unselected-pressed-state-layer-opacity: .1}.mat-mdc-slide-toggle{--mdc-switch-selected-focus-state-layer-color: #546e7a;--mdc-switch-selected-handle-color: #546e7a;--mdc-switch-selected-hover-state-layer-color: #546e7a;--mdc-switch-selected-pressed-state-layer-color: #546e7a;--mdc-switch-selected-focus-handle-color: #263238;--mdc-switch-selected-hover-handle-color: #263238;--mdc-switch-selected-pressed-handle-color: #263238;--mdc-switch-selected-focus-track-color: #90a4ae;--mdc-switch-selected-hover-track-color: #90a4ae;--mdc-switch-selected-pressed-track-color: #90a4ae;--mdc-switch-selected-track-color: #90a4ae;--mdc-switch-disabled-selected-handle-color: #424242;--mdc-switch-disabled-selected-icon-color: #fff;--mdc-switch-disabled-selected-track-color: #424242;--mdc-switch-disabled-unselected-handle-color: #424242;--mdc-switch-disabled-unselected-icon-color: #fff;--mdc-switch-disabled-unselected-track-color: #424242;--mdc-switch-handle-surface-color: var(--mdc-theme-surface, #fff);--mdc-switch-handle-elevation-shadow: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mdc-switch-handle-shadow-color: black;--mdc-switch-disabled-handle-elevation-shadow: 0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mdc-switch-selected-icon-color: #fff;--mdc-switch-unselected-focus-handle-color: #212121;--mdc-switch-unselected-focus-state-layer-color: #424242;--mdc-switch-unselected-focus-track-color: #e0e0e0;--mdc-switch-unselected-handle-color: #616161;--mdc-switch-unselected-hover-handle-color: #212121;--mdc-switch-unselected-hover-state-layer-color: #424242;--mdc-switch-unselected-hover-track-color: #e0e0e0;--mdc-switch-unselected-icon-color: #fff;--mdc-switch-unselected-pressed-handle-color: #212121;--mdc-switch-unselected-pressed-state-layer-color: #424242;--mdc-switch-unselected-pressed-track-color: #e0e0e0;--mdc-switch-unselected-track-color: #e0e0e0}.mat-mdc-slide-toggle .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:#00000061}.mat-mdc-slide-toggle.mat-accent{--mdc-switch-selected-focus-state-layer-color: #757575;--mdc-switch-selected-handle-color: #757575;--mdc-switch-selected-hover-state-layer-color: #757575;--mdc-switch-selected-pressed-state-layer-color: #757575;--mdc-switch-selected-focus-handle-color: #212121;--mdc-switch-selected-hover-handle-color: #212121;--mdc-switch-selected-pressed-handle-color: #212121;--mdc-switch-selected-focus-track-color: #e0e0e0;--mdc-switch-selected-hover-track-color: #e0e0e0;--mdc-switch-selected-pressed-track-color: #e0e0e0;--mdc-switch-selected-track-color: #e0e0e0}.mat-mdc-slide-toggle.mat-warn{--mdc-switch-selected-focus-state-layer-color: #e53935;--mdc-switch-selected-handle-color: #e53935;--mdc-switch-selected-hover-state-layer-color: #e53935;--mdc-switch-selected-pressed-state-layer-color: #e53935;--mdc-switch-selected-focus-handle-color: #b71c1c;--mdc-switch-selected-hover-handle-color: #b71c1c;--mdc-switch-selected-pressed-handle-color: #b71c1c;--mdc-switch-selected-focus-track-color: #e57373;--mdc-switch-selected-hover-track-color: #e57373;--mdc-switch-selected-pressed-track-color: #e57373;--mdc-switch-selected-track-color: #e57373}.mat-mdc-slide-toggle{--mdc-switch-state-layer-size: 48px;--mat-slide-toggle-label-text-font: Roboto, sans-serif;--mat-slide-toggle-label-text-size: 14px;--mat-slide-toggle-label-text-tracking: .0178571429em;--mat-slide-toggle-label-text-line-height: 20px;--mat-slide-toggle-label-text-weight: 400}.mat-mdc-slide-toggle .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit)}html{--mdc-radio-disabled-selected-icon-opacity: .38;--mdc-radio-disabled-unselected-icon-opacity: .38;--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-radio-button.mat-primary{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #607d8b;--mdc-radio-selected-hover-icon-color: #607d8b;--mdc-radio-selected-icon-color: #607d8b;--mdc-radio-selected-pressed-icon-color: #607d8b;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #607d8b;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-accent{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #eeeeee;--mdc-radio-selected-hover-icon-color: #eeeeee;--mdc-radio-selected-icon-color: #eeeeee;--mdc-radio-selected-pressed-icon-color: #eeeeee;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #eeeeee;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}.mat-mdc-radio-button.mat-warn{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336;--mat-radio-ripple-color: #000;--mat-radio-checked-ripple-color: #f44336;--mat-radio-disabled-label-color: rgba(0, 0, 0, .38)}html{--mdc-radio-state-layer-size: 40px}.mat-mdc-radio-button .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}html{--mdc-slider-active-track-height: 6px;--mdc-slider-active-track-shape: 9999px;--mdc-slider-handle-height: 20px;--mdc-slider-handle-shape: 50%;--mdc-slider-handle-width: 20px;--mdc-slider-inactive-track-height: 4px;--mdc-slider-inactive-track-shape: 9999px;--mdc-slider-with-overlap-handle-outline-width: 1px;--mdc-slider-with-tick-marks-active-container-opacity: .6;--mdc-slider-with-tick-marks-container-shape: 50%;--mdc-slider-with-tick-marks-container-size: 2px;--mdc-slider-with-tick-marks-inactive-container-opacity: .6;--mdc-slider-handle-color: #607d8b;--mdc-slider-focus-handle-color: #607d8b;--mdc-slider-hover-handle-color: #607d8b;--mdc-slider-active-track-color: #607d8b;--mdc-slider-inactive-track-color: #607d8b;--mdc-slider-with-tick-marks-inactive-container-color: #607d8b;--mdc-slider-with-tick-marks-active-container-color: white;--mdc-slider-disabled-active-track-color: #000;--mdc-slider-disabled-handle-color: #000;--mdc-slider-disabled-inactive-track-color: #000;--mdc-slider-label-container-color: #000;--mdc-slider-label-label-text-color: #fff;--mdc-slider-with-overlap-handle-outline-color: #fff;--mdc-slider-with-tick-marks-disabled-container-color: #000;--mdc-slider-handle-elevation: 0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-mdc-slider-ripple-color: #607d8b;--mat-mdc-slider-hover-ripple-color: rgba(96, 125, 139, .05);--mat-mdc-slider-focus-ripple-color: rgba(96, 125, 139, .2);--mat-slider-value-indicator-opacity: .6}html .mat-accent{--mdc-slider-handle-color: #eeeeee;--mdc-slider-focus-handle-color: #eeeeee;--mdc-slider-hover-handle-color: #eeeeee;--mdc-slider-active-track-color: #eeeeee;--mdc-slider-inactive-track-color: #eeeeee;--mdc-slider-with-tick-marks-inactive-container-color: #eeeeee;--mdc-slider-with-tick-marks-active-container-color: rgba(0, 0, 0, .87);--mat-mdc-slider-ripple-color: #eeeeee;--mat-mdc-slider-hover-ripple-color: rgba(238, 238, 238, .05);--mat-mdc-slider-focus-ripple-color: rgba(238, 238, 238, .2)}html .mat-warn{--mdc-slider-handle-color: #f44336;--mdc-slider-focus-handle-color: #f44336;--mdc-slider-hover-handle-color: #f44336;--mdc-slider-active-track-color: #f44336;--mdc-slider-inactive-track-color: #f44336;--mdc-slider-with-tick-marks-inactive-container-color: #f44336;--mdc-slider-with-tick-marks-active-container-color: white;--mat-mdc-slider-ripple-color: #f44336;--mat-mdc-slider-hover-ripple-color: rgba(244, 67, 54, .05);--mat-mdc-slider-focus-ripple-color: rgba(244, 67, 54, .2)}html{--mdc-slider-label-label-text-font: Roboto, sans-serif;--mdc-slider-label-label-text-size: 14px;--mdc-slider-label-label-text-line-height: 22px;--mdc-slider-label-label-text-tracking: .0071428571em;--mdc-slider-label-label-text-weight: 500;--mat-menu-container-shape: 4px;--mat-menu-item-label-text-color: rgba(0, 0, 0, .87);--mat-menu-item-icon-color: rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-menu-container-color: white;--mat-menu-item-label-text-font: Roboto, sans-serif;--mat-menu-item-label-text-size: 16px;--mat-menu-item-label-text-tracking: .03125em;--mat-menu-item-label-text-line-height: 24px;--mat-menu-item-label-text-weight: 400;--mdc-list-list-item-container-shape: 0;--mdc-list-list-item-leading-avatar-shape: 50%;--mdc-list-list-item-container-color: transparent;--mdc-list-list-item-selected-container-color: transparent;--mdc-list-list-item-leading-avatar-color: transparent;--mdc-list-list-item-leading-icon-size: 24px;--mdc-list-list-item-leading-avatar-size: 40px;--mdc-list-list-item-trailing-icon-size: 24px;--mdc-list-list-item-disabled-state-layer-color: transparent;--mdc-list-list-item-disabled-state-layer-opacity: 0;--mdc-list-list-item-disabled-label-text-opacity: .38;--mdc-list-list-item-disabled-leading-icon-opacity: .38;--mdc-list-list-item-disabled-trailing-icon-opacity: .38;--mdc-list-list-item-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-supporting-text-color: rgba(0, 0, 0, .54);--mdc-list-list-item-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-supporting-text-color: rgba(0, 0, 0, .38);--mdc-list-list-item-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-selected-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-disabled-label-text-color: black;--mdc-list-list-item-disabled-leading-icon-color: black;--mdc-list-list-item-disabled-trailing-icon-color: black;--mdc-list-list-item-hover-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-leading-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-hover-trailing-icon-color: rgba(0, 0, 0, .38);--mdc-list-list-item-focus-label-text-color: rgba(0, 0, 0, .87);--mdc-list-list-item-hover-state-layer-color: black;--mdc-list-list-item-hover-state-layer-opacity: .04;--mdc-list-list-item-focus-state-layer-color: black;--mdc-list-list-item-focus-state-layer-opacity: .12}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #607d8b;--mdc-radio-selected-hover-icon-color: #607d8b;--mdc-radio-selected-icon-color: #607d8b;--mdc-radio-selected-pressed-icon-color: #607d8b}.mat-accent .mdc-list-item__start,.mat-accent .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #eeeeee;--mdc-radio-selected-hover-icon-color: #eeeeee;--mdc-radio-selected-icon-color: #eeeeee;--mdc-radio-selected-pressed-icon-color: #eeeeee}.mat-warn .mdc-list-item__start,.mat-warn .mdc-list-item__end{--mdc-radio-disabled-selected-icon-color: #000;--mdc-radio-disabled-unselected-icon-color: #000;--mdc-radio-unselected-hover-icon-color: #212121;--mdc-radio-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-radio-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-radio-selected-focus-icon-color: #f44336;--mdc-radio-selected-hover-icon-color: #f44336;--mdc-radio-selected-icon-color: #f44336;--mdc-radio-selected-pressed-icon-color: #f44336}.mat-mdc-list-option{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #607d8b;--mdc-checkbox-selected-hover-icon-color: #607d8b;--mdc-checkbox-selected-icon-color: #607d8b;--mdc-checkbox-selected-pressed-icon-color: #607d8b;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #607d8b;--mdc-checkbox-selected-hover-state-layer-color: #607d8b;--mdc-checkbox-selected-pressed-state-layer-color: #607d8b;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-accent{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #000;--mdc-checkbox-selected-focus-icon-color: #eeeeee;--mdc-checkbox-selected-hover-icon-color: #eeeeee;--mdc-checkbox-selected-icon-color: #eeeeee;--mdc-checkbox-selected-pressed-icon-color: #eeeeee;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #eeeeee;--mdc-checkbox-selected-hover-state-layer-color: #eeeeee;--mdc-checkbox-selected-pressed-state-layer-color: #eeeeee;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-option.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated .mdc-list-item__primary-text,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--selected.mdc-list-item--with-leading-icon .mdc-list-item__start,.mat-mdc-list-base.mat-mdc-list-base .mdc-list-item--activated.mdc-list-item--with-leading-icon .mdc-list-item__start{color:#607d8b}.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__content,.mat-mdc-list-base .mdc-list-item--disabled .mdc-list-item__end{opacity:1}html{--mdc-list-list-item-one-line-container-height: 48px;--mdc-list-list-item-two-line-container-height: 64px;--mdc-list-list-item-three-line-container-height: 88px}.mdc-list-item__start,.mdc-list-item__end{--mdc-radio-state-layer-size: 40px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mat-mdc-list-item.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines,.mat-mdc-list-item.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}html{--mdc-list-list-item-label-text-font: Roboto, sans-serif;--mdc-list-list-item-label-text-line-height: 24px;--mdc-list-list-item-label-text-size: 16px;--mdc-list-list-item-label-text-tracking: .03125em;--mdc-list-list-item-label-text-weight: 400;--mdc-list-list-item-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-supporting-text-line-height: 20px;--mdc-list-list-item-supporting-text-size: 14px;--mdc-list-list-item-supporting-text-tracking: .0178571429em;--mdc-list-list-item-supporting-text-weight: 400;--mdc-list-list-item-trailing-supporting-text-font: Roboto, sans-serif;--mdc-list-list-item-trailing-supporting-text-line-height: 20px;--mdc-list-list-item-trailing-supporting-text-size: 12px;--mdc-list-list-item-trailing-supporting-text-tracking: .0333333333em;--mdc-list-list-item-trailing-supporting-text-weight: 400}.mdc-list-group__subheader{font:400 16px/28px Roboto,sans-serif;letter-spacing:.009375em}html{--mat-paginator-container-text-color: rgba(0, 0, 0, .87);--mat-paginator-container-background-color: white;--mat-paginator-enabled-icon-color: rgba(0, 0, 0, .54);--mat-paginator-disabled-icon-color: rgba(0, 0, 0, .12);--mat-paginator-container-size: 56px}.mat-mdc-paginator .mat-mdc-form-field-infix{min-height:40px}.mat-mdc-paginator .mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:20px}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY( -26.75px) scale(var(--mat-mdc-form-field-floating-label-scale, .75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-paginator .mat-mdc-text-field-wrapper.mdc-text-field--outlined .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mat-mdc-form-field-infix{padding-top:8px;padding-bottom:8px}.mat-mdc-paginator .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-floating-label{display:none}html{--mat-paginator-container-text-font: Roboto, sans-serif;--mat-paginator-container-text-line-height: 20px;--mat-paginator-container-text-size: 12px;--mat-paginator-container-text-tracking: .0333333333em;--mat-paginator-container-text-weight: 400;--mat-paginator-select-trigger-text-size: 12px;--mdc-tab-indicator-active-indicator-height: 2px;--mdc-tab-indicator-active-indicator-shape: 0;--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-divider-color: transparent;--mat-tab-header-divider-height: 0}.mat-mdc-tab-group,.mat-mdc-tab-nav-bar{--mdc-tab-indicator-active-indicator-color: #607d8b;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #607d8b;--mat-tab-header-active-ripple-color: #607d8b;--mat-tab-header-inactive-ripple-color: #607d8b;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #607d8b;--mat-tab-header-active-hover-label-text-color: #607d8b;--mat-tab-header-active-focus-indicator-color: #607d8b;--mat-tab-header-active-hover-indicator-color: #607d8b}.mat-mdc-tab-group.mat-accent,.mat-mdc-tab-nav-bar.mat-accent{--mdc-tab-indicator-active-indicator-color: #eeeeee;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #eeeeee;--mat-tab-header-active-ripple-color: #eeeeee;--mat-tab-header-inactive-ripple-color: #eeeeee;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #eeeeee;--mat-tab-header-active-hover-label-text-color: #eeeeee;--mat-tab-header-active-focus-indicator-color: #eeeeee;--mat-tab-header-active-hover-indicator-color: #eeeeee}.mat-mdc-tab-group.mat-warn,.mat-mdc-tab-nav-bar.mat-warn{--mdc-tab-indicator-active-indicator-color: #f44336;--mat-tab-header-disabled-ripple-color: rgba(0, 0, 0, .38);--mat-tab-header-pagination-icon-color: #000;--mat-tab-header-inactive-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-label-text-color: #f44336;--mat-tab-header-active-ripple-color: #f44336;--mat-tab-header-inactive-ripple-color: #f44336;--mat-tab-header-inactive-focus-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-inactive-hover-label-text-color: rgba(0, 0, 0, .6);--mat-tab-header-active-focus-label-text-color: #f44336;--mat-tab-header-active-hover-label-text-color: #f44336;--mat-tab-header-active-focus-indicator-color: #f44336;--mat-tab-header-active-hover-indicator-color: #f44336}.mat-mdc-tab-group.mat-background-primary,.mat-mdc-tab-nav-bar.mat-background-primary{--mat-tab-header-with-background-background-color: #607d8b;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-group.mat-background-accent,.mat-mdc-tab-nav-bar.mat-background-accent{--mat-tab-header-with-background-background-color: #eeeeee;--mat-tab-header-with-background-foreground-color: rgba(0, 0, 0, .87)}.mat-mdc-tab-group.mat-background-warn,.mat-mdc-tab-nav-bar.mat-background-warn{--mat-tab-header-with-background-background-color: #f44336;--mat-tab-header-with-background-foreground-color: white}.mat-mdc-tab-header{--mdc-secondary-navigation-tab-container-height: 48px;--mat-tab-header-label-text-font: Roboto, sans-serif;--mat-tab-header-label-text-size: 14px;--mat-tab-header-label-text-tracking: .0892857143em;--mat-tab-header-label-text-line-height: 36px;--mat-tab-header-label-text-weight: 500}html{--mdc-checkbox-disabled-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-state-layer-opacity: .16;--mdc-checkbox-selected-hover-state-layer-opacity: .04;--mdc-checkbox-selected-pressed-state-layer-opacity: .16;--mdc-checkbox-unselected-focus-state-layer-opacity: .16;--mdc-checkbox-unselected-hover-state-layer-opacity: .04;--mdc-checkbox-unselected-pressed-state-layer-opacity: .16;--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #000;--mdc-checkbox-selected-focus-icon-color: #eeeeee;--mdc-checkbox-selected-hover-icon-color: #eeeeee;--mdc-checkbox-selected-icon-color: #eeeeee;--mdc-checkbox-selected-pressed-icon-color: #eeeeee;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #eeeeee;--mdc-checkbox-selected-hover-state-layer-color: #eeeeee;--mdc-checkbox-selected-pressed-state-layer-color: #eeeeee;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-primary{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #607d8b;--mdc-checkbox-selected-hover-icon-color: #607d8b;--mdc-checkbox-selected-icon-color: #607d8b;--mdc-checkbox-selected-pressed-icon-color: #607d8b;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #607d8b;--mdc-checkbox-selected-hover-state-layer-color: #607d8b;--mdc-checkbox-selected-pressed-state-layer-color: #607d8b;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox.mat-warn{--mdc-checkbox-disabled-selected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color: rgba(0, 0, 0, .38);--mdc-checkbox-selected-checkmark-color: #fff;--mdc-checkbox-selected-focus-icon-color: #f44336;--mdc-checkbox-selected-hover-icon-color: #f44336;--mdc-checkbox-selected-icon-color: #f44336;--mdc-checkbox-selected-pressed-icon-color: #f44336;--mdc-checkbox-unselected-focus-icon-color: #212121;--mdc-checkbox-unselected-hover-icon-color: #212121;--mdc-checkbox-unselected-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color: rgba(0, 0, 0, .54);--mdc-checkbox-selected-focus-state-layer-color: #f44336;--mdc-checkbox-selected-hover-state-layer-color: #f44336;--mdc-checkbox-selected-pressed-state-layer-color: #f44336;--mdc-checkbox-unselected-focus-state-layer-color: black;--mdc-checkbox-unselected-hover-state-layer-color: black;--mdc-checkbox-unselected-pressed-state-layer-color: black}.mat-mdc-checkbox .mdc-form-field{color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, .87))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:#00000061}html{--mdc-checkbox-state-layer-size: 40px}.mat-mdc-checkbox .mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-body2-font-size, 14px);line-height:var(--mdc-typography-body2-line-height, 20px);font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:var(--mdc-typography-body2-letter-spacing, .0178571429em);text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:var(--mdc-typography-body2-text-transform, none)}.mat-mdc-button{--mdc-text-button-label-text-color: #000;--mdc-text-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-text-button-state-layer-color: #000;--mat-text-button-ripple-color: rgba(0, 0, 0, .1);--mat-text-button-hover-state-layer-opacity: .04;--mat-text-button-focus-state-layer-opacity: .12;--mat-text-button-pressed-state-layer-opacity: .12}.mat-mdc-button.mat-primary{--mdc-text-button-label-text-color: #607d8b;--mat-text-button-state-layer-color: #607d8b;--mat-text-button-ripple-color: rgba(96, 125, 139, .1)}.mat-mdc-button.mat-accent{--mdc-text-button-label-text-color: #eeeeee;--mat-text-button-state-layer-color: #eeeeee;--mat-text-button-ripple-color: rgba(238, 238, 238, .1)}.mat-mdc-button.mat-warn{--mdc-text-button-label-text-color: #f44336;--mat-text-button-state-layer-color: #f44336;--mat-text-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-unelevated-button{--mdc-filled-button-container-color: white;--mdc-filled-button-label-text-color: #000;--mdc-filled-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-filled-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-filled-button-state-layer-color: #000;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1);--mat-filled-button-hover-state-layer-opacity: .04;--mat-filled-button-focus-state-layer-opacity: .12;--mat-filled-button-pressed-state-layer-opacity: .12}.mat-mdc-unelevated-button.mat-primary{--mdc-filled-button-container-color: #607d8b;--mdc-filled-button-label-text-color: #fff;--mat-filled-button-state-layer-color: #fff;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-unelevated-button.mat-accent{--mdc-filled-button-container-color: #eeeeee;--mdc-filled-button-label-text-color: #000;--mat-filled-button-state-layer-color: #000;--mat-filled-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-unelevated-button.mat-warn{--mdc-filled-button-container-color: #f44336;--mdc-filled-button-label-text-color: #fff;--mat-filled-button-state-layer-color: #fff;--mat-filled-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button{--mdc-protected-button-container-color: white;--mdc-protected-button-label-text-color: #000;--mdc-protected-button-disabled-container-color: rgba(0, 0, 0, .12);--mdc-protected-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mat-protected-button-state-layer-color: #000;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1);--mat-protected-button-hover-state-layer-opacity: .04;--mat-protected-button-focus-state-layer-opacity: .12;--mat-protected-button-pressed-state-layer-opacity: .12;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.mat-mdc-raised-button.mat-primary{--mdc-protected-button-container-color: #607d8b;--mdc-protected-button-label-text-color: #fff;--mat-protected-button-state-layer-color: #fff;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button.mat-accent{--mdc-protected-button-container-color: #eeeeee;--mdc-protected-button-label-text-color: #000;--mat-protected-button-state-layer-color: #000;--mat-protected-button-ripple-color: rgba(0, 0, 0, .1)}.mat-mdc-raised-button.mat-warn{--mdc-protected-button-container-color: #f44336;--mdc-protected-button-label-text-color: #fff;--mat-protected-button-state-layer-color: #fff;--mat-protected-button-ripple-color: rgba(255, 255, 255, .1)}.mat-mdc-raised-button:hover,.mat-mdc-raised-button:focus{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.mat-mdc-outlined-button{--mdc-outlined-button-disabled-outline-color: rgba(0, 0, 0, .12);--mdc-outlined-button-disabled-label-text-color: rgba(0, 0, 0, .38);--mdc-outlined-button-label-text-color: #000;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #000;--mat-outlined-button-ripple-color: rgba(0, 0, 0, .1);--mat-outlined-button-hover-state-layer-opacity: .04;--mat-outlined-button-focus-state-layer-opacity: .12;--mat-outlined-button-pressed-state-layer-opacity: .12}.mat-mdc-outlined-button.mat-primary{--mdc-outlined-button-label-text-color: #607d8b;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #607d8b;--mat-outlined-button-ripple-color: rgba(96, 125, 139, .1)}.mat-mdc-outlined-button.mat-accent{--mdc-outlined-button-label-text-color: #eeeeee;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #eeeeee;--mat-outlined-button-ripple-color: rgba(238, 238, 238, .1)}.mat-mdc-outlined-button.mat-warn{--mdc-outlined-button-label-text-color: #f44336;--mdc-outlined-button-outline-color: rgba(0, 0, 0, .12);--mat-outlined-button-state-layer-color: #f44336;--mat-outlined-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-button{--mdc-text-button-container-height: 36px}.mat-mdc-raised-button{--mdc-protected-button-container-height: 36px}.mat-mdc-unelevated-button{--mdc-filled-button-container-height: 36px}.mat-mdc-outlined-button{--mdc-outlined-button-container-height: 36px}html{--mdc-text-button-label-text-font: Roboto, sans-serif;--mdc-text-button-label-text-size: 14px;--mdc-text-button-label-text-tracking: .0892857143em;--mdc-text-button-label-text-weight: 500;--mdc-text-button-label-text-transform: none;--mdc-filled-button-label-text-font: Roboto, sans-serif;--mdc-filled-button-label-text-size: 14px;--mdc-filled-button-label-text-tracking: .0892857143em;--mdc-filled-button-label-text-weight: 500;--mdc-filled-button-label-text-transform: none;--mdc-outlined-button-label-text-font: Roboto, sans-serif;--mdc-outlined-button-label-text-size: 14px;--mdc-outlined-button-label-text-tracking: .0892857143em;--mdc-outlined-button-label-text-weight: 500;--mdc-outlined-button-label-text-transform: none;--mdc-protected-button-label-text-font: Roboto, sans-serif;--mdc-protected-button-label-text-size: 14px;--mdc-protected-button-label-text-tracking: .0892857143em;--mdc-protected-button-label-text-weight: 500;--mdc-protected-button-label-text-transform: none}.mat-mdc-icon-button{--mdc-icon-button-icon-color: inherit;--mdc-icon-button-disabled-icon-color: rgba(0, 0, 0, .38);--mat-icon-button-state-layer-color: #000;--mat-icon-button-ripple-color: rgba(0, 0, 0, .1);--mat-icon-button-hover-state-layer-opacity: .04;--mat-icon-button-focus-state-layer-opacity: .12;--mat-icon-button-pressed-state-layer-opacity: .12}.mat-mdc-icon-button.mat-primary{--mdc-icon-button-icon-color: #607d8b;--mat-icon-button-state-layer-color: #607d8b;--mat-icon-button-ripple-color: rgba(96, 125, 139, .1)}.mat-mdc-icon-button.mat-accent{--mdc-icon-button-icon-color: #eeeeee;--mat-icon-button-state-layer-color: #eeeeee;--mat-icon-button-ripple-color: rgba(238, 238, 238, .1)}.mat-mdc-icon-button.mat-warn{--mdc-icon-button-icon-color: #f44336;--mat-icon-button-state-layer-color: #f44336;--mat-icon-button-ripple-color: rgba(244, 67, 54, .1)}.mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 48px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:12px}html{--mdc-fab-container-shape: 50%;--mdc-fab-icon-size: 24px;--mdc-fab-container-color: white;--mat-fab-foreground-color: black;--mat-fab-state-layer-color: #000;--mat-fab-ripple-color: rgba(0, 0, 0, .1);--mat-fab-hover-state-layer-opacity: .04;--mat-fab-focus-state-layer-opacity: .12;--mat-fab-pressed-state-layer-opacity: .12;--mat-fab-disabled-state-container-color: rgba(0, 0, 0, .12);--mat-fab-disabled-state-foreground-color: rgba(0, 0, 0, .38)}html .mat-mdc-fab.mat-primary,html .mat-mdc-mini-fab.mat-primary{--mdc-fab-container-color: #607d8b;--mat-fab-foreground-color: #fff;--mat-fab-state-layer-color: #fff;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}html .mat-mdc-fab.mat-accent,html .mat-mdc-mini-fab.mat-accent{--mdc-fab-container-color: #eeeeee;--mat-fab-foreground-color: #000;--mat-fab-state-layer-color: #000;--mat-fab-ripple-color: rgba(0, 0, 0, .1)}html .mat-mdc-fab.mat-warn,html .mat-mdc-mini-fab.mat-warn{--mdc-fab-container-color: #f44336;--mat-fab-foreground-color: #fff;--mat-fab-state-layer-color: #fff;--mat-fab-ripple-color: rgba(255, 255, 255, .1)}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:var(--mdc-typography-button-font-size, 14px);line-height:var(--mdc-typography-button-line-height, 36px);font-weight:var(--mdc-typography-button-font-weight, 500);letter-spacing:var(--mdc-typography-button-letter-spacing, .0892857143em);text-decoration:var(--mdc-typography-button-text-decoration, none);text-transform:var(--mdc-typography-button-text-transform, none)}html{--mdc-extended-fab-label-text-font: Roboto, sans-serif;--mdc-extended-fab-label-text-size: 14px;--mdc-extended-fab-label-text-tracking: .0892857143em;--mdc-extended-fab-label-text-weight: 500;--mdc-snackbar-container-shape: 4px;--mdc-snackbar-container-color: #333333;--mdc-snackbar-supporting-text-color: rgba(255, 255, 255, .87);--mat-snack-bar-button-color: #eeeeee;--mdc-snackbar-supporting-text-font: Roboto, sans-serif;--mdc-snackbar-supporting-text-line-height: 20px;--mdc-snackbar-supporting-text-size: 14px;--mdc-snackbar-supporting-text-weight: 400;--mat-table-row-item-outline-width: 1px;--mat-table-background-color: white;--mat-table-header-headline-color: rgba(0, 0, 0, .87);--mat-table-row-item-label-text-color: rgba(0, 0, 0, .87);--mat-table-row-item-outline-color: rgba(0, 0, 0, .12);--mat-table-header-container-height: 56px;--mat-table-footer-container-height: 52px;--mat-table-row-item-container-height: 52px;--mat-table-header-headline-font: Roboto, sans-serif;--mat-table-header-headline-line-height: 22px;--mat-table-header-headline-size: 14px;--mat-table-header-headline-weight: 500;--mat-table-header-headline-tracking: .0071428571em;--mat-table-row-item-label-text-font: Roboto, sans-serif;--mat-table-row-item-label-text-line-height: 20px;--mat-table-row-item-label-text-size: 14px;--mat-table-row-item-label-text-weight: 400;--mat-table-row-item-label-text-tracking: .0178571429em;--mat-table-footer-supporting-text-font: Roboto, sans-serif;--mat-table-footer-supporting-text-line-height: 20px;--mat-table-footer-supporting-text-size: 14px;--mat-table-footer-supporting-text-weight: 400;--mat-table-footer-supporting-text-tracking: .0178571429em;--mdc-circular-progress-active-indicator-width: 4px;--mdc-circular-progress-size: 48px;--mdc-circular-progress-active-indicator-color: #607d8b}html .mat-accent{--mdc-circular-progress-active-indicator-color: #eeeeee}html .mat-warn{--mdc-circular-progress-active-indicator-color: #f44336}.mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;border-radius:50%;transition:transform .2s ease-in-out;transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;background-color:var(--mat-badge-background-color);color:var(--mat-badge-text-color);font-family:Roboto,sans-serif;font-family:var(--mat-badge-text-font, Roboto, sans-serif);font-size:12px;font-size:var(--mat-badge-text-size, 12px);font-weight:600;font-weight:var(--mat-badge-text-weight, 600)}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color)}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px;font-size:9px;font-size:var(--mat-badge-small-size-text-size, 9px)}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px;font-size:24px;font-size:var(--mat-badge-large-size-text-size, 24px)}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}html{--mat-badge-background-color: #607d8b;--mat-badge-text-color: white;--mat-badge-disabled-state-background-color: #b9b9b9;--mat-badge-disabled-state-text-color: rgba(0, 0, 0, .38)}.mat-badge-accent{--mat-badge-background-color: #eeeeee;--mat-badge-text-color: rgba(0, 0, 0, .87)}.mat-badge-warn{--mat-badge-background-color: #f44336;--mat-badge-text-color: white}html{--mat-badge-text-font: Roboto, sans-serif;--mat-badge-text-size: 12px;--mat-badge-text-weight: 600;--mat-badge-small-size-text-size: 9px;--mat-badge-large-size-text-size: 24px;--mat-bottom-sheet-container-shape: 4px;--mat-bottom-sheet-container-text-color: rgba(0, 0, 0, .87);--mat-bottom-sheet-container-background-color: white;--mat-bottom-sheet-container-text-font: Roboto, sans-serif;--mat-bottom-sheet-container-text-line-height: 20px;--mat-bottom-sheet-container-text-size: 14px;--mat-bottom-sheet-container-text-tracking: .0178571429em;--mat-bottom-sheet-container-text-weight: 400;--mat-legacy-button-toggle-height: 36px;--mat-legacy-button-toggle-shape: 2px;--mat-legacy-button-toggle-focus-state-layer-opacity: 1;--mat-standard-button-toggle-shape: 4px;--mat-standard-button-toggle-hover-state-layer-opacity: .04;--mat-standard-button-toggle-focus-state-layer-opacity: .12;--mat-legacy-button-toggle-text-color: rgba(0, 0, 0, .38);--mat-legacy-button-toggle-state-layer-color: rgba(0, 0, 0, .12);--mat-legacy-button-toggle-selected-state-text-color: rgba(0, 0, 0, .54);--mat-legacy-button-toggle-selected-state-background-color: #e0e0e0;--mat-legacy-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-legacy-button-toggle-disabled-state-background-color: #eeeeee;--mat-legacy-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-background-color: white;--mat-standard-button-toggle-state-layer-color: black;--mat-standard-button-toggle-selected-state-background-color: #e0e0e0;--mat-standard-button-toggle-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-standard-button-toggle-disabled-state-background-color: white;--mat-standard-button-toggle-disabled-selected-state-text-color: rgba(0, 0, 0, .87);--mat-standard-button-toggle-disabled-selected-state-background-color: #bdbdbd;--mat-standard-button-toggle-divider-color: #e0e0e0;--mat-standard-button-toggle-height: 48px;--mat-legacy-button-toggle-text-font: Roboto, sans-serif;--mat-standard-button-toggle-text-font: Roboto, sans-serif;--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #607d8b;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(96, 125, 139, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(96, 125, 139, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(96, 125, 139, .3);--mat-datepicker-toggle-active-state-icon-color: #607d8b;--mat-datepicker-calendar-date-in-range-state-background-color: rgba(96, 125, 139, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e;--mat-datepicker-toggle-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-body-label-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-period-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-navigation-button-icon-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-header-divider-color: rgba(0, 0, 0, .12);--mat-datepicker-calendar-header-text-color: rgba(0, 0, 0, .54);--mat-datepicker-calendar-date-today-outline-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-today-disabled-state-outline-color: rgba(0, 0, 0, .18);--mat-datepicker-calendar-date-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-outline-color: transparent;--mat-datepicker-calendar-date-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-date-preview-state-outline-color: rgba(0, 0, 0, .24);--mat-datepicker-range-input-separator-color: rgba(0, 0, 0, .87);--mat-datepicker-range-input-disabled-state-separator-color: rgba(0, 0, 0, .38);--mat-datepicker-range-input-disabled-state-text-color: rgba(0, 0, 0, .38);--mat-datepicker-calendar-container-background-color: white;--mat-datepicker-calendar-container-text-color: rgba(0, 0, 0, .87)}.mat-datepicker-content.mat-accent{--mat-datepicker-calendar-date-selected-state-text-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-selected-state-background-color: #eeeeee;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(238, 238, 238, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: rgba(0, 0, 0, .87);--mat-datepicker-calendar-date-focus-state-background-color: rgba(238, 238, 238, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(238, 238, 238, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(238, 238, 238, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-content.mat-warn{--mat-datepicker-calendar-date-selected-state-text-color: white;--mat-datepicker-calendar-date-selected-state-background-color: #f44336;--mat-datepicker-calendar-date-selected-disabled-state-background-color: rgba(244, 67, 54, .4);--mat-datepicker-calendar-date-today-selected-state-outline-color: white;--mat-datepicker-calendar-date-focus-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-hover-state-background-color: rgba(244, 67, 54, .3);--mat-datepicker-calendar-date-in-range-state-background-color: rgba(244, 67, 54, .2);--mat-datepicker-calendar-date-in-comparison-range-state-background-color: rgba(249, 171, 0, .2);--mat-datepicker-calendar-date-in-overlap-range-state-background-color: #a8dab5;--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color: #46a35e}.mat-datepicker-toggle-active.mat-accent{--mat-datepicker-toggle-active-state-icon-color: #eeeeee}.mat-datepicker-toggle-active.mat-warn{--mat-datepicker-toggle-active-state-icon-color: #f44336}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base{--mdc-icon-button-state-layer-size: 40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-calendar-controls .mat-mdc-icon-button.mat-mdc-button-base .mat-mdc-button-touch-target{display:none}html{--mat-datepicker-calendar-text-font: Roboto, sans-serif;--mat-datepicker-calendar-text-size: 13px;--mat-datepicker-calendar-body-label-text-size: 14px;--mat-datepicker-calendar-body-label-text-weight: 500;--mat-datepicker-calendar-period-button-text-size: 14px;--mat-datepicker-calendar-period-button-text-weight: 500;--mat-datepicker-calendar-header-text-size: 11px;--mat-datepicker-calendar-header-text-weight: 400;--mat-divider-width: 1px;--mat-divider-color: rgba(0, 0, 0, .12);--mat-expansion-container-shape: 4px;--mat-expansion-container-background-color: white;--mat-expansion-container-text-color: rgba(0, 0, 0, .87);--mat-expansion-actions-divider-color: rgba(0, 0, 0, .12);--mat-expansion-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-expansion-header-disabled-state-text-color: rgba(0, 0, 0, .26);--mat-expansion-header-text-color: rgba(0, 0, 0, .87);--mat-expansion-header-description-color: rgba(0, 0, 0, .54);--mat-expansion-header-indicator-color: rgba(0, 0, 0, .54);--mat-expansion-header-collapsed-state-height: 48px;--mat-expansion-header-expanded-state-height: 64px;--mat-expansion-header-text-font: Roboto, sans-serif;--mat-expansion-header-text-size: 14px;--mat-expansion-header-text-weight: 500;--mat-expansion-header-text-line-height: inherit;--mat-expansion-header-text-tracking: inherit;--mat-expansion-container-text-font: Roboto, sans-serif;--mat-expansion-container-text-line-height: 20px;--mat-expansion-container-text-size: 14px;--mat-expansion-container-text-tracking: .0178571429em;--mat-expansion-container-text-weight: 400;--mat-grid-list-tile-header-primary-text-size: 14px;--mat-grid-list-tile-header-secondary-text-size: 12px;--mat-grid-list-tile-footer-primary-text-size: 14px;--mat-grid-list-tile-footer-secondary-text-size: 12px;--mat-icon-color: inherit}.mat-icon.mat-primary{--mat-icon-color: #607d8b}.mat-icon.mat-accent{--mat-icon-color: #eeeeee}.mat-icon.mat-warn{--mat-icon-color: #f44336}html{--mat-sidenav-container-shape: 0;--mat-sidenav-container-divider-color: rgba(0, 0, 0, .12);--mat-sidenav-container-background-color: white;--mat-sidenav-container-text-color: rgba(0, 0, 0, .87);--mat-sidenav-content-background-color: #fafafa;--mat-sidenav-content-text-color: rgba(0, 0, 0, .87);--mat-sidenav-scrim-color: rgba(0, 0, 0, .6);--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #607d8b;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #607d8b;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #607d8b;--mat-stepper-header-edit-state-icon-foreground-color: white;--mat-stepper-container-color: white;--mat-stepper-line-color: rgba(0, 0, 0, .12);--mat-stepper-header-hover-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-focus-state-layer-color: rgba(0, 0, 0, .04);--mat-stepper-header-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-optional-label-text-color: rgba(0, 0, 0, .54);--mat-stepper-header-selected-state-label-text-color: rgba(0, 0, 0, .87);--mat-stepper-header-error-state-label-text-color: #f44336;--mat-stepper-header-icon-background-color: rgba(0, 0, 0, .54);--mat-stepper-header-error-state-icon-foreground-color: #f44336;--mat-stepper-header-error-state-icon-background-color: transparent}html .mat-step-header.mat-accent{--mat-stepper-header-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-selected-state-icon-background-color: #eeeeee;--mat-stepper-header-selected-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-done-state-icon-background-color: #eeeeee;--mat-stepper-header-done-state-icon-foreground-color: rgba(0, 0, 0, .87);--mat-stepper-header-edit-state-icon-background-color: #eeeeee;--mat-stepper-header-edit-state-icon-foreground-color: rgba(0, 0, 0, .87)}html .mat-step-header.mat-warn{--mat-stepper-header-icon-foreground-color: white;--mat-stepper-header-selected-state-icon-background-color: #f44336;--mat-stepper-header-selected-state-icon-foreground-color: white;--mat-stepper-header-done-state-icon-background-color: #f44336;--mat-stepper-header-done-state-icon-foreground-color: white;--mat-stepper-header-edit-state-icon-background-color: #f44336;--mat-stepper-header-edit-state-icon-foreground-color: white}html{--mat-stepper-header-height: 72px;--mat-stepper-container-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-font: Roboto, sans-serif;--mat-stepper-header-label-text-size: 14px;--mat-stepper-header-label-text-weight: 400;--mat-stepper-header-error-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-size: 16px;--mat-stepper-header-selected-state-label-text-weight: 400;--mat-sort-arrow-color: #757575;--mat-toolbar-container-background-color: whitesmoke;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-primary{--mat-toolbar-container-background-color: #607d8b;--mat-toolbar-container-text-color: white}.mat-toolbar.mat-accent{--mat-toolbar-container-background-color: #eeeeee;--mat-toolbar-container-text-color: rgba(0, 0, 0, .87)}.mat-toolbar.mat-warn{--mat-toolbar-container-background-color: #f44336;--mat-toolbar-container-text-color: white}html{--mat-toolbar-standard-height: 64px;--mat-toolbar-mobile-height: 56px;--mat-toolbar-title-text-font: Roboto, sans-serif;--mat-toolbar-title-text-line-height: 32px;--mat-toolbar-title-text-size: 20px;--mat-toolbar-title-text-tracking: .0125em;--mat-toolbar-title-text-weight: 500;--mat-tree-container-background-color: white;--mat-tree-node-text-color: rgba(0, 0, 0, .87);--mat-tree-node-min-height: 48px;--mat-tree-node-text-font: Roboto, sans-serif;--mat-tree-node-text-size: 14px;--mat-tree-node-text-weight: 400}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"\201c""\201d""\2018""\2019";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px 0 rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.form-checkbox,.form-radio{appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}.form-checkbox{border-radius:0}.form-checkbox:focus,.form-radio:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.form-checkbox:checked,.form-radio:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}.form-checkbox:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){.form-checkbox:checked{appearance:auto}}.form-checkbox:checked:hover,.form-checkbox:checked:focus,.form-radio:checked:hover,.form-radio:checked:focus{border-color:transparent;background-color:currentColor}.form-checkbox:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){.form-checkbox:indeterminate{appearance:auto}}.form-checkbox:indeterminate:hover,.form-checkbox:indeterminate:focus{border-color:transparent;background-color:currentColor}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.-left-3{left:-.75rem}.-left-3\.5{left:-.875rem}.-left-4{left:-1rem}.-top-3{top:-.75rem}.-top-3\.5{top:-.875rem}.-top-4{top:-1rem}.left-0{left:0}.right-0{right:0}.right-1{right:.25rem}.right-px{right:1px}.top-0{top:0}.top-1{top:.25rem}.\!m-0{margin:0!important}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-top:1rem;margin-bottom:1rem}.\!mb-4{margin-bottom:1rem!important}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mr-2{margin-right:.5rem}.mt-1{margin-top:.25rem}.box-border{box-sizing:border-box}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.list-item{display:list-item}.hidden{display:none}.h-10{height:2.5rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-48{height:12rem}.h-6{height:1.5rem}.h-\[1em\]{height:1em}.h-full{height:100%}.w-10{width:2.5rem}.w-2{width:.5rem}.w-3{width:.75rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-96{width:24rem}.w-\[1em\]{width:1em}.w-full{width:100%}.min-w-0{min-width:0px}.flex-1{flex:1 1 0%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-auto{overflow:auto}.overscroll-none{overscroll-behavior:none}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-none{border-style:none}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-nord10{--tw-border-opacity: 1;border-color:rgb(94 129 172 / var(--tw-border-opacity))}.border-nord4{--tw-border-opacity: 1;border-color:rgb(216 222 233 / var(--tw-border-opacity))}.border-b-blue-50{--tw-border-opacity: 1;border-bottom-color:rgb(239 246 255 / var(--tw-border-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-nord8{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pl-4{padding-left:1rem}.pt-10{padding-top:2.5rem}.align-text-top{vertical-align:text-top}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-base{font-size:1rem!important;line-height:1.5rem!important}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-light{font-weight:300}.font-medium{font-weight:500}.leading-6{line-height:1.5rem}.tracking-tight{letter-spacing:-.025em}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-nord-10,.text-nord10{--tw-text-opacity: 1;color:rgb(94 129 172 / var(--tw-text-opacity))}.text-nord8{--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}html,body{height:100%;margin:0;padding:0}.prose table{width:calc(100% - 2rem)!important}li p{margin:0!important;line-height:1.5rem!important}:is(.dark .dark\:prose-invert){--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: var(--tw-prose-invert-links);--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}@media (min-width: 1024px){.lg\:prose-xl{font-size:1.25rem;line-height:1.8}.lg\:prose-xl :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em}.lg\:prose-xl :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2em;line-height:1.5;margin-top:1em;margin-bottom:1em}.lg\:prose-xl :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:1.6em;padding-left:1.0666667em}.lg\:prose-xl :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.8em;margin-top:0;margin-bottom:.8571429em;line-height:1}.lg\:prose-xl :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.8em;margin-top:1.5555556em;margin-bottom:.8888889em;line-height:1.1111111}.lg\:prose-xl :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.5em;margin-top:1.6em;margin-bottom:.6666667em;line-height:1.3333333}.lg\:prose-xl :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.8em;margin-bottom:.6em;line-height:1.6}.lg\:prose-xl :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\:prose-xl :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;border-radius:.3125rem;padding:.25em .4em}.lg\:prose-xl :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\:prose-xl :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8611111em}.lg\:prose-xl :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.lg\:prose-xl :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.7777778;margin-top:2em;margin-bottom:2em;border-radius:.5rem;padding:1.1111111em 1.3333333em}.lg\:prose-xl :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\:prose-xl :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em;padding-left:1.6em}.lg\:prose-xl :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6em;margin-bottom:.6em}.lg\:prose-xl :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4em}.lg\:prose-xl :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8em;margin-bottom:.8em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(.lg\:prose-xl>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.2em}.lg\:prose-xl :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.8em;margin-bottom:.8em}.lg\:prose-xl :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em;margin-bottom:1.2em}.lg\:prose-xl :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.2em}.lg\:prose-xl :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.6em;padding-left:1.6em}.lg\:prose-xl :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8em;margin-bottom:2.8em}.lg\:prose-xl :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.5555556}.lg\:prose-xl :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:.6666667em;padding-bottom:.8888889em;padding-left:.6666667em}.lg\:prose-xl :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.lg\:prose-xl :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.lg\:prose-xl :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.8888889em .6666667em}.lg\:prose-xl :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.lg\:prose-xl :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.lg\:prose-xl :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.lg\:prose-xl :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.lg\:prose-xl :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em;line-height:1.5555556;margin-top:1em}.lg\:prose-xl :where(.lg\:prose-xl>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.lg\:prose-xl :where(.lg\:prose-xl>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}@media (hover: hover) and (pointer: fine){.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-nord8:hover{--tw-bg-opacity: 1;background-color:rgb(136 192 208 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}}.focus\:border-indigo-300:focus{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.focus\:ring:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-indigo-200\/50:focus{--tw-ring-color: rgb(199 210 254 / .5)}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}:is(.dark .dark\:divide-gray-600)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(75 85 99 / var(--tw-divide-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-nord8){--tw-border-opacity: 1;border-color:rgb(136 192 208 / var(--tw-border-opacity))}:is(.dark .dark\:bg-black){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-nord9){--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:text-gray-50){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is(.dark .dark\:text-nord-9){--tw-text-opacity: 1;color:rgb(129 161 193 / var(--tw-text-opacity))}:is(.dark .dark\:text-nord8){--tw-text-opacity: 1;color:rgb(136 192 208 / var(--tw-text-opacity))}@media (hover: hover) and (pointer: fine){:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-nord9):hover{--tw-bg-opacity: 1;background-color:rgb(129 161 193 / var(--tw-bg-opacity))}}