@solibo/solibo-ui 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -0
- package/dist/assets/index21.css +0 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index49.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index50.css +1 -1
- package/dist/assets/index51.css +1 -1
- package/dist/assets/index52.css +1 -0
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/components/app-link/index.cjs +1 -1
- package/dist/components/app-link/index.js +1 -1
- package/dist/components/aside/index.cjs +1 -1
- package/dist/components/aside/index.js +16 -16
- package/dist/components/avatar/index.cjs +1 -1
- package/dist/components/avatar/index.cjs.map +1 -1
- package/dist/components/avatar/index.js +64 -44
- package/dist/components/avatar/index.js.map +1 -1
- package/dist/components/badge/index.cjs +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/banner/index.cjs +1 -1
- package/dist/components/banner/index.js +1 -1
- package/dist/components/branding/index.cjs +1 -1
- package/dist/components/branding/index.js +1 -1
- package/dist/components/button/index.cjs +1 -1
- package/dist/components/button/index.js +10 -10
- package/dist/components/card/index.cjs +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/checkbox/index.cjs +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/chip/index.cjs +1 -1
- package/dist/components/chip/index.js +1 -1
- package/dist/components/collapsible/index.cjs +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/controls/index.cjs +1 -1
- package/dist/components/controls/index.js +1 -1
- package/dist/components/croppable/index.cjs +1 -1
- package/dist/components/croppable/index.js +1 -1
- package/dist/components/dialog/index.cjs +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown/index.cjs +1 -1
- package/dist/components/dropdown/index.js +3 -3
- package/dist/components/dropzone/index.cjs +1 -1
- package/dist/components/dropzone/index.js +1 -1
- package/dist/components/editor/index.cjs +25 -25
- package/dist/components/editor/index.cjs.map +1 -1
- package/dist/components/editor/index.js +2606 -2588
- package/dist/components/editor/index.js.map +1 -1
- package/dist/components/empty-state/index.cjs +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/fieldset/index.cjs +1 -1
- package/dist/components/fieldset/index.js +1 -1
- package/dist/components/figure/index.cjs +1 -1
- package/dist/components/figure/index.js +1 -1
- package/dist/components/file/index.cjs +1 -1
- package/dist/components/file/index.js +1 -1
- package/dist/components/footer/index.cjs +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/form/index.cjs +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/graph/index.cjs +1 -1
- package/dist/components/graph/index.js +1 -1
- package/dist/components/group/index.cjs +1 -1
- package/dist/components/group/index.js +1 -1
- package/dist/components/header/index.cjs +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/icon/index.cjs +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/iframe/index.cjs +1 -1
- package/dist/components/iframe/index.js +1 -1
- package/dist/components/image/index.cjs +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/input/index.cjs +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/link/index.cjs +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.cjs +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/loading/index.cjs +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/menu/index.cjs +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message/index.cjs +1 -1
- package/dist/components/message/index.js +1 -1
- package/dist/components/messages/index.cjs +1 -1
- package/dist/components/messages/index.js +1 -1
- package/dist/components/nav/index.cjs +1 -1
- package/dist/components/nav/index.js +17 -17
- package/dist/components/object/index.cjs +1 -1
- package/dist/components/object/index.js +1 -1
- package/dist/components/popover/index.cjs +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/portal/index.cjs +1 -1
- package/dist/components/portal/index.js +18 -18
- package/dist/components/search/index.cjs +1 -1
- package/dist/components/search/index.js +2 -2
- package/dist/components/select/index.cjs +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sortable/index.cjs +1 -1
- package/dist/components/sortable/index.js +1 -1
- package/dist/components/table/index.cjs +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/textarea/index.cjs +1 -1
- package/dist/components/textarea/index.js +1 -1
- package/dist/components/toast/index.cjs +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toasts/index.cjs +1 -1
- package/dist/components/toasts/index.js +1 -1
- package/dist/components/toggle/index.cjs +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toolbar/index.cjs +1 -1
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/tooltip/index.cjs +2 -0
- package/dist/components/tooltip/index.cjs.map +1 -0
- package/dist/components/tooltip/index.js +21 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/{index-D-AyCDg7.js → index-B9xtLe2w.js} +2 -2
- package/dist/{index-D-AyCDg7.js.map → index-B9xtLe2w.js.map} +1 -1
- package/dist/{index-iItPktfX.cjs → index-CP5A_BGJ.cjs} +2 -2
- package/dist/{index-iItPktfX.cjs.map → index-CP5A_BGJ.cjs.map} +1 -1
- package/dist/{index-DS2cY2g4.js → index-DFXqYJat.js} +2 -2
- package/dist/{index-DS2cY2g4.js.map → index-DFXqYJat.js.map} +1 -1
- package/dist/{index-BOkkyMbX.cjs → index-N4IMha5Q.cjs} +2 -2
- package/dist/{index-BOkkyMbX.cjs.map → index-N4IMha5Q.cjs.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +30 -15
- package/dist/index.js +14 -12
- package/dist/index.js.map +1 -1
- package/dist/tokens.json +1 -1
- package/package.json +1 -1
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
"use strict";require('../../assets/
|
|
1
|
+
"use strict";require('../../assets/index41.css');var g0=Object.defineProperty;var m0=(n,e,t)=>e in n?g0(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var yn=(n,e,t)=>m0(n,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("react/jsx-runtime"),q=require("react"),zs=require("react-dom"),ri=require("../../classix-5H4IWnMA.cjs"),b0=require("../file/index.cjs"),Ue=require("../button/index.cjs"),y0=require("../dropzone/index.cjs"),ze=require("../icon/index.cjs"),$s=require("../../index-CP5A_BGJ.cjs"),_0=require("../toolbar/index.cjs");function x0(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const ju=x0(q);function dn(n){return{}}const gu={},v0={},Oa={},It={},en={},Mn={},tn={},mu={},ui={},Rn={},Bn={},Ge={},Ki={},Ji={},w0={},Ia={},S0={},Pa={},T0={},La={},Da={},Ur={},C0={},Ma={},Ra={},Ba={},E0={},k0={},N0={},Ws={},Fa={},A0={},ja={},qa={},O0={},bu={},Xi={},ii={},I0={},P0={},mr={},br={},L0={},D0={},M0={},Fe=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,R0=Fe&&"documentMode"in document?document.documentMode:null,Pe=Fe&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),_t=Fe&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),zr=!(!Fe||!("InputEvent"in window)||R0)&&"getTargetRanges"in new window.InputEvent("input"),yu=Fe&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Xn=Fe&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,B0=Fe&&/Android/.test(navigator.userAgent),Ua=Fe&&/^(?=.*Chrome).*/i.test(navigator.userAgent),F0=Fe&&B0&&Ua,Zi=Fe&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!Ua,Zn=1,wt=3,Lt=0,za=1,un=2,j0=0,q0=1,U0=2,$r=4,Wr=8,Qi=128,z0=112|(3|$r|Wr)|Qi,Yi=1,es=2,ts=3,ns=4,rs=5,us=6,_u=yu||Xn||Zi?" ":"",rt=`
|
|
2
2
|
|
|
3
|
-
`,z0=_t?" ":mu,qa="֑-߿יִ-﷽ﹰ-ﻼ",Ua="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",$0=new RegExp("^[^"+Ua+"]*["+qa+"]"),W0=new RegExp("^[^"+qa+"]*["+Ua+"]"),Dt={bold:1,code:16,highlight:Ki,italic:2,strikethrough:qr,subscript:32,superscript:64,underline:Ur},H0={directionless:1,unmergeable:2},zs={center:Xi,end:es,justify:Qi,left:Ji,right:Zi,start:Yi},V0={[Xi]:"center",[es]:"end",[Qi]:"justify",[Ji]:"left",[Zi]:"right",[Yi]:"start"},G0={normal:0,segmented:2,token:1},K0={[F0]:"normal",[q0]:"segmented",[j0]:"token"};function J0(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var M=J0(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function zr(...n){const e=[];for(const t of n)if(t&&typeof t=="string")for(const[r]of t.matchAll(/\S+/g))e.push(r);return e}const X0=100;let ri=!1,ts=0;function Z0(n){ts=n.timeStamp}function Bu(n,e,t){const r=n.nodeName==="BR",u=e.__lexicalLineBreak;return u&&(n===u||r&&n.previousSibling===u)||r&&yu(n,t)!==void 0}function Q0(n,e,t){const r=Oe(t._window);let u=null,i=null;r!==null&&r.anchorNode===n&&(u=r.anchorOffset,i=r.focusOffset);const s=n.nodeValue;s!==null&&ss(e,s,u,i,!1)}function Y0(n,e,t){if(L(n)){const r=n.anchor.getNode();if(r.is(t)&&n.format!==r.getFormat())return!1}return e.nodeType===wt&&t.isAttached()}function ef(n,e,t,r){for(let u=n;u&&!gf(u);u=Zn(u)){const i=yu(u,e);if(i!==void 0){const s=ce(i,t);if(s)return te(s)?void 0:[u,s]}else if(u===r)return[r,Xa(t)]}}function za(n,e,t){ri=!0;const r=performance.now()-ts>X0;try{Ce(n,()=>{const u=j()||function(c){return c.getEditorState().read(()=>{const d=j();return d!==null?d.clone():null})}(n),i=new Map,s=n.getRootElement(),o=n._editorState,a=n._blockCursorElement;let l=!1,f="";for(let c=0;c<e.length;c++){const d=e[c],p=d.type,m=d.target,g=ef(m,n,o,s);if(!g)continue;const[y,b]=g;if(p==="characterData")r&&D(b)&&Y0(u,m,b)&&Q0(m,b,n);else if(p==="childList"){l=!0;const x=d.addedNodes;for(let T=0;T<x.length;T++){const E=x[T],S=Ka(E),P=E.parentNode;if(P!=null&&E!==a&&S===null&&!Bu(E,P,n)){if(_t){const z=E.innerText||E.nodeValue;z&&(f+=z)}P.removeChild(E)}}const w=d.removedNodes,C=w.length;if(C>0){let T=0;for(let E=0;E<C;E++){const S=w[E];(Bu(S,m,n)||a===S)&&(m.appendChild(S),T++)}C!==T&&i.set(y,b)}}}if(i.size>0)for(const[c,d]of i)d.reconcileObservedMutation(c,n);const h=t.takeRecords();if(h.length>0){for(let c=0;c<h.length;c++){const d=h[c],p=d.addedNodes,m=d.target;for(let g=0;g<p.length;g++){const y=p[g],b=y.parentNode;b==null||y.nodeName!=="BR"||Bu(y,m,n)||b.removeChild(y)}}t.takeRecords()}u!==null&&(l&&(u.dirty=!0,Ae(u)),_t&&el(n)&&u.insertRawText(f))})}finally{ri=!1}}function $a(n){const e=n._observer;e!==null&&za(n,e.takeRecords(),e)}function Wa(n){(function(e){ts===0&&xu(e).addEventListener("textInput",Z0,!0)})(n),n._observer=new MutationObserver((e,t)=>{za(n,e,t)})}function $s(n,e){const t=n.__mode,r=n.__format,u=n.__style,i=e.__mode,s=e.__format,o=e.__style;return!(t!==null&&t!==i||r!==null&&r!==s||u!==null&&u!==o)}function Ws(n,e){const t=n.mergeWithSibling(e),r=ue()._normalizedNodes;return r.add(n.__key),r.add(e.__key),t}function Hs(n){let e,t,r=n;if(r.__text!==""||!r.isSimpleText()||r.isUnmergeable()){for(;(e=r.getPreviousSibling())!==null&&D(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(e.__text!==""){if($s(e,r)){r=Ws(e,r);break}break}e.remove()}for(;(t=r.getNextSibling())!==null&&D(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(t.__text!==""){if($s(r,t)){r=Ws(r,t);break}break}t.remove()}}else r.remove()}function Ha(n){return Vs(n.anchor),Vs(n.focus),n}function Vs(n){for(;n.type==="element";){const e=n.getNode(),t=n.offset;let r,u;if(t===e.getChildrenSize()?(r=e.getChildAtIndex(t-1),u=!0):(r=e.getChildAtIndex(t),u=!1),D(r)){n.set(r.__key,u?r.getTextContentSize():0,"text");break}if(!k(r))break;n.set(r.__key,u?r.getChildrenSize():0,"element")}}let tf=1;const nf=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function ns(n){const e=document.activeElement;if(e===null)return!1;const t=e.nodeName;return te(un(n))&&(t==="INPUT"||t==="TEXTAREA"||e.contentEditable==="true"&&bu(e)==null)}function Xn(n,e,t){const r=n.getRootElement();try{return r!==null&&r.contains(e)&&r.contains(t)&&e!==null&&!ns(e)&&Va(e)===n}catch{return!1}}function rs(n){return n instanceof Cu}function Va(n){let e=n;for(;e!=null;){const t=bu(e);if(rs(t))return t;e=Zn(e)}return null}function bu(n){return n?n.__lexicalEditor:null}function At(n){return n.isToken()||n.isSegmented()}function rf(n){return n.nodeType===wt}function $r(n){let e=n;for(;e!=null;){if(rf(e))return e;e=e.firstChild}return null}function Wr(n,e,t){const r=Dt[e];if(t!==null&&(n&r)==(t&r))return n;let u=n^r;return e==="subscript"?u&=-65:e==="superscript"&&(u&=-33),u}function Ga(n){return D(n)||xt(n)||te(n)}function uf(n,e){if(e!=null)return void(n.__key=e);xe(),xl();const t=ue(),r=ot(),u=""+tf++;r._nodeMap.set(u,n),k(n)?t._dirtyElements.set(u,!0):t._dirtyLeaves.add(u),t._cloneNotNeeded.add(u),t._dirtyType=ja,n.__key=u}function Pt(n){const e=n.getParent();if(e!==null){const t=n.getWritable(),r=e.getWritable(),u=n.getPreviousSibling(),i=n.getNextSibling();if(u===null)if(i!==null){const s=i.getWritable();r.__first=i.__key,s.__prev=null}else r.__first=null;else{const s=u.getWritable();if(i!==null){const o=i.getWritable();o.__prev=s.__key,s.__next=o.__key}else s.__next=null;t.__prev=null}if(i===null)if(u!==null){const s=u.getWritable();r.__last=u.__key,s.__next=null}else r.__last=null;else{const s=i.getWritable();if(u!==null){const o=u.getWritable();o.__next=s.__key,s.__prev=o.__key}else s.__prev=null;t.__next=null}r.__size--,t.__parent=null}}function Hr(n){xl();const e=n.getLatest(),t=e.__parent,r=ot(),u=ue(),i=r._nodeMap,s=u._dirtyElements;t!==null&&function(a,l,f){let h=a;for(;h!==null;){if(f.has(h))return;const c=l.get(h);if(c===void 0)break;f.set(h,!1),h=c.__parent}}(t,i,s);const o=e.__key;u._dirtyType=ja,k(n)?s.set(o,!0):u._dirtyLeaves.add(o)}function pe(n){xe();const e=ue(),t=e._compositionKey;if(n!==t){if(e._compositionKey=n,t!==null){const r=ce(t);r!==null&&r.getWritable()}if(n!==null){const r=ce(n);r!==null&&r.getWritable()}}}function gt(){return nr()?null:ue()._compositionKey}function ce(n,e){const t=(e||ot())._nodeMap.get(n);return t===void 0?null:t}function Ka(n,e){const t=yu(n,ue());return t!==void 0?ce(t,e):null}function yu(n,e){return n[`__lexicalKey_${e._key}`]}function un(n,e){let t=n;for(;t!=null;){const r=Ka(t,e);if(r!==null)return r;t=Zn(t)}return null}function Ja(n){const e=n._decorators,t=Object.assign({},e);return n._pendingDecorators=t,t}function Gs(n){return n.read(()=>ie().getTextContent())}function ie(){return Xa(ot())}function Xa(n){return n._nodeMap.get("root")}function Ae(n){xe();const e=ot();n!==null&&(n.dirty=!0,n.setCachedNodes(null)),e._selection=n}function Zt(n){const e=ue(),t=function(r,u){let i=r;for(;i!=null;){const s=yu(i,u);if(s!==void 0)return s;i=Zn(i)}return null}(n,e);return t===null?n===e.getRootElement()?ce("root"):null:ce(t)}function Ks(n,e){return e?n.getTextContentSize():0}function Za(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function us(n){const e=[];let t=n;for(;t!==null;)e.push(t),t=t._parentEditor;return e}function Qa(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function Ya(n){return n.nodeType===wt?n.nodeValue:null}function is(n,e,t){const r=Oe(e._window);if(r===null)return;const u=r.anchorNode;let{anchorOffset:i,focusOffset:s}=r;if(u!==null){let o=Ya(u);const a=un(u);if(o!==null&&D(a)){if(o===mu&&t){const l=t.length;o=t,i=l,s=l}o!==null&&ss(a,o,i,s,n)}}}function ss(n,e,t,r,u){let i=n;if(i.isAttached()&&(u||!i.isDirty())){const s=i.isComposing();let o=e;(s||u)&&e[e.length-1]===mu&&(o=e.slice(0,-1));const a=i.getTextContent();if(u||o!==a){if(o===""){if(pe(null),gu||Kn||Gi)i.remove();else{const m=ue();setTimeout(()=>{m.update(()=>{i.isAttached()&&i.remove()})},20)}return}const l=i.getParent(),f=tr(),h=i.getTextContentSize(),c=gt(),d=i.getKey();if(i.isToken()||c!==null&&d===c&&!s||L(f)&&(l!==null&&!l.canInsertTextBefore()&&f.anchor.offset===0||f.anchor.key===n.__key&&f.anchor.offset===0&&!i.canInsertTextBefore()&&!s||f.focus.key===n.__key&&f.focus.offset===h&&!i.canInsertTextAfter()&&!s))return void i.markDirty();const p=j();if(!L(p)||t===null||r===null)return void i.setTextContent(o);if(p.setTextNodeRange(i,t,i,r),i.isSegmented()){const m=oe(i.getTextContent());i.replace(m),i=m}i.setTextContent(o)}}}function sf(n,e){if(e.isSegmented())return!0;if(!n.isCollapsed())return!1;const t=n.anchor.offset,r=e.getParentOrThrow(),u=e.isToken();return t===0?!e.canInsertTextBefore()||!r.canInsertTextBefore()&&!e.isComposing()||u||function(i){const s=i.getPreviousSibling();return(D(s)||k(s)&&s.isInline())&&!s.canInsertTextAfter()}(e):t===e.getTextContentSize()&&(!e.canInsertTextAfter()||!r.canInsertTextAfter()&&!e.isComposing()||u)}function Js(n){return n==="ArrowLeft"}function Xs(n){return n==="ArrowRight"}function Tn(n,e){return Pe?n:e}function Zs(n){return n==="Enter"}function bn(n){return n==="Backspace"}function yn(n){return n==="Delete"}function Qs(n,e,t){return n.toLowerCase()==="a"&&Tn(e,t)}function of(){const n=ie();Ae(Ha(n.select(0,n.getChildrenSize())))}function En(n,e){n.__lexicalClassNameCache===void 0&&(n.__lexicalClassNameCache={});const t=n.__lexicalClassNameCache,r=t[e];if(r!==void 0)return r;const u=n[e];if(typeof u=="string"){const i=zr(u);return t[e]=i,i}return u}function os(n,e,t,r,u){if(t.size===0)return;const i=r.__type,s=r.__key,o=e.get(i);o===void 0&&M(33,i);const a=o.klass;let l=n.get(a);l===void 0&&(l=new Map,n.set(a,l));const f=l.get(s),h=f==="destroyed"&&u==="created";(f===void 0||h)&&l.set(s,h?"updated":u)}function Ys(n,e,t){const r=n.getParent();let u=t,i=n;return r!==null&&(e&&t===0?(u=i.getIndexWithinParent(),i=r):e||t!==i.getChildrenSize()||(u=i.getIndexWithinParent()+1,i=r)),i.getChildAtIndex(e?u-1:u)}function Rn(n,e){const t=n.offset;if(n.type==="element")return Ys(n.getNode(),e,t);{const r=n.getNode();if(e&&t===0||!e&&t===r.getTextContentSize()){const u=e?r.getPreviousSibling():r.getNextSibling();return u===null?Ys(r.getParentOrThrow(),e,r.getIndexWithinParent()+(e?0:1)):u}}return null}function el(n){const e=xu(n).event,t=e&&e.inputType;return t==="insertFromPaste"||t==="insertFromPasteAsQuotation"}function F(n,e,t){return Sl(n,e,t)}function _u(n){return!be(n)&&!n.isLastChild()&&!n.isInline()}function Vr(n,e){const t=n._keyToDOMMap.get(e);return t===void 0&&M(75,e),t}function Zn(n){const e=n.assignedSlot||n.parentElement;return e!==null&&e.nodeType===11?e.host:e}function kn(n,e){let t=n.getParent();for(;t!==null;){if(t.is(e))return!0;t=t.getParent()}return!1}function xu(n){const e=n._window;return e===null&&M(78),e}function af(n){let e=n.getParentOrThrow();for(;e!==null;){if(ut(e))return e;e=e.getParentOrThrow()}return e}function ut(n){return be(n)||k(n)&&n.isShadowRoot()}function St(n){const e=ue(),t=n.constructor.getType(),r=e._nodes.get(t);r===void 0&&M(200,n.constructor.name,t);const{replace:u,replaceWithKlass:i}=r;if(u!==null){const s=u(n),o=s.constructor;return i!==null?s instanceof i||M(201,i.name,i.getType(),o.name,o.getType(),n.constructor.name,t):s instanceof n.constructor&&o!==n.constructor||M(202,o.name,o.getType(),n.constructor.name,t),s.__key===n.__key&&M(203,n.constructor.name,t,o.name,o.getType()),s}return n}function Fu(n,e){!be(n.getParent())||k(e)||te(e)||M(99)}function ju(n){return(te(n)||k(n)&&!n.canBeEmpty())&&!n.isInline()}function as(n,e,t){t.style.removeProperty("caret-color"),e._blockCursorElement=null;const r=n.parentElement;r!==null&&r.removeChild(n)}function lf(n,e,t){let r=n._blockCursorElement;if(L(t)&&t.isCollapsed()&&t.anchor.type==="element"&&e.contains(document.activeElement)){const u=t.anchor,i=u.getNode(),s=u.offset;let o=!1,a=null;if(s===i.getChildrenSize())ju(i.getChildAtIndex(s-1))&&(o=!0);else{const l=i.getChildAtIndex(s);if(l!==null&&ju(l)){const f=l.getPreviousSibling();(f===null||ju(f))&&(o=!0,a=n.getElementByKey(l.__key))}}if(o){const l=n.getElementByKey(i.__key);return r===null&&(n._blockCursorElement=r=function(f){const h=f.theme,c=document.createElement("div");c.contentEditable="false",c.setAttribute("data-lexical-cursor","true");let d=h.blockCursor;if(d!==void 0){if(typeof d=="string"){const p=zr(d);d=h.blockCursor=p}d!==void 0&&c.classList.add(...d)}return c}(n._config)),e.style.caretColor="transparent",void(a===null?l.appendChild(r):l.insertBefore(r,a))}}r!==null&&as(r,n,e)}function Oe(n){return Be?(n||window).getSelection():null}function cf(n){return Ut(n)&&n.tagName==="A"}function Ut(n){return n.nodeType===1}function eo(n){return n.nodeType===11}function ui(n){const e=new RegExp(/^(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|#text)$/,"i");return n.nodeName.match(e)!==null}function Gr(n){const e=new RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return n.nodeName.match(e)!==null}function ht(n){if(te(n)&&!n.isInline())return!0;if(!k(n)||ut(n))return!1;const e=n.getFirstChild(),t=e===null||xt(e)||D(e)||e.isInline();return!n.isInline()&&n.canBeEmpty()!==!1&&t}function _n(n,e){let t=n;for(;t!==null&&t.getParent()!==null&&!e(t);)t=t.getParentOrThrow();return e(t)?t:null}function ff(){return ue()}const to=new WeakMap,df=new Map;function hf(n){if(!n._readOnly&&n.isEmpty())return df;n._readOnly||M(192);let e=to.get(n);if(!e){e=new Map,to.set(n,e);for(const[t,r]of n._nodeMap){const u=r.__type;let i=e.get(u);i||(i=new Map,e.set(u,i)),i.set(t,r)}}return e}function ls(n){const e=n.constructor.clone(n);return e.afterCloneFrom(n),e}function pf(n,e){const t=(parseInt(n.style.paddingInlineStart,10)||0)/40;e.setIndent(t)}function gf(n){return n.__lexicalUnmanaged===!0}function tl(n,e,t,r,u,i){let s=n.getFirstChild();for(;s!==null;){const o=s.__key;s.__parent===e&&(k(s)&&tl(s,o,t,r,u,i),t.has(o)||i.delete(o),u.push(o)),s=s.getNextSibling()}}let vt,ye,Bn,vu,ii,si,Mt,Re,oi,Fn,ae="",me="",ze=null,Le="",et="",nl=!1,jn=!1,Ir=null;function Kr(n,e){const t=Mt.get(n);if(e!==null){const r=ci(n);r.parentNode===e&&e.removeChild(r)}if(Re.has(n)||ye._keyToDOMMap.delete(n),k(t)){const r=Xr(t,Mt);ai(r,0,r.length-1,null)}t!==void 0&&os(Fn,Bn,vu,t,"destroyed")}function ai(n,e,t,r){let u=e;for(;u<=t;++u){const i=n[u];i!==void 0&&Kr(i,r)}}function Nt(n,e){n.setProperty("text-align",e)}const mf="40px";function rl(n,e){const t=vt.theme.indent;if(typeof t=="string"){const u=n.classList.contains(t);e>0&&!u?n.classList.add(t):e<1&&u&&n.classList.remove(t)}const r=getComputedStyle(n).getPropertyValue("--lexical-indent-base-value")||mf;n.style.setProperty("padding-inline-start",e===0?"":`calc(${e} * ${r})`)}function ul(n,e){const t=n.style;e===0?Nt(t,""):e===Ji?Nt(t,"left"):e===Xi?Nt(t,"center"):e===Zi?Nt(t,"right"):e===Qi?Nt(t,"justify"):e===Yi?Nt(t,"start"):e===es&&Nt(t,"end")}function Jr(n,e){const t=Re.get(n);t===void 0&&M(60);const r=t.createDOM(vt,ye);if(function(u,i,s){const o=s._keyToDOMMap;(function(a,l,f){a[`__lexicalKey_${l._key}`]=f})(i,s,u),o.set(u,i)}(n,r,ye),D(t)?r.setAttribute("data-lexical-text","true"):te(t)&&r.setAttribute("data-lexical-decorator","true"),k(t)){const u=t.__indent,i=t.__size;if(u!==0&&rl(r,u),i!==0){const o=i-1;(function(a,l,f,h){const c=me;me="",li(a,f,0,l,f.getDOMSlot(h)),sl(f,h),me=c})(Xr(t,Re),o,t,r)}const s=t.__format;s!==0&&ul(r,s),t.isInline()||il(null,t,r),_u(t)&&(ae+=rt,et+=rt)}else{const u=t.getTextContent();if(te(t)){const i=t.decorate(ye,vt);i!==null&&ol(n,i),r.contentEditable="false"}else D(t)&&(t.isDirectionless()||(me+=u));ae+=u,et+=u}return e!==null&&e.insertChild(r),os(Fn,Bn,vu,t,"created"),r}function li(n,e,t,r,u){const i=ae;ae="";let s=t;for(;s<=r;++s){Jr(n[s],u);const o=Re.get(n[s]);o!==null&&D(o)&&(ze===null&&(ze=o.getFormat()),Le===""&&(Le=o.getStyle()))}_u(e)&&(ae+=rt),u.element.__lexicalTextContent=ae,ae=i+ae}function no(n,e){if(n){const t=n.__last;if(t){const r=e.get(t);if(r)return xt(r)?"line-break":te(r)&&r.isInline()?"decorator":null}return"empty"}return null}function il(n,e,t){const r=no(n,Mt),u=no(e,Re);r!==u&&e.getDOMSlot(t).setManagedLineBreak(u)}function sl(n,e){const t=e.__lexicalDirTextContent||"",r=e.__lexicalDir||"";if(t!==me||r!==Ir){const i=me==="",s=i?Ir:(u=me,$0.test(u)?"rtl":W0.test(u)?"ltr":null);if(s!==r){const o=e.classList,a=vt.theme;let l=r!==null?a[r]:void 0,f=s!==null?a[s]:void 0;if(l!==void 0){if(typeof l=="string"){const h=zr(l);l=a[r]=h}o.remove(...l)}if(s===null||i&&s==="ltr")e.removeAttribute("dir");else{if(f!==void 0){if(typeof f=="string"){const h=zr(f);f=a[s]=h}f!==void 0&&o.add(...f)}e.dir=s}jn||(n.getWritable().__dir=s)}Ir=s,e.__lexicalDirTextContent=me,e.__lexicalDir=s}var u}function bf(n,e,t){const r=me;var u;me="",ze=null,Le="",function(i,s,o){const a=ae,l=i.__size,f=s.__size;ae="";const h=o.element;if(l===1&&f===1){const c=i.__first,d=s.__first;if(c===d)Cn(c,h);else{const m=ci(c),g=Jr(d,null);try{h.replaceChild(g,m)}catch(y){if(typeof y=="object"&&y!=null){const b=`${y.toString()} Parent: ${h.tagName}, new child: {tag: ${g.tagName} key: ${d}}, old child: {tag: ${m.tagName}, key: ${c}}.`;throw new Error(b)}throw y}Kr(c,null)}const p=Re.get(d);D(p)&&(ze===null&&(ze=p.getFormat()),Le===""&&(Le=p.getStyle()))}else{const c=Xr(i,Mt),d=Xr(s,Re);if(c.length!==l&&M(227),d.length!==f&&M(228),l===0)f!==0&&li(d,s,0,f-1,o);else if(f===0){if(l!==0){const p=o.after==null&&o.before==null&&o.element.__lexicalLineBreak==null;ai(c,0,l-1,p?null:h),p&&(h.textContent="")}}else(function(p,m,g,y,b,x){const w=y-1,C=b-1;let T,E,S=x.getFirstChild(),P=0,z=0;for(;P<=w&&z<=C;){const O=m[P],B=g[z];if(O===B)S=qu(Cn(B,x.element)),P++,z++;else{T===void 0&&(T=new Set(m)),E===void 0&&(E=new Set(g));const I=E.has(O),A=T.has(B);if(I)if(A){const q=Vr(ye,B);q===S?S=qu(Cn(B,x.element)):(x.withBefore(S).insertChild(q),Cn(B,x.element)),P++,z++}else Jr(B,x.withBefore(S)),z++;else S=qu(ci(O)),Kr(O,x.element),P++}const _=Re.get(B);_!==null&&D(_)&&(ze===null&&(ze=_.getFormat()),Le===""&&(Le=_.getStyle()))}const v=P>w,N=z>C;if(v&&!N){const O=g[C+1],B=O===void 0?null:ye.getElementByKey(O);li(g,p,z,C,x.withBefore(B))}else N&&!v&&ai(m,P,w,x.element)})(s,c,d,l,f,o)}_u(s)&&(ae+=rt),h.__lexicalTextContent=ae,ae=a+ae}(n,e,e.getDOMSlot(t)),sl(e,t),Bt(u=e)&&ze!=null&&ze!==u.__textFormat&&!jn&&(u.setTextFormat(ze),u.setTextStyle(Le)),function(i){Bt(i)&&Le!==""&&Le!==i.__textStyle&&!jn&&i.setTextStyle(Le)}(e),me=r}function Xr(n,e){const t=[];let r=n.__first;for(;r!==null;){const u=e.get(r);u===void 0&&M(101),t.push(r),r=u.__next}return t}function Cn(n,e){const t=Mt.get(n);let r=Re.get(n);t!==void 0&&r!==void 0||M(61);const u=nl||si.has(n)||ii.has(n),i=Vr(ye,n);if(t===r&&!u){if(k(t)){const s=i.__lexicalTextContent;s!==void 0&&(ae+=s,et+=s);const o=i.__lexicalDirTextContent;o!==void 0&&(me+=o)}else{const s=t.getTextContent();D(t)&&!t.isDirectionless()&&(me+=s),et+=s,ae+=s}return i}if(t!==r&&u&&os(Fn,Bn,vu,r,"updated"),r.updateDOM(t,i,vt)){const s=Jr(n,null);return e===null&&M(62),e.replaceChild(s,i),Kr(n,null),s}if(k(t)&&k(r)){const s=r.__indent;s!==t.__indent&&rl(i,s);const o=r.__format;o!==t.__format&&ul(i,o),u&&(bf(t,r,i),be(r)||r.isInline()||il(t,r,i)),_u(r)&&(ae+=rt,et+=rt)}else{const s=r.getTextContent();if(te(r)){const o=r.decorate(ye,vt);o!==null&&ol(n,o)}else D(r)&&!r.isDirectionless()&&(me+=s);ae+=s,et+=s}if(!jn&&be(r)&&r.__cachedText!==et){const s=r.getWritable();s.__cachedText=et,r=s}return i}function ol(n,e){let t=ye._pendingDecorators;const r=ye._decorators;if(t===null){if(r[n]===e)return;t=Ja(ye)}t[n]=e}function qu(n){let e=n.nextSibling;return e!==null&&e===ye._blockCursorElement&&(e=e.nextSibling),e}function yf(n,e,t,r,u,i){ae="",et="",me="",nl=r===rn,Ir=null,ye=t,vt=t._config,Bn=t._nodes,vu=ye._listeners.mutation,ii=u,si=i,Mt=n._nodeMap,Re=e._nodeMap,jn=e._readOnly,oi=new Map(t._keyToDOMMap);const s=new Map;return Fn=s,Cn("root",null),ye=void 0,Bn=void 0,ii=void 0,si=void 0,Mt=void 0,Re=void 0,vt=void 0,oi=void 0,Fn=void 0,s}function ci(n){const e=oi.get(n);return e===void 0&&M(75,n),e}const Xe=Object.freeze({}),fi=30,di=[["keydown",function(n,e){if(Nn=n.timeStamp,al=n.key,e.isComposing())return;const{key:t,shiftKey:r,ctrlKey:u,metaKey:i,altKey:s}=n;if(!F(e,v0,n)&&t!=null){if(function(o,a,l,f){return Xs(o)&&!a&&!f&&!l}(t,u,s,i))F(e,Na,n);else if(function(o,a,l,f,h){return Xs(o)&&!f&&!l&&(a||h)}(t,u,r,s,i))F(e,w0,n);else if(function(o,a,l,f){return Js(o)&&!a&&!f&&!l}(t,u,s,i))F(e,Aa,n);else if(function(o,a,l,f,h){return Js(o)&&!f&&!l&&(a||h)}(t,u,r,s,i))F(e,S0,n);else if(function(o,a,l){return function(f){return f==="ArrowUp"}(o)&&!a&&!l}(t,u,i))F(e,Oa,n);else if(function(o,a,l){return function(f){return f==="ArrowDown"}(o)&&!a&&!l}(t,u,i))F(e,Ia,n);else if(function(o,a){return Zs(o)&&a}(t,r))An=!0,F(e,Fr,n);else if(function(o){return o===" "}(t))F(e,T0,n);else if(function(o,a){return Pe&&a&&o.toLowerCase()==="o"}(t,u))n.preventDefault(),An=!0,F(e,Yt,!0);else if(function(o,a){return Zs(o)&&!a}(t,r))An=!1,F(e,Fr,n);else if(function(o,a,l,f){return Pe?!a&&!l&&(bn(o)||o.toLowerCase()==="h"&&f):!(f||a||l)&&bn(o)}(t,s,i,u))bn(t)?F(e,Pa,n):(n.preventDefault(),F(e,It,!0));else if(function(o){return o==="Escape"}(t))F(e,La,n);else if(function(o,a,l,f,h){return Pe?!(l||f||h)&&(yn(o)||o.toLowerCase()==="d"&&a):!(a||f||h)&&yn(o)}(t,u,r,s,i))yn(t)?F(e,Da,n):(n.preventDefault(),F(e,It,!1));else if(function(o,a,l){return bn(o)&&(Pe?a:l)}(t,s,u))n.preventDefault(),F(e,Dn,!0);else if(function(o,a,l){return yn(o)&&(Pe?a:l)}(t,s,u))n.preventDefault(),F(e,Dn,!1);else if(function(o,a){return Pe&&a&&bn(o)}(t,i))n.preventDefault(),F(e,Mn,!0);else if(function(o,a){return Pe&&a&&yn(o)}(t,i))n.preventDefault(),F(e,Mn,!1);else if(function(o,a,l,f){return o.toLowerCase()==="b"&&!a&&Tn(l,f)}(t,s,i,u))n.preventDefault(),F(e,He,"bold");else if(function(o,a,l,f){return o.toLowerCase()==="u"&&!a&&Tn(l,f)}(t,s,i,u))n.preventDefault(),F(e,He,"underline");else if(function(o,a,l,f){return o.toLowerCase()==="i"&&!a&&Tn(l,f)}(t,s,i,u))n.preventDefault(),F(e,He,"italic");else if(function(o,a,l,f){return o==="Tab"&&!a&&!l&&!f}(t,s,u,i))F(e,C0,n);else if(function(o,a,l,f){return o.toLowerCase()==="z"&&!a&&Tn(l,f)}(t,r,i,u))n.preventDefault(),F(e,Wi,void 0);else if(function(o,a,l,f){return Pe?o.toLowerCase()==="z"&&l&&a:o.toLowerCase()==="y"&&f||o.toLowerCase()==="z"&&f&&a}(t,r,i,u))n.preventDefault(),F(e,Hi,void 0);else{const o=e._editorState._selection;o===null||L(o)?!_t&&Qs(t,i,u)&&(n.preventDefault(),F(e,ni,n)):function(a,l,f,h){return!l&&a.toLowerCase()==="c"&&(Pe?f:h)}(t,r,i,u)?(n.preventDefault(),F(e,pu,n)):function(a,l,f,h){return!l&&a.toLowerCase()==="x"&&(Pe?f:h)}(t,r,i,u)?(n.preventDefault(),F(e,Vi,n)):Qs(t,i,u)&&(n.preventDefault(),F(e,ni,n))}(function(o,a,l,f){return o||a||l||f})(u,r,s,i)&&F(e,D0,n)}}],["pointerdown",function(n,e){const t=n.target,r=n.pointerType;t instanceof Node&&r!=="touch"&&Ce(e,()=>{te(un(t))||(pi=!0)})}],["compositionstart",function(n,e){Ce(e,()=>{const t=j();if(L(t)&&!e.isComposing()){const r=t.anchor,u=t.anchor.getNode();pe(r.key),(n.timeStamp<Nn+fi||r.type==="element"||!t.isCollapsed()||u.getFormat()!==t.format||D(u)&&u.getStyle()!==t.style)&&F(e,en,z0)}})}],["compositionend",function(n,e){_t?xn=!0:Ce(e,()=>{Uu(e,n.data)})}],["input",function(n,e){n.stopPropagation(),Ce(e,()=>{const t=j(),r=n.data,u=dl(n);if(r!=null&&L(t)&&fl(t,u,r,n.timeStamp,!1)){xn&&(Uu(e,r),xn=!1);const i=t.anchor.getNode(),s=Oe(e._window);if(s===null)return;const o=t.isBackward(),a=o?t.anchor.offset:t.focus.offset,l=o?t.focus.offset:t.anchor.offset;jr&&!t.isCollapsed()&&D(i)&&s.anchorNode!==null&&i.getTextContent().slice(0,a)+r+i.getTextContent().slice(a+l)===Ya(s.anchorNode)||F(e,en,r);const f=r.length;_t&&f>1&&n.inputType==="insertCompositionText"&&!e.isComposing()&&(t.anchor.offset-=f),gu||Kn||Gi||!e.isComposing()||(Nn=0,pe(null))}else is(!1,e,r!==null?r:void 0),xn&&(Uu(e,r||void 0),xn=!1);xe(),$a(ue())}),Kt=null}],["click",function(n,e){Ce(e,()=>{const t=j(),r=Oe(e._window),u=tr();if(r){if(L(t)){const i=t.anchor,s=i.getNode();i.type==="element"&&i.offset===0&&t.isCollapsed()&&!be(s)&&ie().getChildrenSize()===1&&s.getTopLevelElementOrThrow().isEmpty()&&u!==null&&t.is(u)?(r.removeAllRanges(),t.dirty=!0):n.detail===3&&!t.isCollapsed()&&s!==t.focus.getNode()&&(k(s)?s.select(0):s.getParentOrThrow().select(0))}else if(n.pointerType==="touch"){const i=r.anchorNode;if(i!==null){const s=i.nodeType;(s===Jn||s===wt)&&Ae(fs(u,r,e,n))}}}F(e,ka,n)})}],["cut",Xe],["copy",Xe],["dragstart",Xe],["dragover",Xe],["dragend",Xe],["paste",Xe],["focus",Xe],["blur",Xe],["drop",Xe]];jr&&di.push(["beforeinput",(n,e)=>function(t,r){const u=t.inputType,i=dl(t);u==="deleteCompositionText"||_t&&el(r)||u!=="insertCompositionText"&&Ce(r,()=>{const s=j();if(u==="deleteContentBackward"){if(s===null){const d=tr();if(!L(d))return;Ae(d.clone())}if(L(s)){const d=s.anchor.key===s.focus.key;if(o=t.timeStamp,al==="MediaLast"&&o<Nn+fi&&r.isComposing()&&d){if(pe(null),Nn=0,setTimeout(()=>{Ce(r,()=>{pe(null)})},fi),L(s)){const p=s.anchor.getNode();p.markDirty(),s.format=p.getFormat(),D(p)||M(142),s.style=p.getStyle()}}else{pe(null),t.preventDefault();const p=s.anchor.getNode(),m=p.getTextContent(),g=p.canInsertTextAfter(),y=s.anchor.offset===0&&s.focus.offset===m.length;B0&&d&&!y&&g||F(r,It,!0)}return}}var o;if(!L(s))return;const a=t.data;Kt!==null&&is(!1,r,Kt),s.dirty&&Kt===null||!s.isCollapsed()||be(s.anchor.getNode())||i===null||s.applyDOMRange(i),Kt=null;const l=s.anchor,f=s.focus,h=l.getNode(),c=f.getNode();if(u!=="insertText"&&u!=="insertTranspose")switch(t.preventDefault(),u){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":F(r,en,t);break;case"insertFromComposition":pe(null),F(r,en,t);break;case"insertLineBreak":pe(null),F(r,Yt,!1);break;case"insertParagraph":pe(null),An&&!Kn?(An=!1,F(r,Yt,!1)):F(r,Ln,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":F(r,hu,t);break;case"deleteByComposition":(function(d,p){return d!==p||k(d)||k(p)||!d.isToken()||!p.isToken()})(h,c)&&F(r,ti,t);break;case"deleteByDrag":case"deleteByCut":F(r,ti,t);break;case"deleteContent":F(r,It,!1);break;case"deleteWordBackward":F(r,Dn,!0);break;case"deleteWordForward":F(r,Dn,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":F(r,Mn,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":F(r,Mn,!1);break;case"formatStrikeThrough":F(r,He,"strikethrough");break;case"formatBold":F(r,He,"bold");break;case"formatItalic":F(r,He,"italic");break;case"formatUnderline":F(r,He,"underline");break;case"historyUndo":F(r,Wi,void 0);break;case"historyRedo":F(r,Hi,void 0)}else{if(a===`
|
|
4
|
-
`)t.preventDefault(),F(r,
|
|
5
|
-
`){const r=j();if(L(r)){const u=r.focus;return r.anchor.set(u.key,u.offset,u.type),void F(n,
|
|
6
|
-
`}createDOM(){return document.createElement("br")}updateDOM(){return!1}static importDOM(){return{br:e=>function(t){const r=t.parentElement;if(r!==null&&
|
|
3
|
+
`,$0=_t?" ":_u,$a="֑-߿יִ-﷽ﹰ-ﻼ",Wa="A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--",W0=new RegExp("^[^"+Wa+"]*["+$a+"]"),H0=new RegExp("^[^"+$a+"]*["+Wa+"]"),Dt={bold:1,code:16,highlight:Qi,italic:2,strikethrough:$r,subscript:32,superscript:64,underline:Wr},V0={directionless:1,unmergeable:2},Hs={center:es,end:us,justify:ns,left:Yi,right:ts,start:rs},G0={[es]:"center",[us]:"end",[ns]:"justify",[Yi]:"left",[ts]:"right",[rs]:"start"},K0={normal:0,segmented:2,token:1},J0={[j0]:"normal",[U0]:"segmented",[q0]:"token"};function X0(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var R=X0(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Hr(...n){const e=[];for(const t of n)if(t&&typeof t=="string")for(const[r]of t.matchAll(/\S+/g))e.push(r);return e}const Z0=100;let si=!1,is=0;function Q0(n){is=n.timeStamp}function qu(n,e,t){const r=n.nodeName==="BR",u=e.__lexicalLineBreak;return u&&(n===u||r&&n.previousSibling===u)||r&&vu(n,t)!==void 0}function Y0(n,e,t){const r=Oe(t._window);let u=null,i=null;r!==null&&r.anchorNode===n&&(u=r.anchorOffset,i=r.focusOffset);const s=n.nodeValue;s!==null&&cs(e,s,u,i,!1)}function ef(n,e,t){if(L(n)){const r=n.anchor.getNode();if(r.is(t)&&n.format!==r.getFormat())return!1}return e.nodeType===wt&&t.isAttached()}function tf(n,e,t,r){for(let u=n;u&&!mf(u);u=Yn(u)){const i=vu(u,e);if(i!==void 0){const s=de(i,t);if(s)return re(s)?void 0:[u,s]}else if(u===r)return[r,Ya(t)]}}function Ha(n,e,t){si=!0;const r=performance.now()-is>Z0;try{Ce(n,()=>{const u=j()||function(c){return c.getEditorState().read(()=>{const d=j();return d!==null?d.clone():null})}(n),i=new Map,s=n.getRootElement(),o=n._editorState,a=n._blockCursorElement;let l=!1,f="";for(let c=0;c<e.length;c++){const d=e[c],p=d.type,m=d.target,g=tf(m,n,o,s);if(!g)continue;const[y,b]=g;if(p==="characterData")r&&M(b)&&ef(u,m,b)&&Y0(m,b,n);else if(p==="childList"){l=!0;const x=d.addedNodes;for(let T=0;T<x.length;T++){const k=x[T],S=Za(k),P=k.parentNode;if(P!=null&&k!==a&&S===null&&!qu(k,P,n)){if(_t){const z=k.innerText||k.nodeValue;z&&(f+=z)}P.removeChild(k)}}const w=d.removedNodes,C=w.length;if(C>0){let T=0;for(let k=0;k<C;k++){const S=w[k];(qu(S,m,n)||a===S)&&(m.appendChild(S),T++)}C!==T&&i.set(y,b)}}}if(i.size>0)for(const[c,d]of i)d.reconcileObservedMutation(c,n);const h=t.takeRecords();if(h.length>0){for(let c=0;c<h.length;c++){const d=h[c],p=d.addedNodes,m=d.target;for(let g=0;g<p.length;g++){const y=p[g],b=y.parentNode;b==null||y.nodeName!=="BR"||qu(y,m,n)||b.removeChild(y)}}t.takeRecords()}u!==null&&(l&&(u.dirty=!0,Ae(u)),_t&&rl(n)&&u.insertRawText(f))})}finally{si=!1}}function Va(n){const e=n._observer;e!==null&&Ha(n,e.takeRecords(),e)}function Ga(n){(function(e){is===0&&Su(e).addEventListener("textInput",Q0,!0)})(n),n._observer=new MutationObserver((e,t)=>{Ha(n,e,t)})}function Vs(n,e){const t=n.__mode,r=n.__format,u=n.__style,i=e.__mode,s=e.__format,o=e.__style;return!(t!==null&&t!==i||r!==null&&r!==s||u!==null&&u!==o)}function Gs(n,e){const t=n.mergeWithSibling(e),r=oe()._normalizedNodes;return r.add(n.__key),r.add(e.__key),t}function Ks(n){let e,t,r=n;if(r.__text!==""||!r.isSimpleText()||r.isUnmergeable()){for(;(e=r.getPreviousSibling())!==null&&M(e)&&e.isSimpleText()&&!e.isUnmergeable();){if(e.__text!==""){if(Vs(e,r)){r=Gs(e,r);break}break}e.remove()}for(;(t=r.getNextSibling())!==null&&M(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(t.__text!==""){if(Vs(r,t)){r=Gs(r,t);break}break}t.remove()}}else r.remove()}function Ka(n){return Js(n.anchor),Js(n.focus),n}function Js(n){for(;n.type==="element";){const e=n.getNode(),t=n.offset;let r,u;if(t===e.getChildrenSize()?(r=e.getChildAtIndex(t-1),u=!0):(r=e.getChildAtIndex(t),u=!1),M(r)){n.set(r.__key,u?r.getTextContentSize():0,"text");break}if(!E(r))break;n.set(r.__key,u?r.getChildrenSize():0,"element")}}let nf=1;const rf=typeof queueMicrotask=="function"?queueMicrotask:n=>{Promise.resolve().then(n)};function ss(n){const e=document.activeElement;if(e===null)return!1;const t=e.nodeName;return re(sn(n))&&(t==="INPUT"||t==="TEXTAREA"||e.contentEditable==="true"&&xu(e)==null)}function Qn(n,e,t){const r=n.getRootElement();try{return r!==null&&r.contains(e)&&r.contains(t)&&e!==null&&!ss(e)&&Ja(e)===n}catch{return!1}}function os(n){return n instanceof Nu}function Ja(n){let e=n;for(;e!=null;){const t=xu(e);if(os(t))return t;e=Yn(e)}return null}function xu(n){return n?n.__lexicalEditor:null}function At(n){return n.isToken()||n.isSegmented()}function uf(n){return n.nodeType===wt}function Vr(n){let e=n;for(;e!=null;){if(uf(e))return e;e=e.firstChild}return null}function Gr(n,e,t){const r=Dt[e];if(t!==null&&(n&r)==(t&r))return n;let u=n^r;return e==="subscript"?u&=-65:e==="superscript"&&(u&=-33),u}function Xa(n){return M(n)||xt(n)||re(n)}function sf(n,e){if(e!=null)return void(n.__key=e);ve(),Sl();const t=oe(),r=ot(),u=""+nf++;r._nodeMap.set(u,n),E(n)?t._dirtyElements.set(u,!0):t._dirtyLeaves.add(u),t._cloneNotNeeded.add(u),t._dirtyType=za,n.__key=u}function Pt(n){const e=n.getParent();if(e!==null){const t=n.getWritable(),r=e.getWritable(),u=n.getPreviousSibling(),i=n.getNextSibling();if(u===null)if(i!==null){const s=i.getWritable();r.__first=i.__key,s.__prev=null}else r.__first=null;else{const s=u.getWritable();if(i!==null){const o=i.getWritable();o.__prev=s.__key,s.__next=o.__key}else s.__next=null;t.__prev=null}if(i===null)if(u!==null){const s=u.getWritable();r.__last=u.__key,s.__next=null}else r.__last=null;else{const s=i.getWritable();if(u!==null){const o=u.getWritable();o.__next=s.__key,s.__prev=o.__key}else s.__prev=null;t.__next=null}r.__size--,t.__parent=null}}function Kr(n){Sl();const e=n.getLatest(),t=e.__parent,r=ot(),u=oe(),i=r._nodeMap,s=u._dirtyElements;t!==null&&function(a,l,f){let h=a;for(;h!==null;){if(f.has(h))return;const c=l.get(h);if(c===void 0)break;f.set(h,!1),h=c.__parent}}(t,i,s);const o=e.__key;u._dirtyType=za,E(n)?s.set(o,!0):u._dirtyLeaves.add(o)}function ge(n){ve();const e=oe(),t=e._compositionKey;if(n!==t){if(e._compositionKey=n,t!==null){const r=de(t);r!==null&&r.getWritable()}if(n!==null){const r=de(n);r!==null&&r.getWritable()}}}function gt(){return ur()?null:oe()._compositionKey}function de(n,e){const t=(e||ot())._nodeMap.get(n);return t===void 0?null:t}function Za(n,e){const t=vu(n,oe());return t!==void 0?de(t,e):null}function vu(n,e){return n[`__lexicalKey_${e._key}`]}function sn(n,e){let t=n;for(;t!=null;){const r=Za(t,e);if(r!==null)return r;t=Yn(t)}return null}function Qa(n){const e=n._decorators,t=Object.assign({},e);return n._pendingDecorators=t,t}function Xs(n){return n.read(()=>ce().getTextContent())}function ce(){return Ya(ot())}function Ya(n){return n._nodeMap.get("root")}function Ae(n){ve();const e=ot();n!==null&&(n.dirty=!0,n.setCachedNodes(null)),e._selection=n}function Qt(n){const e=oe(),t=function(r,u){let i=r;for(;i!=null;){const s=vu(i,u);if(s!==void 0)return s;i=Yn(i)}return null}(n,e);return t===null?n===e.getRootElement()?de("root"):null:de(t)}function Zs(n,e){return e?n.getTextContentSize():0}function el(n){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(n)}function as(n){const e=[];let t=n;for(;t!==null;)e.push(t),t=t._parentEditor;return e}function tl(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function nl(n){return n.nodeType===wt?n.nodeValue:null}function ls(n,e,t){const r=Oe(e._window);if(r===null)return;const u=r.anchorNode;let{anchorOffset:i,focusOffset:s}=r;if(u!==null){let o=nl(u);const a=sn(u);if(o!==null&&M(a)){if(o===_u&&t){const l=t.length;o=t,i=l,s=l}o!==null&&cs(a,o,i,s,n)}}}function cs(n,e,t,r,u){let i=n;if(i.isAttached()&&(u||!i.isDirty())){const s=i.isComposing();let o=e;(s||u)&&e[e.length-1]===_u&&(o=e.slice(0,-1));const a=i.getTextContent();if(u||o!==a){if(o===""){if(ge(null),yu||Xn||Zi)i.remove();else{const m=oe();setTimeout(()=>{m.update(()=>{i.isAttached()&&i.remove()})},20)}return}const l=i.getParent(),f=rr(),h=i.getTextContentSize(),c=gt(),d=i.getKey();if(i.isToken()||c!==null&&d===c&&!s||L(f)&&(l!==null&&!l.canInsertTextBefore()&&f.anchor.offset===0||f.anchor.key===n.__key&&f.anchor.offset===0&&!i.canInsertTextBefore()&&!s||f.focus.key===n.__key&&f.focus.offset===h&&!i.canInsertTextAfter()&&!s))return void i.markDirty();const p=j();if(!L(p)||t===null||r===null)return void i.setTextContent(o);if(p.setTextNodeRange(i,t,i,r),i.isSegmented()){const m=le(i.getTextContent());i.replace(m),i=m}i.setTextContent(o)}}}function of(n,e){if(e.isSegmented())return!0;if(!n.isCollapsed())return!1;const t=n.anchor.offset,r=e.getParentOrThrow(),u=e.isToken();return t===0?!e.canInsertTextBefore()||!r.canInsertTextBefore()&&!e.isComposing()||u||function(i){const s=i.getPreviousSibling();return(M(s)||E(s)&&s.isInline())&&!s.canInsertTextAfter()}(e):t===e.getTextContentSize()&&(!e.canInsertTextAfter()||!r.canInsertTextAfter()&&!e.isComposing()||u)}function Qs(n){return n==="ArrowLeft"}function Ys(n){return n==="ArrowRight"}function En(n,e){return Pe?n:e}function eo(n){return n==="Enter"}function _n(n){return n==="Backspace"}function xn(n){return n==="Delete"}function to(n,e,t){return n.toLowerCase()==="a"&&En(e,t)}function af(){const n=ce();Ae(Ka(n.select(0,n.getChildrenSize())))}function Nn(n,e){n.__lexicalClassNameCache===void 0&&(n.__lexicalClassNameCache={});const t=n.__lexicalClassNameCache,r=t[e];if(r!==void 0)return r;const u=n[e];if(typeof u=="string"){const i=Hr(u);return t[e]=i,i}return u}function fs(n,e,t,r,u){if(t.size===0)return;const i=r.__type,s=r.__key,o=e.get(i);o===void 0&&R(33,i);const a=o.klass;let l=n.get(a);l===void 0&&(l=new Map,n.set(a,l));const f=l.get(s),h=f==="destroyed"&&u==="created";(f===void 0||h)&&l.set(s,h?"updated":u)}function no(n,e,t){const r=n.getParent();let u=t,i=n;return r!==null&&(e&&t===0?(u=i.getIndexWithinParent(),i=r):e||t!==i.getChildrenSize()||(u=i.getIndexWithinParent()+1,i=r)),i.getChildAtIndex(e?u-1:u)}function Fn(n,e){const t=n.offset;if(n.type==="element")return no(n.getNode(),e,t);{const r=n.getNode();if(e&&t===0||!e&&t===r.getTextContentSize()){const u=e?r.getPreviousSibling():r.getNextSibling();return u===null?no(r.getParentOrThrow(),e,r.getIndexWithinParent()+(e?0:1)):u}}return null}function rl(n){const e=Su(n).event,t=e&&e.inputType;return t==="insertFromPaste"||t==="insertFromPasteAsQuotation"}function F(n,e,t){return El(n,e,t)}function wu(n){return!ye(n)&&!n.isLastChild()&&!n.isInline()}function Jr(n,e){const t=n._keyToDOMMap.get(e);return t===void 0&&R(75,e),t}function Yn(n){const e=n.assignedSlot||n.parentElement;return e!==null&&e.nodeType===11?e.host:e}function An(n,e){let t=n.getParent();for(;t!==null;){if(t.is(e))return!0;t=t.getParent()}return!1}function Su(n){const e=n._window;return e===null&&R(78),e}function lf(n){let e=n.getParentOrThrow();for(;e!==null;){if(ut(e))return e;e=e.getParentOrThrow()}return e}function ut(n){return ye(n)||E(n)&&n.isShadowRoot()}function St(n){const e=oe(),t=n.constructor.getType(),r=e._nodes.get(t);r===void 0&&R(200,n.constructor.name,t);const{replace:u,replaceWithKlass:i}=r;if(u!==null){const s=u(n),o=s.constructor;return i!==null?s instanceof i||R(201,i.name,i.getType(),o.name,o.getType(),n.constructor.name,t):s instanceof n.constructor&&o!==n.constructor||R(202,o.name,o.getType(),n.constructor.name,t),s.__key===n.__key&&R(203,n.constructor.name,t,o.name,o.getType()),s}return n}function Uu(n,e){!ye(n.getParent())||E(e)||re(e)||R(99)}function zu(n){return(re(n)||E(n)&&!n.canBeEmpty())&&!n.isInline()}function ds(n,e,t){t.style.removeProperty("caret-color"),e._blockCursorElement=null;const r=n.parentElement;r!==null&&r.removeChild(n)}function cf(n,e,t){let r=n._blockCursorElement;if(L(t)&&t.isCollapsed()&&t.anchor.type==="element"&&e.contains(document.activeElement)){const u=t.anchor,i=u.getNode(),s=u.offset;let o=!1,a=null;if(s===i.getChildrenSize())zu(i.getChildAtIndex(s-1))&&(o=!0);else{const l=i.getChildAtIndex(s);if(l!==null&&zu(l)){const f=l.getPreviousSibling();(f===null||zu(f))&&(o=!0,a=n.getElementByKey(l.__key))}}if(o){const l=n.getElementByKey(i.__key);return r===null&&(n._blockCursorElement=r=function(f){const h=f.theme,c=document.createElement("div");c.contentEditable="false",c.setAttribute("data-lexical-cursor","true");let d=h.blockCursor;if(d!==void 0){if(typeof d=="string"){const p=Hr(d);d=h.blockCursor=p}d!==void 0&&c.classList.add(...d)}return c}(n._config)),e.style.caretColor="transparent",void(a===null?l.appendChild(r):l.insertBefore(r,a))}}r!==null&&ds(r,n,e)}function Oe(n){return Fe?(n||window).getSelection():null}function ff(n){return Ut(n)&&n.tagName==="A"}function Ut(n){return n.nodeType===1}function ro(n){return n.nodeType===11}function oi(n){const e=new RegExp(/^(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|#text)$/,"i");return n.nodeName.match(e)!==null}function Xr(n){const e=new RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return n.nodeName.match(e)!==null}function ht(n){if(re(n)&&!n.isInline())return!0;if(!E(n)||ut(n))return!1;const e=n.getFirstChild(),t=e===null||xt(e)||M(e)||e.isInline();return!n.isInline()&&n.canBeEmpty()!==!1&&t}function vn(n,e){let t=n;for(;t!==null&&t.getParent()!==null&&!e(t);)t=t.getParentOrThrow();return e(t)?t:null}function df(){return oe()}const uo=new WeakMap,hf=new Map;function pf(n){if(!n._readOnly&&n.isEmpty())return hf;n._readOnly||R(192);let e=uo.get(n);if(!e){e=new Map,uo.set(n,e);for(const[t,r]of n._nodeMap){const u=r.__type;let i=e.get(u);i||(i=new Map,e.set(u,i)),i.set(t,r)}}return e}function hs(n){const e=n.constructor.clone(n);return e.afterCloneFrom(n),e}function gf(n,e){const t=(parseInt(n.style.paddingInlineStart,10)||0)/40;e.setIndent(t)}function mf(n){return n.__lexicalUnmanaged===!0}function ul(n,e,t,r,u,i){let s=n.getFirstChild();for(;s!==null;){const o=s.__key;s.__parent===e&&(E(s)&&ul(s,o,t,r,u,i),t.has(o)||i.delete(o),u.push(o)),s=s.getNextSibling()}}let vt,_e,jn,Tu,ai,li,Mt,Be,ci,qn,fe="",be="",We=null,Le="",tt="",il=!1,Un=!1,Dr=null;function Zr(n,e){const t=Mt.get(n);if(e!==null){const r=hi(n);r.parentNode===e&&e.removeChild(r)}if(Be.has(n)||_e._keyToDOMMap.delete(n),E(t)){const r=Yr(t,Mt);fi(r,0,r.length-1,null)}t!==void 0&&fs(qn,jn,Tu,t,"destroyed")}function fi(n,e,t,r){let u=e;for(;u<=t;++u){const i=n[u];i!==void 0&&Zr(i,r)}}function Nt(n,e){n.setProperty("text-align",e)}const bf="40px";function sl(n,e){const t=vt.theme.indent;if(typeof t=="string"){const u=n.classList.contains(t);e>0&&!u?n.classList.add(t):e<1&&u&&n.classList.remove(t)}const r=getComputedStyle(n).getPropertyValue("--lexical-indent-base-value")||bf;n.style.setProperty("padding-inline-start",e===0?"":`calc(${e} * ${r})`)}function ol(n,e){const t=n.style;e===0?Nt(t,""):e===Yi?Nt(t,"left"):e===es?Nt(t,"center"):e===ts?Nt(t,"right"):e===ns?Nt(t,"justify"):e===rs?Nt(t,"start"):e===us&&Nt(t,"end")}function Qr(n,e){const t=Be.get(n);t===void 0&&R(60);const r=t.createDOM(vt,_e);if(function(u,i,s){const o=s._keyToDOMMap;(function(a,l,f){a[`__lexicalKey_${l._key}`]=f})(i,s,u),o.set(u,i)}(n,r,_e),M(t)?r.setAttribute("data-lexical-text","true"):re(t)&&r.setAttribute("data-lexical-decorator","true"),E(t)){const u=t.__indent,i=t.__size;if(u!==0&&sl(r,u),i!==0){const o=i-1;(function(a,l,f,h){const c=be;be="",di(a,f,0,l,f.getDOMSlot(h)),ll(f,h),be=c})(Yr(t,Be),o,t,r)}const s=t.__format;s!==0&&ol(r,s),t.isInline()||al(null,t,r),wu(t)&&(fe+=rt,tt+=rt)}else{const u=t.getTextContent();if(re(t)){const i=t.decorate(_e,vt);i!==null&&cl(n,i),r.contentEditable="false"}else M(t)&&(t.isDirectionless()||(be+=u));fe+=u,tt+=u}return e!==null&&e.insertChild(r),fs(qn,jn,Tu,t,"created"),r}function di(n,e,t,r,u){const i=fe;fe="";let s=t;for(;s<=r;++s){Qr(n[s],u);const o=Be.get(n[s]);o!==null&&M(o)&&(We===null&&(We=o.getFormat()),Le===""&&(Le=o.getStyle()))}wu(e)&&(fe+=rt),u.element.__lexicalTextContent=fe,fe=i+fe}function io(n,e){if(n){const t=n.__last;if(t){const r=e.get(t);if(r)return xt(r)?"line-break":re(r)&&r.isInline()?"decorator":null}return"empty"}return null}function al(n,e,t){const r=io(n,Mt),u=io(e,Be);r!==u&&e.getDOMSlot(t).setManagedLineBreak(u)}function ll(n,e){const t=e.__lexicalDirTextContent||"",r=e.__lexicalDir||"";if(t!==be||r!==Dr){const i=be==="",s=i?Dr:(u=be,W0.test(u)?"rtl":H0.test(u)?"ltr":null);if(s!==r){const o=e.classList,a=vt.theme;let l=r!==null?a[r]:void 0,f=s!==null?a[s]:void 0;if(l!==void 0){if(typeof l=="string"){const h=Hr(l);l=a[r]=h}o.remove(...l)}if(s===null||i&&s==="ltr")e.removeAttribute("dir");else{if(f!==void 0){if(typeof f=="string"){const h=Hr(f);f=a[s]=h}f!==void 0&&o.add(...f)}e.dir=s}Un||(n.getWritable().__dir=s)}Dr=s,e.__lexicalDirTextContent=be,e.__lexicalDir=s}var u}function yf(n,e,t){const r=be;var u;be="",We=null,Le="",function(i,s,o){const a=fe,l=i.__size,f=s.__size;fe="";const h=o.element;if(l===1&&f===1){const c=i.__first,d=s.__first;if(c===d)kn(c,h);else{const m=hi(c),g=Qr(d,null);try{h.replaceChild(g,m)}catch(y){if(typeof y=="object"&&y!=null){const b=`${y.toString()} Parent: ${h.tagName}, new child: {tag: ${g.tagName} key: ${d}}, old child: {tag: ${m.tagName}, key: ${c}}.`;throw new Error(b)}throw y}Zr(c,null)}const p=Be.get(d);M(p)&&(We===null&&(We=p.getFormat()),Le===""&&(Le=p.getStyle()))}else{const c=Yr(i,Mt),d=Yr(s,Be);if(c.length!==l&&R(227),d.length!==f&&R(228),l===0)f!==0&&di(d,s,0,f-1,o);else if(f===0){if(l!==0){const p=o.after==null&&o.before==null&&o.element.__lexicalLineBreak==null;fi(c,0,l-1,p?null:h),p&&(h.textContent="")}}else(function(p,m,g,y,b,x){const w=y-1,C=b-1;let T,k,S=x.getFirstChild(),P=0,z=0;for(;P<=w&&z<=C;){const O=m[P],B=g[z];if(O===B)S=$u(kn(B,x.element)),P++,z++;else{T===void 0&&(T=new Set(m)),k===void 0&&(k=new Set(g));const I=k.has(O),A=T.has(B);if(I)if(A){const U=Jr(_e,B);U===S?S=$u(kn(B,x.element)):(x.withBefore(S).insertChild(U),kn(B,x.element)),P++,z++}else Qr(B,x.withBefore(S)),z++;else S=$u(hi(O)),Zr(O,x.element),P++}const _=Be.get(B);_!==null&&M(_)&&(We===null&&(We=_.getFormat()),Le===""&&(Le=_.getStyle()))}const v=P>w,N=z>C;if(v&&!N){const O=g[C+1],B=O===void 0?null:_e.getElementByKey(O);di(g,p,z,C,x.withBefore(B))}else N&&!v&&fi(m,P,w,x.element)})(s,c,d,l,f,o)}wu(s)&&(fe+=rt),h.__lexicalTextContent=fe,fe=a+fe}(n,e,e.getDOMSlot(t)),ll(e,t),Bt(u=e)&&We!=null&&We!==u.__textFormat&&!Un&&(u.setTextFormat(We),u.setTextStyle(Le)),function(i){Bt(i)&&Le!==""&&Le!==i.__textStyle&&!Un&&i.setTextStyle(Le)}(e),be=r}function Yr(n,e){const t=[];let r=n.__first;for(;r!==null;){const u=e.get(r);u===void 0&&R(101),t.push(r),r=u.__next}return t}function kn(n,e){const t=Mt.get(n);let r=Be.get(n);t!==void 0&&r!==void 0||R(61);const u=il||li.has(n)||ai.has(n),i=Jr(_e,n);if(t===r&&!u){if(E(t)){const s=i.__lexicalTextContent;s!==void 0&&(fe+=s,tt+=s);const o=i.__lexicalDirTextContent;o!==void 0&&(be+=o)}else{const s=t.getTextContent();M(t)&&!t.isDirectionless()&&(be+=s),tt+=s,fe+=s}return i}if(t!==r&&u&&fs(qn,jn,Tu,r,"updated"),r.updateDOM(t,i,vt)){const s=Qr(n,null);return e===null&&R(62),e.replaceChild(s,i),Zr(n,null),s}if(E(t)&&E(r)){const s=r.__indent;s!==t.__indent&&sl(i,s);const o=r.__format;o!==t.__format&&ol(i,o),u&&(yf(t,r,i),ye(r)||r.isInline()||al(t,r,i)),wu(r)&&(fe+=rt,tt+=rt)}else{const s=r.getTextContent();if(re(r)){const o=r.decorate(_e,vt);o!==null&&cl(n,o)}else M(r)&&!r.isDirectionless()&&(be+=s);fe+=s,tt+=s}if(!Un&&ye(r)&&r.__cachedText!==tt){const s=r.getWritable();s.__cachedText=tt,r=s}return i}function cl(n,e){let t=_e._pendingDecorators;const r=_e._decorators;if(t===null){if(r[n]===e)return;t=Qa(_e)}t[n]=e}function $u(n){let e=n.nextSibling;return e!==null&&e===_e._blockCursorElement&&(e=e.nextSibling),e}function _f(n,e,t,r,u,i){fe="",tt="",be="",il=r===un,Dr=null,_e=t,vt=t._config,jn=t._nodes,Tu=_e._listeners.mutation,ai=u,li=i,Mt=n._nodeMap,Be=e._nodeMap,Un=e._readOnly,ci=new Map(t._keyToDOMMap);const s=new Map;return qn=s,kn("root",null),_e=void 0,jn=void 0,ai=void 0,li=void 0,Mt=void 0,Be=void 0,vt=void 0,ci=void 0,qn=void 0,s}function hi(n){const e=ci.get(n);return e===void 0&&R(75,n),e}const Ze=Object.freeze({}),pi=30,gi=[["keydown",function(n,e){if(On=n.timeStamp,fl=n.key,e.isComposing())return;const{key:t,shiftKey:r,ctrlKey:u,metaKey:i,altKey:s}=n;if(!F(e,w0,n)&&t!=null){if(function(o,a,l,f){return Ys(o)&&!a&&!f&&!l}(t,u,s,i))F(e,Ia,n);else if(function(o,a,l,f,h){return Ys(o)&&!f&&!l&&(a||h)}(t,u,r,s,i))F(e,S0,n);else if(function(o,a,l,f){return Qs(o)&&!a&&!f&&!l}(t,u,s,i))F(e,Pa,n);else if(function(o,a,l,f,h){return Qs(o)&&!f&&!l&&(a||h)}(t,u,r,s,i))F(e,T0,n);else if(function(o,a,l){return function(f){return f==="ArrowUp"}(o)&&!a&&!l}(t,u,i))F(e,La,n);else if(function(o,a,l){return function(f){return f==="ArrowDown"}(o)&&!a&&!l}(t,u,i))F(e,Da,n);else if(function(o,a){return eo(o)&&a}(t,r))In=!0,F(e,Ur,n);else if(function(o){return o===" "}(t))F(e,C0,n);else if(function(o,a){return Pe&&a&&o.toLowerCase()==="o"}(t,u))n.preventDefault(),In=!0,F(e,en,!0);else if(function(o,a){return eo(o)&&!a}(t,r))In=!1,F(e,Ur,n);else if(function(o,a,l,f){return Pe?!a&&!l&&(_n(o)||o.toLowerCase()==="h"&&f):!(f||a||l)&&_n(o)}(t,s,i,u))_n(t)?F(e,Ma,n):(n.preventDefault(),F(e,It,!0));else if(function(o){return o==="Escape"}(t))F(e,Ra,n);else if(function(o,a,l,f,h){return Pe?!(l||f||h)&&(xn(o)||o.toLowerCase()==="d"&&a):!(a||f||h)&&xn(o)}(t,u,r,s,i))xn(t)?F(e,Ba,n):(n.preventDefault(),F(e,It,!1));else if(function(o,a,l){return _n(o)&&(Pe?a:l)}(t,s,u))n.preventDefault(),F(e,Rn,!0);else if(function(o,a,l){return xn(o)&&(Pe?a:l)}(t,s,u))n.preventDefault(),F(e,Rn,!1);else if(function(o,a){return Pe&&a&&_n(o)}(t,i))n.preventDefault(),F(e,Bn,!0);else if(function(o,a){return Pe&&a&&xn(o)}(t,i))n.preventDefault(),F(e,Bn,!1);else if(function(o,a,l,f){return o.toLowerCase()==="b"&&!a&&En(l,f)}(t,s,i,u))n.preventDefault(),F(e,Ge,"bold");else if(function(o,a,l,f){return o.toLowerCase()==="u"&&!a&&En(l,f)}(t,s,i,u))n.preventDefault(),F(e,Ge,"underline");else if(function(o,a,l,f){return o.toLowerCase()==="i"&&!a&&En(l,f)}(t,s,i,u))n.preventDefault(),F(e,Ge,"italic");else if(function(o,a,l,f){return o==="Tab"&&!a&&!l&&!f}(t,s,u,i))F(e,E0,n);else if(function(o,a,l,f){return o.toLowerCase()==="z"&&!a&&En(l,f)}(t,r,i,u))n.preventDefault(),F(e,Ki,void 0);else if(function(o,a,l,f){return Pe?o.toLowerCase()==="z"&&l&&a:o.toLowerCase()==="y"&&f||o.toLowerCase()==="z"&&f&&a}(t,r,i,u))n.preventDefault(),F(e,Ji,void 0);else{const o=e._editorState._selection;o===null||L(o)?!_t&&to(t,i,u)&&(n.preventDefault(),F(e,ii,n)):function(a,l,f,h){return!l&&a.toLowerCase()==="c"&&(Pe?f:h)}(t,r,i,u)?(n.preventDefault(),F(e,bu,n)):function(a,l,f,h){return!l&&a.toLowerCase()==="x"&&(Pe?f:h)}(t,r,i,u)?(n.preventDefault(),F(e,Xi,n)):to(t,i,u)&&(n.preventDefault(),F(e,ii,n))}(function(o,a,l,f){return o||a||l||f})(u,r,s,i)&&F(e,M0,n)}}],["pointerdown",function(n,e){const t=n.target,r=n.pointerType;t instanceof Node&&r!=="touch"&&Ce(e,()=>{re(sn(t))||(bi=!0)})}],["compositionstart",function(n,e){Ce(e,()=>{const t=j();if(L(t)&&!e.isComposing()){const r=t.anchor,u=t.anchor.getNode();ge(r.key),(n.timeStamp<On+pi||r.type==="element"||!t.isCollapsed()||u.getFormat()!==t.format||M(u)&&u.getStyle()!==t.style)&&F(e,tn,$0)}})}],["compositionend",function(n,e){_t?wn=!0:Ce(e,()=>{Wu(e,n.data)})}],["input",function(n,e){n.stopPropagation(),Ce(e,()=>{const t=j(),r=n.data,u=gl(n);if(r!=null&&L(t)&&pl(t,u,r,n.timeStamp,!1)){wn&&(Wu(e,r),wn=!1);const i=t.anchor.getNode(),s=Oe(e._window);if(s===null)return;const o=t.isBackward(),a=o?t.anchor.offset:t.focus.offset,l=o?t.focus.offset:t.anchor.offset;zr&&!t.isCollapsed()&&M(i)&&s.anchorNode!==null&&i.getTextContent().slice(0,a)+r+i.getTextContent().slice(a+l)===nl(s.anchorNode)||F(e,tn,r);const f=r.length;_t&&f>1&&n.inputType==="insertCompositionText"&&!e.isComposing()&&(t.anchor.offset-=f),yu||Xn||Zi||!e.isComposing()||(On=0,ge(null))}else ls(!1,e,r!==null?r:void 0),wn&&(Wu(e,r||void 0),wn=!1);ve(),Va(oe())}),Jt=null}],["click",function(n,e){Ce(e,()=>{const t=j(),r=Oe(e._window),u=rr();if(r){if(L(t)){const i=t.anchor,s=i.getNode();i.type==="element"&&i.offset===0&&t.isCollapsed()&&!ye(s)&&ce().getChildrenSize()===1&&s.getTopLevelElementOrThrow().isEmpty()&&u!==null&&t.is(u)?(r.removeAllRanges(),t.dirty=!0):n.detail===3&&!t.isCollapsed()&&s!==t.focus.getNode()&&(E(s)?s.select(0):s.getParentOrThrow().select(0))}else if(n.pointerType==="touch"){const i=r.anchorNode;if(i!==null){const s=i.nodeType;(s===Zn||s===wt)&&Ae(gs(u,r,e,n))}}}F(e,Oa,n)})}],["cut",Ze],["copy",Ze],["dragstart",Ze],["dragover",Ze],["dragend",Ze],["paste",Ze],["focus",Ze],["blur",Ze],["drop",Ze]];zr&&gi.push(["beforeinput",(n,e)=>function(t,r){const u=t.inputType,i=gl(t);u==="deleteCompositionText"||_t&&rl(r)||u!=="insertCompositionText"&&Ce(r,()=>{const s=j();if(u==="deleteContentBackward"){if(s===null){const d=rr();if(!L(d))return;Ae(d.clone())}if(L(s)){const d=s.anchor.key===s.focus.key;if(o=t.timeStamp,fl==="MediaLast"&&o<On+pi&&r.isComposing()&&d){if(ge(null),On=0,setTimeout(()=>{Ce(r,()=>{ge(null)})},pi),L(s)){const p=s.anchor.getNode();p.markDirty(),s.format=p.getFormat(),M(p)||R(142),s.style=p.getStyle()}}else{ge(null),t.preventDefault();const p=s.anchor.getNode(),m=p.getTextContent(),g=p.canInsertTextAfter(),y=s.anchor.offset===0&&s.focus.offset===m.length;F0&&d&&!y&&g||F(r,It,!0)}return}}var o;if(!L(s))return;const a=t.data;Jt!==null&&ls(!1,r,Jt),s.dirty&&Jt===null||!s.isCollapsed()||ye(s.anchor.getNode())||i===null||s.applyDOMRange(i),Jt=null;const l=s.anchor,f=s.focus,h=l.getNode(),c=f.getNode();if(u!=="insertText"&&u!=="insertTranspose")switch(t.preventDefault(),u){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":F(r,tn,t);break;case"insertFromComposition":ge(null),F(r,tn,t);break;case"insertLineBreak":ge(null),F(r,en,!1);break;case"insertParagraph":ge(null),In&&!Xn?(In=!1,F(r,en,!1)):F(r,Mn,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":F(r,mu,t);break;case"deleteByComposition":(function(d,p){return d!==p||E(d)||E(p)||!d.isToken()||!p.isToken()})(h,c)&&F(r,ui,t);break;case"deleteByDrag":case"deleteByCut":F(r,ui,t);break;case"deleteContent":F(r,It,!1);break;case"deleteWordBackward":F(r,Rn,!0);break;case"deleteWordForward":F(r,Rn,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":F(r,Bn,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":F(r,Bn,!1);break;case"formatStrikeThrough":F(r,Ge,"strikethrough");break;case"formatBold":F(r,Ge,"bold");break;case"formatItalic":F(r,Ge,"italic");break;case"formatUnderline":F(r,Ge,"underline");break;case"historyUndo":F(r,Ki,void 0);break;case"historyRedo":F(r,Ji,void 0)}else{if(a===`
|
|
4
|
+
`)t.preventDefault(),F(r,en,!1);else if(a===rt)t.preventDefault(),F(r,Mn,void 0);else if(a==null&&t.dataTransfer){const d=t.dataTransfer.getData("text/plain");t.preventDefault(),s.insertRawText(d)}else a!=null&&pl(s,i,a,t.timeStamp,!0)?(t.preventDefault(),F(r,tn,a)):Jt=a;dl=t.timeStamp}})}(n,e)]);let On=0,fl=null,dl=0,Jt=null;const eu=new WeakMap;let mi=!1,bi=!1,In=!1,wn=!1,hl=[0,"",0,"root",0];function pl(n,e,t,r,u){const i=n.anchor,s=n.focus,o=i.getNode(),a=oe(),l=Oe(a._window),f=l!==null?l.anchorNode:null,h=i.key,c=a.getElementByKey(h),d=t.length;return h!==s.key||!M(o)||(!u&&(!zr||dl<r+50)||o.isDirty()&&d<2||el(t))&&i.offset!==s.offset&&!o.isComposing()||At(o)||o.isDirty()&&d>1||(u||!zr)&&c!==null&&!o.isComposing()&&f!==Vr(c)||l!==null&&e!==null&&(!e.collapsed||e.startContainer!==l.anchorNode||e.startOffset!==l.anchorOffset)||o.getFormat()!==n.format||o.getStyle()!==n.style||of(n,o)}function so(n,e){return n!==null&&n.nodeValue!==null&&n.nodeType===wt&&e!==0&&e!==n.nodeValue.length}function oo(n,e,t){const{anchorNode:r,anchorOffset:u,focusNode:i,focusOffset:s}=n;mi&&(mi=!1,so(r,u)&&so(i,s))||Ce(e,()=>{if(!t)return void Ae(null);if(!Qn(e,r,i))return;const o=j();if(L(o)){const a=o.anchor,l=a.getNode();if(o.isCollapsed()){n.type==="Range"&&n.anchorNode===n.focusNode&&(o.dirty=!0);const f=Su(e).event,h=f?f.timeStamp:performance.now(),[c,d,p,m,g]=hl,y=ce(),b=e.isComposing()===!1&&y.getTextContent()==="";if(h<g+200&&a.offset===p&&a.key===m)o.format=c,o.style=d;else if(a.type==="text")M(l)||R(141),o.format=l.getFormat(),o.style=l.getStyle();else if(a.type==="element"&&!b){const x=a.getNode();o.style="",x instanceof hn&&x.getChildrenSize()===0?(o.format=x.getTextFormat(),o.style=x.getTextStyle()):o.format=0}}else{const f=a.key,h=o.focus.key,c=o.getNodes(),d=c.length,p=o.isBackward(),m=p?s:u,g=p?u:s,y=p?h:f,b=p?f:h;let x=z0,w=!1;for(let C=0;C<d;C++){const T=c[C],k=T.getTextContentSize();if(M(T)&&k!==0&&!(C===0&&T.__key===y&&m===k||C===d-1&&T.__key===b&&g===0)&&(w=!0,x&=T.getFormat(),x===0))break}o.format=w?x:0}}F(e,gu,void 0)})}function gl(n){if(!n.getTargetRanges)return null;const e=n.getTargetRanges();return e.length===0?null:e[0]}function Wu(n,e){const t=n._compositionKey;if(ge(null),t!==null&&e!=null){if(e===""){const r=de(t),u=Vr(n.getElementByKey(t));return void(u!==null&&u.nodeValue!==null&&M(r)&&cs(r,u.nodeValue,null,null,!0))}if(e[e.length-1]===`
|
|
5
|
+
`){const r=j();if(L(r)){const u=r.focus;return r.anchor.set(u.key,u.offset,u.type),void F(n,Ur,null)}}}ls(!0,n,e)}function ml(n){let e=n.__lexicalEventHandles;return e===void 0&&(e=[],n.__lexicalEventHandles=e),e}const nn=new Map;function bl(n){const e=n.target,t=Oe(e==null?null:e.nodeType===9?e.defaultView:e.ownerDocument.defaultView);if(t===null)return;const r=Ja(t.anchorNode);if(r===null)return;bi&&(bi=!1,Ce(r,()=>{const l=rr(),f=t.anchorNode;if(f===null)return;const h=f.nodeType;h!==Zn&&h!==wt||Ae(gs(l,t,r,n))}));const u=as(r),i=u[u.length-1],s=i._key,o=nn.get(s),a=o||i;a!==r&&oo(t,a,!1),oo(t,r,!0),r!==i?nn.set(s,r):o&&nn.delete(s)}function ao(n){n._lexicalHandled=!0}function lo(n){return n._lexicalHandled===!0}function xf(n){const e=n.ownerDocument,t=eu.get(e);t===void 0&&R(162);const r=t-1;r>=0||R(164),eu.set(e,r),r===0&&e.removeEventListener("selectionchange",bl);const u=xu(n);os(u)?(function(s){if(s._parentEditor!==null){const o=as(s),a=o[o.length-1]._key;nn.get(a)===s&&nn.delete(a)}else nn.delete(s._key)}(u),n.__lexicalEditor=null):u&&R(198);const i=ml(n);for(let s=0;s<i.length;s++)i[s]();n.__lexicalEventHandles=[]}function yi(n,e,t){ve();const r=n.__key,u=n.getParent();if(u===null)return;const i=function(o){const a=j();if(!L(a)||!E(o))return a;const{anchor:l,focus:f}=a,h=l.getNode(),c=f.getNode();return An(h,o)&&l.set(o.__key,0,"element"),An(c,o)&&f.set(o.__key,0,"element"),a}(n);let s=!1;if(L(i)&&e){const o=i.anchor,a=i.focus;o.key===r&&(nu(o,n,u,n.getPreviousSibling(),n.getNextSibling()),s=!0),a.key===r&&(nu(a,n,u,n.getPreviousSibling(),n.getNextSibling()),s=!0)}else Ne(i)&&e&&n.isSelected()&&n.selectPrevious();if(L(i)&&e&&!s){const o=n.getIndexWithinParent();Pt(n),tu(i,u,o,-1)}else Pt(n);t||ut(u)||u.canBeEmpty()||!u.isEmpty()||yi(u,e),e&&ye(u)&&u.isEmpty()&&u.selectEnd()}class Cu{static getType(){R(64,this.name)}static clone(e){R(65,this.name)}afterCloneFrom(e){this.__parent=e.__parent,this.__next=e.__next,this.__prev=e.__prev}constructor(e){this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,sf(this,e)}getType(){return this.__type}isInline(){R(137,this.constructor.name)}isAttached(){let e=this.__key;for(;e!==null;){if(e==="root")return!0;const t=de(e);if(t===null)break;e=t.__parent}return!1}isSelected(e){const t=e||j();if(t==null)return!1;const r=t.getNodes().some(u=>u.__key===this.__key);if(M(this))return r;if(L(t)&&t.anchor.type==="element"&&t.focus.type==="element"){if(t.isCollapsed())return!1;const u=this.getParent();if(re(this)&&this.isInline()&&u){const i=t.isBackward()?t.focus:t.anchor,s=i.getNode();if(i.offset===s.getChildrenSize()&&s.is(u)&&s.getLastChildOrThrow().is(this))return!1}}return r}getKey(){return this.__key}getIndexWithinParent(){const e=this.getParent();if(e===null)return-1;let t=e.getFirstChild(),r=0;for(;t!==null;){if(this.is(t))return r;r++,t=t.getNextSibling()}return-1}getParent(){const e=this.getLatest().__parent;return e===null?null:de(e)}getParentOrThrow(){const e=this.getParent();return e===null&&R(66,this.__key),e}getTopLevelElement(){let e=this;for(;e!==null;){const t=e.getParent();if(ut(t))return E(e)||e===this&&re(e)||R(194),e;e=t}return null}getTopLevelElementOrThrow(){const e=this.getTopLevelElement();return e===null&&R(67,this.__key),e}getParents(){const e=[];let t=this.getParent();for(;t!==null;)e.push(t),t=t.getParent();return e}getParentKeys(){const e=[];let t=this.getParent();for(;t!==null;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){const e=this.getLatest().__prev;return e===null?null:de(e)}getPreviousSiblings(){const e=[],t=this.getParent();if(t===null)return e;let r=t.getFirstChild();for(;r!==null&&!r.is(this);)e.push(r),r=r.getNextSibling();return e}getNextSibling(){const e=this.getLatest().__next;return e===null?null:de(e)}getNextSiblings(){const e=[];let t=this.getNextSibling();for(;t!==null;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){const t=this.getParents(),r=e.getParents();E(this)&&t.unshift(this),E(e)&&r.unshift(e);const u=t.length,i=r.length;if(u===0||i===0||t[u-1]!==r[i-1])return null;const s=new Set(r);for(let o=0;o<u;o++){const a=t[o];if(s.has(a))return a}return null}is(e){return e!=null&&this.__key===e.__key}isBefore(e){if(this===e)return!1;if(e.isParentOf(this))return!0;if(this.isParentOf(e))return!1;const t=this.getCommonAncestor(e);let r=0,u=0,i=this;for(;;){const s=i.getParentOrThrow();if(s===t){r=i.getIndexWithinParent();break}i=s}for(i=e;;){const s=i.getParentOrThrow();if(s===t){u=i.getIndexWithinParent();break}i=s}return r<u}isParentOf(e){const t=this.__key;if(t===e.__key)return!1;let r=e;for(;r!==null;){if(r.__key===t)return!0;r=r.getParent()}return!1}getNodesBetween(e){const t=this.isBefore(e),r=[],u=new Set;let i=this;for(;i!==null;){const s=i.__key;if(u.has(s)||(u.add(s),r.push(i)),i===e)break;const o=E(i)?t?i.getFirstChild():i.getLastChild():null;if(o!==null){i=o;continue}const a=t?i.getNextSibling():i.getPreviousSibling();if(a!==null){i=a;continue}const l=i.getParentOrThrow();if(u.has(l.__key)||r.push(l),l===e)break;let f=null,h=l;do{if(h===null&&R(68),f=t?h.getNextSibling():h.getPreviousSibling(),h=h.getParent(),h===null)break;f!==null||u.has(h.__key)||r.push(h)}while(f===null);i=f}return t||r.reverse(),r}isDirty(){const e=oe()._dirtyLeaves;return e!==null&&e.has(this.__key)}getLatest(){const e=de(this.__key);return e===null&&R(113),e}getWritable(){ve();const e=ot(),t=oe(),r=e._nodeMap,u=this.__key,i=this.getLatest(),s=t._cloneNotNeeded,o=j();if(o!==null&&o.setCachedNodes(null),s.has(u))return Kr(i),i;const a=hs(i);return s.add(u),Kr(a),r.set(u,a),a}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(e,t){R(70)}updateDOM(e,t,r){R(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){R(72)}static importJSON(e){R(18,this.name)}static transform(){return null}remove(e){yi(this,!0,e)}replace(e,t){ve();let r=j();r!==null&&(r=r.clone()),Uu(this,e);const u=this.getLatest(),i=this.__key,s=e.__key,o=e.getWritable(),a=this.getParentOrThrow().getWritable(),l=a.__size;Pt(o);const f=u.getPreviousSibling(),h=u.getNextSibling(),c=u.__prev,d=u.__next,p=u.__parent;if(yi(u,!1,!0),f===null?a.__first=s:f.getWritable().__next=s,o.__prev=c,h===null?a.__last=s:h.getWritable().__prev=s,o.__next=d,o.__parent=p,a.__size=l,t&&(E(this)&&E(o)||R(139),this.getChildren().forEach(m=>{o.append(m)})),L(r)){Ae(r);const m=r.anchor,g=r.focus;m.key===i&&po(m,o),g.key===i&&po(g,o)}return gt()===i&&ge(s),o}insertAfter(e,t=!0){ve(),Uu(this,e);const r=this.getWritable(),u=e.getWritable(),i=u.getParent(),s=j();let o=!1,a=!1;if(i!==null){const d=e.getIndexWithinParent();if(Pt(u),L(s)){const p=i.__key,m=s.anchor,g=s.focus;o=m.type==="element"&&m.key===p&&m.offset===d+1,a=g.type==="element"&&g.key===p&&g.offset===d+1}}const l=this.getNextSibling(),f=this.getParentOrThrow().getWritable(),h=u.__key,c=r.__next;if(l===null?f.__last=h:l.getWritable().__prev=h,f.__size++,r.__next=h,u.__next=c,u.__prev=r.__key,u.__parent=r.__parent,t&&L(s)){const d=this.getIndexWithinParent();tu(s,f,d+1);const p=f.__key;o&&s.anchor.set(p,d+2,"element"),a&&s.focus.set(p,d+2,"element")}return e}insertBefore(e,t=!0){ve(),Uu(this,e);const r=this.getWritable(),u=e.getWritable(),i=u.__key;Pt(u);const s=this.getPreviousSibling(),o=this.getParentOrThrow().getWritable(),a=r.__prev,l=this.getIndexWithinParent();s===null?o.__first=i:s.getWritable().__next=i,o.__size++,r.__prev=i,u.__prev=a,u.__next=r.__key,u.__parent=r.__parent;const f=j();return t&&L(f)&&tu(f,this.getParentOrThrow(),l),e}isParentRequired(){return!1}createParentElementNode(){return Ee()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(e,t){ve();const r=this.getPreviousSibling(),u=this.getParentOrThrow();if(r===null)return u.select(0,0);if(E(r))return r.select();if(!M(r)){const i=r.getIndexWithinParent()+1;return u.select(i,i)}return r.select(e,t)}selectNext(e,t){ve();const r=this.getNextSibling(),u=this.getParentOrThrow();if(r===null)return u.select();if(E(r))return r.select(0,0);if(!M(r)){const i=r.getIndexWithinParent();return u.select(i,i)}return r.select(e,t)}markDirty(){this.getWritable()}reconcileObservedMutation(e,t){this.markDirty()}}class er extends Cu{static getType(){return"linebreak"}static clone(e){return new er(e.__key)}constructor(e){super(e)}getTextContent(){return`
|
|
6
|
+
`}createDOM(){return document.createElement("br")}updateDOM(){return!1}static importDOM(){return{br:e=>function(t){const r=t.parentElement;if(r!==null&&Xr(r)){const u=r.firstChild;if(u===t||u.nextSibling===t&&yr(u)){const i=r.lastChild;if(i===t||i.previousSibling===t&&yr(i))return!0}}return!1}(e)||function(t){const r=t.parentElement;if(r!==null&&Xr(r)){const u=r.firstChild;if(u===t||u.nextSibling===t&&yr(u))return!1;const i=r.lastChild;if(i===t||i.previousSibling===t&&yr(i))return!0}return!1}(e)?null:{conversion:vf,priority:0}}}static importJSON(e){return Rt()}exportJSON(){return{type:"linebreak",version:1}}}function vf(n){return{node:Rt()}}function Rt(){return St(new er)}function xt(n){return n instanceof er}function yr(n){return n.nodeType===wt&&/^( |\t|\r?\n)+$/.test(n.textContent||"")}function Hu(n,e){return 16&e?"code":e&Qi?"mark":32&e?"sub":64&e?"sup":null}function Vu(n,e){return 1&e?"strong":2&e?"em":"span"}function yl(n,e,t,r,u){const i=r.classList;let s=Nn(u,"base");s!==void 0&&i.add(...s),s=Nn(u,"underlineStrikethrough");let o=!1;const a=e&Wr&&e&$r;s!==void 0&&(t&Wr&&t&$r?(o=!0,a||i.add(...s)):a&&i.remove(...s));for(const l in Dt){const f=Dt[l];if(s=Nn(u,l),s!==void 0)if(t&f){if(o&&(l==="underline"||l==="strikethrough")){e&f&&i.remove(...s);continue}e&f&&(!a||l!=="underline")&&l!=="strikethrough"||i.add(...s)}else e&f&&i.remove(...s)}}function _l(n,e,t){const r=e.firstChild,u=t.isComposing(),i=n+(u?_u:"");if(r==null)e.textContent=i;else{const s=r.nodeValue;if(s!==i)if(u||_t){const[o,a,l]=function(f,h){const c=f.length,d=h.length;let p=0,m=0;for(;p<c&&p<d&&f[p]===h[p];)p++;for(;m+p<c&&m+p<d&&f[c-m-1]===h[d-m-1];)m++;return[p,c-p-m,h.slice(p,d-m)]}(s,i);a!==0&&r.deleteData(o,a),r.insertData(o,l)}else r.nodeValue=i}}function co(n,e,t,r,u,i){_l(u,n,e);const s=i.theme.text;s!==void 0&&yl(0,0,r,n,s)}function _r(n,e){const t=document.createElement(e);return t.appendChild(n),t}class zt extends Cu{static getType(){return"text"}static clone(e){return new zt(e.__text,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__format=e.__format,this.__style=e.__style,this.__mode=e.__mode,this.__detail=e.__detail}constructor(e,t){super(t),this.__text=e,this.__format=0,this.__style="",this.__mode=0,this.__detail=0}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){const e=this.getLatest();return J0[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return this.getLatest().__mode===1}isComposing(){return this.__key===gt()}isSegmented(){return this.getLatest().__mode===2}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){const t=Dt[e];return!!(this.getFormat()&t)}isSimpleText(){return this.__type==="text"&&this.__mode===0}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return Gr(this.getLatest().__format,e,t)}canHaveFormat(){return!0}createDOM(e,t){const r=this.__format,u=Hu(0,r),i=Vu(0,r),s=u===null?i:u,o=document.createElement(s);let a=o;this.hasFormat("code")&&o.setAttribute("spellcheck","false"),u!==null&&(a=document.createElement(i),o.appendChild(a)),co(a,this,0,r,this.__text,e);const l=this.__style;return l!==""&&(o.style.cssText=l),o}updateDOM(e,t,r){const u=this.__text,i=e.__format,s=this.__format,o=Hu(0,i),a=Hu(0,s),l=Vu(0,i),f=Vu(0,s);if((o===null?l:o)!==(a===null?f:a))return!0;if(o===a&&l!==f){const m=t.firstChild;m==null&&R(48);const g=document.createElement(f);return co(g,this,0,s,u,r),t.replaceChild(g,m),!1}let h=t;a!==null&&o!==null&&(h=t.firstChild,h==null&&R(49)),_l(u,h,this);const c=r.theme.text;c!==void 0&&i!==s&&yl(0,i,s,h,c);const d=e.__style,p=this.__style;return d!==p&&(t.style.cssText=p),!1}static importDOM(){return{"#text":()=>({conversion:Cf,priority:0}),b:()=>({conversion:Sf,priority:0}),code:()=>({conversion:dt,priority:0}),em:()=>({conversion:dt,priority:0}),i:()=>({conversion:dt,priority:0}),s:()=>({conversion:dt,priority:0}),span:()=>({conversion:wf,priority:0}),strong:()=>({conversion:dt,priority:0}),sub:()=>({conversion:dt,priority:0}),sup:()=>({conversion:dt,priority:0}),u:()=>({conversion:dt,priority:0})}}static importJSON(e){const t=le(e.text);return t.setFormat(e.format),t.setDetail(e.detail),t.setMode(e.mode),t.setStyle(e.style),t}exportDOM(e){let{element:t}=super.exportDOM(e);return t!==null&&Ut(t)||R(132),t.style.whiteSpace="pre-wrap",this.hasFormat("bold")&&(t=_r(t,"b")),this.hasFormat("italic")&&(t=_r(t,"i")),this.hasFormat("strikethrough")&&(t=_r(t,"s")),this.hasFormat("underline")&&(t=_r(t,"u")),{element:t}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),type:"text",version:1}}selectionTransform(e,t){}setFormat(e){const t=this.getWritable();return t.__format=typeof e=="string"?Dt[e]:e,t}setDetail(e){const t=this.getWritable();return t.__detail=typeof e=="string"?V0[e]:e,t}setStyle(e){const t=this.getWritable();return t.__style=e,t}toggleFormat(e){const t=Gr(this.getFormat(),e,null);return this.setFormat(t)}toggleDirectionless(){const e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){const e=this.getWritable();return e.__detail^=2,e}setMode(e){const t=K0[e];if(this.__mode===t)return this;const r=this.getWritable();return r.__mode=t,r}setTextContent(e){if(this.__text===e)return this;const t=this.getWritable();return t.__text=e,t}select(e,t){ve();let r=e,u=t;const i=j(),s=this.getTextContent(),o=this.__key;if(typeof s=="string"){const a=s.length;r===void 0&&(r=a),u===void 0&&(u=a)}else r=0,u=0;if(!L(i))return wl(o,r,o,u,"text","text");{const a=gt();a!==i.anchor.key&&a!==i.focus.key||ge(o),i.setTextNodeRange(this,r,this,u)}return i}selectStart(){return this.select(0,0)}selectEnd(){const e=this.getTextContentSize();return this.select(e,e)}spliceText(e,t,r,u){const i=this.getWritable(),s=i.__text,o=r.length;let a=e;a<0&&(a=o+a,a<0&&(a=0));const l=j();if(u&&L(l)){const h=e+o;l.setTextNodeRange(i,h,i,h)}const f=s.slice(0,a)+r+s.slice(a+t);return i.__text=f,i}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){ve();const t=this.getLatest(),r=t.getTextContent(),u=t.__key,i=gt(),s=new Set(e),o=[],a=r.length;let l="";for(let C=0;C<a;C++)l!==""&&s.has(C)&&(o.push(l),l=""),l+=r[C];l!==""&&o.push(l);const f=o.length;if(f===0)return[];if(o[0]===r)return[t];const h=o[0],c=t.getParent();let d;const p=t.getFormat(),m=t.getStyle(),g=t.__detail;let y=!1;t.isSegmented()?(d=le(h),d.__format=p,d.__style=m,d.__detail=g,y=!0):(d=t.getWritable(),d.__text=h);const b=j(),x=[d];let w=h.length;for(let C=1;C<f;C++){const T=o[C],k=T.length,S=le(T).getWritable();S.__format=p,S.__style=m,S.__detail=g;const P=S.__key,z=w+k;if(L(b)){const v=b.anchor,N=b.focus;v.key===u&&v.type==="text"&&v.offset>w&&v.offset<=z&&(v.key=P,v.offset-=w,b.dirty=!0),N.key===u&&N.type==="text"&&N.offset>w&&N.offset<=z&&(N.key=P,N.offset-=w,b.dirty=!0)}i===u&&ge(P),w=z,x.push(S)}if(c!==null){(function(k){const S=k.getPreviousSibling(),P=k.getNextSibling();S!==null&&Kr(S),P!==null&&Kr(P)})(this);const C=c.getWritable(),T=this.getIndexWithinParent();y?(C.splice(T,0,x),this.remove()):C.splice(T,1,x),L(b)&&tu(b,c,T,f-1)}return x}mergeWithSibling(e){const t=e===this.getPreviousSibling();t||e===this.getNextSibling()||R(50);const r=this.__key,u=e.__key,i=this.__text,s=i.length;gt()===u&&ge(r);const o=j();if(L(o)){const h=o.anchor,c=o.focus;h!==null&&h.key===u&&(vo(h,t,r,e,s),o.dirty=!0),c!==null&&c.key===u&&(vo(c,t,r,e,s),o.dirty=!0)}const a=e.__text,l=t?a+i:i+a;this.setTextContent(l);const f=this.getWritable();return e.remove(),f}isTextEntity(){return!1}}function wf(n){return{forChild:ps(n.style),node:null}}function Sf(n){const e=n,t=e.style.fontWeight==="normal";return{forChild:ps(e.style,t?void 0:"bold"),node:null}}const fo=new WeakMap;function Tf(n){return n.nodeName==="PRE"||n.nodeType===Zn&&n.style!==void 0&&n.style.whiteSpace!==void 0&&n.style.whiteSpace.startsWith("pre")}function Cf(n){const e=n;n.parentElement===null&&R(129);let t=e.textContent||"";if(function(r){let u,i=r.parentNode;const s=[r];for(;i!==null&&(u=fo.get(i))===void 0&&!Tf(i);)s.push(i),i=i.parentNode;const o=u===void 0?i:u;for(let a=0;a<s.length;a++)fo.set(s[a],o);return o}(e)!==null){const r=t.split(/(\r?\n|\t)/),u=[],i=r.length;for(let s=0;s<i;s++){const o=r[s];o===`
|
|
7
7
|
`||o===`\r
|
|
8
|
-
`?u.push(Rt()):o===" "?u.push(
|
|
9
|
-
`),f=!c.isEmpty();else if(f=!1,
|
|
8
|
+
`?u.push(Rt()):o===" "?u.push(nr()):o!==""&&u.push(le(o))}return{node:u}}if(t=t.replace(/\r/g,"").replace(/[ \t\n]+/g," "),t==="")return{node:null};if(t[0]===" "){let r=e,u=!0;for(;r!==null&&(r=ho(r,!1))!==null;){const i=r.textContent||"";if(i.length>0){/[ \t\n]$/.test(i)&&(t=t.slice(1)),u=!1;break}}u&&(t=t.slice(1))}if(t[t.length-1]===" "){let r=e,u=!0;for(;r!==null&&(r=ho(r,!0))!==null;)if((r.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){u=!1;break}u&&(t=t.slice(0,t.length-1))}return t===""?{node:null}:{node:le(t)}}function ho(n,e){let t=n;for(;;){let r;for(;(r=e?t.nextSibling:t.previousSibling)===null;){const i=t.parentElement;if(i===null)return null;t=i}if(t=r,t.nodeType===Zn){const i=t.style.display;if(i===""&&!oi(t)||i!==""&&!i.startsWith("inline"))return null}let u=t;for(;(u=e?t.firstChild:t.lastChild)!==null;)t=u;if(t.nodeType===wt)return t;if(t.nodeName==="BR")return null}}const Ef={code:"code",em:"italic",i:"italic",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function dt(n){const e=Ef[n.nodeName.toLowerCase()];return e===void 0?{node:null}:{forChild:ps(n.style,e),node:null}}function le(n=""){return St(new zt(n))}function M(n){return n instanceof zt}function ps(n,e){const t=n.fontWeight,r=n.textDecoration.split(" "),u=t==="700"||t==="bold",i=r.includes("line-through"),s=n.fontStyle==="italic",o=r.includes("underline"),a=n.verticalAlign;return l=>(M(l)&&(u&&!l.hasFormat("bold")&&l.toggleFormat("bold"),i&&!l.hasFormat("strikethrough")&&l.toggleFormat("strikethrough"),s&&!l.hasFormat("italic")&&l.toggleFormat("italic"),o&&!l.hasFormat("underline")&&l.toggleFormat("underline"),a!=="sub"||l.hasFormat("subscript")||l.toggleFormat("subscript"),a!=="super"||l.hasFormat("superscript")||l.toggleFormat("superscript"),e&&!l.hasFormat(e)&&l.toggleFormat(e)),l)}class tr extends zt{static getType(){return"tab"}static clone(e){return new tr(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__text=e.__text}constructor(e){super(" ",e),this.__detail=2}static importDOM(){return null}static importJSON(e){const t=nr();return t.setFormat(e.format),t.setStyle(e.style),t}exportJSON(){return{...super.exportJSON(),type:"tab",version:1}}setTextContent(e){R(126)}setDetail(e){R(127)}setMode(e){R(128)}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function nr(){return St(new tr)}function kf(n){return n instanceof tr}class Nf{constructor(e,t,r){this._selection=null,this.key=e,this.offset=t,this.type=r}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){let t=this.getNode(),r=e.getNode();const u=this.offset,i=e.offset;if(E(t)){const s=t.getDescendantByIndex(u);t=s??t}if(E(r)){const s=r.getDescendantByIndex(i);r=s??r}return t===r?u<i:t.isBefore(r)}getNode(){const e=de(this.key);return e===null&&R(20),e}set(e,t,r){const u=this._selection,i=this.key;this.key=e,this.offset=t,this.type=r,ur()||(gt()===i&&ge(e),u!==null&&(u.setCachedNodes(null),u.dirty=!0))}}function Je(n,e,t){return new Nf(n,e,t)}function Gu(n,e){let t=e.__key,r=n.offset,u="element";if(M(e)){u="text";const i=e.getTextContentSize();r>i&&(r=i)}else if(!E(e)){const i=e.getNextSibling();if(M(i))t=i.__key,r=0,u="text";else{const s=e.getParent();s&&(t=s.__key,r=e.getIndexWithinParent()+1)}}n.set(t,r,u)}function po(n,e){if(E(e)){const t=e.getLastDescendant();E(t)||M(t)?Gu(n,t):Gu(n,e)}else Gu(n,e)}function pt(n,e,t,r){n.key=e,n.offset=t,n.type=r}class Eu{constructor(e){this._cachedNodes=null,this._nodes=e,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){if(!Ne(e))return!1;const t=this._nodes,r=e._nodes;return t.size===r.size&&Array.from(t).every(u=>r.has(u))}isCollapsed(){return!1}isBackward(){return!1}getStartEndPoints(){return null}add(e){this.dirty=!0,this._nodes.add(e),this._cachedNodes=null}delete(e){this.dirty=!0,this._nodes.delete(e),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(e){return this._nodes.has(e)}clone(){return new Eu(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(e){}insertText(){}insertNodes(e){const t=this.getNodes(),r=t.length,u=t[r-1];let i;if(M(u))i=u.select();else{const s=u.getIndexWithinParent()+1;i=u.getParentOrThrow().select(s,s)}i.insertNodes(e);for(let s=0;s<r;s++)t[s].remove()}getNodes(){const e=this._cachedNodes;if(e!==null)return e;const t=this._nodes,r=[];for(const u of t){const i=de(u);i!==null&&r.push(i)}return ur()||(this._cachedNodes=r),r}getTextContent(){const e=this.getNodes();let t="";for(let r=0;r<e.length;r++)t+=e[r].getTextContent();return t}}function L(n){return n instanceof Tt}class Tt{constructor(e,t,r,u){this.anchor=e,this.focus=t,e._selection=this,t._selection=this,this._cachedNodes=null,this.format=r,this.style=u,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){return!!L(e)&&this.anchor.is(e.anchor)&&this.focus.is(e.focus)&&this.format===e.format&&this.style===e.style}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){const e=this._cachedNodes;if(e!==null)return e;const t=this.anchor,r=this.focus,u=t.isBefore(r),i=u?t:r,s=u?r:t;let o=i.getNode(),a=s.getNode();const l=i.offset,f=s.offset;if(E(o)){const c=o.getDescendantByIndex(l);o=c??o}if(E(a)){let c=a.getDescendantByIndex(f);c!==null&&c!==o&&a.getChildAtIndex(f)===c&&(c=c.getPreviousSibling()),a=c??a}let h;return h=o.is(a)?E(o)&&o.getChildrenSize()>0?[]:[o]:o.getNodesBetween(a),ur()||(this._cachedNodes=h),h}setTextNodeRange(e,t,r,u){pt(this.anchor,e.__key,t,"text"),pt(this.focus,r.__key,u,"text"),this._cachedNodes=null,this.dirty=!0}getTextContent(){const e=this.getNodes();if(e.length===0)return"";const t=e[0],r=e[e.length-1],u=this.anchor,i=this.focus,s=u.isBefore(i),[o,a]=_i(this);let l="",f=!0;for(let h=0;h<e.length;h++){const c=e[h];if(E(c)&&!c.isInline())f||(l+=`
|
|
9
|
+
`),f=!c.isEmpty();else if(f=!1,M(c)){let d=c.getTextContent();c===t?c===r?u.type==="element"&&i.type==="element"&&i.offset!==u.offset||(d=o<a?d.slice(o,a):d.slice(a,o)):d=s?d.slice(o):d.slice(a):c===r&&(d=s?d.slice(0,a):d.slice(0,o)),l+=d}else!re(c)&&!xt(c)||c===r&&this.isCollapsed()||(l+=c.getTextContent())}return l}applyDOMRange(e){const t=oe(),r=t.getEditorState()._selection,u=vl(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,r);if(u===null)return;const[i,s]=u;pt(this.anchor,i.key,i.offset,i.type),pt(this.focus,s.key,s.offset,s.type),this._cachedNodes=null}clone(){const e=this.anchor,t=this.focus;return new Tt(Je(e.key,e.offset,e.type),Je(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=Gr(this.format,e,null),this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){const t=Dt[e];return!!(this.format&t)}insertRawText(e){const t=e.split(/(\r?\n|\t)/),r=[],u=t.length;for(let i=0;i<u;i++){const s=t[i];s===`
|
|
10
10
|
`||s===`\r
|
|
11
|
-
`?r.push(Rt()):s===" "?r.push(er()):r.push(oe(s))}this.insertNodes(r)}insertText(e){const t=this.anchor,r=this.focus,u=this.format,i=this.style;let s=t,o=r;!this.isCollapsed()&&r.isBefore(t)&&(s=r,o=t),s.type==="element"&&function(g,y,b,x){const w=g.getNode(),C=w.getChildAtIndex(g.offset),T=oe(),E=be(w)?Ee().append(T):T;T.setFormat(b),T.setStyle(x),C===null?w.append(E):C.insertBefore(E),g.is(y)&&y.set(T.__key,0,"text"),g.set(T.__key,0,"text")}(s,o,u,i);const a=s.offset;let l=o.offset;const f=this.getNodes(),h=f.length;let c=f[0];D(c)||M(26);const d=c.getTextContent().length,p=c.getParentOrThrow();let m=f[h-1];if(h===1&&o.type==="element"&&(l=d,o.set(s.key,l,"text")),this.isCollapsed()&&a===d&&(c.isSegmented()||c.isToken()||!c.canInsertTextAfter()||!p.canInsertTextAfter()&&c.getNextSibling()===null)){let g=c.getNextSibling();if(D(g)&&g.canInsertTextBefore()&&!At(g)||(g=oe(),g.setFormat(u),g.setStyle(i),p.canInsertTextAfter()?c.insertAfter(g):p.insertAfter(g)),g.select(0,0),c=g,e!=="")return void this.insertText(e)}else if(this.isCollapsed()&&a===0&&(c.isSegmented()||c.isToken()||!c.canInsertTextBefore()||!p.canInsertTextBefore()&&c.getPreviousSibling()===null)){let g=c.getPreviousSibling();if(D(g)&&!At(g)||(g=oe(),g.setFormat(u),p.canInsertTextBefore()?c.insertBefore(g):p.insertBefore(g)),g.select(),c=g,e!=="")return void this.insertText(e)}else if(c.isSegmented()&&a!==d){const g=oe(c.getTextContent());g.setFormat(u),c.replace(g),c=g}else if(!this.isCollapsed()&&e!==""){const g=m.getParent();if(!p.canInsertTextBefore()||!p.canInsertTextAfter()||k(g)&&(!g.canInsertTextBefore()||!g.canInsertTextAfter()))return this.insertText(""),bl(this.anchor,this.focus,null),void this.insertText(e)}if(h===1){if(c.isToken()){const x=oe(e);return x.select(),void c.replace(x)}const g=c.getFormat(),y=c.getStyle();if(a!==l||g===u&&y===i){if(Ef(c)){const x=oe(e);return x.setFormat(u),x.setStyle(i),x.select(),void c.replace(x)}}else{if(c.getTextContent()!==""){const x=oe(e);if(x.setFormat(u),x.setStyle(i),x.select(),a===0)c.insertBefore(x,!1);else{const[w]=c.splitText(a);w.insertAfter(x,!1)}return void(x.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=e.length))}c.setFormat(u),c.setStyle(i)}const b=l-a;c=c.spliceText(a,b,e,!0),c.getTextContent()===""?c.remove():this.anchor.type==="text"&&(c.isComposing()?this.anchor.offset-=e.length:(this.format=g,this.style=y))}else{const g=new Set([...c.getParentKeys(),...m.getParentKeys()]),y=k(c)?c:c.getParentOrThrow();let b=k(m)?m:m.getParentOrThrow(),x=m;if(!y.is(b)&&b.isInline())do x=b,b=b.getParentOrThrow();while(b.isInline());if(o.type==="text"&&(l!==0||m.getTextContent()==="")||o.type==="element"&&m.getIndexWithinParent()<l)if(D(m)&&!m.isToken()&&l!==m.getTextContentSize()){if(m.isSegmented()){const S=oe(m.getTextContent());m.replace(S),m=S}be(o.getNode())||o.type!=="text"||(m=m.spliceText(0,l,"")),g.add(m.__key)}else{const S=m.getParentOrThrow();S.canBeEmpty()||S.getChildrenSize()!==1?m.remove():S.remove()}else g.add(m.__key);const w=b.getChildren(),C=new Set(f),T=y.is(b),E=y.isInline()&&c.getNextSibling()===null?y:c;for(let S=w.length-1;S>=0;S--){const P=w[S];if(P.is(c)||k(P)&&P.isParentOf(c))break;P.isAttached()&&(!C.has(P)||P.is(x)?T||E.insertAfter(P,!1):P.remove())}if(!T){let S=b,P=null;for(;S!==null;){const z=S.getChildren(),v=z.length;(v===0||z[v-1].is(P))&&(g.delete(S.__key),P=S),S=S.getParent()}}if(c.isToken())if(a===d)c.select();else{const S=oe(e);S.select(),c.replace(S)}else c=c.spliceText(a,d-a,e,!0),c.getTextContent()===""?c.remove():c.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=e.length);for(let S=1;S<h;S++){const P=f[S],z=P.__key;g.has(z)||P.remove()}}}removeText(){if(this.isCollapsed())return;const{anchor:e,focus:t}=this,r=this.getNodes(),u=this.isBackward()?t:e,i=this.isBackward()?e:t;let s=u.getNode(),o=i.getNode();const a=_n(s,ht),l=_n(o,ht);D(s)&&s.isToken()&&u.offset<s.getTextContentSize()&&(u.offset=0),i.offset>0&&D(o)&&o.isToken()&&(i.offset=o.getTextContentSize()),r.forEach(h=>{kn(s,h)||kn(o,h)||h.getKey()===s.getKey()||h.getKey()===o.getKey()||h.remove()});const f=(h,c)=>{if(h.getTextContent()==="")h.remove();else if(c!==0&&At(h)){const d=oe(h.getTextContent());return d.setFormat(h.getFormat()),d.setStyle(h.getStyle()),h.replace(d)}};if(s===o&&D(s)){const h=Math.abs(t.offset-e.offset);return s.spliceText(u.offset,h,"",!0),void f(s,h)}if(D(s)){const h=s.getTextContentSize()-u.offset;s.spliceText(u.offset,h,""),s=f(s,h)||s}D(o)&&(o.spliceText(0,i.offset,""),o=f(o,i.offset)||o),s.isAttached()&&D(s)?s.selectEnd():o.isAttached()&&D(o)&&o.selectStart(),k(a)&&k(l)&&a!==l&&(a.append(...l.getChildren()),l.remove(),i.set(u.key,u.offset,u.type))}formatText(e,t=null){if(this.isCollapsed())return this.toggleFormat(e),void pe(null);const r=this.getNodes(),u=[];for(const w of r)D(w)&&u.push(w);const i=w=>{r.forEach(C=>{if(Bt(C)){const T=C.getFormatFlags(e,w);C.setTextFormat(T)}})},s=u.length;if(s===0)return this.toggleFormat(e),pe(null),void i(t);const o=this.anchor,a=this.focus,l=this.isBackward(),f=l?a:o,h=l?o:a;let c=0,d=u[0],p=f.type==="element"?0:f.offset;if(f.type==="text"&&p===d.getTextContentSize()&&(c=1,d=u[1],p=0),d==null)return;const m=d.getFormatFlags(e,t);i(m);const g=s-1;let y=u[g];const b=h.type==="text"?h.offset:y.getTextContentSize();if(d.is(y)){if(p===b)return;if(At(d)||p===0&&b===d.getTextContentSize())d.setFormat(m);else{const w=d.splitText(p,b),C=p===0?w[0]:w[1];C.setFormat(m),f.type==="text"&&f.set(C.__key,0,"text"),h.type==="text"&&h.set(C.__key,b-p,"text")}return void(this.format=m)}p===0||At(d)||([,d]=d.splitText(p),p=0),d.setFormat(m);const x=y.getFormatFlags(e,m);b>0&&(b===y.getTextContentSize()||At(y)||([y]=y.splitText(b)),y.setFormat(x));for(let w=c+1;w<g;w++){const C=u[w],T=C.getFormatFlags(e,x);C.setFormat(T)}f.type==="text"&&f.set(d.__key,p,"text"),h.type==="text"&&h.set(y.__key,b,"text"),this.format=m|x}insertNodes(e){if(e.length===0)return;if(this.anchor.key==="root"){this.insertParagraph();const p=j();return L(p)||M(134),p.insertNodes(e)}const t=(this.isBackward()?this.focus:this.anchor).getNode(),r=_n(t,ht),u=e[e.length-1];if(k(r)&&"__language"in r){if("__language"in e[0])this.insertText(e[0].getTextContent());else{const p=Hu(this);r.splice(p,0,e),u.selectEnd()}return}if(!e.some(p=>(k(p)||te(p))&&!p.isInline())){k(r)||M(211,t.constructor.name,t.getType());const p=Hu(this);return r.splice(p,0,e),void u.selectEnd()}const i=function(p){const m=Ee();let g=null;for(let y=0;y<p.length;y++){const b=p[y],x=xt(b);if(x||te(b)&&b.isInline()||k(b)&&b.isInline()||D(b)||b.isParentRequired()){if(g===null&&(g=b.createParentElementNode(),m.append(g),x))continue;g!==null&&g.append(b)}else m.append(b),g=null}return m}(e),s=i.getLastDescendant(),o=i.getChildren(),a=!k(r)||!r.isEmpty()?this.insertParagraph():null,l=o[o.length-1];let f=o[0];var h;k(h=f)&&ht(h)&&!h.isEmpty()&&k(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(k(r)||M(211,t.constructor.name,t.getType()),r.append(...f.getChildren()),f=o[1]),f&&(r===null&&M(212,t.constructor.name,t.getType()),function(p,m,g){const y=m.getParentOrThrow().getLastChild();let b=m;const x=[m];for(;b!==y;)b.getNextSibling()||M(140),b=b.getNextSibling(),x.push(b);let w=p;for(const C of x)w=w.insertAfter(C)}(r,f));const c=_n(s,ht);a&&k(c)&&(a.canMergeWhenEmpty()||ht(l))&&(c.append(...a.getChildren()),a.remove()),k(r)&&r.isEmpty()&&r.remove(),s.selectEnd();const d=k(r)?r.getLastChild():null;xt(d)&&c!==r&&d.remove()}insertParagraph(){if(this.anchor.key==="root"){const s=Ee();return ie().splice(this.anchor.offset,0,[s]),s.select(),s}const e=Hu(this),t=_n(this.anchor.getNode(),ht);k(t)||M(213);const r=t.getChildAtIndex(e),u=r?[r,...r.getNextSiblings()]:[],i=t.insertNewAfter(this,!1);return i?(i.append(...u),i.selectStart(),i):null}insertLineBreak(e){const t=Rt();if(this.insertNodes([t]),e){const r=t.getParentOrThrow(),u=t.getIndexWithinParent();r.select(u,u)}}extract(){const e=this.getNodes(),t=e.length,r=t-1,u=this.anchor,i=this.focus;let s=e[0],o=e[r];const[a,l]=mi(this);if(t===0)return[];if(t===1){if(D(s)&&!this.isCollapsed()){const h=a>l?l:a,c=a>l?a:l,d=s.splitText(h,c),p=h===0?d[0]:d[1];return p!=null?[p]:[]}return[s]}const f=u.isBefore(i);if(D(s)){const h=f?a:l;h===s.getTextContentSize()?e.shift():h!==0&&([,s]=s.splitText(h),e[0]=s)}if(D(o)){const h=o.getTextContent().length,c=f?l:a;c===0?e.pop():c!==h&&([o]=o.splitText(c),e[r]=o)}return e}modify(e,t,r){const u=this.focus,i=this.anchor,s=e==="move",o=Rn(u,t);if(te(o)&&!o.isIsolated()){if(s&&o.isKeyboardSelectable()){const d=mo();return d.add(o.__key),void Ae(d)}const c=t?o.getPreviousSibling():o.getNextSibling();if(D(c)){const d=c.__key,p=t?c.getTextContent().length:0;return u.set(d,p,"text"),void(s&&i.set(d,p,"text"))}{const d=o.getParentOrThrow();let p,m;return k(c)?(m=c.__key,p=t?c.getChildrenSize():0):(p=o.getIndexWithinParent(),m=d.__key,t||p++),u.set(m,p,"element"),void(s&&i.set(m,p,"element"))}}const a=ue(),l=Oe(a._window);if(!l)return;const f=a._blockCursorElement,h=a._rootElement;if(h===null||f===null||!k(o)||o.isInline()||o.canBeEmpty()||as(f,a,h),function(c,d,p,m){c.modify(d,p,m)}(l,e,t?"backward":"forward",r),l.rangeCount>0){const c=l.getRangeAt(0),d=this.anchor.getNode(),p=be(d)?d:af(d);if(this.applyDOMRange(c),this.dirty=!0,!s){const m=this.getNodes(),g=[];let y=!1;for(let b=0;b<m.length;b++){const x=m[b];kn(x,p)?g.push(x):y=!0}if(y&&g.length>0)if(t){const b=g[0];k(b)?b.selectStart():b.getParentOrThrow().selectStart()}else{const b=g[g.length-1];k(b)?b.selectEnd():b.getParentOrThrow().selectEnd()}l.anchorNode===c.startContainer&&l.anchorOffset===c.startOffset||function(b){const x=b.focus,w=b.anchor,C=w.key,T=w.offset,E=w.type;pt(w,x.key,x.offset,x.type),pt(x,C,T,E),b._cachedNodes=null}(this)}}}forwardDeletion(e,t,r){if(!r&&(e.type==="element"&&k(t)&&e.offset===t.getChildrenSize()||e.type==="text"&&e.offset===t.getTextContentSize())){const u=t.getParent(),i=t.getNextSibling()||(u===null?null:u.getNextSibling());if(k(i)&&i.isShadowRoot())return!0}return!1}deleteCharacter(e){const t=this.isCollapsed();if(this.isCollapsed()){const r=this.anchor;let u=r.getNode();if(this.forwardDeletion(r,u,e))return;const i=this.focus,s=Rn(i,e);if(te(s)&&!s.isIsolated()){if(s.isKeyboardSelectable()&&k(u)&&u.getChildrenSize()===0){u.remove();const o=mo();o.add(s.__key),Ae(o)}else s.remove(),ue().dispatchCommand(du,void 0);return}if(!e&&k(s)&&k(u)&&u.isEmpty())return u.remove(),void s.selectStart();if(this.modify("extend",e,"character"),this.isCollapsed()){if(e&&r.offset===0&&(r.type==="element"?r.getNode():r.getNode().getParentOrThrow()).collapseAtStart(this))return}else{const o=i.type==="text"?i.getNode():null;if(u=r.type==="text"?r.getNode():null,o!==null&&o.isSegmented()){const a=i.offset,l=o.getTextContentSize();if(o.is(u)||e&&a!==l||!e&&a!==0)return void ho(o,e,a)}else if(u!==null&&u.isSegmented()){const a=r.offset,l=u.getTextContentSize();if(u.is(o)||e&&a!==0||!e&&a!==l)return void ho(u,e,a)}(function(a,l){const f=a.anchor,h=a.focus,c=f.getNode(),d=h.getNode();if(c===d&&f.type==="text"&&h.type==="text"){const p=f.offset,m=h.offset,g=p<m,y=g?p:m,b=g?m:p,x=b-1;y!==x&&(Za(c.getTextContent().slice(y,b))||(l?h.offset=x:f.offset=x))}})(this,e)}}if(this.removeText(),e&&!t&&this.isCollapsed()&&this.anchor.type==="element"&&this.anchor.offset===0){const r=this.anchor.getNode();r.isEmpty()&&be(r.getParent())&&r.getIndexWithinParent()===0&&r.collapseAtStart(this)}}deleteLine(e){if(this.isCollapsed()){const t=this.anchor.type==="element";if(t&&this.insertText(" "),this.modify("extend",e,"lineboundary"),this.isCollapsed()&&this.anchor.offset===0&&this.modify("extend",e,"character"),t){const r=e?this.anchor:this.focus;r.set(r.key,r.offset+1,r.type)}}this.removeText()}deleteWord(e){if(this.isCollapsed()){const t=this.anchor,r=t.getNode();if(this.forwardDeletion(t,r,e))return;this.modify("extend",e,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function Ne(n){return n instanceof Su}function fo(n){const e=n.offset;if(n.type==="text")return e;const t=n.getNode();return e===t.getChildrenSize()?t.getTextContent().length:0}function mi(n){const e=n.getStartEndPoints();if(e===null)return[0,0];const[t,r]=e;return t.type==="element"&&r.type==="element"&&t.key===r.key&&t.offset===r.offset?[0,0]:[fo(t),fo(r)]}function ho(n,e,t){const r=n,u=r.getTextContent().split(/(?=\s)/g),i=u.length;let s=0,o=0;for(let l=0;l<i;l++){const f=l===i-1;if(o=s,s+=u[l].length,e&&s===t||s>t||f){u.splice(l,1),f&&(o=void 0);break}}const a=u.join("").trim();a===""?r.remove():(r.setTextContent(a),r.select(o,o))}function po(n,e,t,r){let u,i=e;if(n.nodeType===Jn){let s=!1;const o=n.childNodes,a=o.length,l=r._blockCursorElement;i===a&&(s=!0,i=a-1);let f=o[i],h=!1;if(f===l)f=o[i+1],h=!0;else if(l!==null){const c=l.parentNode;n===c&&e>Array.prototype.indexOf.call(c.children,l)&&i--}if(u=Zt(f),D(u))i=Ks(u,s);else{let c=Zt(n);if(c===null)return null;if(k(c)){const d=r.getElementByKey(c.getKey());d===null&&M(214),[c,i]=c.getDOMSlot(d).resolveChildIndex(c,d,n,e),k(c)||M(215),s&&i>=c.getChildrenSize()&&(i=Math.max(0,c.getChildrenSize()-1));let m=c.getChildAtIndex(i);if(k(m)&&function(g,y,b){const x=g.getParent();return b===null||x===null||!x.canBeEmpty()||x!==b.getNode()}(m,0,t)){const g=s?m.getLastDescendant():m.getFirstDescendant();g===null?c=m:(m=g,c=k(m)?m:m.getParentOrThrow()),i=0}D(m)?(u=m,c=null,i=Ks(m,s)):m!==c&&s&&!h&&(k(c)||M(216),i=Math.min(c.getChildrenSize(),i+1))}else{const d=c.getIndexWithinParent();i=e===0&&te(c)&&Zt(n)===c?d:d+1,c=c.getParentOrThrow()}if(k(c))return Ge(c.__key,i,"element")}}else u=Zt(n);return D(u)?Ge(u.__key,i,"text"):null}function go(n,e,t){const r=n.offset,u=n.getNode();if(r===0){const i=u.getPreviousSibling(),s=u.getParent();if(e){if((t||!e)&&i===null&&k(s)&&s.isInline()){const o=s.getPreviousSibling();D(o)&&(n.key=o.__key,n.offset=o.getTextContent().length)}}else k(i)&&!t&&i.isInline()?(n.key=i.__key,n.offset=i.getChildrenSize(),n.type="element"):D(i)&&(n.key=i.__key,n.offset=i.getTextContent().length)}else if(r===u.getTextContent().length){const i=u.getNextSibling(),s=u.getParent();if(e&&k(i)&&i.isInline())n.key=i.__key,n.offset=0,n.type="element";else if((t||e)&&i===null&&k(s)&&s.isInline()&&!s.canInsertTextAfter()){const o=s.getNextSibling();D(o)&&(n.key=o.__key,n.offset=0)}}}function bl(n,e,t){if(n.type==="text"&&e.type==="text"){const r=n.isBefore(e),u=n.is(e);go(n,r,u),go(e,!r,u),u&&(e.key=n.key,e.offset=n.offset,e.type=n.type);const i=ue();if(i.isComposing()&&i._compositionKey!==n.key&&L(t)){const s=t.anchor,o=t.focus;pt(n,s.key,s.offset,s.type),pt(e,o.key,o.offset,o.type)}}}function yl(n,e,t,r,u,i){if(n===null||t===null||!Xn(u,n,t))return null;const s=po(n,e,L(i)?i.anchor:null,u);if(s===null)return null;const o=po(t,r,L(i)?i.focus:null,u);if(o===null)return null;if(s.type==="element"&&o.type==="element"){const a=Zt(n),l=Zt(t);if(te(a)&&te(l))return null}return bl(s,o,i),[s,o]}function bi(n){return k(n)&&!n.isInline()}function _l(n,e,t,r,u,i){const s=ot(),o=new Tt(Ge(n,e,u),Ge(t,r,i),0,"");return o.dirty=!0,s._selection=o,o}function Nf(){const n=Ge("root",0,"element"),e=Ge("root",0,"element");return new Tt(n,e,0,"")}function mo(){return new Su(new Set)}function fs(n,e,t,r){const u=t._window;if(u===null)return null;const i=r||u.event,s=i?i.type:void 0,o=s==="selectionchange",a=!ri&&(o||s==="beforeinput"||s==="compositionstart"||s==="compositionend"||s==="click"&&i&&i.detail===3||s==="drop"||s===void 0);let l,f,h,c;if(L(n)&&!a)return n.clone();if(e===null)return null;if(l=e.anchorNode,f=e.focusNode,h=e.anchorOffset,c=e.focusOffset,o&&L(n)&&!Xn(t,l,f))return n.clone();const d=yl(l,h,f,c,t,n);if(d===null)return null;const[p,m]=d;return new Tt(p,m,L(n)?n.format:0,L(n)?n.style:"")}function j(){return ot()._selection}function tr(){return ue()._editorState._selection}function Qr(n,e,t,r=1){const u=n.anchor,i=n.focus,s=u.getNode(),o=i.getNode();if(!e.is(s)&&!e.is(o))return;const a=e.__key;if(n.isCollapsed()){const l=u.offset;if(t<=l&&r>0||t<l&&r<0){const f=Math.max(0,l+r);u.set(a,f,"element"),i.set(a,f,"element"),bo(n)}}else{const l=n.isBackward(),f=l?i:u,h=f.getNode(),c=l?u:i,d=c.getNode();if(e.is(h)){const p=f.offset;(t<=p&&r>0||t<p&&r<0)&&f.set(a,Math.max(0,p+r),"element")}if(e.is(d)){const p=c.offset;(t<=p&&r>0||t<p&&r<0)&&c.set(a,Math.max(0,p+r),"element")}}bo(n)}function bo(n){const e=n.anchor,t=e.offset,r=n.focus,u=r.offset,i=e.getNode(),s=r.getNode();if(n.isCollapsed()){if(!k(i))return;const o=i.getChildrenSize(),a=t>=o,l=a?i.getChildAtIndex(o-1):i.getChildAtIndex(t);if(D(l)){let f=0;a&&(f=l.getTextContentSize()),e.set(l.__key,f,"text"),r.set(l.__key,f,"text")}}else{if(k(i)){const o=i.getChildrenSize(),a=t>=o,l=a?i.getChildAtIndex(o-1):i.getChildAtIndex(t);if(D(l)){let f=0;a&&(f=l.getTextContentSize()),e.set(l.__key,f,"text")}}if(k(s)){const o=s.getChildrenSize(),a=u>=o,l=a?s.getChildAtIndex(o-1):s.getChildAtIndex(u);if(D(l)){let f=0;a&&(f=l.getTextContentSize()),r.set(l.__key,f,"text")}}}}function Yr(n,e,t,r,u){let i=null,s=0,o=null;r!==null?(i=r.__key,D(r)?(s=r.getTextContentSize(),o="text"):k(r)&&(s=r.getChildrenSize(),o="element")):u!==null&&(i=u.__key,D(u)?o="text":k(u)&&(o="element")),i!==null&&o!==null?n.set(i,s,o):(s=e.getIndexWithinParent(),s===-1&&(s=t.getChildrenSize()),n.set(t.__key,s,"element"))}function yo(n,e,t,r,u){n.type==="text"?(n.key=t,e||(n.offset+=u)):n.offset>r.getIndexWithinParent()&&(n.offset-=1)}function Af(n,e,t,r,u,i,s){const o=r.anchorNode,a=r.focusNode,l=r.anchorOffset,f=r.focusOffset,h=document.activeElement;if(u.has("collaboration")&&h!==i||h!==null&&ns(h))return;if(!L(e))return void(n!==null&&Xn(t,o,a)&&r.removeAllRanges());const c=e.anchor,d=e.focus,p=c.key,m=d.key,g=Vr(t,p),y=Vr(t,m),b=c.offset,x=d.offset,w=e.format,C=e.style,T=e.isCollapsed();let E=g,S=y,P=!1;if(c.type==="text"){E=$r(g);const _=c.getNode();P=_.getFormat()!==w||_.getStyle()!==C}else L(n)&&n.anchor.type==="text"&&(P=!0);var z,v,N,O,B;if(d.type==="text"&&(S=$r(y)),E!==null&&S!==null&&(T&&(n===null||P||L(n)&&(n.format!==w||n.style!==C))&&(z=w,v=C,N=b,O=p,B=performance.now(),cl=[z,v,N,O,B]),l!==b||f!==x||o!==E||a!==S||r.type==="Range"&&T||(h!==null&&i.contains(h)||i.focus({preventScroll:!0}),c.type==="element"))){try{r.setBaseAndExtent(E,b,S,x)}catch{}if(!u.has("skip-scroll-into-view")&&e.isCollapsed()&&i!==null&&i===document.activeElement){const _=e instanceof Tt&&e.anchor.type==="element"?E.childNodes[b]||null:r.rangeCount>0?r.getRangeAt(0):null;if(_!==null){let I;if(_ instanceof Text){const A=document.createRange();A.selectNode(_),I=A.getBoundingClientRect()}else I=_.getBoundingClientRect();(function(A,q,Z){const ne=Z.ownerDocument,Je=ne.defaultView;if(Je===null)return;let{top:ft,bottom:R}=q,W=0,Te=0,V=Z;for(;V!==null;){const G=V===ne.body;if(G)W=0,Te=xu(A).innerHeight;else{const he=V.getBoundingClientRect();W=he.top,Te=he.bottom}let le=0;if(ft<W?le=-(W-ft):R>Te&&(le=R-Te),le!==0)if(G)Je.scrollBy(0,le);else{const he=V.scrollTop;V.scrollTop+=le;const se=V.scrollTop-he;ft-=se,R-=se}if(G)break;V=Zn(V)}})(t,I,i)}}hi=!0}}function ds(n){let e=j()||tr();e===null&&(e=ie().selectEnd()),e.insertNodes(n)}function Hu(n){let e=n;n.isCollapsed()||e.removeText();const t=j();L(t)&&(e=t),L(e)||M(161);const r=e.anchor;let u=r.getNode(),i=r.offset;for(;!ht(u);)[u,i]=Of(u,i);return i}function Of(n,e){const t=n.getParent();if(!t){const u=Ee();return ie().append(u),u.select(),[ie(),0]}if(D(n)){const u=n.splitText(e);if(u.length===0)return[t,n.getIndexWithinParent()];const i=e===0?0:1;return[t,u[0].getIndexWithinParent()+i]}if(!k(n)||e===0)return[t,n.getIndexWithinParent()];const r=n.getChildAtIndex(e);if(r){const u=new Tt(Ge(n.__key,e,"element"),Ge(n.__key,e,"element"),0,""),i=n.insertNewAfter(u);i&&i.append(r,...r.getNextSiblings())}return[t,n.getIndexWithinParent()+1]}let fe=null,de=null,ve=!1,Vu=!1,Pr=0;const _o={characterData:!0,childList:!0,subtree:!0};function nr(){return ve||fe!==null&&fe._readOnly}function xe(){ve&&M(13)}function xl(){Pr>99&&M(14)}function ot(){return fe===null&&M(195,vl()),fe}function ue(){return de===null&&M(196,vl()),de}function vl(){let n=0;const e=new Set,t=Cu.version;if(typeof window<"u")for(const u of document.querySelectorAll("[contenteditable]")){const i=bu(u);if(rs(i))n++;else if(i){let s=String(i.constructor.version||"<0.17.1");s===t&&(s+=" (separately built, likely a bundler configuration issue)"),e.add(s)}}let r=` Detected on the page: ${n} compatible editor(s) with version ${t}`;return e.size&&(r+=` and incompatible editors with versions ${Array.from(e).join(", ")}`),r}function If(){return de}function xo(n,e,t){const r=e.__type,u=function(o,a){const l=o._nodes.get(a);return l===void 0&&M(30,a),l}(n,r);let i=t.get(r);i===void 0&&(i=Array.from(u.transforms),t.set(r,i));const s=i.length;for(let o=0;o<s&&(i[o](e),e.isAttached());o++);}function vo(n,e){return n!==void 0&&n.__key!==e&&n.isAttached()}function wl(n,e){if(!e)return;const t=n._updateTags;let r=e;Array.isArray(e)||(r=[e]);for(const u of r)t.add(u)}function Pf(n){return hs(n,ue()._nodes)}function hs(n,e){const t=n.type,r=e.get(t);r===void 0&&M(17,t);const u=r.klass;n.type!==u.getType()&&M(18,u.name);const i=u.importJSON(n),s=n.children;if(k(i)&&Array.isArray(s))for(let o=0;o<s.length;o++){const a=hs(s[o],e);i.append(a)}return i}function wo(n,e,t){const r=fe,u=ve,i=de;fe=e,ve=!0,de=n;try{return t()}finally{fe=r,ve=u,de=i}}function mt(n,e){const t=n._pendingEditorState,r=n._rootElement,u=n._headless||r===null;if(t===null)return;const i=n._editorState,s=i._selection,o=t._selection,a=n._dirtyType!==Lt,l=fe,f=ve,h=de,c=n._updating,d=n._observer;let p=null;if(n._pendingEditorState=null,n._editorState=t,!u&&a&&d!==null){de=n,fe=t,ve=!1,n._updating=!0;try{const T=n._dirtyType,E=n._dirtyElements,S=n._dirtyLeaves;d.disconnect(),p=yf(i,t,n,T,E,S)}catch(T){if(T instanceof Error&&n._onError(T),Vu)throw T;return Nl(n,null,r,t),Wa(n),n._dirtyType=rn,Vu=!0,mt(n,i),void(Vu=!1)}finally{d.observe(r,_o),n._updating=c,fe=l,ve=f,de=h}}t._readOnly||(t._readOnly=!0);const m=n._dirtyLeaves,g=n._dirtyElements,y=n._normalizedNodes,b=n._updateTags,x=n._deferred;a&&(n._dirtyType=Lt,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements=new Map,n._normalizedNodes=new Set,n._updateTags=new Set),function(T,E){const S=T._decorators;let P=T._pendingDecorators||S;const z=E._nodeMap;let v;for(v in P)z.has(v)||(P===S&&(P=Ja(T)),delete P[v])}(n,t);const w=u?null:Oe(n._window);if(n._editable&&w!==null&&(a||o===null||o.dirty)){de=n,fe=t;try{if(d!==null&&d.disconnect(),a||o===null||o.dirty){const T=n._blockCursorElement;T!==null&&as(T,n,r),Af(s,o,n,w,b,r)}lf(n,r,o),d!==null&&d.observe(r,_o)}finally{de=h,fe=l}}p!==null&&function(T,E,S,P,z){const v=Array.from(T._listeners.mutation),N=v.length;for(let O=0;O<N;O++){const[B,_]=v[O],I=E.get(_);I!==void 0&&B(I,{dirtyLeaves:P,prevEditorState:z,updateTags:S})}}(n,p,b,m,i),L(o)||o===null||s!==null&&s.is(o)||n.dispatchCommand(du,void 0);const C=n._pendingDecorators;C!==null&&(n._decorators=C,n._pendingDecorators=null,On("decorator",n,!0,C)),function(T,E,S){const P=Gs(E),z=Gs(S);P!==z&&On("textcontent",T,!0,z)}(n,e||i,t),On("update",n,!0,{dirtyElements:g,dirtyLeaves:m,editorState:t,normalizedNodes:y,prevEditorState:e||i,tags:b}),function(T,E){if(T._deferred=[],E.length!==0){const S=T._updating;T._updating=!0;try{for(let P=0;P<E.length;P++)E[P]()}finally{T._updating=S}}}(n,x),function(T){const E=T._updates;if(E.length!==0){const S=E.shift();if(S){const[P,z]=S;Tl(T,P,z)}}}(n)}function On(n,e,t,...r){const u=e._updating;e._updating=t;try{const i=Array.from(e._listeners[n]);for(let s=0;s<i.length;s++)i[s].apply(null,r)}finally{e._updating=u}}function Sl(n,e,t){if(n._updating===!1||de!==n){let u=!1;return n.update(()=>{u=Sl(n,e,t)}),u}const r=us(n);for(let u=4;u>=0;u--)for(let i=0;i<r.length;i++){const s=r[i]._commands.get(e);if(s!==void 0){const o=s[u];if(o!==void 0){const a=Array.from(o),l=a.length;for(let f=0;f<l;f++)if(a[f](t,n)===!0)return!0}}}return!1}function So(n,e){const t=n._updates;let r=e||!1;for(;t.length!==0;){const u=t.shift();if(u){const[i,s]=u;let o;if(s!==void 0){if(o=s.onUpdate,s.skipTransforms&&(r=!0),s.discrete){const a=n._pendingEditorState;a===null&&M(191),a._flushSync=!0}o&&n._deferred.push(o),wl(n,s.tag)}i()}}return r}function Tl(n,e,t){const r=n._updateTags;let u,i=!1,s=!1;t!==void 0&&(u=t.onUpdate,wl(n,t.tag),i=t.skipTransforms||!1,s=t.discrete||!1),u&&n._deferred.push(u);const o=n._editorState;let a=n._pendingEditorState,l=!1;(a===null||a._readOnly)&&(a=n._pendingEditorState=El(a||o),l=!0),a._flushSync=s;const f=fe,h=ve,c=de,d=n._updating;fe=a,ve=!1,n._updating=!0,de=n;try{l&&(n._headless?o._selection!==null&&(a._selection=o._selection.clone()):a._selection=function(y){const b=y.getEditorState()._selection,x=Oe(y._window);return L(b)||b==null?fs(b,x,y,null):b.clone()}(n));const m=n._compositionKey;e(),i=So(n,i),function(y,b){const x=b.getEditorState()._selection,w=y._selection;if(L(w)){const C=w.anchor,T=w.focus;let E;if(C.type==="text"&&(E=C.getNode(),E.selectionTransform(x,w)),T.type==="text"){const S=T.getNode();E!==S&&S.selectionTransform(x,w)}}}(a,n),n._dirtyType!==Lt&&(i?function(y,b){const x=b._dirtyLeaves,w=y._nodeMap;for(const C of x){const T=w.get(C);D(T)&&T.isAttached()&&T.isSimpleText()&&!T.isUnmergeable()&&Hs(T)}}(a,n):function(y,b){const x=b._dirtyLeaves,w=b._dirtyElements,C=y._nodeMap,T=gt(),E=new Map;let S=x,P=S.size,z=w,v=z.size;for(;P>0||v>0;){if(P>0){b._dirtyLeaves=new Set;for(const N of S){const O=C.get(N);D(O)&&O.isAttached()&&O.isSimpleText()&&!O.isUnmergeable()&&Hs(O),O!==void 0&&vo(O,T)&&xo(b,O,E),x.add(N)}if(S=b._dirtyLeaves,P=S.size,P>0){Pr++;continue}}b._dirtyLeaves=new Set,b._dirtyElements=new Map;for(const N of z){const O=N[0],B=N[1];if(O!=="root"&&!B)continue;const _=C.get(O);_!==void 0&&vo(_,T)&&xo(b,_,E),w.set(O,B)}S=b._dirtyLeaves,P=S.size,z=b._dirtyElements,v=z.size,Pr++}b._dirtyLeaves=x,b._dirtyElements=w}(a,n),So(n),function(y,b,x,w){const C=y._nodeMap,T=b._nodeMap,E=[];for(const[S]of w){const P=T.get(S);P!==void 0&&(P.isAttached()||(k(P)&&tl(P,S,C,T,E,w),C.has(S)||w.delete(S),E.push(S)))}for(const S of E)T.delete(S);for(const S of x){const P=T.get(S);P===void 0||P.isAttached()||(C.has(S)||x.delete(S),T.delete(S))}}(o,a,n._dirtyLeaves,n._dirtyElements)),m!==n._compositionKey&&(a._flushSync=!0);const g=a._selection;if(L(g)){const y=a._nodeMap,b=g.anchor.key,x=g.focus.key;y.get(b)!==void 0&&y.get(x)!==void 0||M(19)}else Ne(g)&&g._nodes.size===0&&(a._selection=null)}catch(m){return m instanceof Error&&n._onError(m),n._pendingEditorState=o,n._dirtyType=rn,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements.clear(),void mt(n)}finally{fe=f,ve=h,de=c,n._updating=d,Pr=0}n._dirtyType!==Lt||function(m,g){const y=g.getEditorState()._selection,b=m._selection;if(b!==null){if(b.dirty||!b.is(y))return!0}else if(y!==null)return!0;return!1}(a,n)?a._flushSync?(a._flushSync=!1,mt(n)):l&&nf(()=>{mt(n)}):(a._flushSync=!1,l&&(r.clear(),n._deferred=[],n._pendingEditorState=null))}function Ce(n,e,t){n._updating?n._updates.push([e,t]):Tl(n,e,t)}class In{constructor(e,t,r){this.element=e,this.before=t||null,this.after=r||null}withBefore(e){return new In(this.element,e,this.after)}withAfter(e){return new In(this.element,this.before,e)}withElement(e){return new In(e,this.before,this.after)}insertChild(e){const t=this.before||this.getManagedLineBreak();return t!==null&&t.parentElement!==this.element&&M(222),this.element.insertBefore(e,t),this}removeChild(e){return e.parentElement!==this.element&&M(223),this.element.removeChild(e),this}replaceChild(e,t){return t.parentElement!==this.element&&M(224),this.element.replaceChild(e,t),this}getFirstChild(){const e=this.after?this.after.nextSibling:this.element.firstChild;return e===this.before||e===this.getManagedLineBreak()?null:e}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(e){if(e===null)this.removeManagedLineBreak();else{const t=e==="decorator"&&(Kn||gu);this.insertManagedLineBreak(t)}}removeManagedLineBreak(){const e=this.getManagedLineBreak();if(e){const t=this.element,r=e.nodeName==="IMG"?e.nextSibling:null;r&&t.removeChild(r),t.removeChild(e),t.__lexicalLineBreak=void 0}}insertManagedLineBreak(e){const t=this.getManagedLineBreak();if(t){if(e===(t.nodeName==="IMG"))return;this.removeManagedLineBreak()}const r=this.element,u=this.before,i=document.createElement("br");if(r.insertBefore(i,u),e){const s=document.createElement("img");s.setAttribute("data-lexical-linebreak","true"),s.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",s.alt="",r.insertBefore(s,i),r.__lexicalLineBreak=s}else r.__lexicalLineBreak=i}getFirstChildOffset(){let e=0;for(let t=this.after;t!==null;t=t.previousSibling)e++;return e}resolveChildIndex(e,t,r,u){if(r===this.element){const a=this.getFirstChildOffset();return[e,Math.min(a+e.getChildrenSize(),Math.max(a,u))]}const i=To(t,r);i.push(u);const s=To(t,this.element);let o=e.getIndexWithinParent();for(let a=0;a<s.length;a++){const l=i[a],f=s[a];if(l===void 0||l<f)break;if(l>f){o+=1;break}}return[e.getParentOrThrow(),o]}}function To(n,e){const t=[];let r=e;for(;r!==n&&r!==null;r=e.parentNode){let u=0;for(let i=r.previousSibling;i!==null;i=r.previousSibling)u++;t.push(u)}return r!==n&&M(225),t.reverse()}class $t extends wu{constructor(e){super(e),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null}afterCloneFrom(e){super.afterCloneFrom(e),this.__first=e.__first,this.__last=e.__last,this.__size=e.__size,this.__indent=e.__indent,this.__format=e.__format,this.__style=e.__style,this.__dir=e.__dir}getFormat(){return this.getLatest().__format}getFormatType(){const e=this.getFormat();return V0[e]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){const e=[];let t=this.getFirstChild();for(;t!==null;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){const e=[];let t=this.getFirstChild();for(;t!==null;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return this.getChildrenSize()===0}isDirty(){const e=ue()._dirtyElements;return e!==null&&e.has(this.__key)}isLastChild(){const e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return t!==null&&t.is(e)}getAllTextNodes(){const e=[];let t=this.getFirstChild();for(;t!==null;){if(D(t)&&e.push(t),k(t)){const r=t.getAllTextNodes();e.push(...r)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;k(e);){const t=e.getFirstChild();if(t===null)break;e=t}return e}getLastDescendant(){let e=this.getLastChild();for(;k(e);){const t=e.getLastChild();if(t===null)break;e=t}return e}getDescendantByIndex(e){const t=this.getChildren(),r=t.length;if(e>=r){const i=t[r-1];return k(i)&&i.getLastDescendant()||i||null}const u=t[e];return k(u)&&u.getFirstDescendant()||u||null}getFirstChild(){const e=this.getLatest().__first;return e===null?null:ce(e)}getFirstChildOrThrow(){const e=this.getFirstChild();return e===null&&M(45,this.__key),e}getLastChild(){const e=this.getLatest().__last;return e===null?null:ce(e)}getLastChildOrThrow(){const e=this.getLastChild();return e===null&&M(96,this.__key),e}getChildAtIndex(e){const t=this.getChildrenSize();let r,u;if(e<t/2){for(r=this.getFirstChild(),u=0;r!==null&&u<=e;){if(u===e)return r;r=r.getNextSibling(),u++}return null}for(r=this.getLastChild(),u=t-1;r!==null&&u>=e;){if(u===e)return r;r=r.getPreviousSibling(),u--}return null}getTextContent(){let e="";const t=this.getChildren(),r=t.length;for(let u=0;u<r;u++){const i=t[u];e+=i.getTextContent(),k(i)&&u!==r-1&&!i.isInline()&&(e+=rt)}return e}getTextContentSize(){let e=0;const t=this.getChildren(),r=t.length;for(let u=0;u<r;u++){const i=t[u];e+=i.getTextContentSize(),k(i)&&u!==r-1&&!i.isInline()&&(e+=rt.length)}return e}getDirection(){return this.getLatest().__dir}hasFormat(e){if(e!==""){const t=zs[e];return!!(this.getFormat()&t)}return!1}select(e,t){xe();const r=j();let u=e,i=t;const s=this.getChildrenSize();if(!this.canBeEmpty()){if(e===0&&t===0){const a=this.getFirstChild();if(D(a)||k(a))return a.select(0,0)}else if(!(e!==void 0&&e!==s||t!==void 0&&t!==s)){const a=this.getLastChild();if(D(a)||k(a))return a.select()}}u===void 0&&(u=s),i===void 0&&(i=s);const o=this.__key;return L(r)?(r.anchor.set(o,u,"element"),r.focus.set(o,i,"element"),r.dirty=!0,r):_l(o,u,o,i,"element","element")}selectStart(){const e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){const e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){const e=this.getWritable();return this.getChildren().forEach(t=>t.remove()),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){const t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=e!==""?zs[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,r){const u=r.length,i=this.getChildrenSize(),s=this.getWritable();e+t<=i||M(226,String(e),String(t),String(i));const o=s.__key,a=[],l=[],f=this.getChildAtIndex(e+t);let h=null,c=i-t+u;if(e!==0)if(e===i)h=this.getLastChild();else{const p=this.getChildAtIndex(e);p!==null&&(h=p.getPreviousSibling())}if(t>0){let p=h===null?this.getFirstChild():h.getNextSibling();for(let m=0;m<t;m++){p===null&&M(100);const g=p.getNextSibling(),y=p.__key;Pt(p.getWritable()),l.push(y),p=g}}let d=h;for(let p=0;p<u;p++){const m=r[p];d!==null&&m.is(d)&&(h=d=d.getPreviousSibling());const g=m.getWritable();g.__parent===o&&c--,Pt(g);const y=m.__key;if(d===null)s.__first=y,g.__prev=null;else{const b=d.getWritable();b.__next=y,g.__prev=b.__key}m.__key===o&&M(76),g.__parent=o,a.push(y),d=m}if(e+t===i)d!==null&&(d.getWritable().__next=null,s.__last=d.__key);else if(f!==null){const p=f.getWritable();if(d!==null){const m=d.getWritable();p.__prev=d.__key,m.__next=f.__key}else p.__prev=null}if(s.__size=c,l.length){const p=j();if(L(p)){const m=new Set(l),g=new Set(a),{anchor:y,focus:b}=p;Co(y,m,g)&&Yr(y,y.getNode(),this,h,f),Co(b,m,g)&&Yr(b,b.getNode(),this,h,f),c!==0||this.canBeEmpty()||ut(this)||this.remove()}}return s}getDOMSlot(e){return new In(e)}exportDOM(e){const{element:t}=super.exportDOM(e);if(t&&Ut(t)){const r=this.getIndent();r>0&&(t.style.paddingInlineStart=40*r+"px")}return{element:t}}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"element",version:1}}insertNewAfter(e,t){return null}canIndent(){return!0}collapseAtStart(e){return!1}excludeFromCopy(e){return!1}canReplaceWith(e){return!0}canInsertAfter(e){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(e){return!1}extractWithChild(e,t,r){return!1}canMergeWhenEmpty(){return!1}reconcileObservedMutation(e,t){const r=this.getDOMSlot(e);let u=r.getFirstChild();for(let i=this.getFirstChild();i;i=i.getNextSibling()){const s=t.getElementByKey(i.getKey());s!==null&&(u==null?(r.insertChild(s),u=s):u!==s&&r.replaceChild(s,u),u=u.nextSibling)}}}function k(n){return n instanceof $t}function Co(n,e,t){let r=n.getNode();for(;r;){const u=r.__key;if(e.has(u)&&!t.has(u))return!0;r=r.getParent()}return!1}class Cl extends wu{constructor(e){super(e)}decorate(e,t){M(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function te(n){return n instanceof Cl}class rr extends $t{static getType(){return"root"}static clone(){return new rr}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){M(51)}getTextContent(){const e=this.__cachedText;return!nr()&&ue()._dirtyType!==Lt||e===null?super.getTextContent():e}remove(){M(52)}replace(e){M(53)}insertBefore(e){M(54)}insertAfter(e){M(55)}updateDOM(e,t){return!1}append(...e){for(let t=0;t<e.length;t++){const r=e[t];k(r)||te(r)||M(56)}return super.append(...e)}static importJSON(e){const t=ie();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"root",version:1}}collapseAtStart(){return!0}}function be(n){return n instanceof rr}function El(n){return new Tu(new Map(n._nodeMap))}function ps(){return new Tu(new Map([["root",new rr]]))}function kl(n){const e=n.exportJSON(),t=n.constructor;if(e.type!==t.getType()&&M(130,t.name),k(n)){const r=e.children;Array.isArray(r)||M(59,t.name);const u=n.getChildren();for(let i=0;i<u.length;i++){const s=kl(u[i]);r.push(s)}}return e}class Tu{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return this._nodeMap.size===1&&this._selection===null}read(e,t){return wo(t&&t.editor||null,this,e)}clone(e){const t=new Tu(this._nodeMap,e===void 0?this._selection:e);return t._readOnly=!0,t}toJSON(){return wo(null,this,()=>({root:kl(ie())}))}}class gs extends $t{static getType(){return"artificial"}createDOM(e){return document.createElement("div")}}class dn extends $t{constructor(e){super(e),this.__textFormat=0,this.__textStyle=""}static getType(){return"paragraph"}getTextFormat(){return this.getLatest().__textFormat}setTextFormat(e){const t=this.getWritable();return t.__textFormat=e,t}hasTextFormat(e){const t=Dt[e];return!!(this.getTextFormat()&t)}getFormatFlags(e,t){return Wr(this.getLatest().__textFormat,e,t)}getTextStyle(){return this.getLatest().__textStyle}setTextStyle(e){const t=this.getWritable();return t.__textStyle=e,t}static clone(e){return new dn(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}createDOM(e){const t=document.createElement("p"),r=En(e.theme,"paragraph");return r!==void 0&&t.classList.add(...r),t}updateDOM(e,t,r){return!1}static importDOM(){return{p:e=>({conversion:Lf,priority:0})}}exportDOM(e){const{element:t}=super.exportDOM(e);if(t&&Ut(t)){this.isEmpty()&&t.append(document.createElement("br"));const r=this.getFormatType();t.style.textAlign=r;const u=this.getDirection();u&&(t.dir=u)}return{element:t}}static importJSON(e){const t=Ee();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t.setTextFormat(e.textFormat),t}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle(),type:"paragraph",version:1}}insertNewAfter(e,t){const r=Ee();r.setTextFormat(e.format),r.setTextStyle(e.style);const u=this.getDirection();return r.setDirection(u),r.setFormat(this.getFormatType()),r.setStyle(this.getTextStyle()),this.insertAfter(r,t),r}collapseAtStart(){const e=this.getChildren();if(e.length===0||D(e[0])&&e[0].getTextContent().trim()===""){if(this.getNextSibling()!==null)return this.selectNext(),this.remove(),!0;if(this.getPreviousSibling()!==null)return this.selectPrevious(),this.remove(),!0}return!1}}function Lf(n){const e=Ee();return n.style&&(e.setFormat(n.style.textAlign),pf(n,e)),{node:e}}function Ee(){return St(new dn)}function Bt(n){return n instanceof dn}const Q=0,nt=1,Df=4;function Nl(n,e,t,r){const u=n._keyToDOMMap;u.clear(),n._editorState=ps(),n._pendingEditorState=r,n._compositionKey=null,n._dirtyType=Lt,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements.clear(),n._normalizedNodes=new Set,n._updateTags=new Set,n._updates=[],n._blockCursorElement=null;const i=n._observer;i!==null&&(i.disconnect(),n._observer=null),e!==null&&(e.textContent=""),t!==null&&(t.textContent="",u.set("root",t))}function Mf(n){const e=n||{},t=If(),r=e.theme||{},u=n===void 0?t:e.parentEditor||null,i=e.disableEvents||!1,s=ps(),o=e.namespace||(u!==null?u._config.namespace:Qa()),a=e.editorState,l=[rr,zt,Qn,Yn,dn,gs,...e.nodes||[]],{onError:f,html:h}=e,c=e.editable===void 0||e.editable;let d;if(n===void 0&&t!==null)d=t._nodes;else{d=new Map;for(let m=0;m<l.length;m++){let g=l[m],y=null,b=null;if(typeof g!="function"){const T=g;g=T.replace,y=T.with,b=T.withKlass||null}const x=g.getType(),w=g.transform(),C=new Set;w!==null&&C.add(w),d.set(x,{exportDOM:h&&h.export?h.export.get(g):void 0,klass:g,replace:y,replaceWithKlass:b,transforms:C})}}const p=new Cu(s,u,d,{disableEvents:i,namespace:o,theme:r},f||console.error,function(m,g){const y=new Map,b=new Set,x=w=>{Object.keys(w).forEach(C=>{let T=y.get(C);T===void 0&&(T=[],y.set(C,T)),T.push(w[C])})};return m.forEach(w=>{const C=w.klass.importDOM;if(C==null||b.has(C))return;b.add(C);const T=C.call(w.klass);T!==null&&x(T)}),g&&x(g),y}(d,h?h.import:void 0),c);return a!==void 0&&(p._pendingEditorState=a,p._dirtyType=rn),p}class Cu{constructor(e,t,r,u,i,s,o){this._parentEditor=t,this._rootElement=null,this._editorState=e,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=u,this._nodes=r,this._decorators={},this._pendingDecorators=null,this._dirtyType=Lt,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=Qa(),this._onError=i,this._htmlConversions=s,this._editable=o,this._headless=t!==null&&t._headless,this._window=null,this._blockCursorElement=null}isComposing(){return this._compositionKey!=null}registerUpdateListener(e){const t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){const t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){const t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){const t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){const t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,r){r===void 0&&M(35);const u=this._commands;u.has(e)||u.set(e,[new Set,new Set,new Set,new Set,new Set]);const i=u.get(e);i===void 0&&M(36,String(e));const s=i[r];return s.add(t),()=>{s.delete(t),i.every(o=>o.size===0)&&u.delete(e)}}registerMutationListener(e,t,r){const u=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(e)).klass,i=this._listeners.mutation;i.set(t,u);const s=r&&r.skipInitialization;return s!==void 0&&s||this.initializeMutationListener(t,u),()=>{i.delete(t)}}getRegisteredNode(e){const t=this._nodes.get(e.getType());return t===void 0&&M(37,e.name),t}resolveRegisteredNodeAfterReplacements(e){for(;e.replaceWithKlass;)e=this.getRegisteredNode(e.replaceWithKlass);return e}initializeMutationListener(e,t){const r=this._editorState,u=hf(r).get(t.getType());if(!u)return;const i=new Map;for(const s of u.keys())i.set(s,"created");i.size>0&&e(i,{dirtyLeaves:new Set,prevEditorState:r,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(e,t){const r=this.getRegisteredNode(e);return r.transforms.add(t),r}registerNodeTransform(e,t){const r=this.registerNodeTransformToKlass(e,t),u=[r],i=r.replaceWithKlass;if(i!=null){const a=this.registerNodeTransformToKlass(i,t);u.push(a)}var s,o;return s=this,o=e.getType(),Ce(s,()=>{const a=ot();if(a.isEmpty())return;if(o==="root")return void ie().markDirty();const l=a._nodeMap;for(const[,f]of l)f.markDirty()},s._pendingEditorState===null?{tag:"history-merge"}:void 0),()=>{u.forEach(a=>a.transforms.delete(t))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return F(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){const t=this._rootElement;if(e!==t){const r=En(this._config.theme,"root"),u=this._pendingEditorState||this._editorState;if(this._rootElement=e,Nl(this,t,e,u),t!==null&&(this._config.disableEvents||_f(t),r!=null&&t.classList.remove(...r)),e!==null){const i=function(o){const a=o.ownerDocument;return a&&a.defaultView||null}(e),s=e.style;s.userSelect="text",s.whiteSpace="pre-wrap",s.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=i,this._dirtyType=rn,Wa(this),this._updateTags.add("history-merge"),mt(this),this._config.disableEvents||function(o,a){const l=o.ownerDocument,f=Zr.get(l);(f===void 0||f<1)&&l.addEventListener("selectionchange",pl),Zr.set(l,(f||0)+1),o.__lexicalEditor=a;const h=hl(o);for(let c=0;c<di.length;c++){const[d,p]=di[c],m=typeof p=="function"?g=>{so(g)||(io(g),(a.isEditable()||d==="click")&&p(g,a))}:g=>{if(so(g))return;io(g);const y=a.isEditable();switch(d){case"cut":return y&&F(a,Vi,g);case"copy":return F(a,pu,g);case"paste":return y&&F(a,hu,g);case"dragstart":return y&&F(a,Ra,g);case"dragover":return y&&F(a,Ba,g);case"dragend":return y&&F(a,A0,g);case"focus":return y&&F(a,P0,g);case"blur":return y&&F(a,L0,g);case"drop":return y&&F(a,Ma,g)}};o.addEventListener(d,m),h.push(()=>{o.removeEventListener(d,m)})}}(e,this),r!=null&&e.classList.add(...r)}else this._editorState=u,this._pendingEditorState=null,this._window=null;On("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&M(38);let r=e;r._readOnly&&(r=El(e),r._selection=e._selection?e._selection.clone():null),$a(this);const u=this._pendingEditorState,i=this._updateTags,s=t!==void 0?t.tag:null;u===null||u.isEmpty()||(s!=null&&i.add(s),mt(this)),this._pendingEditorState=r,this._dirtyType=rn,this._dirtyElements.set("root",!1),this._compositionKey=null,s!=null&&i.add(s),this._updating||mt(this)}parseEditorState(e,t){return function(r,u,i){const s=ps(),o=fe,a=ve,l=de,f=u._dirtyElements,h=u._dirtyLeaves,c=u._cloneNotNeeded,d=u._dirtyType;u._dirtyElements=new Map,u._dirtyLeaves=new Set,u._cloneNotNeeded=new Set,u._dirtyType=0,fe=s,ve=!1,de=u;try{const p=u._nodes;hs(r.root,p),i&&i(),s._readOnly=!0}catch(p){p instanceof Error&&u._onError(p)}finally{u._dirtyElements=f,u._dirtyLeaves=h,u._cloneNotNeeded=c,u._dirtyType=d,fe=o,ve=a,de=l}return s}(typeof e=="string"?JSON.parse(e):e,this,t)}read(e){return mt(this),this.getEditorState().read(e,{editor:this})}update(e,t){Ce(this,e,t)}focus(e,t={}){const r=this._rootElement;r!==null&&(r.setAttribute("autocapitalize","off"),Ce(this,()=>{const u=j(),i=ie();u!==null?u.dirty=!0:i.getChildrenSize()!==0&&(t.defaultSelection==="rootStart"?i.selectStart():i.selectEnd())},{onUpdate:()=>{r.removeAttribute("autocapitalize"),e&&e()},tag:"focus"}),this._pendingEditorState===null&&r.removeAttribute("autocapitalize"))}blur(){const e=this._rootElement;e!==null&&e.blur();const t=Oe(this._window);t!==null&&t.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,On("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}Cu.version="0.21.0+prod.esm";function Rf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}Rf(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Bf=new Map;function Ff(n){const e={};if(!n)return e;const t=n.split(";");for(const r of t)if(r!==""){const[u,i]=r.split(/:([^]+)/);u&&i&&(e[u.trim()]=i.trim())}return e}function Al(n,e){const t=n.getStartEndPoints();if(e.isSelected(n)&&!e.isSegmented()&&!e.isToken()&&t!==null){const[r,u]=t,i=n.isBackward(),s=r.getNode(),o=u.getNode(),a=e.is(s),l=e.is(o);if(a||l){const[f,h]=mi(n),c=s.is(o),d=e.is(i?o:s),p=e.is(i?s:o);let m,g=0;return c?(g=f>h?h:f,m=f>h?f:h):d?(g=i?h:f,m=void 0):p&&(g=0,m=i?f:h),e.__text=e.__text.slice(g,m),e}}return e}function jf(n){const e=n.getStyle(),t=Ff(e);Bf.set(e,t)}function Eo(n,e){const t=Rn(n.focus,e);return te(t)&&!t.isIsolated()||k(t)&&!t.isInline()&&!t.canBeEmpty()}function qf(n,e,t,r){n.modify(e?"extend":"move",t,r)}function Uf(n){const e=n.anchor.getNode();return(be(e)?e:e.getParentOrThrow()).getDirection()==="rtl"}function ko(n,e,t){const r=Uf(n);qf(n,e,t?!r:r,"character")}function zf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var $f=zf(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Ol=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,Wf=Ol&&"documentMode"in document?document.documentMode:null;!(!Ol||!("InputEvent"in window)||Wf)&&"getTargetRanges"in new window.InputEvent("input");function Il(...n){const e=[];for(const t of n)if(t&&typeof t=="string")for(const[r]of t.matchAll(/\S+/g))e.push(r);return e}function at(...n){return()=>{for(let e=n.length-1;e>=0;e--)n[e]();n.length=0}}function ms(n,...e){const t=Il(...e);t.length>0&&n.classList.add(...t)}function Pl(n,...e){const t=Il(...e);t.length>0&&n.classList.remove(...t)}function Hf(n,e){let t=n;for(;t!=null;){if(t instanceof e)return t;t=t.getParent()}return null}function Vf(n){const e=Eu(n,t=>k(t)&&!t.isInline());return k(e)||$f(4,n.__key),e}const Eu=(n,e)=>{let t=n;for(;t!==ie()&&t!=null;){if(e(t))return t;t=t.getParent()}return null};function bt(n,e){return n!==null&&Object.getPrototypeOf(n).constructor.name===e.name}function Ll(n,e){const t=e.body?e.body.childNodes:[];let r=[];const u=[];for(let i=0;i<t.length;i++){const s=t[i];if(!Rl.has(s.nodeName)){const o=Bl(s,n,u,!1);o!==null&&(r=r.concat(o))}}return function(i){for(const s of i)s.getNextSibling()instanceof gs&&s.insertAfter(Rt());for(const s of i){const o=s.getChildren();for(const a of o)s.insertBefore(a);s.remove()}}(u),r}function Dl(n,e){if(typeof document>"u"||typeof window>"u"&&global.window===void 0)throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");const t=document.createElement("div"),r=ie().getChildren();for(let u=0;u<r.length;u++)Ml(n,r[u],t,e);return t.innerHTML}function Ml(n,e,t,r=null){let u=r===null||e.isSelected(r);const i=k(e)&&e.excludeFromCopy("html");let s=e;if(r!==null){let d=ls(e);d=D(d)&&r!==null?Al(r,d):d,s=d}const o=k(s)?s.getChildren():[],a=n._nodes.get(s.getType());let l;l=a&&a.exportDOM!==void 0?a.exportDOM(n,s):s.exportDOM(n);const{element:f,after:h}=l;if(!f)return!1;const c=document.createDocumentFragment();for(let d=0;d<o.length;d++){const p=o[d],m=Ml(n,p,c,r);!u&&k(e)&&m&&e.extractWithChild(p,r,"html")&&(u=!0)}if(u&&!i){if((Ut(f)||eo(f))&&f.append(c),t.append(f),h){const d=h.call(s,f);d&&(eo(f)?f.replaceChildren(d):f.replaceWith(d))}}else t.append(c);return u}const Rl=new Set(["STYLE","SCRIPT"]);function Bl(n,e,t,r,u=new Map,i){let s=[];if(Rl.has(n.nodeName))return s;let o=null;const a=function(p,m){const{nodeName:g}=p,y=m._htmlConversions.get(g.toLowerCase());let b=null;if(y!==void 0)for(const x of y){const w=x(p);w!==null&&(b===null||(b.priority||0)<=(w.priority||0))&&(b=w)}return b!==null?b.conversion:null}(n,e),l=a?a(n):null;let f=null;if(l!==null){f=l.after;const p=l.node;if(o=Array.isArray(p)?p[p.length-1]:p,o!==null){for(const[,m]of u)if(o=m(o,i),!o)break;o&&s.push(...Array.isArray(p)?p:[o])}l.forChild!=null&&u.set(n.nodeName,l.forChild)}const h=n.childNodes;let c=[];const d=(o==null||!ut(o))&&(o!=null&&bi(o)||r);for(let p=0;p<h.length;p++)c.push(...Bl(h[p],e,t,d,new Map(u),o));return f!=null&&(c=f(c)),Gr(n)&&(c=Gf(n,c,d?()=>{const p=new gs;return t.push(p),p}:Ee)),o==null?c.length>0?s=s.concat(c):Gr(n)&&function(p){return p.nextSibling==null||p.previousSibling==null?!1:ui(p.nextSibling)&&ui(p.previousSibling)}(n)&&(s=s.concat(Rt())):k(o)&&o.append(...c),s}function Gf(n,e,t){const r=n.style.textAlign,u=[];let i=[];for(let s=0;s<e.length;s++){const o=e[s];if(bi(o))r&&!o.getFormat()&&o.setFormat(r),u.push(o);else if(i.push(o),s===e.length-1||s<e.length-1&&bi(e[s+1])){const a=t();a.setFormat(r),a.append(...i),u.push(a),i=[]}}return u}const Kf=new Set(["http:","https:","mailto:","sms:","tel:"]);let ur=class Fl extends $t{static getType(){return"link"}static clone(e){return new Fl(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e,t={},r){super(r);const{target:u=null,rel:i=null,title:s=null}=t;this.__url=e,this.__target=u,this.__rel=i,this.__title=s}createDOM(e){const t=document.createElement("a");return t.href=this.sanitizeUrl(this.__url),this.__target!==null&&(t.target=this.__target),this.__rel!==null&&(t.rel=this.__rel),this.__title!==null&&(t.title=this.__title),ms(t,e.theme.link),t}updateDOM(e,t,r){if(t instanceof HTMLAnchorElement){const u=this.__url,i=this.__target,s=this.__rel,o=this.__title;u!==e.__url&&(t.href=u),i!==e.__target&&(i?t.target=i:t.removeAttribute("target")),s!==e.__rel&&(s?t.rel=s:t.removeAttribute("rel")),o!==e.__title&&(o?t.title=o:t.removeAttribute("title"))}return!1}static importDOM(){return{a:e=>({conversion:Jf,priority:1})}}static importJSON(e){const t=eu(e.url,{rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}sanitizeUrl(e){try{const t=new URL(e);if(!Kf.has(t.protocol))return"about:blank"}catch{return e}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),type:"link",url:this.getURL(),version:1}}getURL(){return this.getLatest().__url}setURL(e){this.getWritable().__url=e}getTarget(){return this.getLatest().__target}setTarget(e){this.getWritable().__target=e}getRel(){return this.getLatest().__rel}setRel(e){this.getWritable().__rel=e}getTitle(){return this.getLatest().__title}setTitle(e){this.getWritable().__title=e}insertNewAfter(e,t=!0){const r=eu(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(r,t),r}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,r){if(!L(t))return!1;const u=t.anchor.getNode(),i=t.focus.getNode();return this.isParentOf(u)&&this.isParentOf(i)&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}};function Jf(n){let e=null;if(cf(n)){const t=n.textContent;(t!==null&&t!==""||n.children.length>0)&&(e=eu(n.getAttribute("href")||"",{rel:n.getAttribute("rel"),target:n.getAttribute("target"),title:n.getAttribute("title")}))}return{node:e}}function eu(n,e){return St(new ur(n,e))}function tt(n){return n instanceof ur}let ku=class jl extends ur{constructor(e,t={},r){super(e,t,r),this.__isUnlinked=t.isUnlinked!==void 0&&t.isUnlinked!==null&&t.isUnlinked}static getType(){return"autolink"}static clone(e){return new jl(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){const t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?document.createElement("span"):super.createDOM(e)}updateDOM(e,t,r){return super.updateDOM(e,t,r)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){const t=yi(e.url,{isUnlinked:e.isUnlinked,rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked,type:"autolink",version:1}}insertNewAfter(e,t=!0){const r=this.getParentOrThrow().insertNewAfter(e,t);if(k(r)){const u=yi(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return r.append(u),u}return null}};function yi(n,e){return St(new ku(n,e))}function Jt(n){return n instanceof ku}const nn=fn();function Gu(n,e={}){const{target:t,title:r}=e,u=e.rel===void 0?"noreferrer":e.rel,i=j();if(!L(i))return;const s=i.extract();if(n===null)s.forEach(o=>{const a=Eu(o,l=>!Jt(l)&&tt(l));if(a){const l=a.getChildren();for(let f=0;f<l.length;f++)a.insertBefore(l[f]);a.remove()}});else{if(s.length===1){const l=function(f,h){let c=f;for(;c!==null&&c.getParent()!==null&&!h(c);)c=c.getParentOrThrow();return h(c)?c:null}(s[0],tt);if(l!==null)return l.setURL(n),t!==void 0&&l.setTarget(t),u!==null&&l.setRel(u),void(r!==void 0&&l.setTitle(r))}let o=null,a=null;s.forEach(l=>{const f=l.getParent();if(f!==a&&f!==null&&(!k(l)||l.isInline())){if(tt(f))return a=f,f.setURL(n),t!==void 0&&f.setTarget(t),u!==null&&a.setRel(u),void(r!==void 0&&a.setTitle(r));if(f.is(o)||(o=f,a=eu(n,{rel:u,target:t,title:r}),tt(f)?l.getPreviousSibling()===null?f.insertBefore(a):f.insertAfter(a):l.insertBefore(a)),tt(l)){if(l.is(a))return;if(a!==null){const h=l.getChildren();for(let c=0;c<h.length;c++)a.append(h[c])}l.remove()}else a!==null&&a.append(l)}})}}function Xf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var $e=Xf(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Zf(n){let e=1,t=n.getParent();for(;t!=null;){if(re(t)){const r=t.getParent();if(X(r)){e++,t=r.getParent();continue}$e(40)}return e}return e}function _i(n){let e=n.getParent();X(e)||$e(40);let t=e;for(;t!==null;)t=t.getParent(),X(t)&&(e=t);return e}function ql(n){let e=[];const t=n.getChildren().filter(re);for(let r=0;r<t.length;r++){const u=t[r],i=u.getFirstChild();X(i)?e=e.concat(ql(i)):e.push(u)}return e}function We(n){return re(n)&&X(n.getFirstChild())}function No(n){return ke().append(n)}function Ul(n,e){return re(n)&&(e.length===0||e.length===1&&n.is(e[0])&&n.getChildrenSize()===0)}function Ao(n,e){n.update(()=>{const t=j();if(t!==null){const r=t.getNodes();if(L(t)){const i=t.getStartEndPoints();i===null&&$e(143);const[s]=i,o=s.getNode(),a=o.getParent();if(Ul(o,r)){const l=we(e);if(ut(a)){o.replace(l);const f=ke();k(o)&&(f.setFormat(o.getFormatType()),f.setIndent(o.getIndent())),l.append(f)}else if(re(o)){const f=o.getParentOrThrow();Ft(l,f.getChildren()),f.replace(l)}return}}const u=new Set;for(let i=0;i<r.length;i++){const s=r[i];if(!k(s)||!s.isEmpty()||re(s)||u.has(s.getKey())){if(Ga(s)){let o=s.getParent();for(;o!=null;){const a=o.getKey();if(X(o)){if(!u.has(a)){const l=we(e);Ft(l,o.getChildren()),o.replace(l),u.add(a)}break}{const l=o.getParent();if(ut(l)&&!u.has(a)){u.add(a),Oo(o,e);break}o=l}}}}else Oo(s,e)}}})}function Ft(n,e){n.splice(n.getChildrenSize(),0,e)}function Oo(n,e){if(X(n))return n;const t=n.getPreviousSibling(),r=n.getNextSibling(),u=ke();let i;if(Ft(u,n.getChildren()),X(t)&&e===t.getListType())t.append(u),X(r)&&e===r.getListType()&&(Ft(t,r.getChildren()),r.remove()),i=t;else if(X(r)&&e===r.getListType())r.getFirstChildOrThrow().insertBefore(u),i=r;else{const s=we(e);s.append(u),n.replace(s),i=s}return u.setFormat(n.getFormatType()),u.setIndent(n.getIndent()),n.remove(),i}function bs(n,e){const t=n.getLastChild(),r=e.getFirstChild();t&&r&&We(t)&&We(r)&&(bs(t.getFirstChild(),r.getFirstChild()),r.remove());const u=e.getChildren();u.length>0&&n.append(...u),e.remove()}function Qf(n){n.update(()=>{const e=j();if(L(e)){const t=new Set,r=e.getNodes(),u=e.anchor.getNode();if(Ul(u,r))t.add(_i(u));else for(let i=0;i<r.length;i++){const s=r[i];if(Ga(s)){const o=Hf(s,ir);o!=null&&t.add(_i(o))}}for(const i of t){let s=i;const o=ql(i);for(const a of o){const l=Ee();Ft(l,a.getChildren()),s.insertAfter(l),s=l,a.__key===e.anchor.key&&e.anchor.set(l.getKey(),0,"element"),a.__key===e.focus.key&&e.focus.set(l.getKey(),0,"element"),a.remove()}i.remove()}}})}function Yf(n){const e=new Set;if(We(n)||e.has(n.getKey()))return;const t=n.getParent(),r=n.getNextSibling(),u=n.getPreviousSibling();if(We(r)&&We(u)){const i=u.getFirstChild();if(X(i)){i.append(n);const s=r.getFirstChild();X(s)&&(Ft(i,s.getChildren()),r.remove(),e.add(r.getKey()))}}else if(We(r)){const i=r.getFirstChild();if(X(i)){const s=i.getFirstChild();s!==null&&s.insertBefore(n)}}else if(We(u)){const i=u.getFirstChild();X(i)&&i.append(n)}else if(X(t)){const i=ke(),s=we(t.getListType());i.append(s),s.append(n),u?u.insertAfter(i):r?r.insertBefore(i):t.append(i)}}function ed(n){if(We(n))return;const e=n.getParent(),t=e?e.getParent():void 0;if(X(t?t.getParent():void 0)&&re(t)&&X(e)){const r=e?e.getFirstChild():void 0,u=e?e.getLastChild():void 0;if(n.is(r))t.insertBefore(n),e.isEmpty()&&t.remove();else if(n.is(u))t.insertAfter(n),e.isEmpty()&&t.remove();else{const i=e.getListType(),s=ke(),o=we(i);s.append(o),n.getPreviousSiblings().forEach(f=>o.append(f));const a=ke(),l=we(i);a.append(l),Ft(l,n.getNextSiblings()),t.insertBefore(s),t.insertAfter(a),t.replace(n)}}}function td(){const n=j();if(!L(n)||!n.isCollapsed())return!1;const e=n.anchor.getNode();if(!re(e)||e.getChildrenSize()!==0)return!1;const t=_i(e),r=e.getParent();X(r)||$e(40);const u=r.getParent();let i;if(ut(u))i=Ee(),t.insertAfter(i);else{if(!re(u))return!1;i=ke(),u.insertAfter(i)}i.select();const s=e.getNextSiblings();if(s.length>0){const o=we(r.getListType());if(Bt(i))i.insertAfter(o);else{const a=ke();a.append(o),i.insertAfter(a)}s.forEach(a=>{a.remove(),o.append(a)})}return function(o){let a=o;for(;a.getNextSibling()==null&&a.getPreviousSibling()==null;){const l=a.getParent();if(l==null||!re(a)&&!X(a))break;a=l}a.remove()}(e),!0}function tu(...n){const e=[];for(const t of n)if(t&&typeof t=="string")for(const[r]of t.matchAll(/\S+/g))e.push(r);return e}let ir=class zl extends $t{static getType(){return"listitem"}static clone(e){return new zl(e.__value,e.__checked,e.__key)}constructor(e,t,r){super(r),this.__value=e===void 0?1:e,this.__checked=t}createDOM(e){const t=document.createElement("li"),r=this.getParent();return X(r)&&r.getListType()==="check"&&Po(t,this,null),t.value=this.__value,Io(t,e.theme,this),t}updateDOM(e,t,r){const u=this.getParent();return X(u)&&u.getListType()==="check"&&Po(t,this,e),t.value=this.__value,Io(t,r.theme,this),!1}static transform(){return e=>{if(re(e)||$e(144),e.__checked==null)return;const t=e.getParent();X(t)&&t.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:nd,priority:0})}}static importJSON(e){const t=ke();return t.setChecked(e.checked),t.setValue(e.value),t.setFormat(e.format),t.setDirection(e.direction),t}exportDOM(e){const t=this.createDOM(e._config);return t.style.textAlign=this.getFormatType(),{element:t}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),type:"listitem",value:this.getValue(),version:1}}append(...e){for(let t=0;t<e.length;t++){const r=e[t];if(k(r)&&this.canMergeWith(r)){const u=r.getChildren();this.append(...u),r.remove()}else super.append(r)}return this}replace(e,t){if(re(e))return super.replace(e);this.setIndent(0);const r=this.getParentOrThrow();if(!X(r))return e;if(r.__first===this.getKey())r.insertBefore(e);else if(r.__last===this.getKey())r.insertAfter(e);else{const u=we(r.getListType());let i=this.getNextSibling();for(;i;){const s=i;i=i.getNextSibling(),u.append(s)}r.insertAfter(e),e.insertAfter(u)}return t&&(k(e)||$e(139),this.getChildren().forEach(u=>{e.append(u)})),this.remove(),r.getChildrenSize()===0&&r.remove(),e}insertAfter(e,t=!0){const r=this.getParentOrThrow();if(X(r)||$e(39),re(e))return super.insertAfter(e,t);const u=this.getNextSiblings();if(r.insertAfter(e,t),u.length!==0){const i=we(r.getListType());u.forEach(s=>i.append(s)),e.insertAfter(i,t)}return e}remove(e){const t=this.getPreviousSibling(),r=this.getNextSibling();super.remove(e),t&&r&&We(t)&&We(r)&&(bs(t.getFirstChild(),r.getFirstChild()),r.remove())}insertNewAfter(e,t=!0){const r=ke(this.__checked==null&&void 0);return this.insertAfter(r,t),r}collapseAtStart(e){const t=Ee();this.getChildren().forEach(s=>t.append(s));const r=this.getParentOrThrow(),u=r.getParentOrThrow(),i=re(u);if(r.getChildrenSize()===1)if(i)r.remove(),u.select();else{r.insertBefore(t),r.remove();const s=e.anchor,o=e.focus,a=t.getKey();s.type==="element"&&s.getNode().is(this)&&s.set(a,s.offset,"element"),o.type==="element"&&o.getNode().is(this)&&o.set(a,o.offset,"element")}else r.insertBefore(t),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){this.getWritable().__value=e}getChecked(){const e=this.getLatest();let t;const r=this.getParent();return X(r)&&(t=r.getListType()),t==="check"?!!e.__checked:void 0}setChecked(e){this.getWritable().__checked=e}toggleChecked(){this.setChecked(!this.__checked)}getIndent(){const e=this.getParent();if(e===null)return this.getLatest().__indent;let t=e.getParentOrThrow(),r=0;for(;re(t);)t=t.getParentOrThrow().getParentOrThrow(),r++;return r}setIndent(e){typeof e!="number"&&$e(117),(e=Math.floor(e))>=0||$e(199);let t=this.getIndent();for(;t!==e;)t<e?(Yf(this),t++):(ed(this),t--);return this}canInsertAfter(e){return re(e)}canReplaceWith(e){return re(e)}canMergeWith(e){return Bt(e)||re(e)}extractWithChild(e,t){if(!L(t))return!1;const r=t.anchor.getNode(),u=t.focus.getNode();return this.isParentOf(r)&&this.isParentOf(u)&&this.getTextContent().length===t.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return we("bullet")}canMergeWhenEmpty(){return!0}};function Io(n,e,t){const r=[],u=[],i=e.list,s=i?i.listitem:void 0;let o;if(i&&i.nested&&(o=i.nested.listitem),s!==void 0&&r.push(...tu(s)),i){const a=t.getParent(),l=X(a)&&a.getListType()==="check",f=t.getChecked();l&&!f||u.push(i.listitemUnchecked),l&&f||u.push(i.listitemChecked),l&&r.push(f?i.listitemChecked:i.listitemUnchecked)}if(o!==void 0){const a=tu(o);t.getChildren().some(l=>X(l))?r.push(...a):u.push(...a)}u.length>0&&Pl(n,...u),r.length>0&&ms(n,...r)}function Po(n,e,t,r){X(e.getFirstChild())?(n.removeAttribute("role"),n.removeAttribute("tabIndex"),n.removeAttribute("aria-checked")):(n.setAttribute("role","checkbox"),n.setAttribute("tabIndex","-1"),t&&e.__checked===t.__checked||n.setAttribute("aria-checked",e.getChecked()?"true":"false"))}function nd(n){if(n.classList.contains("task-list-item")){for(const t of n.children)if(t.tagName==="INPUT")return rd(t)}const e=n.getAttribute("aria-checked");return{node:ke(e==="true"||e!=="false"&&void 0)}}function rd(n){return n.getAttribute("type")!=="checkbox"?{node:null}:{node:ke(n.hasAttribute("checked"))}}function ke(n){return St(new ir(void 0,n))}function re(n){return n instanceof ir}class hn extends $t{static getType(){return"list"}static clone(e){const t=e.__listType||Mo[e.__tag];return new hn(t,e.__start,e.__key)}constructor(e,t,r){super(r);const u=Mo[e]||e;this.__listType=u,this.__tag=u==="number"?"ol":"ul",this.__start=t}getTag(){return this.__tag}setListType(e){const t=this.getWritable();t.__listType=e,t.__tag=e==="number"?"ol":"ul"}getListType(){return this.__listType}getStart(){return this.__start}createDOM(e,t){const r=this.__tag,u=document.createElement(r);return this.__start!==1&&u.setAttribute("start",String(this.__start)),u.__lexicalListType=this.__listType,Lo(u,e.theme,this),u}updateDOM(e,t,r){return e.__tag!==this.__tag||(Lo(t,r.theme,this),!1)}static transform(){return e=>{X(e)||$e(163),function(t){const r=t.getNextSibling();X(r)&&t.getListType()===r.getListType()&&bs(t,r)}(e),function(t){const r=t.getListType()!=="check";let u=t.getStart();for(const i of t.getChildren())re(i)&&(i.getValue()!==u&&i.setValue(u),r&&i.getLatest().__checked!=null&&i.setChecked(void 0),X(i.getFirstChild())||u++)}(e)}}static importDOM(){return{ol:()=>({conversion:Do,priority:0}),ul:()=>({conversion:Do,priority:0})}}static importJSON(e){const t=we(e.listType,e.start);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportDOM(e){const t=this.createDOM(e._config,e);return t&&Ut(t)&&(this.__start!==1&&t.setAttribute("start",String(this.__start)),this.__listType==="check"&&t.setAttribute("__lexicalListType","check")),{element:t}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag(),type:"list",version:1}}canBeEmpty(){return!1}canIndent(){return!1}append(...e){for(let t=0;t<e.length;t++){const r=e[t];if(re(r))super.append(r);else{const u=ke();if(X(r))u.append(r);else if(k(r))if(r.isInline())u.append(r);else{const i=oe(r.getTextContent());u.append(i)}else u.append(r);super.append(u)}}return this}extractWithChild(e){return re(e)}}function Lo(n,e,t){const r=[],u=[],i=e.list;if(i!==void 0){const s=i[`${t.__tag}Depth`]||[],o=Zf(t)-1,a=o%s.length,l=s[a],f=i[t.__tag];let h;const c=i.nested,d=i.checklist;if(c!==void 0&&c.list&&(h=c.list),f!==void 0&&r.push(f),d!==void 0&&t.__listType==="check"&&r.push(d),l!==void 0){r.push(...tu(l));for(let p=0;p<s.length;p++)p!==a&&u.push(t.__tag+p)}if(h!==void 0){const p=tu(h);o>1?r.push(...p):u.push(...p)}}u.length>0&&Pl(n,...u),r.length>0&&ms(n,...r)}function ud(n){const e=[];for(let t=0;t<n.length;t++){const r=n[t];if(re(r)){e.push(r);const u=r.getChildren();u.length>1&&u.forEach(i=>{X(i)&&e.push(No(i))})}else e.push(No(r))}return e}function Do(n){const e=n.nodeName.toLowerCase();let t=null;return e==="ol"?t=we("number",n.start):e==="ul"&&(t=function(r){if(r.getAttribute("__lexicallisttype")==="check"||r.classList.contains("contains-task-list"))return!0;for(const u of r.childNodes)if(Ut(u)&&u.hasAttribute("aria-checked"))return!0;return!1}(n)?we("check"):we("bullet")),{after:ud,node:t}}const Mo={ol:"number",ul:"bullet"};function we(n,e=1){return St(new hn(n,e))}function X(n){return n instanceof hn}const $l=fn(),id=fn(),Wl=fn();function sd(n){return at(n.registerCommand(id,()=>(Ao(n,"number"),!0),nt),n.registerCommand($l,()=>(Ao(n,"bullet"),!0),nt),n.registerCommand(Wl,()=>(Qf(n),!0),nt),n.registerCommand(Ln,()=>!!td(),nt))}function od(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ad=od(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Hl=U.createContext(null);function ld(n,e){return{getTheme:function(){return e??null}}}function Ie(){const n=U.useContext(Hl);return n==null&&ad(8),n}function cd({defaultSelection:n}){const[e]=Ie();return U.useEffect(()=>{e.focus(()=>{const t=document.activeElement,r=e.getRootElement();r===null||t!==null&&r.contains(t)||r.focus({preventScroll:!0})},{defaultSelection:n})},[n,e]),null}function fd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var dd=fd(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Vl(n,e){for(let t=0;t<e.length;t++){const r=e[t](n);if(r)return r}return null}const hd=/[.,;\s]/;function nu(n){return hd.test(n)}function Gl(n){return nu(n[n.length-1])}function xi(n){return nu(n[0])}function Kl(n){let e=n.getPreviousSibling();return k(e)&&(e=e.getLastDescendant()),e===null||xt(e)||D(e)&&Gl(e.getTextContent())}function Jl(n){let e=n.getNextSibling();return k(e)&&(e=e.getFirstDescendant()),e===null||xt(e)||D(e)&&xi(e.getTextContent())}function pd(n,e,t,r){return(n>0?nu(t[n-1]):Kl(r[0]))?e<t.length?nu(t[e]):Jl(r[r.length-1]):!1}function gd(n,e,t){const r=[],u=[],i=[];let s=0,o=0;const a=[...n];for(;a.length>0;){const l=a[0],f=l.getTextContent().length,h=o;o+f<=e?(r.push(l),s+=f):h>=t?i.push(l):u.push(l),o+=f,a.shift()}return[s,r,u,i]}function md(n,e,t,r){const u=yi(r.url,r.attributes);if(n.length===1){let i,s=n[0];e===0?[i,s]=s.splitText(t):[,i,s]=s.splitText(e,t);const o=oe(r.text);return o.setFormat(i.getFormat()),o.setDetail(i.getDetail()),o.setStyle(i.getStyle()),u.append(o),i.replace(u),s}if(n.length>1){const i=n[0];let s,o=i.getTextContent().length;e===0?s=i:[,s]=i.splitText(e);const a=[];let l;for(let d=1;d<n.length;d++){const p=n[d],m=p.getTextContent().length,g=o;if(g<t)if(o+m<=t)a.push(p);else{const[y,b]=p.splitText(t-g);a.push(y),l=b}o+=m}const f=j(),h=f?f.getNodes().find(D):void 0,c=oe(s.getTextContent());return c.setFormat(s.getFormat()),c.setDetail(s.getDetail()),c.setStyle(s.getStyle()),u.append(c,...a),h&&h===s&&(L(f)?c.select(f.anchor.offset,f.focus.offset):Ne(f)&&c.select(0,c.getTextContent().length)),s.replace(u),l}}function Ku(n,e,t){const r=n.getChildren(),u=r.length;for(let a=0;a<u;a++){const l=r[a];if(!D(l)||!l.isSimpleText())return Lr(n),void t(null,n.getURL())}const i=n.getTextContent(),s=Vl(i,e);if(s===null||s.text!==i||!Kl(n)||!Jl(n))return Lr(n),void t(null,n.getURL());const o=n.getURL();if(o!==s.url&&(n.setURL(s.url),t(s.url,o)),s.attributes){const a=n.getRel();a!==s.attributes.rel&&(n.setRel(s.attributes.rel||null),t(s.attributes.rel||null,a));const l=n.getTarget();l!==s.attributes.target&&(n.setTarget(s.attributes.target||null),t(s.attributes.target||null,l))}}function Lr(n){const e=n.getChildren();for(let t=e.length-1;t>=0;t--)n.insertAfter(e[t]);return n.remove(),e.map(t=>t.getLatest())}function bd(n,e,t){U.useEffect(()=>{n.hasNodes([ku])||dd(77);const r=(u,i)=>{t&&t(u,i)};return at(n.registerNodeTransform(zt,u=>{const i=u.getParentOrThrow(),s=u.getPreviousSibling();if(Jt(i)&&!i.getIsUnlinked())Ku(i,e,r);else if(!tt(i)){if(u.isSimpleText()&&(xi(u.getTextContent())||!Jt(s))){const o=function(a){const l=[a];let f=a.getNextSibling();for(;f!==null&&D(f)&&f.isSimpleText()&&(l.push(f),!/[\s]/.test(f.getTextContent()));)f=f.getNextSibling();return l}(u);(function(a,l,f){let h=[...a];const c=h.map(g=>g.getTextContent()).join("");let d,p=c,m=0;for(;(d=Vl(p,l))&&d!==null;){const g=d.index,y=g+d.length;if(pd(m+g,m+y,c,h)){const[b,,x,w]=gd(h,m+g,m+y),C=md(x,m+g-b,m+y-b,d);h=C?[C,...w]:w,f(d.url,null),m=0}else m+=y;p=p.substring(y)}})(o,e,r)}(function(o,a,l){const f=o.getPreviousSibling(),h=o.getNextSibling(),c=o.getTextContent();var d;!Jt(f)||f.getIsUnlinked()||xi(c)&&(d=c,!(f.isEmailURI()?/^\.[a-zA-Z]{2,}/.test(d):/^\.[a-zA-Z0-9]{1,}/.test(d)))||(f.append(o),Ku(f,a,l),l(null,f.getURL())),!Jt(h)||h.getIsUnlinked()||Gl(c)||(Lr(h),Ku(h,a,l),l(null,h.getURL()))})(u,e,r)}}),n.registerCommand(nn,u=>{const i=j();return u!==null||!L(i)||i.extract().forEach(s=>{const o=s.getParent();if(Jt(o))return o.setIsUnlinked(!o.getIsUnlinked()),o.markDirty(),!0}),!1},nt))},[n,e,t])}function yd({matchers:n,onChange:e}){const[t]=Ie();return bd(t,n,e),null}const Xl=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,_d=Xl?U.useLayoutEffect:U.useEffect,br={tag:"history-merge"};function xd({initialConfig:n,children:e}){const t=U.useMemo(()=>{const{theme:r,namespace:u,nodes:i,onError:s,editorState:o,html:a}=n,l=ld(null,r),f=Mf({editable:n.editable,html:a,namespace:u,nodes:i,onError:h=>s(h,f),theme:r});return function(h,c){if(c!==null){if(c===void 0)h.update(()=>{const d=ie();if(d.isEmpty()){const p=Ee();d.append(p);const m=Xl?document.activeElement:null;(j()!==null||m!==null&&m===h.getRootElement())&&p.select()}},br);else if(c!==null)switch(typeof c){case"string":{const d=h.parseEditorState(c);h.setEditorState(d,br);break}case"object":h.setEditorState(c,br);break;case"function":h.update(()=>{ie().isEmpty()&&c(h)},br)}}}(f,o),[f,l]},[]);return _d(()=>{const r=n.editable,[u]=t;u.setEditable(r===void 0||r)},[]),$.jsx(Hl.Provider,{value:t,children:e})}function vd(){return ie().getTextContent()}function wd(n,e=!0){if(n)return!1;let t=vd();return e&&(t=t.trim()),t===""}function Sd(n){if(!wd(n,!1))return!1;const e=ie().getChildren(),t=e.length;if(t>1)return!1;for(let r=0;r<t;r++){const u=e[r];if(te(u))return!1;if(k(u)){if(!Bt(u)||u.__indent!==0)return!1;const i=u.getChildren(),s=i.length;for(let o=0;o<s;o++){const a=i[r];if(!D(a))return!1}}}return!0}function Zl(n){return()=>Sd(n)}function Td(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}Td(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Ql=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?U.useLayoutEffect:U.useEffect;function Cd({editor:n,ariaActiveDescendant:e,ariaAutoComplete:t,ariaControls:r,ariaDescribedBy:u,ariaErrorMessage:i,ariaExpanded:s,ariaInvalid:o,ariaLabel:a,ariaLabelledBy:l,ariaMultiline:f,ariaOwns:h,ariaRequired:c,autoCapitalize:d,className:p,id:m,role:g="textbox",spellCheck:y=!0,style:b,tabIndex:x,"data-testid":w,...C},T){const[E,S]=U.useState(n.isEditable()),P=U.useCallback(v=>{v&&v.ownerDocument&&v.ownerDocument.defaultView?n.setRootElement(v):n.setRootElement(null)},[n]),z=U.useMemo(()=>function(...v){return N=>{v.forEach(O=>{typeof O=="function"?O(N):O!=null&&(O.current=N)})}}(T,P),[P,T]);return Ql(()=>(S(n.isEditable()),n.registerEditableListener(v=>{S(v)})),[n]),$.jsx("div",{"aria-activedescendant":E?e:void 0,"aria-autocomplete":E?t:"none","aria-controls":E?r:void 0,"aria-describedby":u,...i!=null?{"aria-errormessage":i}:{},"aria-expanded":E&&g==="combobox"?!!s:void 0,...o!=null?{"aria-invalid":o}:{},"aria-label":a,"aria-labelledby":l,"aria-multiline":f,"aria-owns":E?h:void 0,"aria-readonly":!E||void 0,"aria-required":c,autoCapitalize:d,className:p,contentEditable:E,"data-testid":w,id:m,ref:z,role:E?g:void 0,spellCheck:y,style:b,tabIndex:x,...C})}const Ed=U.forwardRef(Cd);function Ro(n){return n.getEditorState().read(Zl(n.isComposing()))}const kd=U.forwardRef(Nd);function Nd(n,e){const{placeholder:t,...r}=n,[u]=Ie();return $.jsxs($.Fragment,{children:[$.jsx(Ed,{editor:u,...r,ref:e}),t!=null&&$.jsx(Ad,{editor:u,content:t})]})}function Ad({content:n,editor:e}){const t=function(s){const[o,a]=U.useState(()=>Ro(s));return Ql(()=>{function l(){const f=Ro(s);a(f)}return l(),at(s.registerUpdateListener(()=>{l()}),s.registerEditableListener(()=>{l()}))},[s]),o}(e),[r,u]=U.useState(e.isEditable());if(U.useLayoutEffect(()=>(u(e.isEditable()),e.registerEditableListener(s=>{u(s)})),[e]),!t)return null;let i=null;return typeof n=="function"?i=n(r):n!==null&&(i=n),i===null?null:$.jsx("div",{"aria-hidden":!0,children:i})}function vi(n,e){return vi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},vi(n,e)}var Bo={error:null},Od=function(n){var e,t;function r(){for(var i,s=arguments.length,o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];return(i=n.call.apply(n,[this].concat(o))||this).state=Bo,i.resetErrorBoundary=function(){for(var l,f=arguments.length,h=new Array(f),c=0;c<f;c++)h[c]=arguments[c];i.props.onReset==null||(l=i.props).onReset.apply(l,h),i.reset()},i}t=n,(e=r).prototype=Object.create(t.prototype),e.prototype.constructor=e,vi(e,t),r.getDerivedStateFromError=function(i){return{error:i}};var u=r.prototype;return u.reset=function(){this.setState(Bo)},u.componentDidCatch=function(i,s){var o,a;(o=(a=this.props).onError)==null||o.call(a,i,s)},u.componentDidUpdate=function(i,s){var o,a,l,f,h=this.state.error,c=this.props.resetKeys;h!==null&&s.error!==null&&((l=i.resetKeys)===void 0&&(l=[]),(f=c)===void 0&&(f=[]),l.length!==f.length||l.some(function(d,p){return!Object.is(d,f[p])}))&&((o=(a=this.props).onResetKeysChange)==null||o.call(a,i.resetKeys,c),this.reset())},u.render=function(){var i=this.state.error,s=this.props,o=s.fallbackRender,a=s.FallbackComponent,l=s.fallback;if(i!==null){var f={error:i,resetErrorBoundary:this.resetErrorBoundary};if(Ru.isValidElement(l))return l;if(typeof o=="function")return o(f);if(a)return Ru.createElement(a,f);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(Ru.Component);function Id({children:n,onError:e}){return $.jsx(Od,{fallback:$.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:e,children:n})}const yr=0,wi=1,Si=2,De=0,Pd=1,Fo=2,Ld=3,Dd=4;function Md(n,e,t,r,u){if(n===null||t.size===0&&r.size===0&&!u)return De;const i=e._selection,s=n._selection;if(u)return Pd;if(!(L(i)&&L(s)&&s.isCollapsed()&&i.isCollapsed()))return De;const o=function(y,b,x){const w=y._nodeMap,C=[];for(const T of b){const E=w.get(T);E!==void 0&&C.push(E)}for(const[T,E]of x){if(!E)continue;const S=w.get(T);S===void 0||be(S)||C.push(S)}return C}(e,t,r);if(o.length===0)return De;if(o.length>1){const y=e._nodeMap,b=y.get(i.anchor.key),x=y.get(s.anchor.key);return b&&x&&!n._nodeMap.has(b.__key)&&D(b)&&b.__text.length===1&&i.anchor.offset===1?Fo:De}const a=o[0],l=n._nodeMap.get(a.__key);if(!D(l)||!D(a)||l.__mode!==a.__mode)return De;const f=l.__text,h=a.__text;if(f===h)return De;const c=i.anchor,d=s.anchor;if(c.key!==d.key||c.type!=="text")return De;const p=c.offset,m=d.offset,g=h.length-f.length;return g===1&&m===p-1?Fo:g===-1&&m===p+1?Ld:g===-1&&m===p?Dd:De}function Rd(n,e){let t=Date.now(),r=De;return(u,i,s,o,a,l)=>{const f=Date.now();if(l.has("historic"))return r=De,t=f,Si;const h=Md(u,i,o,a,n.isComposing()),c=(()=>{const d=s===null||s.editor===n,p=l.has("history-push");if(!p&&d&&l.has("history-merge"))return yr;if(u===null)return wi;const m=i._selection;return o.size>0||a.size>0?p===!1&&h!==De&&h===r&&f<t+e&&d||o.size===1&&function(g,y,b){const x=y._nodeMap.get(g),w=b._nodeMap.get(g),C=y._selection,T=b._selection;return!(L(C)&&L(T)&&C.anchor.type==="element"&&C.focus.type==="element"&&T.anchor.type==="text"&&T.focus.type==="text"||!D(x)||!D(w)||x.__parent!==w.__parent)&&JSON.stringify(y.read(()=>x.exportJSON()))===JSON.stringify(b.read(()=>w.exportJSON()))}(Array.from(o)[0],u,i)?yr:wi:m!==null?yr:Si})();return t=f,r=h,c}}function jo(n){n.undoStack=[],n.redoStack=[],n.current=null}function Bd(n,e,t){const r=Rd(n,t);return at(n.registerCommand(Wi,()=>(function(i,s){const o=s.redoStack,a=s.undoStack;if(a.length!==0){const l=s.current,f=a.pop();l!==null&&(o.push(l),i.dispatchCommand(hr,!0)),a.length===0&&i.dispatchCommand(pr,!1),s.current=f||null,f&&f.editor.setEditorState(f.editorState,{tag:"historic"})}}(n,e),!0),Q),n.registerCommand(Hi,()=>(function(i,s){const o=s.redoStack,a=s.undoStack;if(o.length!==0){const l=s.current;l!==null&&(a.push(l),i.dispatchCommand(pr,!0));const f=o.pop();o.length===0&&i.dispatchCommand(hr,!1),s.current=f||null,f&&f.editor.setEditorState(f.editorState,{tag:"historic"})}}(n,e),!0),Q),n.registerCommand(O0,()=>(jo(e),!1),Q),n.registerCommand(I0,()=>(jo(e),n.dispatchCommand(hr,!1),n.dispatchCommand(pr,!1),!0),Q),n.registerUpdateListener(({editorState:i,prevEditorState:s,dirtyLeaves:o,dirtyElements:a,tags:l})=>{const f=e.current,h=e.redoStack,c=e.undoStack,d=f===null?null:f.editorState;if(f!==null&&i===d)return;const p=r(s,i,f,o,a,l);if(p===wi)h.length!==0&&(e.redoStack=[],n.dispatchCommand(hr,!1)),f!==null&&(c.push({...f}),n.dispatchCommand(pr,!0));else if(p===Si)return;e.current={editor:n,editorState:i}}))}function Fd(){return{current:null,redoStack:[],undoStack:[]}}function jd({delay:n,externalHistoryState:e}){const[t]=Ie();return function(r,u,i=1e3){const s=U.useMemo(()=>u||Fd(),[u]);U.useEffect(()=>Bd(r,s,i),[i,r,s])}(t,e,n),null}function qd({validateUrl:n,attributes:e}){const[t]=Ie();return U.useEffect(()=>{if(!t.hasNodes([ur]))throw new Error("LinkPlugin: LinkNode not registered on editor");return at(t.registerCommand(nn,r=>{if(r===null)return Gu(r),!0;if(typeof r=="string")return!(n!==void 0&&!n(r))&&(Gu(r,e),!0);{const{url:u,target:i,rel:s,title:o}=r;return Gu(u,{...e,rel:s,target:i,title:o}),!0}},nt),n!==void 0?t.registerCommand(hu,r=>{const u=j();if(!L(u)||u.isCollapsed()||!bt(r,ClipboardEvent))return!1;const i=r;if(i.clipboardData===null)return!1;const s=i.clipboardData.getData("text");return!!n(s)&&!u.getNodes().some(o=>k(o))&&(t.dispatchCommand(nn,{...e,url:s}),r.preventDefault(),!0)},nt):()=>{})},[t,n,e]),null}function Ud(){const[n]=Ie();return U.useEffect(()=>{if(!n.hasNodes([hn,ir]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[n]),function(e){U.useEffect(()=>sd(e),[e])}(n),null}const zd=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?U.useLayoutEffect:U.useEffect;function $d({ignoreHistoryMergeTagChange:n=!0,ignoreSelectionChange:e=!1,onChange:t}){const[r]=Ie();return zd(()=>{if(t)return r.registerUpdateListener(({editorState:u,dirtyElements:i,dirtyLeaves:s,prevEditorState:o,tags:a})=>{e&&i.size===0&&s.size===0||n&&a.has("history-merge")||o.isEmpty()||t(u,r,a)})},[r,n,e,t]),null}const Wd=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?U.useLayoutEffect:U.useEffect;function Hd(n){return{initialValueFn:()=>n.isEditable(),subscribe:e=>n.registerEditableListener(e)}}function Vd(){return function(n){const[e]=Ie(),t=U.useMemo(()=>n(e),[e,n]),[r,u]=U.useState(()=>t.initialValueFn()),i=U.useRef(r);return Wd(()=>{const{initialValueFn:s,subscribe:o}=t,a=s();return i.current!==a&&(i.current=a,u(a)),o(l=>{i.current=l,u(l)})},[t,n]),r}(Hd)}function Gd(n){const e=window.location.origin,t=r=>{if(r.origin!==e)return;const u=n.getRootElement();if(document.activeElement!==u)return;const i=r.data;if(typeof i=="string"){let s;try{s=JSON.parse(i)}catch{return}if(s&&s.protocol==="nuanria_messaging"&&s.type==="request"){const o=s.payload;if(o&&o.functionId==="makeChanges"){const a=o.args;if(a){const[l,f,h,c,d,p]=a;n.update(()=>{const m=j();if(L(m)){const g=m.anchor;let y=g.getNode(),b=0,x=0;if(D(y)&&l>=0&&f>=0&&(b=l,x=l+f,m.setTextNodeRange(y,b,y,x)),b===x&&h===""||(m.insertRawText(h),y=g.getNode()),D(y)){b=c,x=c+d;const w=y.getTextContentSize();b=b>w?w:b,x=x>w?w:x,m.setTextNodeRange(y,b,y,x)}r.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",t,!0),()=>{window.removeEventListener("message",t,!0)}}function Kd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ru=Kd(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Jd(n,e=j()){return e==null&&ru(166),L(e)&&e.isCollapsed()||e.getNodes().length===0?"":Dl(n,e)}function Xd(n,e=j()){return e==null&&ru(166),L(e)&&e.isCollapsed()||e.getNodes().length===0?null:JSON.stringify(Zd(n,e))}function qo(n,e,t){const r=n.getData("application/x-lexical-editor");if(r)try{const s=JSON.parse(r);if(s.namespace===t._config.namespace&&Array.isArray(s.nodes))return Uo(t,Qd(s.nodes),e)}catch{}const u=n.getData("text/html");if(u)try{const s=new DOMParser().parseFromString(function(o){return window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:a=>a}).createHTML(o):o}(u),"text/html");return Uo(t,Ll(t,s),e)}catch{}const i=n.getData("text/plain")||n.getData("text/uri-list");if(i!=null)if(L(e)){const s=i.split(/(\r?\n|\t)/);s[s.length-1]===""&&s.pop();for(let o=0;o<s.length;o++){const a=j();if(L(a)){const l=s[o];l===`
|
|
11
|
+
`?r.push(Rt()):s===" "?r.push(nr()):r.push(le(s))}this.insertNodes(r)}insertText(e){const t=this.anchor,r=this.focus,u=this.format,i=this.style;let s=t,o=r;!this.isCollapsed()&&r.isBefore(t)&&(s=r,o=t),s.type==="element"&&function(g,y,b,x){const w=g.getNode(),C=w.getChildAtIndex(g.offset),T=le(),k=ye(w)?Ee().append(T):T;T.setFormat(b),T.setStyle(x),C===null?w.append(k):C.insertBefore(k),g.is(y)&&y.set(T.__key,0,"text"),g.set(T.__key,0,"text")}(s,o,u,i);const a=s.offset;let l=o.offset;const f=this.getNodes(),h=f.length;let c=f[0];M(c)||R(26);const d=c.getTextContent().length,p=c.getParentOrThrow();let m=f[h-1];if(h===1&&o.type==="element"&&(l=d,o.set(s.key,l,"text")),this.isCollapsed()&&a===d&&(c.isSegmented()||c.isToken()||!c.canInsertTextAfter()||!p.canInsertTextAfter()&&c.getNextSibling()===null)){let g=c.getNextSibling();if(M(g)&&g.canInsertTextBefore()&&!At(g)||(g=le(),g.setFormat(u),g.setStyle(i),p.canInsertTextAfter()?c.insertAfter(g):p.insertAfter(g)),g.select(0,0),c=g,e!=="")return void this.insertText(e)}else if(this.isCollapsed()&&a===0&&(c.isSegmented()||c.isToken()||!c.canInsertTextBefore()||!p.canInsertTextBefore()&&c.getPreviousSibling()===null)){let g=c.getPreviousSibling();if(M(g)&&!At(g)||(g=le(),g.setFormat(u),p.canInsertTextBefore()?c.insertBefore(g):p.insertBefore(g)),g.select(),c=g,e!=="")return void this.insertText(e)}else if(c.isSegmented()&&a!==d){const g=le(c.getTextContent());g.setFormat(u),c.replace(g),c=g}else if(!this.isCollapsed()&&e!==""){const g=m.getParent();if(!p.canInsertTextBefore()||!p.canInsertTextAfter()||E(g)&&(!g.canInsertTextBefore()||!g.canInsertTextAfter()))return this.insertText(""),xl(this.anchor,this.focus,null),void this.insertText(e)}if(h===1){if(c.isToken()){const x=le(e);return x.select(),void c.replace(x)}const g=c.getFormat(),y=c.getStyle();if(a!==l||g===u&&y===i){if(kf(c)){const x=le(e);return x.setFormat(u),x.setStyle(i),x.select(),void c.replace(x)}}else{if(c.getTextContent()!==""){const x=le(e);if(x.setFormat(u),x.setStyle(i),x.select(),a===0)c.insertBefore(x,!1);else{const[w]=c.splitText(a);w.insertAfter(x,!1)}return void(x.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=e.length))}c.setFormat(u),c.setStyle(i)}const b=l-a;c=c.spliceText(a,b,e,!0),c.getTextContent()===""?c.remove():this.anchor.type==="text"&&(c.isComposing()?this.anchor.offset-=e.length:(this.format=g,this.style=y))}else{const g=new Set([...c.getParentKeys(),...m.getParentKeys()]),y=E(c)?c:c.getParentOrThrow();let b=E(m)?m:m.getParentOrThrow(),x=m;if(!y.is(b)&&b.isInline())do x=b,b=b.getParentOrThrow();while(b.isInline());if(o.type==="text"&&(l!==0||m.getTextContent()==="")||o.type==="element"&&m.getIndexWithinParent()<l)if(M(m)&&!m.isToken()&&l!==m.getTextContentSize()){if(m.isSegmented()){const S=le(m.getTextContent());m.replace(S),m=S}ye(o.getNode())||o.type!=="text"||(m=m.spliceText(0,l,"")),g.add(m.__key)}else{const S=m.getParentOrThrow();S.canBeEmpty()||S.getChildrenSize()!==1?m.remove():S.remove()}else g.add(m.__key);const w=b.getChildren(),C=new Set(f),T=y.is(b),k=y.isInline()&&c.getNextSibling()===null?y:c;for(let S=w.length-1;S>=0;S--){const P=w[S];if(P.is(c)||E(P)&&P.isParentOf(c))break;P.isAttached()&&(!C.has(P)||P.is(x)?T||k.insertAfter(P,!1):P.remove())}if(!T){let S=b,P=null;for(;S!==null;){const z=S.getChildren(),v=z.length;(v===0||z[v-1].is(P))&&(g.delete(S.__key),P=S),S=S.getParent()}}if(c.isToken())if(a===d)c.select();else{const S=le(e);S.select(),c.replace(S)}else c=c.spliceText(a,d-a,e,!0),c.getTextContent()===""?c.remove():c.isComposing()&&this.anchor.type==="text"&&(this.anchor.offset-=e.length);for(let S=1;S<h;S++){const P=f[S],z=P.__key;g.has(z)||P.remove()}}}removeText(){if(this.isCollapsed())return;const{anchor:e,focus:t}=this,r=this.getNodes(),u=this.isBackward()?t:e,i=this.isBackward()?e:t;let s=u.getNode(),o=i.getNode();const a=vn(s,ht),l=vn(o,ht);M(s)&&s.isToken()&&u.offset<s.getTextContentSize()&&(u.offset=0),i.offset>0&&M(o)&&o.isToken()&&(i.offset=o.getTextContentSize()),r.forEach(h=>{An(s,h)||An(o,h)||h.getKey()===s.getKey()||h.getKey()===o.getKey()||h.remove()});const f=(h,c)=>{if(h.getTextContent()==="")h.remove();else if(c!==0&&At(h)){const d=le(h.getTextContent());return d.setFormat(h.getFormat()),d.setStyle(h.getStyle()),h.replace(d)}};if(s===o&&M(s)){const h=Math.abs(t.offset-e.offset);return s.spliceText(u.offset,h,"",!0),void f(s,h)}if(M(s)){const h=s.getTextContentSize()-u.offset;s.spliceText(u.offset,h,""),s=f(s,h)||s}M(o)&&(o.spliceText(0,i.offset,""),o=f(o,i.offset)||o),s.isAttached()&&M(s)?s.selectEnd():o.isAttached()&&M(o)&&o.selectStart(),E(a)&&E(l)&&a!==l&&(a.append(...l.getChildren()),l.remove(),i.set(u.key,u.offset,u.type))}formatText(e,t=null){if(this.isCollapsed())return this.toggleFormat(e),void ge(null);const r=this.getNodes(),u=[];for(const w of r)M(w)&&u.push(w);const i=w=>{r.forEach(C=>{if(Bt(C)){const T=C.getFormatFlags(e,w);C.setTextFormat(T)}})},s=u.length;if(s===0)return this.toggleFormat(e),ge(null),void i(t);const o=this.anchor,a=this.focus,l=this.isBackward(),f=l?a:o,h=l?o:a;let c=0,d=u[0],p=f.type==="element"?0:f.offset;if(f.type==="text"&&p===d.getTextContentSize()&&(c=1,d=u[1],p=0),d==null)return;const m=d.getFormatFlags(e,t);i(m);const g=s-1;let y=u[g];const b=h.type==="text"?h.offset:y.getTextContentSize();if(d.is(y)){if(p===b)return;if(At(d)||p===0&&b===d.getTextContentSize())d.setFormat(m);else{const w=d.splitText(p,b),C=p===0?w[0]:w[1];C.setFormat(m),f.type==="text"&&f.set(C.__key,0,"text"),h.type==="text"&&h.set(C.__key,b-p,"text")}return void(this.format=m)}p===0||At(d)||([,d]=d.splitText(p),p=0),d.setFormat(m);const x=y.getFormatFlags(e,m);b>0&&(b===y.getTextContentSize()||At(y)||([y]=y.splitText(b)),y.setFormat(x));for(let w=c+1;w<g;w++){const C=u[w],T=C.getFormatFlags(e,x);C.setFormat(T)}f.type==="text"&&f.set(d.__key,p,"text"),h.type==="text"&&h.set(y.__key,b,"text"),this.format=m|x}insertNodes(e){if(e.length===0)return;if(this.anchor.key==="root"){this.insertParagraph();const p=j();return L(p)||R(134),p.insertNodes(e)}const t=(this.isBackward()?this.focus:this.anchor).getNode(),r=vn(t,ht),u=e[e.length-1];if(E(r)&&"__language"in r){if("__language"in e[0])this.insertText(e[0].getTextContent());else{const p=Ku(this);r.splice(p,0,e),u.selectEnd()}return}if(!e.some(p=>(E(p)||re(p))&&!p.isInline())){E(r)||R(211,t.constructor.name,t.getType());const p=Ku(this);return r.splice(p,0,e),void u.selectEnd()}const i=function(p){const m=Ee();let g=null;for(let y=0;y<p.length;y++){const b=p[y],x=xt(b);if(x||re(b)&&b.isInline()||E(b)&&b.isInline()||M(b)||b.isParentRequired()){if(g===null&&(g=b.createParentElementNode(),m.append(g),x))continue;g!==null&&g.append(b)}else m.append(b),g=null}return m}(e),s=i.getLastDescendant(),o=i.getChildren(),a=!E(r)||!r.isEmpty()?this.insertParagraph():null,l=o[o.length-1];let f=o[0];var h;E(h=f)&&ht(h)&&!h.isEmpty()&&E(r)&&(!r.isEmpty()||r.canMergeWhenEmpty())&&(E(r)||R(211,t.constructor.name,t.getType()),r.append(...f.getChildren()),f=o[1]),f&&(r===null&&R(212,t.constructor.name,t.getType()),function(p,m,g){const y=m.getParentOrThrow().getLastChild();let b=m;const x=[m];for(;b!==y;)b.getNextSibling()||R(140),b=b.getNextSibling(),x.push(b);let w=p;for(const C of x)w=w.insertAfter(C)}(r,f));const c=vn(s,ht);a&&E(c)&&(a.canMergeWhenEmpty()||ht(l))&&(c.append(...a.getChildren()),a.remove()),E(r)&&r.isEmpty()&&r.remove(),s.selectEnd();const d=E(r)?r.getLastChild():null;xt(d)&&c!==r&&d.remove()}insertParagraph(){if(this.anchor.key==="root"){const s=Ee();return ce().splice(this.anchor.offset,0,[s]),s.select(),s}const e=Ku(this),t=vn(this.anchor.getNode(),ht);E(t)||R(213);const r=t.getChildAtIndex(e),u=r?[r,...r.getNextSiblings()]:[],i=t.insertNewAfter(this,!1);return i?(i.append(...u),i.selectStart(),i):null}insertLineBreak(e){const t=Rt();if(this.insertNodes([t]),e){const r=t.getParentOrThrow(),u=t.getIndexWithinParent();r.select(u,u)}}extract(){const e=this.getNodes(),t=e.length,r=t-1,u=this.anchor,i=this.focus;let s=e[0],o=e[r];const[a,l]=_i(this);if(t===0)return[];if(t===1){if(M(s)&&!this.isCollapsed()){const h=a>l?l:a,c=a>l?a:l,d=s.splitText(h,c),p=h===0?d[0]:d[1];return p!=null?[p]:[]}return[s]}const f=u.isBefore(i);if(M(s)){const h=f?a:l;h===s.getTextContentSize()?e.shift():h!==0&&([,s]=s.splitText(h),e[0]=s)}if(M(o)){const h=o.getTextContent().length,c=f?l:a;c===0?e.pop():c!==h&&([o]=o.splitText(c),e[r]=o)}return e}modify(e,t,r){const u=this.focus,i=this.anchor,s=e==="move",o=Fn(u,t);if(re(o)&&!o.isIsolated()){if(s&&o.isKeyboardSelectable()){const d=_o();return d.add(o.__key),void Ae(d)}const c=t?o.getPreviousSibling():o.getNextSibling();if(M(c)){const d=c.__key,p=t?c.getTextContent().length:0;return u.set(d,p,"text"),void(s&&i.set(d,p,"text"))}{const d=o.getParentOrThrow();let p,m;return E(c)?(m=c.__key,p=t?c.getChildrenSize():0):(p=o.getIndexWithinParent(),m=d.__key,t||p++),u.set(m,p,"element"),void(s&&i.set(m,p,"element"))}}const a=oe(),l=Oe(a._window);if(!l)return;const f=a._blockCursorElement,h=a._rootElement;if(h===null||f===null||!E(o)||o.isInline()||o.canBeEmpty()||ds(f,a,h),function(c,d,p,m){c.modify(d,p,m)}(l,e,t?"backward":"forward",r),l.rangeCount>0){const c=l.getRangeAt(0),d=this.anchor.getNode(),p=ye(d)?d:lf(d);if(this.applyDOMRange(c),this.dirty=!0,!s){const m=this.getNodes(),g=[];let y=!1;for(let b=0;b<m.length;b++){const x=m[b];An(x,p)?g.push(x):y=!0}if(y&&g.length>0)if(t){const b=g[0];E(b)?b.selectStart():b.getParentOrThrow().selectStart()}else{const b=g[g.length-1];E(b)?b.selectEnd():b.getParentOrThrow().selectEnd()}l.anchorNode===c.startContainer&&l.anchorOffset===c.startOffset||function(b){const x=b.focus,w=b.anchor,C=w.key,T=w.offset,k=w.type;pt(w,x.key,x.offset,x.type),pt(x,C,T,k),b._cachedNodes=null}(this)}}}forwardDeletion(e,t,r){if(!r&&(e.type==="element"&&E(t)&&e.offset===t.getChildrenSize()||e.type==="text"&&e.offset===t.getTextContentSize())){const u=t.getParent(),i=t.getNextSibling()||(u===null?null:u.getNextSibling());if(E(i)&&i.isShadowRoot())return!0}return!1}deleteCharacter(e){const t=this.isCollapsed();if(this.isCollapsed()){const r=this.anchor;let u=r.getNode();if(this.forwardDeletion(r,u,e))return;const i=this.focus,s=Fn(i,e);if(re(s)&&!s.isIsolated()){if(s.isKeyboardSelectable()&&E(u)&&u.getChildrenSize()===0){u.remove();const o=_o();o.add(s.__key),Ae(o)}else s.remove(),oe().dispatchCommand(gu,void 0);return}if(!e&&E(s)&&E(u)&&u.isEmpty())return u.remove(),void s.selectStart();if(this.modify("extend",e,"character"),this.isCollapsed()){if(e&&r.offset===0&&(r.type==="element"?r.getNode():r.getNode().getParentOrThrow()).collapseAtStart(this))return}else{const o=i.type==="text"?i.getNode():null;if(u=r.type==="text"?r.getNode():null,o!==null&&o.isSegmented()){const a=i.offset,l=o.getTextContentSize();if(o.is(u)||e&&a!==l||!e&&a!==0)return void mo(o,e,a)}else if(u!==null&&u.isSegmented()){const a=r.offset,l=u.getTextContentSize();if(u.is(o)||e&&a!==0||!e&&a!==l)return void mo(u,e,a)}(function(a,l){const f=a.anchor,h=a.focus,c=f.getNode(),d=h.getNode();if(c===d&&f.type==="text"&&h.type==="text"){const p=f.offset,m=h.offset,g=p<m,y=g?p:m,b=g?m:p,x=b-1;y!==x&&(el(c.getTextContent().slice(y,b))||(l?h.offset=x:f.offset=x))}})(this,e)}}if(this.removeText(),e&&!t&&this.isCollapsed()&&this.anchor.type==="element"&&this.anchor.offset===0){const r=this.anchor.getNode();r.isEmpty()&&ye(r.getParent())&&r.getIndexWithinParent()===0&&r.collapseAtStart(this)}}deleteLine(e){if(this.isCollapsed()){const t=this.anchor.type==="element";if(t&&this.insertText(" "),this.modify("extend",e,"lineboundary"),this.isCollapsed()&&this.anchor.offset===0&&this.modify("extend",e,"character"),t){const r=e?this.anchor:this.focus;r.set(r.key,r.offset+1,r.type)}}this.removeText()}deleteWord(e){if(this.isCollapsed()){const t=this.anchor,r=t.getNode();if(this.forwardDeletion(t,r,e))return;this.modify("extend",e,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function Ne(n){return n instanceof Eu}function go(n){const e=n.offset;if(n.type==="text")return e;const t=n.getNode();return e===t.getChildrenSize()?t.getTextContent().length:0}function _i(n){const e=n.getStartEndPoints();if(e===null)return[0,0];const[t,r]=e;return t.type==="element"&&r.type==="element"&&t.key===r.key&&t.offset===r.offset?[0,0]:[go(t),go(r)]}function mo(n,e,t){const r=n,u=r.getTextContent().split(/(?=\s)/g),i=u.length;let s=0,o=0;for(let l=0;l<i;l++){const f=l===i-1;if(o=s,s+=u[l].length,e&&s===t||s>t||f){u.splice(l,1),f&&(o=void 0);break}}const a=u.join("").trim();a===""?r.remove():(r.setTextContent(a),r.select(o,o))}function bo(n,e,t,r){let u,i=e;if(n.nodeType===Zn){let s=!1;const o=n.childNodes,a=o.length,l=r._blockCursorElement;i===a&&(s=!0,i=a-1);let f=o[i],h=!1;if(f===l)f=o[i+1],h=!0;else if(l!==null){const c=l.parentNode;n===c&&e>Array.prototype.indexOf.call(c.children,l)&&i--}if(u=Qt(f),M(u))i=Zs(u,s);else{let c=Qt(n);if(c===null)return null;if(E(c)){const d=r.getElementByKey(c.getKey());d===null&&R(214),[c,i]=c.getDOMSlot(d).resolveChildIndex(c,d,n,e),E(c)||R(215),s&&i>=c.getChildrenSize()&&(i=Math.max(0,c.getChildrenSize()-1));let m=c.getChildAtIndex(i);if(E(m)&&function(g,y,b){const x=g.getParent();return b===null||x===null||!x.canBeEmpty()||x!==b.getNode()}(m,0,t)){const g=s?m.getLastDescendant():m.getFirstDescendant();g===null?c=m:(m=g,c=E(m)?m:m.getParentOrThrow()),i=0}M(m)?(u=m,c=null,i=Zs(m,s)):m!==c&&s&&!h&&(E(c)||R(216),i=Math.min(c.getChildrenSize(),i+1))}else{const d=c.getIndexWithinParent();i=e===0&&re(c)&&Qt(n)===c?d:d+1,c=c.getParentOrThrow()}if(E(c))return Je(c.__key,i,"element")}}else u=Qt(n);return M(u)?Je(u.__key,i,"text"):null}function yo(n,e,t){const r=n.offset,u=n.getNode();if(r===0){const i=u.getPreviousSibling(),s=u.getParent();if(e){if((t||!e)&&i===null&&E(s)&&s.isInline()){const o=s.getPreviousSibling();M(o)&&(n.key=o.__key,n.offset=o.getTextContent().length)}}else E(i)&&!t&&i.isInline()?(n.key=i.__key,n.offset=i.getChildrenSize(),n.type="element"):M(i)&&(n.key=i.__key,n.offset=i.getTextContent().length)}else if(r===u.getTextContent().length){const i=u.getNextSibling(),s=u.getParent();if(e&&E(i)&&i.isInline())n.key=i.__key,n.offset=0,n.type="element";else if((t||e)&&i===null&&E(s)&&s.isInline()&&!s.canInsertTextAfter()){const o=s.getNextSibling();M(o)&&(n.key=o.__key,n.offset=0)}}}function xl(n,e,t){if(n.type==="text"&&e.type==="text"){const r=n.isBefore(e),u=n.is(e);yo(n,r,u),yo(e,!r,u),u&&(e.key=n.key,e.offset=n.offset,e.type=n.type);const i=oe();if(i.isComposing()&&i._compositionKey!==n.key&&L(t)){const s=t.anchor,o=t.focus;pt(n,s.key,s.offset,s.type),pt(e,o.key,o.offset,o.type)}}}function vl(n,e,t,r,u,i){if(n===null||t===null||!Qn(u,n,t))return null;const s=bo(n,e,L(i)?i.anchor:null,u);if(s===null)return null;const o=bo(t,r,L(i)?i.focus:null,u);if(o===null)return null;if(s.type==="element"&&o.type==="element"){const a=Qt(n),l=Qt(t);if(re(a)&&re(l))return null}return xl(s,o,i),[s,o]}function xi(n){return E(n)&&!n.isInline()}function wl(n,e,t,r,u,i){const s=ot(),o=new Tt(Je(n,e,u),Je(t,r,i),0,"");return o.dirty=!0,s._selection=o,o}function Af(){const n=Je("root",0,"element"),e=Je("root",0,"element");return new Tt(n,e,0,"")}function _o(){return new Eu(new Set)}function gs(n,e,t,r){const u=t._window;if(u===null)return null;const i=r||u.event,s=i?i.type:void 0,o=s==="selectionchange",a=!si&&(o||s==="beforeinput"||s==="compositionstart"||s==="compositionend"||s==="click"&&i&&i.detail===3||s==="drop"||s===void 0);let l,f,h,c;if(L(n)&&!a)return n.clone();if(e===null)return null;if(l=e.anchorNode,f=e.focusNode,h=e.anchorOffset,c=e.focusOffset,o&&L(n)&&!Qn(t,l,f))return n.clone();const d=vl(l,h,f,c,t,n);if(d===null)return null;const[p,m]=d;return new Tt(p,m,L(n)?n.format:0,L(n)?n.style:"")}function j(){return ot()._selection}function rr(){return oe()._editorState._selection}function tu(n,e,t,r=1){const u=n.anchor,i=n.focus,s=u.getNode(),o=i.getNode();if(!e.is(s)&&!e.is(o))return;const a=e.__key;if(n.isCollapsed()){const l=u.offset;if(t<=l&&r>0||t<l&&r<0){const f=Math.max(0,l+r);u.set(a,f,"element"),i.set(a,f,"element"),xo(n)}}else{const l=n.isBackward(),f=l?i:u,h=f.getNode(),c=l?u:i,d=c.getNode();if(e.is(h)){const p=f.offset;(t<=p&&r>0||t<p&&r<0)&&f.set(a,Math.max(0,p+r),"element")}if(e.is(d)){const p=c.offset;(t<=p&&r>0||t<p&&r<0)&&c.set(a,Math.max(0,p+r),"element")}}xo(n)}function xo(n){const e=n.anchor,t=e.offset,r=n.focus,u=r.offset,i=e.getNode(),s=r.getNode();if(n.isCollapsed()){if(!E(i))return;const o=i.getChildrenSize(),a=t>=o,l=a?i.getChildAtIndex(o-1):i.getChildAtIndex(t);if(M(l)){let f=0;a&&(f=l.getTextContentSize()),e.set(l.__key,f,"text"),r.set(l.__key,f,"text")}}else{if(E(i)){const o=i.getChildrenSize(),a=t>=o,l=a?i.getChildAtIndex(o-1):i.getChildAtIndex(t);if(M(l)){let f=0;a&&(f=l.getTextContentSize()),e.set(l.__key,f,"text")}}if(E(s)){const o=s.getChildrenSize(),a=u>=o,l=a?s.getChildAtIndex(o-1):s.getChildAtIndex(u);if(M(l)){let f=0;a&&(f=l.getTextContentSize()),r.set(l.__key,f,"text")}}}}function nu(n,e,t,r,u){let i=null,s=0,o=null;r!==null?(i=r.__key,M(r)?(s=r.getTextContentSize(),o="text"):E(r)&&(s=r.getChildrenSize(),o="element")):u!==null&&(i=u.__key,M(u)?o="text":E(u)&&(o="element")),i!==null&&o!==null?n.set(i,s,o):(s=e.getIndexWithinParent(),s===-1&&(s=t.getChildrenSize()),n.set(t.__key,s,"element"))}function vo(n,e,t,r,u){n.type==="text"?(n.key=t,e||(n.offset+=u)):n.offset>r.getIndexWithinParent()&&(n.offset-=1)}function Of(n,e,t,r,u,i,s){const o=r.anchorNode,a=r.focusNode,l=r.anchorOffset,f=r.focusOffset,h=document.activeElement;if(u.has("collaboration")&&h!==i||h!==null&&ss(h))return;if(!L(e))return void(n!==null&&Qn(t,o,a)&&r.removeAllRanges());const c=e.anchor,d=e.focus,p=c.key,m=d.key,g=Jr(t,p),y=Jr(t,m),b=c.offset,x=d.offset,w=e.format,C=e.style,T=e.isCollapsed();let k=g,S=y,P=!1;if(c.type==="text"){k=Vr(g);const _=c.getNode();P=_.getFormat()!==w||_.getStyle()!==C}else L(n)&&n.anchor.type==="text"&&(P=!0);var z,v,N,O,B;if(d.type==="text"&&(S=Vr(y)),k!==null&&S!==null&&(T&&(n===null||P||L(n)&&(n.format!==w||n.style!==C))&&(z=w,v=C,N=b,O=p,B=performance.now(),hl=[z,v,N,O,B]),l!==b||f!==x||o!==k||a!==S||r.type==="Range"&&T||(h!==null&&i.contains(h)||i.focus({preventScroll:!0}),c.type==="element"))){try{r.setBaseAndExtent(k,b,S,x)}catch{}if(!u.has("skip-scroll-into-view")&&e.isCollapsed()&&i!==null&&i===document.activeElement){const _=e instanceof Tt&&e.anchor.type==="element"?k.childNodes[b]||null:r.rangeCount>0?r.getRangeAt(0):null;if(_!==null){let I;if(_ instanceof Text){const A=document.createRange();A.selectNode(_),I=A.getBoundingClientRect()}else I=_.getBoundingClientRect();(function(A,U,Z){const Y=Z.ownerDocument,ft=Y.defaultView;if(ft===null)return;let{top:Vt,bottom:J}=U,D=0,te=0,W=Z;for(;W!==null;){const G=W===Y.body;if(G)D=0,te=Su(A).innerHeight;else{const se=W.getBoundingClientRect();D=se.top,te=se.bottom}let ue=0;if(Vt<D?ue=-(D-Vt):J>te&&(ue=J-te),ue!==0)if(G)ft.scrollBy(0,ue);else{const se=W.scrollTop;W.scrollTop+=ue;const ae=W.scrollTop-se;Vt-=ae,J-=ae}if(G)break;W=Yn(W)}})(t,I,i)}}mi=!0}}function ms(n){let e=j()||rr();e===null&&(e=ce().selectEnd()),e.insertNodes(n)}function Ku(n){let e=n;n.isCollapsed()||e.removeText();const t=j();L(t)&&(e=t),L(e)||R(161);const r=e.anchor;let u=r.getNode(),i=r.offset;for(;!ht(u);)[u,i]=If(u,i);return i}function If(n,e){const t=n.getParent();if(!t){const u=Ee();return ce().append(u),u.select(),[ce(),0]}if(M(n)){const u=n.splitText(e);if(u.length===0)return[t,n.getIndexWithinParent()];const i=e===0?0:1;return[t,u[0].getIndexWithinParent()+i]}if(!E(n)||e===0)return[t,n.getIndexWithinParent()];const r=n.getChildAtIndex(e);if(r){const u=new Tt(Je(n.__key,e,"element"),Je(n.__key,e,"element"),0,""),i=n.insertNewAfter(u);i&&i.append(r,...r.getNextSiblings())}return[t,n.getIndexWithinParent()+1]}let he=null,pe=null,we=!1,Ju=!1,Mr=0;const wo={characterData:!0,childList:!0,subtree:!0};function ur(){return we||he!==null&&he._readOnly}function ve(){we&&R(13)}function Sl(){Mr>99&&R(14)}function ot(){return he===null&&R(195,Tl()),he}function oe(){return pe===null&&R(196,Tl()),pe}function Tl(){let n=0;const e=new Set,t=Nu.version;if(typeof window<"u")for(const u of document.querySelectorAll("[contenteditable]")){const i=xu(u);if(os(i))n++;else if(i){let s=String(i.constructor.version||"<0.17.1");s===t&&(s+=" (separately built, likely a bundler configuration issue)"),e.add(s)}}let r=` Detected on the page: ${n} compatible editor(s) with version ${t}`;return e.size&&(r+=` and incompatible editors with versions ${Array.from(e).join(", ")}`),r}function Pf(){return pe}function So(n,e,t){const r=e.__type,u=function(o,a){const l=o._nodes.get(a);return l===void 0&&R(30,a),l}(n,r);let i=t.get(r);i===void 0&&(i=Array.from(u.transforms),t.set(r,i));const s=i.length;for(let o=0;o<s&&(i[o](e),e.isAttached());o++);}function To(n,e){return n!==void 0&&n.__key!==e&&n.isAttached()}function Cl(n,e){if(!e)return;const t=n._updateTags;let r=e;Array.isArray(e)||(r=[e]);for(const u of r)t.add(u)}function Lf(n){return bs(n,oe()._nodes)}function bs(n,e){const t=n.type,r=e.get(t);r===void 0&&R(17,t);const u=r.klass;n.type!==u.getType()&&R(18,u.name);const i=u.importJSON(n),s=n.children;if(E(i)&&Array.isArray(s))for(let o=0;o<s.length;o++){const a=bs(s[o],e);i.append(a)}return i}function Co(n,e,t){const r=he,u=we,i=pe;he=e,we=!0,pe=n;try{return t()}finally{he=r,we=u,pe=i}}function mt(n,e){const t=n._pendingEditorState,r=n._rootElement,u=n._headless||r===null;if(t===null)return;const i=n._editorState,s=i._selection,o=t._selection,a=n._dirtyType!==Lt,l=he,f=we,h=pe,c=n._updating,d=n._observer;let p=null;if(n._pendingEditorState=null,n._editorState=t,!u&&a&&d!==null){pe=n,he=t,we=!1,n._updating=!0;try{const T=n._dirtyType,k=n._dirtyElements,S=n._dirtyLeaves;d.disconnect(),p=_f(i,t,n,T,k,S)}catch(T){if(T instanceof Error&&n._onError(T),Ju)throw T;return Il(n,null,r,t),Ga(n),n._dirtyType=un,Ju=!0,mt(n,i),void(Ju=!1)}finally{d.observe(r,wo),n._updating=c,he=l,we=f,pe=h}}t._readOnly||(t._readOnly=!0);const m=n._dirtyLeaves,g=n._dirtyElements,y=n._normalizedNodes,b=n._updateTags,x=n._deferred;a&&(n._dirtyType=Lt,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements=new Map,n._normalizedNodes=new Set,n._updateTags=new Set),function(T,k){const S=T._decorators;let P=T._pendingDecorators||S;const z=k._nodeMap;let v;for(v in P)z.has(v)||(P===S&&(P=Qa(T)),delete P[v])}(n,t);const w=u?null:Oe(n._window);if(n._editable&&w!==null&&(a||o===null||o.dirty)){pe=n,he=t;try{if(d!==null&&d.disconnect(),a||o===null||o.dirty){const T=n._blockCursorElement;T!==null&&ds(T,n,r),Of(s,o,n,w,b,r)}cf(n,r,o),d!==null&&d.observe(r,wo)}finally{pe=h,he=l}}p!==null&&function(T,k,S,P,z){const v=Array.from(T._listeners.mutation),N=v.length;for(let O=0;O<N;O++){const[B,_]=v[O],I=k.get(_);I!==void 0&&B(I,{dirtyLeaves:P,prevEditorState:z,updateTags:S})}}(n,p,b,m,i),L(o)||o===null||s!==null&&s.is(o)||n.dispatchCommand(gu,void 0);const C=n._pendingDecorators;C!==null&&(n._decorators=C,n._pendingDecorators=null,Pn("decorator",n,!0,C)),function(T,k,S){const P=Xs(k),z=Xs(S);P!==z&&Pn("textcontent",T,!0,z)}(n,e||i,t),Pn("update",n,!0,{dirtyElements:g,dirtyLeaves:m,editorState:t,normalizedNodes:y,prevEditorState:e||i,tags:b}),function(T,k){if(T._deferred=[],k.length!==0){const S=T._updating;T._updating=!0;try{for(let P=0;P<k.length;P++)k[P]()}finally{T._updating=S}}}(n,x),function(T){const k=T._updates;if(k.length!==0){const S=k.shift();if(S){const[P,z]=S;kl(T,P,z)}}}(n)}function Pn(n,e,t,...r){const u=e._updating;e._updating=t;try{const i=Array.from(e._listeners[n]);for(let s=0;s<i.length;s++)i[s].apply(null,r)}finally{e._updating=u}}function El(n,e,t){if(n._updating===!1||pe!==n){let u=!1;return n.update(()=>{u=El(n,e,t)}),u}const r=as(n);for(let u=4;u>=0;u--)for(let i=0;i<r.length;i++){const s=r[i]._commands.get(e);if(s!==void 0){const o=s[u];if(o!==void 0){const a=Array.from(o),l=a.length;for(let f=0;f<l;f++)if(a[f](t,n)===!0)return!0}}}return!1}function Eo(n,e){const t=n._updates;let r=e||!1;for(;t.length!==0;){const u=t.shift();if(u){const[i,s]=u;let o;if(s!==void 0){if(o=s.onUpdate,s.skipTransforms&&(r=!0),s.discrete){const a=n._pendingEditorState;a===null&&R(191),a._flushSync=!0}o&&n._deferred.push(o),Cl(n,s.tag)}i()}}return r}function kl(n,e,t){const r=n._updateTags;let u,i=!1,s=!1;t!==void 0&&(u=t.onUpdate,Cl(n,t.tag),i=t.skipTransforms||!1,s=t.discrete||!1),u&&n._deferred.push(u);const o=n._editorState;let a=n._pendingEditorState,l=!1;(a===null||a._readOnly)&&(a=n._pendingEditorState=Al(a||o),l=!0),a._flushSync=s;const f=he,h=we,c=pe,d=n._updating;he=a,we=!1,n._updating=!0,pe=n;try{l&&(n._headless?o._selection!==null&&(a._selection=o._selection.clone()):a._selection=function(y){const b=y.getEditorState()._selection,x=Oe(y._window);return L(b)||b==null?gs(b,x,y,null):b.clone()}(n));const m=n._compositionKey;e(),i=Eo(n,i),function(y,b){const x=b.getEditorState()._selection,w=y._selection;if(L(w)){const C=w.anchor,T=w.focus;let k;if(C.type==="text"&&(k=C.getNode(),k.selectionTransform(x,w)),T.type==="text"){const S=T.getNode();k!==S&&S.selectionTransform(x,w)}}}(a,n),n._dirtyType!==Lt&&(i?function(y,b){const x=b._dirtyLeaves,w=y._nodeMap;for(const C of x){const T=w.get(C);M(T)&&T.isAttached()&&T.isSimpleText()&&!T.isUnmergeable()&&Ks(T)}}(a,n):function(y,b){const x=b._dirtyLeaves,w=b._dirtyElements,C=y._nodeMap,T=gt(),k=new Map;let S=x,P=S.size,z=w,v=z.size;for(;P>0||v>0;){if(P>0){b._dirtyLeaves=new Set;for(const N of S){const O=C.get(N);M(O)&&O.isAttached()&&O.isSimpleText()&&!O.isUnmergeable()&&Ks(O),O!==void 0&&To(O,T)&&So(b,O,k),x.add(N)}if(S=b._dirtyLeaves,P=S.size,P>0){Mr++;continue}}b._dirtyLeaves=new Set,b._dirtyElements=new Map;for(const N of z){const O=N[0],B=N[1];if(O!=="root"&&!B)continue;const _=C.get(O);_!==void 0&&To(_,T)&&So(b,_,k),w.set(O,B)}S=b._dirtyLeaves,P=S.size,z=b._dirtyElements,v=z.size,Mr++}b._dirtyLeaves=x,b._dirtyElements=w}(a,n),Eo(n),function(y,b,x,w){const C=y._nodeMap,T=b._nodeMap,k=[];for(const[S]of w){const P=T.get(S);P!==void 0&&(P.isAttached()||(E(P)&&ul(P,S,C,T,k,w),C.has(S)||w.delete(S),k.push(S)))}for(const S of k)T.delete(S);for(const S of x){const P=T.get(S);P===void 0||P.isAttached()||(C.has(S)||x.delete(S),T.delete(S))}}(o,a,n._dirtyLeaves,n._dirtyElements)),m!==n._compositionKey&&(a._flushSync=!0);const g=a._selection;if(L(g)){const y=a._nodeMap,b=g.anchor.key,x=g.focus.key;y.get(b)!==void 0&&y.get(x)!==void 0||R(19)}else Ne(g)&&g._nodes.size===0&&(a._selection=null)}catch(m){return m instanceof Error&&n._onError(m),n._pendingEditorState=o,n._dirtyType=un,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements.clear(),void mt(n)}finally{he=f,we=h,pe=c,n._updating=d,Mr=0}n._dirtyType!==Lt||function(m,g){const y=g.getEditorState()._selection,b=m._selection;if(b!==null){if(b.dirty||!b.is(y))return!0}else if(y!==null)return!0;return!1}(a,n)?a._flushSync?(a._flushSync=!1,mt(n)):l&&rf(()=>{mt(n)}):(a._flushSync=!1,l&&(r.clear(),n._deferred=[],n._pendingEditorState=null))}function Ce(n,e,t){n._updating?n._updates.push([e,t]):kl(n,e,t)}class Ln{constructor(e,t,r){this.element=e,this.before=t||null,this.after=r||null}withBefore(e){return new Ln(this.element,e,this.after)}withAfter(e){return new Ln(this.element,this.before,e)}withElement(e){return new Ln(e,this.before,this.after)}insertChild(e){const t=this.before||this.getManagedLineBreak();return t!==null&&t.parentElement!==this.element&&R(222),this.element.insertBefore(e,t),this}removeChild(e){return e.parentElement!==this.element&&R(223),this.element.removeChild(e),this}replaceChild(e,t){return t.parentElement!==this.element&&R(224),this.element.replaceChild(e,t),this}getFirstChild(){const e=this.after?this.after.nextSibling:this.element.firstChild;return e===this.before||e===this.getManagedLineBreak()?null:e}getManagedLineBreak(){return this.element.__lexicalLineBreak||null}setManagedLineBreak(e){if(e===null)this.removeManagedLineBreak();else{const t=e==="decorator"&&(Xn||yu);this.insertManagedLineBreak(t)}}removeManagedLineBreak(){const e=this.getManagedLineBreak();if(e){const t=this.element,r=e.nodeName==="IMG"?e.nextSibling:null;r&&t.removeChild(r),t.removeChild(e),t.__lexicalLineBreak=void 0}}insertManagedLineBreak(e){const t=this.getManagedLineBreak();if(t){if(e===(t.nodeName==="IMG"))return;this.removeManagedLineBreak()}const r=this.element,u=this.before,i=document.createElement("br");if(r.insertBefore(i,u),e){const s=document.createElement("img");s.setAttribute("data-lexical-linebreak","true"),s.style.cssText="display: inline !important; border: 0px !important; margin: 0px !important;",s.alt="",r.insertBefore(s,i),r.__lexicalLineBreak=s}else r.__lexicalLineBreak=i}getFirstChildOffset(){let e=0;for(let t=this.after;t!==null;t=t.previousSibling)e++;return e}resolveChildIndex(e,t,r,u){if(r===this.element){const a=this.getFirstChildOffset();return[e,Math.min(a+e.getChildrenSize(),Math.max(a,u))]}const i=ko(t,r);i.push(u);const s=ko(t,this.element);let o=e.getIndexWithinParent();for(let a=0;a<s.length;a++){const l=i[a],f=s[a];if(l===void 0||l<f)break;if(l>f){o+=1;break}}return[e.getParentOrThrow(),o]}}function ko(n,e){const t=[];let r=e;for(;r!==n&&r!==null;r=e.parentNode){let u=0;for(let i=r.previousSibling;i!==null;i=r.previousSibling)u++;t.push(u)}return r!==n&&R(225),t.reverse()}class $t extends Cu{constructor(e){super(e),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null}afterCloneFrom(e){super.afterCloneFrom(e),this.__first=e.__first,this.__last=e.__last,this.__size=e.__size,this.__indent=e.__indent,this.__format=e.__format,this.__style=e.__style,this.__dir=e.__dir}getFormat(){return this.getLatest().__format}getFormatType(){const e=this.getFormat();return G0[e]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){const e=[];let t=this.getFirstChild();for(;t!==null;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){const e=[];let t=this.getFirstChild();for(;t!==null;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return this.getChildrenSize()===0}isDirty(){const e=oe()._dirtyElements;return e!==null&&e.has(this.__key)}isLastChild(){const e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return t!==null&&t.is(e)}getAllTextNodes(){const e=[];let t=this.getFirstChild();for(;t!==null;){if(M(t)&&e.push(t),E(t)){const r=t.getAllTextNodes();e.push(...r)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;E(e);){const t=e.getFirstChild();if(t===null)break;e=t}return e}getLastDescendant(){let e=this.getLastChild();for(;E(e);){const t=e.getLastChild();if(t===null)break;e=t}return e}getDescendantByIndex(e){const t=this.getChildren(),r=t.length;if(e>=r){const i=t[r-1];return E(i)&&i.getLastDescendant()||i||null}const u=t[e];return E(u)&&u.getFirstDescendant()||u||null}getFirstChild(){const e=this.getLatest().__first;return e===null?null:de(e)}getFirstChildOrThrow(){const e=this.getFirstChild();return e===null&&R(45,this.__key),e}getLastChild(){const e=this.getLatest().__last;return e===null?null:de(e)}getLastChildOrThrow(){const e=this.getLastChild();return e===null&&R(96,this.__key),e}getChildAtIndex(e){const t=this.getChildrenSize();let r,u;if(e<t/2){for(r=this.getFirstChild(),u=0;r!==null&&u<=e;){if(u===e)return r;r=r.getNextSibling(),u++}return null}for(r=this.getLastChild(),u=t-1;r!==null&&u>=e;){if(u===e)return r;r=r.getPreviousSibling(),u--}return null}getTextContent(){let e="";const t=this.getChildren(),r=t.length;for(let u=0;u<r;u++){const i=t[u];e+=i.getTextContent(),E(i)&&u!==r-1&&!i.isInline()&&(e+=rt)}return e}getTextContentSize(){let e=0;const t=this.getChildren(),r=t.length;for(let u=0;u<r;u++){const i=t[u];e+=i.getTextContentSize(),E(i)&&u!==r-1&&!i.isInline()&&(e+=rt.length)}return e}getDirection(){return this.getLatest().__dir}hasFormat(e){if(e!==""){const t=Hs[e];return!!(this.getFormat()&t)}return!1}select(e,t){ve();const r=j();let u=e,i=t;const s=this.getChildrenSize();if(!this.canBeEmpty()){if(e===0&&t===0){const a=this.getFirstChild();if(M(a)||E(a))return a.select(0,0)}else if(!(e!==void 0&&e!==s||t!==void 0&&t!==s)){const a=this.getLastChild();if(M(a)||E(a))return a.select()}}u===void 0&&(u=s),i===void 0&&(i=s);const o=this.__key;return L(r)?(r.anchor.set(o,u,"element"),r.focus.set(o,i,"element"),r.dirty=!0,r):wl(o,u,o,i,"element","element")}selectStart(){const e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){const e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){const e=this.getWritable();return this.getChildren().forEach(t=>t.remove()),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){const t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=e!==""?Hs[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,r){const u=r.length,i=this.getChildrenSize(),s=this.getWritable();e+t<=i||R(226,String(e),String(t),String(i));const o=s.__key,a=[],l=[],f=this.getChildAtIndex(e+t);let h=null,c=i-t+u;if(e!==0)if(e===i)h=this.getLastChild();else{const p=this.getChildAtIndex(e);p!==null&&(h=p.getPreviousSibling())}if(t>0){let p=h===null?this.getFirstChild():h.getNextSibling();for(let m=0;m<t;m++){p===null&&R(100);const g=p.getNextSibling(),y=p.__key;Pt(p.getWritable()),l.push(y),p=g}}let d=h;for(let p=0;p<u;p++){const m=r[p];d!==null&&m.is(d)&&(h=d=d.getPreviousSibling());const g=m.getWritable();g.__parent===o&&c--,Pt(g);const y=m.__key;if(d===null)s.__first=y,g.__prev=null;else{const b=d.getWritable();b.__next=y,g.__prev=b.__key}m.__key===o&&R(76),g.__parent=o,a.push(y),d=m}if(e+t===i)d!==null&&(d.getWritable().__next=null,s.__last=d.__key);else if(f!==null){const p=f.getWritable();if(d!==null){const m=d.getWritable();p.__prev=d.__key,m.__next=f.__key}else p.__prev=null}if(s.__size=c,l.length){const p=j();if(L(p)){const m=new Set(l),g=new Set(a),{anchor:y,focus:b}=p;No(y,m,g)&&nu(y,y.getNode(),this,h,f),No(b,m,g)&&nu(b,b.getNode(),this,h,f),c!==0||this.canBeEmpty()||ut(this)||this.remove()}}return s}getDOMSlot(e){return new Ln(e)}exportDOM(e){const{element:t}=super.exportDOM(e);if(t&&Ut(t)){const r=this.getIndent();r>0&&(t.style.paddingInlineStart=40*r+"px")}return{element:t}}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"element",version:1}}insertNewAfter(e,t){return null}canIndent(){return!0}collapseAtStart(e){return!1}excludeFromCopy(e){return!1}canReplaceWith(e){return!0}canInsertAfter(e){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(e){return!1}extractWithChild(e,t,r){return!1}canMergeWhenEmpty(){return!1}reconcileObservedMutation(e,t){const r=this.getDOMSlot(e);let u=r.getFirstChild();for(let i=this.getFirstChild();i;i=i.getNextSibling()){const s=t.getElementByKey(i.getKey());s!==null&&(u==null?(r.insertChild(s),u=s):u!==s&&r.replaceChild(s,u),u=u.nextSibling)}}}function E(n){return n instanceof $t}function No(n,e,t){let r=n.getNode();for(;r;){const u=r.__key;if(e.has(u)&&!t.has(u))return!0;r=r.getParent()}return!1}class Nl extends Cu{constructor(e){super(e)}decorate(e,t){R(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function re(n){return n instanceof Nl}class ir extends $t{static getType(){return"root"}static clone(){return new ir}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){R(51)}getTextContent(){const e=this.__cachedText;return!ur()&&oe()._dirtyType!==Lt||e===null?super.getTextContent():e}remove(){R(52)}replace(e){R(53)}insertBefore(e){R(54)}insertAfter(e){R(55)}updateDOM(e,t){return!1}append(...e){for(let t=0;t<e.length;t++){const r=e[t];E(r)||re(r)||R(56)}return super.append(...e)}static importJSON(e){const t=ce();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"root",version:1}}collapseAtStart(){return!0}}function ye(n){return n instanceof ir}function Al(n){return new ku(new Map(n._nodeMap))}function ys(){return new ku(new Map([["root",new ir]]))}function Ol(n){const e=n.exportJSON(),t=n.constructor;if(e.type!==t.getType()&&R(130,t.name),E(n)){const r=e.children;Array.isArray(r)||R(59,t.name);const u=n.getChildren();for(let i=0;i<u.length;i++){const s=Ol(u[i]);r.push(s)}}return e}class ku{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return this._nodeMap.size===1&&this._selection===null}read(e,t){return Co(t&&t.editor||null,this,e)}clone(e){const t=new ku(this._nodeMap,e===void 0?this._selection:e);return t._readOnly=!0,t}toJSON(){return Co(null,this,()=>({root:Ol(ce())}))}}class _s extends $t{static getType(){return"artificial"}createDOM(e){return document.createElement("div")}}class hn extends $t{constructor(e){super(e),this.__textFormat=0,this.__textStyle=""}static getType(){return"paragraph"}getTextFormat(){return this.getLatest().__textFormat}setTextFormat(e){const t=this.getWritable();return t.__textFormat=e,t}hasTextFormat(e){const t=Dt[e];return!!(this.getTextFormat()&t)}getFormatFlags(e,t){return Gr(this.getLatest().__textFormat,e,t)}getTextStyle(){return this.getLatest().__textStyle}setTextStyle(e){const t=this.getWritable();return t.__textStyle=e,t}static clone(e){return new hn(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}createDOM(e){const t=document.createElement("p"),r=Nn(e.theme,"paragraph");return r!==void 0&&t.classList.add(...r),t}updateDOM(e,t,r){return!1}static importDOM(){return{p:e=>({conversion:Df,priority:0})}}exportDOM(e){const{element:t}=super.exportDOM(e);if(t&&Ut(t)){this.isEmpty()&&t.append(document.createElement("br"));const r=this.getFormatType();t.style.textAlign=r;const u=this.getDirection();u&&(t.dir=u)}return{element:t}}static importJSON(e){const t=Ee();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t.setTextFormat(e.textFormat),t}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle(),type:"paragraph",version:1}}insertNewAfter(e,t){const r=Ee();r.setTextFormat(e.format),r.setTextStyle(e.style);const u=this.getDirection();return r.setDirection(u),r.setFormat(this.getFormatType()),r.setStyle(this.getTextStyle()),this.insertAfter(r,t),r}collapseAtStart(){const e=this.getChildren();if(e.length===0||M(e[0])&&e[0].getTextContent().trim()===""){if(this.getNextSibling()!==null)return this.selectNext(),this.remove(),!0;if(this.getPreviousSibling()!==null)return this.selectPrevious(),this.remove(),!0}return!1}}function Df(n){const e=Ee();return n.style&&(e.setFormat(n.style.textAlign),gf(n,e)),{node:e}}function Ee(){return St(new hn)}function Bt(n){return n instanceof hn}const Q=0,nt=1,Mf=4;function Il(n,e,t,r){const u=n._keyToDOMMap;u.clear(),n._editorState=ys(),n._pendingEditorState=r,n._compositionKey=null,n._dirtyType=Lt,n._cloneNotNeeded.clear(),n._dirtyLeaves=new Set,n._dirtyElements.clear(),n._normalizedNodes=new Set,n._updateTags=new Set,n._updates=[],n._blockCursorElement=null;const i=n._observer;i!==null&&(i.disconnect(),n._observer=null),e!==null&&(e.textContent=""),t!==null&&(t.textContent="",u.set("root",t))}function Rf(n){const e=n||{},t=Pf(),r=e.theme||{},u=n===void 0?t:e.parentEditor||null,i=e.disableEvents||!1,s=ys(),o=e.namespace||(u!==null?u._config.namespace:tl()),a=e.editorState,l=[ir,zt,er,tr,hn,_s,...e.nodes||[]],{onError:f,html:h}=e,c=e.editable===void 0||e.editable;let d;if(n===void 0&&t!==null)d=t._nodes;else{d=new Map;for(let m=0;m<l.length;m++){let g=l[m],y=null,b=null;if(typeof g!="function"){const T=g;g=T.replace,y=T.with,b=T.withKlass||null}const x=g.getType(),w=g.transform(),C=new Set;w!==null&&C.add(w),d.set(x,{exportDOM:h&&h.export?h.export.get(g):void 0,klass:g,replace:y,replaceWithKlass:b,transforms:C})}}const p=new Nu(s,u,d,{disableEvents:i,namespace:o,theme:r},f||console.error,function(m,g){const y=new Map,b=new Set,x=w=>{Object.keys(w).forEach(C=>{let T=y.get(C);T===void 0&&(T=[],y.set(C,T)),T.push(w[C])})};return m.forEach(w=>{const C=w.klass.importDOM;if(C==null||b.has(C))return;b.add(C);const T=C.call(w.klass);T!==null&&x(T)}),g&&x(g),y}(d,h?h.import:void 0),c);return a!==void 0&&(p._pendingEditorState=a,p._dirtyType=un),p}class Nu{constructor(e,t,r,u,i,s,o){this._parentEditor=t,this._rootElement=null,this._editorState=e,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=u,this._nodes=r,this._decorators={},this._pendingDecorators=null,this._dirtyType=Lt,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=tl(),this._onError=i,this._htmlConversions=s,this._editable=o,this._headless=t!==null&&t._headless,this._window=null,this._blockCursorElement=null}isComposing(){return this._compositionKey!=null}registerUpdateListener(e){const t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){const t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){const t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){const t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){const t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,r){r===void 0&&R(35);const u=this._commands;u.has(e)||u.set(e,[new Set,new Set,new Set,new Set,new Set]);const i=u.get(e);i===void 0&&R(36,String(e));const s=i[r];return s.add(t),()=>{s.delete(t),i.every(o=>o.size===0)&&u.delete(e)}}registerMutationListener(e,t,r){const u=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(e)).klass,i=this._listeners.mutation;i.set(t,u);const s=r&&r.skipInitialization;return s!==void 0&&s||this.initializeMutationListener(t,u),()=>{i.delete(t)}}getRegisteredNode(e){const t=this._nodes.get(e.getType());return t===void 0&&R(37,e.name),t}resolveRegisteredNodeAfterReplacements(e){for(;e.replaceWithKlass;)e=this.getRegisteredNode(e.replaceWithKlass);return e}initializeMutationListener(e,t){const r=this._editorState,u=pf(r).get(t.getType());if(!u)return;const i=new Map;for(const s of u.keys())i.set(s,"created");i.size>0&&e(i,{dirtyLeaves:new Set,prevEditorState:r,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(e,t){const r=this.getRegisteredNode(e);return r.transforms.add(t),r}registerNodeTransform(e,t){const r=this.registerNodeTransformToKlass(e,t),u=[r],i=r.replaceWithKlass;if(i!=null){const a=this.registerNodeTransformToKlass(i,t);u.push(a)}var s,o;return s=this,o=e.getType(),Ce(s,()=>{const a=ot();if(a.isEmpty())return;if(o==="root")return void ce().markDirty();const l=a._nodeMap;for(const[,f]of l)f.markDirty()},s._pendingEditorState===null?{tag:"history-merge"}:void 0),()=>{u.forEach(a=>a.transforms.delete(t))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return F(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){const t=this._rootElement;if(e!==t){const r=Nn(this._config.theme,"root"),u=this._pendingEditorState||this._editorState;if(this._rootElement=e,Il(this,t,e,u),t!==null&&(this._config.disableEvents||xf(t),r!=null&&t.classList.remove(...r)),e!==null){const i=function(o){const a=o.ownerDocument;return a&&a.defaultView||null}(e),s=e.style;s.userSelect="text",s.whiteSpace="pre-wrap",s.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=i,this._dirtyType=un,Ga(this),this._updateTags.add("history-merge"),mt(this),this._config.disableEvents||function(o,a){const l=o.ownerDocument,f=eu.get(l);(f===void 0||f<1)&&l.addEventListener("selectionchange",bl),eu.set(l,(f||0)+1),o.__lexicalEditor=a;const h=ml(o);for(let c=0;c<gi.length;c++){const[d,p]=gi[c],m=typeof p=="function"?g=>{lo(g)||(ao(g),(a.isEditable()||d==="click")&&p(g,a))}:g=>{if(lo(g))return;ao(g);const y=a.isEditable();switch(d){case"cut":return y&&F(a,Xi,g);case"copy":return F(a,bu,g);case"paste":return y&&F(a,mu,g);case"dragstart":return y&&F(a,ja,g);case"dragover":return y&&F(a,qa,g);case"dragend":return y&&F(a,O0,g);case"focus":return y&&F(a,L0,g);case"blur":return y&&F(a,D0,g);case"drop":return y&&F(a,Fa,g)}};o.addEventListener(d,m),h.push(()=>{o.removeEventListener(d,m)})}}(e,this),r!=null&&e.classList.add(...r)}else this._editorState=u,this._pendingEditorState=null,this._window=null;Pn("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&R(38);let r=e;r._readOnly&&(r=Al(e),r._selection=e._selection?e._selection.clone():null),Va(this);const u=this._pendingEditorState,i=this._updateTags,s=t!==void 0?t.tag:null;u===null||u.isEmpty()||(s!=null&&i.add(s),mt(this)),this._pendingEditorState=r,this._dirtyType=un,this._dirtyElements.set("root",!1),this._compositionKey=null,s!=null&&i.add(s),this._updating||mt(this)}parseEditorState(e,t){return function(r,u,i){const s=ys(),o=he,a=we,l=pe,f=u._dirtyElements,h=u._dirtyLeaves,c=u._cloneNotNeeded,d=u._dirtyType;u._dirtyElements=new Map,u._dirtyLeaves=new Set,u._cloneNotNeeded=new Set,u._dirtyType=0,he=s,we=!1,pe=u;try{const p=u._nodes;bs(r.root,p),i&&i(),s._readOnly=!0}catch(p){p instanceof Error&&u._onError(p)}finally{u._dirtyElements=f,u._dirtyLeaves=h,u._cloneNotNeeded=c,u._dirtyType=d,he=o,we=a,pe=l}return s}(typeof e=="string"?JSON.parse(e):e,this,t)}read(e){return mt(this),this.getEditorState().read(e,{editor:this})}update(e,t){Ce(this,e,t)}focus(e,t={}){const r=this._rootElement;r!==null&&(r.setAttribute("autocapitalize","off"),Ce(this,()=>{const u=j(),i=ce();u!==null?u.dirty=!0:i.getChildrenSize()!==0&&(t.defaultSelection==="rootStart"?i.selectStart():i.selectEnd())},{onUpdate:()=>{r.removeAttribute("autocapitalize"),e&&e()},tag:"focus"}),this._pendingEditorState===null&&r.removeAttribute("autocapitalize"))}blur(){const e=this._rootElement;e!==null&&e.blur();const t=Oe(this._window);t!==null&&t.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,Pn("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}Nu.version="0.21.0+prod.esm";function Bf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}Bf(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Ff=new Map;function jf(n){const e={};if(!n)return e;const t=n.split(";");for(const r of t)if(r!==""){const[u,i]=r.split(/:([^]+)/);u&&i&&(e[u.trim()]=i.trim())}return e}function Pl(n,e){const t=n.getStartEndPoints();if(e.isSelected(n)&&!e.isSegmented()&&!e.isToken()&&t!==null){const[r,u]=t,i=n.isBackward(),s=r.getNode(),o=u.getNode(),a=e.is(s),l=e.is(o);if(a||l){const[f,h]=_i(n),c=s.is(o),d=e.is(i?o:s),p=e.is(i?s:o);let m,g=0;return c?(g=f>h?h:f,m=f>h?f:h):d?(g=i?h:f,m=void 0):p&&(g=0,m=i?f:h),e.__text=e.__text.slice(g,m),e}}return e}function qf(n){const e=n.getStyle(),t=jf(e);Ff.set(e,t)}function Ao(n,e){const t=Fn(n.focus,e);return re(t)&&!t.isIsolated()||E(t)&&!t.isInline()&&!t.canBeEmpty()}function Uf(n,e,t,r){n.modify(e?"extend":"move",t,r)}function zf(n){const e=n.anchor.getNode();return(ye(e)?e:e.getParentOrThrow()).getDirection()==="rtl"}function Oo(n,e,t){const r=zf(n);Uf(n,e,t?!r:r,"character")}function $f(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Wf=$f(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Ll=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,Hf=Ll&&"documentMode"in document?document.documentMode:null;!(!Ll||!("InputEvent"in window)||Hf)&&"getTargetRanges"in new window.InputEvent("input");function Dl(...n){const e=[];for(const t of n)if(t&&typeof t=="string")for(const[r]of t.matchAll(/\S+/g))e.push(r);return e}function at(...n){return()=>{for(let e=n.length-1;e>=0;e--)n[e]();n.length=0}}function xs(n,...e){const t=Dl(...e);t.length>0&&n.classList.add(...t)}function Ml(n,...e){const t=Dl(...e);t.length>0&&n.classList.remove(...t)}function Vf(n,e){let t=n;for(;t!=null;){if(t instanceof e)return t;t=t.getParent()}return null}function Gf(n){const e=Au(n,t=>E(t)&&!t.isInline());return E(e)||Wf(4,n.__key),e}const Au=(n,e)=>{let t=n;for(;t!==ce()&&t!=null;){if(e(t))return t;t=t.getParent()}return null};function bt(n,e){return n!==null&&Object.getPrototypeOf(n).constructor.name===e.name}function Rl(n,e){const t=e.body?e.body.childNodes:[];let r=[];const u=[];for(let i=0;i<t.length;i++){const s=t[i];if(!jl.has(s.nodeName)){const o=ql(s,n,u,!1);o!==null&&(r=r.concat(o))}}return function(i){for(const s of i)s.getNextSibling()instanceof _s&&s.insertAfter(Rt());for(const s of i){const o=s.getChildren();for(const a of o)s.insertBefore(a);s.remove()}}(u),r}function Bl(n,e){if(typeof document>"u"||typeof window>"u"&&global.window===void 0)throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");const t=document.createElement("div"),r=ce().getChildren();for(let u=0;u<r.length;u++)Fl(n,r[u],t,e);return t.innerHTML}function Fl(n,e,t,r=null){let u=r===null||e.isSelected(r);const i=E(e)&&e.excludeFromCopy("html");let s=e;if(r!==null){let d=hs(e);d=M(d)&&r!==null?Pl(r,d):d,s=d}const o=E(s)?s.getChildren():[],a=n._nodes.get(s.getType());let l;l=a&&a.exportDOM!==void 0?a.exportDOM(n,s):s.exportDOM(n);const{element:f,after:h}=l;if(!f)return!1;const c=document.createDocumentFragment();for(let d=0;d<o.length;d++){const p=o[d],m=Fl(n,p,c,r);!u&&E(e)&&m&&e.extractWithChild(p,r,"html")&&(u=!0)}if(u&&!i){if((Ut(f)||ro(f))&&f.append(c),t.append(f),h){const d=h.call(s,f);d&&(ro(f)?f.replaceChildren(d):f.replaceWith(d))}}else t.append(c);return u}const jl=new Set(["STYLE","SCRIPT"]);function ql(n,e,t,r,u=new Map,i){let s=[];if(jl.has(n.nodeName))return s;let o=null;const a=function(p,m){const{nodeName:g}=p,y=m._htmlConversions.get(g.toLowerCase());let b=null;if(y!==void 0)for(const x of y){const w=x(p);w!==null&&(b===null||(b.priority||0)<=(w.priority||0))&&(b=w)}return b!==null?b.conversion:null}(n,e),l=a?a(n):null;let f=null;if(l!==null){f=l.after;const p=l.node;if(o=Array.isArray(p)?p[p.length-1]:p,o!==null){for(const[,m]of u)if(o=m(o,i),!o)break;o&&s.push(...Array.isArray(p)?p:[o])}l.forChild!=null&&u.set(n.nodeName,l.forChild)}const h=n.childNodes;let c=[];const d=(o==null||!ut(o))&&(o!=null&&xi(o)||r);for(let p=0;p<h.length;p++)c.push(...ql(h[p],e,t,d,new Map(u),o));return f!=null&&(c=f(c)),Xr(n)&&(c=Kf(n,c,d?()=>{const p=new _s;return t.push(p),p}:Ee)),o==null?c.length>0?s=s.concat(c):Xr(n)&&function(p){return p.nextSibling==null||p.previousSibling==null?!1:oi(p.nextSibling)&&oi(p.previousSibling)}(n)&&(s=s.concat(Rt())):E(o)&&o.append(...c),s}function Kf(n,e,t){const r=n.style.textAlign,u=[];let i=[];for(let s=0;s<e.length;s++){const o=e[s];if(xi(o))r&&!o.getFormat()&&o.setFormat(r),u.push(o);else if(i.push(o),s===e.length-1||s<e.length-1&&xi(e[s+1])){const a=t();a.setFormat(r),a.append(...i),u.push(a),i=[]}}return u}const Jf=new Set(["http:","https:","mailto:","sms:","tel:"]);let sr=class Ul extends $t{static getType(){return"link"}static clone(e){return new Ul(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e,t={},r){super(r);const{target:u=null,rel:i=null,title:s=null}=t;this.__url=e,this.__target=u,this.__rel=i,this.__title=s}createDOM(e){const t=document.createElement("a");return t.href=this.sanitizeUrl(this.__url),this.__target!==null&&(t.target=this.__target),this.__rel!==null&&(t.rel=this.__rel),this.__title!==null&&(t.title=this.__title),xs(t,e.theme.link),t}updateDOM(e,t,r){if(t instanceof HTMLAnchorElement){const u=this.__url,i=this.__target,s=this.__rel,o=this.__title;u!==e.__url&&(t.href=u),i!==e.__target&&(i?t.target=i:t.removeAttribute("target")),s!==e.__rel&&(s?t.rel=s:t.removeAttribute("rel")),o!==e.__title&&(o?t.title=o:t.removeAttribute("title"))}return!1}static importDOM(){return{a:e=>({conversion:Xf,priority:1})}}static importJSON(e){const t=ru(e.url,{rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}sanitizeUrl(e){try{const t=new URL(e);if(!Jf.has(t.protocol))return"about:blank"}catch{return e}return e}exportJSON(){return{...super.exportJSON(),rel:this.getRel(),target:this.getTarget(),title:this.getTitle(),type:"link",url:this.getURL(),version:1}}getURL(){return this.getLatest().__url}setURL(e){this.getWritable().__url=e}getTarget(){return this.getLatest().__target}setTarget(e){this.getWritable().__target=e}getRel(){return this.getLatest().__rel}setRel(e){this.getWritable().__rel=e}getTitle(){return this.getLatest().__title}setTitle(e){this.getWritable().__title=e}insertNewAfter(e,t=!0){const r=ru(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(r,t),r}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,r){if(!L(t))return!1;const u=t.anchor.getNode(),i=t.focus.getNode();return this.isParentOf(u)&&this.isParentOf(i)&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}};function Xf(n){let e=null;if(ff(n)){const t=n.textContent;(t!==null&&t!==""||n.children.length>0)&&(e=ru(n.getAttribute("href")||"",{rel:n.getAttribute("rel"),target:n.getAttribute("target"),title:n.getAttribute("title")}))}return{node:e}}function ru(n,e){return St(new sr(n,e))}function Re(n){return n instanceof sr}let Ou=class zl extends sr{constructor(e,t={},r){super(e,t,r),this.__isUnlinked=t.isUnlinked!==void 0&&t.isUnlinked!==null&&t.isUnlinked}static getType(){return"autolink"}static clone(e){return new zl(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){const t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?document.createElement("span"):super.createDOM(e)}updateDOM(e,t,r){return super.updateDOM(e,t,r)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){const t=vi(e.url,{isUnlinked:e.isUnlinked,rel:e.rel,target:e.target,title:e.title});return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}static importDOM(){return null}exportJSON(){return{...super.exportJSON(),isUnlinked:this.__isUnlinked,type:"autolink",version:1}}insertNewAfter(e,t=!0){const r=this.getParentOrThrow().insertNewAfter(e,t);if(E(r)){const u=vi(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return r.append(u),u}return null}};function vi(n,e){return St(new Ou(n,e))}function Xt(n){return n instanceof Ou}const rn=dn();function Xu(n,e={}){const{target:t,title:r}=e,u=e.rel===void 0?"noreferrer":e.rel,i=j();if(!L(i))return;const s=i.extract();if(n===null)s.forEach(o=>{const a=Au(o,l=>!Xt(l)&&Re(l));if(a){const l=a.getChildren();for(let f=0;f<l.length;f++)a.insertBefore(l[f]);a.remove()}});else{if(s.length===1){const l=function(f,h){let c=f;for(;c!==null&&c.getParent()!==null&&!h(c);)c=c.getParentOrThrow();return h(c)?c:null}(s[0],Re);if(l!==null)return l.setURL(n),t!==void 0&&l.setTarget(t),u!==null&&l.setRel(u),void(r!==void 0&&l.setTitle(r))}let o=null,a=null;s.forEach(l=>{const f=l.getParent();if(f!==a&&f!==null&&(!E(l)||l.isInline())){if(Re(f))return a=f,f.setURL(n),t!==void 0&&f.setTarget(t),u!==null&&a.setRel(u),void(r!==void 0&&a.setTitle(r));if(f.is(o)||(o=f,a=ru(n,{rel:u,target:t,title:r}),Re(f)?l.getPreviousSibling()===null?f.insertBefore(a):f.insertAfter(a):l.insertBefore(a)),Re(l)){if(l.is(a))return;if(a!==null){const h=l.getChildren();for(let c=0;c<h.length;c++)a.append(h[c])}l.remove()}else a!==null&&a.append(l)}})}}function Zf(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var He=Zf(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Qf(n){let e=1,t=n.getParent();for(;t!=null;){if(ie(t)){const r=t.getParent();if(X(r)){e++,t=r.getParent();continue}He(40)}return e}return e}function wi(n){let e=n.getParent();X(e)||He(40);let t=e;for(;t!==null;)t=t.getParent(),X(t)&&(e=t);return e}function $l(n){let e=[];const t=n.getChildren().filter(ie);for(let r=0;r<t.length;r++){const u=t[r],i=u.getFirstChild();X(i)?e=e.concat($l(i)):e.push(u)}return e}function Ve(n){return ie(n)&&X(n.getFirstChild())}function Io(n){return ke().append(n)}function Wl(n,e){return ie(n)&&(e.length===0||e.length===1&&n.is(e[0])&&n.getChildrenSize()===0)}function Po(n,e){n.update(()=>{const t=j();if(t!==null){const r=t.getNodes();if(L(t)){const i=t.getStartEndPoints();i===null&&He(143);const[s]=i,o=s.getNode(),a=o.getParent();if(Wl(o,r)){const l=Se(e);if(ut(a)){o.replace(l);const f=ke();E(o)&&(f.setFormat(o.getFormatType()),f.setIndent(o.getIndent())),l.append(f)}else if(ie(o)){const f=o.getParentOrThrow();Ft(l,f.getChildren()),f.replace(l)}return}}const u=new Set;for(let i=0;i<r.length;i++){const s=r[i];if(!E(s)||!s.isEmpty()||ie(s)||u.has(s.getKey())){if(Xa(s)){let o=s.getParent();for(;o!=null;){const a=o.getKey();if(X(o)){if(!u.has(a)){const l=Se(e);Ft(l,o.getChildren()),o.replace(l),u.add(a)}break}{const l=o.getParent();if(ut(l)&&!u.has(a)){u.add(a),Lo(o,e);break}o=l}}}}else Lo(s,e)}}})}function Ft(n,e){n.splice(n.getChildrenSize(),0,e)}function Lo(n,e){if(X(n))return n;const t=n.getPreviousSibling(),r=n.getNextSibling(),u=ke();let i;if(Ft(u,n.getChildren()),X(t)&&e===t.getListType())t.append(u),X(r)&&e===r.getListType()&&(Ft(t,r.getChildren()),r.remove()),i=t;else if(X(r)&&e===r.getListType())r.getFirstChildOrThrow().insertBefore(u),i=r;else{const s=Se(e);s.append(u),n.replace(s),i=s}return u.setFormat(n.getFormatType()),u.setIndent(n.getIndent()),n.remove(),i}function vs(n,e){const t=n.getLastChild(),r=e.getFirstChild();t&&r&&Ve(t)&&Ve(r)&&(vs(t.getFirstChild(),r.getFirstChild()),r.remove());const u=e.getChildren();u.length>0&&n.append(...u),e.remove()}function Yf(n){n.update(()=>{const e=j();if(L(e)){const t=new Set,r=e.getNodes(),u=e.anchor.getNode();if(Wl(u,r))t.add(wi(u));else for(let i=0;i<r.length;i++){const s=r[i];if(Xa(s)){const o=Vf(s,or);o!=null&&t.add(wi(o))}}for(const i of t){let s=i;const o=$l(i);for(const a of o){const l=Ee();Ft(l,a.getChildren()),s.insertAfter(l),s=l,a.__key===e.anchor.key&&e.anchor.set(l.getKey(),0,"element"),a.__key===e.focus.key&&e.focus.set(l.getKey(),0,"element"),a.remove()}i.remove()}}})}function ed(n){const e=new Set;if(Ve(n)||e.has(n.getKey()))return;const t=n.getParent(),r=n.getNextSibling(),u=n.getPreviousSibling();if(Ve(r)&&Ve(u)){const i=u.getFirstChild();if(X(i)){i.append(n);const s=r.getFirstChild();X(s)&&(Ft(i,s.getChildren()),r.remove(),e.add(r.getKey()))}}else if(Ve(r)){const i=r.getFirstChild();if(X(i)){const s=i.getFirstChild();s!==null&&s.insertBefore(n)}}else if(Ve(u)){const i=u.getFirstChild();X(i)&&i.append(n)}else if(X(t)){const i=ke(),s=Se(t.getListType());i.append(s),s.append(n),u?u.insertAfter(i):r?r.insertBefore(i):t.append(i)}}function td(n){if(Ve(n))return;const e=n.getParent(),t=e?e.getParent():void 0;if(X(t?t.getParent():void 0)&&ie(t)&&X(e)){const r=e?e.getFirstChild():void 0,u=e?e.getLastChild():void 0;if(n.is(r))t.insertBefore(n),e.isEmpty()&&t.remove();else if(n.is(u))t.insertAfter(n),e.isEmpty()&&t.remove();else{const i=e.getListType(),s=ke(),o=Se(i);s.append(o),n.getPreviousSiblings().forEach(f=>o.append(f));const a=ke(),l=Se(i);a.append(l),Ft(l,n.getNextSiblings()),t.insertBefore(s),t.insertAfter(a),t.replace(n)}}}function nd(){const n=j();if(!L(n)||!n.isCollapsed())return!1;const e=n.anchor.getNode();if(!ie(e)||e.getChildrenSize()!==0)return!1;const t=wi(e),r=e.getParent();X(r)||He(40);const u=r.getParent();let i;if(ut(u))i=Ee(),t.insertAfter(i);else{if(!ie(u))return!1;i=ke(),u.insertAfter(i)}i.select();const s=e.getNextSiblings();if(s.length>0){const o=Se(r.getListType());if(Bt(i))i.insertAfter(o);else{const a=ke();a.append(o),i.insertAfter(a)}s.forEach(a=>{a.remove(),o.append(a)})}return function(o){let a=o;for(;a.getNextSibling()==null&&a.getPreviousSibling()==null;){const l=a.getParent();if(l==null||!ie(a)&&!X(a))break;a=l}a.remove()}(e),!0}function uu(...n){const e=[];for(const t of n)if(t&&typeof t=="string")for(const[r]of t.matchAll(/\S+/g))e.push(r);return e}let or=class Hl extends $t{static getType(){return"listitem"}static clone(e){return new Hl(e.__value,e.__checked,e.__key)}constructor(e,t,r){super(r),this.__value=e===void 0?1:e,this.__checked=t}createDOM(e){const t=document.createElement("li"),r=this.getParent();return X(r)&&r.getListType()==="check"&&Mo(t,this,null),t.value=this.__value,Do(t,e.theme,this),t}updateDOM(e,t,r){const u=this.getParent();return X(u)&&u.getListType()==="check"&&Mo(t,this,e),t.value=this.__value,Do(t,r.theme,this),!1}static transform(){return e=>{if(ie(e)||He(144),e.__checked==null)return;const t=e.getParent();X(t)&&t.getListType()!=="check"&&e.getChecked()!=null&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:rd,priority:0})}}static importJSON(e){const t=ke();return t.setChecked(e.checked),t.setValue(e.value),t.setFormat(e.format),t.setDirection(e.direction),t}exportDOM(e){const t=this.createDOM(e._config);return t.style.textAlign=this.getFormatType(),{element:t}}exportJSON(){return{...super.exportJSON(),checked:this.getChecked(),type:"listitem",value:this.getValue(),version:1}}append(...e){for(let t=0;t<e.length;t++){const r=e[t];if(E(r)&&this.canMergeWith(r)){const u=r.getChildren();this.append(...u),r.remove()}else super.append(r)}return this}replace(e,t){if(ie(e))return super.replace(e);this.setIndent(0);const r=this.getParentOrThrow();if(!X(r))return e;if(r.__first===this.getKey())r.insertBefore(e);else if(r.__last===this.getKey())r.insertAfter(e);else{const u=Se(r.getListType());let i=this.getNextSibling();for(;i;){const s=i;i=i.getNextSibling(),u.append(s)}r.insertAfter(e),e.insertAfter(u)}return t&&(E(e)||He(139),this.getChildren().forEach(u=>{e.append(u)})),this.remove(),r.getChildrenSize()===0&&r.remove(),e}insertAfter(e,t=!0){const r=this.getParentOrThrow();if(X(r)||He(39),ie(e))return super.insertAfter(e,t);const u=this.getNextSiblings();if(r.insertAfter(e,t),u.length!==0){const i=Se(r.getListType());u.forEach(s=>i.append(s)),e.insertAfter(i,t)}return e}remove(e){const t=this.getPreviousSibling(),r=this.getNextSibling();super.remove(e),t&&r&&Ve(t)&&Ve(r)&&(vs(t.getFirstChild(),r.getFirstChild()),r.remove())}insertNewAfter(e,t=!0){const r=ke(this.__checked==null&&void 0);return this.insertAfter(r,t),r}collapseAtStart(e){const t=Ee();this.getChildren().forEach(s=>t.append(s));const r=this.getParentOrThrow(),u=r.getParentOrThrow(),i=ie(u);if(r.getChildrenSize()===1)if(i)r.remove(),u.select();else{r.insertBefore(t),r.remove();const s=e.anchor,o=e.focus,a=t.getKey();s.type==="element"&&s.getNode().is(this)&&s.set(a,s.offset,"element"),o.type==="element"&&o.getNode().is(this)&&o.set(a,o.offset,"element")}else r.insertBefore(t),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){this.getWritable().__value=e}getChecked(){const e=this.getLatest();let t;const r=this.getParent();return X(r)&&(t=r.getListType()),t==="check"?!!e.__checked:void 0}setChecked(e){this.getWritable().__checked=e}toggleChecked(){this.setChecked(!this.__checked)}getIndent(){const e=this.getParent();if(e===null)return this.getLatest().__indent;let t=e.getParentOrThrow(),r=0;for(;ie(t);)t=t.getParentOrThrow().getParentOrThrow(),r++;return r}setIndent(e){typeof e!="number"&&He(117),(e=Math.floor(e))>=0||He(199);let t=this.getIndent();for(;t!==e;)t<e?(ed(this),t++):(td(this),t--);return this}canInsertAfter(e){return ie(e)}canReplaceWith(e){return ie(e)}canMergeWith(e){return Bt(e)||ie(e)}extractWithChild(e,t){if(!L(t))return!1;const r=t.anchor.getNode(),u=t.focus.getNode();return this.isParentOf(r)&&this.isParentOf(u)&&this.getTextContent().length===t.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return Se("bullet")}canMergeWhenEmpty(){return!0}};function Do(n,e,t){const r=[],u=[],i=e.list,s=i?i.listitem:void 0;let o;if(i&&i.nested&&(o=i.nested.listitem),s!==void 0&&r.push(...uu(s)),i){const a=t.getParent(),l=X(a)&&a.getListType()==="check",f=t.getChecked();l&&!f||u.push(i.listitemUnchecked),l&&f||u.push(i.listitemChecked),l&&r.push(f?i.listitemChecked:i.listitemUnchecked)}if(o!==void 0){const a=uu(o);t.getChildren().some(l=>X(l))?r.push(...a):u.push(...a)}u.length>0&&Ml(n,...u),r.length>0&&xs(n,...r)}function Mo(n,e,t,r){X(e.getFirstChild())?(n.removeAttribute("role"),n.removeAttribute("tabIndex"),n.removeAttribute("aria-checked")):(n.setAttribute("role","checkbox"),n.setAttribute("tabIndex","-1"),t&&e.__checked===t.__checked||n.setAttribute("aria-checked",e.getChecked()?"true":"false"))}function rd(n){if(n.classList.contains("task-list-item")){for(const t of n.children)if(t.tagName==="INPUT")return ud(t)}const e=n.getAttribute("aria-checked");return{node:ke(e==="true"||e!=="false"&&void 0)}}function ud(n){return n.getAttribute("type")!=="checkbox"?{node:null}:{node:ke(n.hasAttribute("checked"))}}function ke(n){return St(new or(void 0,n))}function ie(n){return n instanceof or}class pn extends $t{static getType(){return"list"}static clone(e){const t=e.__listType||Fo[e.__tag];return new pn(t,e.__start,e.__key)}constructor(e,t,r){super(r);const u=Fo[e]||e;this.__listType=u,this.__tag=u==="number"?"ol":"ul",this.__start=t}getTag(){return this.__tag}setListType(e){const t=this.getWritable();t.__listType=e,t.__tag=e==="number"?"ol":"ul"}getListType(){return this.__listType}getStart(){return this.__start}createDOM(e,t){const r=this.__tag,u=document.createElement(r);return this.__start!==1&&u.setAttribute("start",String(this.__start)),u.__lexicalListType=this.__listType,Ro(u,e.theme,this),u}updateDOM(e,t,r){return e.__tag!==this.__tag||(Ro(t,r.theme,this),!1)}static transform(){return e=>{X(e)||He(163),function(t){const r=t.getNextSibling();X(r)&&t.getListType()===r.getListType()&&vs(t,r)}(e),function(t){const r=t.getListType()!=="check";let u=t.getStart();for(const i of t.getChildren())ie(i)&&(i.getValue()!==u&&i.setValue(u),r&&i.getLatest().__checked!=null&&i.setChecked(void 0),X(i.getFirstChild())||u++)}(e)}}static importDOM(){return{ol:()=>({conversion:Bo,priority:0}),ul:()=>({conversion:Bo,priority:0})}}static importJSON(e){const t=Se(e.listType,e.start);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportDOM(e){const t=this.createDOM(e._config,e);return t&&Ut(t)&&(this.__start!==1&&t.setAttribute("start",String(this.__start)),this.__listType==="check"&&t.setAttribute("__lexicalListType","check")),{element:t}}exportJSON(){return{...super.exportJSON(),listType:this.getListType(),start:this.getStart(),tag:this.getTag(),type:"list",version:1}}canBeEmpty(){return!1}canIndent(){return!1}append(...e){for(let t=0;t<e.length;t++){const r=e[t];if(ie(r))super.append(r);else{const u=ke();if(X(r))u.append(r);else if(E(r))if(r.isInline())u.append(r);else{const i=le(r.getTextContent());u.append(i)}else u.append(r);super.append(u)}}return this}extractWithChild(e){return ie(e)}}function Ro(n,e,t){const r=[],u=[],i=e.list;if(i!==void 0){const s=i[`${t.__tag}Depth`]||[],o=Qf(t)-1,a=o%s.length,l=s[a],f=i[t.__tag];let h;const c=i.nested,d=i.checklist;if(c!==void 0&&c.list&&(h=c.list),f!==void 0&&r.push(f),d!==void 0&&t.__listType==="check"&&r.push(d),l!==void 0){r.push(...uu(l));for(let p=0;p<s.length;p++)p!==a&&u.push(t.__tag+p)}if(h!==void 0){const p=uu(h);o>1?r.push(...p):u.push(...p)}}u.length>0&&Ml(n,...u),r.length>0&&xs(n,...r)}function id(n){const e=[];for(let t=0;t<n.length;t++){const r=n[t];if(ie(r)){e.push(r);const u=r.getChildren();u.length>1&&u.forEach(i=>{X(i)&&e.push(Io(i))})}else e.push(Io(r))}return e}function Bo(n){const e=n.nodeName.toLowerCase();let t=null;return e==="ol"?t=Se("number",n.start):e==="ul"&&(t=function(r){if(r.getAttribute("__lexicallisttype")==="check"||r.classList.contains("contains-task-list"))return!0;for(const u of r.childNodes)if(Ut(u)&&u.hasAttribute("aria-checked"))return!0;return!1}(n)?Se("check"):Se("bullet")),{after:id,node:t}}const Fo={ol:"number",ul:"bullet"};function Se(n,e=1){return St(new pn(n,e))}function X(n){return n instanceof pn}const Vl=dn(),sd=dn(),Gl=dn();function od(n){return at(n.registerCommand(sd,()=>(Po(n,"number"),!0),nt),n.registerCommand(Vl,()=>(Po(n,"bullet"),!0),nt),n.registerCommand(Gl,()=>(Yf(n),!0),nt),n.registerCommand(Mn,()=>!!nd(),nt))}function ad(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var ld=ad(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const Kl=q.createContext(null);function cd(n,e){return{getTheme:function(){return e??null}}}function Ie(){const n=q.useContext(Kl);return n==null&&ld(8),n}function fd({defaultSelection:n}){const[e]=Ie();return q.useEffect(()=>{e.focus(()=>{const t=document.activeElement,r=e.getRootElement();r===null||t!==null&&r.contains(t)||r.focus({preventScroll:!0})},{defaultSelection:n})},[n,e]),null}function dd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var hd=dd(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Jl(n,e){for(let t=0;t<e.length;t++){const r=e[t](n);if(r)return r}return null}const pd=/[.,;\s]/;function iu(n){return pd.test(n)}function Xl(n){return iu(n[n.length-1])}function Si(n){return iu(n[0])}function Zl(n){let e=n.getPreviousSibling();return E(e)&&(e=e.getLastDescendant()),e===null||xt(e)||M(e)&&Xl(e.getTextContent())}function Ql(n){let e=n.getNextSibling();return E(e)&&(e=e.getFirstDescendant()),e===null||xt(e)||M(e)&&Si(e.getTextContent())}function gd(n,e,t,r){return(n>0?iu(t[n-1]):Zl(r[0]))?e<t.length?iu(t[e]):Ql(r[r.length-1]):!1}function md(n,e,t){const r=[],u=[],i=[];let s=0,o=0;const a=[...n];for(;a.length>0;){const l=a[0],f=l.getTextContent().length,h=o;o+f<=e?(r.push(l),s+=f):h>=t?i.push(l):u.push(l),o+=f,a.shift()}return[s,r,u,i]}function bd(n,e,t,r){const u=vi(r.url,r.attributes);if(n.length===1){let i,s=n[0];e===0?[i,s]=s.splitText(t):[,i,s]=s.splitText(e,t);const o=le(r.text);return o.setFormat(i.getFormat()),o.setDetail(i.getDetail()),o.setStyle(i.getStyle()),u.append(o),i.replace(u),s}if(n.length>1){const i=n[0];let s,o=i.getTextContent().length;e===0?s=i:[,s]=i.splitText(e);const a=[];let l;for(let d=1;d<n.length;d++){const p=n[d],m=p.getTextContent().length,g=o;if(g<t)if(o+m<=t)a.push(p);else{const[y,b]=p.splitText(t-g);a.push(y),l=b}o+=m}const f=j(),h=f?f.getNodes().find(M):void 0,c=le(s.getTextContent());return c.setFormat(s.getFormat()),c.setDetail(s.getDetail()),c.setStyle(s.getStyle()),u.append(c,...a),h&&h===s&&(L(f)?c.select(f.anchor.offset,f.focus.offset):Ne(f)&&c.select(0,c.getTextContent().length)),s.replace(u),l}}function Zu(n,e,t){const r=n.getChildren(),u=r.length;for(let a=0;a<u;a++){const l=r[a];if(!M(l)||!l.isSimpleText())return Rr(n),void t(null,n.getURL())}const i=n.getTextContent(),s=Jl(i,e);if(s===null||s.text!==i||!Zl(n)||!Ql(n))return Rr(n),void t(null,n.getURL());const o=n.getURL();if(o!==s.url&&(n.setURL(s.url),t(s.url,o)),s.attributes){const a=n.getRel();a!==s.attributes.rel&&(n.setRel(s.attributes.rel||null),t(s.attributes.rel||null,a));const l=n.getTarget();l!==s.attributes.target&&(n.setTarget(s.attributes.target||null),t(s.attributes.target||null,l))}}function Rr(n){const e=n.getChildren();for(let t=e.length-1;t>=0;t--)n.insertAfter(e[t]);return n.remove(),e.map(t=>t.getLatest())}function yd(n,e,t){q.useEffect(()=>{n.hasNodes([Ou])||hd(77);const r=(u,i)=>{t&&t(u,i)};return at(n.registerNodeTransform(zt,u=>{const i=u.getParentOrThrow(),s=u.getPreviousSibling();if(Xt(i)&&!i.getIsUnlinked())Zu(i,e,r);else if(!Re(i)){if(u.isSimpleText()&&(Si(u.getTextContent())||!Xt(s))){const o=function(a){const l=[a];let f=a.getNextSibling();for(;f!==null&&M(f)&&f.isSimpleText()&&(l.push(f),!/[\s]/.test(f.getTextContent()));)f=f.getNextSibling();return l}(u);(function(a,l,f){let h=[...a];const c=h.map(g=>g.getTextContent()).join("");let d,p=c,m=0;for(;(d=Jl(p,l))&&d!==null;){const g=d.index,y=g+d.length;if(gd(m+g,m+y,c,h)){const[b,,x,w]=md(h,m+g,m+y),C=bd(x,m+g-b,m+y-b,d);h=C?[C,...w]:w,f(d.url,null),m=0}else m+=y;p=p.substring(y)}})(o,e,r)}(function(o,a,l){const f=o.getPreviousSibling(),h=o.getNextSibling(),c=o.getTextContent();var d;!Xt(f)||f.getIsUnlinked()||Si(c)&&(d=c,!(f.isEmailURI()?/^\.[a-zA-Z]{2,}/.test(d):/^\.[a-zA-Z0-9]{1,}/.test(d)))||(f.append(o),Zu(f,a,l),l(null,f.getURL())),!Xt(h)||h.getIsUnlinked()||Xl(c)||(Rr(h),Zu(h,a,l),l(null,h.getURL()))})(u,e,r)}}),n.registerCommand(rn,u=>{const i=j();return u!==null||!L(i)||i.extract().forEach(s=>{const o=s.getParent();if(Xt(o))return o.setIsUnlinked(!o.getIsUnlinked()),o.markDirty(),!0}),!1},nt))},[n,e,t])}function _d({matchers:n,onChange:e}){const[t]=Ie();return yd(t,n,e),null}const Yl=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,xd=Yl?q.useLayoutEffect:q.useEffect,xr={tag:"history-merge"};function vd({initialConfig:n,children:e}){const t=q.useMemo(()=>{const{theme:r,namespace:u,nodes:i,onError:s,editorState:o,html:a}=n,l=cd(null,r),f=Rf({editable:n.editable,html:a,namespace:u,nodes:i,onError:h=>s(h,f),theme:r});return function(h,c){if(c!==null){if(c===void 0)h.update(()=>{const d=ce();if(d.isEmpty()){const p=Ee();d.append(p);const m=Yl?document.activeElement:null;(j()!==null||m!==null&&m===h.getRootElement())&&p.select()}},xr);else if(c!==null)switch(typeof c){case"string":{const d=h.parseEditorState(c);h.setEditorState(d,xr);break}case"object":h.setEditorState(c,xr);break;case"function":h.update(()=>{ce().isEmpty()&&c(h)},xr)}}}(f,o),[f,l]},[]);return xd(()=>{const r=n.editable,[u]=t;u.setEditable(r===void 0||r)},[]),$.jsx(Kl.Provider,{value:t,children:e})}function wd(){return ce().getTextContent()}function Sd(n,e=!0){if(n)return!1;let t=wd();return e&&(t=t.trim()),t===""}function Td(n){if(!Sd(n,!1))return!1;const e=ce().getChildren(),t=e.length;if(t>1)return!1;for(let r=0;r<t;r++){const u=e[r];if(re(u))return!1;if(E(u)){if(!Bt(u)||u.__indent!==0)return!1;const i=u.getChildren(),s=i.length;for(let o=0;o<s;o++){const a=i[r];if(!M(a))return!1}}}return!0}function ec(n){return()=>Td(n)}function Cd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}Cd(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});const tc=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?q.useLayoutEffect:q.useEffect;function Ed({editor:n,ariaActiveDescendant:e,ariaAutoComplete:t,ariaControls:r,ariaDescribedBy:u,ariaErrorMessage:i,ariaExpanded:s,ariaInvalid:o,ariaLabel:a,ariaLabelledBy:l,ariaMultiline:f,ariaOwns:h,ariaRequired:c,autoCapitalize:d,className:p,id:m,role:g="textbox",spellCheck:y=!0,style:b,tabIndex:x,"data-testid":w,...C},T){const[k,S]=q.useState(n.isEditable()),P=q.useCallback(v=>{v&&v.ownerDocument&&v.ownerDocument.defaultView?n.setRootElement(v):n.setRootElement(null)},[n]),z=q.useMemo(()=>function(...v){return N=>{v.forEach(O=>{typeof O=="function"?O(N):O!=null&&(O.current=N)})}}(T,P),[P,T]);return tc(()=>(S(n.isEditable()),n.registerEditableListener(v=>{S(v)})),[n]),$.jsx("div",{"aria-activedescendant":k?e:void 0,"aria-autocomplete":k?t:"none","aria-controls":k?r:void 0,"aria-describedby":u,...i!=null?{"aria-errormessage":i}:{},"aria-expanded":k&&g==="combobox"?!!s:void 0,...o!=null?{"aria-invalid":o}:{},"aria-label":a,"aria-labelledby":l,"aria-multiline":f,"aria-owns":k?h:void 0,"aria-readonly":!k||void 0,"aria-required":c,autoCapitalize:d,className:p,contentEditable:k,"data-testid":w,id:m,ref:z,role:k?g:void 0,spellCheck:y,style:b,tabIndex:x,...C})}const kd=q.forwardRef(Ed);function jo(n){return n.getEditorState().read(ec(n.isComposing()))}const Nd=q.forwardRef(Ad);function Ad(n,e){const{placeholder:t,...r}=n,[u]=Ie();return $.jsxs($.Fragment,{children:[$.jsx(kd,{editor:u,...r,ref:e}),t!=null&&$.jsx(Od,{editor:u,content:t})]})}function Od({content:n,editor:e}){const t=function(s){const[o,a]=q.useState(()=>jo(s));return tc(()=>{function l(){const f=jo(s);a(f)}return l(),at(s.registerUpdateListener(()=>{l()}),s.registerEditableListener(()=>{l()}))},[s]),o}(e),[r,u]=q.useState(e.isEditable());if(q.useLayoutEffect(()=>(u(e.isEditable()),e.registerEditableListener(s=>{u(s)})),[e]),!t)return null;let i=null;return typeof n=="function"?i=n(r):n!==null&&(i=n),i===null?null:$.jsx("div",{"aria-hidden":!0,children:i})}function Ti(n,e){return Ti=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},Ti(n,e)}var qo={error:null},Id=function(n){var e,t;function r(){for(var i,s=arguments.length,o=new Array(s),a=0;a<s;a++)o[a]=arguments[a];return(i=n.call.apply(n,[this].concat(o))||this).state=qo,i.resetErrorBoundary=function(){for(var l,f=arguments.length,h=new Array(f),c=0;c<f;c++)h[c]=arguments[c];i.props.onReset==null||(l=i.props).onReset.apply(l,h),i.reset()},i}t=n,(e=r).prototype=Object.create(t.prototype),e.prototype.constructor=e,Ti(e,t),r.getDerivedStateFromError=function(i){return{error:i}};var u=r.prototype;return u.reset=function(){this.setState(qo)},u.componentDidCatch=function(i,s){var o,a;(o=(a=this.props).onError)==null||o.call(a,i,s)},u.componentDidUpdate=function(i,s){var o,a,l,f,h=this.state.error,c=this.props.resetKeys;h!==null&&s.error!==null&&((l=i.resetKeys)===void 0&&(l=[]),(f=c)===void 0&&(f=[]),l.length!==f.length||l.some(function(d,p){return!Object.is(d,f[p])}))&&((o=(a=this.props).onResetKeysChange)==null||o.call(a,i.resetKeys,c),this.reset())},u.render=function(){var i=this.state.error,s=this.props,o=s.fallbackRender,a=s.FallbackComponent,l=s.fallback;if(i!==null){var f={error:i,resetErrorBoundary:this.resetErrorBoundary};if(ju.isValidElement(l))return l;if(typeof o=="function")return o(f);if(a)return ju.createElement(a,f);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},r}(ju.Component);function Pd({children:n,onError:e}){return $.jsx(Id,{fallback:$.jsx("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:e,children:n})}const vr=0,Ci=1,Ei=2,De=0,Ld=1,Uo=2,Dd=3,Md=4;function Rd(n,e,t,r,u){if(n===null||t.size===0&&r.size===0&&!u)return De;const i=e._selection,s=n._selection;if(u)return Ld;if(!(L(i)&&L(s)&&s.isCollapsed()&&i.isCollapsed()))return De;const o=function(y,b,x){const w=y._nodeMap,C=[];for(const T of b){const k=w.get(T);k!==void 0&&C.push(k)}for(const[T,k]of x){if(!k)continue;const S=w.get(T);S===void 0||ye(S)||C.push(S)}return C}(e,t,r);if(o.length===0)return De;if(o.length>1){const y=e._nodeMap,b=y.get(i.anchor.key),x=y.get(s.anchor.key);return b&&x&&!n._nodeMap.has(b.__key)&&M(b)&&b.__text.length===1&&i.anchor.offset===1?Uo:De}const a=o[0],l=n._nodeMap.get(a.__key);if(!M(l)||!M(a)||l.__mode!==a.__mode)return De;const f=l.__text,h=a.__text;if(f===h)return De;const c=i.anchor,d=s.anchor;if(c.key!==d.key||c.type!=="text")return De;const p=c.offset,m=d.offset,g=h.length-f.length;return g===1&&m===p-1?Uo:g===-1&&m===p+1?Dd:g===-1&&m===p?Md:De}function Bd(n,e){let t=Date.now(),r=De;return(u,i,s,o,a,l)=>{const f=Date.now();if(l.has("historic"))return r=De,t=f,Ei;const h=Rd(u,i,o,a,n.isComposing()),c=(()=>{const d=s===null||s.editor===n,p=l.has("history-push");if(!p&&d&&l.has("history-merge"))return vr;if(u===null)return Ci;const m=i._selection;return o.size>0||a.size>0?p===!1&&h!==De&&h===r&&f<t+e&&d||o.size===1&&function(g,y,b){const x=y._nodeMap.get(g),w=b._nodeMap.get(g),C=y._selection,T=b._selection;return!(L(C)&&L(T)&&C.anchor.type==="element"&&C.focus.type==="element"&&T.anchor.type==="text"&&T.focus.type==="text"||!M(x)||!M(w)||x.__parent!==w.__parent)&&JSON.stringify(y.read(()=>x.exportJSON()))===JSON.stringify(b.read(()=>w.exportJSON()))}(Array.from(o)[0],u,i)?vr:Ci:m!==null?vr:Ei})();return t=f,r=h,c}}function zo(n){n.undoStack=[],n.redoStack=[],n.current=null}function Fd(n,e,t){const r=Bd(n,t);return at(n.registerCommand(Ki,()=>(function(i,s){const o=s.redoStack,a=s.undoStack;if(a.length!==0){const l=s.current,f=a.pop();l!==null&&(o.push(l),i.dispatchCommand(mr,!0)),a.length===0&&i.dispatchCommand(br,!1),s.current=f||null,f&&f.editor.setEditorState(f.editorState,{tag:"historic"})}}(n,e),!0),Q),n.registerCommand(Ji,()=>(function(i,s){const o=s.redoStack,a=s.undoStack;if(o.length!==0){const l=s.current;l!==null&&(a.push(l),i.dispatchCommand(br,!0));const f=o.pop();o.length===0&&i.dispatchCommand(mr,!1),s.current=f||null,f&&f.editor.setEditorState(f.editorState,{tag:"historic"})}}(n,e),!0),Q),n.registerCommand(I0,()=>(zo(e),!1),Q),n.registerCommand(P0,()=>(zo(e),n.dispatchCommand(mr,!1),n.dispatchCommand(br,!1),!0),Q),n.registerUpdateListener(({editorState:i,prevEditorState:s,dirtyLeaves:o,dirtyElements:a,tags:l})=>{const f=e.current,h=e.redoStack,c=e.undoStack,d=f===null?null:f.editorState;if(f!==null&&i===d)return;const p=r(s,i,f,o,a,l);if(p===Ci)h.length!==0&&(e.redoStack=[],n.dispatchCommand(mr,!1)),f!==null&&(c.push({...f}),n.dispatchCommand(br,!0));else if(p===Ei)return;e.current={editor:n,editorState:i}}))}function jd(){return{current:null,redoStack:[],undoStack:[]}}function qd({delay:n,externalHistoryState:e}){const[t]=Ie();return function(r,u,i=1e3){const s=q.useMemo(()=>u||jd(),[u]);q.useEffect(()=>Fd(r,s,i),[i,r,s])}(t,e,n),null}function Ud({validateUrl:n,attributes:e}){const[t]=Ie();return q.useEffect(()=>{if(!t.hasNodes([sr]))throw new Error("LinkPlugin: LinkNode not registered on editor");return at(t.registerCommand(rn,r=>{if(r===null)return Xu(r),!0;if(typeof r=="string")return!(n!==void 0&&!n(r))&&(Xu(r,e),!0);{const{url:u,target:i,rel:s,title:o}=r;return Xu(u,{...e,rel:s,target:i,title:o}),!0}},nt),n!==void 0?t.registerCommand(mu,r=>{const u=j();if(!L(u)||u.isCollapsed()||!bt(r,ClipboardEvent))return!1;const i=r;if(i.clipboardData===null)return!1;const s=i.clipboardData.getData("text");return!!n(s)&&!u.getNodes().some(o=>E(o))&&(t.dispatchCommand(rn,{...e,url:s}),r.preventDefault(),!0)},nt):()=>{})},[t,n,e]),null}function zd(){const[n]=Ie();return q.useEffect(()=>{if(!n.hasNodes([pn,or]))throw new Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[n]),function(e){q.useEffect(()=>od(e),[e])}(n),null}const $d=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?q.useLayoutEffect:q.useEffect;function Wd({ignoreHistoryMergeTagChange:n=!0,ignoreSelectionChange:e=!1,onChange:t}){const[r]=Ie();return $d(()=>{if(t)return r.registerUpdateListener(({editorState:u,dirtyElements:i,dirtyLeaves:s,prevEditorState:o,tags:a})=>{e&&i.size===0&&s.size===0||n&&a.has("history-merge")||o.isEmpty()||t(u,r,a)})},[r,n,e,t]),null}const Hd=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?q.useLayoutEffect:q.useEffect;function Vd(n){return{initialValueFn:()=>n.isEditable(),subscribe:e=>n.registerEditableListener(e)}}function Gd(){return function(n){const[e]=Ie(),t=q.useMemo(()=>n(e),[e,n]),[r,u]=q.useState(()=>t.initialValueFn()),i=q.useRef(r);return Hd(()=>{const{initialValueFn:s,subscribe:o}=t,a=s();return i.current!==a&&(i.current=a,u(a)),o(l=>{i.current=l,u(l)})},[t,n]),r}(Vd)}function Kd(n){const e=window.location.origin,t=r=>{if(r.origin!==e)return;const u=n.getRootElement();if(document.activeElement!==u)return;const i=r.data;if(typeof i=="string"){let s;try{s=JSON.parse(i)}catch{return}if(s&&s.protocol==="nuanria_messaging"&&s.type==="request"){const o=s.payload;if(o&&o.functionId==="makeChanges"){const a=o.args;if(a){const[l,f,h,c,d,p]=a;n.update(()=>{const m=j();if(L(m)){const g=m.anchor;let y=g.getNode(),b=0,x=0;if(M(y)&&l>=0&&f>=0&&(b=l,x=l+f,m.setTextNodeRange(y,b,y,x)),b===x&&h===""||(m.insertRawText(h),y=g.getNode()),M(y)){b=c,x=c+d;const w=y.getTextContentSize();b=b>w?w:b,x=x>w?w:x,m.setTextNodeRange(y,b,y,x)}r.stopImmediatePropagation()}})}}}}};return window.addEventListener("message",t,!0),()=>{window.removeEventListener("message",t,!0)}}function Jd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var su=Jd(function(n){const e=new URLSearchParams;e.append("code",n);for(let t=1;t<arguments.length;t++)e.append("v",arguments[t]);throw Error(`Minified Lexical error #${n}; visit https://lexical.dev/docs/error?${e} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)});function Xd(n,e=j()){return e==null&&su(166),L(e)&&e.isCollapsed()||e.getNodes().length===0?"":Bl(n,e)}function Zd(n,e=j()){return e==null&&su(166),L(e)&&e.isCollapsed()||e.getNodes().length===0?null:JSON.stringify(Qd(n,e))}function $o(n,e,t){const r=n.getData("application/x-lexical-editor");if(r)try{const s=JSON.parse(r);if(s.namespace===t._config.namespace&&Array.isArray(s.nodes))return Wo(t,Yd(s.nodes),e)}catch{}const u=n.getData("text/html");if(u)try{const s=new DOMParser().parseFromString(function(o){return window.trustedTypes&&window.trustedTypes.createPolicy?window.trustedTypes.createPolicy("lexical",{createHTML:a=>a}).createHTML(o):o}(u),"text/html");return Wo(t,Rl(t,s),e)}catch{}const i=n.getData("text/plain")||n.getData("text/uri-list");if(i!=null)if(L(e)){const s=i.split(/(\r?\n|\t)/);s[s.length-1]===""&&s.pop();for(let o=0;o<s.length;o++){const a=j();if(L(a)){const l=s[o];l===`
|
|
12
12
|
`||l===`\r
|
|
13
|
-
`?a.insertParagraph():l===" "?a.insertNodes([er()]):a.insertText(l)}}}else e.insertRawText(i)}function Uo(n,e,t){n.dispatchCommand(x0,{nodes:e,selection:t})||t.insertNodes(e)}function Yl(n,e,t,r=[]){let u=e===null||t.isSelected(e);const i=k(t)&&t.excludeFromCopy("html");let s=t;if(e!==null){let l=ls(t);l=D(l)&&e!==null?Al(e,l):l,s=l}const o=k(s)?s.getChildren():[],a=function(l){const f=l.exportJSON(),h=l.constructor;if(f.type!==h.getType()&&ru(58,h.name),k(l)){const c=f.children;Array.isArray(c)||ru(59,h.name)}return f}(s);if(D(s)){const l=s.__text;l.length>0?a.text=l:u=!1}for(let l=0;l<o.length;l++){const f=o[l],h=Yl(n,e,f,a.children);!u&&k(t)&&h&&t.extractWithChild(f,e,"clone")&&(u=!0)}if(u&&!i)r.push(a);else if(Array.isArray(a.children))for(let l=0;l<a.children.length;l++){const f=a.children[l];r.push(f)}return u}function Zd(n,e){const t=[],r=ie().getChildren();for(let u=0;u<r.length;u++)Yl(n,e,r[u],t);return{namespace:n._config.namespace,nodes:t}}function Qd(n){const e=[];for(let t=0;t<n.length;t++){const r=n[t],u=Pf(r);D(u)&&jf(u),e.push(u)}return e}let Vt=null;async function zo(n,e,t){if(Vt!==null)return!1;if(e!==null)return new Promise((a,l)=>{n.update(()=>{a($o(n,e,t))})});const r=n.getRootElement(),u=n._window==null?window.document:n._window.document,i=Oe(n._window);if(r===null||i===null)return!1;const s=u.createElement("span");s.style.cssText="position: fixed; top: -1000px;",s.append(u.createTextNode("#")),r.append(s);const o=new Range;return o.setStart(s,0),o.setEnd(s,1),i.removeAllRanges(),i.addRange(o),new Promise((a,l)=>{const f=n.registerCommand(pu,h=>(bt(h,ClipboardEvent)&&(f(),Vt!==null&&(window.clearTimeout(Vt),Vt=null),a($o(n,h,t))),!0),Df);Vt=window.setTimeout(()=>{f(),Vt=null,a(!1)},50),u.execCommand("copy"),s.remove()})}function $o(n,e,t){if(t===void 0){const u=Oe(n._window);if(!u)return!1;const i=u.anchorNode,s=u.focusNode;if(i!==null&&s!==null&&!Xn(n,i,s))return!1;const o=j();if(o===null)return!1;t=eh(o)}e.preventDefault();const r=e.clipboardData;return r!==null&&(th(r,t),!0)}const Yd=[["text/html",Jd],["application/x-lexical-editor",Xd]];function eh(n=j()){const e={"text/plain":n?n.getTextContent():""};if(n){const t=ff();for(const[r,u]of Yd){const i=u(t,n);i!==null&&(e[r]=i)}}return e}function th(n,e){for(const t in e){const r=e[t];r!==void 0&&n.setData(t,r)}}function Wo(n,e){if(document.caretRangeFromPoint!==void 0){const t=document.caretRangeFromPoint(n,e);return t===null?null:{node:t.startContainer,offset:t.startOffset}}if(document.caretPositionFromPoint!=="undefined"){const t=document.caretPositionFromPoint(n,e);return t===null?null:{node:t.offsetNode,offset:t.offset}}return null}const pn=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,nh=pn&&"documentMode"in document?document.documentMode:null,rh=!(!pn||!("InputEvent"in window)||nh)&&"getTargetRanges"in new window.InputEvent("input"),uh=pn&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Ho=pn&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,ih=pn&&/^(?=.*Chrome).*/i.test(navigator.userAgent),sh=pn&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!ih,Vo=fn();function _r(n){let e=null;if(bt(n,DragEvent)?e=n.dataTransfer:bt(n,ClipboardEvent)&&(e=n.clipboardData),e===null)return[!1,[],!1];const t=e.types,r=t.includes("Files"),u=t.includes("text/html")||t.includes("text/plain");return[r,Array.from(e.files),u]}function Go(n){const e=j();if(!L(e))return!1;const t=new Set,r=e.getNodes();for(let u=0;u<r.length;u++){const i=r[u],s=i.getKey();if(t.has(s))continue;const o=Eu(i,l=>k(l)&&!l.isInline());if(o===null)continue;const a=o.getKey();o.canIndent()&&!t.has(a)&&(t.add(a),n(o))}return t.size>0}function xr(n){const e=un(n);return te(e)}function oh(n){return at(n.registerCommand(ka,e=>{const t=j();return!!Ne(t)&&(t.clear(),!0)},0),n.registerCommand(It,e=>{const t=j();return!!L(t)&&(t.deleteCharacter(e),!0)},Q),n.registerCommand(Dn,e=>{const t=j();return!!L(t)&&(t.deleteWord(e),!0)},Q),n.registerCommand(Mn,e=>{const t=j();return!!L(t)&&(t.deleteLine(e),!0)},Q),n.registerCommand(en,e=>{const t=j();if(typeof e=="string")t!==null&&t.insertText(e);else{if(t===null)return!1;const r=e.dataTransfer;if(r!=null)qo(r,t,n);else if(L(t)){const u=e.data;return u&&t.insertText(u),!0}}return!0},Q),n.registerCommand(ti,()=>{const e=j();return!!L(e)&&(e.removeText(),!0)},Q),n.registerCommand(He,e=>{const t=j();return!!L(t)&&(t.formatText(e),!0)},Q),n.registerCommand(N0,e=>{const t=j();if(!L(t)&&!Ne(t))return!1;const r=t.getNodes();for(const u of r){const i=Eu(u,s=>k(s)&&!s.isInline());i!==null&&i.setFormat(e)}return!0},Q),n.registerCommand(Yt,e=>{const t=j();return!!L(t)&&(t.insertLineBreak(e),!0)},Q),n.registerCommand(Ln,()=>{const e=j();return!!L(e)&&(e.insertParagraph(),!0)},Q),n.registerCommand(E0,()=>(ds([er()]),!0),Q),n.registerCommand(k0,()=>Go(e=>{const t=e.getIndent();e.setIndent(t+1)}),Q),n.registerCommand(Us,()=>Go(e=>{const t=e.getIndent();t>0&&e.setIndent(t-1)}),Q),n.registerCommand(Oa,e=>{const t=j();if(Ne(t)&&!xr(e.target)){const r=t.getNodes();if(r.length>0)return r[0].selectPrevious(),!0}else if(L(t)){const r=Rn(t.focus,!0);if(!e.shiftKey&&te(r)&&!r.isIsolated()&&!r.isInline())return r.selectPrevious(),e.preventDefault(),!0}return!1},Q),n.registerCommand(Ia,e=>{const t=j();if(Ne(t)){const r=t.getNodes();if(r.length>0)return r[0].selectNext(0,0),!0}else if(L(t)){if(function(u){const i=u.focus;return i.key==="root"&&i.offset===ie().getChildrenSize()}(t))return e.preventDefault(),!0;const r=Rn(t.focus,!1);if(!e.shiftKey&&te(r)&&!r.isIsolated()&&!r.isInline())return r.selectNext(),e.preventDefault(),!0}return!1},Q),n.registerCommand(Aa,e=>{const t=j();if(Ne(t)){const r=t.getNodes();if(r.length>0)return e.preventDefault(),r[0].selectPrevious(),!0}if(!L(t))return!1;if(Eo(t,!0)){const r=e.shiftKey;return e.preventDefault(),ko(t,r,!0),!0}return!1},Q),n.registerCommand(Na,e=>{const t=j();if(Ne(t)&&!xr(e.target)){const u=t.getNodes();if(u.length>0)return e.preventDefault(),u[0].selectNext(0,0),!0}if(!L(t))return!1;const r=e.shiftKey;return!!Eo(t,!1)&&(e.preventDefault(),ko(t,r,!1),!0)},Q),n.registerCommand(Pa,e=>{if(xr(e.target))return!1;const t=j();if(!L(t))return!1;const{anchor:r}=t,u=r.getNode();return t.isCollapsed()&&r.offset===0&&!be(u)&&Vf(u).getIndent()>0?(e.preventDefault(),n.dispatchCommand(Us,void 0)):(!Ho||navigator.language!=="ko-KR")&&(e.preventDefault(),n.dispatchCommand(It,!0))},Q),n.registerCommand(Da,e=>{if(xr(e.target))return!1;const t=j();return!!L(t)&&(e.preventDefault(),n.dispatchCommand(It,!1))},Q),n.registerCommand(Fr,e=>{const t=j();if(!L(t))return!1;if(e!==null){if((Ho||uh||sh)&&rh)return!1;if(e.preventDefault(),e.shiftKey)return n.dispatchCommand(Yt,!1)}return n.dispatchCommand(Ln,void 0)},Q),n.registerCommand(La,()=>{const e=j();return!!L(e)&&(n.blur(),!0)},Q),n.registerCommand(Ma,e=>{const[,t]=_r(e);if(t.length>0){const u=Wo(e.clientX,e.clientY);if(u!==null){const{offset:i,node:s}=u,o=un(s);if(o!==null){const a=Nf();if(D(o))a.anchor.set(o.getKey(),i,"text"),a.focus.set(o.getKey(),i,"text");else{const f=o.getParentOrThrow().getKey(),h=o.getIndexWithinParent()+1;a.anchor.set(f,h,"element"),a.focus.set(f,h,"element")}const l=Ha(a);Ae(l)}n.dispatchCommand(Vo,t)}return e.preventDefault(),!0}const r=j();return!!L(r)},Q),n.registerCommand(Ra,e=>{const[t]=_r(e),r=j();return!(t&&!L(r))},Q),n.registerCommand(Ba,e=>{const[t]=_r(e),r=j();if(t&&!L(r))return!1;const u=Wo(e.clientX,e.clientY);if(u!==null){const i=un(u.node);te(i)&&e.preventDefault()}return!0},Q),n.registerCommand(ni,()=>(of(),!0),Q),n.registerCommand(pu,e=>(zo(n,bt(e,ClipboardEvent)?e:null),!0),Q),n.registerCommand(Vi,e=>(async function(t,r){await zo(r,bt(t,ClipboardEvent)?t:null),r.update(()=>{const u=j();L(u)?u.removeText():Ne(u)&&u.getNodes().forEach(i=>i.remove())})}(e,n),!0),Q),n.registerCommand(hu,e=>{const[,t,r]=_r(e);return t.length>0&&!r?(n.dispatchCommand(Vo,t),!0):ns(e.target)?!1:j()!==null&&(function(u,i){u.preventDefault(),i.update(()=>{const s=j(),o=bt(u,InputEvent)||bt(u,KeyboardEvent)?null:u.clipboardData;o!=null&&s!==null&&qo(o,s,i)},{tag:"paste"})}(e,n),!0)},Q))}const Ti=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?U.useLayoutEffect:U.useEffect;function Ko(n){return n.getEditorState().read(Zl(n.isComposing()))}function ah({contentEditable:n,placeholder:e=null,ErrorBoundary:t}){const[r]=Ie(),u=function(i,s){const[o,a]=U.useState(()=>i.getDecorators());return Ti(()=>i.registerDecoratorListener(l=>{js.flushSync(()=>{a(l)})}),[i]),U.useEffect(()=>{a(i.getDecorators())},[i]),U.useMemo(()=>{const l=[],f=Object.keys(o);for(let h=0;h<f.length;h++){const c=f[h],d=$.jsx(s,{onError:m=>i._onError(m),children:$.jsx(U.Suspense,{fallback:null,children:o[c]})}),p=i.getElementByKey(c);p!==null&&l.push(js.createPortal(d,p,c))}return l},[s,o,i])}(r,t);return function(i){Ti(()=>at(oh(i),Gd(i)),[i])}(r),$.jsxs($.Fragment,{children:[n,$.jsx(lh,{content:e}),u]})}function lh({content:n}){const[e]=Ie(),t=function(u){const[i,s]=U.useState(()=>Ko(u));return Ti(()=>{function o(){const a=Ko(u);s(a)}return o(),at(u.registerUpdateListener(()=>{o()}),u.registerEditableListener(()=>{o()}))},[u]),i}(e),r=Vd();return t?typeof n=="function"?n(r):n:null}var H=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ch(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function fh(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var u=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return n[r]}})}),t}var ec={},qn={},ys={},Un={},_s={};Object.defineProperty(_s,"__esModule",{value:!0});_s.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(n){return n.charCodeAt(0)}));var xs={};Object.defineProperty(xs,"__esModule",{value:!0});xs.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(n){return n.charCodeAt(0)}));var Ci={};(function(n){var e;Object.defineProperty(n,"__esModule",{value:!0}),n.replaceCodePoint=n.fromCodePoint=void 0;var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);n.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function r(i){var s;return i>=55296&&i<=57343||i>1114111?65533:(s=t.get(i))!==null&&s!==void 0?s:i}n.replaceCodePoint=r;function u(i){return(0,n.fromCodePoint)(r(i))}n.default=u})(Ci);(function(n){var e=H&&H.__createBinding||(Object.create?function(v,N,O,B){B===void 0&&(B=O);var _=Object.getOwnPropertyDescriptor(N,O);(!_||("get"in _?!N.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return N[O]}}),Object.defineProperty(v,B,_)}:function(v,N,O,B){B===void 0&&(B=O),v[B]=N[O]}),t=H&&H.__setModuleDefault||(Object.create?function(v,N){Object.defineProperty(v,"default",{enumerable:!0,value:N})}:function(v,N){v.default=N}),r=H&&H.__importStar||function(v){if(v&&v.__esModule)return v;var N={};if(v!=null)for(var O in v)O!=="default"&&Object.prototype.hasOwnProperty.call(v,O)&&e(N,v,O);return t(N,v),N},u=H&&H.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(n,"__esModule",{value:!0}),n.decodeXML=n.decodeHTMLStrict=n.decodeHTMLAttribute=n.decodeHTML=n.determineBranch=n.EntityDecoder=n.DecodingMode=n.BinTrieFlags=n.fromCodePoint=n.replaceCodePoint=n.decodeCodePoint=n.xmlDecodeTree=n.htmlDecodeTree=void 0;var i=u(_s);n.htmlDecodeTree=i.default;var s=u(xs);n.xmlDecodeTree=s.default;var o=r(Ci);n.decodeCodePoint=o.default;var a=Ci;Object.defineProperty(n,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(n,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var l;(function(v){v[v.NUM=35]="NUM",v[v.SEMI=59]="SEMI",v[v.EQUALS=61]="EQUALS",v[v.ZERO=48]="ZERO",v[v.NINE=57]="NINE",v[v.LOWER_A=97]="LOWER_A",v[v.LOWER_F=102]="LOWER_F",v[v.LOWER_X=120]="LOWER_X",v[v.LOWER_Z=122]="LOWER_Z",v[v.UPPER_A=65]="UPPER_A",v[v.UPPER_F=70]="UPPER_F",v[v.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var f=32,h;(function(v){v[v.VALUE_LENGTH=49152]="VALUE_LENGTH",v[v.BRANCH_LENGTH=16256]="BRANCH_LENGTH",v[v.JUMP_TABLE=127]="JUMP_TABLE"})(h=n.BinTrieFlags||(n.BinTrieFlags={}));function c(v){return v>=l.ZERO&&v<=l.NINE}function d(v){return v>=l.UPPER_A&&v<=l.UPPER_F||v>=l.LOWER_A&&v<=l.LOWER_F}function p(v){return v>=l.UPPER_A&&v<=l.UPPER_Z||v>=l.LOWER_A&&v<=l.LOWER_Z||c(v)}function m(v){return v===l.EQUALS||p(v)}var g;(function(v){v[v.EntityStart=0]="EntityStart",v[v.NumericStart=1]="NumericStart",v[v.NumericDecimal=2]="NumericDecimal",v[v.NumericHex=3]="NumericHex",v[v.NamedEntity=4]="NamedEntity"})(g||(g={}));var y;(function(v){v[v.Legacy=0]="Legacy",v[v.Strict=1]="Strict",v[v.Attribute=2]="Attribute"})(y=n.DecodingMode||(n.DecodingMode={}));var b=function(){function v(N,O,B){this.decodeTree=N,this.emitCodePoint=O,this.errors=B,this.state=g.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=y.Strict}return v.prototype.startEntity=function(N){this.decodeMode=N,this.state=g.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},v.prototype.write=function(N,O){switch(this.state){case g.EntityStart:return N.charCodeAt(O)===l.NUM?(this.state=g.NumericStart,this.consumed+=1,this.stateNumericStart(N,O+1)):(this.state=g.NamedEntity,this.stateNamedEntity(N,O));case g.NumericStart:return this.stateNumericStart(N,O);case g.NumericDecimal:return this.stateNumericDecimal(N,O);case g.NumericHex:return this.stateNumericHex(N,O);case g.NamedEntity:return this.stateNamedEntity(N,O)}},v.prototype.stateNumericStart=function(N,O){return O>=N.length?-1:(N.charCodeAt(O)|f)===l.LOWER_X?(this.state=g.NumericHex,this.consumed+=1,this.stateNumericHex(N,O+1)):(this.state=g.NumericDecimal,this.stateNumericDecimal(N,O))},v.prototype.addToNumericResult=function(N,O,B,_){if(O!==B){var I=B-O;this.result=this.result*Math.pow(_,I)+parseInt(N.substr(O,I),_),this.consumed+=I}},v.prototype.stateNumericHex=function(N,O){for(var B=O;O<N.length;){var _=N.charCodeAt(O);if(c(_)||d(_))O+=1;else return this.addToNumericResult(N,B,O,16),this.emitNumericEntity(_,3)}return this.addToNumericResult(N,B,O,16),-1},v.prototype.stateNumericDecimal=function(N,O){for(var B=O;O<N.length;){var _=N.charCodeAt(O);if(c(_))O+=1;else return this.addToNumericResult(N,B,O,10),this.emitNumericEntity(_,2)}return this.addToNumericResult(N,B,O,10),-1},v.prototype.emitNumericEntity=function(N,O){var B;if(this.consumed<=O)return(B=this.errors)===null||B===void 0||B.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(N===l.SEMI)this.consumed+=1;else if(this.decodeMode===y.Strict)return 0;return this.emitCodePoint((0,o.replaceCodePoint)(this.result),this.consumed),this.errors&&(N!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},v.prototype.stateNamedEntity=function(N,O){for(var B=this.decodeTree,_=B[this.treeIndex],I=(_&h.VALUE_LENGTH)>>14;O<N.length;O++,this.excess++){var A=N.charCodeAt(O);if(this.treeIndex=w(B,_,this.treeIndex+Math.max(1,I),A),this.treeIndex<0)return this.result===0||this.decodeMode===y.Attribute&&(I===0||m(A))?0:this.emitNotTerminatedNamedEntity();if(_=B[this.treeIndex],I=(_&h.VALUE_LENGTH)>>14,I!==0){if(A===l.SEMI)return this.emitNamedEntityData(this.treeIndex,I,this.consumed+this.excess);this.decodeMode!==y.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},v.prototype.emitNotTerminatedNamedEntity=function(){var N,O=this,B=O.result,_=O.decodeTree,I=(_[B]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(B,I,this.consumed),(N=this.errors)===null||N===void 0||N.missingSemicolonAfterCharacterReference(),this.consumed},v.prototype.emitNamedEntityData=function(N,O,B){var _=this.decodeTree;return this.emitCodePoint(O===1?_[N]&~h.VALUE_LENGTH:_[N+1],B),O===3&&this.emitCodePoint(_[N+2],B),B},v.prototype.end=function(){var N;switch(this.state){case g.NamedEntity:return this.result!==0&&(this.decodeMode!==y.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case g.NumericDecimal:return this.emitNumericEntity(0,2);case g.NumericHex:return this.emitNumericEntity(0,3);case g.NumericStart:return(N=this.errors)===null||N===void 0||N.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case g.EntityStart:return 0}},v}();n.EntityDecoder=b;function x(v){var N="",O=new b(v,function(B){return N+=(0,o.fromCodePoint)(B)});return function(_,I){for(var A=0,q=0;(q=_.indexOf("&",q))>=0;){N+=_.slice(A,q),O.startEntity(I);var Z=O.write(_,q+1);if(Z<0){A=q+O.end();break}A=q+Z,q=Z===0?A+1:A}var ne=N+_.slice(A);return N="",ne}}function w(v,N,O,B){var _=(N&h.BRANCH_LENGTH)>>7,I=N&h.JUMP_TABLE;if(_===0)return I!==0&&B===I?O:-1;if(I){var A=B-I;return A<0||A>=_?-1:v[O+A]-1}for(var q=O,Z=q+_-1;q<=Z;){var ne=q+Z>>>1,Je=v[ne];if(Je<B)q=ne+1;else if(Je>B)Z=ne-1;else return v[ne+_]}return-1}n.determineBranch=w;var C=x(i.default),T=x(s.default);function E(v,N){return N===void 0&&(N=y.Legacy),C(v,N)}n.decodeHTML=E;function S(v){return C(v,y.Attribute)}n.decodeHTMLAttribute=S;function P(v){return C(v,y.Strict)}n.decodeHTMLStrict=P;function z(v){return T(v,y.Strict)}n.decodeXML=z})(Un);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.QuoteType=void 0;var e=Un,t;(function(c){c[c.Tab=9]="Tab",c[c.NewLine=10]="NewLine",c[c.FormFeed=12]="FormFeed",c[c.CarriageReturn=13]="CarriageReturn",c[c.Space=32]="Space",c[c.ExclamationMark=33]="ExclamationMark",c[c.Number=35]="Number",c[c.Amp=38]="Amp",c[c.SingleQuote=39]="SingleQuote",c[c.DoubleQuote=34]="DoubleQuote",c[c.Dash=45]="Dash",c[c.Slash=47]="Slash",c[c.Zero=48]="Zero",c[c.Nine=57]="Nine",c[c.Semi=59]="Semi",c[c.Lt=60]="Lt",c[c.Eq=61]="Eq",c[c.Gt=62]="Gt",c[c.Questionmark=63]="Questionmark",c[c.UpperA=65]="UpperA",c[c.LowerA=97]="LowerA",c[c.UpperF=70]="UpperF",c[c.LowerF=102]="LowerF",c[c.UpperZ=90]="UpperZ",c[c.LowerZ=122]="LowerZ",c[c.LowerX=120]="LowerX",c[c.OpeningSquareBracket=91]="OpeningSquareBracket"})(t||(t={}));var r;(function(c){c[c.Text=1]="Text",c[c.BeforeTagName=2]="BeforeTagName",c[c.InTagName=3]="InTagName",c[c.InSelfClosingTag=4]="InSelfClosingTag",c[c.BeforeClosingTagName=5]="BeforeClosingTagName",c[c.InClosingTagName=6]="InClosingTagName",c[c.AfterClosingTagName=7]="AfterClosingTagName",c[c.BeforeAttributeName=8]="BeforeAttributeName",c[c.InAttributeName=9]="InAttributeName",c[c.AfterAttributeName=10]="AfterAttributeName",c[c.BeforeAttributeValue=11]="BeforeAttributeValue",c[c.InAttributeValueDq=12]="InAttributeValueDq",c[c.InAttributeValueSq=13]="InAttributeValueSq",c[c.InAttributeValueNq=14]="InAttributeValueNq",c[c.BeforeDeclaration=15]="BeforeDeclaration",c[c.InDeclaration=16]="InDeclaration",c[c.InProcessingInstruction=17]="InProcessingInstruction",c[c.BeforeComment=18]="BeforeComment",c[c.CDATASequence=19]="CDATASequence",c[c.InSpecialComment=20]="InSpecialComment",c[c.InCommentLike=21]="InCommentLike",c[c.BeforeSpecialS=22]="BeforeSpecialS",c[c.SpecialStartSequence=23]="SpecialStartSequence",c[c.InSpecialTag=24]="InSpecialTag",c[c.BeforeEntity=25]="BeforeEntity",c[c.BeforeNumericEntity=26]="BeforeNumericEntity",c[c.InNamedEntity=27]="InNamedEntity",c[c.InNumericEntity=28]="InNumericEntity",c[c.InHexEntity=29]="InHexEntity"})(r||(r={}));function u(c){return c===t.Space||c===t.NewLine||c===t.Tab||c===t.FormFeed||c===t.CarriageReturn}function i(c){return c===t.Slash||c===t.Gt||u(c)}function s(c){return c>=t.Zero&&c<=t.Nine}function o(c){return c>=t.LowerA&&c<=t.LowerZ||c>=t.UpperA&&c<=t.UpperZ}function a(c){return c>=t.UpperA&&c<=t.UpperF||c>=t.LowerA&&c<=t.LowerF}var l;(function(c){c[c.NoValue=0]="NoValue",c[c.Unquoted=1]="Unquoted",c[c.Single=2]="Single",c[c.Double=3]="Double"})(l=n.QuoteType||(n.QuoteType={}));var f={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function c(d,p){var m=d.xmlMode,g=m===void 0?!1:m,y=d.decodeEntities,b=y===void 0?!0:y;this.cbs=p,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=g,this.decodeEntities=b,this.entityTrie=g?e.xmlDecodeTree:e.htmlDecodeTree}return c.prototype.reset=function(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},c.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},c.prototype.end=function(){this.running&&this.finish()},c.prototype.pause=function(){this.running=!1},c.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},c.prototype.getIndex=function(){return this.index},c.prototype.getSectionStart=function(){return this.sectionStart},c.prototype.stateText=function(d){d===t.Lt||!this.decodeEntities&&this.fastForwardTo(t.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===t.Amp&&(this.state=r.BeforeEntity)},c.prototype.stateSpecialStartSequence=function(d){var p=this.sequenceIndex===this.currentSequence.length,m=p?i(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!m)this.isSpecial=!1;else if(!p){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(d)},c.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===t.Gt||u(d)){var p=this.index-this.currentSequence.length;if(this.sectionStart<p){var m=this.index;this.index=p,this.cbs.ontext(this.sectionStart,p),this.index=m}this.isSpecial=!1,this.sectionStart=p+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===f.TitleEnd?this.decodeEntities&&d===t.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===t.Lt)},c.prototype.stateCDATASequence=function(d){d===f.Cdata[this.sequenceIndex]?++this.sequenceIndex===f.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=f.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(d))},c.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},c.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):d!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},c.prototype.isTagStartChar=function(d){return this.xmlMode?!i(d):o(d)},c.prototype.startSpecial=function(d,p){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=p,this.state=r.SpecialStartSequence},c.prototype.stateBeforeTagName=function(d){if(d===t.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===t.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var p=d|32;this.sectionStart=this.index,!this.xmlMode&&p===f.TitleEnd[2]?this.startSpecial(f.TitleEnd,3):this.state=!this.xmlMode&&p===f.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else d===t.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(d))},c.prototype.stateInTagName=function(d){i(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d))},c.prototype.stateBeforeClosingTagName=function(d){u(d)||(d===t.Gt?this.state=r.Text:(this.state=this.isTagStartChar(d)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},c.prototype.stateInClosingTagName=function(d){(d===t.Gt||u(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(d))},c.prototype.stateAfterClosingTagName=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeAttributeName=function(d){d===t.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===t.Slash?this.state=r.InSelfClosingTag:u(d)||(this.state=r.InAttributeName,this.sectionStart=this.index)},c.prototype.stateInSelfClosingTag=function(d){d===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(d)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d))},c.prototype.stateInAttributeName=function(d){(d===t.Eq||i(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(d))},c.prototype.stateAfterAttributeName=function(d){d===t.Eq?this.state=r.BeforeAttributeValue:d===t.Slash||d===t.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d)):u(d)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},c.prototype.stateBeforeAttributeValue=function(d){d===t.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):d===t.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):u(d)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},c.prototype.handleInAttributeValue=function(d,p){d===p||!this.decodeEntities&&this.fastForwardTo(p)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(p===t.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},c.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,t.DoubleQuote)},c.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,t.SingleQuote)},c.prototype.stateInAttributeValueNoQuotes=function(d){u(d)||d===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},c.prototype.stateBeforeDeclaration=function(d){d===t.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=d===t.Dash?r.BeforeComment:r.InDeclaration},c.prototype.stateInDeclaration=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},c.prototype.stateInProcessingInstruction=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeComment=function(d){d===t.Dash?(this.state=r.InCommentLike,this.currentSequence=f.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},c.prototype.stateInSpecialComment=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeSpecialS=function(d){var p=d|32;p===f.ScriptEnd[3]?this.startSpecial(f.ScriptEnd,4):p===f.StyleEnd[3]?this.startSpecial(f.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(d))},c.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===t.Number?this.state=r.BeforeNumericEntity:d===t.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(d))},c.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,e.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var p=this.trieCurrent&e.BinTrieFlags.VALUE_LENGTH;if(p){var m=(p>>14)-1;if(!this.allowLegacyEntity()&&d!==t.Semi)this.trieIndex+=m;else{var g=this.index-this.entityExcess+1;g>this.sectionStart&&this.emitPartial(this.sectionStart,g),this.entityResult=this.trieIndex,this.trieIndex+=m,this.entityExcess=0,this.sectionStart=this.index+1,m===0&&this.emitNamedEntity()}}},c.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},c.prototype.stateBeforeNumericEntity=function(d){(d|32)===t.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(d))},c.prototype.emitNumericEntity=function(d){var p=this.index-this.entityExcess-1,m=p+2+ +(this.state===r.InHexEntity);m!==this.index&&(p>this.sectionStart&&this.emitPartial(this.sectionStart,p),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},c.prototype.stateInNumericEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):s(d)?(this.entityResult=this.entityResult*10+(d-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.stateInHexEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):s(d)?(this.entityResult=this.entityResult*16+(d-t.Zero),this.entityExcess++):a(d)?(this.entityResult=this.entityResult*16+((d|32)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},c.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},c.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},c.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:{this.stateText(d);break}case r.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case r.InSpecialTag:{this.stateInSpecialTag(d);break}case r.CDATASequence:{this.stateCDATASequence(d);break}case r.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case r.InAttributeName:{this.stateInAttributeName(d);break}case r.InCommentLike:{this.stateInCommentLike(d);break}case r.InSpecialComment:{this.stateInSpecialComment(d);break}case r.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case r.InTagName:{this.stateInTagName(d);break}case r.InClosingTagName:{this.stateInClosingTagName(d);break}case r.BeforeTagName:{this.stateBeforeTagName(d);break}case r.AfterAttributeName:{this.stateAfterAttributeName(d);break}case r.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case r.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case r.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case r.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case r.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case r.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case r.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case r.InDeclaration:{this.stateInDeclaration(d);break}case r.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case r.BeforeComment:{this.stateBeforeComment(d);break}case r.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case r.InNamedEntity:{this.stateInNamedEntity(d);break}case r.BeforeEntity:{this.stateBeforeEntity(d);break}case r.InHexEntity:{this.stateInHexEntity(d);break}case r.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},c.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},c.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,d,0):this.cbs.oncomment(this.sectionStart,d,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,d)},c.prototype.emitPartial=function(d,p){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(d,p):this.cbs.ontext(d,p)},c.prototype.emitCodePoint=function(d){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},c}();n.default=h})(ys);var dh=H&&H.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var u=Object.getOwnPropertyDescriptor(e,t);(!u||("get"in u?!e.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,u)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),hh=H&&H.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),ph=H&&H.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&dh(e,n,t);return hh(e,n),e};Object.defineProperty(qn,"__esModule",{value:!0});qn.Parser=void 0;var vr=ph(ys),Jo=Un,Gt=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ee=new Set(["p"]),Xo=new Set(["thead","tbody"]),Zo=new Set(["dd","dt"]),Qo=new Set(["rt","rp"]),gh=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ee],["h1",ee],["h2",ee],["h3",ee],["h4",ee],["h5",ee],["h6",ee],["select",Gt],["input",Gt],["output",Gt],["button",Gt],["datalist",Gt],["textarea",Gt],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",Zo],["dt",Zo],["address",ee],["article",ee],["aside",ee],["blockquote",ee],["details",ee],["div",ee],["dl",ee],["fieldset",ee],["figcaption",ee],["figure",ee],["footer",ee],["form",ee],["header",ee],["hr",ee],["main",ee],["nav",ee],["ol",ee],["pre",ee],["section",ee],["table",ee],["ul",ee],["rt",Qo],["rp",Qo],["tbody",Xo],["tfoot",Xo]]),mh=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Yo=new Set(["math","svg"]),ea=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),bh=/\s|\//,yh=function(){function n(e,t){t===void 0&&(t={});var r,u,i,s,o;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:!t.xmlMode,this.lowerCaseAttributeNames=(u=t.lowerCaseAttributeNames)!==null&&u!==void 0?u:!t.xmlMode,this.tokenizer=new((i=t.Tokenizer)!==null&&i!==void 0?i:vr.default)(this.options,this),(o=(s=this.cbs).onparserinit)===null||o===void 0||o.call(s,this)}return n.prototype.ontext=function(e,t){var r,u,i=this.getSlice(e,t);this.endIndex=t-1,(u=(r=this.cbs).ontext)===null||u===void 0||u.call(r,i),this.startIndex=t},n.prototype.ontextentity=function(e){var t,r,u=this.tokenizer.getSectionStart();this.endIndex=u-1,(r=(t=this.cbs).ontext)===null||r===void 0||r.call(t,(0,Jo.fromCodePoint)(e)),this.startIndex=u},n.prototype.isVoidElement=function(e){return!this.options.xmlMode&&mh.has(e)},n.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},n.prototype.emitOpenTag=function(e){var t,r,u,i;this.openTagStart=this.startIndex,this.tagname=e;var s=!this.options.xmlMode&&gh.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),Yo.has(e)?this.foreignContext.push(!0):ea.has(e)&&this.foreignContext.push(!1)),(i=(u=this.cbs).onopentagname)===null||i===void 0||i.call(u,e),this.cbs.onopentag&&(this.attribs={})},n.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},n.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},n.prototype.onclosetag=function(e,t){var r,u,i,s,o,a;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(Yo.has(l)||ea.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((u=(r=this.cbs).onopentagname)===null||u===void 0||u.call(r,"br"),(s=(i=this.cbs).onopentag)===null||s===void 0||s.call(i,"br",{},!0),(a=(o=this.cbs).onclosetag)===null||a===void 0||a.call(o,"br",!1));else{var f=this.stack.lastIndexOf(l);if(f!==-1)if(this.cbs.onclosetag)for(var h=this.stack.length-f;h--;)this.cbs.onclosetag(this.stack.pop(),h!==0);else this.stack.length=f;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},n.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},n.prototype.closeCurrentTag=function(e){var t,r,u=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===u&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,u,!e),this.stack.pop())},n.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},n.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},n.prototype.onattribentity=function(e){this.attribvalue+=(0,Jo.fromCodePoint)(e)},n.prototype.onattribend=function(e,t){var r,u;this.endIndex=t,(u=(r=this.cbs).onattribute)===null||u===void 0||u.call(r,this.attribname,this.attribvalue,e===vr.QuoteType.Double?'"':e===vr.QuoteType.Single?"'":e===vr.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},n.prototype.getInstructionName=function(e){var t=e.search(bh),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},n.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var u=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(u),"!".concat(r))}this.startIndex=t+1},n.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var u=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(u),"?".concat(r))}this.startIndex=t+1},n.prototype.oncomment=function(e,t,r){var u,i,s,o;this.endIndex=t,(i=(u=this.cbs).oncomment)===null||i===void 0||i.call(u,this.getSlice(e,t-r)),(o=(s=this.cbs).oncommentend)===null||o===void 0||o.call(s),this.startIndex=t+1},n.prototype.oncdata=function(e,t,r){var u,i,s,o,a,l,f,h,c,d;this.endIndex=t;var p=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?((i=(u=this.cbs).oncdatastart)===null||i===void 0||i.call(u),(o=(s=this.cbs).ontext)===null||o===void 0||o.call(s,p),(l=(a=this.cbs).oncdataend)===null||l===void 0||l.call(a)):((h=(f=this.cbs).oncomment)===null||h===void 0||h.call(f,"[CDATA[".concat(p,"]]")),(d=(c=this.cbs).oncommentend)===null||d===void 0||d.call(c)),this.startIndex=t+1},n.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)},n.prototype.reset=function(){var e,t,r,u;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(u=(r=this.cbs).onparserinit)===null||u===void 0||u.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},n.prototype.parseComplete=function(e){this.reset(),this.end(e)},n.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},n.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},n.prototype.write=function(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},n.prototype.end=function(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},n.prototype.pause=function(){this.tokenizer.pause()},n.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},n.prototype.parseChunk=function(e){this.write(e)},n.prototype.done=function(e){this.end(e)},n}();qn.Parser=yh;var it={},gn={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0;var e;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(e=n.ElementType||(n.ElementType={}));function t(r){return r.type===e.Tag||r.type===e.Script||r.type===e.Style}n.isTag=t,n.Root=e.Root,n.Text=e.Text,n.Directive=e.Directive,n.Comment=e.Comment,n.Script=e.Script,n.Style=e.Style,n.Tag=e.Tag,n.CDATA=e.CDATA,n.Doctype=e.Doctype})(gn);var J={},Ct=H&&H.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,u){r.__proto__=u}||function(r,u){for(var i in u)Object.prototype.hasOwnProperty.call(u,i)&&(r[i]=u[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Pn=H&&H.__assign||function(){return Pn=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u])}return n},Pn.apply(this,arguments)};Object.defineProperty(J,"__esModule",{value:!0});J.cloneNode=J.hasChildren=J.isDocument=J.isDirective=J.isComment=J.isText=J.isCDATA=J.isTag=J.Element=J.Document=J.CDATA=J.NodeWithChildren=J.ProcessingInstruction=J.Comment=J.Text=J.DataNode=J.Node=void 0;var Se=gn,vs=function(){function n(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(n.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),n.prototype.cloneNode=function(e){return e===void 0&&(e=!1),ws(this,e)},n}();J.Node=vs;var Nu=function(n){Ct(e,n);function e(t){var r=n.call(this)||this;return r.data=t,r}return Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),e}(vs);J.DataNode=Nu;var tc=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Se.ElementType.Text,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(Nu);J.Text=tc;var nc=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Se.ElementType.Comment,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(Nu);J.Comment=nc;var rc=function(n){Ct(e,n);function e(t,r){var u=n.call(this,r)||this;return u.name=t,u.type=Se.ElementType.Directive,u}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(Nu);J.ProcessingInstruction=rc;var Au=function(n){Ct(e,n);function e(t){var r=n.call(this)||this;return r.children=t,r}return Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(vs);J.NodeWithChildren=Au;var uc=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Se.ElementType.CDATA,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(Au);J.CDATA=uc;var ic=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Se.ElementType.Root,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(Au);J.Document=ic;var sc=function(n){Ct(e,n);function e(t,r,u,i){u===void 0&&(u=[]),i===void 0&&(i=t==="script"?Se.ElementType.Script:t==="style"?Se.ElementType.Style:Se.ElementType.Tag);var s=n.call(this,u)||this;return s.name=t,s.attribs=r,s.type=i,s}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map(function(r){var u,i;return{name:r,value:t.attribs[r],namespace:(u=t["x-attribsNamespace"])===null||u===void 0?void 0:u[r],prefix:(i=t["x-attribsPrefix"])===null||i===void 0?void 0:i[r]}})},enumerable:!1,configurable:!0}),e}(Au);J.Element=sc;function oc(n){return(0,Se.isTag)(n)}J.isTag=oc;function ac(n){return n.type===Se.ElementType.CDATA}J.isCDATA=ac;function lc(n){return n.type===Se.ElementType.Text}J.isText=lc;function cc(n){return n.type===Se.ElementType.Comment}J.isComment=cc;function fc(n){return n.type===Se.ElementType.Directive}J.isDirective=fc;function dc(n){return n.type===Se.ElementType.Root}J.isDocument=dc;function _h(n){return Object.prototype.hasOwnProperty.call(n,"children")}J.hasChildren=_h;function ws(n,e){e===void 0&&(e=!1);var t;if(lc(n))t=new tc(n.data);else if(cc(n))t=new nc(n.data);else if(oc(n)){var r=e?Ju(n.children):[],u=new sc(n.name,Pn({},n.attribs),r);r.forEach(function(a){return a.parent=u}),n.namespace!=null&&(u.namespace=n.namespace),n["x-attribsNamespace"]&&(u["x-attribsNamespace"]=Pn({},n["x-attribsNamespace"])),n["x-attribsPrefix"]&&(u["x-attribsPrefix"]=Pn({},n["x-attribsPrefix"])),t=u}else if(ac(n)){var r=e?Ju(n.children):[],i=new uc(r);r.forEach(function(l){return l.parent=i}),t=i}else if(dc(n)){var r=e?Ju(n.children):[],s=new ic(r);r.forEach(function(l){return l.parent=s}),n["x-mode"]&&(s["x-mode"]=n["x-mode"]),t=s}else if(fc(n)){var o=new rc(n.name,n.data);n["x-name"]!=null&&(o["x-name"]=n["x-name"],o["x-publicId"]=n["x-publicId"],o["x-systemId"]=n["x-systemId"]),t=o}else throw new Error("Not implemented yet: ".concat(n.type));return t.startIndex=n.startIndex,t.endIndex=n.endIndex,n.sourceCodeLocation!=null&&(t.sourceCodeLocation=n.sourceCodeLocation),t}J.cloneNode=ws;function Ju(n){for(var e=n.map(function(r){return ws(r,!0)}),t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}(function(n){var e=H&&H.__createBinding||(Object.create?function(o,a,l,f){f===void 0&&(f=l);var h=Object.getOwnPropertyDescriptor(a,l);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(o,f,h)}:function(o,a,l,f){f===void 0&&(f=l),o[f]=a[l]}),t=H&&H.__exportStar||function(o,a){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&e(a,o,l)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0;var r=gn,u=J;t(J,n);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function o(a,l,f){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(f=l,l=i),typeof a=="object"&&(l=a,a=void 0),this.callback=a??null,this.options=l??i,this.elementCB=f??null}return o.prototype.onparserinit=function(a){this.parser=a},o.prototype.onreset=function(){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},o.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},o.prototype.onerror=function(a){this.handleCallback(a)},o.prototype.onclosetag=function(){this.lastNode=null;var a=this.tagStack.pop();this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(a)},o.prototype.onopentag=function(a,l){var f=this.options.xmlMode?r.ElementType.Tag:void 0,h=new u.Element(a,l,void 0,f);this.addNode(h),this.tagStack.push(h)},o.prototype.ontext=function(a){var l=this.lastNode;if(l&&l.type===r.ElementType.Text)l.data+=a,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var f=new u.Text(a);this.addNode(f),this.lastNode=f}},o.prototype.oncomment=function(a){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=a;return}var l=new u.Comment(a);this.addNode(l),this.lastNode=l},o.prototype.oncommentend=function(){this.lastNode=null},o.prototype.oncdatastart=function(){var a=new u.Text(""),l=new u.CDATA([a]);this.addNode(l),a.parent=l,this.lastNode=a},o.prototype.oncdataend=function(){this.lastNode=null},o.prototype.onprocessinginstruction=function(a,l){var f=new u.ProcessingInstruction(a,l);this.addNode(f)},o.prototype.handleCallback=function(a){if(typeof this.callback=="function")this.callback(a,this.dom);else if(a)throw a},o.prototype.addNode=function(a){var l=this.tagStack[this.tagStack.length-1],f=l.children[l.children.length-1];this.options.withStartIndices&&(a.startIndex=this.parser.startIndex),this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),l.children.push(a),f&&(a.prev=f,f.next=a),a.parent=l,this.lastNode=null},o}();n.DomHandler=s,n.default=s})(it);var Dr={},Et={},sr={},hc={},jt={},Ss={};Object.defineProperty(Ss,"__esModule",{value:!0});function wr(n){for(var e=1;e<n.length;e++)n[e][0]+=n[e-1][0]+1;return n}Ss.default=new Map(wr([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(wr([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(wr([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(wr([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));var uu={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.escapeText=n.escapeAttribute=n.escapeUTF8=n.escape=n.encodeXML=n.getCodePoint=n.xmlReplacer=void 0,n.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);n.getCodePoint=String.prototype.codePointAt!=null?function(u,i){return u.codePointAt(i)}:function(u,i){return(u.charCodeAt(i)&64512)===55296?(u.charCodeAt(i)-55296)*1024+u.charCodeAt(i+1)-56320+65536:u.charCodeAt(i)};function t(u){for(var i="",s=0,o;(o=n.xmlReplacer.exec(u))!==null;){var a=o.index,l=u.charCodeAt(a),f=e.get(l);f!==void 0?(i+=u.substring(s,a)+f,s=a+1):(i+="".concat(u.substring(s,a),"&#x").concat((0,n.getCodePoint)(u,a).toString(16),";"),s=n.xmlReplacer.lastIndex+=+((l&64512)===55296))}return i+u.substr(s)}n.encodeXML=t,n.escape=t;function r(u,i){return function(o){for(var a,l=0,f="";a=u.exec(o);)l!==a.index&&(f+=o.substring(l,a.index)),f+=i.get(a[0].charCodeAt(0)),l=a.index+1;return f+o.substring(l)}}n.escapeUTF8=r(/[&<>'"]/g,e),n.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),n.escapeText=r(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))})(uu);var xh=H&&H.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(jt,"__esModule",{value:!0});jt.encodeNonAsciiHTML=jt.encodeHTML=void 0;var vh=xh(Ss),pc=uu,wh=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function Sh(n){return gc(wh,n)}jt.encodeHTML=Sh;function Th(n){return gc(pc.xmlReplacer,n)}jt.encodeNonAsciiHTML=Th;function gc(n,e){for(var t="",r=0,u;(u=n.exec(e))!==null;){var i=u.index;t+=e.substring(r,i);var s=e.charCodeAt(i),o=vh.default.get(s);if(typeof o=="object"){if(i+1<e.length){var a=e.charCodeAt(i+1),l=typeof o.n=="number"?o.n===a?o.o:void 0:o.n.get(a);if(l!==void 0){t+=l,r=n.lastIndex+=1;continue}}o=o.v}if(o!==void 0)t+=o,r=i+1;else{var f=(0,pc.getCodePoint)(e,i);t+="&#x".concat(f.toString(16),";"),r=n.lastIndex+=+(f!==s)}}return t+e.substr(r)}(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.decodeXMLStrict=n.decodeHTML5Strict=n.decodeHTML4Strict=n.decodeHTML5=n.decodeHTML4=n.decodeHTMLAttribute=n.decodeHTMLStrict=n.decodeHTML=n.decodeXML=n.DecodingMode=n.EntityDecoder=n.encodeHTML5=n.encodeHTML4=n.encodeNonAsciiHTML=n.encodeHTML=n.escapeText=n.escapeAttribute=n.escapeUTF8=n.escape=n.encodeXML=n.encode=n.decodeStrict=n.decode=n.EncodingMode=n.EntityLevel=void 0;var e=Un,t=jt,r=uu,u;(function(c){c[c.XML=0]="XML",c[c.HTML=1]="HTML"})(u=n.EntityLevel||(n.EntityLevel={}));var i;(function(c){c[c.UTF8=0]="UTF8",c[c.ASCII=1]="ASCII",c[c.Extensive=2]="Extensive",c[c.Attribute=3]="Attribute",c[c.Text=4]="Text"})(i=n.EncodingMode||(n.EncodingMode={}));function s(c,d){d===void 0&&(d=u.XML);var p=typeof d=="number"?d:d.level;if(p===u.HTML){var m=typeof d=="object"?d.mode:void 0;return(0,e.decodeHTML)(c,m)}return(0,e.decodeXML)(c)}n.decode=s;function o(c,d){var p;d===void 0&&(d=u.XML);var m=typeof d=="number"?{level:d}:d;return(p=m.mode)!==null&&p!==void 0||(m.mode=e.DecodingMode.Strict),s(c,m)}n.decodeStrict=o;function a(c,d){d===void 0&&(d=u.XML);var p=typeof d=="number"?{level:d}:d;return p.mode===i.UTF8?(0,r.escapeUTF8)(c):p.mode===i.Attribute?(0,r.escapeAttribute)(c):p.mode===i.Text?(0,r.escapeText)(c):p.level===u.HTML?p.mode===i.ASCII?(0,t.encodeNonAsciiHTML)(c):(0,t.encodeHTML)(c):(0,r.encodeXML)(c)}n.encode=a;var l=uu;Object.defineProperty(n,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(n,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(n,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(n,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(n,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var f=jt;Object.defineProperty(n,"encodeHTML",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(n,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return f.encodeNonAsciiHTML}}),Object.defineProperty(n,"encodeHTML4",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(n,"encodeHTML5",{enumerable:!0,get:function(){return f.encodeHTML}});var h=Un;Object.defineProperty(n,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(n,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(n,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(n,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(n,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(n,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(n,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(n,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(n,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(n,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(n,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})})(hc);var sn={};Object.defineProperty(sn,"__esModule",{value:!0});sn.attributeNames=sn.elementNames=void 0;sn.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(n){return[n.toLowerCase(),n]}));sn.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(n){return[n.toLowerCase(),n]}));var Qt=H&&H.__assign||function(){return Qt=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u])}return n},Qt.apply(this,arguments)},Ch=H&&H.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var u=Object.getOwnPropertyDescriptor(e,t);(!u||("get"in u?!e.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,u)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),Eh=H&&H.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),kh=H&&H.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&Ch(e,n,t);return Eh(e,n),e};Object.defineProperty(sr,"__esModule",{value:!0});sr.render=void 0;var Ze=kh(gn),iu=hc,mc=sn,Nh=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Ah(n){return n.replace(/"/g,""")}function Oh(n,e){var t;if(n){var r=((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)===!1?Ah:e.xmlMode||e.encodeEntities!=="utf8"?iu.encodeXML:iu.escapeAttribute;return Object.keys(n).map(function(u){var i,s,o=(i=n[u])!==null&&i!==void 0?i:"";return e.xmlMode==="foreign"&&(u=(s=mc.attributeNames.get(u))!==null&&s!==void 0?s:u),!e.emptyAttrs&&!e.xmlMode&&o===""?u:"".concat(u,'="').concat(r(o),'"')}).join(" ")}}var ta=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Ou(n,e){e===void 0&&(e={});for(var t=("length"in n)?n:[n],r="",u=0;u<t.length;u++)r+=Ih(t[u],e);return r}sr.render=Ou;sr.default=Ou;function Ih(n,e){switch(n.type){case Ze.Root:return Ou(n.children,e);case Ze.Doctype:case Ze.Directive:return Mh(n);case Ze.Comment:return Fh(n);case Ze.CDATA:return Bh(n);case Ze.Script:case Ze.Style:case Ze.Tag:return Dh(n,e);case Ze.Text:return Rh(n,e)}}var Ph=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Lh=new Set(["svg","math"]);function Dh(n,e){var t;e.xmlMode==="foreign"&&(n.name=(t=mc.elementNames.get(n.name))!==null&&t!==void 0?t:n.name,n.parent&&Ph.has(n.parent.name)&&(e=Qt(Qt({},e),{xmlMode:!1}))),!e.xmlMode&&Lh.has(n.name)&&(e=Qt(Qt({},e),{xmlMode:"foreign"}));var r="<".concat(n.name),u=Oh(n.attribs,e);return u&&(r+=" ".concat(u)),n.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&ta.has(n.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",n.children.length>0&&(r+=Ou(n.children,e)),(e.xmlMode||!ta.has(n.name))&&(r+="</".concat(n.name,">"))),r}function Mh(n){return"<".concat(n.data,">")}function Rh(n,e){var t,r=n.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&n.parent&&Nh.has(n.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?(0,iu.encodeXML)(r):(0,iu.escapeText)(r)),r}function Bh(n){return"<![CDATA[".concat(n.children[0].data,"]]>")}function Fh(n){return"<!--".concat(n.data,"-->")}var jh=H&&H.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Et,"__esModule",{value:!0});Et.getOuterHTML=bc;Et.getInnerHTML=zh;Et.getText=Mr;Et.textContent=Ei;Et.innerText=ki;var Ve=it,qh=jh(sr),Uh=gn;function bc(n,e){return(0,qh.default)(n,e)}function zh(n,e){return(0,Ve.hasChildren)(n)?n.children.map(function(t){return bc(t,e)}).join(""):""}function Mr(n){return Array.isArray(n)?n.map(Mr).join(""):(0,Ve.isTag)(n)?n.name==="br"?`
|
|
14
|
-
`:Mr(n.children):(0,Ve.isCDATA)(n)?Mr(n.children):(0,Ve.isText)(n)?n.data:""}function Ei(n){return Array.isArray(n)?n.map(Ei).join(""):(0,Ve.hasChildren)(n)&&!(0,Ve.isComment)(n)?Ei(n.children):(0,Ve.isText)(n)?n.data:""}function ki(n){return Array.isArray(n)?n.map(ki).join(""):(0,Ve.hasChildren)(n)&&(n.type===Uh.ElementType.Tag||(0,Ve.isCDATA)(n))?ki(n.children):(0,Ve.isText)(n)?n.data:""}var Ke={};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.getChildren=yc;Ke.getParent=_c;Ke.getSiblings=$h;Ke.getAttributeValue=Wh;Ke.hasAttrib=Hh;Ke.getName=Vh;Ke.nextElementSibling=Gh;Ke.prevElementSibling=Kh;var Ts=it;function yc(n){return(0,Ts.hasChildren)(n)?n.children:[]}function _c(n){return n.parent||null}function $h(n){var e,t,r=_c(n);if(r!=null)return yc(r);for(var u=[n],i=n.prev,s=n.next;i!=null;)u.unshift(i),e=i,i=e.prev;for(;s!=null;)u.push(s),t=s,s=t.next;return u}function Wh(n,e){var t;return(t=n.attribs)===null||t===void 0?void 0:t[e]}function Hh(n,e){return n.attribs!=null&&Object.prototype.hasOwnProperty.call(n.attribs,e)&&n.attribs[e]!=null}function Vh(n){return n.name}function Gh(n){for(var e,t=n.next;t!==null&&!(0,Ts.isTag)(t);)e=t,t=e.next;return t}function Kh(n){for(var e,t=n.prev;t!==null&&!(0,Ts.isTag)(t);)e=t,t=e.prev;return t}var kt={};Object.defineProperty(kt,"__esModule",{value:!0});kt.removeElement=or;kt.replaceElement=Jh;kt.appendChild=Xh;kt.append=Zh;kt.prependChild=Qh;kt.prepend=Yh;function or(n){if(n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev),n.parent){var e=n.parent.children,t=e.lastIndexOf(n);t>=0&&e.splice(t,1)}n.next=null,n.prev=null,n.parent=null}function Jh(n,e){var t=e.prev=n.prev;t&&(t.next=e);var r=e.next=n.next;r&&(r.prev=e);var u=e.parent=n.parent;if(u){var i=u.children;i[i.lastIndexOf(n)]=e,n.parent=null}}function Xh(n,e){if(or(e),e.next=null,e.parent=n,n.children.push(e)>1){var t=n.children[n.children.length-2];t.next=e,e.prev=t}else e.prev=null}function Zh(n,e){or(e);var t=n.parent,r=n.next;if(e.next=r,e.prev=n,n.next=e,e.parent=t,r){if(r.prev=e,t){var u=t.children;u.splice(u.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}function Qh(n,e){if(or(e),e.parent=n,e.prev=null,n.children.unshift(e)!==1){var t=n.children[1];t.prev=e,e.next=t}else e.next=null}function Yh(n,e){or(e);var t=n.parent;if(t){var r=t.children;r.splice(r.indexOf(n),0,e)}n.prev&&(n.prev.next=e),e.parent=t,e.prev=n.prev,e.next=n,n.prev=e}var lt={};Object.defineProperty(lt,"__esModule",{value:!0});lt.filter=ep;lt.find=xc;lt.findOneChild=tp;lt.findOne=vc;lt.existsOne=wc;lt.findAll=np;var qt=it;function ep(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),xc(n,Array.isArray(e)?e:[e],t,r)}function xc(n,e,t,r){for(var u=[],i=[Array.isArray(e)?e:[e]],s=[0];;){if(s[0]>=i[0].length){if(s.length===1)return u;i.shift(),s.shift();continue}var o=i[0][s[0]++];if(n(o)&&(u.push(o),--r<=0))return u;t&&(0,qt.hasChildren)(o)&&o.children.length>0&&(s.unshift(0),i.unshift(o.children))}}function tp(n,e){return e.find(n)}function vc(n,e,t){t===void 0&&(t=!0);for(var r=Array.isArray(e)?e:[e],u=0;u<r.length;u++){var i=r[u];if((0,qt.isTag)(i)&&n(i))return i;if(t&&(0,qt.hasChildren)(i)&&i.children.length>0){var s=vc(n,i.children,!0);if(s)return s}}return null}function wc(n,e){return(Array.isArray(e)?e:[e]).some(function(t){return(0,qt.isTag)(t)&&n(t)||(0,qt.hasChildren)(t)&&wc(n,t.children)})}function np(n,e){for(var t=[],r=[Array.isArray(e)?e:[e]],u=[0];;){if(u[0]>=r[0].length){if(r.length===1)return t;r.shift(),u.shift();continue}var i=r[0][u[0]++];(0,qt.isTag)(i)&&n(i)&&t.push(i),(0,qt.hasChildren)(i)&&i.children.length>0&&(u.unshift(0),r.unshift(i.children))}}var ct={};Object.defineProperty(ct,"__esModule",{value:!0});ct.testElement=up;ct.getElements=ip;ct.getElementById=sp;ct.getElementsByTagName=op;ct.getElementsByClassName=ap;ct.getElementsByTagType=lp;var Ot=it,ar=lt,su={tag_name:function(n){return typeof n=="function"?function(e){return(0,Ot.isTag)(e)&&n(e.name)}:n==="*"?Ot.isTag:function(e){return(0,Ot.isTag)(e)&&e.name===n}},tag_type:function(n){return typeof n=="function"?function(e){return n(e.type)}:function(e){return e.type===n}},tag_contains:function(n){return typeof n=="function"?function(e){return(0,Ot.isText)(e)&&n(e.data)}:function(e){return(0,Ot.isText)(e)&&e.data===n}}};function Cs(n,e){return typeof e=="function"?function(t){return(0,Ot.isTag)(t)&&e(t.attribs[n])}:function(t){return(0,Ot.isTag)(t)&&t.attribs[n]===e}}function rp(n,e){return function(t){return n(t)||e(t)}}function Sc(n){var e=Object.keys(n).map(function(t){var r=n[t];return Object.prototype.hasOwnProperty.call(su,t)?su[t](r):Cs(t,r)});return e.length===0?null:e.reduce(rp)}function up(n,e){var t=Sc(n);return t?t(e):!0}function ip(n,e,t,r){r===void 0&&(r=1/0);var u=Sc(n);return u?(0,ar.filter)(u,e,t,r):[]}function sp(n,e,t){return t===void 0&&(t=!0),Array.isArray(e)||(e=[e]),(0,ar.findOne)(Cs("id",n),e,t)}function op(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,ar.filter)(su.tag_name(n),e,t,r)}function ap(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,ar.filter)(Cs("class",n),e,t,r)}function lp(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,ar.filter)(su.tag_type(n),e,t,r)}var Wt={};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.DocumentPosition=void 0;Wt.removeSubsets=cp;Wt.compareDocumentPosition=Tc;Wt.uniqueSort=fp;var na=it;function cp(n){for(var e=n.length;--e>=0;){var t=n[e];if(e>0&&n.lastIndexOf(t,e-1)>=0){n.splice(e,1);continue}for(var r=t.parent;r;r=r.parent)if(n.includes(r)){n.splice(e,1);break}}return n}var Me;(function(n){n[n.DISCONNECTED=1]="DISCONNECTED",n[n.PRECEDING=2]="PRECEDING",n[n.FOLLOWING=4]="FOLLOWING",n[n.CONTAINS=8]="CONTAINS",n[n.CONTAINED_BY=16]="CONTAINED_BY"})(Me||(Wt.DocumentPosition=Me={}));function Tc(n,e){var t=[],r=[];if(n===e)return 0;for(var u=(0,na.hasChildren)(n)?n:n.parent;u;)t.unshift(u),u=u.parent;for(u=(0,na.hasChildren)(e)?e:e.parent;u;)r.unshift(u),u=u.parent;for(var i=Math.min(t.length,r.length),s=0;s<i&&t[s]===r[s];)s++;if(s===0)return Me.DISCONNECTED;var o=t[s-1],a=o.children,l=t[s],f=r[s];return a.indexOf(l)>a.indexOf(f)?o===e?Me.FOLLOWING|Me.CONTAINED_BY:Me.FOLLOWING:o===n?Me.PRECEDING|Me.CONTAINS:Me.PRECEDING}function fp(n){return n=n.filter(function(e,t,r){return!r.includes(e,t+1)}),n.sort(function(e,t){var r=Tc(e,t);return r&Me.PRECEDING?-1:r&Me.FOLLOWING?1:0}),n}var Es={};Object.defineProperty(Es,"__esModule",{value:!0});Es.getFeed=hp;var dp=Et,lr=ct;function hp(n){var e=ou(yp,n);return e?e.name==="feed"?pp(e):gp(e):null}function pp(n){var e,t=n.children,r={type:"atom",items:(0,lr.getElementsByTagName)("entry",t).map(function(s){var o,a=s.children,l={media:Cc(a)};_e(l,"id","id",a),_e(l,"title","title",a);var f=(o=ou("link",a))===null||o===void 0?void 0:o.attribs.href;f&&(l.link=f);var h=yt("summary",a)||yt("content",a);h&&(l.description=h);var c=yt("updated",a);return c&&(l.pubDate=new Date(c)),l})};_e(r,"id","id",t),_e(r,"title","title",t);var u=(e=ou("link",t))===null||e===void 0?void 0:e.attribs.href;u&&(r.link=u),_e(r,"description","subtitle",t);var i=yt("updated",t);return i&&(r.updated=new Date(i)),_e(r,"author","email",t,!0),r}function gp(n){var e,t,r=(t=(e=ou("channel",n.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],u={type:n.name.substr(0,3),id:"",items:(0,lr.getElementsByTagName)("item",n.children).map(function(s){var o=s.children,a={media:Cc(o)};_e(a,"id","guid",o),_e(a,"title","title",o),_e(a,"link","link",o),_e(a,"description","description",o);var l=yt("pubDate",o)||yt("dc:date",o);return l&&(a.pubDate=new Date(l)),a})};_e(u,"title","title",r),_e(u,"link","link",r),_e(u,"description","description",r);var i=yt("lastBuildDate",r);return i&&(u.updated=new Date(i)),_e(u,"author","managingEditor",r,!0),u}var mp=["url","type","lang"],bp=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Cc(n){return(0,lr.getElementsByTagName)("media:content",n).map(function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},u=0,i=mp;u<i.length;u++){var s=i[u];t[s]&&(r[s]=t[s])}for(var o=0,a=bp;o<a.length;o++){var s=a[o];t[s]&&(r[s]=parseInt(t[s],10))}return t.expression&&(r.expression=t.expression),r})}function ou(n,e){return(0,lr.getElementsByTagName)(n,e,!0,1)[0]}function yt(n,e,t){return t===void 0&&(t=!1),(0,dp.textContent)((0,lr.getElementsByTagName)(n,e,t,1)).trim()}function _e(n,e,t,r,u){u===void 0&&(u=!1);var i=yt(t,r,u);i&&(n[e]=i)}function yp(n){return n==="rss"||n==="feed"||n==="rdf:RDF"}(function(n){var e=H&&H.__createBinding||(Object.create?function(u,i,s,o){o===void 0&&(o=s);var a=Object.getOwnPropertyDescriptor(i,s);(!a||("get"in a?!i.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return i[s]}}),Object.defineProperty(u,o,a)}:function(u,i,s,o){o===void 0&&(o=s),u[o]=i[s]}),t=H&&H.__exportStar||function(u,i){for(var s in u)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&e(i,u,s)};Object.defineProperty(n,"__esModule",{value:!0}),n.hasChildren=n.isDocument=n.isComment=n.isText=n.isCDATA=n.isTag=void 0,t(Et,n),t(Ke,n),t(kt,n),t(lt,n),t(ct,n),t(Wt,n),t(Es,n);var r=it;Object.defineProperty(n,"isTag",{enumerable:!0,get:function(){return r.isTag}}),Object.defineProperty(n,"isCDATA",{enumerable:!0,get:function(){return r.isCDATA}}),Object.defineProperty(n,"isText",{enumerable:!0,get:function(){return r.isText}}),Object.defineProperty(n,"isComment",{enumerable:!0,get:function(){return r.isComment}}),Object.defineProperty(n,"isDocument",{enumerable:!0,get:function(){return r.isDocument}}),Object.defineProperty(n,"hasChildren",{enumerable:!0,get:function(){return r.hasChildren}})})(Dr);(function(n){var e=H&&H.__createBinding||(Object.create?function(y,b,x,w){w===void 0&&(w=x);var C=Object.getOwnPropertyDescriptor(b,x);(!C||("get"in C?!b.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return b[x]}}),Object.defineProperty(y,w,C)}:function(y,b,x,w){w===void 0&&(w=x),y[w]=b[x]}),t=H&&H.__setModuleDefault||(Object.create?function(y,b){Object.defineProperty(y,"default",{enumerable:!0,value:b})}:function(y,b){y.default=b}),r=H&&H.__importStar||function(y){if(y&&y.__esModule)return y;var b={};if(y!=null)for(var x in y)x!=="default"&&Object.prototype.hasOwnProperty.call(y,x)&&e(b,y,x);return t(b,y),b},u=H&&H.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(n,"__esModule",{value:!0}),n.DomUtils=n.parseFeed=n.getFeed=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DefaultHandler=n.DomHandler=n.Parser=void 0;var i=qn,s=qn;Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return s.Parser}});var o=it,a=it;Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return a.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return a.DomHandler}});function l(y,b){var x=new o.DomHandler(void 0,b);return new i.Parser(x,b).end(y),x.root}n.parseDocument=l;function f(y,b){return l(y,b).children}n.parseDOM=f;function h(y,b,x){var w=new o.DomHandler(y,b,x);return new i.Parser(w,b)}n.createDomStream=h;var c=ys;Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return u(c).default}}),n.ElementType=r(gn);var d=Dr,p=Dr;Object.defineProperty(n,"getFeed",{enumerable:!0,get:function(){return p.getFeed}});var m={xmlMode:!0};function g(y,b){return b===void 0&&(b=m),(0,d.getFeed)(f(y,b))}n.parseFeed=g,n.DomUtils=r(Dr)})(ec);var _p=n=>{if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},ks={};Object.defineProperty(ks,"__esModule",{value:!0});/*!
|
|
13
|
+
`?a.insertParagraph():l===" "?a.insertNodes([nr()]):a.insertText(l)}}}else e.insertRawText(i)}function Wo(n,e,t){n.dispatchCommand(v0,{nodes:e,selection:t})||t.insertNodes(e)}function nc(n,e,t,r=[]){let u=e===null||t.isSelected(e);const i=E(t)&&t.excludeFromCopy("html");let s=t;if(e!==null){let l=hs(t);l=M(l)&&e!==null?Pl(e,l):l,s=l}const o=E(s)?s.getChildren():[],a=function(l){const f=l.exportJSON(),h=l.constructor;if(f.type!==h.getType()&&su(58,h.name),E(l)){const c=f.children;Array.isArray(c)||su(59,h.name)}return f}(s);if(M(s)){const l=s.__text;l.length>0?a.text=l:u=!1}for(let l=0;l<o.length;l++){const f=o[l],h=nc(n,e,f,a.children);!u&&E(t)&&h&&t.extractWithChild(f,e,"clone")&&(u=!0)}if(u&&!i)r.push(a);else if(Array.isArray(a.children))for(let l=0;l<a.children.length;l++){const f=a.children[l];r.push(f)}return u}function Qd(n,e){const t=[],r=ce().getChildren();for(let u=0;u<r.length;u++)nc(n,e,r[u],t);return{namespace:n._config.namespace,nodes:t}}function Yd(n){const e=[];for(let t=0;t<n.length;t++){const r=n[t],u=Lf(r);M(u)&&qf(u),e.push(u)}return e}let Gt=null;async function Ho(n,e,t){if(Gt!==null)return!1;if(e!==null)return new Promise((a,l)=>{n.update(()=>{a(Vo(n,e,t))})});const r=n.getRootElement(),u=n._window==null?window.document:n._window.document,i=Oe(n._window);if(r===null||i===null)return!1;const s=u.createElement("span");s.style.cssText="position: fixed; top: -1000px;",s.append(u.createTextNode("#")),r.append(s);const o=new Range;return o.setStart(s,0),o.setEnd(s,1),i.removeAllRanges(),i.addRange(o),new Promise((a,l)=>{const f=n.registerCommand(bu,h=>(bt(h,ClipboardEvent)&&(f(),Gt!==null&&(window.clearTimeout(Gt),Gt=null),a(Vo(n,h,t))),!0),Mf);Gt=window.setTimeout(()=>{f(),Gt=null,a(!1)},50),u.execCommand("copy"),s.remove()})}function Vo(n,e,t){if(t===void 0){const u=Oe(n._window);if(!u)return!1;const i=u.anchorNode,s=u.focusNode;if(i!==null&&s!==null&&!Qn(n,i,s))return!1;const o=j();if(o===null)return!1;t=th(o)}e.preventDefault();const r=e.clipboardData;return r!==null&&(nh(r,t),!0)}const eh=[["text/html",Xd],["application/x-lexical-editor",Zd]];function th(n=j()){const e={"text/plain":n?n.getTextContent():""};if(n){const t=df();for(const[r,u]of eh){const i=u(t,n);i!==null&&(e[r]=i)}}return e}function nh(n,e){for(const t in e){const r=e[t];r!==void 0&&n.setData(t,r)}}function Go(n,e){if(document.caretRangeFromPoint!==void 0){const t=document.caretRangeFromPoint(n,e);return t===null?null:{node:t.startContainer,offset:t.startOffset}}if(document.caretPositionFromPoint!=="undefined"){const t=document.caretPositionFromPoint(n,e);return t===null?null:{node:t.offsetNode,offset:t.offset}}return null}const gn=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0,rh=gn&&"documentMode"in document?document.documentMode:null,uh=!(!gn||!("InputEvent"in window)||rh)&&"getTargetRanges"in new window.InputEvent("input"),ih=gn&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),Ko=gn&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,sh=gn&&/^(?=.*Chrome).*/i.test(navigator.userAgent),oh=gn&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!sh,Jo=dn();function wr(n){let e=null;if(bt(n,DragEvent)?e=n.dataTransfer:bt(n,ClipboardEvent)&&(e=n.clipboardData),e===null)return[!1,[],!1];const t=e.types,r=t.includes("Files"),u=t.includes("text/html")||t.includes("text/plain");return[r,Array.from(e.files),u]}function Xo(n){const e=j();if(!L(e))return!1;const t=new Set,r=e.getNodes();for(let u=0;u<r.length;u++){const i=r[u],s=i.getKey();if(t.has(s))continue;const o=Au(i,l=>E(l)&&!l.isInline());if(o===null)continue;const a=o.getKey();o.canIndent()&&!t.has(a)&&(t.add(a),n(o))}return t.size>0}function Sr(n){const e=sn(n);return re(e)}function ah(n){return at(n.registerCommand(Oa,e=>{const t=j();return!!Ne(t)&&(t.clear(),!0)},0),n.registerCommand(It,e=>{const t=j();return!!L(t)&&(t.deleteCharacter(e),!0)},Q),n.registerCommand(Rn,e=>{const t=j();return!!L(t)&&(t.deleteWord(e),!0)},Q),n.registerCommand(Bn,e=>{const t=j();return!!L(t)&&(t.deleteLine(e),!0)},Q),n.registerCommand(tn,e=>{const t=j();if(typeof e=="string")t!==null&&t.insertText(e);else{if(t===null)return!1;const r=e.dataTransfer;if(r!=null)$o(r,t,n);else if(L(t)){const u=e.data;return u&&t.insertText(u),!0}}return!0},Q),n.registerCommand(ui,()=>{const e=j();return!!L(e)&&(e.removeText(),!0)},Q),n.registerCommand(Ge,e=>{const t=j();return!!L(t)&&(t.formatText(e),!0)},Q),n.registerCommand(A0,e=>{const t=j();if(!L(t)&&!Ne(t))return!1;const r=t.getNodes();for(const u of r){const i=Au(u,s=>E(s)&&!s.isInline());i!==null&&i.setFormat(e)}return!0},Q),n.registerCommand(en,e=>{const t=j();return!!L(t)&&(t.insertLineBreak(e),!0)},Q),n.registerCommand(Mn,()=>{const e=j();return!!L(e)&&(e.insertParagraph(),!0)},Q),n.registerCommand(k0,()=>(ms([nr()]),!0),Q),n.registerCommand(N0,()=>Xo(e=>{const t=e.getIndent();e.setIndent(t+1)}),Q),n.registerCommand(Ws,()=>Xo(e=>{const t=e.getIndent();t>0&&e.setIndent(t-1)}),Q),n.registerCommand(La,e=>{const t=j();if(Ne(t)&&!Sr(e.target)){const r=t.getNodes();if(r.length>0)return r[0].selectPrevious(),!0}else if(L(t)){const r=Fn(t.focus,!0);if(!e.shiftKey&&re(r)&&!r.isIsolated()&&!r.isInline())return r.selectPrevious(),e.preventDefault(),!0}return!1},Q),n.registerCommand(Da,e=>{const t=j();if(Ne(t)){const r=t.getNodes();if(r.length>0)return r[0].selectNext(0,0),!0}else if(L(t)){if(function(u){const i=u.focus;return i.key==="root"&&i.offset===ce().getChildrenSize()}(t))return e.preventDefault(),!0;const r=Fn(t.focus,!1);if(!e.shiftKey&&re(r)&&!r.isIsolated()&&!r.isInline())return r.selectNext(),e.preventDefault(),!0}return!1},Q),n.registerCommand(Pa,e=>{const t=j();if(Ne(t)){const r=t.getNodes();if(r.length>0)return e.preventDefault(),r[0].selectPrevious(),!0}if(!L(t))return!1;if(Ao(t,!0)){const r=e.shiftKey;return e.preventDefault(),Oo(t,r,!0),!0}return!1},Q),n.registerCommand(Ia,e=>{const t=j();if(Ne(t)&&!Sr(e.target)){const u=t.getNodes();if(u.length>0)return e.preventDefault(),u[0].selectNext(0,0),!0}if(!L(t))return!1;const r=e.shiftKey;return!!Ao(t,!1)&&(e.preventDefault(),Oo(t,r,!1),!0)},Q),n.registerCommand(Ma,e=>{if(Sr(e.target))return!1;const t=j();if(!L(t))return!1;const{anchor:r}=t,u=r.getNode();return t.isCollapsed()&&r.offset===0&&!ye(u)&&Gf(u).getIndent()>0?(e.preventDefault(),n.dispatchCommand(Ws,void 0)):(!Ko||navigator.language!=="ko-KR")&&(e.preventDefault(),n.dispatchCommand(It,!0))},Q),n.registerCommand(Ba,e=>{if(Sr(e.target))return!1;const t=j();return!!L(t)&&(e.preventDefault(),n.dispatchCommand(It,!1))},Q),n.registerCommand(Ur,e=>{const t=j();if(!L(t))return!1;if(e!==null){if((Ko||ih||oh)&&uh)return!1;if(e.preventDefault(),e.shiftKey)return n.dispatchCommand(en,!1)}return n.dispatchCommand(Mn,void 0)},Q),n.registerCommand(Ra,()=>{const e=j();return!!L(e)&&(n.blur(),!0)},Q),n.registerCommand(Fa,e=>{const[,t]=wr(e);if(t.length>0){const u=Go(e.clientX,e.clientY);if(u!==null){const{offset:i,node:s}=u,o=sn(s);if(o!==null){const a=Af();if(M(o))a.anchor.set(o.getKey(),i,"text"),a.focus.set(o.getKey(),i,"text");else{const f=o.getParentOrThrow().getKey(),h=o.getIndexWithinParent()+1;a.anchor.set(f,h,"element"),a.focus.set(f,h,"element")}const l=Ka(a);Ae(l)}n.dispatchCommand(Jo,t)}return e.preventDefault(),!0}const r=j();return!!L(r)},Q),n.registerCommand(ja,e=>{const[t]=wr(e),r=j();return!(t&&!L(r))},Q),n.registerCommand(qa,e=>{const[t]=wr(e),r=j();if(t&&!L(r))return!1;const u=Go(e.clientX,e.clientY);if(u!==null){const i=sn(u.node);re(i)&&e.preventDefault()}return!0},Q),n.registerCommand(ii,()=>(af(),!0),Q),n.registerCommand(bu,e=>(Ho(n,bt(e,ClipboardEvent)?e:null),!0),Q),n.registerCommand(Xi,e=>(async function(t,r){await Ho(r,bt(t,ClipboardEvent)?t:null),r.update(()=>{const u=j();L(u)?u.removeText():Ne(u)&&u.getNodes().forEach(i=>i.remove())})}(e,n),!0),Q),n.registerCommand(mu,e=>{const[,t,r]=wr(e);return t.length>0&&!r?(n.dispatchCommand(Jo,t),!0):ss(e.target)?!1:j()!==null&&(function(u,i){u.preventDefault(),i.update(()=>{const s=j(),o=bt(u,InputEvent)||bt(u,KeyboardEvent)?null:u.clipboardData;o!=null&&s!==null&&$o(o,s,i)},{tag:"paste"})}(e,n),!0)},Q))}const ki=typeof window<"u"&&window.document!==void 0&&window.document.createElement!==void 0?q.useLayoutEffect:q.useEffect;function Zo(n){return n.getEditorState().read(ec(n.isComposing()))}function lh({contentEditable:n,placeholder:e=null,ErrorBoundary:t}){const[r]=Ie(),u=function(i,s){const[o,a]=q.useState(()=>i.getDecorators());return ki(()=>i.registerDecoratorListener(l=>{zs.flushSync(()=>{a(l)})}),[i]),q.useEffect(()=>{a(i.getDecorators())},[i]),q.useMemo(()=>{const l=[],f=Object.keys(o);for(let h=0;h<f.length;h++){const c=f[h],d=$.jsx(s,{onError:m=>i._onError(m),children:$.jsx(q.Suspense,{fallback:null,children:o[c]})}),p=i.getElementByKey(c);p!==null&&l.push(zs.createPortal(d,p,c))}return l},[s,o,i])}(r,t);return function(i){ki(()=>at(ah(i),Kd(i)),[i])}(r),$.jsxs($.Fragment,{children:[n,$.jsx(ch,{content:e}),u]})}function ch({content:n}){const[e]=Ie(),t=function(u){const[i,s]=q.useState(()=>Zo(u));return ki(()=>{function o(){const a=Zo(u);s(a)}return o(),at(u.registerUpdateListener(()=>{o()}),u.registerEditableListener(()=>{o()}))},[u]),i}(e),r=Gd();return t?typeof n=="function"?n(r):n:null}var H=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fh(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function dh(n){if(n.__esModule)return n;var e=n.default;if(typeof e=="function"){var t=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(n).forEach(function(r){var u=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:function(){return n[r]}})}),t}var rc={},zn={},ws={},$n={},Ss={};Object.defineProperty(Ss,"__esModule",{value:!0});Ss.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(function(n){return n.charCodeAt(0)}));var Ts={};Object.defineProperty(Ts,"__esModule",{value:!0});Ts.default=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(function(n){return n.charCodeAt(0)}));var Ni={};(function(n){var e;Object.defineProperty(n,"__esModule",{value:!0}),n.replaceCodePoint=n.fromCodePoint=void 0;var t=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);n.fromCodePoint=(e=String.fromCodePoint)!==null&&e!==void 0?e:function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function r(i){var s;return i>=55296&&i<=57343||i>1114111?65533:(s=t.get(i))!==null&&s!==void 0?s:i}n.replaceCodePoint=r;function u(i){return(0,n.fromCodePoint)(r(i))}n.default=u})(Ni);(function(n){var e=H&&H.__createBinding||(Object.create?function(v,N,O,B){B===void 0&&(B=O);var _=Object.getOwnPropertyDescriptor(N,O);(!_||("get"in _?!N.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return N[O]}}),Object.defineProperty(v,B,_)}:function(v,N,O,B){B===void 0&&(B=O),v[B]=N[O]}),t=H&&H.__setModuleDefault||(Object.create?function(v,N){Object.defineProperty(v,"default",{enumerable:!0,value:N})}:function(v,N){v.default=N}),r=H&&H.__importStar||function(v){if(v&&v.__esModule)return v;var N={};if(v!=null)for(var O in v)O!=="default"&&Object.prototype.hasOwnProperty.call(v,O)&&e(N,v,O);return t(N,v),N},u=H&&H.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(n,"__esModule",{value:!0}),n.decodeXML=n.decodeHTMLStrict=n.decodeHTMLAttribute=n.decodeHTML=n.determineBranch=n.EntityDecoder=n.DecodingMode=n.BinTrieFlags=n.fromCodePoint=n.replaceCodePoint=n.decodeCodePoint=n.xmlDecodeTree=n.htmlDecodeTree=void 0;var i=u(Ss);n.htmlDecodeTree=i.default;var s=u(Ts);n.xmlDecodeTree=s.default;var o=r(Ni);n.decodeCodePoint=o.default;var a=Ni;Object.defineProperty(n,"replaceCodePoint",{enumerable:!0,get:function(){return a.replaceCodePoint}}),Object.defineProperty(n,"fromCodePoint",{enumerable:!0,get:function(){return a.fromCodePoint}});var l;(function(v){v[v.NUM=35]="NUM",v[v.SEMI=59]="SEMI",v[v.EQUALS=61]="EQUALS",v[v.ZERO=48]="ZERO",v[v.NINE=57]="NINE",v[v.LOWER_A=97]="LOWER_A",v[v.LOWER_F=102]="LOWER_F",v[v.LOWER_X=120]="LOWER_X",v[v.LOWER_Z=122]="LOWER_Z",v[v.UPPER_A=65]="UPPER_A",v[v.UPPER_F=70]="UPPER_F",v[v.UPPER_Z=90]="UPPER_Z"})(l||(l={}));var f=32,h;(function(v){v[v.VALUE_LENGTH=49152]="VALUE_LENGTH",v[v.BRANCH_LENGTH=16256]="BRANCH_LENGTH",v[v.JUMP_TABLE=127]="JUMP_TABLE"})(h=n.BinTrieFlags||(n.BinTrieFlags={}));function c(v){return v>=l.ZERO&&v<=l.NINE}function d(v){return v>=l.UPPER_A&&v<=l.UPPER_F||v>=l.LOWER_A&&v<=l.LOWER_F}function p(v){return v>=l.UPPER_A&&v<=l.UPPER_Z||v>=l.LOWER_A&&v<=l.LOWER_Z||c(v)}function m(v){return v===l.EQUALS||p(v)}var g;(function(v){v[v.EntityStart=0]="EntityStart",v[v.NumericStart=1]="NumericStart",v[v.NumericDecimal=2]="NumericDecimal",v[v.NumericHex=3]="NumericHex",v[v.NamedEntity=4]="NamedEntity"})(g||(g={}));var y;(function(v){v[v.Legacy=0]="Legacy",v[v.Strict=1]="Strict",v[v.Attribute=2]="Attribute"})(y=n.DecodingMode||(n.DecodingMode={}));var b=function(){function v(N,O,B){this.decodeTree=N,this.emitCodePoint=O,this.errors=B,this.state=g.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=y.Strict}return v.prototype.startEntity=function(N){this.decodeMode=N,this.state=g.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},v.prototype.write=function(N,O){switch(this.state){case g.EntityStart:return N.charCodeAt(O)===l.NUM?(this.state=g.NumericStart,this.consumed+=1,this.stateNumericStart(N,O+1)):(this.state=g.NamedEntity,this.stateNamedEntity(N,O));case g.NumericStart:return this.stateNumericStart(N,O);case g.NumericDecimal:return this.stateNumericDecimal(N,O);case g.NumericHex:return this.stateNumericHex(N,O);case g.NamedEntity:return this.stateNamedEntity(N,O)}},v.prototype.stateNumericStart=function(N,O){return O>=N.length?-1:(N.charCodeAt(O)|f)===l.LOWER_X?(this.state=g.NumericHex,this.consumed+=1,this.stateNumericHex(N,O+1)):(this.state=g.NumericDecimal,this.stateNumericDecimal(N,O))},v.prototype.addToNumericResult=function(N,O,B,_){if(O!==B){var I=B-O;this.result=this.result*Math.pow(_,I)+parseInt(N.substr(O,I),_),this.consumed+=I}},v.prototype.stateNumericHex=function(N,O){for(var B=O;O<N.length;){var _=N.charCodeAt(O);if(c(_)||d(_))O+=1;else return this.addToNumericResult(N,B,O,16),this.emitNumericEntity(_,3)}return this.addToNumericResult(N,B,O,16),-1},v.prototype.stateNumericDecimal=function(N,O){for(var B=O;O<N.length;){var _=N.charCodeAt(O);if(c(_))O+=1;else return this.addToNumericResult(N,B,O,10),this.emitNumericEntity(_,2)}return this.addToNumericResult(N,B,O,10),-1},v.prototype.emitNumericEntity=function(N,O){var B;if(this.consumed<=O)return(B=this.errors)===null||B===void 0||B.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(N===l.SEMI)this.consumed+=1;else if(this.decodeMode===y.Strict)return 0;return this.emitCodePoint((0,o.replaceCodePoint)(this.result),this.consumed),this.errors&&(N!==l.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed},v.prototype.stateNamedEntity=function(N,O){for(var B=this.decodeTree,_=B[this.treeIndex],I=(_&h.VALUE_LENGTH)>>14;O<N.length;O++,this.excess++){var A=N.charCodeAt(O);if(this.treeIndex=w(B,_,this.treeIndex+Math.max(1,I),A),this.treeIndex<0)return this.result===0||this.decodeMode===y.Attribute&&(I===0||m(A))?0:this.emitNotTerminatedNamedEntity();if(_=B[this.treeIndex],I=(_&h.VALUE_LENGTH)>>14,I!==0){if(A===l.SEMI)return this.emitNamedEntityData(this.treeIndex,I,this.consumed+this.excess);this.decodeMode!==y.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},v.prototype.emitNotTerminatedNamedEntity=function(){var N,O=this,B=O.result,_=O.decodeTree,I=(_[B]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(B,I,this.consumed),(N=this.errors)===null||N===void 0||N.missingSemicolonAfterCharacterReference(),this.consumed},v.prototype.emitNamedEntityData=function(N,O,B){var _=this.decodeTree;return this.emitCodePoint(O===1?_[N]&~h.VALUE_LENGTH:_[N+1],B),O===3&&this.emitCodePoint(_[N+2],B),B},v.prototype.end=function(){var N;switch(this.state){case g.NamedEntity:return this.result!==0&&(this.decodeMode!==y.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case g.NumericDecimal:return this.emitNumericEntity(0,2);case g.NumericHex:return this.emitNumericEntity(0,3);case g.NumericStart:return(N=this.errors)===null||N===void 0||N.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case g.EntityStart:return 0}},v}();n.EntityDecoder=b;function x(v){var N="",O=new b(v,function(B){return N+=(0,o.fromCodePoint)(B)});return function(_,I){for(var A=0,U=0;(U=_.indexOf("&",U))>=0;){N+=_.slice(A,U),O.startEntity(I);var Z=O.write(_,U+1);if(Z<0){A=U+O.end();break}A=U+Z,U=Z===0?A+1:A}var Y=N+_.slice(A);return N="",Y}}function w(v,N,O,B){var _=(N&h.BRANCH_LENGTH)>>7,I=N&h.JUMP_TABLE;if(_===0)return I!==0&&B===I?O:-1;if(I){var A=B-I;return A<0||A>=_?-1:v[O+A]-1}for(var U=O,Z=U+_-1;U<=Z;){var Y=U+Z>>>1,ft=v[Y];if(ft<B)U=Y+1;else if(ft>B)Z=Y-1;else return v[Y+_]}return-1}n.determineBranch=w;var C=x(i.default),T=x(s.default);function k(v,N){return N===void 0&&(N=y.Legacy),C(v,N)}n.decodeHTML=k;function S(v){return C(v,y.Attribute)}n.decodeHTMLAttribute=S;function P(v){return C(v,y.Strict)}n.decodeHTMLStrict=P;function z(v){return T(v,y.Strict)}n.decodeXML=z})($n);(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.QuoteType=void 0;var e=$n,t;(function(c){c[c.Tab=9]="Tab",c[c.NewLine=10]="NewLine",c[c.FormFeed=12]="FormFeed",c[c.CarriageReturn=13]="CarriageReturn",c[c.Space=32]="Space",c[c.ExclamationMark=33]="ExclamationMark",c[c.Number=35]="Number",c[c.Amp=38]="Amp",c[c.SingleQuote=39]="SingleQuote",c[c.DoubleQuote=34]="DoubleQuote",c[c.Dash=45]="Dash",c[c.Slash=47]="Slash",c[c.Zero=48]="Zero",c[c.Nine=57]="Nine",c[c.Semi=59]="Semi",c[c.Lt=60]="Lt",c[c.Eq=61]="Eq",c[c.Gt=62]="Gt",c[c.Questionmark=63]="Questionmark",c[c.UpperA=65]="UpperA",c[c.LowerA=97]="LowerA",c[c.UpperF=70]="UpperF",c[c.LowerF=102]="LowerF",c[c.UpperZ=90]="UpperZ",c[c.LowerZ=122]="LowerZ",c[c.LowerX=120]="LowerX",c[c.OpeningSquareBracket=91]="OpeningSquareBracket"})(t||(t={}));var r;(function(c){c[c.Text=1]="Text",c[c.BeforeTagName=2]="BeforeTagName",c[c.InTagName=3]="InTagName",c[c.InSelfClosingTag=4]="InSelfClosingTag",c[c.BeforeClosingTagName=5]="BeforeClosingTagName",c[c.InClosingTagName=6]="InClosingTagName",c[c.AfterClosingTagName=7]="AfterClosingTagName",c[c.BeforeAttributeName=8]="BeforeAttributeName",c[c.InAttributeName=9]="InAttributeName",c[c.AfterAttributeName=10]="AfterAttributeName",c[c.BeforeAttributeValue=11]="BeforeAttributeValue",c[c.InAttributeValueDq=12]="InAttributeValueDq",c[c.InAttributeValueSq=13]="InAttributeValueSq",c[c.InAttributeValueNq=14]="InAttributeValueNq",c[c.BeforeDeclaration=15]="BeforeDeclaration",c[c.InDeclaration=16]="InDeclaration",c[c.InProcessingInstruction=17]="InProcessingInstruction",c[c.BeforeComment=18]="BeforeComment",c[c.CDATASequence=19]="CDATASequence",c[c.InSpecialComment=20]="InSpecialComment",c[c.InCommentLike=21]="InCommentLike",c[c.BeforeSpecialS=22]="BeforeSpecialS",c[c.SpecialStartSequence=23]="SpecialStartSequence",c[c.InSpecialTag=24]="InSpecialTag",c[c.BeforeEntity=25]="BeforeEntity",c[c.BeforeNumericEntity=26]="BeforeNumericEntity",c[c.InNamedEntity=27]="InNamedEntity",c[c.InNumericEntity=28]="InNumericEntity",c[c.InHexEntity=29]="InHexEntity"})(r||(r={}));function u(c){return c===t.Space||c===t.NewLine||c===t.Tab||c===t.FormFeed||c===t.CarriageReturn}function i(c){return c===t.Slash||c===t.Gt||u(c)}function s(c){return c>=t.Zero&&c<=t.Nine}function o(c){return c>=t.LowerA&&c<=t.LowerZ||c>=t.UpperA&&c<=t.UpperZ}function a(c){return c>=t.UpperA&&c<=t.UpperF||c>=t.LowerA&&c<=t.LowerF}var l;(function(c){c[c.NoValue=0]="NoValue",c[c.Unquoted=1]="Unquoted",c[c.Single=2]="Single",c[c.Double=3]="Double"})(l=n.QuoteType||(n.QuoteType={}));var f={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},h=function(){function c(d,p){var m=d.xmlMode,g=m===void 0?!1:m,y=d.decodeEntities,b=y===void 0?!0:y;this.cbs=p,this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=g,this.decodeEntities=b,this.entityTrie=g?e.xmlDecodeTree:e.htmlDecodeTree}return c.prototype.reset=function(){this.state=r.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=r.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},c.prototype.write=function(d){this.offset+=this.buffer.length,this.buffer=d,this.parse()},c.prototype.end=function(){this.running&&this.finish()},c.prototype.pause=function(){this.running=!1},c.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},c.prototype.getIndex=function(){return this.index},c.prototype.getSectionStart=function(){return this.sectionStart},c.prototype.stateText=function(d){d===t.Lt||!this.decodeEntities&&this.fastForwardTo(t.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=r.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&d===t.Amp&&(this.state=r.BeforeEntity)},c.prototype.stateSpecialStartSequence=function(d){var p=this.sequenceIndex===this.currentSequence.length,m=p?i(d):(d|32)===this.currentSequence[this.sequenceIndex];if(!m)this.isSpecial=!1;else if(!p){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=r.InTagName,this.stateInTagName(d)},c.prototype.stateInSpecialTag=function(d){if(this.sequenceIndex===this.currentSequence.length){if(d===t.Gt||u(d)){var p=this.index-this.currentSequence.length;if(this.sectionStart<p){var m=this.index;this.index=p,this.cbs.ontext(this.sectionStart,p),this.index=m}this.isSpecial=!1,this.sectionStart=p+2,this.stateInClosingTagName(d);return}this.sequenceIndex=0}(d|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===f.TitleEnd?this.decodeEntities&&d===t.Amp&&(this.state=r.BeforeEntity):this.fastForwardTo(t.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(d===t.Lt)},c.prototype.stateCDATASequence=function(d){d===f.Cdata[this.sequenceIndex]?++this.sequenceIndex===f.Cdata.length&&(this.state=r.InCommentLike,this.currentSequence=f.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=r.InDeclaration,this.stateInDeclaration(d))},c.prototype.fastForwardTo=function(d){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===d)return!0;return this.index=this.buffer.length+this.offset-1,!1},c.prototype.stateInCommentLike=function(d){d===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=r.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):d!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},c.prototype.isTagStartChar=function(d){return this.xmlMode?!i(d):o(d)},c.prototype.startSpecial=function(d,p){this.isSpecial=!0,this.currentSequence=d,this.sequenceIndex=p,this.state=r.SpecialStartSequence},c.prototype.stateBeforeTagName=function(d){if(d===t.ExclamationMark)this.state=r.BeforeDeclaration,this.sectionStart=this.index+1;else if(d===t.Questionmark)this.state=r.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(d)){var p=d|32;this.sectionStart=this.index,!this.xmlMode&&p===f.TitleEnd[2]?this.startSpecial(f.TitleEnd,3):this.state=!this.xmlMode&&p===f.ScriptEnd[2]?r.BeforeSpecialS:r.InTagName}else d===t.Slash?this.state=r.BeforeClosingTagName:(this.state=r.Text,this.stateText(d))},c.prototype.stateInTagName=function(d){i(d)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d))},c.prototype.stateBeforeClosingTagName=function(d){u(d)||(d===t.Gt?this.state=r.Text:(this.state=this.isTagStartChar(d)?r.InClosingTagName:r.InSpecialComment,this.sectionStart=this.index))},c.prototype.stateInClosingTagName=function(d){(d===t.Gt||u(d))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterClosingTagName,this.stateAfterClosingTagName(d))},c.prototype.stateAfterClosingTagName=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeAttributeName=function(d){d===t.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=r.InSpecialTag,this.sequenceIndex=0):this.state=r.Text,this.baseState=this.state,this.sectionStart=this.index+1):d===t.Slash?this.state=r.InSelfClosingTag:u(d)||(this.state=r.InAttributeName,this.sectionStart=this.index)},c.prototype.stateInSelfClosingTag=function(d){d===t.Gt?(this.cbs.onselfclosingtag(this.index),this.state=r.Text,this.baseState=r.Text,this.sectionStart=this.index+1,this.isSpecial=!1):u(d)||(this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d))},c.prototype.stateInAttributeName=function(d){(d===t.Eq||i(d))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=r.AfterAttributeName,this.stateAfterAttributeName(d))},c.prototype.stateAfterAttributeName=function(d){d===t.Eq?this.state=r.BeforeAttributeValue:d===t.Slash||d===t.Gt?(this.cbs.onattribend(l.NoValue,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d)):u(d)||(this.cbs.onattribend(l.NoValue,this.index),this.state=r.InAttributeName,this.sectionStart=this.index)},c.prototype.stateBeforeAttributeValue=function(d){d===t.DoubleQuote?(this.state=r.InAttributeValueDq,this.sectionStart=this.index+1):d===t.SingleQuote?(this.state=r.InAttributeValueSq,this.sectionStart=this.index+1):u(d)||(this.sectionStart=this.index,this.state=r.InAttributeValueNq,this.stateInAttributeValueNoQuotes(d))},c.prototype.handleInAttributeValue=function(d,p){d===p||!this.decodeEntities&&this.fastForwardTo(p)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(p===t.DoubleQuote?l.Double:l.Single,this.index),this.state=r.BeforeAttributeName):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},c.prototype.stateInAttributeValueDoubleQuotes=function(d){this.handleInAttributeValue(d,t.DoubleQuote)},c.prototype.stateInAttributeValueSingleQuotes=function(d){this.handleInAttributeValue(d,t.SingleQuote)},c.prototype.stateInAttributeValueNoQuotes=function(d){u(d)||d===t.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(l.Unquoted,this.index),this.state=r.BeforeAttributeName,this.stateBeforeAttributeName(d)):this.decodeEntities&&d===t.Amp&&(this.baseState=this.state,this.state=r.BeforeEntity)},c.prototype.stateBeforeDeclaration=function(d){d===t.OpeningSquareBracket?(this.state=r.CDATASequence,this.sequenceIndex=0):this.state=d===t.Dash?r.BeforeComment:r.InDeclaration},c.prototype.stateInDeclaration=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},c.prototype.stateInProcessingInstruction=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=r.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeComment=function(d){d===t.Dash?(this.state=r.InCommentLike,this.currentSequence=f.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=r.InDeclaration},c.prototype.stateInSpecialComment=function(d){(d===t.Gt||this.fastForwardTo(t.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=r.Text,this.sectionStart=this.index+1)},c.prototype.stateBeforeSpecialS=function(d){var p=d|32;p===f.ScriptEnd[3]?this.startSpecial(f.ScriptEnd,4):p===f.StyleEnd[3]?this.startSpecial(f.StyleEnd,4):(this.state=r.InTagName,this.stateInTagName(d))},c.prototype.stateBeforeEntity=function(d){this.entityExcess=1,this.entityResult=0,d===t.Number?this.state=r.BeforeNumericEntity:d===t.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=r.InNamedEntity,this.stateInNamedEntity(d))},c.prototype.stateInNamedEntity=function(d){if(this.entityExcess+=1,this.trieIndex=(0,e.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,d),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var p=this.trieCurrent&e.BinTrieFlags.VALUE_LENGTH;if(p){var m=(p>>14)-1;if(!this.allowLegacyEntity()&&d!==t.Semi)this.trieIndex+=m;else{var g=this.index-this.entityExcess+1;g>this.sectionStart&&this.emitPartial(this.sectionStart,g),this.entityResult=this.trieIndex,this.trieIndex+=m,this.entityExcess=0,this.sectionStart=this.index+1,m===0&&this.emitNamedEntity()}}},c.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var d=(this.entityTrie[this.entityResult]&e.BinTrieFlags.VALUE_LENGTH)>>14;switch(d){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~e.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},c.prototype.stateBeforeNumericEntity=function(d){(d|32)===t.LowerX?(this.entityExcess++,this.state=r.InHexEntity):(this.state=r.InNumericEntity,this.stateInNumericEntity(d))},c.prototype.emitNumericEntity=function(d){var p=this.index-this.entityExcess-1,m=p+2+ +(this.state===r.InHexEntity);m!==this.index&&(p>this.sectionStart&&this.emitPartial(this.sectionStart,p),this.sectionStart=this.index+Number(d),this.emitCodePoint((0,e.replaceCodePoint)(this.entityResult))),this.state=this.baseState},c.prototype.stateInNumericEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):s(d)?(this.entityResult=this.entityResult*10+(d-t.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.stateInHexEntity=function(d){d===t.Semi?this.emitNumericEntity(!0):s(d)?(this.entityResult=this.entityResult*16+(d-t.Zero),this.entityExcess++):a(d)?(this.entityResult=this.entityResult*16+((d|32)-t.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},c.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===r.Text||this.baseState===r.InSpecialTag)},c.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===r.Text||this.state===r.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===r.InAttributeValueDq||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},c.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},c.prototype.parse=function(){for(;this.shouldContinue();){var d=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case r.Text:{this.stateText(d);break}case r.SpecialStartSequence:{this.stateSpecialStartSequence(d);break}case r.InSpecialTag:{this.stateInSpecialTag(d);break}case r.CDATASequence:{this.stateCDATASequence(d);break}case r.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(d);break}case r.InAttributeName:{this.stateInAttributeName(d);break}case r.InCommentLike:{this.stateInCommentLike(d);break}case r.InSpecialComment:{this.stateInSpecialComment(d);break}case r.BeforeAttributeName:{this.stateBeforeAttributeName(d);break}case r.InTagName:{this.stateInTagName(d);break}case r.InClosingTagName:{this.stateInClosingTagName(d);break}case r.BeforeTagName:{this.stateBeforeTagName(d);break}case r.AfterAttributeName:{this.stateAfterAttributeName(d);break}case r.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(d);break}case r.BeforeAttributeValue:{this.stateBeforeAttributeValue(d);break}case r.BeforeClosingTagName:{this.stateBeforeClosingTagName(d);break}case r.AfterClosingTagName:{this.stateAfterClosingTagName(d);break}case r.BeforeSpecialS:{this.stateBeforeSpecialS(d);break}case r.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(d);break}case r.InSelfClosingTag:{this.stateInSelfClosingTag(d);break}case r.InDeclaration:{this.stateInDeclaration(d);break}case r.BeforeDeclaration:{this.stateBeforeDeclaration(d);break}case r.BeforeComment:{this.stateBeforeComment(d);break}case r.InProcessingInstruction:{this.stateInProcessingInstruction(d);break}case r.InNamedEntity:{this.stateInNamedEntity(d);break}case r.BeforeEntity:{this.stateBeforeEntity(d);break}case r.InHexEntity:{this.stateInHexEntity(d);break}case r.InNumericEntity:{this.stateInNumericEntity(d);break}default:this.stateBeforeNumericEntity(d)}this.index++}this.cleanup()},c.prototype.finish=function(){this.state===r.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},c.prototype.handleTrailingData=function(){var d=this.buffer.length+this.offset;this.state===r.InCommentLike?this.currentSequence===f.CdataEnd?this.cbs.oncdata(this.sectionStart,d,0):this.cbs.oncomment(this.sectionStart,d,0):this.state===r.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===r.InTagName||this.state===r.BeforeAttributeName||this.state===r.BeforeAttributeValue||this.state===r.AfterAttributeName||this.state===r.InAttributeName||this.state===r.InAttributeValueSq||this.state===r.InAttributeValueDq||this.state===r.InAttributeValueNq||this.state===r.InClosingTagName||this.cbs.ontext(this.sectionStart,d)},c.prototype.emitPartial=function(d,p){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribdata(d,p):this.cbs.ontext(d,p)},c.prototype.emitCodePoint=function(d){this.baseState!==r.Text&&this.baseState!==r.InSpecialTag?this.cbs.onattribentity(d):this.cbs.ontextentity(d)},c}();n.default=h})(ws);var hh=H&&H.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var u=Object.getOwnPropertyDescriptor(e,t);(!u||("get"in u?!e.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,u)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),ph=H&&H.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),gh=H&&H.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&hh(e,n,t);return ph(e,n),e};Object.defineProperty(zn,"__esModule",{value:!0});zn.Parser=void 0;var Tr=gh(ws),Qo=$n,Kt=new Set(["input","option","optgroup","select","button","datalist","textarea"]),ne=new Set(["p"]),Yo=new Set(["thead","tbody"]),ea=new Set(["dd","dt"]),ta=new Set(["rt","rp"]),mh=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",ne],["h1",ne],["h2",ne],["h3",ne],["h4",ne],["h5",ne],["h6",ne],["select",Kt],["input",Kt],["output",Kt],["button",Kt],["datalist",Kt],["textarea",Kt],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",ea],["dt",ea],["address",ne],["article",ne],["aside",ne],["blockquote",ne],["details",ne],["div",ne],["dl",ne],["fieldset",ne],["figcaption",ne],["figure",ne],["footer",ne],["form",ne],["header",ne],["hr",ne],["main",ne],["nav",ne],["ol",ne],["pre",ne],["section",ne],["table",ne],["ul",ne],["rt",ta],["rp",ta],["tbody",Yo],["tfoot",Yo]]),bh=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),na=new Set(["math","svg"]),ra=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),yh=/\s|\//,_h=function(){function n(e,t){t===void 0&&(t={});var r,u,i,s,o;this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=e??{},this.lowerCaseTagNames=(r=t.lowerCaseTags)!==null&&r!==void 0?r:!t.xmlMode,this.lowerCaseAttributeNames=(u=t.lowerCaseAttributeNames)!==null&&u!==void 0?u:!t.xmlMode,this.tokenizer=new((i=t.Tokenizer)!==null&&i!==void 0?i:Tr.default)(this.options,this),(o=(s=this.cbs).onparserinit)===null||o===void 0||o.call(s,this)}return n.prototype.ontext=function(e,t){var r,u,i=this.getSlice(e,t);this.endIndex=t-1,(u=(r=this.cbs).ontext)===null||u===void 0||u.call(r,i),this.startIndex=t},n.prototype.ontextentity=function(e){var t,r,u=this.tokenizer.getSectionStart();this.endIndex=u-1,(r=(t=this.cbs).ontext)===null||r===void 0||r.call(t,(0,Qo.fromCodePoint)(e)),this.startIndex=u},n.prototype.isVoidElement=function(e){return!this.options.xmlMode&&bh.has(e)},n.prototype.onopentagname=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)},n.prototype.emitOpenTag=function(e){var t,r,u,i;this.openTagStart=this.startIndex,this.tagname=e;var s=!this.options.xmlMode&&mh.get(e);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){var o=this.stack.pop();(r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,o,!0)}this.isVoidElement(e)||(this.stack.push(e),na.has(e)?this.foreignContext.push(!0):ra.has(e)&&this.foreignContext.push(!1)),(i=(u=this.cbs).onopentagname)===null||i===void 0||i.call(u,e),this.cbs.onopentag&&(this.attribs={})},n.prototype.endOpenTag=function(e){var t,r;this.startIndex=this.openTagStart,this.attribs&&((r=(t=this.cbs).onopentag)===null||r===void 0||r.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},n.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},n.prototype.onclosetag=function(e,t){var r,u,i,s,o,a;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(na.has(l)||ra.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((u=(r=this.cbs).onopentagname)===null||u===void 0||u.call(r,"br"),(s=(i=this.cbs).onopentag)===null||s===void 0||s.call(i,"br",{},!0),(a=(o=this.cbs).onclosetag)===null||a===void 0||a.call(o,"br",!1));else{var f=this.stack.lastIndexOf(l);if(f!==-1)if(this.cbs.onclosetag)for(var h=this.stack.length-f;h--;)this.cbs.onclosetag(this.stack.pop(),h!==0);else this.stack.length=f;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},n.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},n.prototype.closeCurrentTag=function(e){var t,r,u=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===u&&((r=(t=this.cbs).onclosetag)===null||r===void 0||r.call(t,u,!e),this.stack.pop())},n.prototype.onattribname=function(e,t){this.startIndex=e;var r=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r},n.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},n.prototype.onattribentity=function(e){this.attribvalue+=(0,Qo.fromCodePoint)(e)},n.prototype.onattribend=function(e,t){var r,u;this.endIndex=t,(u=(r=this.cbs).onattribute)===null||u===void 0||u.call(r,this.attribname,this.attribvalue,e===Tr.QuoteType.Double?'"':e===Tr.QuoteType.Single?"'":e===Tr.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},n.prototype.getInstructionName=function(e){var t=e.search(yh),r=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},n.prototype.ondeclaration=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var u=this.getInstructionName(r);this.cbs.onprocessinginstruction("!".concat(u),"!".concat(r))}this.startIndex=t+1},n.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var r=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var u=this.getInstructionName(r);this.cbs.onprocessinginstruction("?".concat(u),"?".concat(r))}this.startIndex=t+1},n.prototype.oncomment=function(e,t,r){var u,i,s,o;this.endIndex=t,(i=(u=this.cbs).oncomment)===null||i===void 0||i.call(u,this.getSlice(e,t-r)),(o=(s=this.cbs).oncommentend)===null||o===void 0||o.call(s),this.startIndex=t+1},n.prototype.oncdata=function(e,t,r){var u,i,s,o,a,l,f,h,c,d;this.endIndex=t;var p=this.getSlice(e,t-r);this.options.xmlMode||this.options.recognizeCDATA?((i=(u=this.cbs).oncdatastart)===null||i===void 0||i.call(u),(o=(s=this.cbs).ontext)===null||o===void 0||o.call(s,p),(l=(a=this.cbs).oncdataend)===null||l===void 0||l.call(a)):((h=(f=this.cbs).oncomment)===null||h===void 0||h.call(f,"[CDATA[".concat(p,"]]")),(d=(c=this.cbs).oncommentend)===null||d===void 0||d.call(c)),this.startIndex=t+1},n.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}(t=(e=this.cbs).onend)===null||t===void 0||t.call(e)},n.prototype.reset=function(){var e,t,r,u;(t=(e=this.cbs).onreset)===null||t===void 0||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(u=(r=this.cbs).onparserinit)===null||u===void 0||u.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},n.prototype.parseComplete=function(e){this.reset(),this.end(e)},n.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var r=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,t-this.bufferOffset);return r},n.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},n.prototype.write=function(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".write() after done!"));return}this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++)},n.prototype.end=function(e){var t,r;if(this.ended){(r=(t=this.cbs).onerror)===null||r===void 0||r.call(t,new Error(".end() after done!"));return}e&&this.write(e),this.ended=!0,this.tokenizer.end()},n.prototype.pause=function(){this.tokenizer.pause()},n.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},n.prototype.parseChunk=function(e){this.write(e)},n.prototype.done=function(e){this.end(e)},n}();zn.Parser=_h;var it={},mn={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.Doctype=n.CDATA=n.Tag=n.Style=n.Script=n.Comment=n.Directive=n.Text=n.Root=n.isTag=n.ElementType=void 0;var e;(function(r){r.Root="root",r.Text="text",r.Directive="directive",r.Comment="comment",r.Script="script",r.Style="style",r.Tag="tag",r.CDATA="cdata",r.Doctype="doctype"})(e=n.ElementType||(n.ElementType={}));function t(r){return r.type===e.Tag||r.type===e.Script||r.type===e.Style}n.isTag=t,n.Root=e.Root,n.Text=e.Text,n.Directive=e.Directive,n.Comment=e.Comment,n.Script=e.Script,n.Style=e.Style,n.Tag=e.Tag,n.CDATA=e.CDATA,n.Doctype=e.Doctype})(mn);var K={},Ct=H&&H.__extends||function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,u){r.__proto__=u}||function(r,u){for(var i in u)Object.prototype.hasOwnProperty.call(u,i)&&(r[i]=u[i])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Dn=H&&H.__assign||function(){return Dn=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u])}return n},Dn.apply(this,arguments)};Object.defineProperty(K,"__esModule",{value:!0});K.cloneNode=K.hasChildren=K.isDocument=K.isDirective=K.isComment=K.isText=K.isCDATA=K.isTag=K.Element=K.Document=K.CDATA=K.NodeWithChildren=K.ProcessingInstruction=K.Comment=K.Text=K.DataNode=K.Node=void 0;var Te=mn,Cs=function(){function n(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(n.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),n.prototype.cloneNode=function(e){return e===void 0&&(e=!1),Es(this,e)},n}();K.Node=Cs;var Iu=function(n){Ct(e,n);function e(t){var r=n.call(this)||this;return r.data=t,r}return Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t},enumerable:!1,configurable:!0}),e}(Cs);K.DataNode=Iu;var uc=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Te.ElementType.Text,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(Iu);K.Text=uc;var ic=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Te.ElementType.Comment,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(Iu);K.Comment=ic;var sc=function(n){Ct(e,n);function e(t,r){var u=n.call(this,r)||this;return u.name=t,u.type=Te.ElementType.Directive,u}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(Iu);K.ProcessingInstruction=sc;var Pu=function(n){Ct(e,n);function e(t){var r=n.call(this)||this;return r.children=t,r}return Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(Cs);K.NodeWithChildren=Pu;var oc=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Te.ElementType.CDATA,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(Pu);K.CDATA=oc;var ac=function(n){Ct(e,n);function e(){var t=n!==null&&n.apply(this,arguments)||this;return t.type=Te.ElementType.Root,t}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(Pu);K.Document=ac;var lc=function(n){Ct(e,n);function e(t,r,u,i){u===void 0&&(u=[]),i===void 0&&(i=t==="script"?Te.ElementType.Script:t==="style"?Te.ElementType.Style:Te.ElementType.Tag);var s=n.call(this,u)||this;return s.name=t,s.attribs=r,s.type=i,s}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map(function(r){var u,i;return{name:r,value:t.attribs[r],namespace:(u=t["x-attribsNamespace"])===null||u===void 0?void 0:u[r],prefix:(i=t["x-attribsPrefix"])===null||i===void 0?void 0:i[r]}})},enumerable:!1,configurable:!0}),e}(Pu);K.Element=lc;function cc(n){return(0,Te.isTag)(n)}K.isTag=cc;function fc(n){return n.type===Te.ElementType.CDATA}K.isCDATA=fc;function dc(n){return n.type===Te.ElementType.Text}K.isText=dc;function hc(n){return n.type===Te.ElementType.Comment}K.isComment=hc;function pc(n){return n.type===Te.ElementType.Directive}K.isDirective=pc;function gc(n){return n.type===Te.ElementType.Root}K.isDocument=gc;function xh(n){return Object.prototype.hasOwnProperty.call(n,"children")}K.hasChildren=xh;function Es(n,e){e===void 0&&(e=!1);var t;if(dc(n))t=new uc(n.data);else if(hc(n))t=new ic(n.data);else if(cc(n)){var r=e?Qu(n.children):[],u=new lc(n.name,Dn({},n.attribs),r);r.forEach(function(a){return a.parent=u}),n.namespace!=null&&(u.namespace=n.namespace),n["x-attribsNamespace"]&&(u["x-attribsNamespace"]=Dn({},n["x-attribsNamespace"])),n["x-attribsPrefix"]&&(u["x-attribsPrefix"]=Dn({},n["x-attribsPrefix"])),t=u}else if(fc(n)){var r=e?Qu(n.children):[],i=new oc(r);r.forEach(function(l){return l.parent=i}),t=i}else if(gc(n)){var r=e?Qu(n.children):[],s=new ac(r);r.forEach(function(l){return l.parent=s}),n["x-mode"]&&(s["x-mode"]=n["x-mode"]),t=s}else if(pc(n)){var o=new sc(n.name,n.data);n["x-name"]!=null&&(o["x-name"]=n["x-name"],o["x-publicId"]=n["x-publicId"],o["x-systemId"]=n["x-systemId"]),t=o}else throw new Error("Not implemented yet: ".concat(n.type));return t.startIndex=n.startIndex,t.endIndex=n.endIndex,n.sourceCodeLocation!=null&&(t.sourceCodeLocation=n.sourceCodeLocation),t}K.cloneNode=Es;function Qu(n){for(var e=n.map(function(r){return Es(r,!0)}),t=1;t<e.length;t++)e[t].prev=e[t-1],e[t-1].next=e[t];return e}(function(n){var e=H&&H.__createBinding||(Object.create?function(o,a,l,f){f===void 0&&(f=l);var h=Object.getOwnPropertyDescriptor(a,l);(!h||("get"in h?!a.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return a[l]}}),Object.defineProperty(o,f,h)}:function(o,a,l,f){f===void 0&&(f=l),o[f]=a[l]}),t=H&&H.__exportStar||function(o,a){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&e(a,o,l)};Object.defineProperty(n,"__esModule",{value:!0}),n.DomHandler=void 0;var r=mn,u=K;t(K,n);var i={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},s=function(){function o(a,l,f){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof l=="function"&&(f=l,l=i),typeof a=="object"&&(l=a,a=void 0),this.callback=a??null,this.options=l??i,this.elementCB=f??null}return o.prototype.onparserinit=function(a){this.parser=a},o.prototype.onreset=function(){this.dom=[],this.root=new u.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},o.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},o.prototype.onerror=function(a){this.handleCallback(a)},o.prototype.onclosetag=function(){this.lastNode=null;var a=this.tagStack.pop();this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(a)},o.prototype.onopentag=function(a,l){var f=this.options.xmlMode?r.ElementType.Tag:void 0,h=new u.Element(a,l,void 0,f);this.addNode(h),this.tagStack.push(h)},o.prototype.ontext=function(a){var l=this.lastNode;if(l&&l.type===r.ElementType.Text)l.data+=a,this.options.withEndIndices&&(l.endIndex=this.parser.endIndex);else{var f=new u.Text(a);this.addNode(f),this.lastNode=f}},o.prototype.oncomment=function(a){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment){this.lastNode.data+=a;return}var l=new u.Comment(a);this.addNode(l),this.lastNode=l},o.prototype.oncommentend=function(){this.lastNode=null},o.prototype.oncdatastart=function(){var a=new u.Text(""),l=new u.CDATA([a]);this.addNode(l),a.parent=l,this.lastNode=a},o.prototype.oncdataend=function(){this.lastNode=null},o.prototype.onprocessinginstruction=function(a,l){var f=new u.ProcessingInstruction(a,l);this.addNode(f)},o.prototype.handleCallback=function(a){if(typeof this.callback=="function")this.callback(a,this.dom);else if(a)throw a},o.prototype.addNode=function(a){var l=this.tagStack[this.tagStack.length-1],f=l.children[l.children.length-1];this.options.withStartIndices&&(a.startIndex=this.parser.startIndex),this.options.withEndIndices&&(a.endIndex=this.parser.endIndex),l.children.push(a),f&&(a.prev=f,f.next=a),a.parent=l,this.lastNode=null},o}();n.DomHandler=s,n.default=s})(it);var Br={},Et={},ar={},mc={},jt={},ks={};Object.defineProperty(ks,"__esModule",{value:!0});function Cr(n){for(var e=1;e<n.length;e++)n[e][0]+=n[e-1][0]+1;return n}ks.default=new Map(Cr([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(Cr([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(Cr([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(Cr([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));var ou={};(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.escapeText=n.escapeAttribute=n.escapeUTF8=n.escape=n.encodeXML=n.getCodePoint=n.xmlReplacer=void 0,n.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var e=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);n.getCodePoint=String.prototype.codePointAt!=null?function(u,i){return u.codePointAt(i)}:function(u,i){return(u.charCodeAt(i)&64512)===55296?(u.charCodeAt(i)-55296)*1024+u.charCodeAt(i+1)-56320+65536:u.charCodeAt(i)};function t(u){for(var i="",s=0,o;(o=n.xmlReplacer.exec(u))!==null;){var a=o.index,l=u.charCodeAt(a),f=e.get(l);f!==void 0?(i+=u.substring(s,a)+f,s=a+1):(i+="".concat(u.substring(s,a),"&#x").concat((0,n.getCodePoint)(u,a).toString(16),";"),s=n.xmlReplacer.lastIndex+=+((l&64512)===55296))}return i+u.substr(s)}n.encodeXML=t,n.escape=t;function r(u,i){return function(o){for(var a,l=0,f="";a=u.exec(o);)l!==a.index&&(f+=o.substring(l,a.index)),f+=i.get(a[0].charCodeAt(0)),l=a.index+1;return f+o.substring(l)}}n.escapeUTF8=r(/[&<>'"]/g,e),n.escapeAttribute=r(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),n.escapeText=r(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))})(ou);var vh=H&&H.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(jt,"__esModule",{value:!0});jt.encodeNonAsciiHTML=jt.encodeHTML=void 0;var wh=vh(ks),bc=ou,Sh=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function Th(n){return yc(Sh,n)}jt.encodeHTML=Th;function Ch(n){return yc(bc.xmlReplacer,n)}jt.encodeNonAsciiHTML=Ch;function yc(n,e){for(var t="",r=0,u;(u=n.exec(e))!==null;){var i=u.index;t+=e.substring(r,i);var s=e.charCodeAt(i),o=wh.default.get(s);if(typeof o=="object"){if(i+1<e.length){var a=e.charCodeAt(i+1),l=typeof o.n=="number"?o.n===a?o.o:void 0:o.n.get(a);if(l!==void 0){t+=l,r=n.lastIndex+=1;continue}}o=o.v}if(o!==void 0)t+=o,r=i+1;else{var f=(0,bc.getCodePoint)(e,i);t+="&#x".concat(f.toString(16),";"),r=n.lastIndex+=+(f!==s)}}return t+e.substr(r)}(function(n){Object.defineProperty(n,"__esModule",{value:!0}),n.decodeXMLStrict=n.decodeHTML5Strict=n.decodeHTML4Strict=n.decodeHTML5=n.decodeHTML4=n.decodeHTMLAttribute=n.decodeHTMLStrict=n.decodeHTML=n.decodeXML=n.DecodingMode=n.EntityDecoder=n.encodeHTML5=n.encodeHTML4=n.encodeNonAsciiHTML=n.encodeHTML=n.escapeText=n.escapeAttribute=n.escapeUTF8=n.escape=n.encodeXML=n.encode=n.decodeStrict=n.decode=n.EncodingMode=n.EntityLevel=void 0;var e=$n,t=jt,r=ou,u;(function(c){c[c.XML=0]="XML",c[c.HTML=1]="HTML"})(u=n.EntityLevel||(n.EntityLevel={}));var i;(function(c){c[c.UTF8=0]="UTF8",c[c.ASCII=1]="ASCII",c[c.Extensive=2]="Extensive",c[c.Attribute=3]="Attribute",c[c.Text=4]="Text"})(i=n.EncodingMode||(n.EncodingMode={}));function s(c,d){d===void 0&&(d=u.XML);var p=typeof d=="number"?d:d.level;if(p===u.HTML){var m=typeof d=="object"?d.mode:void 0;return(0,e.decodeHTML)(c,m)}return(0,e.decodeXML)(c)}n.decode=s;function o(c,d){var p;d===void 0&&(d=u.XML);var m=typeof d=="number"?{level:d}:d;return(p=m.mode)!==null&&p!==void 0||(m.mode=e.DecodingMode.Strict),s(c,m)}n.decodeStrict=o;function a(c,d){d===void 0&&(d=u.XML);var p=typeof d=="number"?{level:d}:d;return p.mode===i.UTF8?(0,r.escapeUTF8)(c):p.mode===i.Attribute?(0,r.escapeAttribute)(c):p.mode===i.Text?(0,r.escapeText)(c):p.level===u.HTML?p.mode===i.ASCII?(0,t.encodeNonAsciiHTML)(c):(0,t.encodeHTML)(c):(0,r.encodeXML)(c)}n.encode=a;var l=ou;Object.defineProperty(n,"encodeXML",{enumerable:!0,get:function(){return l.encodeXML}}),Object.defineProperty(n,"escape",{enumerable:!0,get:function(){return l.escape}}),Object.defineProperty(n,"escapeUTF8",{enumerable:!0,get:function(){return l.escapeUTF8}}),Object.defineProperty(n,"escapeAttribute",{enumerable:!0,get:function(){return l.escapeAttribute}}),Object.defineProperty(n,"escapeText",{enumerable:!0,get:function(){return l.escapeText}});var f=jt;Object.defineProperty(n,"encodeHTML",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(n,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return f.encodeNonAsciiHTML}}),Object.defineProperty(n,"encodeHTML4",{enumerable:!0,get:function(){return f.encodeHTML}}),Object.defineProperty(n,"encodeHTML5",{enumerable:!0,get:function(){return f.encodeHTML}});var h=$n;Object.defineProperty(n,"EntityDecoder",{enumerable:!0,get:function(){return h.EntityDecoder}}),Object.defineProperty(n,"DecodingMode",{enumerable:!0,get:function(){return h.DecodingMode}}),Object.defineProperty(n,"decodeXML",{enumerable:!0,get:function(){return h.decodeXML}}),Object.defineProperty(n,"decodeHTML",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(n,"decodeHTMLStrict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(n,"decodeHTMLAttribute",{enumerable:!0,get:function(){return h.decodeHTMLAttribute}}),Object.defineProperty(n,"decodeHTML4",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(n,"decodeHTML5",{enumerable:!0,get:function(){return h.decodeHTML}}),Object.defineProperty(n,"decodeHTML4Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(n,"decodeHTML5Strict",{enumerable:!0,get:function(){return h.decodeHTMLStrict}}),Object.defineProperty(n,"decodeXMLStrict",{enumerable:!0,get:function(){return h.decodeXML}})})(mc);var on={};Object.defineProperty(on,"__esModule",{value:!0});on.attributeNames=on.elementNames=void 0;on.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(function(n){return[n.toLowerCase(),n]}));on.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(function(n){return[n.toLowerCase(),n]}));var Yt=H&&H.__assign||function(){return Yt=Object.assign||function(n){for(var e,t=1,r=arguments.length;t<r;t++){e=arguments[t];for(var u in e)Object.prototype.hasOwnProperty.call(e,u)&&(n[u]=e[u])}return n},Yt.apply(this,arguments)},Eh=H&&H.__createBinding||(Object.create?function(n,e,t,r){r===void 0&&(r=t);var u=Object.getOwnPropertyDescriptor(e,t);(!u||("get"in u?!e.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(n,r,u)}:function(n,e,t,r){r===void 0&&(r=t),n[r]=e[t]}),kh=H&&H.__setModuleDefault||(Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e}),Nh=H&&H.__importStar||function(n){if(n&&n.__esModule)return n;var e={};if(n!=null)for(var t in n)t!=="default"&&Object.prototype.hasOwnProperty.call(n,t)&&Eh(e,n,t);return kh(e,n),e};Object.defineProperty(ar,"__esModule",{value:!0});ar.render=void 0;var Qe=Nh(mn),au=mc,_c=on,Ah=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);function Oh(n){return n.replace(/"/g,""")}function Ih(n,e){var t;if(n){var r=((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)===!1?Oh:e.xmlMode||e.encodeEntities!=="utf8"?au.encodeXML:au.escapeAttribute;return Object.keys(n).map(function(u){var i,s,o=(i=n[u])!==null&&i!==void 0?i:"";return e.xmlMode==="foreign"&&(u=(s=_c.attributeNames.get(u))!==null&&s!==void 0?s:u),!e.emptyAttrs&&!e.xmlMode&&o===""?u:"".concat(u,'="').concat(r(o),'"')}).join(" ")}}var ua=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function Lu(n,e){e===void 0&&(e={});for(var t=("length"in n)?n:[n],r="",u=0;u<t.length;u++)r+=Ph(t[u],e);return r}ar.render=Lu;ar.default=Lu;function Ph(n,e){switch(n.type){case Qe.Root:return Lu(n.children,e);case Qe.Doctype:case Qe.Directive:return Rh(n);case Qe.Comment:return jh(n);case Qe.CDATA:return Fh(n);case Qe.Script:case Qe.Style:case Qe.Tag:return Mh(n,e);case Qe.Text:return Bh(n,e)}}var Lh=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),Dh=new Set(["svg","math"]);function Mh(n,e){var t;e.xmlMode==="foreign"&&(n.name=(t=_c.elementNames.get(n.name))!==null&&t!==void 0?t:n.name,n.parent&&Lh.has(n.parent.name)&&(e=Yt(Yt({},e),{xmlMode:!1}))),!e.xmlMode&&Dh.has(n.name)&&(e=Yt(Yt({},e),{xmlMode:"foreign"}));var r="<".concat(n.name),u=Ih(n.attribs,e);return u&&(r+=" ".concat(u)),n.children.length===0&&(e.xmlMode?e.selfClosingTags!==!1:e.selfClosingTags&&ua.has(n.name))?(e.xmlMode||(r+=" "),r+="/>"):(r+=">",n.children.length>0&&(r+=Lu(n.children,e)),(e.xmlMode||!ua.has(n.name))&&(r+="</".concat(n.name,">"))),r}function Rh(n){return"<".concat(n.data,">")}function Bh(n,e){var t,r=n.data||"";return((t=e.encodeEntities)!==null&&t!==void 0?t:e.decodeEntities)!==!1&&!(!e.xmlMode&&n.parent&&Ah.has(n.parent.name))&&(r=e.xmlMode||e.encodeEntities!=="utf8"?(0,au.encodeXML)(r):(0,au.escapeText)(r)),r}function Fh(n){return"<![CDATA[".concat(n.children[0].data,"]]>")}function jh(n){return"<!--".concat(n.data,"-->")}var qh=H&&H.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Et,"__esModule",{value:!0});Et.getOuterHTML=xc;Et.getInnerHTML=$h;Et.getText=Fr;Et.textContent=Ai;Et.innerText=Oi;var Ke=it,Uh=qh(ar),zh=mn;function xc(n,e){return(0,Uh.default)(n,e)}function $h(n,e){return(0,Ke.hasChildren)(n)?n.children.map(function(t){return xc(t,e)}).join(""):""}function Fr(n){return Array.isArray(n)?n.map(Fr).join(""):(0,Ke.isTag)(n)?n.name==="br"?`
|
|
14
|
+
`:Fr(n.children):(0,Ke.isCDATA)(n)?Fr(n.children):(0,Ke.isText)(n)?n.data:""}function Ai(n){return Array.isArray(n)?n.map(Ai).join(""):(0,Ke.hasChildren)(n)&&!(0,Ke.isComment)(n)?Ai(n.children):(0,Ke.isText)(n)?n.data:""}function Oi(n){return Array.isArray(n)?n.map(Oi).join(""):(0,Ke.hasChildren)(n)&&(n.type===zh.ElementType.Tag||(0,Ke.isCDATA)(n))?Oi(n.children):(0,Ke.isText)(n)?n.data:""}var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0});Xe.getChildren=vc;Xe.getParent=wc;Xe.getSiblings=Wh;Xe.getAttributeValue=Hh;Xe.hasAttrib=Vh;Xe.getName=Gh;Xe.nextElementSibling=Kh;Xe.prevElementSibling=Jh;var Ns=it;function vc(n){return(0,Ns.hasChildren)(n)?n.children:[]}function wc(n){return n.parent||null}function Wh(n){var e,t,r=wc(n);if(r!=null)return vc(r);for(var u=[n],i=n.prev,s=n.next;i!=null;)u.unshift(i),e=i,i=e.prev;for(;s!=null;)u.push(s),t=s,s=t.next;return u}function Hh(n,e){var t;return(t=n.attribs)===null||t===void 0?void 0:t[e]}function Vh(n,e){return n.attribs!=null&&Object.prototype.hasOwnProperty.call(n.attribs,e)&&n.attribs[e]!=null}function Gh(n){return n.name}function Kh(n){for(var e,t=n.next;t!==null&&!(0,Ns.isTag)(t);)e=t,t=e.next;return t}function Jh(n){for(var e,t=n.prev;t!==null&&!(0,Ns.isTag)(t);)e=t,t=e.prev;return t}var kt={};Object.defineProperty(kt,"__esModule",{value:!0});kt.removeElement=lr;kt.replaceElement=Xh;kt.appendChild=Zh;kt.append=Qh;kt.prependChild=Yh;kt.prepend=ep;function lr(n){if(n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev),n.parent){var e=n.parent.children,t=e.lastIndexOf(n);t>=0&&e.splice(t,1)}n.next=null,n.prev=null,n.parent=null}function Xh(n,e){var t=e.prev=n.prev;t&&(t.next=e);var r=e.next=n.next;r&&(r.prev=e);var u=e.parent=n.parent;if(u){var i=u.children;i[i.lastIndexOf(n)]=e,n.parent=null}}function Zh(n,e){if(lr(e),e.next=null,e.parent=n,n.children.push(e)>1){var t=n.children[n.children.length-2];t.next=e,e.prev=t}else e.prev=null}function Qh(n,e){lr(e);var t=n.parent,r=n.next;if(e.next=r,e.prev=n,n.next=e,e.parent=t,r){if(r.prev=e,t){var u=t.children;u.splice(u.lastIndexOf(r),0,e)}}else t&&t.children.push(e)}function Yh(n,e){if(lr(e),e.parent=n,e.prev=null,n.children.unshift(e)!==1){var t=n.children[1];t.prev=e,e.next=t}else e.next=null}function ep(n,e){lr(e);var t=n.parent;if(t){var r=t.children;r.splice(r.indexOf(n),0,e)}n.prev&&(n.prev.next=e),e.parent=t,e.prev=n.prev,e.next=n,n.prev=e}var lt={};Object.defineProperty(lt,"__esModule",{value:!0});lt.filter=tp;lt.find=Sc;lt.findOneChild=np;lt.findOne=Tc;lt.existsOne=Cc;lt.findAll=rp;var qt=it;function tp(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),Sc(n,Array.isArray(e)?e:[e],t,r)}function Sc(n,e,t,r){for(var u=[],i=[Array.isArray(e)?e:[e]],s=[0];;){if(s[0]>=i[0].length){if(s.length===1)return u;i.shift(),s.shift();continue}var o=i[0][s[0]++];if(n(o)&&(u.push(o),--r<=0))return u;t&&(0,qt.hasChildren)(o)&&o.children.length>0&&(s.unshift(0),i.unshift(o.children))}}function np(n,e){return e.find(n)}function Tc(n,e,t){t===void 0&&(t=!0);for(var r=Array.isArray(e)?e:[e],u=0;u<r.length;u++){var i=r[u];if((0,qt.isTag)(i)&&n(i))return i;if(t&&(0,qt.hasChildren)(i)&&i.children.length>0){var s=Tc(n,i.children,!0);if(s)return s}}return null}function Cc(n,e){return(Array.isArray(e)?e:[e]).some(function(t){return(0,qt.isTag)(t)&&n(t)||(0,qt.hasChildren)(t)&&Cc(n,t.children)})}function rp(n,e){for(var t=[],r=[Array.isArray(e)?e:[e]],u=[0];;){if(u[0]>=r[0].length){if(r.length===1)return t;r.shift(),u.shift();continue}var i=r[0][u[0]++];(0,qt.isTag)(i)&&n(i)&&t.push(i),(0,qt.hasChildren)(i)&&i.children.length>0&&(u.unshift(0),r.unshift(i.children))}}var ct={};Object.defineProperty(ct,"__esModule",{value:!0});ct.testElement=ip;ct.getElements=sp;ct.getElementById=op;ct.getElementsByTagName=ap;ct.getElementsByClassName=lp;ct.getElementsByTagType=cp;var Ot=it,cr=lt,lu={tag_name:function(n){return typeof n=="function"?function(e){return(0,Ot.isTag)(e)&&n(e.name)}:n==="*"?Ot.isTag:function(e){return(0,Ot.isTag)(e)&&e.name===n}},tag_type:function(n){return typeof n=="function"?function(e){return n(e.type)}:function(e){return e.type===n}},tag_contains:function(n){return typeof n=="function"?function(e){return(0,Ot.isText)(e)&&n(e.data)}:function(e){return(0,Ot.isText)(e)&&e.data===n}}};function As(n,e){return typeof e=="function"?function(t){return(0,Ot.isTag)(t)&&e(t.attribs[n])}:function(t){return(0,Ot.isTag)(t)&&t.attribs[n]===e}}function up(n,e){return function(t){return n(t)||e(t)}}function Ec(n){var e=Object.keys(n).map(function(t){var r=n[t];return Object.prototype.hasOwnProperty.call(lu,t)?lu[t](r):As(t,r)});return e.length===0?null:e.reduce(up)}function ip(n,e){var t=Ec(n);return t?t(e):!0}function sp(n,e,t,r){r===void 0&&(r=1/0);var u=Ec(n);return u?(0,cr.filter)(u,e,t,r):[]}function op(n,e,t){return t===void 0&&(t=!0),Array.isArray(e)||(e=[e]),(0,cr.findOne)(As("id",n),e,t)}function ap(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,cr.filter)(lu.tag_name(n),e,t,r)}function lp(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,cr.filter)(As("class",n),e,t,r)}function cp(n,e,t,r){return t===void 0&&(t=!0),r===void 0&&(r=1/0),(0,cr.filter)(lu.tag_type(n),e,t,r)}var Wt={};Object.defineProperty(Wt,"__esModule",{value:!0});Wt.DocumentPosition=void 0;Wt.removeSubsets=fp;Wt.compareDocumentPosition=kc;Wt.uniqueSort=dp;var ia=it;function fp(n){for(var e=n.length;--e>=0;){var t=n[e];if(e>0&&n.lastIndexOf(t,e-1)>=0){n.splice(e,1);continue}for(var r=t.parent;r;r=r.parent)if(n.includes(r)){n.splice(e,1);break}}return n}var Me;(function(n){n[n.DISCONNECTED=1]="DISCONNECTED",n[n.PRECEDING=2]="PRECEDING",n[n.FOLLOWING=4]="FOLLOWING",n[n.CONTAINS=8]="CONTAINS",n[n.CONTAINED_BY=16]="CONTAINED_BY"})(Me||(Wt.DocumentPosition=Me={}));function kc(n,e){var t=[],r=[];if(n===e)return 0;for(var u=(0,ia.hasChildren)(n)?n:n.parent;u;)t.unshift(u),u=u.parent;for(u=(0,ia.hasChildren)(e)?e:e.parent;u;)r.unshift(u),u=u.parent;for(var i=Math.min(t.length,r.length),s=0;s<i&&t[s]===r[s];)s++;if(s===0)return Me.DISCONNECTED;var o=t[s-1],a=o.children,l=t[s],f=r[s];return a.indexOf(l)>a.indexOf(f)?o===e?Me.FOLLOWING|Me.CONTAINED_BY:Me.FOLLOWING:o===n?Me.PRECEDING|Me.CONTAINS:Me.PRECEDING}function dp(n){return n=n.filter(function(e,t,r){return!r.includes(e,t+1)}),n.sort(function(e,t){var r=kc(e,t);return r&Me.PRECEDING?-1:r&Me.FOLLOWING?1:0}),n}var Os={};Object.defineProperty(Os,"__esModule",{value:!0});Os.getFeed=pp;var hp=Et,fr=ct;function pp(n){var e=cu(_p,n);return e?e.name==="feed"?gp(e):mp(e):null}function gp(n){var e,t=n.children,r={type:"atom",items:(0,fr.getElementsByTagName)("entry",t).map(function(s){var o,a=s.children,l={media:Nc(a)};xe(l,"id","id",a),xe(l,"title","title",a);var f=(o=cu("link",a))===null||o===void 0?void 0:o.attribs.href;f&&(l.link=f);var h=yt("summary",a)||yt("content",a);h&&(l.description=h);var c=yt("updated",a);return c&&(l.pubDate=new Date(c)),l})};xe(r,"id","id",t),xe(r,"title","title",t);var u=(e=cu("link",t))===null||e===void 0?void 0:e.attribs.href;u&&(r.link=u),xe(r,"description","subtitle",t);var i=yt("updated",t);return i&&(r.updated=new Date(i)),xe(r,"author","email",t,!0),r}function mp(n){var e,t,r=(t=(e=cu("channel",n.children))===null||e===void 0?void 0:e.children)!==null&&t!==void 0?t:[],u={type:n.name.substr(0,3),id:"",items:(0,fr.getElementsByTagName)("item",n.children).map(function(s){var o=s.children,a={media:Nc(o)};xe(a,"id","guid",o),xe(a,"title","title",o),xe(a,"link","link",o),xe(a,"description","description",o);var l=yt("pubDate",o)||yt("dc:date",o);return l&&(a.pubDate=new Date(l)),a})};xe(u,"title","title",r),xe(u,"link","link",r),xe(u,"description","description",r);var i=yt("lastBuildDate",r);return i&&(u.updated=new Date(i)),xe(u,"author","managingEditor",r,!0),u}var bp=["url","type","lang"],yp=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function Nc(n){return(0,fr.getElementsByTagName)("media:content",n).map(function(e){for(var t=e.attribs,r={medium:t.medium,isDefault:!!t.isDefault},u=0,i=bp;u<i.length;u++){var s=i[u];t[s]&&(r[s]=t[s])}for(var o=0,a=yp;o<a.length;o++){var s=a[o];t[s]&&(r[s]=parseInt(t[s],10))}return t.expression&&(r.expression=t.expression),r})}function cu(n,e){return(0,fr.getElementsByTagName)(n,e,!0,1)[0]}function yt(n,e,t){return t===void 0&&(t=!1),(0,hp.textContent)((0,fr.getElementsByTagName)(n,e,t,1)).trim()}function xe(n,e,t,r,u){u===void 0&&(u=!1);var i=yt(t,r,u);i&&(n[e]=i)}function _p(n){return n==="rss"||n==="feed"||n==="rdf:RDF"}(function(n){var e=H&&H.__createBinding||(Object.create?function(u,i,s,o){o===void 0&&(o=s);var a=Object.getOwnPropertyDescriptor(i,s);(!a||("get"in a?!i.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return i[s]}}),Object.defineProperty(u,o,a)}:function(u,i,s,o){o===void 0&&(o=s),u[o]=i[s]}),t=H&&H.__exportStar||function(u,i){for(var s in u)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&e(i,u,s)};Object.defineProperty(n,"__esModule",{value:!0}),n.hasChildren=n.isDocument=n.isComment=n.isText=n.isCDATA=n.isTag=void 0,t(Et,n),t(Xe,n),t(kt,n),t(lt,n),t(ct,n),t(Wt,n),t(Os,n);var r=it;Object.defineProperty(n,"isTag",{enumerable:!0,get:function(){return r.isTag}}),Object.defineProperty(n,"isCDATA",{enumerable:!0,get:function(){return r.isCDATA}}),Object.defineProperty(n,"isText",{enumerable:!0,get:function(){return r.isText}}),Object.defineProperty(n,"isComment",{enumerable:!0,get:function(){return r.isComment}}),Object.defineProperty(n,"isDocument",{enumerable:!0,get:function(){return r.isDocument}}),Object.defineProperty(n,"hasChildren",{enumerable:!0,get:function(){return r.hasChildren}})})(Br);(function(n){var e=H&&H.__createBinding||(Object.create?function(y,b,x,w){w===void 0&&(w=x);var C=Object.getOwnPropertyDescriptor(b,x);(!C||("get"in C?!b.__esModule:C.writable||C.configurable))&&(C={enumerable:!0,get:function(){return b[x]}}),Object.defineProperty(y,w,C)}:function(y,b,x,w){w===void 0&&(w=x),y[w]=b[x]}),t=H&&H.__setModuleDefault||(Object.create?function(y,b){Object.defineProperty(y,"default",{enumerable:!0,value:b})}:function(y,b){y.default=b}),r=H&&H.__importStar||function(y){if(y&&y.__esModule)return y;var b={};if(y!=null)for(var x in y)x!=="default"&&Object.prototype.hasOwnProperty.call(y,x)&&e(b,y,x);return t(b,y),b},u=H&&H.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(n,"__esModule",{value:!0}),n.DomUtils=n.parseFeed=n.getFeed=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DefaultHandler=n.DomHandler=n.Parser=void 0;var i=zn,s=zn;Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return s.Parser}});var o=it,a=it;Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return a.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return a.DomHandler}});function l(y,b){var x=new o.DomHandler(void 0,b);return new i.Parser(x,b).end(y),x.root}n.parseDocument=l;function f(y,b){return l(y,b).children}n.parseDOM=f;function h(y,b,x){var w=new o.DomHandler(y,b,x);return new i.Parser(w,b)}n.createDomStream=h;var c=ws;Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return u(c).default}}),n.ElementType=r(mn);var d=Br,p=Br;Object.defineProperty(n,"getFeed",{enumerable:!0,get:function(){return p.getFeed}});var m={xmlMode:!0};function g(y,b){return b===void 0&&(b=m),(0,d.getFeed)(f(y,b))}n.parseFeed=g,n.DomUtils=r(Br)})(rc);var xp=n=>{if(typeof n!="string")throw new TypeError("Expected a string");return n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},Is={};Object.defineProperty(Is,"__esModule",{value:!0});/*!
|
|
15
15
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
16
16
|
*
|
|
17
17
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
18
18
|
* Released under the MIT License.
|
|
19
|
-
*/function
|
|
20
|
-
`||w==="\f"||w==="\r"}function r(w){var C,T=w.exec(e.substring(g));if(T)return C=T[0],g+=C.length,C}for(var u=e.length,i=/^[ \t\n\r\u000c]+/,s=/^[, \t\n\r\u000c]+/,o=/^[^ \t\n\r\u000c]+/,a=/[,]+$/,l=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h,c,d,p,m,g=0,y=[];;){if(r(s),g>=u)return y;h=r(o),c=[],h.slice(-1)===","?(h=h.replace(a,""),x()):b()}function b(){for(r(i),d="",p="in descriptor";;){if(m=e.charAt(g),p==="in descriptor")if(t(m))d&&(c.push(d),d="",p="after descriptor");else if(m===","){g+=1,d&&c.push(d),x();return}else if(m==="(")d=d+m,p="in parens";else if(m===""){d&&c.push(d),x();return}else d=d+m;else if(p==="in parens")if(m===")")d=d+m,p="in descriptor";else if(m===""){c.push(d),x();return}else d=d+m;else if(p==="after descriptor"&&!t(m))if(m===""){x();return}else p="in descriptor",g-=1;g+=1}}function x(){var w=!1,C,T,
|
|
19
|
+
*/function sa(n){return Object.prototype.toString.call(n)==="[object Object]"}function vp(n){var e,t;return sa(n)===!1?!1:(e=n.constructor,e===void 0?!0:(t=e.prototype,!(sa(t)===!1||t.hasOwnProperty("isPrototypeOf")===!1)))}Is.isPlainObject=vp;var wp=function(e){return Sp(e)&&!Tp(e)};function Sp(n){return!!n&&typeof n=="object"}function Tp(n){var e=Object.prototype.toString.call(n);return e==="[object RegExp]"||e==="[object Date]"||kp(n)}var Cp=typeof Symbol=="function"&&Symbol.for,Ep=Cp?Symbol.for("react.element"):60103;function kp(n){return n.$$typeof===Ep}function Np(n){return Array.isArray(n)?[]:{}}function Wn(n,e){return e.clone!==!1&&e.isMergeableObject(n)?an(Np(n),n,e):n}function Ap(n,e,t){return n.concat(e).map(function(r){return Wn(r,t)})}function Op(n,e){if(!e.customMerge)return an;var t=e.customMerge(n);return typeof t=="function"?t:an}function Ip(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter(function(e){return Object.propertyIsEnumerable.call(n,e)}):[]}function oa(n){return Object.keys(n).concat(Ip(n))}function Ac(n,e){try{return e in n}catch{return!1}}function Pp(n,e){return Ac(n,e)&&!(Object.hasOwnProperty.call(n,e)&&Object.propertyIsEnumerable.call(n,e))}function Lp(n,e,t){var r={};return t.isMergeableObject(n)&&oa(n).forEach(function(u){r[u]=Wn(n[u],t)}),oa(e).forEach(function(u){Pp(n,u)||(Ac(n,u)&&t.isMergeableObject(e[u])?r[u]=Op(u,t)(n[u],e[u],t):r[u]=Wn(e[u],t))}),r}function an(n,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Ap,t.isMergeableObject=t.isMergeableObject||wp,t.cloneUnlessOtherwiseSpecified=Wn;var r=Array.isArray(e),u=Array.isArray(n),i=r===u;return i?r?t.arrayMerge(n,e,t):Lp(n,e,t):Wn(e,t)}an.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(r,u){return an(r,u,t)},{})};var Dp=an,Mp=Dp,Oc={exports:{}};(function(n){(function(e,t){n.exports?n.exports=t():e.parseSrcset=t()})(H,function(){return function(e){function t(w){return w===" "||w===" "||w===`
|
|
20
|
+
`||w==="\f"||w==="\r"}function r(w){var C,T=w.exec(e.substring(g));if(T)return C=T[0],g+=C.length,C}for(var u=e.length,i=/^[ \t\n\r\u000c]+/,s=/^[, \t\n\r\u000c]+/,o=/^[^ \t\n\r\u000c]+/,a=/[,]+$/,l=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,h,c,d,p,m,g=0,y=[];;){if(r(s),g>=u)return y;h=r(o),c=[],h.slice(-1)===","?(h=h.replace(a,""),x()):b()}function b(){for(r(i),d="",p="in descriptor";;){if(m=e.charAt(g),p==="in descriptor")if(t(m))d&&(c.push(d),d="",p="after descriptor");else if(m===","){g+=1,d&&c.push(d),x();return}else if(m==="(")d=d+m,p="in parens";else if(m===""){d&&c.push(d),x();return}else d=d+m;else if(p==="in parens")if(m===")")d=d+m,p="in descriptor";else if(m===""){c.push(d),x();return}else d=d+m;else if(p==="after descriptor"&&!t(m))if(m===""){x();return}else p="in descriptor",g-=1;g+=1}}function x(){var w=!1,C,T,k,S,P={},z,v,N,O,B;for(S=0;S<c.length;S++)z=c[S],v=z[z.length-1],N=z.substring(0,z.length-1),O=parseInt(N,10),B=parseFloat(N),l.test(N)&&v==="w"?((C||T)&&(w=!0),O===0?w=!0:C=O):f.test(N)&&v==="x"?((C||T||k)&&(w=!0),B<0?w=!0:T=B):l.test(N)&&v==="h"?((k||T)&&(w=!0),O===0?w=!0:k=O):w=!0;w?console&&console.log&&console.log("Invalid srcset descriptor found in '"+e+"' at '"+z+"'."):(P.url=h,C&&(P.w=C),T&&(P.d=T),k&&(P.h=k),y.push(P))}}})})(Oc);var Rp=Oc.exports,Ps={exports:{}},V=String,Ic=function(){return{isColorSupported:!1,reset:V,bold:V,dim:V,italic:V,underline:V,inverse:V,hidden:V,strikethrough:V,black:V,red:V,green:V,yellow:V,blue:V,magenta:V,cyan:V,white:V,gray:V,bgBlack:V,bgRed:V,bgGreen:V,bgYellow:V,bgBlue:V,bgMagenta:V,bgCyan:V,bgWhite:V,blackBright:V,redBright:V,greenBright:V,yellowBright:V,blueBright:V,magentaBright:V,cyanBright:V,whiteBright:V,bgBlackBright:V,bgRedBright:V,bgGreenBright:V,bgYellowBright:V,bgBlueBright:V,bgMagentaBright:V,bgCyanBright:V,bgWhiteBright:V}};Ps.exports=Ic();Ps.exports.createColors=Ic;var Bp=Ps.exports;const Fp={},jp=Object.freeze(Object.defineProperty({__proto__:null,default:Fp},Symbol.toStringTag,{value:"Module"})),je=dh(jp);let aa=Bp,la=je,Ii=class Pc extends Error{constructor(e,t,r,u,i,s){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),u&&(this.source=u),s&&(this.plugin=s),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Pc)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=aa.isColorSupported);let r=f=>f,u=f=>f,i=f=>f;if(e){let{bold:f,gray:h,red:c}=aa.createColors(!0);u=d=>f(c(d)),r=d=>h(d),la&&(i=d=>la(d))}let s=t.split(/\r?\n/),o=Math.max(this.line-3,0),a=Math.min(this.line+2,s.length),l=String(a).length;return s.slice(o,a).map((f,h)=>{let c=o+1+h,d=" "+(" "+c).slice(-l)+" | ";if(c===this.line){if(f.length>160){let m=20,g=Math.max(0,this.column-m),y=Math.max(this.column+m,this.endColumn+m),b=f.slice(g,y),x=r(d.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,m-1)).replace(/[^\t]/g," ");return u(">")+r(d)+i(b)+`
|
|
21
21
|
`+x+u("^")}let p=r(d.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+r(d)+i(f)+`
|
|
22
22
|
`+p+u("^")}return" "+r(d)+i(f)}).join(`
|
|
23
23
|
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
24
24
|
|
|
25
25
|
`+e+`
|
|
26
|
-
`),this.name+": "+this.message+e}};var
|
|
26
|
+
`),this.name+": "+this.message+e}};var Ls=Ii;Ii.default=Ii;const ca={after:`
|
|
27
27
|
`,beforeClose:`
|
|
28
28
|
`,beforeComment:`
|
|
29
29
|
`,beforeDecl:`
|
|
30
30
|
`,beforeOpen:" ",beforeRule:`
|
|
31
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function
|
|
32
|
-
`)){let s=this.raw(e,null,"indent");if(s.length)for(let o=0;o<i;o++)r+=s}return r}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let u;e.nodes&&e.nodes.length?(this.body(e),u=this.raw(e,"after")):u=this.raw(e,"after","emptyBody"),u&&this.builder(u),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let r=this.raw(e,"semicolon");for(let u=0;u<e.nodes.length;u++){let i=e.nodes[u],s=this.raw(i,"before");s&&this.builder(s),this.stringify(i,t!==u||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),u=e.prop+r+this.rawValue(e,"value");e.important&&(u+=e.raws.important||" !important"),t&&(u+=";"),this.builder(u,e)}document(e){this.body(e)}raw(e,t,r){let u;if(r||(r=t),t&&(u=e.raws[t],typeof u<"u"))return u;let i=e.parent;if(r==="before"&&(!i||i.type==="root"&&i.first===e||i&&i.type==="document"))return"";if(!i)return
|
|
31
|
+
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function qp(n){return n[0].toUpperCase()+n.slice(1)}let Pi=class{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,u=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:u&&(r+=" "),e.nodes)this.block(e,r+u);else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+u+i,e)}}beforeAfter(e,t){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):t==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let u=e.parent,i=0;for(;u&&u.type!=="root";)i+=1,u=u.parent;if(r.includes(`
|
|
32
|
+
`)){let s=this.raw(e,null,"indent");if(s.length)for(let o=0;o<i;o++)r+=s}return r}block(e,t){let r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start");let u;e.nodes&&e.nodes.length?(this.body(e),u=this.raw(e,"after")):u=this.raw(e,"after","emptyBody"),u&&this.builder(u),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let r=this.raw(e,"semicolon");for(let u=0;u<e.nodes.length;u++){let i=e.nodes[u],s=this.raw(i,"before");s&&this.builder(s),this.stringify(i,t!==u||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),u=e.prop+r+this.rawValue(e,"value");e.important&&(u+=e.raws.important||" !important"),t&&(u+=";"),this.builder(u,e)}document(e){this.body(e)}raw(e,t,r){let u;if(r||(r=t),t&&(u=e.raws[t],typeof u<"u"))return u;let i=e.parent;if(r==="before"&&(!i||i.type==="root"&&i.first===e||i&&i.type==="document"))return"";if(!i)return ca[r];let s=e.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[r]<"u")return s.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(e,r);{let o="raw"+qp(r);this[o]?u=this[o](s,e):s.walk(a=>{if(u=a.raws[t],typeof u<"u")return!1})}return typeof u>"u"&&(u=ca[r]),s.rawCache[r]=u,u}rawBeforeClose(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return t=r.raws.after,t.includes(`
|
|
33
33
|
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(u=>{if(typeof u.raws.before<"u")return r=u.raws.before,r.includes(`
|
|
34
34
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(u=>{if(typeof u.raws.before<"u")return r=u.raws.before,r.includes(`
|
|
35
35
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!=="decl"&&(t=r.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return t=r.raws.before,t.includes(`
|
|
36
36
|
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return t=r.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let u=r.parent;if(u&&u!==e&&u.parent&&u.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(`
|
|
37
|
-
`);return t=i[i.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],u=e.raws[t];return u&&u.value===r?u.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var
|
|
38
|
-
`?(t=1,r+=1):t+=1}return u}let
|
|
39
|
-
`?(t=1,r+=1):t+=1;return{column:t,line:r,offset:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:Qe(t,this.source.start)},u=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:Qe(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let s=t.slice(Qe(t,this.source.start),Qe(t,this.source.end)).indexOf(e.word);s!==-1&&(r=this.positionInside(s),u=this.positionInside(s+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:Qe(t,e.start)}:e.index&&(r=this.positionInside(e.index)),e.end?u={column:e.end.column,line:e.end.line,offset:Qe(t,e.end)}:typeof e.endIndex=="number"?u=this.positionInside(e.endIndex):e.index&&(u=this.positionInside(e.index+1));return(u.line<r.line||u.line===r.line&&u.column<=r.column)&&(u={column:r.column+1,line:r.line,offset:r.offset+1}),{end:u,start:r}}raw(e,t){return new zp().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let u of e)u===this?r=!0:r?(this.parent.insertAfter(t,u),t=u):this.parent.insertBefore(t,u);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},u=t==null;t=t||new Map;let i=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let o=this[s];if(Array.isArray(o))r[s]=o.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,t):a);else if(typeof o=="object"&&o.toJSON)r[s]=o.toJSON(null,t);else if(s==="source"){if(o==null)continue;let a=t.get(o.input);a==null&&(a=i,t.set(o.input,i),i++),r[s]={end:o.end,inputId:a,start:o.start}}else r[s]=o}return u&&(r.inputs=[...t.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=$p){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r={}){let u={node:this};for(let i in r)u[i]=r[i];return e.warn(t,u)}};var Pu=Pi;Pi.default=Pi;let Hp=Pu,Li=class extends Hp{constructor(e){super(e),this.type="comment"}};var Lu=Li;Li.default=Li;let Vp=Pu,Di=class extends Vp{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};var Du=Di;Di.default=Di;let Ic=Lu,Pc=Du,Gp=Pu,{isClean:Lc,my:Dc}=cr,Os,Mc,Rc,Is;function Bc(n){return n.map(e=>(e.nodes&&(e.nodes=Bc(e.nodes)),delete e.source,e))}function Fc(n){if(n[Lc]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)Fc(e)}let st=class jc extends Gp{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let u of r)this.proxyOf.nodes.push(u)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,u;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],u=e(this.proxyOf.nodes[r],r),u!==!1);)this.indexes[t]+=1;return delete this.indexes[t],u}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(u=>typeof u=="function"?(i,s)=>u(i.toProxy(),s):u)):t==="every"||t==="some"?r=>e[t]((u,...i)=>r(u.toProxy(),...i)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),u=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let s of u)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r<i&&(this.indexes[s]=i+u.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),u=r===0?"prepend":!1,i=this.normalize(t,this.proxyOf.nodes[r],u).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r,0,o);let s;for(let o in this.indexes)s=this.indexes[o],r<=s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Bc(Mc(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let u of e)u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let u of e)u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Pc(e)]}else if(e.selector||e.selectors)e=[new Is(e)];else if(e.name)e=[new Os(e)];else if(e.text)e=[new Ic(e)];else throw new Error("Unknown node type in node creation");return e.map(u=>(u[Dc]||jc.rebuild(u),u=u.proxyOf,u.parent&&u.parent.removeChild(u),u[Lc]&&Fc(u),u.raws||(u.raws={}),typeof u.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(u.raws.before=t.raws.before.replace(/\S/g,"")),u.parent=this.proxyOf,u))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let u of r)this.proxyOf.nodes.unshift(u);for(let u in this.indexes)this.indexes[u]=this.indexes[u]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(u=>{t.props&&!t.props.includes(u.prop)||t.fast&&!u.value.includes(t.fast)||(u.value=u.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let u;try{u=e(t,r)}catch(i){throw t.addToError(i)}return u!==!1&&t.walk&&(u=t.walk(e)),u})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,u)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,u)}):this.walk((r,u)=>{if(r.type==="atrule"&&r.name===e)return t(r,u)}):(t=e,this.walk((r,u)=>{if(r.type==="atrule")return t(r,u)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,u)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,u)}):this.walk((r,u)=>{if(r.type==="decl"&&r.prop===e)return t(r,u)}):(t=e,this.walk((r,u)=>{if(r.type==="decl")return t(r,u)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,u)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,u)}):this.walk((r,u)=>{if(r.type==="rule"&&r.selector===e)return t(r,u)}):(t=e,this.walk((r,u)=>{if(r.type==="rule")return t(r,u)}))}};st.registerParse=n=>{Mc=n};st.registerRule=n=>{Is=n};st.registerAtRule=n=>{Os=n};st.registerRoot=n=>{Rc=n};var Ht=st;st.default=st;st.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,Os.prototype):n.type==="rule"?Object.setPrototypeOf(n,Is.prototype):n.type==="decl"?Object.setPrototypeOf(n,Pc.prototype):n.type==="comment"?Object.setPrototypeOf(n,Ic.prototype):n.type==="root"&&Object.setPrototypeOf(n,Rc.prototype),n[Dc]=!0,n.nodes&&n.nodes.forEach(e=>{st.rebuild(e)})};let qc=Ht,au=class extends qc{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var Ps=au;au.default=au;qc.registerAtRule(au);let Kp=Ht,Uc,zc,$n=class extends Kp{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Uc(new zc,this,e).stringify()}};$n.registerLazyResult=n=>{Uc=n};$n.registerProcessor=n=>{zc=n};var Ls=$n;$n.default=$n;let Jp="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Xp=(n=21)=>{let e="",t=n|0;for(;t--;)e+=Jp[Math.random()*64|0];return e};var Zp={nanoid:Xp};let{existsSync:Qp,readFileSync:Yp}=Fe,{dirname:Xu,join:eg}=Fe,{SourceMapConsumer:aa,SourceMapGenerator:la}=Fe;function tg(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}let Mi=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,u=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Xu(this.mapFile)),u&&(this.text=u)}consumer(){return this.consumerCache||(this.consumerCache=new aa(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,u=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/,s=e.match(u)||e.match(i);if(s)return decodeURIComponent(e.substr(s[0].length));let o=e.match(t)||e.match(r);if(o)return tg(e.substr(o[0].length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),u=e.indexOf("*/",r);r>-1&&u>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,u)))}loadFile(e){if(this.root=Xu(e),Qp(e))return this.mapFile=e,Yp(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let u=this.loadFile(r);if(!u)throw new Error("Unable to load previous source map: "+r.toString());return u}}else{if(t instanceof aa)return la.fromSourceMap(t).toString();if(t instanceof la)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=eg(Xu(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var $c=Mi;Mi.default=Mi;let{nanoid:ng}=Zp,{isAbsolute:Ri,resolve:Bi}=Fe,{SourceMapConsumer:rg,SourceMapGenerator:ug}=Fe,{fileURLToPath:ca,pathToFileURL:Sr}=Fe,fa=As,ig=$c,Zu=Fe,Qu=Symbol("lineToIndexCache"),sg=!!(rg&&ug),da=!!(Bi&&Ri);function ha(n){if(n[Qu])return n[Qu];let e=n.css.split(`
|
|
40
|
-
`),t=new Array(e.length),r=0;for(let u=0,i=e.length;u<i;u++)t[u]=r,r+=e[u].length+1;return n[
|
|
41
|
-
`," "];return
|
|
37
|
+
`);return t=i[i.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],u=e.raws[t];return u&&u.value===r?u.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};var Lc=Pi;Pi.default=Pi;let Up=Lc;function Li(n,e){new Up(e).stringify(n)}var Du=Li;Li.default=Li;var dr={};dr.isClean=Symbol("isClean");dr.my=Symbol("my");let zp=Ls,$p=Lc,Wp=Du,{isClean:Sn,my:Hp}=dr;function Di(n,e){let t=new n.constructor;for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r)||r==="proxyCache")continue;let u=n[r],i=typeof u;r==="parent"&&i==="object"?e&&(t[r]=e):r==="source"?t[r]=u:Array.isArray(u)?t[r]=u.map(s=>Di(s,t)):(i==="object"&&u!==null&&(u=Di(u)),t[r]=u)}return t}function Ye(n,e){if(e&&typeof e.offset<"u")return e.offset;let t=1,r=1,u=0;for(let i=0;i<n.length;i++){if(r===e.line&&t===e.column){u=i;break}n[i]===`
|
|
38
|
+
`?(t=1,r+=1):t+=1}return u}let Mi=class{get proxyOf(){return this}constructor(e={}){this.raws={},this[Sn]=!1,this[Hp]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let r of e[t])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Di(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:u}=this.rangeBy(t);return this.source.input.error(e,{column:u.column,line:u.line},{column:r.column,line:r.line},t)}return new zp(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markClean(){this[Sn]=!0}markDirty(){if(this[Sn]){this[Sn]=!1;let e=this;for(;e=e.parent;)e[Sn]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,i=r.slice(Ye(r,this.source.start),Ye(r,this.source.end)).indexOf(e.word);i!==-1&&(t=this.positionInside(i))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,u="document"in this.source.input?this.source.input.document:this.source.input.css,i=Ye(u,this.source.start),s=i+e;for(let o=i;o<s;o++)u[o]===`
|
|
39
|
+
`?(t=1,r+=1):t+=1;return{column:t,line:r,offset:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:Ye(t,this.source.start)},u=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:Ye(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let s=t.slice(Ye(t,this.source.start),Ye(t,this.source.end)).indexOf(e.word);s!==-1&&(r=this.positionInside(s),u=this.positionInside(s+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:Ye(t,e.start)}:e.index&&(r=this.positionInside(e.index)),e.end?u={column:e.end.column,line:e.end.line,offset:Ye(t,e.end)}:typeof e.endIndex=="number"?u=this.positionInside(e.endIndex):e.index&&(u=this.positionInside(e.index+1));return(u.line<r.line||u.line===r.line&&u.column<=r.column)&&(u={column:r.column+1,line:r.line,offset:r.offset+1}),{end:u,start:r}}raw(e,t){return new $p().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let u of e)u===this?r=!0:r?(this.parent.insertAfter(t,u),t=u):this.parent.insertBefore(t,u);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},u=t==null;t=t||new Map;let i=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let o=this[s];if(Array.isArray(o))r[s]=o.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,t):a);else if(typeof o=="object"&&o.toJSON)r[s]=o.toJSON(null,t);else if(s==="source"){if(o==null)continue;let a=t.get(o.input);a==null&&(a=i,t.set(o.input,i),i++),r[s]={end:o.end,inputId:a,start:o.start}}else r[s]=o}return u&&(r.inputs=[...t.keys()].map(s=>s.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Wp){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r={}){let u={node:this};for(let i in r)u[i]=r[i];return e.warn(t,u)}};var Mu=Mi;Mi.default=Mi;let Vp=Mu,Ri=class extends Vp{constructor(e){super(e),this.type="comment"}};var Ru=Ri;Ri.default=Ri;let Gp=Mu,Bi=class extends Gp{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}};var Bu=Bi;Bi.default=Bi;let Dc=Ru,Mc=Bu,Kp=Mu,{isClean:Rc,my:Bc}=dr,Ds,Fc,jc,Ms;function qc(n){return n.map(e=>(e.nodes&&(e.nodes=qc(e.nodes)),delete e.source,e))}function Uc(n){if(n[Rc]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)Uc(e)}let st=class zc extends Kp{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let u of r)this.proxyOf.nodes.push(u)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,u;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],u=e(this.proxyOf.nodes[r],r),u!==!1);)this.indexes[t]+=1;return delete this.indexes[t],u}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(u=>typeof u=="function"?(i,s)=>u(i.toProxy(),s):u)):t==="every"||t==="some"?r=>e[t]((u,...i)=>r(u.toProxy(),...i)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),u=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let s of u)this.proxyOf.nodes.splice(r+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],r<i&&(this.indexes[s]=i+u.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),u=r===0?"prepend":!1,i=this.normalize(t,this.proxyOf.nodes[r],u).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r,0,o);let s;for(let o in this.indexes)s=this.indexes[o],r<=s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=qc(Fc(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let u of e)u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let u of e)u.parent&&u.parent.removeChild(u,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Mc(e)]}else if(e.selector||e.selectors)e=[new Ms(e)];else if(e.name)e=[new Ds(e)];else if(e.text)e=[new Dc(e)];else throw new Error("Unknown node type in node creation");return e.map(u=>(u[Bc]||zc.rebuild(u),u=u.proxyOf,u.parent&&u.parent.removeChild(u),u[Rc]&&Uc(u),u.raws||(u.raws={}),typeof u.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(u.raws.before=t.raws.before.replace(/\S/g,"")),u.parent=this.proxyOf,u))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let u of r)this.proxyOf.nodes.unshift(u);for(let u in this.indexes)this.indexes[u]=this.indexes[u]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(u=>{t.props&&!t.props.includes(u.prop)||t.fast&&!u.value.includes(t.fast)||(u.value=u.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let u;try{u=e(t,r)}catch(i){throw t.addToError(i)}return u!==!1&&t.walk&&(u=t.walk(e)),u})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,u)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,u)}):this.walk((r,u)=>{if(r.type==="atrule"&&r.name===e)return t(r,u)}):(t=e,this.walk((r,u)=>{if(r.type==="atrule")return t(r,u)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,u)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,u)}):this.walk((r,u)=>{if(r.type==="decl"&&r.prop===e)return t(r,u)}):(t=e,this.walk((r,u)=>{if(r.type==="decl")return t(r,u)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,u)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,u)}):this.walk((r,u)=>{if(r.type==="rule"&&r.selector===e)return t(r,u)}):(t=e,this.walk((r,u)=>{if(r.type==="rule")return t(r,u)}))}};st.registerParse=n=>{Fc=n};st.registerRule=n=>{Ms=n};st.registerAtRule=n=>{Ds=n};st.registerRoot=n=>{jc=n};var Ht=st;st.default=st;st.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,Ds.prototype):n.type==="rule"?Object.setPrototypeOf(n,Ms.prototype):n.type==="decl"?Object.setPrototypeOf(n,Mc.prototype):n.type==="comment"?Object.setPrototypeOf(n,Dc.prototype):n.type==="root"&&Object.setPrototypeOf(n,jc.prototype),n[Bc]=!0,n.nodes&&n.nodes.forEach(e=>{st.rebuild(e)})};let $c=Ht,fu=class extends $c{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};var Rs=fu;fu.default=fu;$c.registerAtRule(fu);let Jp=Ht,Wc,Hc,Hn=class extends Jp{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Wc(new Hc,this,e).stringify()}};Hn.registerLazyResult=n=>{Wc=n};Hn.registerProcessor=n=>{Hc=n};var Bs=Hn;Hn.default=Hn;let Xp="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Zp=(n=21)=>{let e="",t=n|0;for(;t--;)e+=Xp[Math.random()*64|0];return e};var Qp={nanoid:Zp};let{existsSync:Yp,readFileSync:eg}=je,{dirname:Yu,join:tg}=je,{SourceMapConsumer:fa,SourceMapGenerator:da}=je;function ng(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}let Fi=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,u=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Yu(this.mapFile)),u&&(this.text=u)}consumer(){return this.consumerCache||(this.consumerCache=new fa(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,u=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/,s=e.match(u)||e.match(i);if(s)return decodeURIComponent(e.substr(s[0].length));let o=e.match(t)||e.match(r);if(o)return ng(e.substr(o[0].length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),u=e.indexOf("*/",r);r>-1&&u>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,u)))}loadFile(e){if(this.root=Yu(e),Yp(e))return this.mapFile=e,eg(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let u=this.loadFile(r);if(!u)throw new Error("Unable to load previous source map: "+r.toString());return u}}else{if(t instanceof fa)return da.fromSourceMap(t).toString();if(t instanceof da)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=tg(Yu(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};var Vc=Fi;Fi.default=Fi;let{nanoid:rg}=Qp,{isAbsolute:ji,resolve:qi}=je,{SourceMapConsumer:ug,SourceMapGenerator:ig}=je,{fileURLToPath:ha,pathToFileURL:Er}=je,pa=Ls,sg=Vc,ei=je,ti=Symbol("lineToIndexCache"),og=!!(ug&&ig),ga=!!(qi&&ji);function ma(n){if(n[ti])return n[ti];let e=n.css.split(`
|
|
40
|
+
`),t=new Array(e.length),r=0;for(let u=0,i=e.length;u<i;u++)t[u]=r,r+=e[u].length+1;return n[ti]=t,t}let du=class{get from(){return this.file||this.id}constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!ga||/^\w+:\/\//.test(t.from)||ji(t.from)?this.file=t.from:this.file=qi(t.from)),ga&&og){let r=new sg(this.css,t);if(r.text){this.map=r;let u=r.consumer().file;!this.file&&u&&(this.file=this.mapResolve(u))}}this.file||(this.id="<input css "+rg(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,u={}){let i,s,o,a,l;if(t&&typeof t=="object"){let h=t,c=r;if(typeof h.offset=="number"){a=h.offset;let d=this.fromOffset(a);t=d.line,r=d.col}else t=h.line,r=h.column,a=this.fromLineAndColumn(t,r);if(typeof c.offset=="number"){o=c.offset;let d=this.fromOffset(o);s=d.line,i=d.col}else s=c.line,i=c.column,o=this.fromLineAndColumn(c.line,c.column)}else if(r)a=this.fromLineAndColumn(t,r);else{a=t;let h=this.fromOffset(a);t=h.line,r=h.col}let f=this.origin(t,r,s,i);return f?l=new pa(e,f.endLine===void 0?f.line:{column:f.column,line:f.line},f.endLine===void 0?f.column:{column:f.endColumn,line:f.endLine},f.source,f.file,u.plugin):l=new pa(e,s===void 0?t:{column:r,line:t},s===void 0?r:{column:i,line:s},this.css,this.file,u.plugin),l.input={column:r,endColumn:i,endLine:s,endOffset:o,line:t,offset:a,source:this.css},this.file&&(Er&&(l.input.url=Er(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,t){return ma(this)[e-1]+t-1}fromOffset(e){let t=ma(this),r=t[t.length-1],u=0;if(e>=r)u=t.length-1;else{let i=t.length-2,s;for(;u<i;)if(s=u+(i-u>>1),e<t[s])i=s-1;else if(e>=t[s+1])u=s+1;else{u=s;break}}return{col:e-t[u]+1,line:u+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:qi(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,u){if(!this.map)return!1;let i=this.map.consumer(),s=i.originalPositionFor({column:t,line:e});if(!s.source)return!1;let o;typeof r=="number"&&(o=i.originalPositionFor({column:u,line:r}));let a;ji(s.source)?a=Er(s.source):a=new URL(s.source,this.map.consumer().sourceRoot||Er(this.map.mapFile));let l={column:s.column,endColumn:o&&o.column,endLine:o&&o.line,line:s.line,url:a.toString()};if(a.protocol==="file:")if(ha)l.file=ha(a);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(s.source);return f&&(l.source=f),l}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};var Fu=du;du.default=du;ei&&ei.registerInput&&ei.registerInput(du);let Gc=Ht,Kc,Jc,ln=class extends Gc{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let u=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let i of u)i.raws.before=t.raws.before}return u}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new Kc(new Jc,this,e).stringify()}};ln.registerLazyResult=n=>{Kc=n};ln.registerProcessor=n=>{Jc=n};var hr=ln;ln.default=ln;Gc.registerRoot(ln);let Vn={comma(n){return Vn.split(n,[","],!0)},space(n){let e=[" ",`
|
|
41
|
+
`," "];return Vn.split(n,e)},split(n,e,t){let r=[],u="",i=!1,s=0,o=!1,a="",l=!1;for(let f of n)l?l=!1:f==="\\"?l=!0:o?f===a&&(o=!1):f==='"'||f==="'"?(o=!0,a=f):f==="("?s+=1:f===")"?s>0&&(s-=1):s===0&&e.includes(f)&&(i=!0),i?(u!==""&&r.push(u.trim()),u="",i=!1):u+=f;return(t||u!=="")&&r.push(u.trim()),r}};var Xc=Vn;Vn.default=Vn;let Zc=Ht,ag=Xc,hu=class extends Zc{get selectors(){return ag.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}};var Fs=hu;hu.default=hu;Zc.registerRule(hu);let lg=Rs,cg=Ru,fg=Bu,dg=Fu,hg=Vc,pg=hr,gg=Fs;function Gn(n,e){if(Array.isArray(n))return n.map(u=>Gn(u));let{inputs:t,...r}=n;if(t){e=[];for(let u of t){let i={...u,__proto__:dg.prototype};i.map&&(i.map={...i.map,__proto__:hg.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=n.nodes.map(u=>Gn(u,e))),r.source){let{inputId:u,...i}=r.source;r.source=i,u!=null&&(r.source.input=e[u])}if(r.type==="root")return new pg(r);if(r.type==="decl")return new fg(r);if(r.type==="rule")return new gg(r);if(r.type==="comment")return new cg(r);if(r.type==="atrule")return new lg(r);throw new Error("Unknown node type: "+n.type)}var mg=Gn;Gn.default=Gn;let{dirname:jr,relative:Qc,resolve:Yc,sep:e0}=je,{SourceMapConsumer:t0,SourceMapGenerator:qr}=je,{pathToFileURL:ba}=je,bg=Fu,yg=!!(t0&&qr),_g=!!(jr&&Yc&&Qc&&e0),xg=class{constructor(e,t,r,u){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
|
|
42
42
|
`;this.css.includes(`\r
|
|
43
43
|
`)&&(t=`\r
|
|
44
|
-
`),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||
|
|
45
|
-
`),t=o.length-i):t+=o.length,a&&l!=="start"){let f=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==f.last||f.raws.semicolon)&&(a.source&&a.source.end?(u.source=this.sourcePath(a),u.original.line=a.source.end.line,u.original.column=a.source.end.column-1,u.generated.line=e,u.generated.column=t-2,this.map.addMapping(u)):(u.source=r,u.original.line=1,u.original.column=0,u.generated.line=e,u.generated.column=t-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Rr(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=Rr(Xc(r,this.mapOpts.annotation)));let u=Jc(r,e);return this.memoizedPaths.set(e,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new mg(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let u=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(u,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(pa){let r=pa(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;Zc==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};var Yc=_g;const Yu=39,ga=34,Tr=92,ma=47,Cr=10,wn=32,Er=12,kr=9,Nr=13,xg=91,vg=93,wg=40,Sg=41,Tg=123,Cg=125,Eg=59,kg=42,Ng=58,Ag=64,Ar=/[\t\n\f\r "#'()/;[\\\]{}]/g,Or=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Og=/.[\r\n"'(/\\]/,ba=/[\da-f]/i;var Ig=function(e,t={}){let r=e.css.valueOf(),u=t.ignoreErrors,i,s,o,a,l,f,h,c,d,p,m=r.length,g=0,y=[],b=[];function x(){return g}function w(S){throw e.error("Unclosed "+S,g)}function C(){return b.length===0&&g>=m}function T(S){if(b.length)return b.pop();if(g>=m)return;let P=S?S.ignoreUnclosed:!1;switch(i=r.charCodeAt(g),i){case Cr:case wn:case kr:case Nr:case Er:{a=g;do a+=1,i=r.charCodeAt(a);while(i===wn||i===Cr||i===kr||i===Nr||i===Er);f=["space",r.slice(g,a)],g=a-1;break}case xg:case vg:case Tg:case Cg:case Ng:case Eg:case Sg:{let z=String.fromCharCode(i);f=[z,z,g];break}case wg:{if(p=y.length?y.pop()[1]:"",d=r.charCodeAt(g+1),p==="url"&&d!==Yu&&d!==ga&&d!==wn&&d!==Cr&&d!==kr&&d!==Er&&d!==Nr){a=g;do{if(h=!1,a=r.indexOf(")",a+1),a===-1)if(u||P){a=g;break}else w("bracket");for(c=a;r.charCodeAt(c-1)===Tr;)c-=1,h=!h}while(h);f=["brackets",r.slice(g,a+1),g,a],g=a}else a=r.indexOf(")",g+1),s=r.slice(g,a+1),a===-1||Og.test(s)?f=["(","(",g]:(f=["brackets",s,g,a],g=a);break}case Yu:case ga:{l=i===Yu?"'":'"',a=g;do{if(h=!1,a=r.indexOf(l,a+1),a===-1)if(u||P){a=g+1;break}else w("string");for(c=a;r.charCodeAt(c-1)===Tr;)c-=1,h=!h}while(h);f=["string",r.slice(g,a+1),g,a],g=a;break}case Ag:{Ar.lastIndex=g+1,Ar.test(r),Ar.lastIndex===0?a=r.length-1:a=Ar.lastIndex-2,f=["at-word",r.slice(g,a+1),g,a],g=a;break}case Tr:{for(a=g,o=!0;r.charCodeAt(a+1)===Tr;)a+=1,o=!o;if(i=r.charCodeAt(a+1),o&&i!==ma&&i!==wn&&i!==Cr&&i!==kr&&i!==Nr&&i!==Er&&(a+=1,ba.test(r.charAt(a)))){for(;ba.test(r.charAt(a+1));)a+=1;r.charCodeAt(a+1)===wn&&(a+=1)}f=["word",r.slice(g,a+1),g,a],g=a;break}default:{i===ma&&r.charCodeAt(g+1)===kg?(a=r.indexOf("*/",g+2)+1,a===0&&(u||P?a=r.length:w("comment")),f=["comment",r.slice(g,a+1),g,a],g=a):(Or.lastIndex=g+1,Or.test(r),Or.lastIndex===0?a=r.length-1:a=Or.lastIndex-2,f=["word",r.slice(g,a+1),g,a],y.push(f),g=a);break}}return g++,f}function E(S){b.push(S)}return{back:E,endOfFile:C,nextToken:T,position:x}};let Pg=Ps,Lg=Lu,Dg=Du,Mg=fr,ya=Ds,Rg=Ig;const _a={empty:!0,space:!0};function Bg(n){for(let e=n.length-1;e>=0;e--){let t=n[e],r=t[3]||t[2];if(r)return r}}let Fg=class{constructor(e){this.input=e,this.root=new Mg,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Pg;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,u,i,s=!1,o=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){o=!0;break}else if(r==="}"){if(a.length>0){for(i=a.length-1,u=a[i];u&&u[0]==="space";)u=a[--i];u&&(t.source.end=this.getPosition(u[3]||u[2]),t.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),s&&(e=a[a.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,u;for(let i=t-1;i>=0&&(u=e[i],!(u[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",u[0]==="word"?u[3]+1:u[2])}colon(e){let t=0,r,u,i;for(let[s,o]of e.entries()){if(u=o,i=u[0],i==="("&&(t+=1),i===")"&&(t-=1),t===0&&i===":")if(!r)this.doubleColon(u);else{if(r[0]==="word"&&r[1]==="progid")continue;return s}r=u}return!1}comment(e){let t=new Lg;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let u=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=u[2],t.raws.left=u[1],t.raws.right=u[3]}}createTokenizer(){this.tokenizer=Rg(this.input)}decl(e,t){let r=new Dg;this.init(r,e[0][2]);let u=e[e.length-1];for(u[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(u[3]||u[2]||Bg(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],o;for(;e.length&&(o=e[0][0],!(o!=="space"&&o!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(i=e[l],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,l);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),h="";for(let c=l;c>0;c--){let d=f[c][0];if(h.trim().startsWith("!")&&d!=="space")break;h=f.pop()[1]+h}h.trim().startsWith("!")&&(r.important=!0,r.raws.important=h,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=s.map(l=>l[1]).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new ya;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,u=!1,i=null,s=[],o=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),r==="("||r==="[")i||(i=l),s.push(r==="("?")":"]");else if(o&&u&&r==="{")i||(i=l),s.push("}");else if(s.length===0)if(r===";")if(u){this.decl(a,o);return}else break;else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop()),t=!0;break}else r===":"&&(u=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&u){if(!o)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,u){let i,s,o=r.length,a="",l=!0,f,h;for(let c=0;c<o;c+=1)i=r[c],s=i[0],s==="space"&&c===o-1&&!u?l=!1:s==="comment"?(h=r[c-1]?r[c-1][0]:"empty",f=r[c+1]?r[c+1][0]:"empty",!_a[h]&&!_a[f]?a.slice(-1)===","?l=!1:a+=i[1]:l=!1):a+=i[1];if(!l){let c=r.reduce((d,p)=>d+p[1],"");e.raws[t]={raw:c,value:a}}e[t]=a}rule(e){e.pop();let t=new ya;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let u=t;u<e.length;u++)r+=e[u][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};var jg=Fg;let qg=Ht,Ug=Mu,zg=jg;function fu(n,e){let t=new Ug(n,e),r=new zg(t);try{r.parse()}catch(u){throw process.env.NODE_ENV!=="production"&&u.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?u.message+=`
|
|
44
|
+
`),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||jr(e.file),u;this.mapOpts.sourcesContent===!1?(u=new t0(e.text),u.sourcesContent&&(u.sourcesContent=null)):u=e.consumer(),this.map.applySourceMap(u,t,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),_g&&yg&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=qr.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new qr({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new qr({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,r="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},i,s;this.stringify(this.root,(o,a,l)=>{if(this.css+=o,a&&l!=="end"&&(u.generated.line=e,u.generated.column=t-1,a.source&&a.source.start?(u.source=this.sourcePath(a),u.original.line=a.source.start.line,u.original.column=a.source.start.column-1,this.map.addMapping(u)):(u.source=r,u.original.line=1,u.original.column=0,this.map.addMapping(u))),s=o.match(/\n/g),s?(e+=s.length,i=o.lastIndexOf(`
|
|
45
|
+
`),t=o.length-i):t+=o.length,a&&l!=="start"){let f=a.parent||{raws:{}};(!(a.type==="decl"||a.type==="atrule"&&!a.nodes)||a!==f.last||f.raws.semicolon)&&(a.source&&a.source.end?(u.source=this.sourcePath(a),u.original.line=a.source.end.line,u.original.column=a.source.end.column-1,u.generated.line=e,u.generated.column=t-2,this.map.addMapping(u)):(u.source=r,u.original.line=1,u.original.column=0,u.generated.line=e,u.generated.column=t-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?jr(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=jr(Yc(r,this.mapOpts.annotation)));let u=Qc(r,e);return this.memoizedPaths.set(e,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new bg(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let u=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(u,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(ba){let r=ba(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;e0==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};var n0=xg;const ni=39,ya=34,kr=92,_a=47,Nr=10,Tn=32,Ar=12,Or=9,Ir=13,vg=91,wg=93,Sg=40,Tg=41,Cg=123,Eg=125,kg=59,Ng=42,Ag=58,Og=64,Pr=/[\t\n\f\r "#'()/;[\\\]{}]/g,Lr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Ig=/.[\r\n"'(/\\]/,xa=/[\da-f]/i;var Pg=function(e,t={}){let r=e.css.valueOf(),u=t.ignoreErrors,i,s,o,a,l,f,h,c,d,p,m=r.length,g=0,y=[],b=[];function x(){return g}function w(S){throw e.error("Unclosed "+S,g)}function C(){return b.length===0&&g>=m}function T(S){if(b.length)return b.pop();if(g>=m)return;let P=S?S.ignoreUnclosed:!1;switch(i=r.charCodeAt(g),i){case Nr:case Tn:case Or:case Ir:case Ar:{a=g;do a+=1,i=r.charCodeAt(a);while(i===Tn||i===Nr||i===Or||i===Ir||i===Ar);f=["space",r.slice(g,a)],g=a-1;break}case vg:case wg:case Cg:case Eg:case Ag:case kg:case Tg:{let z=String.fromCharCode(i);f=[z,z,g];break}case Sg:{if(p=y.length?y.pop()[1]:"",d=r.charCodeAt(g+1),p==="url"&&d!==ni&&d!==ya&&d!==Tn&&d!==Nr&&d!==Or&&d!==Ar&&d!==Ir){a=g;do{if(h=!1,a=r.indexOf(")",a+1),a===-1)if(u||P){a=g;break}else w("bracket");for(c=a;r.charCodeAt(c-1)===kr;)c-=1,h=!h}while(h);f=["brackets",r.slice(g,a+1),g,a],g=a}else a=r.indexOf(")",g+1),s=r.slice(g,a+1),a===-1||Ig.test(s)?f=["(","(",g]:(f=["brackets",s,g,a],g=a);break}case ni:case ya:{l=i===ni?"'":'"',a=g;do{if(h=!1,a=r.indexOf(l,a+1),a===-1)if(u||P){a=g+1;break}else w("string");for(c=a;r.charCodeAt(c-1)===kr;)c-=1,h=!h}while(h);f=["string",r.slice(g,a+1),g,a],g=a;break}case Og:{Pr.lastIndex=g+1,Pr.test(r),Pr.lastIndex===0?a=r.length-1:a=Pr.lastIndex-2,f=["at-word",r.slice(g,a+1),g,a],g=a;break}case kr:{for(a=g,o=!0;r.charCodeAt(a+1)===kr;)a+=1,o=!o;if(i=r.charCodeAt(a+1),o&&i!==_a&&i!==Tn&&i!==Nr&&i!==Or&&i!==Ir&&i!==Ar&&(a+=1,xa.test(r.charAt(a)))){for(;xa.test(r.charAt(a+1));)a+=1;r.charCodeAt(a+1)===Tn&&(a+=1)}f=["word",r.slice(g,a+1),g,a],g=a;break}default:{i===_a&&r.charCodeAt(g+1)===Ng?(a=r.indexOf("*/",g+2)+1,a===0&&(u||P?a=r.length:w("comment")),f=["comment",r.slice(g,a+1),g,a],g=a):(Lr.lastIndex=g+1,Lr.test(r),Lr.lastIndex===0?a=r.length-1:a=Lr.lastIndex-2,f=["word",r.slice(g,a+1),g,a],y.push(f),g=a);break}}return g++,f}function k(S){b.push(S)}return{back:k,endOfFile:C,nextToken:T,position:x}};let Lg=Rs,Dg=Ru,Mg=Bu,Rg=hr,va=Fs,Bg=Pg;const wa={empty:!0,space:!0};function Fg(n){for(let e=n.length-1;e>=0;e--){let t=n[e],r=t[3]||t[2];if(r)return r}}let jg=class{constructor(e){this.input=e,this.root=new Rg,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Lg;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,u,i,s=!1,o=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){o=!0;break}else if(r==="}"){if(a.length>0){for(i=a.length-1,u=a[i];u&&u[0]==="space";)u=a[--i];u&&(t.source.end=this.getPosition(u[3]||u[2]),t.source.end.offset++)}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(t.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(t,"params",a),s&&(e=a[a.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),o&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,u;for(let i=t-1;i>=0&&(u=e[i],!(u[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",u[0]==="word"?u[3]+1:u[2])}colon(e){let t=0,r,u,i;for(let[s,o]of e.entries()){if(u=o,i=u[0],i==="("&&(t+=1),i===")"&&(t-=1),t===0&&i===":")if(!r)this.doubleColon(u);else{if(r[0]==="word"&&r[1]==="progid")continue;return s}r=u}return!1}comment(e){let t=new Dg;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let u=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=u[2],t.raws.left=u[1],t.raws.right=u[3]}}createTokenizer(){this.tokenizer=Bg(this.input)}decl(e,t){let r=new Mg;this.init(r,e[0][2]);let u=e[e.length-1];for(u[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(u[3]||u[2]||Fg(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let s=[],o;for(;e.length&&(o=e[0][0],!(o!=="space"&&o!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(i=e[l],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,l);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),h="";for(let c=l;c>0;c--){let d=f[c][0];if(h.trim().startsWith("!")&&d!=="space")break;h=f.pop()[1]+h}h.trim().startsWith("!")&&(r.important=!0,r.raws.important=h,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=s.map(l=>l[1]).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new va;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,u=!1,i=null,s=[],o=e[1].startsWith("--"),a=[],l=e;for(;l;){if(r=l[0],a.push(l),r==="("||r==="[")i||(i=l),s.push(r==="("?")":"]");else if(o&&u&&r==="{")i||(i=l),s.push("}");else if(s.length===0)if(r===";")if(u){this.decl(a,o);return}else break;else if(r==="{"){this.rule(a);return}else if(r==="}"){this.tokenizer.back(a.pop()),t=!0;break}else r===":"&&(u=!0);else r===s[s.length-1]&&(s.pop(),s.length===0&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(i),t&&u){if(!o)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,u){let i,s,o=r.length,a="",l=!0,f,h;for(let c=0;c<o;c+=1)i=r[c],s=i[0],s==="space"&&c===o-1&&!u?l=!1:s==="comment"?(h=r[c-1]?r[c-1][0]:"empty",f=r[c+1]?r[c+1][0]:"empty",!wa[h]&&!wa[f]?a.slice(-1)===","?l=!1:a+=i[1]:l=!1):a+=i[1];if(!l){let c=r.reduce((d,p)=>d+p[1],"");e.raws[t]={raw:c,value:a}}e[t]=a}rule(e){e.pop();let t=new va;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let u=t;u<e.length;u++)r+=e[u][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};var qg=jg;let Ug=Ht,zg=Fu,$g=qg;function pu(n,e){let t=new zg(n,e),r=new $g(t);try{r.parse()}catch(u){throw process.env.NODE_ENV!=="production"&&u.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?u.message+=`
|
|
46
46
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?u.message+=`
|
|
47
47
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(u.message+=`
|
|
48
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),u}return r.root}var Ms=fu;fu.default=fu;qg.registerParse(fu);let Fi=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var e0=Fi;Fi.default=Fi;let $g=e0,ji=class{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new $g(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}};var Rs=ji;ji.default=ji;let xa={};var t0=function(e){xa[e]||(xa[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))};let Wg=Ht,Hg=Ls,Vg=Yc,Gg=Ms,va=Rs,Kg=fr,Jg=Iu,{isClean:Ue,my:Xg}=cr,Zg=t0;const Qg={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Yg={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},e1={Once:!0,postcssPlugin:!0,prepare:!0},ln=0;function Sn(n){return typeof n=="object"&&typeof n.then=="function"}function n0(n){let e=!1,t=Qg[n.type];return n.type==="decl"?e=n.prop.toLowerCase():n.type==="atrule"&&(e=n.name.toLowerCase()),e&&n.append?[t,t+"-"+e,ln,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:n.append?[t,ln,t+"Exit"]:[t,t+"Exit"]}function wa(n){let e;return n.type==="document"?e=["Document",ln,"DocumentExit"]:n.type==="root"?e=["Root",ln,"RootExit"]:e=n0(n),{eventIndex:0,events:e,iterator:0,node:n,visitorIndex:0,visitors:[]}}function qi(n){return n[Ue]=!1,n.nodes&&n.nodes.forEach(e=>qi(e)),n}let Ui={},cn=class r0{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){this.stringified=!1,this.processed=!1;let u;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))u=qi(t);else if(t instanceof r0||t instanceof va)u=qi(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let i=Gg;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{u=i(t,r)}catch(s){this.processed=!0,this.error=s}u&&!u[Xg]&&Wg.rebuild(u)}this.result=new va(e,u,r),this.helpers={...Ui,postcss:Ui,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=r.postcssPlugin,e.setMessage();else if(r.postcssVersion&&process.env.NODE_ENV!=="production"){let u=r.postcssPlugin,i=r.postcssVersion,s=this.result.processor.version,o=i.split("."),a=s.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+u+" uses "+i+". Perhaps this is the source of the error below.")}}catch(u){console&&console.error&&console.error(u)}return e}prepareVisitors(){this.listeners={};let e=(t,r,u)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,u])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!Yg[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!e1[r])if(typeof t[r]=="object")for(let u in t[r])u==="*"?e(t,r,t[r][u]):e(t,r+"-"+u.toLowerCase(),t[r][u]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Sn(r))try{await r}catch(u){throw this.handleError(u)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ue];){e[Ue]=!0;let t=[wa(e)];for(;t.length>0;){let r=this.visitTick(t);if(Sn(r))try{await r}catch(u){let i=t[t.length-1].node;throw this.handleError(u,i)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let u=e.nodes.map(i=>r(i,this.helpers));await Promise.all(u)}else await r(e,this.helpers)}catch(u){throw this.handleError(u)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return Sn(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Jg;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let u=new Vg(t,this.result.root,this.result.opts).generate();return this.result.css=u[0],this.result.map=u[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(Sn(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ue];)e[Ue]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this.opts||Zg("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,u]of e){this.result.lastPlugin=r;let i;try{i=u(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(Sn(i))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:u}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(u.length>0&&t.visitorIndex<u.length){let[s,o]=u[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===u.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=s;try{return o(r.toProxy(),this.helpers)}catch(a){throw this.handleError(a,r)}}if(t.iterator!==0){let s=t.iterator,o;for(;o=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!o[Ue]){o[Ue]=!0,e.push(wa(o));return}t.iterator=0,delete r.indexes[s]}let i=t.events;for(;t.eventIndex<i.length;){let s=i[t.eventIndex];if(t.eventIndex+=1,s===ln){r.nodes&&r.nodes.length&&(r[Ue]=!0,t.iterator=r.getIterator());return}else if(this.listeners[s]){t.visitors=this.listeners[s];return}}e.pop()}walkSync(e){e[Ue]=!0;let t=n0(e);for(let r of t)if(r===ln)e.nodes&&e.each(u=>{u[Ue]||this.walkSync(u)});else{let u=this.listeners[r];if(u&&this.visitSync(u,e.toProxy()))return}}warnings(){return this.sync().warnings()}};cn.registerPostcss=n=>{Ui=n};var u0=cn;cn.default=cn;Kg.registerLazyResult(cn);Hg.registerLazyResult(cn);let t1=Yc,n1=Ms;const r1=Rs;let u1=Iu,i1=t0,zi=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=n1;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let u,i=u1;this.result=new r1(this._processor,u,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let o=new t1(i,u,this._opts,t);if(o.isMap()){let[a,l]=o.generate();a&&(this.result.css=a),l&&(this.result.map=l)}else o.clearAnnotation(),this.result.css=o.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this._opts||i1("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this._css}warnings(){return[]}};var s1=zi;zi.default=zi;let o1=Ls,a1=u0,l1=s1,c1=fr,Vn=class{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(typeof r=="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new l1(this,e,t):new a1(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var f1=Vn;Vn.default=Vn;c1.registerProcessor(Vn);o1.registerProcessor(Vn);let i0=Ps,s0=Lu,d1=Ht,h1=As,o0=Du,a0=Ls,p1=gg,g1=Mu,m1=u0,b1=Gc,y1=Pu,_1=Ms,Bs=f1,x1=Rs,l0=fr,c0=Ds,v1=Iu,w1=e0;function Y(...n){return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new Bs(n)}Y.plugin=function(e,t){let r=!1;function u(...s){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
48
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),u}return r.root}var js=pu;pu.default=pu;Ug.registerParse(pu);let Ui=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var r0=Ui;Ui.default=Ui;let Wg=r0,zi=class{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Wg(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}};var qs=zi;zi.default=zi;let Sa={};var u0=function(e){Sa[e]||(Sa[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))};let Hg=Ht,Vg=Bs,Gg=n0,Kg=js,Ta=qs,Jg=hr,Xg=Du,{isClean:$e,my:Zg}=dr,Qg=u0;const Yg={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},e1={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},t1={Once:!0,postcssPlugin:!0,prepare:!0},cn=0;function Cn(n){return typeof n=="object"&&typeof n.then=="function"}function i0(n){let e=!1,t=Yg[n.type];return n.type==="decl"?e=n.prop.toLowerCase():n.type==="atrule"&&(e=n.name.toLowerCase()),e&&n.append?[t,t+"-"+e,cn,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:n.append?[t,cn,t+"Exit"]:[t,t+"Exit"]}function Ca(n){let e;return n.type==="document"?e=["Document",cn,"DocumentExit"]:n.type==="root"?e=["Root",cn,"RootExit"]:e=i0(n),{eventIndex:0,events:e,iterator:0,node:n,visitorIndex:0,visitors:[]}}function $i(n){return n[$e]=!1,n.nodes&&n.nodes.forEach(e=>$i(e)),n}let Wi={},fn=class s0{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){this.stringified=!1,this.processed=!1;let u;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))u=$i(t);else if(t instanceof s0||t instanceof Ta)u=$i(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let i=Kg;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{u=i(t,r)}catch(s){this.processed=!0,this.error=s}u&&!u[Zg]&&Hg.rebuild(u)}this.result=new Ta(e,u,r),this.helpers={...Wi,postcss:Wi,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=r.postcssPlugin,e.setMessage();else if(r.postcssVersion&&process.env.NODE_ENV!=="production"){let u=r.postcssPlugin,i=r.postcssVersion,s=this.result.processor.version,o=i.split("."),a=s.split(".");(o[0]!==a[0]||parseInt(o[1])>parseInt(a[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+u+" uses "+i+". Perhaps this is the source of the error below.")}}catch(u){console&&console.error&&console.error(u)}return e}prepareVisitors(){this.listeners={};let e=(t,r,u)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,u])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!e1[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!t1[r])if(typeof t[r]=="object")for(let u in t[r])u==="*"?e(t,r,t[r][u]):e(t,r+"-"+u.toLowerCase(),t[r][u]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(Cn(r))try{await r}catch(u){throw this.handleError(u)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[$e];){e[$e]=!0;let t=[Ca(e)];for(;t.length>0;){let r=this.visitTick(t);if(Cn(r))try{await r}catch(u){let i=t[t.length-1].node;throw this.handleError(u,i)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let u=e.nodes.map(i=>r(i,this.helpers));await Promise.all(u)}else await r(e,this.helpers)}catch(u){throw this.handleError(u)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return Cn(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Xg;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let u=new Gg(t,this.result.root,this.result.opts).generate();return this.result.css=u[0],this.result.map=u[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(Cn(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[$e];)e[$e]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this.opts||Qg("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,u]of e){this.result.lastPlugin=r;let i;try{i=u(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(Cn(i))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:u}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(u.length>0&&t.visitorIndex<u.length){let[s,o]=u[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===u.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=s;try{return o(r.toProxy(),this.helpers)}catch(a){throw this.handleError(a,r)}}if(t.iterator!==0){let s=t.iterator,o;for(;o=r.nodes[r.indexes[s]];)if(r.indexes[s]+=1,!o[$e]){o[$e]=!0,e.push(Ca(o));return}t.iterator=0,delete r.indexes[s]}let i=t.events;for(;t.eventIndex<i.length;){let s=i[t.eventIndex];if(t.eventIndex+=1,s===cn){r.nodes&&r.nodes.length&&(r[$e]=!0,t.iterator=r.getIterator());return}else if(this.listeners[s]){t.visitors=this.listeners[s];return}}e.pop()}walkSync(e){e[$e]=!0;let t=i0(e);for(let r of t)if(r===cn)e.nodes&&e.each(u=>{u[$e]||this.walkSync(u)});else{let u=this.listeners[r];if(u&&this.visitSync(u,e.toProxy()))return}}warnings(){return this.sync().warnings()}};fn.registerPostcss=n=>{Wi=n};var o0=fn;fn.default=fn;Jg.registerLazyResult(fn);Vg.registerLazyResult(fn);let n1=n0,r1=js;const u1=qs;let i1=Du,s1=u0,Hi=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=r1;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let u,i=i1;this.result=new u1(this._processor,u,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let o=new n1(i,u,this._opts,t);if(o.isMap()){let[a,l]=o.generate();a&&(this.result.css=a),l&&(this.result.map=l)}else o.clearAnnotation(),this.result.css=o.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this._opts||s1("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this._css}warnings(){return[]}};var o1=Hi;Hi.default=Hi;let a1=Bs,l1=o0,c1=o1,f1=hr,Kn=class{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(typeof r=="object"&&(r.parse||r.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new c1(this,e,t):new l1(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};var d1=Kn;Kn.default=Kn;f1.registerProcessor(Kn);a1.registerProcessor(Kn);let a0=Rs,l0=Ru,h1=Ht,p1=Ls,c0=Bu,f0=Bs,g1=mg,m1=Fu,b1=o0,y1=Xc,_1=Mu,x1=js,Us=d1,v1=qs,d0=hr,h0=Fs,w1=Du,S1=r0;function ee(...n){return n.length===1&&Array.isArray(n[0])&&(n=n[0]),new Us(n)}ee.plugin=function(e,t){let r=!1;function u(...s){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
49
49
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
50
|
-
https://www.w3ctech.com/topic/2226`));let o=t(...s);return o.postcssPlugin=e,o.postcssVersion=new
|
|
50
|
+
https://www.w3ctech.com/topic/2226`));let o=t(...s);return o.postcssPlugin=e,o.postcssVersion=new Us().version,o}let i;return Object.defineProperty(u,"postcss",{get(){return i||(i=u()),i}}),u.process=function(s,o,a){return ee([u(a)]).process(s,o)},u};ee.stringify=w1;ee.parse=x1;ee.fromJSON=g1;ee.list=y1;ee.comment=n=>new l0(n);ee.atRule=n=>new a0(n);ee.decl=n=>new c0(n);ee.rule=n=>new h0(n);ee.root=n=>new d0(n);ee.document=n=>new f0(n);ee.CssSyntaxError=p1;ee.Declaration=c0;ee.Container=h1;ee.Processor=Us;ee.Document=f0;ee.Comment=l0;ee.Warning=S1;ee.AtRule=a0;ee.Result=v1;ee.Input=m1;ee.Rule=h0;ee.Root=d0;ee.Node=_1;b1.registerPostcss(ee);var T1=ee;ee.default=ee;const C1=rc,Ea=xp,{isPlainObject:E1}=Is,ka=Mp,k1=Rp,{parse:N1}=T1,A1=["img","audio","video","picture","svg","object","map","iframe","embed"],O1=["script","style"];function Zt(n,e){n&&Object.keys(n).forEach(function(t){e(n[t],t)})}function et(n,e){return{}.hasOwnProperty.call(n,e)}function Na(n,e){const t=[];return Zt(n,function(r){e(r)&&t.push(r)}),t}function I1(n){for(const e in n)if(et(n,e))return!1;return!0}function P1(n){return n.map(function(e){if(!e.url)throw new Error("URL missing");return e.url+(e.w?` ${e.w}w`:"")+(e.h?` ${e.h}h`:"")+(e.d?` ${e.d}x`:"")}).join(", ")}var L1=Jn;const D1=/^[^\0\t\n\f\r /<=>]+$/;function Jn(n,e,t){if(n==null)return"";typeof n=="number"&&(n=n.toString());let r="",u="";function i(_,I){const A=this;this.tag=_,this.attribs=I||{},this.tagPosition=r.length,this.text="",this.openingTagLength=0,this.mediaChildren=[],this.updateParentNodeText=function(){if(g.length){const U=g[g.length-1];U.text+=A.text}},this.updateParentNodeMediaChildren=function(){g.length&&A1.includes(this.tag)&&g[g.length-1].mediaChildren.push(this.tag)}}e=Object.assign({},Jn.defaults,e),e.parser=Object.assign({},M1,e.parser);const s=function(_){return e.allowedTags===!1||(e.allowedTags||[]).indexOf(_)>-1};O1.forEach(function(_){s(_)&&!e.allowVulnerableTags&&console.warn(`
|
|
51
51
|
|
|
52
52
|
⚠️ Your \`allowedTags\` option includes, \`${_}\`, which is inherently
|
|
53
53
|
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
|
|
54
54
|
Or, to disable this warning, add the \`allowVulnerableTags\` option
|
|
55
55
|
and ensure you are accounting for this risk.
|
|
56
56
|
|
|
57
|
-
`)});const o=e.nonTextTags||["script","style","textarea","option"];let a,l;e.allowedAttributes&&(a={},l={},Xt(e.allowedAttributes,function(_,I){a[I]=[];const A=[];_.forEach(function(q){typeof q=="string"&&q.indexOf("*")>=0?A.push(Sa(q).replace(/\\\*/g,".*")):a[I].push(q)}),A.length&&(l[I]=new RegExp("^("+A.join("|")+")$"))}));const f={},h={},c={};Xt(e.allowedClasses,function(_,I){if(a&&(Ye(a,I)||(a[I]=[]),a[I].push("class")),f[I]=_,Array.isArray(_)){const A=[];f[I]=[],c[I]=[],_.forEach(function(q){typeof q=="string"&&q.indexOf("*")>=0?A.push(Sa(q).replace(/\\\*/g,".*")):q instanceof RegExp?c[I].push(q):f[I].push(q)}),A.length&&(h[I]=new RegExp("^("+A.join("|")+")$"))}});const d={};let p;Xt(e.transformTags,function(_,I){let A;typeof _=="function"?A=_:typeof _=="string"&&(A=Gn.simpleTransform(_)),I==="*"?p=A:d[I]=A});let m,g,y,b,x,w,C=!1;E();const T=new T1.Parser({onopentag:function(_,I){if(e.onOpenTag&&e.onOpenTag(_,I),e.enforceHtmlBoundary&&_==="html"&&E(),x){w++;return}const A=new i(_,I);g.push(A);let q=!1;const Z=!!A.text;let ne;if(Ye(d,_)&&(ne=d[_](_,I),A.attribs=I=ne.attribs,ne.text!==void 0&&(A.innerText=ne.text),_!==ne.tagName&&(A.name=_=ne.tagName,b[m]=ne.tagName)),p&&(ne=p(_,I),A.attribs=I=ne.attribs,_!==ne.tagName&&(A.name=_=ne.tagName,b[m]=ne.tagName)),(!s(_)||e.disallowedTagsMode==="recursiveEscape"&&!O1(y)||e.nestingLimit!=null&&m>=e.nestingLimit)&&(q=!0,y[m]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&o.indexOf(_)!==-1&&(x=!0,w=1)),m++,q){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(A.innerText&&!Z){const R=S(A.innerText);e.textFilter?r+=e.textFilter(R,_):r+=R,C=!0}return}u=r,r=""}r+="<"+_,_==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(A.innerText=""),q&&(e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape")&&e.preserveEscapedAttributes?Xt(I,function(R,W){r+=" "+W+'="'+S(R||"",!0)+'"'}):(!a||Ye(a,_)||a["*"])&&Xt(I,function(R,W){if(!L1.test(W)){delete A.attribs[W];return}if(R===""&&!e.allowedEmptyAttributes.includes(W)&&(e.nonBooleanAttributes.includes(W)||e.nonBooleanAttributes.includes("*"))){delete A.attribs[W];return}let Te=!1;if(!a||Ye(a,_)&&a[_].indexOf(W)!==-1||a["*"]&&a["*"].indexOf(W)!==-1||Ye(l,_)&&l[_].test(W)||l["*"]&&l["*"].test(W))Te=!0;else if(a&&a[_]){for(const V of a[_])if(C1(V)&&V.name&&V.name===W){Te=!0;let G="";if(V.multiple===!0){const le=R.split(" ");for(const he of le)V.values.indexOf(he)!==-1&&(G===""?G=he:G+=" "+he)}else V.values.indexOf(R)>=0&&(G=R);R=G}}if(Te){if(e.allowedSchemesAppliedToAttributes.indexOf(W)!==-1&&P(_,R)){delete A.attribs[W];return}if(_==="script"&&W==="src"){let V=!0;try{const G=z(R);if(e.allowedScriptHostnames||e.allowedScriptDomains){const le=(e.allowedScriptHostnames||[]).find(function(se){return se===G.url.hostname}),he=(e.allowedScriptDomains||[]).find(function(se){return G.url.hostname===se||G.url.hostname.endsWith(`.${se}`)});V=le||he}}catch{V=!1}if(!V){delete A.attribs[W];return}}if(_==="iframe"&&W==="src"){let V=!0;try{const G=z(R);if(G.isRelativeUrl)V=Ye(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const le=(e.allowedIframeHostnames||[]).find(function(se){return se===G.url.hostname}),he=(e.allowedIframeDomains||[]).find(function(se){return G.url.hostname===se||G.url.hostname.endsWith(`.${se}`)});V=le||he}}catch{V=!1}if(!V){delete A.attribs[W];return}}if(W==="srcset")try{let V=E1(R);if(V.forEach(function(G){P("srcset",G.url)&&(G.evil=!0)}),V=Ca(V,function(G){return!G.evil}),V.length)R=I1(Ca(V,function(G){return!G.evil})),A.attribs[W]=R;else{delete A.attribs[W];return}}catch{delete A.attribs[W];return}if(W==="class"){const V=f[_],G=f["*"],le=h[_],he=c[_],se=c["*"],d0=h["*"],Fs=[le,d0].concat(he,se).filter(function(h0){return h0});if(V&&G?R=B(R,Ta(V,G),Fs):R=B(R,V||G,Fs),!R.length){delete A.attribs[W];return}}if(W==="style"){if(e.parseStyleAttributes)try{const V=k1(_+" {"+R+"}",{map:!1}),G=v(V,e.allowedStyles);if(R=N(G),R.length===0){delete A.attribs[W];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+_+" {"+R+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete A.attribs[W];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}r+=" "+W,R&&R.length?r+='="'+S(R,!0)+'"':e.allowedEmptyAttributes.includes(W)&&(r+='=""')}else delete A.attribs[W]}),e.selfClosing.indexOf(_)!==-1?r+=" />":(r+=">",A.innerText&&!Z&&!e.textFilter&&(r+=S(A.innerText),C=!0)),q&&(r=u+S(r),u=""),A.openingTagLength=r.length-A.tagPosition},ontext:function(_){if(x)return;const I=g[g.length-1];let A;if(I&&(A=I.tag,_=I.innerText!==void 0?I.innerText:_),e.disallowedTagsMode==="completelyDiscard"&&!s(A))_="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(A==="script"||A==="style"))r+=_;else if(!C){const q=S(_,!1);e.textFilter?r+=e.textFilter(q,A):r+=q}if(g.length){const q=g[g.length-1];q.text+=_}},onclosetag:function(_,I){if(e.onCloseTag&&e.onCloseTag(_,I),x)if(w--,!w)x=!1;else return;const A=g.pop();if(!A)return;if(A.tag!==_){g.push(A);return}x=e.enforceHtmlBoundary?_==="html":!1,m--;const q=y[m];if(q){if(delete y[m],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){A.updateParentNodeText();return}u=r,r=""}if(b[m]&&(_=b[m],delete b[m]),e.exclusiveFilter){const Z=e.exclusiveFilter(A);if(Z==="excludeTag"){q&&(r=u,u=""),r=r.substring(0,A.tagPosition)+r.substring(A.tagPosition+A.openingTagLength);return}else if(Z){r=r.substring(0,A.tagPosition);return}}if(A.updateParentNodeMediaChildren(),A.updateParentNodeText(),e.selfClosing.indexOf(_)!==-1||I&&!s(_)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){q&&(r=u,u="");return}r+="</"+_+">",q&&(r=u+S(r),u=""),C=!1}},e.parser);if(T.write(n),T.end(),e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape"){const _=T.endIndex;if(_!=null&&_>=0&&_<n.length){const I=n.substring(_);r+=S(I)}else(_==null||_<0)&&n.length>0&&r===""&&(r=S(n))}return r;function E(){r="",m=0,g=[],y={},b={},x=!1,w=0}function S(_,I){return typeof _!="string"&&(_=_+""),e.parser.decodeEntities&&(_=_.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),I&&(_=_.replace(/"/g,"""))),_=_.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),I&&(_=_.replace(/"/g,""")),_}function P(_,I){for(I=I.replace(/[\x00-\x20]+/g,"");;){const Z=I.indexOf("<!--");if(Z===-1)break;const ne=I.indexOf("-->",Z+4);if(ne===-1)break;I=I.substring(0,Z)+I.substring(ne+3)}const A=I.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!A)return I.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const q=A[1].toLowerCase();return Ye(e.allowedSchemesByTag,_)?e.allowedSchemesByTag[_].indexOf(q)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(q)===-1}function z(_){if(_=_.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),_.startsWith("relative:"))throw new Error("relative: exploit attempt");let I="relative://relative-site";for(let Z=0;Z<100;Z++)I+=`/${Z}`;const A=new URL(_,I);return{isRelativeUrl:A&&A.hostname==="relative-site"&&A.protocol==="relative:",url:A}}function v(_,I){if(!I)return _;const A=_.nodes[0];let q;return I[A.selector]&&I["*"]?q=Ta(I[A.selector],I["*"]):q=I[A.selector]||I["*"],q&&(_.nodes[0].nodes=A.nodes.reduce(O(q),[])),_}function N(_){return _.nodes[0].nodes.reduce(function(I,A){return I.push(`${A.prop}:${A.value}${A.important?" !important":""}`),I},[]).join(";")}function O(_){return function(I,A){return Ye(_,A.prop)&&_[A.prop].some(function(Z){return Z.test(A.value)})&&I.push(A),I}}function B(_,I,A){return I?(_=_.split(/\s+/),_.filter(function(q){return I.indexOf(q)!==-1||A.some(function(Z){return Z.test(q)})}).join(" ")):_}}const D1={decodeEntities:!0};Gn.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1};Gn.simpleTransform=function(n,e,t){return t=t===void 0?!0:t,e=e||{},function(r,u){let i;if(t)for(i in e)u[i]=e[i];else u=e;return{tagName:n,attribs:u}}};const M1=ch(P1),f0=fn();class dr extends Cl{constructor(t,r,u,i,s){super(s);mn(this,"__src");mn(this,"__alt");mn(this,"__width");mn(this,"__height");this.__src=t,this.__alt=r,this.__width=u,this.__height=i}static getType(){return"image"}static clone(t){return new dr(t.__src,t.__alt,t.__width,t.__height,t.__key)}static importJSON(t){return $i({alt:t.alt,height:t.height,src:t.src,width:t.width})}exportJSON(){return{alt:this.__alt,height:this.__height,src:this.__src,type:"image",version:1,width:this.__width}}static importDOM(){return{img:t=>({conversion:r=>{if(!(r instanceof HTMLImageElement))return null;const u=r.getAttribute("src")??"";if(!u)return null;const i=r.getAttribute("width"),s=r.getAttribute("height");return{node:$i({alt:r.getAttribute("alt")??"",height:s?Number(s):void 0,src:u,width:i?Number(i):void 0})}},priority:0})}}exportDOM(){const t=document.createElement("img");return t.setAttribute("src",this.__src),this.__alt&&t.setAttribute("alt",this.__alt),this.__width&&t.setAttribute("width",String(this.__width)),this.__height&&t.setAttribute("height",String(this.__height)),{element:t}}createDOM(){return document.createElement("span")}updateDOM(){return!1}isInline(){return!0}getSrc(){return this.__src}setSrc(t){const r=this.getWritable();return r.__src=t,r}decorate(t){return $.jsx("img",{alt:this.__alt,height:this.__height,onClick:r=>{r.preventDefault(),t.dispatchCommand(f0,{key:this.getKey(),src:this.__src})},src:this.__src,width:this.__width})}}function $i({alt:n="",height:e,src:t,width:r}){return new dr(t,n,r,e)}function Ea(n){return n instanceof dr}const R1=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,B1=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,F1=[n=>{const e=R1.exec(n);return e!=null&&e.length?{index:e.index,length:e[0].length,text:e[0],url:`mailto:${e[0]}`}:null},n=>{const e=B1.exec(n);return e!=null&&e.length?{index:e.index,length:e[0].length,text:e[0],url:e[0].startsWith("http")?e[0]:`https://${e[0]}`}:null}];function j1(n){try{const e=new URL(n);return e.protocol==="http:"||e.protocol==="https:"}catch{return!1}}const q1="_editor_wm8ua_1",U1="_content_wm8ua_28",z1="_files_wm8ua_32",$1="_placeholder_wm8ua_44",W1="_fill_wm8ua_52",H1="_meta_wm8ua_67",V1="_active_wm8ua_76",G1="_submit_wm8ua_88",K1="_bold_wm8ua_92",J1="_italic_wm8ua_96",X1="_link_wm8ua_100",Z1="_list_wm8ua_106",Q1="_paragraph_wm8ua_107",ge={editor:q1,content:U1,files:z1,"has-files":"_has-files_wm8ua_40",placeholder:$1,fill:W1,meta:H1,active:V1,submit:G1,bold:K1,italic:J1,link:X1,list:Z1,paragraph:Q1},Y1=({disabled:n=!1,onFilesSelected:e,onSubmit:t,submitLabel:r="Submit"})=>{const[u]=Ie(),[i,s]=U.useState(!1),[o,a]=U.useState(!1),[l,f]=U.useState(!1),[h,c]=U.useState(!1),[d,p]=U.useState(!1),[m,g]=U.useState(""),[y,b]=U.useState(null),[x,w]=U.useState(""),C=U.useRef(null),T=U.useRef(null),E=U.useRef(null),S=U.useRef(!1),P=R=>R.preventDefault(),z=U.useCallback(R=>{E.current=L(R)?R.clone():null},[]),v=U.useCallback(R=>{u.update(()=>{E.current&&Ae(E.current)}),R(),E.current=null},[u]),N=R=>{S.current=!0,R.preventDefault()},O=()=>{if(S.current){S.current=!1;return}Z()},B=U.useCallback(()=>{a(!1),g(""),b(null)},[]),_=U.useCallback(()=>{c(!1),w("")},[]),I=U.useCallback(R=>{a(!0),g((R==null?void 0:R.src)??""),b((R==null?void 0:R.key)??null),_(),setTimeout(()=>{var W;return(W=C.current)==null?void 0:W.focus()},0)},[_]),A=U.useCallback(R=>{u.getEditorState().read(()=>{z(j())}),c(!0),w(R),B(),setTimeout(()=>{var W;return(W=T.current)==null?void 0:W.focus()},0)},[B,u,z]),q=U.useCallback(()=>{v(()=>{u.dispatchCommand(nn,{url:x,target:"_blank"})}),_()},[_,u,x,v]),Z=U.useCallback(()=>{const R=m.trim();if(!R){B();return}u.update(()=>{if(y){const W=ce(y);Ea(W)&&W.setSrc(R);return}ds([$i({src:R})])}),B()},[B,u,y,m]),ne=U.useCallback(()=>{if(!y){B();return}u.update(()=>{const R=ce(y);if(Ea(R)){const W=R.getParent();Bt(W)&&W.getChildrenSize()===1?W.remove():R.remove()}}),B()},[B,u,y]),Je=U.useCallback(()=>{v(()=>{u.dispatchCommand(nn,null)}),_()},[_,u,v]),ft=U.useCallback(()=>{const R=j();if(!L(R)){if(Ne(R)){const V=R.getNodes(),G=V[0]??null,le=(G==null?void 0:G.getParent())??null;s(V.some(se=>D(se)&&se.hasFormat("bold"))),f(V.some(se=>D(se)&&se.hasFormat("italic"))),p(X(le)||re(le)||X(G)||re(G));const he=tt(G)?G:tt(le)?le:null;if(he){c(!0),w(he.getURL());return}c(!1),w(""),E.current=null;return}s(!1),f(!1),p(!1),c(!1),w(""),E.current=null;return}const[W]=R.getNodes(),Te=(W==null?void 0:W.getParent())??null;if(s(R.hasFormat("bold")),f(R.hasFormat("italic")),p(X(Te)||re(Te)),tt(Te)){c(!0),w(Te.getURL()),z(R);return}c(!1),w(""),E.current=null},[z]);return U.useEffect(()=>at(u.registerUpdateListener(({editorState:R})=>{R.read(()=>{ft()})}),u.registerCommand(f0,R=>(I(R),!0),nt),u.registerCommand(du,()=>(u.getEditorState().read(()=>{ft()}),!1),nt)),[u,I,ft]),$.jsxs(y0.Toolbar,{variant:"editor","data-component":"editortoolbar",children:[$.jsx(je.Button,{"aria-label":"Bold","data-active":i,onClick:()=>{u.dispatchCommand(He,"bold")},title:"Bold",variant:"tertiary",children:$.jsx(qe.Icon,{name:"bold"})}),$.jsx(je.Button,{"aria-label":"Italic","data-active":l,onClick:()=>{u.dispatchCommand(He,"italic")},title:"Italic",variant:"tertiary",children:$.jsx(qe.Icon,{name:"italic"})}),$.jsx(je.Button,{"aria-label":"List","data-active":d,onClick:()=>{d?u.dispatchCommand(Wl,void 0):u.dispatchCommand($l,void 0)},title:"List",variant:"tertiary",children:$.jsx(qe.Icon,{name:"list"})}),$.jsx(je.Button,{"aria-label":"Link","data-active":h,onClick:()=>{h?Je():(u.dispatchCommand(nn,{url:"https://"}),A("https://"))},title:"Link",variant:"tertiary",children:$.jsx(qe.Icon,{name:"link"})}),$.jsx(je.Button,{"aria-label":"Image","data-active":o,onClick:()=>{o?B():I()},title:"Image",variant:"tertiary",children:$.jsx(qe.Icon,{name:"image"})}),e&&$.jsx(b0.Dropzone,{label:"Upload files",multiple:!0,onChange:R=>{R.target.files&&e(R.target.files)},variant:"minimal"}),t&&$.jsx(je.Button,{"aria-label":r,className:ge.submit,disabled:n,onClick:()=>t(),variant:"primary",children:$.jsx(qe.Icon,{name:"arrow-up"})}),$.jsxs("div",{className:ei.t(ge.meta,h||o?ge.active:""),children:[h&&$.jsxs($.Fragment,{children:[$.jsx(qs.Input,{onBlur:()=>q(),onChange:R=>w(R.target.value),onKeyDown:R=>{R.key==="Enter"&&(R.preventDefault(),q())},ref:T,value:x}),$.jsx(je.Button,{"aria-label":"Apply link",onClick:()=>{q()},onMouseDown:P,variant:"tertiary",children:$.jsx(qe.Icon,{name:"check"})}),$.jsx(je.Button,{"aria-label":"Remove link",onClick:()=>Je(),onMouseDown:P,variant:"tertiary",children:$.jsx(qe.Icon,{name:"trash"})})]}),o&&$.jsxs($.Fragment,{children:[$.jsx(qs.Input,{className:ei.t(ge.active),onBlur:O,onChange:R=>g(R.target.value),onKeyDown:R=>{R.key==="Enter"&&(R.preventDefault(),S.current=!0,Z())},ref:C,value:m}),$.jsx(je.Button,{"aria-label":"Apply image",onClick:()=>Z(),onMouseDown:N,variant:"tertiary",children:$.jsx(qe.Icon,{name:"check"})}),$.jsx(je.Button,{"aria-label":"Remove image",onClick:()=>ne(),onMouseDown:N,variant:"tertiary",children:$.jsx(qe.Icon,{name:"trash"})})]})]})]})};function em({content:n="",lastEmittedContentRef:e}){const[t]=Ie();return U.useEffect(()=>{e.current!==n&&t.update(()=>{const u=new DOMParser().parseFromString(n,"text/html"),i=Ll(t,u);ie().clear().select(),ds(i),Ae(null)})},[n,t,e]),null}const tm=({autofocus:n=!1,autolink:e=!1,content:t,disabled:r=!1,fill:u=!1,files:i,inline:s=!1,maxRows:o=12,minRows:a=1,onChange:l,onFilesChange:f,onSubmit:h,onUpload:c,placeholder:d,submitLabel:p})=>{const m=U.useRef(void 0),[g,y]=U.useState([]),b=i??g,x=E=>{i===void 0&&y(E),f==null||f(E)},w=E=>{if(typeof DataTransfer<"u"){const S=new DataTransfer;return E.forEach(P=>S.items.add(P)),S.files}return Object.assign([...E],{item:S=>E[S]??null})},C=async()=>{try{b.length>0&&await(c==null?void 0:c(w(b))),await(h==null?void 0:h()),b.length>0&&x([])}catch{return}},T={namespace:"Editor",theme:{link:ge.link,list:{ol:ge.list,ul:ge.list},paragraph:ge.paragraph,text:{bold:ge.bold,italic:ge.italic}},onError(E){throw E},nodes:[ku,ur,hn,ir,dr]};return $.jsx("div",{className:ei.t(ge.editor,u&&ge.fill,b.length>0&&ge["has-files"]),"data-component":"editor","data-max-rows":o,"data-min-rows":a,style:{"--editor-max-height":`calc(${o*1.25}em + (2 * var(--scale-8)))`,"--editor-min-height":`calc(${a*1.25}em + (2 * var(--scale-8)))`},children:$.jsxs(xd,{initialConfig:T,children:[!s&&$.jsx(Y1,{disabled:r,onFilesSelected:c||f?E=>{x([...b,...Array.from(E)])}:void 0,onSubmit:h?()=>void C():void 0,submitLabel:p}),$.jsx("div",{className:ge.content,children:$.jsx(ah,{contentEditable:$.jsx(kd,{"aria-placeholder":d??"",placeholder:()=>d?$.jsx("div",{className:ge.placeholder,children:d}):null}),ErrorBoundary:Id})}),b.length>0&&$.jsx("div",{"aria-label":"Files to upload",className:ge.files,role:"region",children:b.map((E,S)=>$.jsx(m0.File,{deleteAccessibleLabel:`Remove ${E.name} from upload queue`,name:E.name,onDelete:()=>x(b.filter((P,z)=>z!==S))},`${E.name}-${E.size}-${E.lastModified}-${S}`))}),n&&$.jsx(cd,{}),e&&$.jsx(yd,{matchers:F1}),$.jsx(jd,{}),t!==void 0&&$.jsx(em,{content:t,lastEmittedContentRef:m}),$.jsx(qd,{validateUrl:j1}),$.jsx(Ud,{}),l&&$.jsx($d,{onChange:(E,S)=>{E.read(()=>{const P=Dl(S,null),z=M1(P,{allowedTags:["a","b","br","i","img","li","ol","p","ul"]});m.current=z,l(z)})}})]})})};exports.Editor=tm;
|
|
57
|
+
`)});const o=e.nonTextTags||["script","style","textarea","option"];let a,l;e.allowedAttributes&&(a={},l={},Zt(e.allowedAttributes,function(_,I){a[I]=[];const A=[];_.forEach(function(U){typeof U=="string"&&U.indexOf("*")>=0?A.push(Ea(U).replace(/\\\*/g,".*")):a[I].push(U)}),A.length&&(l[I]=new RegExp("^("+A.join("|")+")$"))}));const f={},h={},c={};Zt(e.allowedClasses,function(_,I){if(a&&(et(a,I)||(a[I]=[]),a[I].push("class")),f[I]=_,Array.isArray(_)){const A=[];f[I]=[],c[I]=[],_.forEach(function(U){typeof U=="string"&&U.indexOf("*")>=0?A.push(Ea(U).replace(/\\\*/g,".*")):U instanceof RegExp?c[I].push(U):f[I].push(U)}),A.length&&(h[I]=new RegExp("^("+A.join("|")+")$"))}});const d={};let p;Zt(e.transformTags,function(_,I){let A;typeof _=="function"?A=_:typeof _=="string"&&(A=Jn.simpleTransform(_)),I==="*"?p=A:d[I]=A});let m,g,y,b,x,w,C=!1;k();const T=new C1.Parser({onopentag:function(_,I){if(e.onOpenTag&&e.onOpenTag(_,I),e.enforceHtmlBoundary&&_==="html"&&k(),x){w++;return}const A=new i(_,I);g.push(A);let U=!1;const Z=!!A.text;let Y;if(et(d,_)&&(Y=d[_](_,I),A.attribs=I=Y.attribs,Y.text!==void 0&&(A.innerText=Y.text),_!==Y.tagName&&(A.name=_=Y.tagName,b[m]=Y.tagName)),p&&(Y=p(_,I),A.attribs=I=Y.attribs,_!==Y.tagName&&(A.name=_=Y.tagName,b[m]=Y.tagName)),(!s(_)||e.disallowedTagsMode==="recursiveEscape"&&!I1(y)||e.nestingLimit!=null&&m>=e.nestingLimit)&&(U=!0,y[m]=!0,(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&o.indexOf(_)!==-1&&(x=!0,w=1)),m++,U){if(e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){if(A.innerText&&!Z){const J=S(A.innerText);e.textFilter?r+=e.textFilter(J,_):r+=J,C=!0}return}u=r,r=""}r+="<"+_,_==="script"&&(e.allowedScriptHostnames||e.allowedScriptDomains)&&(A.innerText=""),U&&(e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape")&&e.preserveEscapedAttributes?Zt(I,function(J,D){r+=" "+D+'="'+S(J||"",!0)+'"'}):(!a||et(a,_)||a["*"])&&Zt(I,function(J,D){if(!D1.test(D)){delete A.attribs[D];return}if(J===""&&!e.allowedEmptyAttributes.includes(D)&&(e.nonBooleanAttributes.includes(D)||e.nonBooleanAttributes.includes("*"))){delete A.attribs[D];return}let te=!1;if(!a||et(a,_)&&a[_].indexOf(D)!==-1||a["*"]&&a["*"].indexOf(D)!==-1||et(l,_)&&l[_].test(D)||l["*"]&&l["*"].test(D))te=!0;else if(a&&a[_]){for(const W of a[_])if(E1(W)&&W.name&&W.name===D){te=!0;let G="";if(W.multiple===!0){const ue=J.split(" ");for(const se of ue)W.values.indexOf(se)!==-1&&(G===""?G=se:G+=" "+se)}else W.values.indexOf(J)>=0&&(G=J);J=G}}if(te){if(e.allowedSchemesAppliedToAttributes.indexOf(D)!==-1&&P(_,J)){delete A.attribs[D];return}if(_==="script"&&D==="src"){let W=!0;try{const G=z(J);if(e.allowedScriptHostnames||e.allowedScriptDomains){const ue=(e.allowedScriptHostnames||[]).find(function(ae){return ae===G.url.hostname}),se=(e.allowedScriptDomains||[]).find(function(ae){return G.url.hostname===ae||G.url.hostname.endsWith(`.${ae}`)});W=ue||se}}catch{W=!1}if(!W){delete A.attribs[D];return}}if(_==="iframe"&&D==="src"){let W=!0;try{const G=z(J);if(G.isRelativeUrl)W=et(e,"allowIframeRelativeUrls")?e.allowIframeRelativeUrls:!e.allowedIframeHostnames&&!e.allowedIframeDomains;else if(e.allowedIframeHostnames||e.allowedIframeDomains){const ue=(e.allowedIframeHostnames||[]).find(function(ae){return ae===G.url.hostname}),se=(e.allowedIframeDomains||[]).find(function(ae){return G.url.hostname===ae||G.url.hostname.endsWith(`.${ae}`)});W=ue||se}}catch{W=!1}if(!W){delete A.attribs[D];return}}if(D==="srcset")try{let W=k1(J);if(W.forEach(function(G){P("srcset",G.url)&&(G.evil=!0)}),W=Na(W,function(G){return!G.evil}),W.length)J=P1(Na(W,function(G){return!G.evil})),A.attribs[D]=J;else{delete A.attribs[D];return}}catch{delete A.attribs[D];return}if(D==="class"){const W=f[_],G=f["*"],ue=h[_],se=c[_],ae=c["*"],qe=h["*"],bn=[ue,qe].concat(se,ae).filter(function(gr){return gr});if(W&&G?J=B(J,ka(W,G),bn):J=B(J,W||G,bn),!J.length){delete A.attribs[D];return}}if(D==="style"){if(e.parseStyleAttributes)try{const W=N1(_+" {"+J+"}",{map:!1}),G=v(W,e.allowedStyles);if(J=N(G),J.length===0){delete A.attribs[D];return}}catch{typeof window<"u"&&console.warn('Failed to parse "'+_+" {"+J+`}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`),delete A.attribs[D];return}else if(e.allowedStyles)throw new Error("allowedStyles option cannot be used together with parseStyleAttributes: false.")}r+=" "+D,J&&J.length?r+='="'+S(J,!0)+'"':e.allowedEmptyAttributes.includes(D)&&(r+='=""')}else delete A.attribs[D]}),e.selfClosing.indexOf(_)!==-1?r+=" />":(r+=">",A.innerText&&!Z&&!e.textFilter&&(r+=S(A.innerText),C=!0)),U&&(r=u+S(r),u=""),A.openingTagLength=r.length-A.tagPosition},ontext:function(_){if(x)return;const I=g[g.length-1];let A;if(I&&(A=I.tag,_=I.innerText!==void 0?I.innerText:_),e.disallowedTagsMode==="completelyDiscard"&&!s(A))_="";else if((e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard")&&(A==="script"||A==="style"))r+=_;else if(!C){const U=S(_,!1);e.textFilter?r+=e.textFilter(U,A):r+=U}if(g.length){const U=g[g.length-1];U.text+=_}},onclosetag:function(_,I){if(e.onCloseTag&&e.onCloseTag(_,I),x)if(w--,!w)x=!1;else return;const A=g.pop();if(!A)return;if(A.tag!==_){g.push(A);return}x=e.enforceHtmlBoundary?_==="html":!1,m--;const U=y[m];if(U){if(delete y[m],e.disallowedTagsMode==="discard"||e.disallowedTagsMode==="completelyDiscard"){A.updateParentNodeText();return}u=r,r=""}if(b[m]&&(_=b[m],delete b[m]),e.exclusiveFilter){const Z=e.exclusiveFilter(A);if(Z==="excludeTag"){U&&(r=u,u=""),r=r.substring(0,A.tagPosition)+r.substring(A.tagPosition+A.openingTagLength);return}else if(Z){r=r.substring(0,A.tagPosition);return}}if(A.updateParentNodeMediaChildren(),A.updateParentNodeText(),e.selfClosing.indexOf(_)!==-1||I&&!s(_)&&["escape","recursiveEscape"].indexOf(e.disallowedTagsMode)>=0){U&&(r=u,u="");return}r+="</"+_+">",U&&(r=u+S(r),u=""),C=!1}},e.parser);if(T.write(n),T.end(),e.disallowedTagsMode==="escape"||e.disallowedTagsMode==="recursiveEscape"){const _=T.endIndex;if(_!=null&&_>=0&&_<n.length){const I=n.substring(_);r+=S(I)}else(_==null||_<0)&&n.length>0&&r===""&&(r=S(n))}return r;function k(){r="",m=0,g=[],y={},b={},x=!1,w=0}function S(_,I){return typeof _!="string"&&(_=_+""),e.parser.decodeEntities&&(_=_.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),I&&(_=_.replace(/"/g,"""))),_=_.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&").replace(/</g,"<").replace(/>/g,">"),I&&(_=_.replace(/"/g,""")),_}function P(_,I){for(I=I.replace(/[\x00-\x20]+/g,"");;){const Z=I.indexOf("<!--");if(Z===-1)break;const Y=I.indexOf("-->",Z+4);if(Y===-1)break;I=I.substring(0,Z)+I.substring(Y+3)}const A=I.match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!A)return I.match(/^[/\\]{2}/)?!e.allowProtocolRelative:!1;const U=A[1].toLowerCase();return et(e.allowedSchemesByTag,_)?e.allowedSchemesByTag[_].indexOf(U)===-1:!e.allowedSchemes||e.allowedSchemes.indexOf(U)===-1}function z(_){if(_=_.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//"),_.startsWith("relative:"))throw new Error("relative: exploit attempt");let I="relative://relative-site";for(let Z=0;Z<100;Z++)I+=`/${Z}`;const A=new URL(_,I);return{isRelativeUrl:A&&A.hostname==="relative-site"&&A.protocol==="relative:",url:A}}function v(_,I){if(!I)return _;const A=_.nodes[0];let U;return I[A.selector]&&I["*"]?U=ka(I[A.selector],I["*"]):U=I[A.selector]||I["*"],U&&(_.nodes[0].nodes=A.nodes.reduce(O(U),[])),_}function N(_){return _.nodes[0].nodes.reduce(function(I,A){return I.push(`${A.prop}:${A.value}${A.important?" !important":""}`),I},[]).join(";")}function O(_){return function(I,A){return et(_,A.prop)&&_[A.prop].some(function(Z){return Z.test(A.value)})&&I.push(A),I}}function B(_,I,A){return I?(_=_.split(/\s+/),_.filter(function(U){return I.indexOf(U)!==-1||A.some(function(Z){return Z.test(U)})}).join(" ")):_}}const M1={decodeEntities:!0};Jn.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],nonBooleanAttributes:["abbr","accept","accept-charset","accesskey","action","allow","alt","as","autocapitalize","autocomplete","blocking","charset","cite","class","color","cols","colspan","content","contenteditable","coords","crossorigin","data","datetime","decoding","dir","dirname","download","draggable","enctype","enterkeyhint","fetchpriority","for","form","formaction","formenctype","formmethod","formtarget","headers","height","hidden","high","href","hreflang","http-equiv","id","imagesizes","imagesrcset","inputmode","integrity","is","itemid","itemprop","itemref","itemtype","kind","label","lang","list","loading","low","max","maxlength","media","method","min","minlength","name","nonce","optimum","pattern","ping","placeholder","popover","popovertarget","popovertargetaction","poster","preload","referrerpolicy","rel","rows","rowspan","sandbox","scope","shape","size","sizes","slot","span","spellcheck","src","srcdoc","srclang","srcset","start","step","style","tabindex","target","title","translate","type","usemap","value","width","wrap","onauxclick","onafterprint","onbeforematch","onbeforeprint","onbeforeunload","onbeforetoggle","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpageshow","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onreset","onresize","onrejectionhandled","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src","srcset","alt","title","width","height","loading"]},allowedEmptyAttributes:["alt"],selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1,parseStyleAttributes:!0,preserveEscapedAttributes:!1};Jn.simpleTransform=function(n,e,t){return t=t===void 0?!0:t,e=e||{},function(r,u){let i;if(t)for(i in e)u[i]=e[i];else u=e;return{tagName:n,attribs:u}}};const R1=fh(L1),p0=dn();class pr extends Nl{constructor(t,r,u,i,s){super(s);yn(this,"__src");yn(this,"__alt");yn(this,"__width");yn(this,"__height");this.__src=t,this.__alt=r,this.__width=u,this.__height=i}static getType(){return"image"}static clone(t){return new pr(t.__src,t.__alt,t.__width,t.__height,t.__key)}static importJSON(t){return Vi({alt:t.alt,height:t.height,src:t.src,width:t.width})}exportJSON(){return{alt:this.__alt,height:this.__height,src:this.__src,type:"image",version:1,width:this.__width}}static importDOM(){return{img:t=>({conversion:r=>{if(!(r instanceof HTMLImageElement))return null;const u=r.getAttribute("src")??"";if(!u)return null;const i=r.getAttribute("width"),s=r.getAttribute("height");return{node:Vi({alt:r.getAttribute("alt")??"",height:s?Number(s):void 0,src:u,width:i?Number(i):void 0})}},priority:0})}}exportDOM(){const t=document.createElement("img");return t.setAttribute("src",this.__src),this.__alt&&t.setAttribute("alt",this.__alt),this.__width&&t.setAttribute("width",String(this.__width)),this.__height&&t.setAttribute("height",String(this.__height)),{element:t}}createDOM(){return document.createElement("span")}updateDOM(){return!1}isInline(){return!0}getSrc(){return this.__src}setSrc(t){const r=this.getWritable();return r.__src=t,r}decorate(t){return $.jsx("img",{alt:this.__alt,height:this.__height,onClick:r=>{r.preventDefault(),t.dispatchCommand(p0,{key:this.getKey(),src:this.__src})},src:this.__src,width:this.__width})}}function Vi({alt:n="",height:e,src:t,width:r}){return new pr(t,n,r,e)}function Aa(n){return n instanceof pr}const B1=/(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/,F1=/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,j1=[n=>{const e=B1.exec(n);return e!=null&&e.length?{index:e.index,length:e[0].length,text:e[0],url:`mailto:${e[0]}`}:null},n=>{const e=F1.exec(n);return e!=null&&e.length?{index:e.index,length:e[0].length,text:e[0],url:e[0].startsWith("http")?e[0]:`https://${e[0]}`}:null}];function Gi(n){try{const e=new URL(n);return e.protocol==="http:"||e.protocol==="https:"}catch{return!1}}const q1="_editor_wm8ua_1",U1="_content_wm8ua_28",z1="_files_wm8ua_32",$1="_placeholder_wm8ua_44",W1="_fill_wm8ua_52",H1="_meta_wm8ua_67",V1="_active_wm8ua_76",G1="_submit_wm8ua_88",K1="_bold_wm8ua_92",J1="_italic_wm8ua_96",X1="_link_wm8ua_100",Z1="_list_wm8ua_106",Q1="_paragraph_wm8ua_107",me={editor:q1,content:U1,files:z1,"has-files":"_has-files_wm8ua_40",placeholder:$1,fill:W1,meta:H1,active:V1,submit:G1,bold:K1,italic:J1,link:X1,list:Z1,paragraph:Q1},Y1=({disabled:n=!1,onFilesSelected:e,onSubmit:t,submitLabel:r="Submit"})=>{const[u]=Ie(),[i,s]=q.useState(!1),[o,a]=q.useState(!1),[l,f]=q.useState(!1),[h,c]=q.useState(!1),[d,p]=q.useState(!1),[m,g]=q.useState(""),[y,b]=q.useState(null),[x,w]=q.useState(""),C=Gi(x.trim()),T=q.useRef(null),k=q.useRef(null),S=q.useRef(null),P=q.useRef(!1),z=D=>D.preventDefault(),v=q.useCallback(D=>{S.current=L(D)?D.clone():null},[]),N=q.useCallback(D=>{u.update(()=>{S.current&&Ae(S.current),D()}),S.current=null},[u]),O=D=>{P.current=!0,D.preventDefault()},B=()=>{if(P.current){P.current=!1;return}Y()},_=q.useCallback(()=>{a(!1),g(""),b(null)},[]),I=q.useCallback(()=>{c(!1),w("")},[]),A=q.useCallback(D=>{a(!0),g((D==null?void 0:D.src)??""),b((D==null?void 0:D.key)??null),I(),setTimeout(()=>{var te;return(te=T.current)==null?void 0:te.focus()},0)},[I]),U=q.useCallback(D=>{u.getEditorState().read(()=>{v(j())}),c(!0),w(D),_(),setTimeout(()=>{var te;return(te=k.current)==null?void 0:te.focus()},0)},[_,u,v]),Z=q.useCallback(()=>{const D=x.trim();Gi(D)&&(N(()=>{u.dispatchCommand(rn,{url:D,target:"_blank"});const te=j();if(!L(te))return;const W=te.getNodes().at(-1)??null,G=(W==null?void 0:W.getParent())??null,ue=Re(W)?W:Re(G)?G:null;if(ue){const se=ue.getLastChild();if(M(se)){const bn=se.getTextContent(),gr=bn.replace(/\s+$/,"");gr!==bn&&se.setTextContent(gr)}const ae=ue.getNextSibling();if(M(ae)&&/^\s/.test(ae.getTextContent())){ae.select(1,1);return}const qe=le(" ");ue.insertAfter(qe),qe.selectEnd()}}),I())},[I,u,x,N]),Y=q.useCallback(()=>{const D=m.trim();if(!D){_();return}u.update(()=>{if(y){const te=de(y);Aa(te)&&te.setSrc(D);return}ms([Vi({src:D})])}),_()},[_,u,y,m]),ft=q.useCallback(()=>{if(!y){_();return}u.update(()=>{const D=de(y);if(Aa(D)){const te=D.getParent();Bt(te)&&te.getChildrenSize()===1?te.remove():D.remove()}}),_()},[_,u,y]),Vt=q.useCallback(()=>{N(()=>{u.dispatchCommand(rn,null)}),I()},[I,u,N]),J=q.useCallback(()=>{const D=j();if(!L(D)){if(Ne(D)){const G=D.getNodes(),ue=G[0]??null,se=(ue==null?void 0:ue.getParent())??null;s(G.some(qe=>M(qe)&&qe.hasFormat("bold"))),f(G.some(qe=>M(qe)&&qe.hasFormat("italic"))),p(X(se)||ie(se)||X(ue)||ie(ue));const ae=Re(ue)?ue:Re(se)?se:null;if(ae){c(!0),w(ae.getURL());return}c(!1),w(""),S.current=null;return}s(!1),f(!1),p(!1),c(!1),w(""),S.current=null;return}const[te]=D.getNodes(),W=(te==null?void 0:te.getParent())??null;if(s(D.hasFormat("bold")),f(D.hasFormat("italic")),p(X(W)||ie(W)),Re(W)){c(!0),w(W.getURL()),v(D);return}c(!1),w(""),S.current=null},[v]);return q.useEffect(()=>at(u.registerUpdateListener(({editorState:D})=>{D.read(()=>{J()})}),u.registerCommand(p0,D=>(A(D),!0),nt),u.registerCommand(gu,()=>(u.getEditorState().read(()=>{J()}),!1),nt)),[u,A,J]),$.jsxs(_0.Toolbar,{variant:"editor","data-component":"editortoolbar",children:[$.jsx(Ue.Button,{"aria-label":"Bold","data-active":i,onClick:()=>{u.dispatchCommand(Ge,"bold")},title:"Bold",variant:"tertiary",children:$.jsx(ze.Icon,{name:"bold"})}),$.jsx(Ue.Button,{"aria-label":"Italic","data-active":l,onClick:()=>{u.dispatchCommand(Ge,"italic")},title:"Italic",variant:"tertiary",children:$.jsx(ze.Icon,{name:"italic"})}),$.jsx(Ue.Button,{"aria-label":"List","data-active":d,onClick:()=>{d?u.dispatchCommand(Gl,void 0):u.dispatchCommand(Vl,void 0)},title:"List",variant:"tertiary",children:$.jsx(ze.Icon,{name:"list"})}),$.jsx(Ue.Button,{"aria-label":"Link","data-active":h,onClick:()=>{h?U(x):(u.dispatchCommand(rn,{url:"https://"}),U("https://"))},title:"Link",variant:"tertiary",children:$.jsx(ze.Icon,{name:"link"})}),$.jsx(Ue.Button,{"aria-label":"Image","data-active":o,onClick:()=>{o?_():A()},title:"Image",variant:"tertiary",children:$.jsx(ze.Icon,{name:"image"})}),e&&$.jsx(y0.Dropzone,{label:"Upload files",multiple:!0,onChange:D=>{D.target.files&&e(D.target.files)},variant:"minimal"}),t&&$.jsx(Ue.Button,{"aria-label":r,className:me.submit,disabled:n,onClick:()=>t(),variant:"primary",children:$.jsx(ze.Icon,{name:"arrow-up"})}),$.jsxs("div",{className:ri.t(me.meta,h||o?me.active:""),children:[h&&$.jsxs($.Fragment,{children:[$.jsx($s.Input,{"aria-invalid":!C,onBlur:()=>Z(),onChange:D=>w(D.target.value),onKeyDown:D=>{D.key==="Enter"&&(D.preventDefault(),Z())},ref:k,value:x}),$.jsx(Ue.Button,{"aria-label":"Apply link",disabled:!C,onClick:()=>{Z()},onMouseDown:z,variant:"tertiary",children:$.jsx(ze.Icon,{name:"check"})}),$.jsx(Ue.Button,{"aria-label":"Remove link",onClick:()=>Vt(),onMouseDown:z,variant:"tertiary",children:$.jsx(ze.Icon,{name:"trash",variant:"danger"})})]}),o&&$.jsxs($.Fragment,{children:[$.jsx($s.Input,{className:ri.t(me.active),onBlur:B,onChange:D=>g(D.target.value),onKeyDown:D=>{D.key==="Enter"&&(D.preventDefault(),P.current=!0,Y())},ref:T,value:m}),$.jsx(Ue.Button,{"aria-label":"Apply image",onClick:()=>Y(),onMouseDown:O,variant:"tertiary",children:$.jsx(ze.Icon,{name:"check"})}),$.jsx(Ue.Button,{"aria-label":"Remove image",onClick:()=>ft(),onMouseDown:O,variant:"tertiary",children:$.jsx(ze.Icon,{name:"trash",variant:"danger"})})]})]})]})};function em({content:n="",lastEmittedContentRef:e}){const[t]=Ie();return q.useEffect(()=>{e.current!==n&&t.update(()=>{const u=new DOMParser().parseFromString(n,"text/html"),i=Rl(t,u);ce().clear().select(),ms(i),Ae(null)})},[n,t,e]),null}const tm=({autofocus:n=!1,autolink:e=!1,content:t,disabled:r=!1,fill:u=!1,files:i,inline:s=!1,maxRows:o=12,minRows:a=1,onChange:l,onFilesChange:f,onSubmit:h,onUpload:c,placeholder:d,submitLabel:p})=>{const m=q.useRef(void 0),[g,y]=q.useState([]),b=i??g,x=k=>{i===void 0&&y(k),f==null||f(k)},w=k=>{if(typeof DataTransfer<"u"){const S=new DataTransfer;return k.forEach(P=>S.items.add(P)),S.files}return Object.assign([...k],{item:S=>k[S]??null})},C=async()=>{try{b.length>0&&await(c==null?void 0:c(w(b))),await(h==null?void 0:h()),b.length>0&&x([])}catch{return}},T={namespace:"Editor",theme:{link:me.link,list:{ol:me.list,ul:me.list},paragraph:me.paragraph,text:{bold:me.bold,italic:me.italic}},onError(k){throw k},nodes:[Ou,sr,pn,or,pr]};return $.jsx("div",{className:ri.t(me.editor,u&&me.fill,b.length>0&&me["has-files"]),"data-component":"editor","data-max-rows":o,"data-min-rows":a,style:{"--editor-max-height":`calc(${o*1.25}em + (2 * var(--scale-8)))`,"--editor-min-height":`calc(${a*1.25}em + (2 * var(--scale-8)))`},children:$.jsxs(vd,{initialConfig:T,children:[!s&&$.jsx(Y1,{disabled:r,onFilesSelected:c||f?k=>{x([...b,...Array.from(k)])}:void 0,onSubmit:h?()=>void C():void 0,submitLabel:p}),$.jsx("div",{className:me.content,children:$.jsx(lh,{contentEditable:$.jsx(Nd,{"aria-placeholder":d??"",placeholder:()=>d?$.jsx("div",{className:me.placeholder,children:d}):null}),ErrorBoundary:Pd})}),b.length>0&&$.jsx("div",{"aria-label":"Files to upload",className:me.files,role:"region",children:b.map((k,S)=>$.jsx(b0.File,{deleteAccessibleLabel:`Remove ${k.name} from upload queue`,name:k.name,onDelete:()=>x(b.filter((P,z)=>z!==S))},`${k.name}-${k.size}-${k.lastModified}-${S}`))}),n&&$.jsx(fd,{}),e&&$.jsx(_d,{matchers:j1}),$.jsx(qd,{}),t!==void 0&&$.jsx(em,{content:t,lastEmittedContentRef:m}),$.jsx(Ud,{validateUrl:Gi}),$.jsx(zd,{}),l&&$.jsx(Wd,{onChange:(k,S)=>{k.read(()=>{const P=Bl(S,null),z=R1(P,{allowedTags:["a","b","br","i","img","li","ol","p","ul"]});m.current=z,l(z)})}})]})})};exports.Editor=tm;
|
|
58
58
|
//# sourceMappingURL=index.cjs.map
|