1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="48b9b431-2490-47fe-878e-72a0abfdeb12",e._sentryDebugIdIdentifier="sentry-dbid-48b9b431-2490-47fe-878e-72a0abfdeb12")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5800],{129:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(75971),i=n(59868),o=n(53239),l=o.useLayoutEffect,a=function(e){var t=o.useRef(e);return l(function(){t.current=e}),t},s=function(e,t){"function"==typeof e?e(t):e.current=t},u=function(e,t){var n=o.useRef();return o.useCallback(function(r){e.current=r,n.current&&s(n.current,null),n.current=t,t&&s(t,r)},[t])},c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0",display:"block"},d=function(e){Object.keys(c).forEach(function(t){e.style.setProperty(t,c[t],"important")})},h=null,f=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize},p=function(){},g=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak","wordSpacing","scrollbarGutter"],m=!!document.documentElement.currentStyle,v=function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n=g.reduce(function(e,n){return e[n]=t[n],e},{}),r=n.boxSizing;if(""===r)return null;m&&"border-box"===r&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var i=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),o=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:i,borderSize:o}};function y(e,t,n){var r=a(n);o.useLayoutEffect(function(){var n=function(e){return r.current(e)};if(e)return e.addEventListener(t,n),function(){return e.removeEventListener(t,n)}},[])}var x=function(e,t){y(document.body,"reset",function(n){e.current.form===n.target&&t(n)})},b=function(e){y(window,"resize",e)},w=function(e){y(document.fonts,"loadingdone",e)},C=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],_=o.forwardRef(function(e,t){var n=e.cacheMeasurements,l=e.maxRows,a=e.minRows,s=e.onChange,c=void 0===s?p:s,g=e.onHeightChange,m=void 0===g?p:g,y=(0,i.A)(e,C),_=void 0!==y.value,k=o.useRef(null),E=u(k,t),S=o.useRef(0),T=o.useRef(),A=function(){var e=k.current,t=n&&T.current?T.current:v(e);if(t){T.current=t;var r,i,o,s,u,c,p,g,y,x,b,w=(r=e.value||e.placeholder||"x",void 0===(i=a)&&(i=1),void 0===(o=l)&&(o=1/0),h||((h=document.createElement("textarea")).setAttribute("tabindex","-1"),h.setAttribute("aria-hidden","true"),d(h)),null===h.parentNode&&document.body.appendChild(h),s=t.paddingSize,u=t.borderSize,p=(c=t.sizingStyle).boxSizing,Object.keys(c).forEach(function(e){h.style[e]=c[e]}),d(h),h.value=r,g=f(h,t),h.value=r,g=f(h,t),h.value="x",x=(y=h.scrollHeight-s)*i,"border-box"===p&&(x=x+s+u),g=Math.max(x,g),b=y*o,"border-box"===p&&(b=b+s+u),[g=Math.min(b,g),y]),C=w[0],_=w[1];S.current!==C&&(S.current=C,e.style.setProperty("height",C+"px","important"),m(C,{rowHeight:_}))}};return o.useLayoutEffect(A),x(k,function(){if(!_){var e=k.current.value;requestAnimationFrame(function(){var t=k.current;t&&e!==t.value&&A()})}}),b(A),w(A),o.createElement("textarea",(0,r.A)({},y,{onChange:function(e){_||A(),c(e)},ref:E}))})},1227:(e,t,n)=>{"use strict";function r(){}n.d(t,{ok:()=>r})},1526:()=>{var e,t;(e=Prism).languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}
1,1723:(e,t,n)=>{"use strict";n.d(t,{_:()=>l,h:()=>a});var r=n(35588),i=n(29641);function o(e){e.undoStack=[],e.redoStack=[],e.current=null}function l(e,t,n){let l,a,s=(l=Date.now(),a=0,(t,r,o,s,u,c)=>{let d=Date.now();if(c.has("historic"))return a=0,l=d,2;let h=function(e,t,n,r,o){if(null===e||0===n.size&&0===r.size&&!o)return 0;let l=t._selection,a=e._selection;if(o)return 1;if(!((0,i.I2)(l)&&(0,i.I2)(a)&&a.isCollapsed()&&l.isCollapsed()))return 0;let s=function(e,t,n){let r=e._nodeMap,o=[];for(let e of t){let t=r.get(e);void 0!==t&&o.push(t)}for(let[e,t]of n){if(!t)continue;let n=r.get(e);void 0===n||(0,i.hV)(n)||o.push(n)}return o}(t,n,r);if(0===s.length)return 0;if(s.length>1){let n=t._nodeMap,r=n.get(l.anchor.key),o=n.get(a.anchor.key);return r&&o&&!e._nodeMap.has(r.__key)&&(0,i.kF)(r)&&1===r.__text.length&&1===l.anchor.offset?2:0}let u=s[0],c=e._nodeMap.get(u.__key);if(!(0,i.kF)(c)||!(0,i.kF)(u)||c.__mode!==u.__mode)return 0;let d=c.__text,h=u.__text;if(d===h)return 0;let f=l.anchor,p=a.anchor;if(f.key!==p.key||"text"!==f.type)return 0;let g=f.offset,m=p.offset,v=h.length-d.length;return 1===v&&m===g-1?2:-1===v&&m===g+1?3:4*(-1===v&&m===g)}(t,r,s,u,e.isComposing()),f=(()=>{var f;let p,g,m,v,y=null===o||o.editor===e,x=c.has("history-push");if(!x&&y&&c.has("history-merge"))return 0;if(null===t)return 1;let b=r._selection;return s.size>0||u.size>0?!1===x&&0!==h&&h===a&&d<l+n&&y?0:1!==s.size||(f=Array.from(s)[0],p=t._nodeMap.get(f),g=r._nodeMap.get(f),m=t._selection,v=r._selection,(0,i.I2)(m)&&(0,i.I2)(v)&&"element"===m.anchor.type&&"element"===m.focus.type&&"text"===v.anchor.type&&"text"===v.focus.type||!(0,i.kF)(p)||!(0,i.kF)(g)||p.__parent!==g.__parent||JSON.stringify(t.read(()=>p.exportJSON()))!==JSON.stringify(r.read(()=>g.exportJSON())))?1:0:2*(null===b)})();return l=d,a=h,f});return(0,r.Sd)(e.registerCommand(i.ZK,()=>((function(e,t){let n=t.redoStack,r=t.undoStack;if(0!==r.length){let o=t.current,l=r.pop();null!==o&&(n.push(o),e.dispatchCommand(i.WW,!0)),0===r.length&&e.dispatchCommand(i.Kf,!1),t.current=l||null,l&&l.editor.setEditorState(l.editorState,{tag:"historic"})}})(e,t),!0),i.jZ),e.registerCommand(i.V3,()=>((function(e,t){let n=t.redoStack,r=t.undoStack;if(0!==n.length){let o=t.current;null!==o&&(r.push(o),e.dispatchCommand(i.Kf,!0));let l=n.pop();0===n.length&&e.dispatchCommand(i.WW,!1),t.current=l||null,l&&l.editor.setEditorState(l.editorState,{tag:"historic"})}})(e,t),!0),i.jZ),e.registerCommand(i.SK,()=>(o(t),!1),i.jZ),e.registerCommand(i.t5,()=>(o(t),e.dispatchCommand(i.WW,!1),e.dispatchCommand(i.Kf,!1),!0),i.jZ),e.registerUpdateListener(({editorState:n,prevEditorState:r,dirtyLeaves:o,dirtyElements:l,tags:a})=>{let u=t.current,c=t.redoStack,d=t.undoStack,h=null===u?null:u.editorState;if(null!==u&&n===h)return;let f=s(r,n,u,o,l,a);if(1===f)0!==c.length&&(t.redoStack=[],e.dispatchCommand(i.WW,!1)),null!==u&&(d.push({...u}),e.dispatchCommand(i.Kf,!0));else if(2===f)return;t.current={editor:e,editorState:n}}))}function a(){return{current:null,redoStack:[],undoStack:[]}}},2028:(e,t,n)=>{"use strict";n.d(t,{oQ:()=>o,qx:()=>r,sY:()=>i});let r=void 0!==window.document.createElement,i=r&&/Mac|iPod|iPhone|iPad/.test(navigator.platform);function o(e,t){return i?e:t}},3341:(e,t,n)=>{var r=n(82875),i=n(27872),o=Object.prototype.propertyIsEnumerable,l=Object.getOwnPropertySymbols;e.exports=l?function(e){return null==e?[]:r(l(e=Object(e)),function(t){return o.call(e,t)})}:i},4108:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(42458);class i extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let i="",o={},l=!1;if(t&&(o="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!o.cause&&e&&(l=!0,i=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=(0,r.L)(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}i.prototype.file="",i.prototype.name="",i.prototype.reason="",i.prototype.message="",i.prototype.stack="",i.prototype.column=void 0,i.prototype.line=void 0,i.prototype.ancestors=void 0,i.prototype.cause=void 0,i.prototype.fatal=void 0,i.prototype.place=void 0,i.prototype.ruleId=void 0,i.prototype.source=void 0},4211:(e,t,n)=>{var r=n(77488),i=n(85985),o=n(92685),l=n(53418),a=n(83172),s=n(95418),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,d,h){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!d(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var p=1&r;if(f||(f=s),e.size!=t.size&&!p)break;var g=h.get(e);if(g)return g==t;r|=2,h.set(e,t);var m=l(f(e),f(t),r,u,d,h);return h.delete(e),m;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},4632:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var r=n(37136),i=n(61383);function o(e,t){let n,o,l=(0,i.a)(e),a=(0,i.a)(t),s=(0,r.z)(l,a),u=Math.abs((n=(0,i.a)(l),o=(0,i.a)(a),n.getFullYear()-o.getFullYear()));l.setFullYear(1584),a.setFullYear(1584);let c=(0,r.z)(l,a)===-s,d=s*(u-c);return 0===d?0:d}},4711:()=>{Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
1])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python},5271:()=>{Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}},5316:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},5511:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var r=n(17600),i=n(20876);let o=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function l(e){return e.replace(o,a)}function a(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return(0,i.C)(n.slice(t?2:1),t?16:10)}return(0,r.s)(n)||e}},6137:(e,t,n)=>{"use strict";n.d(t,{py:()=>E,A:()=>I,Mi:()=>P,_5:()=>_,zr:()=>M,WK:()=>C,NN:()=>A,XI:()=>T,_F:()=>S,uQ:()=>k});var r=n(67889),i=n(29641),o=n(2028),l=n(52465);function a(e){let t=(0,i.vJ)(),n=window.getSelection(),r=document.activeElement,o=e.getRootElement();if(null!==t&&null!==n&&null!==o&&o.contains(n.anchorNode)&&e.isEditable()){let e,t=n.getRangeAt(0);if(n.isCollapsed){let t=n.anchorNode;(null==t?void 0:t.nodeType)==3&&(t=t.parentNode),(e=t.getBoundingClientRect()).width=0}
1else if(n.anchorNode===o){let t=o;for(;null!=t.firstElementChild;)t=t.firstElementChild;e=t.getBoundingClientRect()}else e=t.getBoundingClientRect();return{top:Math.round(e.top),left:Math.round(e.left),width:Math.round(e.width),height:Math.round(e.height)}}return r&&r.className,null}var s=n(74008),u=n(35627),c=n(8325),d=n(53239),h=n(60486),f=n(73440),p=n(11230),g=n(49795),m=n(14812);function v({url:e,title:t,onSubmit:n,onCancel:r,linkAutocompleteSuggestions:i}){let{register:o,handleSubmit:l,control:a,setValue:u,reset:c}=(0,g.mN)({values:{url:e,title:t}}),m=(0,s.Bd)();return d.createElement("form",{onSubmit:e=>{l(n)(e),e.stopPropagation(),e.preventDefault()},onReset:e=>{e.stopPropagation(),r()},className:p(f.Ay.multiFieldForm,f.Ay.linkDialogEditForm)},d.createElement("div",{className:f.Ay.formField},d.createElement("label",{htmlFor:"link-url"},m("createLink.url","URL")),d.createElement(h.D,{register:o,initialInputValue:e,inputName:"url",suggestions:i,setValue:u,control:a,placeholder:m("createLink.urlPlaceholder","Select or paste an URL"),autofocus:!0})),d.createElement("div",{className:f.Ay.formField}
1,d.createElement("label",{htmlFor:"link-title"},m("createLink.title","Title")),d.createElement("input",{id:"link-title",className:f.Ay.textInput,size:40,...o("title")})),d.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},d.createElement("button",{type:"submit",title:m("createLink.saveTooltip","Set URL"),"aria-label":m("createLink.saveTooltip","Set URL"),className:p(f.Ay.primaryButton)},m("dialogControls.save","Save")),d.createElement("button",{type:"reset",title:m("createLink.cancelTooltip","Cancel change"),"aria-label":m("createLink.cancelTooltip","Cancel change"),className:p(f.Ay.secondaryButton)},m("dialogControls.cancel","Cancel"))))}(0,i.gu)();let y=()=>{let[e,t,n,r,i,o]=(0,m.uX)(s.xZ,s.Cp,s.yr,_,I,M),l=(0,m.qM)(C),a=(0,m.qM)(k),h=(0,m.qM)(E),g=(0,m.qM)(S),y=(0,m.qM)(T);d.useEffect(()=>{let e=()=>{null==t||t.getEditorState().read(()=>{l(!0)})};return window.addEventListener("resize",e),window.addEventListener("scroll",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[t,l]);let[b,w]=d.useState(!1),A=(0,s.Bd)(),P=r.rectangle,N="preview"===r.type&&r.url.startsWith("http");return d.createElement(u.bL,{open:"inactive"!==r.type},d.createElement(u.Mz,{"data-visible":"edit"===r.type,className:f.Ay.linkDialogAnchor,style:{to
1p:`${(null==P?void 0:P.top)??0}px`,left:`${(null==P?void 0:P.left)??0}px`,width:`${(null==P?void 0:P.width)??0}px`,height:`${(null==P?void 0:P.height)??0}px`}}),d.createElement(u.ZL,{container:null==e?void 0:e.current},d.createElement(u.UC,{className:p(f.Ay.linkDialogPopoverContent),sideOffset:5,onOpenAutoFocus:e=>{e.preventDefault()},key:r.linkNodeKey},"edit"===r.type&&d.createElement(v,{url:r.url,title:r.title,onSubmit:a,onCancel:h.bind(null),linkAutocompleteSuggestions:i}),"preview"===r.type&&d.createElement(d.Fragment,null,d.createElement("a",{className:f.Ay.linkDialogPreviewAnchor,href:r.url,...N?{target:"_blank",rel:"noreferrer"}:{},onClick:e=>{null!==o&&(e.preventDefault(),o(r.url))},title:N?A("linkPreview.open","Open {{url}} in new window",{url:r.url}):r.url},d.createElement("span",null,r.url),N&&n("open_in_new")),d.createElement(x,{onClick:()=>{g()},title:A("linkPreview.edit","Edit link URL"),"aria-label":A("linkPreview.edit","Edit link URL")},n("edit")),d.createElement(c.Kq,null,d.createElement(c.bL,{open:b},d.createElement(c.l9,{asChild:!0},d.createElement(x,{title:A("linkPreview.copyToClipboard","Copy to clipboard"),"aria-label":A("linkPreview.copyToClipboard","Copy to clipboard"),onClick:()=>{window.navigator.clipboard.writeText(r.url).then(()=>{w(!0),setTimeout(()=>{w(!1)},1e3)})}},n(b?"check":"content_copy"))),d.createElement(c.ZL,{container:null==e?void 0:e.current},d.createElement(c.UC,{className:p(f.Ay.tooltipContent),sideOffset:5},A("linkPreview.copied","Copied!"),d.createElement(c.i3,null))))),d.createElement(x,{title:A("linkPreview.remove","Remove link"),"aria-label":A("linkPreview.remove","Remove link"),onClick:()=>{y()}},n("link_off"))),d.createElement(u.i3,{className:f.Ay.popoverArrow}))))},x=d.forwardRef(({className:e,...t},n)=>d.createElement("button",{className:p(f.Ay.actionButton,e),ref:n,...t}));var b=n(94185);function w(e){if(!e)return null;let t=function(e){try{let t=e.anchor,n=e.focus,r=e.anchor.getNode(),i=e.focus.getNode();if(r===i)return r;if(e.isBackward())return(0,l.Nx)(n)?r:i;return(0,l.Nx)(t)?r:i}catch(e){return null}}(e);if(null===t)return null;let n=t.getParent();return(0,r.FJ)(n)?n:(0,r.FJ)(t)?t:null}let C=(0,m.HN)(),_=(0,m.fh)({type:"inactive"},e=>{e.pub(s.Z4,t=>t.registerCommand(i.Q$,()=>"preview"===e.getValue(_).type&&(e.pub(_,{type:"inactive"}),!0),i.Ac)),e.pub(s.Z4,t=>t.registerCommand(i.cq,t=>{if("k"===t.key&&(o.sY?t.metaKey:t.ctrlKey)&&!e.getValue(s.pc)){let n=(0,i.vJ)();if((0,i.I2)(n))return e.pub(A),t.stopPropagation(),t.preventDefault(),!0}return!1},i.Wg)),e.link(e.pipe(S,(0,m.EY)(_),(0,m.Tj)(([,e])=>{if("preview"===e.type)return{type:"edit",initialUrl:e.url,url:e.url,title:e.title,linkNodeKey:e.linkNodeKey,rectangle:e.rectangle};throw Error("Cannot switch to edit mode when not in preview mode")})),_),e.sub(e.pipe(k,(0,m.EY)(s.Cp,_,s.cj)),([t,n,o,l])=>{var a,s;let u=(null==(a=t.url)?void 0:a.trim())??"",c=(null==(s=t.title)?void 0:s.trim())??"";if(""!==u){if(null==l?void 0:l.isCollapsed()){let e=c||u;null==n||n.update(()=>{let t=w(l);if(t)t.setURL(u),t.setTitle(c);else{let t=(0,r.zA)(u,{title:c});t.append((0,i.sT)(e)),(0,i.H2)([t]),t.select()}},{discrete:!0})}else null==n||n.dispatchCommand(r.yW,{url:u,title:c});e.pub(_,{type:"preview",linkNodeKey:o.linkNodeKey,rectangle:o.rectangle,title:c,url:u})}else"edit"===o.type&&""!==o.initialUrl&&(null==n||n.dispatchCommand(r.yW,null)),e.pub(_,{type:"inactive"})}),e.link(e.pipe(E,(0,m.EY)(_,s.Cp),(0,m.Tj)(([,e,t])=>{if("edit"===e.type)return(null==t||t.focus(),""===e.initialUrl)?{type:"inactive"}:{type:"preview",url:e.initialUrl,linkNodeKey:e.linkNodeKey,rectangle:e.rectangle};throw Error("Cannot cancel edit when not in edit mode")})),_),e.link(e.pipe(e.combine(s.cj,C),(0,m.EY)(s.Cp,_,s.pc),(0,m.Tj)(([[e],t,n,r])=>{if(!(0,i.I2)(e)||!t||r)return{type:"inactive"};{let n=w(e);return n?{type:"preview",url:n.getURL(),linkNodeKey:n.getKey(),title:n.getTitle(),rectangle:a(t)}:{type:"inactive"}}})),_)}),k=(0,m.HN)(),E=(0,m.rc)();(0,m.rc)();let S=(0,m.rc)(),T=(0,m.rc)(e=>{e.sub(e.pipe(T,(0,m.EY)(s.Cp)),([,e])=>{null==e||e.dispatchCommand(r.yW,null)})}),A=(0,m.rc)(e=>{e.sub(e.pipe(A,(0,m.EY)(s.cj,s.Cp),(0,m.pb)(([,e])=>(0,i.I2)(e))),([,t,n])=>{null==n||n.focus(()=>{n.getEditorState().read(()=>{let r=w(t),i=a(n);r?e.pub(_,{type:"edit",initialUrl:r.getURL(),initialTitle:r.getTitle()??"",url:r.getURL(),title:r.getTitle()??"",linkNodeKey:r.getKey(),rectangle:i}):e.pub(_,{type:"edit",initialUrl:"",initialTitle:"",title:"",url:"",linkNodeKey:"",rectangle:i})})})})}),I=(0,m.fh)([]),M=(0,m.fh)(null),P=(0,b.Z)({init(e,t){e.pub(s.aC,(null==t?void 0:t.LinkDialog)??y),e.pub(M,(null==t?void 0:t.onClickLinkCallback)??null)},update(e,t={}){e.pub(I,t.linkAutocompleteSuggestions??[])}})},7179:(e,t,n)=>{"use strict";n.d(t,{Nq:()=>b,SH:()=>x,Zq:()=>w});var r=n(74008),i=n(84005);let o={testNode:"list",visitNode:function({mdastNode:e,lexicalParent:t,actions:n}){let r=e.children.some(e=>"boolean"==typeof e.checked)?"check":e.ordered?"number":"bullet",o=(0,i.DE)(r);if((0,i.Mz)(t)){let e=(0,i.i)();e.append(o),t.insertAfter(e)}else t.append(o);
1n.visitChildren(e,o)}},l={testNode:"listItem",visitNode({mdastNode:e,actions:t,lexicalParent:n}){let r="check"===n.getListType()?e.checked??!1:void 0;t.addAndStepInto((0,i.i)(r))}},a={testLexicalNode:i.HY,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("list",{ordered:"number"===e.getListType(),spread:!1})}},s={testLexicalNode:i.Mz,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getChildren(),o=r[0];if(1===r.length&&(0,i.HY)(o)){let r=t.children.at(-1);r?n.visitChildren(e,r):n.visitChildren(o,t)}else{let r=e.getParent(),i=n.appendToParent(t,{type:"listItem",checked:"check"===r.getListType()?!!e.getChecked():void 0,spread:!1,children:[{type:"paragraph",children:[]}]});n.visitChildren(e,i.children[0])}}};var u=n(29641),c=n(13278),d=n(21170),h=n(85400),f=n(35588),p=n(56698),g=n(39359),m=n(14812),v=n(94185);let y=new Map([["number",i.x],["bullet",i.q7],["check",i.mJ],["",i.uS]]),x=(0,m.fh)("",e=>{e.sub(e.pipe(r.cj,(0,m.EY)(r.Cp)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),o="root"===r.getKey()?r:(0,f.Bt)(r,e=>{let t=e.getParent();return null!==t&&(0,u.Iq)(t)});null===o&&(o=r.getTopLevelElementOrThrow());let l=o.getKey();if(null!==n.getElementByKey(l))if((0,i.HY)(o)){let t=(0,f.eu)(r,i.v5),n=t?t.getListType():o.getListType();e.pub(x,n)}else e.pub(x,"")})}),b=(0,m.HN)(e=>{e.sub(e.pipe(b,(0,m.EY)(r.Cp)),([e,t])=>
1{null==t||t.dispatchCommand(y.get(e),void 0)})}),w=(0,v.Z)({init(e){var t;null==(t=e.getValue(r.u0))||t.registerCommand(u.Pi,()=>!function(e){let t,n=(0,u.vJ)();if(!(0,u.I2)(n))return!1;let r=new Set(0===(t=n.getNodes()).length?[n.anchor.getNode().getParentOrThrow(),n.focus.getNode().getParentOrThrow()]:t.map(e=>(0,u.ff)(e)?e:e.getParentOrThrow())),o=0;for(let e of r)if((0,i.HY)(e))o=Math.max((0,i.g2)(e)+1,o);else if((0,i.Mz)(e)){let t=e.getParent();if((null==t?void 0:t.getChildren().length)===1){let e=t.getParent();if((0,i.Mz)(e)&&1===e.getChildren().length)return!1}if(!(0,i.HY)(t))throw Error("ListMaxIndentLevelPlugin: A ListItemNode must have a ListNode for a parent.");o=Math.max((0,i.g2)(t)+1,o)}return o<=7}(7),u.d),e.pubIn({[r.$0]:"lists",[r.C2]:(0,g.S)(),[r.cx]:(0,p.J)(),[r.R1]:[o,l],[r.q]:[i.YW,i.v5],[r.iI]:[a,s],[r.lN]:(0,g.P)(),[r.aC]:[c.m,h.Q,d.A],[r.Id]:[c.m,h.Q,d.A]})}})},8185:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(15893),i=1/0;let o=function(e){return(null==e?0:e.length)?(0,r.A)(e,i):[]}},8938:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return o;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function o(){return!0}},10738:(e,t,n)=>{"use strict";n.d(t,{R:()=>i});var r=n(15185);function i(e,t,n){return+(0,r.k)(e,n)==+(0,r.k)(t,n)}},11230:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},11955:(e,t,n)=>{"use strict";n.d(t,{I:()=>u});var r=n(8325),i=n(11230),o=n(53239),l=n(73440),a=n(14812),s=n(74008);let u=o.forwardRef(({title:e,children:t},n)=>{let u=(0,a.X3)(s.xZ);return o.createElement(r.Kq,{delayDuration:100},o.createElement(r.bL,null,o.createElement(r.l9,{ref:n,asChild:!0},o.createElement("span",{className:l.Ay.tooltipTrigger},t)),o.createElement(r.ZL,{container:null==u?void 0:u.current},o.createElement(r.UC,{className:i(l.Ay.tooltipContent),sideOffset:10},e))))})},11980:(e,t,n)=>{"use strict";n.d(t,{UC:()=>R,VY:()=>H,ZD:()=>O,ZL:()=>L,bL:()=>P,hE:()=>V,hJ:()=>D,l9:()=>N,rc:()=>F});var r=n(53239),i=n(76200),o=n(82850),l=n(78286),a=n(41375),s=n(24788),u=n(80263),c="AlertDialog",[d,h]=(0,i.A)(c,[l.Hs]),f=(0,l.Hs)(),p=e=>{let{__scopeAlertDialog:t,...n}=e,r=f(t);return(0,u.jsx)(l.bL,{...r,...n,modal:!0})};p.displayName=c;var g=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=f(n);return(0,u.jsx)(l.l9,{...i,...r,ref:t})});g.displayName="AlertDialogTrigger";var m=e=>{let{__scopeAlertDialog:t,...n}=e,r=f(t);return(0,u.jsx)(l.ZL,{...r,...n})};m.displayName="AlertDialogPortal";var v=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=f(n);return(0,u.jsx)(l.hJ,{...i,...r,ref:t})});v.displayName="AlertDialogOverlay";var y="AlertDialogContent",[x,b]=d(y),w=(0,s.Dc)("AlertDialogContent"),C=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,children:i,...s}=e,c=f(n),d=r.useRef(null),h=(0,o.s)(t,d),p=r.useRef(null);return(0,u.jsx)(l.G$,{contentName:y,titleName:_,docsSlug:"alert-dialog",children:(0,u.jsx)(x,{scope:n,cancelRef:p,children:(0,u.jsxs)(l.UC,{role:"alertdialog",...c,...s,ref:h,onOpenAutoFocus:(0,a.mK)(s.onOpenAutoFocus,e=>{e.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,u.jsx)(w,{children:i}),(0,u.jsx)(M,{contentRef:d})]})})})});C.displayName=y;var _="AlertDialogTitle",k=r.forwardRef((e,t)=>
1{let{__scopeAlertDialog:n,...r}=e,i=f(n);return(0,u.jsx)(l.hE,{...i,...r,ref:t})});k.displayName=_;var E="AlertDialogDescription",S=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=f(n);return(0,u.jsx)(l.VY,{...i,...r,ref:t})});S.displayName=E;var T=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,i=f(n);return(0,u.jsx)(l.bm,{...i,...r,ref:t})});T.displayName="AlertDialogAction";var A="AlertDialogCancel",I=r.forwardRef((e,t)=>{let{__scopeAlertDialog:n,...r}=e,{cancelRef:i}=b(A,n),a=f(n),s=(0,o.s)(t,i);return(0,u.jsx)(l.bm,{...a,...r,ref:s})});I.displayName=A;var M=({contentRef:e})=>{let t=`\`${y}\` requires a description for the component to be accessible for screen reader users. 2 3You can add a description to the \`${y}\` by passing a \`${E}\` component as a child, which also benefits sighted users by adding visible context to the dialog. 4 5Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${y}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. 6 7For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return r.useEffect(()=>{document.getElementById(e.current?.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},P=p,N=g,L=m,D=v,R=C,F=T,O=I,V=k,H=S},12896:(e,t,n)=>{"use strict";function r(e,t){return t(e),e}function i(){}n.d(t,{Mi:()=>r,lQ:()=>i})},12959:(e,t,n)=>{"use strict";n.d(t,{v:()=>A});let r=/[$_\p{ID_Start}]/u,i=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,o=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,l={};function a(e){return!!e&&r.test(String.fromCodePoint(e))}function s(e,t){let n=(t||l).jsx?o:i;return!!e&&n.test(String.fromCodePoint(e))}var u=n(59755),c=n(71304);let d={}.hasOwnProperty,h=Symbol("continue"),f=Symbol("exit"),p=Symbol("skip");function g(e){return Array.isArray(e)?e:"number"==typeof e?[h,e]:[e]}function m(e){return!!(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}var v=n(4108);function y(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function x(e){let t=e||{},n=t.loc||{},r=t.range||[void 0,void 0],i=b(n.start,r[0]||t.start),o=b(n.end,r[1]||t.end);if(i&&o)return{start:i,end:o}}function b(e,t){if(e&&"object"==typeof e){let n="line"in e?w(e.line):void 0,r="column"in e?w(e.column):void 0;if(n&&void 0!==r)return{line:n,column:r+1,offset:w(t)}}}function w(e){return"number"==typeof e&&e>-1?e:void 0}let C="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",_="#unexpected-type-in-code-expected-an-object-spread-spread";function k(e,t,n,r,i,o,l,a,s,d,h){let f,p,g=this,m=this.events.length+3,y=0;return function(t){return e.enter(n),e.enter(r),e.consume(t),e.exit(r),f=g.now(),x};function x(u){if(null===u){if(p)throw p;let e=new v.o("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:g.now(),ruleId:"unexpected-eof",source:"micromark-extension-mdx-expression"});throw e.url=C+"#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",e}if((0,c.HP)(u))return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),w;if(125===u&&0===y){let c=o?E.call(g,o,l,i,m,f,d||!1,s||!1):{type:"ok",estree:void 0};if("ok"===c.type){e.enter(r),e.consume(u),e.exit(r);let i=e.exit(n);return a&&c.estree&&Object.assign(i,{estree:c.estree}),t}return p=c.message,e.enter(i),e.consume(u),b}return e.enter(i),b(u)}function b(t){return 125===t&&0===y||null===t||(0,c.HP)(t)?(e.exit(i),x(t)):(123!==t||o?125===t&&(y-=1):y+=1,e.consume(t),b)}function w(t){let n=g.now();if(n.line!==f.line&&!h&&g.parser.lazy[n.line]){let e=new v.o("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:g.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=C+"#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",e}return(0,c.On)(t)?(0,u.N)(e,x,"linePrefix",3)(t):x(t)}}function E(e,t,n,r,i,o,l){let a=function(e,t){let n,r,i=t.prefix||"",o=t.suffix||"",l=Object.assign({},t.acornOptions),a=[],s=[],u=l.onComment,c=l.onToken,h=!1,x=Object.assign({},l,{onComment:a,preserveParens:!0});c&&(x.onToken=s);let b=function(e,t){let n={value:"",stops:[]},r=-1;for(;++r<e.length;){let i=e[r];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=function(e){let t,n=-1,r=[];for(;++n<e.length;){let i,o=e[n];if("string"==typeof o)i=o;else switch(o){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=" ";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(o)}t=-2===o,r.push(i)}return r.join("")}(e);n.stops.push([n.value.length,i[1].start]),n.value+=t,n.stops.push([n.value.length,i[1].end])}}}return n}(e,t.tokenTypes),w=b.value,C=i+w+o,_=t.expression&&y(w);if(_&&!t.allowEmpty)throw new v.o("Unexpected empty expression",{place:T(0),ruleId:"unex
7pected-empty-expression",source:"micromark-extension-mdx-expression"});try{n=t.expression&&!_?t.acorn.parseExpressionAt(C,0,x):t.acorn.parse(C,x)}catch(t){let e=T(t.pos);t.message=String(t.message).replace(/ \(\d+:\d+\)$/,""),t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,h=t.raisedAt>=i.length+w.length||"Unterminated comment"===t.message}if(n&&t.expression&&!_)if(y(C.slice(n.end,C.length-o.length)))n={type:"Program",start:0,end:i.length+w.length,body:[{type:"ExpressionStatement",expression:n,start:0,end:i.length+w.length}],sourceType:"module",comments:[]};else{let e=T(n.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},r=t,n=void 0}if(n){var k,E;let e,t;if(n.comments=a,k=n,"function"==typeof(E=function(e,t,n,r){let i=r[r.length-1],o=t;"ParenthesizedExpression"===e.type&&i&&o&&("number"==typeof n&&(i=i[o],o=n),i[o]=e.expression),S(e)})?e=E:E,(function n(r,i,o,l){return m(r)&&(a.displayName="node ("+r.type+")"),a;function a(){let a=e?g(e(r,i,o,l)):[];if(a[0]===f)return a;
7if(a[0]!==p){let e;for(e in r)if(d.call(r,e)&&r[e]&&"object"==typeof r[e]&&"data"!==e&&"position"!==e){let t=l.concat(r),i=r[e];if(Array.isArray(i)){let r=0;for(;r>-1&&r<i.length;){let o=i[r];if(m(o)){let i=n(o,e,r,t)();if(i[0]===f)return i;r="number"==typeof i[1]?i[1]:r+1}else r++}}else if(m(i)){let r=n(i,e,void 0,t)();if(r[0]===f)return r}}}return t?g(t(r,i,o,l)):a}})(k,void 0,void 0,[])(),Array.isArray(u))u.push(...a);else if("function"==typeof u)for(let e of a)u("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of s)e.end<=i.length||e.start-i.length>=w.length||(S(e),Array.isArray(c)?c.push(e):c(e))}return{estree:n,error:r,swallow:h};function S(e){let t=T(e.start),n=T(e.end);e.start=t.offset,e.end=n.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:n.line,column:n.column-1,offset:n.offset}},e.range=[e.start,e.end]}function T(e){let n=e-i.length;n<0?n=0:n>w.length&&(n=w.length);let r=function(e,t){let n=0;for(;n<e.length&&e[n][0]<=t;)n+=1;if(0===n)return;let[r,i]=e[n-1],o=t-r;return{line:i.line,column:i.column+o,offset:i.offset+o}}(b.stops,n);return r||(r={line:t.start.line,column:t.start.column,offset:t.start.offset}),r}}(this.events.slice(r),{acorn:e,tokenTypes:[n],acornOptions:t,start:i,expression:!0,allowEmpty:o,prefix:l?"({":"",suffix:l?"})":""}),s=a.estree;if(l&&s){let e=s.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=x(e),n=new v.o("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=C+_,n}if(e.expression.properties[1]){let t=x(e.expression.properties[1]),n=new v.o("Unexpected extra content in spread: only a single spread is supported",{place:t.start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw n.url=C+"#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",n}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=x(e.expression.properties[0]),n=new v.o("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw n.url=C+_,n}}if(a.error){let e=new v.o("Could not parse expression with acorn",{cause:a.error,place:{line:a.error.loc.line,column:a.error.loc.column+1,offset:a.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=C+"#could-not-parse-expression-with-acorn",{type:"nok",message:e}}return{type:"ok",estree:s}}let S="https://github.com/micromark/micromark-extension-mdx-jsx";function T(e,t,n,r,i,o,l,u,d,h,f,p,g,m,y,x,b,w,C,_,E,T,A,I,M,P,N,L,D,R,F,O){let V,H,B=this;return function(t){return e.enter(u),e.enter(d),e.consume(t),e.exit(d),z};function z(e){return(0,c.Ee)(e)?n(e):(V=j,eu(e))}function j(t){return 47===t?(e.enter(h),e.consume(t),e.exit(h),V=W,eu):62===t?es(t):null!==t&&t>=0&&a(t)?(e.enter(p),e.enter(g),e.consume(t),$):void ed(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function W(t){return 62===t?es(t):null!==t&&t>=0&&a(t)?(e.enter(p),e.enter(g),e.consume(t),$):void ed(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function $(t){return null!==t&&t>=0&&s(t,{jsx:!0})?(e.consume(t),$):46===t||47===t||58===t||62===t||123===t||(0,c.Ee)(t)||(0,c.Ny)(t)?(e.exit(g),V=U,eu(t)):void ed(t,"in name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function U(t){return 46===t?(e.enter(m),e.consume(t),e.exit(m),V=J,eu):58===t?(e.enter(x),e.consume(t),e.exit(x),V=q,eu):47===t||62===t||123===t||null!==t&&t>=0&&a(t)?(e.exit(p),X(t)):void ed(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function J(t){if(null!==t&&t>=0&&a(t))return e.enter(y),e.consume(t),K;ed(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function K(t){return null!==t&&t>=0&&s(t,{jsx:!0}
7)?(e.consume(t),K):46===t||47===t||62===t||123===t||(0,c.Ee)(t)||(0,c.Ny)(t)?(e.exit(y),V=Z,eu(t)):void ed(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function Z(t){return 46===t?(e.enter(m),e.consume(t),e.exit(m),V=J,eu):47===t||62===t||123===t||null!==t&&t>=0&&a(t)?(e.exit(p),X(t)):void ed(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function q(t){if(null!==t&&t>=0&&a(t))return e.enter(b),e.consume(t),G;ed(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function G(t){return null!==t&&t>=0&&s(t,{jsx:!0})?(e.consume(t),G):47===t||62===t||123===t||(0,c.Ee)(t)||(0,c.Ny)(t)?(e.exit(b),V=Y,eu(t)):void ed(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Y(t){if(47===t||62===t||123===t||null!==t&&t>=0&&a(t))return e.exit(p),X(t);ed(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function X(t){return 47===t?(e.enter(f),e.consume(t),e.exit(f),V=ea,eu):62===t?es(t):123===t?k.call(B,e,Q,w,C,_,r,i,o,!0,!1,l)(t):null!==t&&t>=0&&a(t)?(e.enter(E),e.enter(T),e.enter(A),e.consume(t),ee):void ed(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function Q(e){return V=X,eu(e)}function ee(t){return null!==t&&t>=0&&s(t,{jsx:!0})?(e.consume(t),ee):47===t||58===t||61===t||62===t||123===t||(0,c.Ee)(t)||(0,c.Ny)(t)?(e.exit(A),V=et,eu(t)):void ed(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function et(t){return 58===t?(e.enter(I),e.consume(t),e.exit(I),V=en,eu):61===t?(e.exit(T),e.enter(P),e.consume(t),e.exit(P),V=eo,eu):47===t||62===t||123===t||(0,c.Ee)(t)||(0,c.Ny)(t)||null!==t&&t>=0&&a(t)?(e.exit(T),e.exit(E),V=X,eu(t)):void ed(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function en(t){if(null!==t&&t>=0&&a(t))return e.enter(M),e.consume(t),er;ed(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function er(t){return null!==t&&t>=0&&s(t,{jsx:!0})?(e.consume(t),er):47===t||61===t||62===t||123===t||(0,c.Ee)(t)||(0,c.Ny)(t)?(e.exit(M),e.exit(T),V=ei,eu(t)):void ed(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function ei(t){return 61===t?(e.enter(P),e.consume(t),e.exit(P),V=eo,eu):47===t||62===t||123===t||null!==t&&t>=0&&a(t)?(e.exit(E),X(t)):void ed(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function eo(t){return 34===t||39===t?(e.enter(N),e.enter(L),e.consume(t),e.exit(L),H=t,function t(n){return(null===n&&ed(n,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(H)+"`"),n===H)?(e.enter(L),e.consume(n),e.exit(L),e.exit(N),e.exit(E),H=void 0,V=X,eu):(0,c.HP)(n)?(V=t,eu(n)):(e.enter(D),function n(r){return null===r||r===H||(0,c.HP)(r)?(e.exit(D),t(r)):(e.consume(r),n)}(n))}):123===t?k.call(B,e,el,R,F,O,r,i,o,!1,!1,l)(t):void ed(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function el(t){return e.exit(E),V=X,eu(t)}function ea(e){if(62===e)return es(e);ed(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function es(n){return e.enter(d),e.consume(n),e.exit(d),e.exit(u),t}function eu(t){return(0,c.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ec):(0,c.On)(t)||(0,c.Ny)(t)?(e.enter("esWhitespace"),function t(n){return(0,c.HP)(n)?(e.exit("esWhitespace"),eu(n)):(0,c.On)(n)||(0,c.Ny)(n)?(e.consume(n),t):(e.exit("esWhitespace"),V(n))}(t)):V(t)}function ec(e){if(!l&&B.parser.lazy[B.now().line]){let e=new v.o("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",B.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=S+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return eu(e)}function ed(e,t,n){let r=new v.o("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` (U+"+e.toString(16).toUpperCase().padStart(4,"0")+")")+" "+t+", expected "+n,B.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw r.url=S+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-ex
7pected-expect"),r}}function A(e){var t,n,r,i;let o,l=e||{},a=l.acorn;if(a){if(!a.parse||!a.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");o=Object.assign({ecmaVersion:2024,sourceType:"module"},l.acornOptions,{locations:!0})}else if(l.acornOptions||l.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:(t=a||void 0,n={acornOptions:o,addResult:l.addResult||void 0},{concrete:!0,name:"mdxJsxFlowTag",tokenize:function(e,r,i){let o=this;return function(e){return l(e)};function l(r){return T.call(o,e,a,i,t,n.acornOptions,n.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(r)}function a(t){return(0,c.On)(t)?(0,u.N)(e,s,"whitespace")(t):s(t)}function s(t){let n,a=o.parser.constructs.flow[123];for(let e of Array.isArray(a)?a:a?[a]:[])if("mdxFlowExpression"===e.name){n=e;break}return 60===t?l(t):123===t&&n?e.attempt(n,s,i)(t):null===t||(0,c.HP)(t)?r(t):i(t)}}})},text:{60:(r=a||void 0,i={acornOptions:o,addResult:l.addResult||void 0},{name:"mdxJsxTextTag",tokenize:function(e,t,n){return T.call(this,e,t,n,r,i.acornOptions,i.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}})}}}},13278:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=n(49628),i=n(35588),o=n(29641),l=n(53239);function a(){let[e]=(0,r.DF)();return(0,l.useEffect)(()=>e.registerCommand(o.OX,t=>{let n=(0,o.vJ)();if(!(0,o.I2)(n))return!1;t.preventDefault();let r=!function(e){let t=e.getNodes();if((0,i.zD)(t,e=>(0,o.y6)(e)&&e.canIndent()?e:null).length>0)return!0;let n=e.anchor,r=e.focus,l=r.isBefore(n)?r:n,a=l.getNode(),s=(0,i.mB)(a);if(s.canIndent()){let e=s.getKey(),t=(0,o.uT)();if(t.anchor.set(e,0,"element"),t.focus.set(e,0,"element"),(t=(0,o.C)(t)).anchor.is(l))return!0}return!1}(n)?o.YW:t.shiftKey?o.si:o.Pi;return e.dispatchCommand(r,void 0)},o.jZ)),null}},13358:(e,t,n)=>{"use strict";n.d(t,{$:()=>C});var r=n(64446),i=n(53239),o=n(77117),l=n(21768),a=n(41989),s=n(67867),u=n(40714),c=n(57550),d=n(95192),h=n(72734),f=n(37795),p=n(66075),g=n(3301),m=n(32034),v=n(80263);let y=["props","steps"],x=(0,c.Ay)(f.CJ,{slot:"internal"})(({theme:e})=>({overflow:"hidden",minWidth:p.eX,backgroundColor:(e.vars||e).palette.background.paper}));var b=n(73281),w=n(43045);let C=i.forwardRef(function(e,t){let n=(0,l.D)(e,"MuiStaticDatePicker"),i=n.displayStaticWrapperAs??"mobile",o=(0,r.A)({day:a.W,month:a.W,year:a.W},n.viewRenderers),{renderPicker:c}=(e=>{let{props:t,steps:n}=e,i=(0,s.A)(e,y),{localeText:o,slots:l,slotProps:a,displayStaticWrapperAs:c,autoFocus:f}=t,p=(0,m.B)({steps:n}),{providerProps:b,renderCurrentView:w}
7=(0,d.k)((0,r.A)({},i,{props:t,variant:c,autoFocusView:f??!1,viewContainerRole:null,localeText:o,getStepNavigation:p})),C=l?.layout??x;return{renderPicker:()=>(0,v.jsx)(h.Ye,(0,r.A)({},b,{children:(0,v.jsx)(C,(0,r.A)({},a?.layout,{slots:l,slotProps:a,sx:(0,g.oz)(b.contextValue.rootSx,a?.layout?.sx),className:(0,u.A)(b.contextValue.rootClassName,a?.layout?.className),ref:b.contextValue.rootRef,children:w()}))}))}})({ref:t,props:(0,r.A)({},n,{viewRenderers:o,displayStaticWrapperAs:i,yearsPerRow:n.yearsPerRow??("mobile"===i?3:4),slotProps:(0,r.A)({},n.slotProps,{toolbar:(0,r.A)({hidden:"desktop"===i},n.slotProps?.toolbar)})}),valueManager:w.W,valueType:"date",validator:b.Z,steps:null});return c()});C.propTypes={autoFocus:o.bool,className:o.string,dayOfWeekFormatter:o.func,defaultValue:o.object,disabled:o.bool,disableFuture:o.bool,disableHighlightToday:o.bool,disablePast:o.bool,displayStaticWrapperAs:o.oneOf(["desktop","mobile"]),displayWeekNumber:o.bool,fixedWeekNumber:o.number,loading:o.bool,localeText:o.object,maxDate:o.object,minDate:o.object,monthsPerRow:o.oneOf([3,4]),onAccept:o.func,onChange:o.func,onClose:o.func,onError:o.func,onMonthChange:o.func,onViewChange:o.func,onYearChange:o.func,openTo:o.oneOf(["day","month","year"]),orientation:o.oneOf(["landscape","portrait"]),readOnly:o.bool,reduceAnimations:o.bool,referenceDate:o.object,renderLoading:o.func,shouldDisableDate:o.func,shouldDisableMonth:o.func,shouldDisableYear:o.func,showDaysOutsideCurrentMonth:o.bool,slotProps:o.object,slots:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),timezone:o.string,value:o.object,view:o.oneOf(["day","month","year"]),viewRenderers:o.shape({day:o.func,month:o.func,year:o.func}),views:o.arrayOf(o.oneOf(["day","month","year"]).isRequired),yearsOrder:o.oneOf(["asc","desc"]),yearsPerRow:o.oneOf([3,4])}},13776:()=>{Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*")+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift})}
7,14e3:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82899),i=n(80263);let o=(0,r.A)((0,i.jsx)("path",{d:"M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded")},14506:(e,t,n)=>{var r=n(40293),i=n(98198),o=n(92479),l=n(86821);e.exports=o(function(e,t){if(null==e)return[];var n=t.length;return n>1&&l(e,t[0],t[1])?t=[]:n>2&&l(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])})},14574:(e,t,n)=>{"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(e.length!==t.length)throw Error("vectors must be same length");return e.map(function(e,n){return e+t[n]})}function o(e){return Math.max.apply(Math,e.map(Math.abs))}function l(e){return Object.freeze(e),Object.values(e).forEach(function(e){null===e||"object"!=typeof e||Object.isFrozen(e)||l(e)}),e}n.d(t,{J:()=>f});var a=[1,18,"u">typeof window&&window.innerHeight||800],s=[-1,-1,-1],u=l({preventWheelAction:!0,reverseSign:[!0,!0,!1]});function c(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:400}}let d=function(e){void 0===e&&(e={});var t,n,d,h,f,p=function(){var e={};function t(t,n){e[t]=(e[t]||[]).filter(function(e){return e!==n})}return l({on:function(n,r){return e[n]=(e[n]||[]).concat(r),function(){return t(n,r)}},off:t,dispatch:function(t,n){t in e&&e[t].forEach(function(e){return e(n)})}})}(),g=p.on,m=p.off,v=p.dispatch,y=u,x=c(),b=!1,w=function(e){Array.isArray(e)?e.forEach(function(e){return E(e)}):E(e)},C=function(e){return(void 0===e&&(e={}),Object.values(e).some(function(e){return null==e}))?y:y=l(r({},u,y,e))},_=function(e){var t=r({event:h,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:x.isMomentum,axisDelta:[0,0,0],axisVelocity:x.axisVelocity,axisMovement:x.axisMovement,get axisMovementProjection(){return i(t.axisMovement,t.axisVelocity.map(function(e){var t;return void 0===t&&(t=.996),e*t/(1-t)}))}},e);v("wheel",r({},t,{previous:f})),f=t},k=function(e,t){var n=y.preventWheelAction,r=t[0],i=t[1],o=t[2];if("boolean"==typeof n)return n;switch(n){case"x":return Math.abs(r)>=e;case"y":return Math.abs(i)>=e;case"z":return Math.abs(o)>=e;default:return!1}},E=function(e){var t,n,l,u,c=(u=function(e,t){if(!t)return e;var n=!0===t?s:t.map(function(e){return e?-1:1});return r({},e,{axisDelta:e.axisDelta.map(function(e,t){return e*n[t]})})}((t=e.deltaX*a[e.deltaMode],n=e.deltaY*a[e.deltaMode],l=(e.deltaZ||0)*a[e.deltaMode],{timeStamp:e.timeStamp,axisDelta:[t,n,l]}),y.reverseSign),r({},u,{axisDelta:u.axisDelta.map(function(e){return Math.min(Math.max(-700,e),700)})})),d=c.axisDelta,f=c.timeStamp,p=o(d);if(e.preventDefault&&k(p,d)&&e.preventDefault(),x.isStarted?x.isMomentum&&p>Math.max(2,2*x.lastAbsDelta)&&(R(!0),L()):L(),0===p&&Object.is&&Object.is(e.deltaX,-0)){b=!0;return}h=e,x.axisMovement=i(x.axisMovement,d),x.lastAbsDelta=p,x.scrollPointsToMerge.push({axisDelta:d,timeStamp:f}),S(),_({axisDelta:d,isStart:!x.isStartPublished}),x.isStartPublished=!0,D()},S=function(){if(2===x.scrollPointsToMerge.length){var e;x.scrollPoints.unshift({axisDeltaSum:x.scrollPointsToMerge.map(function(e){return e.axisDelta}).reduce(i),timeStamp:(e=x.scrollPointsToMerge.map(function(e){return e.timeStamp})).reduce(function(e,t){return e+t})/e.length}),A(),x.scrollPointsToMerge.length=0,x.scrollPoints.length=1,x.isMomentum||P()}else x.isStartPublished||T()},T=function(){var e;x.axisVelocity=(e=x.scrollPointsToMerge)[e.length-1].axisDelta.map(function(e){return e/x.willEndTimeout})},A=function(){var e=x.scrollPoints,t=e[0],n=e[1];if(n&&t){var r=t.timeStamp-n.timeStamp;if(r<=0)return;var i=t.axisDeltaSum.map(function(e){return e/r}
7),o=i.map(function(e,t){return e/(x.axisVelocity[t]||1)});x.axisVelocity=i,x.accelerationFactors.push(o),I(r)}},I=function(e){var t=10*Math.ceil(e/10)*1.2;x.isMomentum||(t=Math.max(100,2*t)),x.willEndTimeout=Math.min(1e3,Math.round(t))},M=function(e){return 0===e||e<=.96&&e>=.6},P=function(){if(x.accelerationFactors.length>=5){if(b&&(b=!1,o(x.axisVelocity)>=.2))return void N();var e=x.accelerationFactors.slice(-5);e.every(function(e){var t=!!e.reduce(function(e,t){return e&&e<1&&e===t?1:0}),n=e.filter(M).length===e.length;return t||n})&&N(),x.accelerationFactors=e}},N=function(){x.isMomentum=!0},L=function(){(x=c()).isStarted=!0,x.startTime=Date.now(),f=void 0,b=!1},D=function(){clearTimeout(t),t=setTimeout(R,x.willEndTimeout)},R=function(e){void 0===e&&(e=!1),x.isStarted&&(x.isMomentum&&e?_({isEnding:!0,isMomentumCancel:!0}):_({isEnding:!0}),x.isMomentum=!1,x.isStarted=!1)},F=(n=[],l({observe:function(e){return e.addEventListener("wheel",w,{passive:!1}),n.push(e),function(){return d(e)}},unobserve:d=function(e){e.removeEventListener("wheel",w),n=n.filter(function(t){return t!==e})},disconnect:function(){n.forEach(d)}})),O=F.observe,V=F.unobserve,H=F.disconnect;return C(e),l({on:g,off:m,observe:O,unobserve:V,disconnect:H,feedWheel:w,updateOptions:C})};var h={active:!0,breakpoints:{},wheelDraggingClass:"is-wheel-dragging",forceWheelAxis:void 0,target:void 0};function f(e){void 0===e&&(e={});var t,n=function(){};return{name:"wheelGestures",options:e,init:function(r,i){var o,l,a,s=i.mergeOptions,u=i.optionsAtMedia,c=s(h,f.globalOptions);t=u(s(c,e));var p=r.internalEngine(),g=null!=(o=t.target)?o:r.containerNode().parentNode,m=null!=(l=t.forceWheelAxis)?l:p.options.axis,v=d({preventWheelAction:m,reverseSign:[!0,!0,!1]});function y(){_=("x"===m?p.containerRect.width:p.containerRect.height)/2}var x=v.observe(g),b=v.on("wheel",function(e){var r=e.axisDelta,i=r[0],o=r[1],l="x"===m?i:o,s="x"===m?o:i,u=e.isMomentum&&e.previous&&!e.previous.isMomentum,c=e.isEnding&&!e.isMomentum||u;!(Math.abs(l)>Math.abs(s))||w||e.isMomentum||k||function(e){try{a=new MouseEvent("mousedown",e.event),I(a)}catch(e){return n()}w=!0,C=0,document.documentElement.addEventListener("mousemove",T,!0),document.documentElement.addEventListener("mouseup",T,!0),document.documentElement.addEventListener("mousedown",T,!0),t.wheelDraggingClass&&g.classList.add(t.wheelDraggingClass)}(e),k&&e.isEnding&&(k=!1),w&&!function(e){var t=M(e),n=t.isAtBoundary,r=t.primaryAxisDelta;if(n&&!e.isMomentum){if((C+=Math.abs(r))>_)return k=!0,E(e),!0}else C=0;return!1}(e)&&(c?E(e):I(A("mousemove",e)))}),w=!1,C=0,_=0,k=!1;function E(e){w=!1,I(A("mouseup",e)),S(),t.wheelDraggingClass&&g.classList.remove(t.wheelDraggingClass)}function S(){document.documentElement.removeEventListener("mousemove",T,!0),document.documentElement.removeEventListener("mouseup",T,!0),document.documentElement.removeEventListener("mousedown",T,!0)}function T(e){w&&e.isTrusted&&e.stopImmediatePropagation()}function A(e,t){if(m===p.options.axis){var n,r,i=t.axisMovement;n=i[0],r=i[1]}else{var o=t.axisMovement;r=o[0],n=o[1]}if(M(t).isAtBoundary){var l=Math.min(C/_,1),s=C*(n>0?-1:1)*(.25+.5*l);n+=s,r+=s}if(!p.options.skipSnaps&&!p.options.dragFree){var u=p.containerRect.width,c=p.containerRect.height;n=n<0?Math.max(n,-u):Math.min(n,u),r=r<0?Math.max(r,-c):Math.min(r,c)}return new MouseEvent(e,{clientX:a.clientX+n,clientY:a.clientY+r,screenX:a.screenX+n,screenY:a.screenY+r,movementX:n,movementY:r,button:0,bubbles:!0,cancelable:!0,composed:!0})}function I(e){r.containerNode().dispatchEvent(e)}function M(e){var t=e.axisDelta,n=t[0],i=t[1],o=r.scrollProgress(),l="x"===m?n:i;return{isAtBoundary:l<0&&!(o<1)||l>0&&!(o>0),primaryAxisDelta:l}}y(),r.on("resize",y),n=function(){x(),b(),r.off("resize",y),S()}},destroy:function(){return n()}}}f.globalOptions=void 0},14587:(e,t,n)=>{var r=n(34199),i=n(26089),o=n(71738),l=n(19723),a=n(84785),s=n(5316),u=n(61100);e.exports=function(e,t){return l(e)&&a(t)?s(u(e),t):function(n){var l=i(n,e);return void 0===l&&l===t?o(n,e):r(t,l,3)}}},14589:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(53239);let i={undo:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7.202 18.5V17H14.3788C15.4224 17 16.3205 16.6554 17.073 15.9663C17.8257 15.2773 18.202 14.4263 18.202 13.4135C18.202 12.4007 17.8257 11.5512 17.073 10.8652C16.3205 10.1794 15.4224 9.8365 14.3788 9.8365H7.35775L10.1402 12.6193L9.0865 13.673L4.5 9.0865L9.0865 4.5L10.1402 5.55375L7.35775 8.3365H14.3788C15.8416 8.3365 17.0945 8.82467 18.1375 9.801C19.1805 10.7773 19.702 11.9815 19.702 13.4135C19.702 14.8455 19.1805 16.0513 18.1375 17.0308C17.0945 18.0103 15.8416 18.5 14.3788 18.5H7.202Z",fill:"currentColor"})),redo:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.6211 18.5C8.15827 18.5 6.90535 18.0103 5.86235 17.0308C4.81935 16.0513 4.29785 14.8455 4.29785 13.4135C4.29785 11.9815 4.81935 10.7773 5.86235 9.801C6.90535 8.82467 8.15827 8.3365 9.6211 8.3365H16.6421L13.8596 5.55375L14.9134 4.5L19.4999 9.0865L14.9134 13.673L13.8596 12.6193L16.6421 9.8365H9.6211C8.57744 9.8365 7.67935 10.1794 6.92685 10.8652C6.17418 11.5512 5.79785 12.4007 5.79785 13.4135C5.79785 14.4263 6.17418 15.2773 6.92685 15.9663C7.67935 16.6554 8.57744 17 9.6211 17H16.7979V18.5H9.6211Z",fill:"currentColor"})),format_bold:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7.33838 18.625V5.375H12.1999C13.219 5.375 14.1405 5.69233 14.9644 6.327C15.788 6.9615 16.1999 7.816 16.1999 8.8905C16.1999 9.63783 16.0194 10.2471 15.6584 10.7182C15.2975 11.1894 14.9088 11.5314 14.4921 11.7442C15.005 11.9211 15.4947 12.2708 15.9614 12.7933C16.428 13.3
7158 16.6614 14.0193 16.6614 14.9038C16.6614 16.1819 16.1902 17.1217 15.2479 17.723C14.3055 18.3243 13.3562 18.625 12.3999 18.625H7.33838ZM9.48838 16.6328H12.3191C13.1063 16.6328 13.6627 16.4142 13.9884 15.977C14.314 15.5398 14.4769 15.1206 14.4769 14.7192C14.4769 14.3179 14.314 13.8987 13.9884 13.4615C13.6627 13.0243 13.0909 12.8058 12.2729 12.8058H9.48838V16.6328ZM9.48838 10.875H12.0826C12.6903 10.875 13.172 10.7013 13.5279 10.3538C13.8835 10.0064 14.0614 9.59042 14.0614 9.10575C14.0614 8.59042 13.8733 8.16925 13.4971 7.84225C13.1208 7.51542 12.6595 7.352 12.1134 7.352H9.48838V10.875Z",fill:"currentColor"})),format_italic:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.39404 18.625V16.8173H9.21129L12.4518 7.18275H8.63454V5.375H17.7883V7.18275H14.2785L11.0383 16.8173H14.5478V18.625H5.39404Z",fill:"currentColor"})),format_underlined:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.34619 22.125V20.625H18.6537V22.125H5.34619ZM11.9999 18.5287C10.4448 18.5287 9.23102 18.0566 8.35869 17.1125C7.48619 16.1683 7.04994 14.9032 7.04994 13.3172V5.41345H8.90369V13.4095C8.90369 14.4198 9.17228 15.2295 9.70944 15.8385C10.2466 16.4475 11.0101 16.752 11.9999 16.752C12.9898 16.752 13.7533 16.4475 14.2904 15.8385C14.8276 15.2295 15.0962 14.4198 15.0962 13.4095V5.41345H16.9499V13.3172C16.9499 14.9032 16.5137 16.1683 15.6412 17.1125C14.7689 18.0566 13.5551 18.5287 11.9999 18.5287Z",fill:"currentColor"})),code:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7.99994 17.6537L2.34619 11.9999L7.99994 6.34619L9.06919 7.41544L4.46919 12.0154L9.05369 16.5999L7.99994 17.6537ZM15.9999 17.6537L14.9307 16.5844L19.5307 11.9844L14.9462 7.39994L15.9999 6.34619L21.6537 11.9999L15.9999 17.6537Z",fill:"currentColor"})),strikeThrough:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12.15 19.6923C10.9732 19.6923 9.9315 19.359 9.025 18.6923C8.11867 18.0256 7.45525 17.1128 7.03475 15.9538L8.6385 15.2635C8.91667 16.0444 9.3545 16.6867 9.952 17.1905C10.5493 17.6944 11.2923 17.9463 12.1808 17.9463C12.9578 17.9463 13.6744 17.7508 14.3307 17.3598C14.9872 16.9686 15.3155 16.3487 15.3155 15.5C15.3155 15.123 15.2555 14.7968 15.1355 14.5213C15.0157 14.2456 14.8462 13.9885 14.627 13.75H16.677C16.7987 13.9705 16.8932 14.2256 16.9605 14.5153C17.0278 14.8051 17.0615 15.1334 17.0615 15.5C17.0615 16.8372 16.5747 17.8702 15.601 18.599C14.6272 19.3279 13.4768 19.6923 12.15 19.6923ZM2.25 11.75V10.25H21.75V11.75H2.25ZM12.05 4.19629C13.0475 4.19629 13.9123 4.42704 14.6443 4.88854C15.3763 5.35004 15.9673 6.05896 16.4173 7.01529L14.823 7.73079C14.6218 7.26029 14.2978 6.84462 13.851 6.48379C13.4042 6.12279 12.8141 5.94229 12.0808 5.94229C11.2244 5.94229 10.5392 6.16221 10.025 6.60204C9.51083 7.04171 9.264 7.59104 9.2845 8.25004H7.5385C7.50133 7.16421 7.89783 6.21712 8.728 5.40879C9.558 4.60046 10.6653 4.19629 12.05 4.19629Z",fill:"currentColor"})),superscript:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M16.6924 8V6.2115C16.6924 5.95383 16.7786 5.73875 16.9511 5.56625C17.1235 5.39392 17.3385 5.30775 17.5961 5.30775H19.5001V4.38475H16.6924V3.5H19.4809C19.7385 3.5 19.9536 3.58625 20.1261 3.75875C20.2985 3.93108 20.3846 4.14617 20.3846 4.404V5.2885C20.3846 5.54617 20.2985 5.76125 20.1261 5.93375C19.9536 6.10608 19.7385 6.19225 19.4809 6.19225H17.5771V7.1155H20.3846V8H16.6924ZM4.44238 18.5L8.84638 11.6287L4.77713 5.30775H6.74438L9.95963 10.404H10.0214L13.2501 5.30775H15.2329L11.1194 11.6287L15.5579 18.5H13.5751L10.0214 12.9308H9.95963L6.42513 18.5H4.44238Z",fill:"currentColor"})),subscript:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M16.6924 20.5V18.7115C16.6924 18.4538 16.7786 18.2387 16.9511 18.0662C17.1235 17.8939 17.3385 17.8077 17.5961 17.8077H19.5001V16.8845H16.6924V16H19.4809C19.7385 16 19.9536 16.0863 20.1261 16.2587C20.2985 16.4311 20.3846 16.6461 20.3846 16.9038V17.7885C20.3846 18.0462 20.2985 18.2612 20.1261 18.4337C19.9536 18.6061 19.7385 18.6923 19.4809 18.6923H17.5771V19.6152H20.3846V20.5H16.6924ZM4.44238 18.6923L8.84638 11.8212L4.77713 5.5H6.74438L9.95963 10.5962H10.0214L13.2501 5.5H15.2329L11.1194
711.8212L15.5579 18.6923H13.5751L10.0214 13.123H9.95963L6.42513 18.6923H4.44238Z",fill:"currentColor"})),format_list_bulleted:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75005V5.25005H20.5V6.75005H9.30775ZM5.1635 19.6635C4.706 19.6635 4.31442 19.5006 3.98875 19.1748C3.66292 18.8491 3.5 18.4575 3.5 18C3.5 17.5425 3.66292 17.151 3.98875 16.8253C4.31442 16.4995 4.706 16.3365 5.1635 16.3365C5.621 16.3365 6.01258 16.4995 6.33825 16.8253C6.66408 17.151 6.827 17.5425 6.827 18C6.827 18.4575 6.66408 18.8491 6.33825 19.1748C6.01258 19.5006 5.621 19.6635 5.1635 19.6635ZM5.1635 13.6635C4.706 13.6635 4.31442 13.5006 3.98875 13.1748C3.66292 12.8491 3.5 12.4575 3.5 12C3.5 11.5425 3.66292 11.151 3.98875 10.8253C4.31442 10.4995 4.706 10.3365 5.1635 10.3365C5.621 10.3365 6.01258 10.4995 6.33825 10.8253C6.66408 11.151 6.827 11.5425 6.827 12C6.827 12.4575 6.66408 12.8491 6.33825 13.1748C6.01258 13.5006 5.621 13.6635 5.1635 13.6635ZM5.1635 7.66355C4.706 7.66355 4.31442 7.50063 3.98875 7.1748C3.66292 6.84913 3.5 6.45755 3.5 6.00005C3.5 5.54255 3.66292 5.15096 3.98875 4.8253C4.31442 4.49946 4.706 4.33655 5.1635 4.33655C5.621 4.33655 6.01258 4.49946 6.33825 4.8253C6.66408 5.15096 6.827 5.54255 6.827 6.00005C6.827 6.45755 6.66408 6.84913 6.33825 7.1748C6.01258 7.50063 5.621 7.66355 5.1635 7.66355Z",fill:"currentColor"})),format_list_numbered:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M3.5 21.5V20.3078H6V19.25H4.5V18.0577H6V17H3.5V15.8077H6.34625C6.58592 15.8077 6.78683 15.8888 6.949 16.051C7.11117 16.2132 7.19225 16.4141 7.19225 16.6538V17.8462C7.19225 18.0859 7.11117 18.2868 6.949 18.449C6.78683 18.6112 6.58592 18.6923 6.34625 18.6923C6.58592 18.6923 6.78683 18.7733 6.949 18.9355C7.11117 19.0977 7.19225 19.2987 7.19225 19.5385V20.6538C7.19225 20.8936 7.11117 21.0946 6.949 21.2568C6.78683 21.4189 6.58592 21.5 6.34625 21.5H3.5ZM3.5 14.8463V12.25C3.5 12.0103 3.58108 11.8093 3.74325 11.647C3.90542 11.4848 4.10642 11.4038 4.34625 11.4038H6V10.3462H3.5V9.15375H6.34625C6.58592 9.15375 6.78683 9.23483 6.949 9.397C7.11117 9.55933 7.19225 9.76033 7.19225 10V11.75C7.19225 11.9897 7.11117 12.1907 6.949 12.353C6.78683 12.5152 6.58592 12.5963 6.34625 12.5963H4.69225V13.6538H7.19225V14.8463H3.5ZM5 8.19225V3.69225H3.5V2.5H6.19225V8.19225H5ZM9.30775 18.75V17.25H20.5V18.75H9.30775ZM9.30775 12.75V11.25H20.5V12.75H9.30775ZM9.30775 6.75V5.25H20.5V6.75H9.30775Z",fill:"currentColor"})),format_list_checked:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.69425 18.452L2.5 15.2578L3.54425 14.2135L5.66925 16.3385L9.91925 12.0885L10.9635 13.1578L5.69425 18.452ZM5.69425 10.8365L2.5 7.64227L3.54425 6.59802L5.66925 8.72302L9.91925 4.47302L10.9635 5.54227L5.69425 10.8365ZM13.0095 16.5578V15.0578H21.5095V16.5578H13.0095ZM13.0095 8.94227V7.44227H21.5095V8.94227H13.0095Z",fill:"currentColor"})),link:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M10.8077 16.5385H7.0385C5.78283 16.5385 4.7125 16.096 3.8275 15.211C2.9425 14.3262 2.5 13.256 2.5 12.0005C2.5 10.745 2.9425 9.67471 3.8275 8.78955C4.7125 7.90421 5.78283 7.46155 7.0385 7.46155H10.8077V8.96155H7.0385C6.19867 8.96155 5.48233 9.25805 4.8895 9.85105C4.2965 10.444 4 11.1604 4 12C4 12.8397 4.2965 13.556 4.8895 14.149C5.48233 14.742 6.19867 15.0385 7.0385 15.0385H10.8077V16.5385ZM8.25 12.75V11.25H15.75V12.75H8.25ZM13.1923 16.5385V15.0385H16.9615C17.8013 15.0385 18.5177 14.742 19.1105 14.149C19.7035 13.556 20 12.8397 20 12C20 11.1604 19.7035 10.444 19.1105 9.85105C18.5177 9.25805 17.8013 8.96155 16.9615 8.96155H13.1923V7.46155H16.9615C18.2172 7.46155 19.2875 7.90405 20.1725 8.78905C21.0575 9.67388 21.5 10.744 21.5 11.9995C21.5 13.255 21.0575 14.3254 20.1725 15.2105C19.2875 16.0959 18.2172 16.5385 16.9615 16.5385H13.1923Z",fill:"currentColor"})),add_photo:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.11537 20.5C4.6182 20.5 4.19262 20.323 3.83862 19.969C3.48462 19.615 3.30762 19.1894 3.30762 18.6922V5.30773C3.30762 4.81056 3.48462 4.38498 3.83862 4.03098C4.19262 3.67698 4.6182 3.49998 5.11537 3.49998H13.8076V4.99998H5.11537C5.02553 4.99998 4.95178 5.02881 4.89412 5.08648C4.83645 5.14415 4.80762 5.2179 4.80762 5.30773V18.6922C4.80762 18.7821 4.83645 18.8558 4.89412 18.9135C4.95178 18.9711 5.02553 19 5.11537 19H18.4999C18.5895 19 18.6633 18.9711 18.7211 18.9135C18.7788 18.8558 18.8076 18.7821 18.8076 18.6922V9.99998H20.3076V18.6922C20.3076 19.1894 20.1306 19.615 19.7766 19.969C19.4226 20.323 18.997 20.5 18.4999 20.5H5.11537ZM17.1921 8.61523V6.61523H15.1921V5.11548H17.1921V3.11548H18.6921V5.11548H20.6921V6.61523H18.6921V8.61523H17.1921ZM6.55762 16.75H17.1344L13.8459 12.3655L11.0384 16.0192L9.03837 13.4615L6.55762 16.75Z",fill:"currentColor"})),table:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M3.5 18.6923V5.30775C3.5 4.81058 3.677 4.385 4.031 4.031C4.385 3.677 4.81058 3.5 5.30775 3.5H18.6923C19.1894 3.5 19.615 3.677 19.969 4.031C20.323 4.385 20.5 4.81058 20.5 5.30775V18.6923C20.5 19.1894 20.323 19.615 19.969 19.969C19.615 20.323 19.1894 20.5 18.6923 20.5H5.30775C4.81058 20.5 4.385 20.323 4.031 19.969C3.677 19.615 3.5 19.1894 3.5 18.6923ZM5 9.077H19V5.30775C19 5.21792 18.9712 5.14417 18.9135 5.0865C18.8558 5.02883 18.7821 5 18.6923 5H5.30775C5.21792 5 5.14417 5.02883 5.0865 5.0865C5.02883 5.14417 5 5.21792 5 5.30775V9.077ZM10.1615 14.0385H13.8385V10.577H10.1615V14.0385ZM10.1615 19H13.8385V15.5385H10.1615V19ZM5 14.0385H8.6615V10.577H5V14.0385ZM15.3385 14.0385H19V10.577H15.3385V14.0385ZM5.30775 19H8.661
75V15.5385H5V18.6923C5 18.7821 5.02883 18.8558 5.0865 18.9135C5.14417 18.9712 5.21792 19 5.30775 19ZM15.3385 19H18.6923C18.7821 19 18.8558 18.9712 18.9135 18.9135C18.9712 18.8558 19 18.7821 19 18.6923V15.5385H15.3385V19Z",fill:"currentColor"})),horizontal_rule:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M4.5 12.75V11.25H19.5V12.75H4.5Z",fill:"currentColor"})),frontmatter:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M4.5 8.75V7.25H8.5V8.75H4.5Z",fill:"currentColor"}),r.createElement("path",{d:"M4.5 14.75V13.25H8.5V14.75H4.5Z",fill:"currentColor"}),r.createElement("path",{d:"M9.5 8.75V7.25H13.5V8.75H9.5Z",fill:"currentColor"}),r.createElement("path",{d:"M9.5 14.75V13.25H13.5V14.75H9.5Z",fill:"currentColor"}),r.createElement("path",{d:"M14.5 8.75V7.25H18.5V8.75H14.5Z",fill:"currentColor"}),r.createElement("path",{d:"M14.5 14.75V13.25H18.5V14.75H14.5Z",fill:"currentColor"})),frame_source:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M8.6 15.2443L5.35575 12L8.6 8.75575L9.64425 9.825L7.46925 12L9.64425 14.175L8.6 15.2443ZM15.4 15.2443L14.3558 14.175L16.5307 12L14.3558 9.825L15.4 8.75575L18.6443 12L15.4 15.2443ZM5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V15H5V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H9V20.5H5.30775ZM15 20.5V19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V15H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H15ZM3.5 9V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H9V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V9H3.5ZM19 9V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H15V3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V9H19Z",fill:"currentColor"})),arrow_drop_down:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M11.9999 14.6537L7.59619 10.25H16.4037L11.9999 14.6537Z",fill:"currentColor"})),admonition:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12.0001 21.4C11.7654 21.4 11.5385 21.3548 11.3193 21.2645C11.1002 21.174 10.9002 21.0435 10.7193 20.873L3.1271 13.2807C2.9566 13.0999 2.8261 12.8999 2.7356 12.6807C2.64526 12.4616 2.6001 12.2346 2.6001 12C2.6001 11.7653 2.64526 11.5358 2.7356 11.3115C2.8261 11.0871 2.9566 10.8897 3.1271 10.7192L10.7193 3.12698C10.9002 2.94614 11.1002 2.81314 11.3193 2.72798C11.5385 2.64264 11.7654 2.59998 12.0001 2.59998C12.2348 2.59998 12.4643 2.64264 12.6886 2.72798C12.9129 2.81314 13.1103 2.94614 13.2808 3.12698L20.8731 10.7192C21.0539 10.8897 21.1869 11.0871 21.2721 11.3115C21.3574 11.5358 21.4001 11.7653 21.4001 12C21.4001 12.2346 21.3574 12.4616 21.2721 12.6807C21.1869 12.8999 21.0539 13.0999 20.8731 13.2807L13.2808 20.873C13.1103 21.0435 12.9129 21.174 12.6886 21.2645C12.4643 21.3548 12.2348 21.4 12.0001 21.4ZM12.2213 19.8037L19.8039 12.2212C19.8552 12.1699 19.8808 12.0961 19.8808 12C19.8808 11.9038 19.8552 11.8301 19.8039 11.7787L12.2213 4.19623C12.17 4.14489 12.0963 4.11923 12.0001 4.11923C11.9039 4.11923 11.8302 4.14489 11.7788 4.19623L4.19635 11.7787C4.14501 11.8301 4.11935 11.9038 4.11935 12C4.11935 12.0961 4.14501 12.1699 4.19635 12.2212L11.7788 19.8037C11.8302 19.8551 11.9039 19.8807 12.0001 19.8807C12.0963 19.8807 12.17 19.8551 12.2213 19.8037ZM11.2501 13.0865H12.7501V7.47123H11.2501V13.0865ZM12.0001 15.702C12.2258 15.702 12.4168 15.6237 12.5731 15.4672C12.7296 15.3109 12.8078 15.1199 12.8078 14.8942C12.8078 14.6686 12.7296 14.4776 12.5731 14.3212C12.4168 14.1647 12.2258 14.0865 12.0001 14.0865C11.7744 14.0865 11.5834 14.1647 11.4271 14.3212C11.2706 14.4776 11.1923 14.6686 11.1923 14.8942C11.1923 15.1199 11.2706 15.3109 11.4271 15.4672C11.5834 15.6237 11.7744 15.702 12.0001 15.702Z",fill:"currentColor"})),sandpack:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12.9999 22.5C12.4947 22.5 12.0671 22.325 11.7171 21.975C11.3671 21.625 11.1921 21.1974 11.1921 20.6922V7.30775C11.1921 6.80258 11.3671 6.375 11.7171 6.025C12.0671 5.675 12.4947 5.5 12.9999 5.5H16.3844C16.8895 5.5 17.3171 5.675 17.6671 6.025C18.0171 6.375 18.1921 6.80258 18.1921 7.30775V20.6922C18.1921 21.1974 18.0171 21.625 17.6671 21.975C17.3171 22.325 16.8895 22.5 16.3844 22.5H12.9999ZM12.6921 7.30775V20.6922C12.6921 20.7692 12.7242 20.8398 12.7884 20.9038C12.8524 20.9679 12.9229 21 12.9999 21H16.3844C16.4614 21 16.5319 20.9679 16.5959 20.9038C16.66 20.8398 16.6921 20.7692 16.6921 20.6922V7.30775C16.6921 7.23075 16.66 7.16025 16.5959 7.09625C16.5319 7.03208 16.4614 7 16.3844 7H12.9999C12.9229 7 12.8524 7.03208 12.7884 7.09625C12.7242 7.16025 12.6921 7.23075 12.6921 7.30775ZM6.61537 18.5C6.1102 18.5 5.
768262 18.325 5.33262 17.975C4.98262 17.625 4.80762 17.1974 4.80762 16.6923V3.30775C4.80762 2.80258 4.98262 2.375 5.33262 2.025C5.68262 1.675 6.1102 1.5 6.61537 1.5H9.99987C10.505 1.5 10.9326 1.675 11.2826 2.025C11.6326 2.375 11.8076 2.80258 11.8076 3.30775V16.6923C11.8076 17.1974 11.6326 17.625 11.2826 17.975C10.9326 18.325 10.505 18.5 9.99987 18.5H6.61537ZM6.30762 3.30775V16.6923C6.30762 16.7692 6.3397 16.8398 6.40387 16.9038C6.46787 16.9679 6.53837 17 6.61537 17H9.99987C10.0769 17 10.1474 16.9679 10.2114 16.9038C10.2755 16.8398 10.3076 16.7692 10.3076 16.6923V3.30775C10.3076 3.23075 10.2755 3.16025 10.2114 3.09625C10.1474 3.03208 10.0769 3 9.99987 3H6.61537C6.53837 3 6.46787 3.03208 6.40387 3.09625C6.3397 3.16025 6.30762 3.23075 6.30762 3.30775Z",fill:"currentColor"})),rich_text:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V5.30775C19 5.23075 18.9679 5.16025 18.9038 5.09625C18.8398 5.03208 18.7692 5 18.6923 5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19ZM6.75 17H17.3268L14 12.3655L11.2308 16.0192L9 13.4615L6.75 17Z",fill:"currentColor"}),r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 12V6.5H9.1925C9.5925 6.5 9.9425 6.65 10.2425 6.95C10.5425 7.25 10.6925 7.6 10.6925 8V8.6925C10.6925 9.03733 10.605 9.32675 10.43 9.56075C10.255 9.79458 10.0168 9.97817 9.7155 10.1115L10.6155 12H9.404L8.504 10.1925H7.1925V12H6ZM9.1925 9H7.1925V7.6925H9.1925C9.26933 7.6925 9.33983 7.7245 9.404 7.7885C9.468 7.85267 9.5 7.92317 9.5 8V8.6925C9.5 8.76933 9.468 8.83983 9.404 8.904C9.33983 8.968 9.26933 9 9.1925 9Z",fill:"currentColor"}),r.createElement("path",{d:"M12.5 7H17.5V8.25H12.5V7Z",fill:"currentColor"}),r.createElement("path",{d:"M12.5 9.25H17.5V10.5H12.5V9.25Z",fill:"currentColor"})),difference:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),r.createElement("rect",{x:"9",y:"10",width:"5.5",height:"1.5",fill:"currentColor"}),r.createElement("rect",{x:"9",y:"15",width:"5.5",height:"1.5",fill:"currentColor"}),r.createElement("rect",{x:"11",y:"8",width:"1.5",height:"5.5",fill:"currentColor"})),markdown:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H18.6923C19.1974 3.5 19.625 3.675 19.975 4.025C20.325 4.375 20.5 4.80258 20.5 5.30775V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM18.6923 19H5.30775C5.23075 19 5.16025 18.9679 5.09625 18.9038C5.03208 18.8398 5 18.7692 5 18.6923V5.30775C5 5.23075 5.03208 5.16025 5.09625 5.09625C5.16025 5.03208 5.23075 5 5.30775 5H18.6923C18.7692 5 18.8398 5.03208 18.9038 5.09625C18.9679 5.16025 19 5.23075 19 5.30775V18.6923C19 18.7692 18.9679 18.8398 18.9038 18.9038C18.8398 18.9679 18.7692 19 18.6923 19Z",fill:"currentColor"}),r.createElement("path",{d:"M13 15H11.5V11L9.5 14L7.5 11V15H6V8H7.5L9.5 11L11.5 8H13V15Z",fill:"currentColor"}),r.createElement("path",{d:"M15.9921 15.5833L13.2886 12.8797L14.0546 12.1137L15.4504 13.5016V7.99597L16.5336 7.99993V13.5016L17.9296 12.1137L18.6954 12.8797L15.9921 15.5833Z",fill:"currentColor"})),open_in_new:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5.30775 20.5C4.80258 20.5 4.375 20.325 4.025 19.975C3.675 19.625 3.5 19.1974 3.5 18.6923V5.30775C3.5 4.80258 3.675 4.375 4.025 4.025C4.375 3.675 4.80258 3.5 5.30775 3.5H11.6152V5H5.30775C5.23075 5 5.16025 5.03208 5.09625 5.09625C5.03208 5.16025 5 5.23075 5 5.30775V18.6923C5 18.7692 5.03208 18.8398 5.09625 18.9038C5.16025 18.9679 5.23075 19 5.30775 19H18.6923C18.7692 19 18.8398 18.9679 18.9038 18.9038C18.9679 18.8398 19 18.7692 19 18.6923V12.3848H20.5V18.6923C20.5 19.1974 20.325 19.625 19.975 19.975C19.625 20.325 19.1974 20.5 18.6923 20.5H5.30775ZM9.71925 15.3345L8.6655 14.2808L17.9462 5H14V3.5H20.5V10H19V6.05375L9.71925 15.3345Z",fill:"currentColor"})),link_off:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M18.8843 16.1038L17.7498 14.9385C18.4228 14.7552 18.9661 14.3946 19.3796 13.8568C19.7931 13.319 19.9998 12.7 19.9998 12C19.9998 11.1604 19.705 10.444 19.1153 9.85105C18.5255 9.25805 17.8139 8.96155 16.9806 8.96155H13.1728V7.46155H16.9806C18.2293 7.46155 19.2947 7.90422 20.1768 8.78955C21.0588 9.67472 21.4998 10.7449 21.4998 12C21.4998 12.8859 21.262 13.6951 20.7863 14.4278C20.3107 15.1606 19.6767 15.7193 18.8843 16.1038ZM15.5806 12.75L14.0806 11.25H15.7306V12.75H15.5806ZM20.1461 22.2538L1.74609 3.8538L2.79984 2.80005L21.1998 21.2L20.1461 22.2538ZM10.8268 16.5386H7.03834C5.78318 16.5386 4.71301 16.0959 3.82784 15.2105C2.94251 14.3254 2.49984 13.2552 2.49984 12C2.49984 10.8885 2.85784 9.91322 3.57384 9.07405C4.28984 8.23505 5.18826 7.72838 6.26909 7.55405H6.49984L7.90759 8.96155H7.03834C6.19851 8.96155 5.48218 9.25805 4.88934 9.85105C4.29634 10.444 3.99984 11.1604 3.99984 12C3.99984 12.8397 4.29634 13.556 4.88934 14.149C5.48218 14.742 6.19851 15.0385 7.03834 15.0385H10.8268V16.5386ZM8.26909 12.75V11.25H10.2113L11.6863 12.75H8.26909Z",fill:"currentColor"})),edit:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M5 19H6.2615L16.498 8.7635L15.2365 7.502L5 17.7385V19ZM3.5 20.5V17.1155L16.6905 3.93075C16.8417 3.79342 17.0086 3.68733 17.1913 3.6125C17.3741 3.5375 17.5658 3.5 17.7663 3.5C17.9668 3.5 18.1609 3.53558 18.3488 3.60675C18.5367 3.67792 18.7032 3.79108 18.848 3.94625L20.0693 5.
718275C20.2244 5.32758 20.335 5.49425 20.401 5.68275C20.467 5.87125 20.5 6.05975 20.5 6.24825C20.5 6.44942 20.4657 6.64133 20.397 6.824C20.3283 7.00683 20.2191 7.17383 20.0693 7.325L6.8845 20.5H3.5ZM15.8562 8.14375L15.2365 7.502L16.498 8.7635L15.8562 8.14375Z",fill:"currentColor"})),content_copy:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.05775 17.5C8.55258 17.5 8.125 17.325 7.775 16.975C7.425 16.625 7.25 16.1974 7.25 15.6923V4.30775C7.25 3.80258 7.425 3.375 7.775 3.025C8.125 2.675 8.55258 2.5 9.05775 2.5H17.4423C17.9474 2.5 18.375 2.675 18.725 3.025C19.075 3.375 19.25 3.80258 19.25 4.30775V15.6923C19.25 16.1974 19.075 16.625 18.725 16.975C18.375 17.325 17.9474 17.5 17.4423 17.5H9.05775ZM9.05775 16H17.4423C17.5192 16 17.5898 15.9679 17.6538 15.9038C17.7179 15.8398 17.75 15.7692 17.75 15.6923V4.30775C17.75 4.23075 17.7179 4.16025 17.6538 4.09625C17.5898 4.03208 17.5192 4 17.4423 4H9.05775C8.98075 4 8.91025 4.03208 8.84625 4.09625C8.78208 4.16025 8.75 4.23075 8.75 4.30775V15.6923C8.75 15.7692 8.78208 15.8398 8.84625 15.9038C8.91025 15.9679 8.98075 16 9.05775 16ZM5.55775 21C5.05258 21 4.625 20.825 4.275 20.475C3.925 20.125 3.75 19.6974 3.75 19.1923V6.30775H5.25V19.1923C5.25 19.2693 5.28208 19.3398 5.34625 19.4038C5.41025 19.4679 5.48075 19.5 5.55775 19.5H15.4423V21H5.55775Z",fill:"currentColor"})),more_horiz:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M6.23096 13.5C5.81846 13.5 5.46537 13.3531 5.17171 13.0592C4.87787 12.7656 4.73096 12.4125 4.73096 12C4.73096 11.5875 4.87787 11.2344 5.17171 10.9408C5.46537 10.6469 5.81846 10.5 6.23096 10.5C6.64346 10.5 6.99662 10.6469 7.29046 10.9408C7.58412 11.2344 7.73096 11.5875 7.73096 12C7.73096 12.4125 7.58412 12.7656 7.29046 13.0592C6.99662 13.3531 6.64346 13.5 6.23096 13.5ZM12.0002 13.5C11.5877 13.5 11.2346 13.3531 10.941 13.0592C10.6471 12.7656 10.5002 12.4125 10.5002 12C10.5002 11.5875 10.6471 11.2344 10.941 10.9408C11.2346 10.6469 11.5877 10.5 12.0002 10.5C12.4127 10.5 12.7658 10.6469 13.0595 10.9408C13.3533 11.2344 13.5002 11.5875 13.5002 12C13.5002 12.4125 13.3533 12.7656 13.0595 13.0592C12.7658 13.3531 12.4127 13.5 12.0002 13.5ZM17.7695 13.5C17.357 13.5 17.0038 13.3531 16.71 13.0592C16.4163 12.7656 16.2695 12.4125 16.2695 12C16.2695 11.5875 16.4163 11.2344 16.71 10.9408C17.0038 10.6469 17.357 10.5 17.7695 10.5C18.182 10.5 18.535 10.6469 18.8287 10.9408C19.1225 11.2344 19.2695 11.5875 19.2695 12C19.2695 12.4125 19.1225 12.7656 18.8287 13.0592C18.535 13.3531 18.182 13.5 17.7695 13.5Z",fill:"currentColor"})),more_vert:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M12 19.2692C11.5875 19.2692 11.2344 19.1223 10.9408 18.8285C10.6469 18.5348 10.5 18.1817 10.5 17.7692C10.5 17.3567 10.6469 17.0035 10.9408 16.7097C11.2344 16.416 11.5875 16.2692 12 16.2692C12.4125 16.2692 12.7656 16.416 13.0592 16.7097C13.3531 17.0035 13.5 17.3567 13.5 17.7692C13.5 18.1817 13.3531 18.5348 13.0592 18.8285C12.7656 19.1223 12.4125 19.2692 12 19.2692ZM12 13.5C11.5875 13.5 11.2344 13.353 10.9408 13.0592C10.6469 12.7655 10.5 12.4125 10.5 12C10.5 11.5875 10.6469 11.2344 10.9408 10.9407C11.2344 10.6469 11.5875 10.5 12 10.5C12.4125 10.5 12.7656 10.6469 13.0592 10.9407C13.3531 11.2344 13.5 11.5875 13.5 12C13.5 12.4125 13.3531 12.7655 13.0592 13.0592C12.7656 13.353 12.4125 13.5 12 13.5ZM12 7.73071C11.5875 7.73071 11.2344 7.58388 10.9408 7.29021C10.6469 6.99638 10.5 6.64321 10.5 6.23071C10.5 5.81821 10.6469 5.46513 10.9408 5.17146C11.2344 4.87763 11.5875 4.73071 12 4.73071C12.4125 4.73071 12.7656 4.87763 13.0592 5.17146C13.3531 5.46513 13.5 5.81821 13.5 6.23071C13.5 6.64321 13.3531 6.99638 13.0592 7.29021C12.7656 7.58388 12.4125 7.73071 12 7.73071Z",fill:"currentColor"})),close:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M6.39994 18.6538L5.34619 17.6L10.9462 12L5.34619 6.4L6.39994 5.34625L11.9999 10.9463L17.5999 5.34625L18.6537 6.4L13.0537 12L18.6537 17.6L17.5999 18.6538L11.9999 13.0538L6.39994 18.6538Z",fill:"currentColor"})),settings:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.69225 21.5L9.3115 18.4538C9.04367 18.3641 8.769 18.2385 8.4875 18.077C8.20617 17.9153 7.95459 17.7422 7.73275 17.5577L4.9115 18.75L2.604 14.75L5.04425 12.9058C5.02125 12.7571 5.00492 12.6077 4.99525 12.4578C4.98559 12.3078 4.98075 12.1583 4.98075 12.0095C4.98075 11.8673 4.98559 11.7228 4.99525 11.576C5.00492 11.4292 5.02125 11.2686 5.04425 11.0943L2.604 9.25L4.9115 5.26925L7.723 6.452C7.96417 6.261 8.22159 6.08633 8.49525 5.928C8.76892 5.76967 9.03784 5.64242 9.302 5.54625L9.69225 2.5H14.3078L14.6885 5.55575C14.9885 5.66475 15.2599 5.792 15.5028 5.9375C15.7458 6.083 15.991 6.2545 16.2385 6.452L19.0885 5.26925L21.396 9.25L18.9173 11.123C18.9531 11.2845 18.9727 11.4355 18.976 11.576C18.9792 11.7163 18.9808 11.8577 18.9808 12C18.9808 12.1358 18.9775 12.274 18.971 12.4145C18.9647 12.5548 18.9417 12.7154 18.902 12.8963L21.3615 14.75L19.0538 18.75L16.2385 17.548C15.99
71 17.7455 15.7384 17.9202 15.4808 18.072C15.2231 18.224 14.959 18.3481 14.6885 18.4443L14.3078 21.5H9.69225ZM11 20H12.9655L13.325 17.3212C13.8353 17.1879 14.3017 16.9985 14.724 16.753C15.1465 16.5073 15.5539 16.1916 15.9463 15.8057L18.4308 16.85L19.4155 15.15L17.2463 13.5155C17.3296 13.2565 17.3863 13.0026 17.4163 12.7537C17.4464 12.5051 17.4615 12.2538 17.4615 12C17.4615 11.7397 17.4464 11.4884 17.4163 11.2463C17.3863 11.0039 17.3296 10.7564 17.2463 10.5038L19.4345 8.85L18.45 7.15L15.9365 8.2095C15.6018 7.85183 15.2009 7.53583 14.7338 7.2615C14.2664 6.98717 13.7937 6.79292 13.3155 6.67875L13 4H11.0155L10.6845 6.66925C10.1743 6.78975 9.70325 6.97433 9.27125 7.223C8.83909 7.47183 8.42684 7.79233 8.0345 8.1845L5.55 7.15L4.5655 8.85L6.725 10.4595C6.64167 10.6968 6.58334 10.9437 6.55 11.2C6.51667 11.4563 6.5 11.7262 6.5 12.0095C6.5 12.2698 6.51667 12.525 6.55 12.775C6.58334 13.025 6.6385 13.2718 6.7155 13.5155L4.5655 15.15L5.55 16.85L8.025 15.8C8.4045 16.1897 8.81025 16.5089 9.24225 16.7578C9.67442 17.0064 10.152 17.1974 10.675 17.3307L11 20ZM12.0115 15C12.8435 15 13.5515 14.708 14.1355 14.124C14.7195 13.54 15.0115 12.832 15.0115 12C15.0115 11.168 14.7195 10.46 14.1355 9.876C13.5515 9.292 12.8435 9 12.0115 9C11.1692 9 10.4586 9.292 9.87975 9.876C9.30092 10.46 9.0115 11.168 9.0115 12C9.0115 12.832 9.30092 13.54 9.87975 14.124C10.4586 14.708 11.1692 15 12.0115 15Z",fill:"currentColor"})),delete_big:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),delete_small:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M7.30775 20.5C6.80908 20.5 6.38308 20.3234 6.02975 19.9702C5.67658 19.6169 5.5 19.1909 5.5 18.6922V5.99998H4.5V4.49998H9V3.61548H15V4.49998H19.5V5.99998H18.5V18.6922C18.5 19.1974 18.325 19.625 17.975 19.975C17.625 20.325 17.1974 20.5 16.6923 20.5H7.30775ZM17 5.99998H7V18.6922C7 18.7821 7.02883 18.8558 7.0865 18.9135C7.14417 18.9711 7.21792 19 7.30775 19H16.6923C16.7692 19 16.8398 18.9679 16.9038 18.9037C16.9679 18.8397 17 18.7692 17 18.6922V5.99998ZM9.404 17H10.9037V7.99998H9.404V17ZM13.0962 17H14.596V7.99998H13.0962V17Z",fill:"currentColor"})),format_align_center:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM7.5 16.625V15.125H16.5V16.625H7.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM7.5 8.875V7.375H16.5V8.875H7.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_left:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M3.5 20.5V19H20.5V20.5H3.5ZM3.5 16.625V15.125H14.5V16.625H3.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM3.5 8.875V7.375H14.5V8.875H3.5ZM3.5 5V3.5H20.5V5H3.5Z",fill:"currentColor"})),format_align_right:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M3.5 5V3.5H20.5V5H3.5ZM9.5 8.875V7.375H20.5V8.875H9.5ZM3.5 12.75V11.25H20.5V12.75H3.5ZM9.5 16.625V15.125H20.5V16.625H9.5ZM3.5 20.5V19H20.5V20.5H3.5Z",fill:"currentColor"})),add_row:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.025 10.2077C4.375 9.85775 4.80258 9.68275 5.30775 9.68275H6.5V11.1827H5.30775C5.21792 11.1827 5.14417 11.2116 5.0865 11.2693C5.02883 11.3269 5 11.4007 5 11.4905V16.1923C5 16.2821 5.02883 16.3558 5.0865 16.4135C5.14417 16.4712 5.21792 16.5 5.30775 16.5H18.6923C18.7821 16.5 18.8558 16.4712 18.9135 16.4135C18.9712 16.3558 19 16.2821 19 16.1923V11.4905C19 11.4007 18.9712 11.3269 18.9135 11.2693C18.8558 11.2116 18.7821 11.1827 18.6923 11.1827H17.6923V9.68275H18.6923C19.1974 9.68275 19.625 9.85775 19.975 10.2077C20.325 10.5577 20.5 10.9853 20.5 11.4905V16.1923C20.5 16.6974 20.325 17.125 19.975 17.475C19.625 17.825 19.1974 18 18.6923 18H5.30775C4.80258 18 4.375 17.825 4.025 17.475C3.675 17.125 3.5 16.6974 3.5 16.1923V11.4905C3.5 10.9853 3.675 10.5577 4.025 10.2077Z",fill:"currentColor"}),r.createElement("path",{d:"M11.3848 9.68275V7.5H12.8848V9.68275H15V11.1827H12.8848V13.2307H11.3848V11.1827H9.26925V9.68275H11.3848Z",fill:"currentColor"})),add_column:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.70775 4.025C9.35775 4.375 9.18275 4.80258 9.18275 5.30775V6.5H10.6827V5.30775C10.6827 5.21792 10.7116 5.14417 10.7693 5.0865C10.8269 5.02883 10.9007 5 10.9905 5H15.6923C15.7821 5 15.8558 5.02883 15.9135 5.0865C15.9712 5.14417 16 5.21792 16 5.30775V18.6923C16 18.7821 15.9712 18.8558 15.9135 18.9135C15.8558 18.9712 15.7821 19 15.6923 19H10.9905C10.9007 19 10.8269 18.9712 10.7693 18.9135C10.7116 18.8558 10.6827 18.7821 10.6827 18.6923V17.6923H9.18275V18.6923C9.18275 19.1974 9.35775 19.625 9.70775 19.975C10.0577 20.325 10.4853 20.5 10.9905 20.5H15.6923C16.1974 20.5 16.625 20.325 16.975 19.975C17.325 19.625 17.5 19.1974 17.5 18.6923V5.30775C17.5 4.80258 17.325 4.375 16.975 4.025C16.625 3.675 16.1974 3.5 15.6923 3.5H10.9905C10.4853 3.5 10.0577 3.675 9.70775 4.025Z",fill:"currentColor"}),r.createElement("path",{d:"M9.18275 11.3848H7V12.8848H9.18275V15H10.6827V12.8848H12.7307V11.3848H10.6827V9.26925H9.18275V11.3848Z",fill:"currentColor"})),insert_col_left:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M13.0001 20.1152H8.67713H8.75388H8.69238H13.0001ZM7.19238 19.8075C7.19238 20.3127 7.36738 20.7402 7.71738 21.0902C8.06738 21.4402 8.49497 21.6152 9.00013 21.6152H12.6924C13.1975 21.6152 13.6251 21.4402 13.9751 21.0902C14.3251 20.7402 14.5001 20.3127 14.5001 19.8075V10.423H13.0001V19.8075C13.0001 19.8973 12.9713 19.9711 12.9136 20.0287C12.856 20.0864 12.7822 20.1152 12.6924 20.1152H9.00013C8.9103 20.1152 8.83655 20.0864 8.77888 20.0287C8.72122 19.9711 8.69238 19.8973 8.69238 19.8075V4.69223C8.26422 4.74357 7.90722 4.93299 7.62138 5.26048C7.33538 5.58798 7.19238 5.97548 7.19238 6.42298V19.8075ZM13.0001 2.49998V4.61523H10.8846V6.11523H13.0001V8.23073H14.5001V6.11523H16.6154V4.61523H14.5001V2.49998H13.0001Z",fill:"currentColor"})),insert_row_above:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M20.1152 9.99987V14.3229V14.2461V14.3076V9.99987ZM19.8075 15.8076C20.3127 15.8076 20.7402 15.6326 21.0902 15.2826C21.4402 14.9326 21.6152 14.505 21.6152 13.9999V10.3076C21.6152 9.80245 21.4402 9.37487 21.0902 9.02487C20.7402 8.67487 20.3127 8.49987 19.8075 8.49987H10.423V9.99987H19.8075C19.8973 9.99987 19.9711 10.0287 20.0287 10.0864C20.0864 10.144 20.1152 10.2178 20.1152 10.3076V13.9999C20.1152 14.0897 20.0864 14.1635 20.0287 14.2211C19.9711 14.2788 19.8973 14.3076 19.8075 14.3076H4.69223C4.74357 14.7358 4.93299 15.0928 5.26048 15.3786C5.58798 15.6646 5.97548 15.8076 6.42298 15.8076H19.8075ZM2.49998 9.99987H4.61523V12.1154H6.11523V9.99987H8.23073V8.49987H6.11523V6.38462H4.61523V8.49987H2.49998V9.99987Z",fill:"currentColor"})),insert_row_below:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M20.1152 14.1924V9.86939V9.94614V9.88464V14.1924ZM19.8075 8.38464C20.3127 8.38464 20.7402 8.55964 21.0902 8.90964C21.4402 9.25964 21.6152 9.68723 21.6152 10.1924V13.8846C21.6152 14.3898 21.4402 14.8174 21.0902 15.1674C20.7402 15.5174 20.3127 15.6924 19.8075 15.6924H10.423V14.1924H19.8075C19.8973 14.1924 19.9711 14.1636 20.0287 14.1059C20.0864 14.0482 20.1152 13.9745 20.1152 13.8846V10.1924C20.1152 10.1026 20.0864 10.0288 20.0287 9.97114C19.9711 9.91348 19.8973 9.88464 19.8075 9.88464H4.69223C4.74357 9.45648 4.93299 9.09948 5.26048 8.81364C5.58798 8.52764 5.97548 8.38464 6.42298 8.38464H19.8075ZM2.49998 14.1924H4.61523V12.0769H6.11523V14.1924H8.23073V15.6924H6.11523V1
77.8076H4.61523V15.6924H2.49998V14.1924Z",fill:"currentColor"})),insert_col_right:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M10.8075 20.1152H15.1305H15.0537H15.1152H10.8075ZM16.6152 19.8075C16.6152 20.3127 16.4402 20.7402 16.0902 21.0902C15.7402 21.4402 15.3127 21.6152 14.8075 21.6152H11.1152C10.6101 21.6152 10.1825 21.4402 9.83248 21.0902C9.48248 20.7402 9.30748 20.3127 9.30748 19.8075V10.423H10.8075V19.8075C10.8075 19.8973 10.8363 19.9711 10.894 20.0287C10.9517 20.0864 11.0254 20.1152 11.1152 20.1152H14.8075C14.8973 20.1152 14.9711 20.0864 15.0287 20.0287C15.0864 19.9711 15.1152 19.8973 15.1152 19.8075V4.69223C15.5434 4.74357 15.9004 4.93299 16.1862 5.26048C16.4722 5.58798 16.6152 5.97548 16.6152 6.42298V19.8075ZM10.8075 2.49998V4.61523H12.923V6.11523H10.8075V8.23073H9.30748V6.11523H7.19223V4.61523H9.30748V2.49998H10.8075Z",fill:"currentColor"})),check:r.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r.createElement("path",{d:"M9.54983 17.6537L4.21533 12.3192L5.28433 11.25L9.54983 15.5155L18.7153 6.34998L19.7843 7.41923L9.54983 17.6537Z",fill:"currentColor"}))}},14812:(e,t,n)=>{"use strict";let r;n.d(t,{EY:()=>_,HN:()=>g,LO:()=>y,Mx:()=>f,SQ:()=>S,Tj:()=>C,X3:()=>x,Zb:()=>v,fh:()=>p,pb:()=>E,qM:()=>w,rc:()=>m,uX:()=>b,uc:()=>k});var i=n(53239);n(80263);var o=Object.defineProperty,l=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?o(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n};class a{constructor(e=new Map){this.map=e}clone(){return new a(new Map(this.map))}increment(e){let t=this.map.get(e)??0;this.map.set(e,t+1)}decrement(e,t){let n=this.map.get(e);void 0!==n&&(n-=1,this.map.set(e,n),0===n&&t())}}class s{constructor(){l(this,"map",new Map)}getOrCreate(e){let t=this.map.get(e);return void 0===t&&(t=new Set,this.map.set(e,t)),t}get(e){return this.map.get(e)}use(e,t){let n=this.get(e);void 0!==n&&t(n)}delete(e){return this.map.delete(e)}}function u(){}let c="cell";function d(e,t){return e===t}let h=new Map;class f{constructor(e={}){for(const t of(l(this,"subscriptions",new s),l(this,"singletonSubscriptions",new Map),l(this,"graph",new s),l(this,"state",new Map),l(this,"distinctNodes",new Map),l(this,"executionMaps",new Map),l(this,"definitionRegistry",new Set),Object.getOwnPropertySymbols(e)))this.state.set(t,e[t])}cellInstance(e,t=!0,n=Symbol()){return this.state.has(n)||this.state.set(n,e),!1===t||this.distinctNodes.has(n)||this.distinctNodes.set(n,!0===t?d:t),n}signalInstance(e=!0,t=Symbol()){return!1!==e&&this.distinctNodes.set(t,!0===e?d:e),t}sub(e,t){this.register(e);let n=this.subscriptions.getOrCreate(e);return n.add(t),()=>n.delete(t)}singletonSub(e,t){return this.register(e),void 0===t?this.singletonSubscriptions.delete(e):this.singletonSubscriptions.set(e,t),()=>this.singletonSubscriptions.delete(e)}resetSingletonSubs(){this.singletonSubscriptions.clear()}subMultiple(e,t){let n=this.signalInstance();return this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),this.sub(n,t)}pubIn(e){var t;let n=Reflect.ownKeys(e),r=this.getExecutionMap(n),i=r.refCount.clone(),o=r.participatingNodes.slice(),l=new Map(this.state),a=e=>{this.graph.use(e,t=>{for(let{sources:n,sink:r}of t)n.has(e)&&i.decrement(r,()=>{o.splice(o.indexOf(r),1),a(r)})})};for(;;){let n=o.shift();if(void 0===n)break;let i=!1,s=e=>{let t=this.distinctNodes.get(n);if(null!=t&&t(l.get(n),e)){i=!1;return}i=!0,l.set(n,e),this.state.has(n)&&this.state.set(n,e)};if(Object.prototype.hasOwnProperty.call(e,n)?s(e[n]):r.projections.use(n,e=>{for(let t of e){let e=[...Array.from(t.sources),...Array.from(t.pulls)].map(e=>l.get(e));t.map(s)(...e)}}),i){let e=l.get(n);this.inContext(()=>{this.subscriptions.use(n,t=>{for(let n of t)n(e)})}),null==(t=this.singletonSubscriptions.get(n))||t(e)}else a(n)}}connect({sources:e,pulls:t=[],map:n,sink:r}){let i={map:n,pulls:new Set(t),sink:this.register(r),sources:new Set(e)};for(let n of[...e,...t])this.register(n),this.graph.getOrCreate(n).add(i);this.executionMaps.clear()}pub(e,t){this.pubIn({[e]:t})}pipe(e,...t){return this.combineOperators(...t)(e)}transformer(...e){return t=>{var n;let r;return n=this.signalInstance(),r=n,this.link(this.pipe(r,...e),t),n}}link(e,t){this.connect({map:e=>t=>{e(t)},sink:t,sources:[e]})}combine(...e){var t,n;return n=t=this.signalInstance(),this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),t}combineCells(...e){var t,n;return n=t=this.cellInstance(e.map(e=>this.getValue(e)),!0),this.connect({map:e=>(...t)=>{e(t)},sink:n,sources:e}),t}getValue(e){return this.register(e),this.state.get(e)}getValues(e){return e.map(e=>this.getValue(e))}register(e){var t,n;let r=h.get(e);return void 0===r||this.definitionRegistry.has(e)?e:(this.definitionRegistry.add(e),n=t=r.type===c?this.cellInstance(r.
7initial,r.distinct,e):this.signalInstance(r.distinct,e),this.inContext(()=>{r.init(this,n)}),t)}inContext(e){let t=r;r=this;let n=e();return r=t,n}changeWith(e,t,n){this.connect({sources:[t],pulls:[e],sink:e,map:e=>(t,r)=>{e(n(r,t))}})}calculateExecutionMap(e){let t=[],n=new Set,r=new s,i=new a,o=new s,l=(e,a=0)=>{i.increment(e),n.has(e)||(this.register(e),r.use(e,e=>{a=Math.max(...Array.from(e).map(e=>t.indexOf(e)))+1}),this.graph.use(e,t=>{for(let n of t)n.sources.has(e)?(o.getOrCreate(n.sink).add(n),l(n.sink,a)):r.getOrCreate(n.sink).add(e)}),n.add(e),t.splice(a,0,e))};return e.forEach(l),{participatingNodes:t,pendingPulls:r,projections:o,refCount:i}}getExecutionMap(e){let t=e;if(1===e.length){t=e[0];let n=this.executionMaps.get(t);if(void 0!==n)return n}else for(let[t,n]of this.executionMaps.entries())if(Array.isArray(t)&&t.length===e.length&&t.every(t=>e.includes(t)))return n;let n=this.calculateExecutionMap(e);return this.executionMaps.set(t,n),n}combineOperators(...e){return t=>{for(let n of e)t=n(t,this);return t}}}function p(e,t=u,n=!0){var r,i;return i=r=Symbol(),h.set(i,{type:c,distinct:n,initial:e,init:t}),r}function g(e=u,t=!1){var n,r;return r=n=Symbol(),h.set(r,{type:"signal",distinct:t,init:e}),n}function m(e=u){var t,n;return n=t=Symbol(),h.set(n,{type:"signal",distinct:!1,init:e}),t}let v=i.createContext(null);function y(){let e=i.useContext(v);if(null===e)throw Error("useRealm must be used within a RealmContextProvider");return e}function x(e){let t=y();t.register(e);let n=i.useCallback(n=>t.sub(e,n),[t,e]);return i.useSyncExternalStore(n,()=>t.getValue(e),()=>t.getValue(e))}function b(...e){let t=y();return x(t.combineCells.apply(t,e))}function w(e){let t=y();return t.register(e),i.useCallback(n=>{t.pub(e,n)},[t,e])}function C(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{t(e(n))},sink:r,sources:[t]}),r}}function _(...e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:e=>(...t)=>{e(t)},pulls:e,sink:r,sources:[t]}),r}}function k(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>()=>{t(e)},sink:r,sources:[t]}),r}}function E(e){return(t,n)=>{let r=n.signalInstance();return n.connect({map:t=>n=>{e(n)&&t(n)},sink:r,sources:[t]}),r}}function S(e,t){return(n,r)=>{let i=r.signalInstance();return r.connect({map:n=>r=>{n(t=e(t,r))},sink:i,sources:[n]}),i}}},14924:(e,t,n)=>{"use strict";function r(e){return"&#x"+e.toString(16).toUpperCase()+";"}n.d(t,{T:()=>r})},15153:(e,t,n)=>{"use strict";n.d(t,{OO:()=>p,xO:()=>g});var r=n(88042),i=n(14812),o=n(29641),l=n(94185),a=n(2028),s=n(74008);let u={testLexicalNode:r.Pi,visitLexicalNode:({lexicalNode:e,actions:t})=>{let n=parseInt(e.getTag()[1],10);t.addAndStepInto("heading",{depth:n})}},c={testNode:"heading",visitNode:function({mdastNode:e,actions:t}){t.addAndStepInto((0,r.fi)(`h${e.depth}`))}},d=[48,49,50,51,52,53,54],h=[1,2,3,4,5,6],f={49:1,50:2,51:3,52:4,53:5,54:6},p=(0,i.fh)(h,e=>{e.pub(s.Jl,t=>t.registerCommand(o.R1,n=>{let{keyCode:i,ctrlKey:l,metaKey:u,altKey:c}=n;return!!(d.includes(i)&&(0,a.oQ)(u,l))&&!!c&&(n.preventDefault(),t.update(()=>{if(48===i)e.pub(s.vR,()=>(0,o.lJ)());else{let t=e.getValue(p),n=f[i];t.includes(n)||e.pub(s.vR,()=>(0,r.fi)(`h${n}`))}}),!0)},o.Ac))}),g=(0,l.Z)({init(e){e.pubIn({[s.$0]:"headings",[s.R1]:c,[s.q]:r.jL,[s.iI]:u})},update(e,t){e.pub(p,(null==t?void 0:t.allowedHeadingLevels)??h)}})},15267:(e,t,n)=>{var r=n(44451);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,l=t.criteria,a=o.length,s=n.length;++i<a;){var u=r(o[i],l[i]);if(u){if(i>=s)return u;return u*("desc"==n[i]?-1:1)}}return e.index-t.index}},15793:(e,t,n)=>{"use strict";n.d(t,{E:()=>m});var r=n(91247),i=n(49628),o=n(44330),l=n(35588),a=n(29641),s=n(53239),u=n(80263);function c({nodeKey:e}){let[t]=(0,i.DF)(),[n,r,u]=(0,o.Y)(e),c=(0,s.useCallback)(e=>{let r=(0,a.vJ)();return n&&(0,a.RT)(r)&&(e.preventDefault(),t.update(()=>{r.getNodes().forEach(e=>{p(e)&&e.remove()})})),!1},[t,n]);return(0,s.useEffect)(()=>(0,l.Sd)(t.registerCommand(a.d8,i=>{let o=t.getElementByKey(e);return i.target===o&&(i.shiftKey||u(),r(!n),!0)},a.Ac),t.registerCommand(a.w$,c,a.Ac),t.registerCommand(a.gC,c,a.Ac)),[u,t,n,e,c,r]),(0,s.useEffect)(()=>{let r=t.getElementByKey(e),i="selected";
7null!==r&&(n?(0,l.ZB)(r,i):(0,l.HE)(r,i))},[t,n,e]),null}(0,a.gu)("INSERT_HORIZONTAL_RULE_COMMAND");class d extends a.Kp{static getType(){return"horizontalrule"}static clone(e){return new d(e.__key)}static importJSON(e){return f()}static importDOM(){return{hr:()=>({conversion:h,priority:0})}}exportJSON(){return{type:"horizontalrule",version:1}}exportDOM(){return{element:document.createElement("hr")}}createDOM(e){let t=document.createElement("hr");return(0,l.ZB)(t,e.theme.hr),t}getTextContent(){return"\n"}isInline(){return!1}updateDOM(){return!1}decorate(){return(0,u.jsx)(c,{nodeKey:this.__key})}}function h(){return{node:f()}}function f(){return(0,a.pT)(new d)}function p(e){return e instanceof d}let g=[{dependencies:[d],export:e=>p(e)?"***":null,regExp:/^(---|\*\*\*|___)\s?$/,replace:(e,t,n,r)=>{let i=f();r||null!=e.getNextSibling()?e.replace(i):e.insertBefore(i),i.selectNext()},type:"element"},...r.Rm];function m({transformers:e=g}){let[t]=(0,i.DF)();return(0,s.useEffect)(()=>(0,r.iM)(t,e),[t,e]),null}},16493:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(75971),i=n(59868),o=n(53239),l=n(85209),a=n(92235),s=n(36564),u=n(79881),c=n(15936),d=n(44179),h=n(80263);let f=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function p(e,t,n){let r=function(e,t,n){let r,i=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),l=(0,d.A)(t);if(t.fakeTransform)r=t.fakeTransform;else{let e=l.getComputedStyle(t);r=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let a=0,s=0;if(r&&"none"!==r&&"string"==typeof r){let e=r.split("(")[1].split(")")[0].split(",");a=parseInt(e[4],10),s=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+a-i.left}px)`:`translateX(${l.innerWidth+a-i.left}px)`:"right"===e?o?`translateX(-${i.right-o.left-a}px)`:`translateX(-${i.left+i.width-a}px)`:"up"===e?o?`translateY(${o.bottom+s-i.top}px)`:`translateY(${l.innerHeight+s-i.top}px)`:o?`translateY(-${i.top-o.top+i.height-s}px)`:`translateY(-${i.top+i.height-s}px)`}(e,t,"function"==typeof n?n():n);r&&(t.style.webkitTransform=r,t.style.transform=r)}let g=o.forwardRef(function(e,t){let n=(0,u.A)(),g={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},m={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:v,appear:y=!0,children:x,container:b,direction:w="down",easing:C=g,in:_,onEnter:k,onEntered:E,onEntering:S,onExit:T,onExited:A,onExiting:I,style:M,timeout:P=m,TransitionComponent:N=l.Ay}=e,L=(0,i.A)(e,f),D=o.useRef(null),R=(0,s.A)(x.ref,D,t),F=e=>t=>{e&&(void 0===t?e(D.current):e(D.current,t))},O=F((e,t)=>{p(w,e,b),(0,c.q)(e),k&&k(e,t)}),V=F((e,t)=>{let i=(0,c.c)({timeout:P,style:M,easing:C},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,r.A)({},i)),e.style.transition=n.transitions.create("transform",(0,r.A)({},i)),e.style.webkitTransform="none",e.style.transform="none",S&&S(e,t)}),H=F(E),B=F(I),z=F(e=>{let t=(0,c.c)({timeout:P,style:M,easing:C},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),p(w,e,b),T&&T(e)}),j=F(e=>{e.style.webkitTransition="",e.style.transition="",A&&A(e)}),W=o.useCallback(()=>{D.current&&p(w,D.current,b)},[w,b]);return o.useEffect(()=>{if(_||"down"===w||"right"===w)return;let e=(0,a.A)(()=>{D.current&&p(w,D.current,b)}),t=(0,d.A)(D.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[w,_,b]),o.useEffect(()=>{_||W()},[_,W]),(0,h.jsx)(N,(0,r.A)({nodeRef:D,onEnter:O,onEntered:H,onEntering:V,onExit:z,onExited:j,onExiting:B,addEndListener:e=>{v&&v(D.current,e)},appear:y,in:_,timeout:P},L,{children:(e,t)=>o.cloneElement(x,(0,r.A)({ref:R,style:(0,r.A)({visibility:"exited"!==e||_?void 0:"hidden"},M,x.props.style)},t))}))})},17600:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});let r=document.createElement("i");function i(e){let t="&"+e+";";r.innerHTML=t;let n=r.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}}
7,18852:(e,t,n)=>{"use strict";n.d(t,{a:()=>d});var r=n(49628),i=n(53239),o=n(80263),l=n(54882),a=n(35588);let s="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect,u=(0,i.forwardRef)(function({editor:e,ariaActiveDescendant:t,ariaAutoComplete:n,ariaControls:r,ariaDescribedBy:l,ariaExpanded:a,ariaLabel:u,ariaLabelledBy:c,ariaMultiline:d,ariaOwns:h,ariaRequired:f,autoCapitalize:p,className:g,id:m,role:v="textbox",spellCheck:y=!0,style:x,tabIndex:b,"data-testid":w,...C},_){let[k,E]=(0,i.useState)(e.isEditable()),S=(0,i.useCallback)(t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null)},[e]),T=(0,i.useMemo)(()=>(function(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}})(_,S),[S,_]);return s(()=>(E(e.isEditable()),e.registerEditableListener(e=>{E(e)})),[e]),(0,o.jsx)("div",{...C,"aria-activedescendant":k?t:void 0,"aria-autocomplete":k?n:"none","aria-controls":k?r:void 0,"aria-describedby":l,"aria-expanded":k&&"combobox"===v?!!a:void 0,"aria-label":u,"aria-labelledby":c,"aria-multiline":d,"aria-owns":k?h:void 0,"aria-readonly":!k||void 0,"aria-required":f,autoCapitalize:p,className:g,contentEditable:k,"data-testid":w,id:m,ref:T,role:k?v:void 0,spellCheck:y,style:x,tabIndex:b})});function c(e){return e.getEditorState().read((0,l.yl)(e.isComposing()))}let d=(0,i.forwardRef)(function(e,t){let{placeholder:n,...i}=e,[l]=(0,r.DF)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u,{editor:l,...i,ref:t}),null!=n&&(0,o.jsx)(h,{editor:l,content:n})]})});function h({content:e,editor:t}){let n=function(e){let[t,n]=(0,i.useState)(()=>c(e));return s(()=>{function t(){n(c(e))}return t(),(0,a.Sd)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),[r,l]=(0,i.useState)(t.isEditable());if((0,i.useLayoutEffect)(()=>(l(t.isEditable()),t.registerEditableListener(e=>{l(e)})),[t]),!n)return null;let u=null;return"function"==typeof e?u=e(r):null!==e&&(u=e),null===u?null:(0,o.jsx)("div",{"aria-hidden":!0,children:u})}},19023:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var r=n(5952),i=n(61383);function o(e,t){var n;let o,l=(n=(0,i.a)(e.start),(o=(0,i.a)(n)).setSeconds(0,0),o),a=(0,i.a)(e.end),s=+l>+a,u=s?+l:+a,c=s?a:l,d=t?.step??1;if(!d)return[];d<0&&(d=-d,s=!s);let h=[];for(;+c<=u;)h.push((0,i.a)(c)),c=(0,r.z)(c,d);return s?h.reverse():h}},19418:(e,t,n)=>{var r=n(95436),i=n(51306),o=n(19723),l=n(61100);e.exports=function(e){return o(e)?r(l(e)):i(e)}},19953:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(5952);function i(e,t){return(0,r.z)(e,-t)}},20564:(e,t,n)=>{var r=n(77936);e.exports=n(51784)(r)},20804:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});var r=n(61383);function i(e){let t;return e.forEach(function(e){let n=(0,r.a)(e);(void 0===t||t<n||isNaN(Number(n)))&&(t=n)}),t||new Date(NaN)}},20876:(e,t,n)=>{"use strict";function r(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}n.d(t,{C:()=>r})},21016:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var r=n(53239),i=n(17137);let o={some:0,all:1};function l(e,{root:t,margin:n,amount:a,once:s=!1,initial:u=!1}={}){let[c,d]=(0,r.useState)(u);return(0,r.useEffect)(()=>{if(!e.current||s&&c)return;let r={root:t&&t.current||void 0,margin:n,amount:a};return function(e,t,{root:n,margin:r,amount:l="some"}={}){let a=(0,i.K)(e),s=new WeakMap,u=new IntersectionObserver(e=>{e.forEach(e=>{let n=s.get(e.target);if(!!n!==e.isIntersecting)if(e.isIntersecting){let n=t(e.target,e);"function"==typeof n?s.set(e.target,n):u.unobserve(e.target)}else"function"==typeof n&&(n(e),s.delete(e.target))})},{root:n,rootMargin:r,threshold:"number"==typeof l?l:o[l]});return a.forEach(e=>u.observe(e)),()=>u.disconnect()}(e.current,()=>(d(!0),s?void 0:()=>d(!1)),r)},[t,e,n,s,a]),c}},21100:(e,t,n)=>{"use strict";n(81832)},21170:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(84005),i=n(49628),o=n(35588),l=n(29641),a=n(53239);
7function s(){let[e]=(0,i.DF)();return(0,a.useEffect)(()=>(0,o.Sd)(e.registerCommand(r.mJ,()=>((0,r.us)(e,"check"),!0),l.Ac),e.registerCommand(l.bb,t=>f(t,e,!1),l.Ac),e.registerCommand(l.UD,t=>f(t,e,!0),l.Ac),e.registerCommand(l.Q$,t=>{if(null!=h()){let t=e.getRootElement();return null!=t&&t.focus(),!0}return!1},l.Ac),e.registerCommand(l.Hu,t=>{let n=h();return!(null==n||!e.isEditable())&&(e.update(()=>{let e=(0,l.xL)(n);(0,r.Mz)(e)&&(t.preventDefault(),e.toggleChecked())}),!0)},l.Ac),e.registerCommand(l.AX,t=>e.getEditorState().read(()=>{let n=(0,l.vJ)();if((0,l.I2)(n)&&n.isCollapsed()){let{anchor:i}=n,a="element"===i.type;if(a||0===i.offset){let n=i.getNode(),s=(0,o.Bt)(n,e=>(0,l.ff)(e)&&!e.isInline());if((0,r.Mz)(s)){let i=s.getParent();if((0,r.HY)(i)&&"check"===i.getListType()&&(a||s.getFirstDescendant()===n)){let n=e.getElementByKey(s.__key);if(null!=n&&document.activeElement!==n)return n.focus(),t.preventDefault(),!0}}}}return!1}),l.Ac),e.registerRootListener((e,t)=>{null!==e&&(e.addEventListener("click",c),e.addEventListener("pointerdown",d)),null!==t&&(t.removeEventListener("click",c),t.removeEventListener("pointerdown",d))}))),null}function u(e,t){let n=e.target;if(null===n||!(0,l.sb)(n))return;let r=n.firstChild;if(null!=r&&(0,l.sb)(r)&&("UL"===r.tagName||"OL"===r.tagName))return;let i=n.parentNode;if(!i||"check"!==i.__lexicalListType)return;let a=n.getBoundingClientRect(),s=e.pageX/(0,o.OV)(n);("rtl"===n.dir?s<a.right&&s>a.right-20:s>a.left&&s<a.left+20)&&t()}function c(e){u(e,()=>{if(e.target instanceof HTMLElement){let t=e.target,n=(0,l.sc)(t);null!=n&&n.isEditable()&&n.update(()=>{let e=(0,l.xL)(t);(0,r.Mz)(e)&&(t.focus(),e.toggleChecked())})}})}function d(e){u(e,()=>{e.preventDefault()})}function h(){let e=document.activeElement;return null!=e&&"LI"===e.tagName&&null!=e.parentNode&&"check"===e.parentNode.__lexicalListType?e:null}function f(e,t,n){let i=h();return null!=i&&t.update(()=>{let o=(0,l.xL)(i);if(!(0,r.Mz)(o))return;let a=function(e,t){let n=t?e.getPreviousSibling():e.getNextSibling(),i=e;for(;null==n&&(0,r.Mz)(i);)null!=(i=i.getParentOrThrow().getParent())&&(n=t?i.getPreviousSibling():i.getNextSibling());for(;(0,r.Mz)(n);){let e=t?n.getLastChild():n.getFirstChild();if(!(0,r.HY)(e))return n;n=t?e.getLastChild():e.getFirstChild()}return null}(o,n);if(null!=a){a.selectStart();let n=t.getElementByKey(a.__key);null!=n&&(e.preventDefault(),setTimeout(()=>{n.focus()},0))}}),!1}},23545:(e,t,n)=>{e.exports=n(92855)(n(42468),"DataView")},24967:(e,t,n)=>{var r=n(70522),i=n(58381),o=n(89527);e.exports=function(e){return o(e)?r(e):i(e)}},25108:(e,t,n)=>{"use strict";function r(){return{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}}n.d(t,{d:()=>r})},26089:(e,t,n)=>{var r=n(16743);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},26350:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(61383);function i(e){let t;return e.forEach(e=>{let n=(0,r.a)(e);(!t||t>n||isNaN(+n))&&(t=n)}),t||new Date(NaN)}},26779:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>ej,vL:()=>g,AN:()=>eg,fp:()=>H,Sj:()=>$,fF:()=>eJ,PM:()=>eU,zM:()=>eZ,MS:()=>L,FR:()=>D});var r,i,o,l,a,s,u,c,d,h,f,p,g,m,v,y,x,b,w,C=n(53239),_=n(37034),k=n(87604);let E={display:"none"};function S(e){let{id:t,value:n}=e;return C.createElement("div",{id:t,style:E},n)}function T(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return C.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}let A=(0,C.createContext)(null),I={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},M={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function P(e){var t;let n,{announcements:r=M,container:i,hiddenTextDescribedById:o,screenReaderInstructions:l=I}=e,{announce:a,announcement:s}=function(){let[e,t]=(0,C.useState)("");return{announce:(0,C.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),u=(0,k.YG)("DndLiveRegion"),[c,d]=(0,C.useState)(!1);if((0,C.useEffect)(()=>{d(!0)},[]),t=(0,C.useMemo)(()=>({onDragStart(e){let{active:t}=e;a(r.onDragStart({active:t}))},onDragMove(e){let{active:t,over:n}=e;r.onDragMove&&a(r.onDragMove({active:t,over:n}))},onDragOver(e){let{active:t,over:n}=e;a(r.onDragOver({active:t,over:n}))},onDragEnd(e){let{active:t,over:n}=e;a(r.onDragEnd({active:t,over:n}))},onDragCancel(e){let{active:t,over:n}=e;
7a(r.onDragCancel({active:t,over:n}))}}),[a,r]),n=(0,C.useContext)(A),(0,C.useEffect)(()=>{if(!n)throw Error("useDndMonitor must be used within a children of <DndContext>");return n(t)},[t,n]),!c)return null;let h=C.createElement(C.Fragment,null,C.createElement(S,{id:o,value:l.draggable}),C.createElement(T,{id:u,announcement:s}));return i?(0,_.createPortal)(h,i):h}function N(){}function L(e,t){return(0,C.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,C.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}(r=h||(h={})).DragStart="dragStart",r.DragMove="dragMove",r.DragEnd="dragEnd",r.DragCancel="dragCancel",r.DragOver="dragOver",r.RegisterDroppable="registerDroppable",r.SetDroppableDisabled="setDroppableDisabled",r.UnregisterDroppable="unregisterDroppable";let R=Object.freeze({x:0,y:0});function F(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function O(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function V(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}let H=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=V(t,t.left,t.top),o=[];for(let e of r){let{id:t}=e,r=n.get(t);if(r){var l;let n=(l=V(r),Math.sqrt(Math.pow(l.x-i.x,2)+Math.pow(l.y-i.y,2)));o.push({id:t,data:{droppableContainer:e,value:n}})}}return o.sort(F)},B=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e,i=[];for(let e of r){let{id:r}=e,o=n.get(r);if(o){let n=function(e,t){let n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height);if(r<i&&n<o){let l=t.width*t.height,a=e.width*e.height,s=(i-r)*(o-n);return Number((s/(l+a-s)).toFixed(4))}return 0}(o,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(O)};function z(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:R}let j=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((e,t)=>({...e,top:e.top+ +t.y,bottom:e.bottom+ +t.y,left:e.left+ +t.x,right:e.right+ +t.x}),{...e})},W={ignoreTransform:!1};function $(e,t){void 0===t&&(t=W);let n=e.getBoundingClientRect();if(t.ignoreTransform){let{transform:t,transformOrigin:r}=(0,k.zk)(e).getComputedStyle(e);t&&(n=function(e,t,n){let r=function(e){if(e.startsWith("matrix3d(")){let t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){let t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}(t);if(!r)return e;let{scaleX:i,scaleY:o,x:l,y:a}=r,s=e.left-l-(1-i)*parseFloat(n),u=e.top-a-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),c=i?e.width/i:e.width,d=o?e.height/o:e.height;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s}}(n,t,r))}let{top:r,left:i,width:o,height:l,bottom:a,right:s}=n;return{top:r,left:i,width:o,height:l,bottom:a,right:s}}function U(e){return $(e,{ignoreTransform:!0})}function J(e,t){let n=[];return e?function r(i){var o,l;let a;if(null!=t&&n.length>=t||!i)return n;if((0,k.wz)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,k.sb)(i)||(0,k.xZ)(i)||n.includes(i))return n;let s=(0,k.zk)(e).getComputedStyle(i);return(i!==e&&(void 0===(o=s)&&(o=(0,k.zk)(i).getComputedStyle(i)),a=/(auto|scroll|overlay)/,["overflow","overflowX","overflowY"].some(e=>{let t=o[e];return"string"==typeof t&&a.test(t)}))&&n.push(i),void 0===(l=s)&&(l=(0,k.zk)(i).getComputedStyle(i)),"fixed"===l.position)?n:r(i.parentNode)}(e):n}function K(e){let[t]=J(e,1);return null!=t?t:null}function Z(e){return k.Sw&&e?(0,k.l6)(e)?e:(0,k.Ll)(e)?(0,k.wz)(e)||e===(0,k.TW)(e).scrollingElement?window:(0,k.sb)(e)?e:null:null:null}function q(e){return(0,k.l6)(e)?e.scrollX:e.scrollLeft}function G(e){return(0,k.l6)(e)?e.scrollY:e.scrollTop}function Y(e){return{x:q(e),y:G(e)}}function X(e){return!!k.Sw&&!!e&&e===document.scrollingElement}function Q(e){let t={x:0,y:0},n=X(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},i=e.scrollTop<=t.y,o=e.scrollLeft<=t.x;return{isTop:i,isLeft:o,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}(i=f||(f={}))[i.Forward=1]="Forward",i[i.Backward=-1]="Backward";let ee={x:.2,y:.2};function et(e){return e.reduce((e,t)=>
7(0,k.WQ)(e,Y(t)),R)}let en=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+q(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+G(t),0)}]];class er{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=J(t),r=et(n);for(const[t,i,o]of(this.rect={...e},this.width=e.width,this.height=e.height,en))for(const e of i)Object.defineProperty(this,e,{get:()=>{let i=o(n),l=r[t]-i;return this.rect[e]+l},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class ei{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function eo(e,t){let n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}function el(e){e.preventDefault()}function ea(e){e.stopPropagation()}(o=p||(p={})).Click="click",o.DragStart="dragstart",o.Keydown="keydown",o.ContextMenu="contextmenu",o.Resize="resize",o.SelectionChange="selectionchange",o.VisibilityChange="visibilitychange",(l=g||(g={})).Space="Space",l.Down="ArrowDown",l.Right="ArrowRight",l.Left="ArrowLeft",l.Up="ArrowUp",l.Esc="Escape",l.Enter="Enter",l.Tab="Tab";let es={start:[g.Space,g.Enter],cancel:[g.Esc],end:[g.Space,g.Enter,g.Tab]},eu=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case g.Right:return{...n,x:n.x+25};case g.Left:return{...n,x:n.x-25};case g.Down:return{...n,y:n.y+25};case g.Up:return{...n,y:n.y-25}}};class ec{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new ei((0,k.TW)(t)),this.windowListeners=new ei((0,k.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(p.Resize,this.handleCancel),this.windowListeners.add(p.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(p.Keydown,this.handleKeyDown))}handleStart(){let{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&function(e,t){if(void 0===t&&(t=$),!e)return;let{top:n,left:r,bottom:i,right:o}=t(e);K(e)&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}(n),t(R)}handleKeyDown(e){if((0,k.kx)(e)){let{active:t,context:n,options:r}=this.props,{keyboardCodes:i=es,coordinateGetter:o=eu,scrollBehavior:l="smooth"}=r,{code:a}=e;if(i.end.includes(a))return void this.handleEnd(e);if(i.cancel.includes(a))return void this.handleCancel(e);let{collisionRect:s}=n.current,u=s?{x:s.left,y:s.top}:R;this.referenceCoordinates||(this.referenceCoordinates=u);let c=o(e,{active:t,context:n.current,currentCoordinates:u});if(c){let t=(0,k.Re)(c,u),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(let n of i){let i=e.code,{isTop:o,isRight:a,isLeft:s,isBottom:u,maxScroll:d,minScroll:h}=Q(n),f=function(e){if(e===document.scrollingElement){let{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}let{top:t,left:n,right:r,bottom:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}(n),p={x:Math.min(i===g.Right?f.right-f.width/2:f.right,Math.max(i===g.Right?f.left:f.left+f.width/2,c.x)),y:Math.min(i===g.Down?f.bottom-f.height/2:f.bottom,Math.max(i===g.Down?f.top:f.top+f.height/2,c.y))},m=i===g.Right&&!a||i===g.Left&&!s,v=i===g.Down&&!u||i===g.Up&&!o;if(m&&p.x!==c.x){let e=n.scrollLeft+t.x,o=i===g.Right&&e<=d.x||i===g.Left&&e>=h.x;if(o&&!t.y)return void n.scrollTo({left:e,behavior:l});o?r.x=n.scrollLeft-e:r.x=i===g.Right?n.scrollLeft-d.x:n.scrollLeft-h.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(v&&p.y!==c.y){let e=n.scrollTop+t.y,o=i===g.Down&&e<=d.y||i===g.Up&&e>=h.y;if(o&&!t.x)return void n.scrollTo({top:e,behavior:l});o?r.y=n.scrollTop-e:r.y=i===g.Down?n.scrollTop-d.y:n.scrollTop-h.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,(0,k.WQ)((0,k.Re)(c,this.referenceCoordinates),r))}}}handleMove(e,t){let{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){let{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){let{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function ed(e){return!!(e&&"distance"in e)}function eh(e){return!!(e&&"delay"in e)}ec.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=es,onActivation:i}=t,{active:o}=n,{code:l}=e.nativeEvent;
7if(r.start.includes(l)){let t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class ef{constructor(e,t,n){var r;void 0===n&&(n=function(e){let{EventTarget:t}=(0,k.zk)(e);return e instanceof t?e:(0,k.TW)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=(0,k.TW)(o),this.documentListeners=new ei(this.document),this.listeners=new ei(n),this.windowListeners=new ei((0,k.zk)(o)),this.initialCoordinates=null!=(r=(0,k.e_)(i))?r:R,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){let{events:e,props:{options:{activationConstraint:t,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(p.Resize,this.handleCancel),this.windowListeners.add(p.DragStart,el),this.windowListeners.add(p.VisibilityChange,this.handleCancel),this.windowListeners.add(p.ContextMenu,el),this.documentListeners.add(p.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(eh(t)){this.timeoutId=setTimeout(this.handleStart,t.delay),this.handlePending(t);return}if(ed(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){let{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){let{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(p.Click,ea,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(p.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;let{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:l}}=i;if(!r)return;let a=null!=(t=(0,k.e_)(e))?t:R,s=(0,k.Re)(r,a);if(!n&&l){if(ed(l)){if(null!=l.tolerance&&eo(s,l.tolerance))return this.handleCancel();if(eo(s,l.distance))return this.handleStart()}return eh(l)&&eo(s,l.tolerance)?this.handleCancel():void this.handlePending(l,s)}e.cancelable&&e.preventDefault(),o(a)}handleEnd(){let{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){let{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===g.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}let ep={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class eg extends ef{constructor(e){const{event:t}=e;super(e,ep,(0,k.TW)(t.target))}}eg.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!!n.isPrimary&&0===n.button&&(null==r||r({event:n}),!0)}}];let em={move:{name:"mousemove"},end:{name:"mouseup"}};(a=m||(m={}))[a.RightClick=2]="RightClick";class ev extends ef{constructor(e){super(e,em,(0,k.TW)(e.event.target))}}ev.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==m.RightClick&&(null==r||r({event:n}),!0)}}];let ey={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class ex extends ef{constructor(e){super(e,ey)}static setup(){return window.addEventListener(ey.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ey.move.name,e)};function e(){}}}ex.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t,{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],(s=v||(v={}))[s.Pointer=0]="Pointer",s[s.DraggableRect=1]="DraggableRect",(u=y||(y={}
7))[u.TreeOrder=0]="TreeOrder",u[u.ReversedTreeOrder=1]="ReversedTreeOrder";let eb={x:{[f.Backward]:!1,[f.Forward]:!1},y:{[f.Backward]:!1,[f.Forward]:!1}};(c=x||(x={}))[c.Always=0]="Always",c[c.BeforeDragging=1]="BeforeDragging",c[c.WhileDragging=2]="WhileDragging",(b||(b={})).Optimized="optimized";let ew=new Map;function eC(e,t){return(0,k.KG)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function e_(e){let{callback:t,disabled:n}=e,r=(0,k._q)(t),i=(0,C.useMemo)(()=>{if(n||"u"<typeof window||void 0===window.ResizeObserver)return;let{ResizeObserver:e}=window;return new e(r)},[n]);return(0,C.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function ek(e){return new er($(e),e)}function eE(e,t,n){void 0===t&&(t=ek);let[r,i]=(0,C.useState)(null);function o(){i(r=>{if(!e)return null;if(!1===e.isConnected){var i;return null!=(i=null!=r?r:n)?i:null}let o=t(e);return JSON.stringify(r)===JSON.stringify(o)?r:o})}let l=function(e){let{callback:t,disabled:n}=e,r=(0,k._q)(t),i=(0,C.useMemo)(()=>{if(n||"u"<typeof window||void 0===window.MutationObserver)return;let{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,C.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(let n of t){let{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){o();break}}}}),a=e_({callback:o});return(0,k.Es)(()=>{o(),e?(null==a||a.observe(e),null==l||l.observe(document.body,{childList:!0,subtree:!0})):(null==a||a.disconnect(),null==l||l.disconnect())},[e]),r}let eS=[];function eT(e,t){void 0===t&&(t=[]);let n=(0,C.useRef)(null);return(0,C.useEffect)(()=>{n.current=null},t),(0,C.useEffect)(()=>{let t=e!==R;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,k.Re)(e,n.current):R}function eA(e){return(0,C.useMemo)(()=>{let t,n;return e?(t=e.innerWidth,{top:0,left:0,right:t,bottom:n=e.innerHeight,width:t,height:n}):null},[e])}let eI=[],eM=[{sensor:eg,options:{}},{sensor:ec,options:{}}],eP={current:{}},eN={draggable:{measure:U},droppable:{measure:U,strategy:x.WhileDragging,frequency:b.Optimized},dragOverlay:{measure:$}};class eL extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}let eD={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new eL,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:N},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:eN,measureDroppableContainers:N,windowRect:null,measuringScheduled:!1},eR={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:N,draggableNodes:new Map,over:null,measureDroppableContainers:N},eF=(0,C.createContext)(eR),eO=(0,C.createContext)(eD);function eV(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new eL}}}function eH(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.DragMove:if(null==e.draggable.active)return e;return{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}};case h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{let{element:n}=t,{id:r}=n,i=new eL(e.droppable.containers);return i.set(r,n),{...e,droppable:{...e.droppable,containers:i}}}case h.SetDroppableDisabled:{let{id:n,key:r,disabled:i}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;let l=new eL(e.droppable.containers);return l.set(n,{...o,disabled:i}),{...e,droppable:{...e.droppable,containers:l}}}case h.UnregisterDroppable:{let{id:n,key:r}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;
7let o=new eL(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function eB(e){let{disabled:t}=e,{active:n,activatorEvent:r,draggableNodes:i}=(0,C.useContext)(eF),o=(0,k.ZC)(r),l=(0,k.ZC)(null==n?void 0:n.id);return(0,C.useEffect)(()=>{if(!t&&!r&&o&&null!=l){if(!(0,k.kx)(o)||document.activeElement===o.target)return;let e=i.get(l);if(!e)return;let{activatorNode:t,node:n}=e;(t.current||n.current)&&requestAnimationFrame(()=>{for(let e of[t.current,n.current]){if(!e)continue;let t=(0,k.ag)(e);if(t){t.focus();break}}})}},[r,t,i,l,o]),null}let ez=(0,C.createContext)({...R,scaleX:1,scaleY:1});(d=w||(w={}))[d.Uninitialized=0]="Uninitialized",d[d.Initializing=1]="Initializing",d[d.Initialized=2]="Initialized";let ej=(0,C.memo)(function(e){var t,n,r,i,o,l,a,s;let u,c,d,p,g,m,b,E,{id:S,accessibility:T,autoScroll:I=!0,children:M,sensors:N=eM,collisionDetection:L=B,measuring:D,modifiers:F,...O}=e,[V,H]=(0,C.useReducer)(eH,void 0,eV),[W,U]=function(){let[e]=(0,C.useState)(()=>new Set),t=(0,C.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,C.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[q,G]=(0,C.useState)(w.Uninitialized),en=q===w.Initialized,{draggable:{active:ei,nodes:eo,translate:el},droppable:{containers:ea}}=V,es=null!=ei?eo.get(ei):null,eu=(0,C.useRef)({initial:null,translated:null}),ec=(0,C.useMemo)(()=>{var e;return null!=ei?{id:ei,data:null!=(e=null==es?void 0:es.data)?e:eP,rect:eu}:null},[ei,es]),ed=(0,C.useRef)(null),[eh,ef]=(0,C.useState)(null),[ep,eg]=(0,C.useState)(null),em=(0,k.YN)(O,Object.values(O)),ev=(0,k.YG)("DndDescribedBy",S),ey=(0,C.useMemo)(()=>ea.getEnabled(),[ea]),ex=(0,C.useMemo)(()=>({draggable:{...eN.draggable,...null==D?void 0:D.draggable},droppable:{...eN.droppable,...null==D?void 0:D.droppable},dragOverlay:{...eN.dragOverlay,...null==D?void 0:D.dragOverlay}}),[null==D?void 0:D.draggable,null==D?void 0:D.droppable,null==D?void 0:D.dragOverlay]),{droppableRects:ek,measureDroppableContainers:eL,measuringScheduled:eD}=function(e,t){let{dragging:n,dependencies:r,config:i}=t,[o,l]=(0,C.useState)(null),{frequency:a,measure:s,strategy:u}=i,c=(0,C.useRef)(e),d=function(){switch(u){case x.Always:return!1;case x.BeforeDragging:return n;default:return!n}}(),h=(0,k.YN)(d),f=(0,C.useCallback)(function(e){void 0===e&&(e=[]),h.current||l(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[h]),p=(0,C.useRef)(null),g=(0,k.KG)(t=>{if(d&&!n)return ew;if(!t||t===ew||c.current!==e||null!=o){let t=new Map;for(let n of e){if(!n)continue;if(o&&o.length>0&&!o.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}let e=n.node.current,r=e?new er(s(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,o,n,d,s]);return(0,C.useEffect)(()=>{c.current=e},[e]),(0,C.useEffect)(()=>{d||f()},[n,d]),(0,C.useEffect)(()=>{o&&o.length>0&&l(null)},[JSON.stringify(o)]),(0,C.useEffect)(()=>{d||"number"!=typeof a||null!==p.current||(p.current=setTimeout(()=>{f(),p.current=null},a))},[a,d,f,...r]),{droppableRects:g,measureDroppableContainers:f,measuringScheduled:null!=o}}(ey,{dragging:en,dependencies:[el.x,el.y],config:ex.droppable}),eR=(g=(p=null!=ei?eo.get(ei):void 0)?p.node.current:null,(0,k.KG)(e=>{var t;return null==ei?null:null!=(t=null!=g?g:e)?t:null},[g,ei])),ej=(0,C.useMemo)(()=>ep?(0,k.e_)(ep):null,[ep]),eW=(u=(null==eh?void 0:eh.autoScrollEnabled)===!1,c="object"==typeof I?!1===I.enabled:!1===I,d=en&&!u&&!c,"object"==typeof I?{...I,enabled:d}:{enabled:d}),e$=eC(eR,ex.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e,o=(0,C.useRef)(!1),{x:l,y:a}="boolean"==typeof i?{x:i,y:i}:i;(0,k.Es)(()=>{if(!l&&!a||!t){o.current=!1;return}if(o.current||!r)return;let e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;let i=z(n(e),r);if(l||(i.x=0),a||(i.y=0),o.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){let t=K(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,l,a,r,n])}({activeNode:null!=ei?eo.get(ei):null,config:eW.layoutShiftCompensation,initialRect:e$,measure:ex.draggable.measure});let eU=eE(eR,ex.draggable.measure,e$),eJ=eE(eR?eR.parentElement:null),eK=(0,C.useRef)({activatorEvent:null,active:null,activeNode:eR,collisionRect:null,collisions:null,droppableRects:ek,draggableNodes:eo,draggingNode:null,draggingNodeRect:null,droppableContainers:ea,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),eZ=ea.getNodeFor(null==(t=eK.current.over)?void 0:t.id),eq=function(e){let{measure:t}=e,[n,r]=(0,C.useState)(null),i=e_({callback:(0,C.useCallback)(e=>{for(let{target:n}of e)if((0,k.sb)(n)){r(e=>{let r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),o=(0,C.useCallback)(e=>{let n=function(e){if(!e)return null;if(e.children.length>1)return e;let t=e.children[0];return(0,k.sb)(t)?t:e}(e);null==i||i.disconnect(),n&&(null==i||i.observe(n)),r(n?t(n):null)},[t,i]),[l,a]=(0,k.lk)(o);return(0,C.useMemo)(()=>({nodeRef:l,rect:n,setRef:a}),[n,l,a])}({measure:ex.dragOverlay.measure}),eG=null!=(n=eq.nodeRef.current)?n:eR,eY=en?null!=(r=eq.rect)?r:eU:null,eX=!!(eq.nodeRef.current&&eq.re
7ct),eQ=(m=eC(o=eX?null:eU),z(o,m)),e0=eA(eG?(0,k.zk)(eG):null),e1=(l=en?null!=eZ?eZ:eR:null,b=(0,C.useRef)(l),E=(0,k.KG)(e=>l?e&&e!==eS&&l&&b.current&&l.parentNode===b.current.parentNode?e:J(l):eS,[l]),(0,C.useEffect)(()=>{b.current=l},[l]),E),e5=function(e,t){void 0===t&&(t=$);let[n]=e,r=eA(n?(0,k.zk)(n):null),[i,o]=(0,C.useState)(eI);function l(){o(()=>e.length?e.map(e=>X(e)?r:new er(t(e),e)):eI)}let a=e_({callback:l});return(0,k.Es)(()=>{null==a||a.disconnect(),l(),e.forEach(e=>null==a?void 0:a.observe(e))},[e]),i}(e1),e2=function(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}(F,{transform:{x:el.x-eQ.x,y:el.y-eQ.y,scaleX:1,scaleY:1},activatorEvent:ep,active:ec,activeNodeRect:eU,containerNodeRect:eJ,draggingNodeRect:eY,over:eK.current.over,overlayNodeRect:eq.rect,scrollableAncestors:e1,scrollableAncestorRects:e5,windowRect:e0}),e9=ej?(0,k.WQ)(ej,el):null,e3=function(e){let[t,n]=(0,C.useState)(null),r=(0,C.useRef)(e),i=(0,C.useCallback)(e=>{let t=Z(e.target);t&&n(e=>e?(e.set(t,Y(t)),new Map(e)):null)},[]);return(0,C.useEffect)(()=>{let t=r.current;if(e!==t){o(t);let l=e.map(e=>{let t=Z(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,Y(t)]):null}).filter(e=>null!=e);n(l.length?new Map(l):null),r.current=e}return()=>{o(e),o(t)};function o(e){e.forEach(e=>{let t=Z(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,C.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,k.WQ)(e,t),R):et(e):R,[e,t])}(e1),e8=eT(e3),e7=eT(e3,[eU]),e4=(0,k.WQ)(e2,e8),e6=eY?j(eY,e2):null,te=ec&&e6?L({active:ec,collisionRect:e6,droppableRects:ek,droppableContainers:ey,pointerCoordinates:e9}):null,tt=function(e,t){if(!e||0===e.length)return null;let[n]=e;return n.id}(te,0),[tn,tr]=(0,C.useState)(null),ti=(a=eX?e2:(0,k.WQ)(e2,e7),s=null!=(i=null==tn?void 0:tn.rect)?i:null,{...a,scaleX:s&&eU?s.width/eU.width:1,scaleY:s&&eU?s.height/eU.height:1}),to=(0,C.useRef)(null),tl=(0,C.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==ed.current)return;let i=eo.get(ed.current);if(!i)return;let o=e.nativeEvent,l=new n({active:ed.current,activeNode:i,event:o,options:r,context:eK,onAbort(e){if(!eo.get(e))return;let{onDragAbort:t}=em.current,n={id:e};null==t||t(n),W({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!eo.get(e))return;let{onDragPending:i}=em.current,o={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(o),W({type:"onDragPending",event:o})},onStart(e){let t=ed.current;if(null==t)return;let n=eo.get(t);if(!n)return;let{onDragStart:r}=em.current,i={activatorEvent:o,active:{id:t,data:n.data,rect:eu}};(0,_.unstable_batchedUpdates)(()=>{null==r||r(i),G(w.Initializing),H({type:h.DragStart,initialCoordinates:e,active:t}),W({type:"onDragStart",event:i}),ef(to.current),eg(o)})},onMove(e){H({type:h.DragMove,coordinates:e})},onEnd:a(h.DragEnd),onCancel:a(h.DragCancel)});function a(e){return async function(){let{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=eK.current,l=null;if(t&&i){let{cancelDrop:a}=em.current;l={activatorEvent:o,active:t,collisions:n,delta:i,over:r},e===h.DragEnd&&"function"==typeof a&&await Promise.resolve(a(l))&&(e=h.DragCancel)}ed.current=null,(0,_.unstable_batchedUpdates)(()=>{H({type:e}),G(w.Uninitialized),tr(null),ef(null),eg(null),to.current=null;let t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(l){let e=em.current[t];null==e||e(l),W({type:t,event:l})}})}}to.current=l},[eo]),ta=(0,C.useCallback)((e,t)=>(n,r)=>{let i=n.nativeEvent,o=eo.get(r);null!==ed.current||!o||i.dndKit||i.defaultPrevented||!0===e(n,t.options,{active:o})&&(i.dndKit={capturedBy:t.sensor},ed.current=r,tl(n,t))},[eo,tl]),ts=(0,C.useMemo)(()=>N.reduce((e,t)=>{let{sensor:n}=t;return[...e,...n.activators.map(e=>({eventName:e.eventName,handler:ta(e.handler,t)}))]},[]),[N,ta]);(0,C.useEffect)(()=>{if(!k.Sw)return;let e=N.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(let t of e)null==t||t()}},N.map(e=>{let{sensor:t}=e;return t})),(0,k.Es)(()=>{eU&&q===w.Initializing&&G(w.Initialized)},[eU,q]),(0,C.useEffect)(()=>{let{onDragMove:e}=em.current,{active:t,activatorEvent:n,collisions:r,over:i}=eK.current;if(!t||!n)return;let o={active:t,activatorEvent:n,collisions:r,delta:{x:e4.x,y:e4.y},over:i};(0,_.unstable_batchedUpdates)(()=>{null==e||e(o),W({type:"onDragMove",event:o})})},[e4.x,e4.y]),(0,C.useEffect)(()=>{let{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=eK.current;if(!e||null==ed.current||!t||!i)return;let{onDragOver:o}=em.current,l=r.get(tt),a=l&&l.rect.current?{id:l.id,rect:l.rect.current,data:l.data,disabled:l.disabled}
7:null,s={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:a};(0,_.unstable_batchedUpdates)(()=>{tr(a),null==o||o(s),W({type:"onDragOver",event:s})})},[tt]),(0,k.Es)(()=>{eK.current={activatorEvent:ep,active:ec,activeNode:eR,collisionRect:e6,collisions:te,droppableRects:ek,draggableNodes:eo,draggingNode:eG,draggingNodeRect:eY,droppableContainers:ea,over:tn,scrollableAncestors:e1,scrollAdjustedTranslate:e4},eu.current={initial:eY,translated:e6}},[ec,eR,te,e6,eo,eG,eY,ek,ea,tn,e1,e4]),function(e){let{acceleration:t,activator:n=v.Pointer,canScroll:r,draggingRect:i,enabled:o,interval:l=5,order:a=y.TreeOrder,pointerCoordinates:s,scrollableAncestors:u,scrollableAncestorRects:c,delta:d,threshold:h}=e,p=function(e){let{delta:t,disabled:n}=e,r=(0,k.ZC)(t);return(0,k.KG)(e=>{if(n||!r||!e)return eb;let i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[f.Backward]:e.x[f.Backward]||-1===i.x,[f.Forward]:e.x[f.Forward]||1===i.x},y:{[f.Backward]:e.y[f.Backward]||-1===i.y,[f.Forward]:e.y[f.Forward]||1===i.y}}},[n,t,r])}({delta:d,disabled:!o}),[g,m]=(0,k.$$)(),x=(0,C.useRef)({x:0,y:0}),b=(0,C.useRef)({x:0,y:0}),w=(0,C.useMemo)(()=>{switch(n){case v.Pointer:return s?{top:s.y,bottom:s.y,left:s.x,right:s.x}:null;case v.DraggableRect:return i}},[n,i,s]),_=(0,C.useRef)(null),E=(0,C.useCallback)(()=>{let e=_.current;if(!e)return;let t=x.current.x*b.current.x,n=x.current.y*b.current.y;e.scrollBy(t,n)},[]),S=(0,C.useMemo)(()=>a===y.TreeOrder?[...u].reverse():u,[a,u]);(0,C.useEffect)(()=>{if(!o||!u.length||!w)return void m();for(let e of S){if((null==r?void 0:r(e))===!1)continue;let n=c[u.indexOf(e)];if(!n)continue;let{direction:i,speed:o}=function(e,t,n,r,i){let{top:o,left:l,right:a,bottom:s}=n;void 0===r&&(r=10),void 0===i&&(i=ee);let{isTop:u,isBottom:c,isLeft:d,isRight:h}=Q(e),p={x:0,y:0},g={x:0,y:0},m={height:t.height*i.y,width:t.width*i.x};return!u&&o<=t.top+m.height?(p.y=f.Backward,g.y=r*Math.abs((t.top+m.height-o)/m.height)):!c&&s>=t.bottom-m.height&&(p.y=f.Forward,g.y=r*Math.abs((t.bottom-m.height-s)/m.height)),!h&&a>=t.right-m.width?(p.x=f.Forward,g.x=r*Math.abs((t.right-m.width-a)/m.width)):!d&&l<=t.left+m.width&&(p.x=f.Backward,g.x=r*Math.abs((t.left+m.width-l)/m.width)),{direction:p,speed:g}}(e,n,w,t,h);for(let e of["x","y"])p[e][i[e]]||(o[e]=0,i[e]=0);if(o.x>0||o.y>0){m(),_.current=e,g(E,l),x.current=o,b.current=i;return}}x.current={x:0,y:0},b.current={x:0,y:0},m()},[t,E,r,m,o,l,JSON.stringify(w),JSON.stringify(p),g,u,S,c,JSON.stringify(h)])}({...eW,delta:el,draggingRect:e6,pointerCoordinates:e9,scrollableAncestors:e1,scrollableAncestorRects:e5});let tu=(0,C.useMemo)(()=>({active:ec,activeNode:eR,activeNodeRect:eU,activatorEvent:ep,collisions:te,containerNodeRect:eJ,dragOverlay:eq,draggableNodes:eo,droppableContainers:ea,droppableRects:ek,over:tn,measureDroppableContainers:eL,scrollableAncestors:e1,scrollableAncestorRects:e5,measuringConfiguration:ex,measuringScheduled:eD,windowRect:e0}),[ec,eR,eU,ep,te,eJ,eq,eo,ea,ek,tn,eL,e1,e5,ex,eD,e0]),tc=(0,C.useMemo)(()=>({activatorEvent:ep,activators:ts,active:ec,activeNodeRect:eU,ariaDescribedById:{draggable:ev},dispatch:H,draggableNodes:eo,over:tn,measureDroppableContainers:eL}),[ep,ts,ec,eU,H,ev,eo,tn,eL]);return C.createElement(A.Provider,{value:U},C.createElement(eF.Provider,{value:tc},C.createElement(eO.Provider,{value:tu},C.createElement(ez.Provider,{value:ti},M)),C.createElement(eB,{disabled:(null==T?void 0:T.restoreFocus)===!1})),C.createElement(P,{...T,hiddenTextDescribedById:ev}))}),eW=(0,C.createContext)(null),e$="button";function eU(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e,o=(0,k.YG)("Draggable"),{activators:l,activatorEvent:a,active:s,activeNodeRect:u,ariaDescribedById:c,draggableNodes:d,over:h}=(0,C.useContext)(eF),{role:f=e$,roleDescription:p="draggable",tabIndex:g=0}=null!=i?i:{},m=(null==s?void 0:s.id)===t,v=(0,C.useContext)(m?ez:eW),[y,x]=(0,k.lk)(),[b,w]=(0,k.lk)(),_=(0,C.useMemo)(()=>l.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[l,t]),E=(0,k.YN)(n);return(0,k.Es)(()=>(d.set(t,{id:t,key:o,node:y,activatorNode:b,data:E}),()=>{let e=d.get(t);e&&e.key===o&&d.delete(t)}),[d,t]),{active:s,activatorEvent:a,activeNodeRect:u,attributes:(0,C.useMemo)(()=>({role:f,tabIndex:g,"aria-disabled":r,"aria-pressed":!!m&&f===e$||void 0,"aria-roledescription":p,"aria-describedby":c.draggable}),[r,f,g,m,p,c.draggable]),isDragging:m,listeners:r?void 0:_,node:y,over:h,setNodeRef:x,setActivatorNodeRef:w,transform:v}}function eJ(){return(0,C.useContext)(eO)}let eK={timeout:25};function eZ(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:i}=e,o=(0,k.YG)("Droppable"),{active:l,dispatch:a,over:s,measureDroppableContainers:u}=(0,C.useContext)(eF),c=(0,C.useRef)({disabled:n}),d=(0,C.useRef)(!1),f=(0,C.useRef)(null),p=(0,C.useRef)(null),{disabled:g,updateMeasurementsFor:m,timeout:v}={...eK,...i},y=(0,k.YN)(null!=m?m:r),x=e_({callback:(0,C.useCallback)(()=>
7{if(!d.current){d.current=!0;return}null!=p.current&&clearTimeout(p.current),p.current=setTimeout(()=>{u(Array.isArray(y.current)?y.current:[y.current]),p.current=null},v)},[v]),disabled:g||!l}),b=(0,C.useCallback)((e,t)=>{x&&(t&&(x.unobserve(t),d.current=!1),e&&x.observe(e))},[x]),[w,_]=(0,k.lk)(b),E=(0,k.YN)(t);return(0,C.useEffect)(()=>{x&&w.current&&(x.disconnect(),d.current=!1,x.observe(w.current))},[w,x]),(0,C.useEffect)(()=>(a({type:h.RegisterDroppable,element:{id:r,key:o,disabled:n,node:w,rect:f,data:E}}),()=>a({type:h.UnregisterDroppable,key:o,id:r})),[r]),(0,C.useEffect)(()=>{n!==c.current.disabled&&(a({type:h.SetDroppableDisabled,id:r,key:o,disabled:n}),c.current.disabled=n)},[r,o,n,a]),{active:l,rect:f,isOver:(null==s?void 0:s.id)===r,node:w,over:s,setNodeRef:_}}},27872:e=>{e.exports=function(){return[]}},28734:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(59868),i=n(75971),o=n(53239),l=n(40714),a=n(19085),s=n(82053),u=n(18306),c=n(71397),d=n(57550),h=n(56499),f=n(18003),p=n(28747);function g(e){return(0,p.Ay)("MuiSwitch",e)}let m=(0,f.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var v=n(80263);let y=["className","color","edge","size","sx"],x=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,u.A)(n.edge)}`],t[`size${(0,u.A)(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${m.thumb}`]:{width:16,height:16},[`& .${m.switchBase}`]:{padding:4,[`&.${m.checked}`]:{transform:"translateX(16px)"}}}}]}),b=(0,d.Ay)(c.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.switchBase,{[`& .${m.input}`]:t.input},"default"!==n.color&&t[`color${(0,u.A)(n.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${m.checked}`]:{transform:"translateX(20px)"},[`&.${m.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${m.checked} + .${m.track}`]:{opacity:.5},[`&.${m.disabled} + .${m.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${"light"===e.palette.mode?.12:.2}`},[`& .${m.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([t])=>({props:{color:t},style:{[`&.${m.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,s.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,s.a)(e.palette[t].main,.62):(0,s.e$)(e.palette[t].main,.55)}`}},[`&.${m.checked} + .${m.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),w=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${"light"===e.palette.mode?.38:.3}`})),C=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),_=o.forwardRef(function(e,t){let n=(0,h.b)({props:e,name:"MuiSwitch"}),{className:o,color:s="primary",edge:c=!1,size:d="medium",sx:f}=n,p=(0,r.A)(n,y),m=(0,i.A)({},n,{color:s,edge:c,size:d}),_=(e=>{let{classes:t,edge:n,size:r,color:o,checked:l,disabled:s}=e,c={root:["root",n&&`edge${(0,u.A)(n)}`,`size${(0,u.A)(r)}
7`],switchBase:["switchBase",`color${(0,u.A)(o)}`,l&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,a.A)(c,g,t);return(0,i.A)({},t,d)})(m),k=(0,v.jsx)(C,{className:_.thumb,ownerState:m});return(0,v.jsxs)(x,{className:(0,l.A)(_.root,o),sx:f,ownerState:m,children:[(0,v.jsx)(b,(0,i.A)({type:"checkbox",icon:k,checkedIcon:k,ref:t,ownerState:m},p,{classes:(0,i.A)({},_,{root:_.switchBase})})),(0,v.jsx)(w,{className:_.track,ownerState:m})]})})},29443:(e,t,n)=>{var r=n(90362),i=n(3341),o=n(24967);e.exports=function(e){return r(e,o,i)}},29536:(e,t,n)=>{"use strict";n.d(t,{l:()=>c});var r=n(35588),i=n(14812),o=n(29641),l=n(53239),a=n(2028),s=n(74008),u=n(45227);let c=()=>{let[e,t]=(0,i.uX)(s.yr,s.Cp),[n,c]=l.useState(!1),[d,h]=l.useState(!1),f=(0,s.Bd)();return l.useEffect(()=>{if(t)return(0,r.Sd)(t.registerCommand(o.Kf,e=>(c(e),!1),o.d),t.registerCommand(o.WW,e=>(h(e),!1),o.d))},[t]),l.createElement(u.F8,{items:[{title:f("toolbar.undo","Undo {{shortcut}}",{shortcut:a.sY?"âZ":"Ctrl+Z"}),disabled:!n,contents:e("undo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(o.ZK,void 0)},{title:f("toolbar.redo","Redo {{shortcut}}",{shortcut:a.sY?"âY":"Ctrl+Y"}),disabled:!d,contents:e("redo"),active:!1,onChange:()=>null==t?void 0:t.dispatchCommand(o.V3,void 0)}]})}},29611:(e,t,n)=>{"use strict";n.d(t,{aI:()=>W,Cm:()=>O,N5:()=>$,$z:()=>F,HJ:()=>B,Pz:()=>J,Ox:()=>H,pH:()=>V,sw:()=>j,w8:()=>z,d5:()=>U});var r=n(35588),i=n(14812),o=n(29641),l=n(94185),a=n(2028),s=n(74008),u=n(78286),c=n(11230),d=n(53239),h=n(49795),f=n(73440),p=n(60486);let g=()=>{let[e,t,n,r]=(0,i.uX)(F,B,s.xZ,V),o=(0,i.qM)(U),l=(0,i.qM)(W),a=(0,s.Bd)(),{register:g,handleSubmit:m,control:v,setValue:y,reset:x}=(0,h.mN)({values:"editing"===t.type?t.initialValues:{}});return d.createElement(u.bL,{open:"inactive"!==t.type,onOpenChange:e=>{e||(l(),x({src:"",title:"",altText:""}))}},d.createElement(u.ZL,{container:null==n?void 0:n.current},d.createElement(u.hJ,{className:f.Ay.dialogOverlay}),d.createElement(u.UC,{className:f.Ay.dialogContent,onOpenAutoFocus:e=>{e.preventDefault()}},d.createElement(u.hE,null,a("uploadImage.dialogTitle","Upload an image")),d.createElement("form",{onSubmit:e=>{m(o)(e),x({src:"",title:"",altText:""}),e.preventDefault(),e.stopPropagation()},className:f.Ay.multiFieldForm},null===r?d.createElement("input",{type:"hidden",accept:"image/*",...g("file")}):d.createElement("div",{className:f.Ay.formField}
7,d.createElement("label",{htmlFor:"file"},a("uploadImage.uploadInstructions","Upload an image from your device:")),d.createElement("input",{type:"file",accept:"image/*",...g("file")})),d.createElement("div",{className:f.Ay.formField},d.createElement("label",{htmlFor:"src"},null!==r?a("uploadImage.addViaUrlInstructions","Or add an image from an URL:"):a("uploadImage.addViaUrlInstructionsNoUpload","Add an image from an URL:")),d.createElement(p.D,{register:g,initialInputValue:"editing"===t.type?t.initialValues.src??"":"",inputName:"src",suggestions:e,setValue:y,control:v,placeholder:a("uploadImage.autoCompletePlaceholder","Select or paste an image src")})),d.createElement("div",{className:f.Ay.formField},d.createElement("label",{htmlFor:"alt"},a("uploadImage.alt","Alt:")),d.createElement("input",{type:"text",...g("altText"),className:f.Ay.textInput})),d.createElement("div",{className:f.Ay.formField},d.createElement("label",{htmlFor:"title"},a("uploadImage.title","Title:")),d.createElement("input",{type:"text",...g("title"),className:f.Ay.textInput})),d.createElement("div",{style:{display:"flex",justifyContent:"flex-end",gap:"var(--spacing-2)"}},d.createElement("button",{type:"submit",title:a("dialogControls.save","Save"),"aria-label":a("dialogControls.save","Save"),className:c(f.Ay.primaryButton)},a("dialogControls.save","Save")),d.createElement(u.bm,{asChild:!0},d.createElement("button",{type:"reset",title:a("dialogControls.cancel","Cancel"),"aria-label":a("dialogControls.cancel","Cancel"),className:c(f.Ay.secondaryButton)},a("dialogControls.cancel","Cancel"))))))))};var m=n(49628),v=n(44330);function y(e,t,n){return Math.min(Math.max(e,t),n)}function x({onResizeStart:e,onResizeEnd:t,imageRef:n,maxWidth:r,editor:i}){let o=(0,d.useRef)(null),l=(0,d.useRef)({priority:"",value:"default"}),a=(0,d.useRef)({currentHeight:0,currentWidth:0,direction:0,isResizing:!1,ratio:0,startHeight:0,startWidth:0,startX:0,startY:0}),s=i.getRootElement(),u=r||(null!==s?s.getBoundingClientRect().width-20:100),h=null!==s?s.getBoundingClientRect().height-20:100,p=(t,r)=>{if(!i.isEditable())return;let u=n.current,c=o.current;if(null!==u&&null!==c){let n;t.preventDefault();let{width:i,height:o}=u.getBoundingClientRect(),d=a.current;d.startWidth=i,d.startHeight=o,d.ratio=i/o,d.currentWidth=i,d.currentHeight=o,d.startX=t.clientX,d.startY=t.clientY,d.isResizing=!0,d.direction=r,n=1===r||4===r?"ew":8===r||2===r?"ns":8&r&&4&r||2&r&&1&r?"nwse":"nesw",null!==s&&s.style.setProperty("cursor",`${n}-resize`,"important"),null!==document.body&&(document.body.style.setProperty("cursor",`${n}-resize`,"important"),l.current.value=document.body.style.getPropertyValue("-webkit-user-select"),l.current.priority=document.body.style.getPropertyPriority("-webkit-user-select"),document.body.style.setProperty("-webkit-user-select","none","important")),e(),c.classList.add(f.Ay.imageControlWrapperResizing),u.style.height=`${o}px`,u.style.width=`${i}px`,document.addEventListener("pointermove",g),document.addEventListener("pointerup",m)}},g=e=>{let t=n.current,r=a.current,i=5&r.direction,o=10&r.direction;if(null!==t&&r.isResizing)if(i&&o){let n=Math.floor(r.startX-e.clientX);n=1&r.direction?-n:n;let i=y(r.startWidth+n,100,u),o=i/r.ratio;t.style.width=`${i}px`,t.style.height=`${o}px`,r.currentHeight=o,r.currentWidth=i}else if(o){let n=Math.floor(r.startY-e.clientY);n=2&r.direction?-n:n;let i=y(r.startHeight+n,100,h);t.style.height=`${i}px`,r.currentHeight=i}else{let n=Math.floor(r.startX-e.clientX);n=1&r.direction?-n:n;let i=y(r.startWidth+n,100,u);t.style.width=`${i}px`,r.currentWidth=i}},m=()=>{let e=n.current,r=a.current,i=o.current;if(null!==e&&null!==i&&r.isResizing){let e=r.currentWidth,n=r.currentHeight;r.startWidth=0,r.startHeight=0,r.ratio=0,r.startX=0,r.startY=0,r.currentWidth=0,r.currentHeight=0,r.isResizing=!1,i.classList.remove(f.Ay.imageControlWrapperResizing),null!==s&&s.style.setProperty("cursor","text"),null!==document.body&&(document.body.style.setProperty("cursor","default"),document.body.style.setProperty("-webkit-user-select",l.current.value,l.current.priority)),t(e,n),document.removeEventListener("pointermove",g),document.removeEventListener("pointerup",m)}
7};return d.createElement("div",{ref:o},d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerN),onPointerDown:e=>{p(e,8)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerNe),onPointerDown:e=>{p(e,9)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerE),onPointerDown:e=>{p(e,1)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerSe),onPointerDown:e=>{p(e,3)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerS),onPointerDown:e=>{p(e,2)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerSw),onPointerDown:e=>{p(e,6)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerW),onPointerDown:e=>{p(e,4)}}),d.createElement("div",{className:c(f.Ay.imageResizer,f.Ay.imageResizerNw),onPointerDown:e=>{p(e,12)}}))}let b=new Set;function w({title:e,alt:t,className:n,imageRef:r,src:i,width:o,height:l}){if(!b.has(i))throw new Promise(e=>{let t=new Image;t.src=i,t.onerror=t.onload=()=>{b.add(i),e(null)}});return d.createElement("img",{className:n??void 0,alt:t,src:i,title:e,ref:r,draggable:"false",width:o,height:l})}function C({src:e,title:t,alt:n,nodeKey:l,width:a,height:u}){let[h,p,g,y,b]=(0,i.uX)(O,$,H,s.yr,s.pc),C=(0,i.qM)(j),_=d.useRef(null),k=d.useRef(null),[E,S,T]=(0,v.Y)(l),[I]=(0,m.DF)(),[M,P]=d.useState(null),N=d.useRef(null),[L,D]=d.useState(!1),[R,F]=d.useState(null),[V,B]=d.useState(null),z=(0,s.Bd)(),W=d.useCallback(e=>{if(E&&(0,o.RT)((0,o.vJ)())){e.preventDefault();let t=(0,o.ns)(l);A(t)&&t.remove()}return!1},[E,l]),U=d.useCallback(e=>{let t=(0,o.vJ)(),n=k.current;return!!(E&&(0,o.RT)(t))&&1===t.getNodes().length&&null!==n&&n!==document.activeElement&&(e.preventDefault(),n.focus(),!0)},[E]),J=d.useCallback(e=>k.current===e.target&&((0,o.n1)(null),I.update(()=>{S(!0);let e=I.getRootElement();null!==e&&e.focus()}),!0),[I,S]);d.useEffect(()=>{g?(async()=>{V||B(e),F(await g(e))})().catch(e=>{console.error(e)}):F(e)},[e,g,V]),d.useEffect(()=>{let e=!0,t=(0,r.Sd)(I.registerUpdateListener(({editorState:t})=>{e&&P(t.read(()=>(0,o.vJ)()))}),I.registerCommand(o.Mv,(e,t)=>(N.current=t,!1),o.Ac),I.registerCommand(o.d8,e=>!!L||e.target===_.current&&(e.shiftKey?S(!E):(T(),S(!0)),!0),o.Ac),I.registerCommand(o.Tg,e=>e.target===_.current&&(e.preventDefault(),!0),o.Ac),I.registerCommand(o.w$,W,o.Ac),I.registerCommand(o.gC,W,o.Ac),I.registerCommand(o.if,U,o.Ac),I.registerCommand(o.Q$,J,o.Ac));return()=>{e=!1,t()}},[T,I,L,E,l,W,U,J,S]);let K=(0,o.RT)(M);return null!==R?d.createElement(d.Suspense,{fallback:null},d.createElement("div",{className:f.Ay.imageWrapper,"data-editor-block-type":"image"},d.createElement("div",{draggable:K},d.createElement(w,{width:a,height:u,className:c({[f.Ay.focusedImage]:E}),src:R,title:t??"",alt:n??"",imageRef:_})),K&&E&&!h&&d.createElement(x,{editor:I,imageRef:_,onResizeStart:()=>{D(!0)},onResizeEnd:(e,t)=>{setTimeout(()=>{D(!1)},200),I.update(()=>{let n=(0,o.ns)(l);A(n)&&n.setWidthAndHeight(e,t)})}}),b||d.createElement("div",{className:f.Ay.editImageToolbar},d.createElement("button",{className:f.Ay.iconButton,type:"button",title:z("image.delete","Delete image"),disabled:b,onClick:e=>{e.preventDefault(),I.update(()=>{var e;null==(e=(0,o.ns)(l))||e.remove()})}},y("delete_small")),!p&&d.createElement("button",{type:"button",className:c(f.Ay.iconButton,f.Ay.editImageButton),title:z("imageEditor.editImage","Edit image"),disabled:b,onClick:()=>{C({nodeKey:l,initialValues:{src:V||R,title:t??"",altText:n??""}})}},y("settings"))))):null}var _=Object.defineProperty,k=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?_(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};function E(e){if(e instanceof HTMLImageElement){let{alt:t,src:n,title:r,width:i,height:o}=e;return{node:T({altText:t,src:n,title:r,width:i,height:o})}}return null}class S extends o.Kp{constructor(e,t,n,r,i,o){super(o),k(this,"__src"),k(this,"__altText"),k(this,"__title"),k(this,"__width"),k(this,"__height"),this.__src=e,this.__title=n,this.__altText=t,this.__width=r||"inherit",this.__height=i||"inherit"}static getType(){return"image"}static clone(e){return new S(e.__src,e.__altText,e.__title,e.__width,e.__height,e.__key)}static importJSON(e){let{altText:t,title:n,src:r,width:i,height:o}=e;return T({altText:t,title:n,src:r,height:o,width:i})}exportDOM(){let e=document.createElement("img");return e.setAttribute("src",this.__src),e.setAttribute("alt",this.__altText),this.__title&&e.setAttribute("title",this.__title),this.__width&&e.setAttribute("width",this.__width.toString()),this.__height&&e.setAttribute("height",this.__height.toString()),{element:e}}static importDOM(){return{img:()=>({conversion:E,priority:0})}}exportJSON(){return{altText:this.getAltText(),title:this.getTitle(),height:"inherit"===this.__height?0:this.__height,width:"inherit"===this.__width?0:this.__width,src:this.getSrc(),type:"image",version:1}}setWidthAndHeight(e,t){let n=this.getWritable();n.__width=e,n.__height=t}createDOM(e){let t=document.createElement("span"),n=e.theme.image;return void 0!==n&&(t.className=n),t}updateDOM(){return!1}getSrc(){return this.__src}getAltText(){return this.__altText}getTitle(){return this.__title}getHeight(){return this.__height}getWidth(){return this.__width}setTitle(e){this.getWritable().__title=e}setSrc(e){this.getWritable().__src=e}setAltText(e){this.getWritable().__altText=e??""}hasExplicitDimensions(){return"inherit"!==this.__width||"inherit"!==this.__height}decorate(e){return d.createElement(C,{src:this.getSrc(),title:this.getTitle(),nodeKey:this.getKey(),width:this.__width,height:this.__height,alt:this.__altText})}}function T(e){let{altText:t,title:n,src:r,key:i,width:o,height:l}=e;return new S(r,t,n,o,l,i)}function A(e){return e instanceof S}let I={testLexicalNode:A,visitLexicalNode({mdastParent:e,lexicalNode:t,actions:n}){if(t.hasExplicitDimensions()){let r=`<img src="${t.getSrc()}"`;"inherit"!==t.getHeight()&&(r+=` height="${t.getHeight()}"`),"inherit"!==t.getWidth()&&(r+=` width="${t.getWidth()}"`),t.getAltText()&&(r+=` alt="${t.getAltText()}"`),t.getTitle()&&(r+=` title="${t.getTitle()}"`),r+=" />",n.appendToParent(e,{type:"html",value:r})}else n.appendToParent(e,{type:"image",url:t.getSrc(),alt:t.getAltText(),title:t.getTitle()})}},M={testNode:"image",visitNode({mdastNode:e,actions:t}){t.addAndStepInto(T({src:e.url,altText:e.alt??"",title:e.title??""}))}},P={testNode:e=>"html"===e.type&&e.value.trim().startsWith("<img"),visitNode({mdastNode:e,lexicalParent:t}){let n=document.createElement("div");n.innerHTML=e.value;let r=n.querySelector("img");if(!r)throw Error("Invalid HTML image");let i=r.src,l=r.alt,a=r.title,s=T({src:i||"",altText:l,title:a,width:r.width,height:r.height});if("root"===t.getType()){let e=(0,o.lJ)();e.append(s),t.append(e)}else t.append(s)}};function N(e,t){let n=e.attributes.find(e=>"mdxJsxAttribute"===e.type&&e.name===t);if(n)return n.value}let L={testNode:e=>("mdxJsxTextElement"===e.type||"mdxJsxFlowElement"===e.type)&&"img"===e.name,visitNode({mdastNode:e,lexicalParent:t}){let n=N(e,"src");if(!n)return;let r=N(e,"alt")??"",i=N(e,"title"),l=N(e,"height"),a=N(e,"width"),s=T({src:n,altText:r,title:i,width:a?parseInt(a,10):void 0,height:l?parseInt(l,10):void 0});if("root"===t.getType()){let e=(0,o.lJ)();e.append(s),t.append(e)}else t.append(s)}},D=(0,i.HN)(e=>{e.sub(e.pipe(D,(0,i.EY)(s.Cp)),([e,t])=>{null==t||t.update(()=>{let t=T({altText:e.altText??"",src:e.src,title:e.title??""});(0,o.H2)([t]),(0,o.Iq)(t.getParentOrThrow())&&(0,r.cj)(t,o.lJ).selectEnd()})})}),R=(0,i.HN)(e=>{e.sub(e.pipe(R,(0,i.EY)(V)),([t,n])=>{let r=n=>{e.pub(D,{...t,src:n})};"file"in t?null==n||n(t.file).then(r).catch(e=>{throw e}):r(t.src)})}),F=(0,i.fh)([]),O=(0,i.fh)(!1),V=(0,i.fh)(null),H=(0,i.fh)(null),B=(0,i.fh)({type:"inactive"},e=>{e.sub(e.pipe(U,(0,i.EY)(s.Cp,V,B)),([t,n,r,i])=>{let l="editing"===i.type?r=>{null==n||n.update(()=>{let{nodeKey:e}=i,n=(0,o.ns)(e);n.setTitle(t.title),n.setAltText(t.altText),n.setSrc(r)}),e.pub(B,{type:"inactive"})}:n=>{e.pub(D,{...t,src:n}),e.pub(B,{type:"inactive"})};t.file.length>0?null==r||r(t.file.item(0)).then(l).catch(e=>{throw e}):t.src&&l(t.src)}),e.pub(s.Z4,t=>{let n=e.getValue(V);return(0,r.Sd)(t.registerCommand(K,e=>{let t=T(e);return(0,o.H2)([t]),(0,o.Iq)(t.getParentOrThrow())&&(0,r.cj)(t,o.lJ).selectEnd(),!0},o.jZ),t.registerCommand(o.Tg,e=>(function(e){let t=Z();if(!t)return!1;let n=e.dataTransfer;if(!n)return!1;n.setData("text/plain","_");let r=document.createElement("img");return r.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",n.setDragImage(r,0,0),n.setData("application/x-lexical-drag",JSON.stringify({data:{altText:t.__altText,title:t.__title,key:t.getKey(),src:t.__src},type:"image"})),!0})(e),o.Wg),t.registerCommand(o.ri,e=>(function(e,t){var n;if(t){let t=Array.from((null==(n=e.dataTransfer)?void 0:n.items)??[]);if((t=t.filter(e=>e.type.includes("image"))).length>0)return e.preventDefault(),!0}return!!Z()&&(q(e)||e.preventDefault(),!0)})(e,!!n),o.Ac),t.registerCommand(o.Sr,n=>(function(e,t,n){var r;let i=Array.from((null==(r=e.dataTransfer)?void 0:r.items)??[]);if((i=i.filter(e=>e.type.includes("image"))).length>0&&null!==n)return e.preventDefault(),Promise.all(i.map(e=>n(e.getAsFile()))).then(e=>
7{e.forEach(e=>{t.dispatchCommand(K,{src:e,altText:""})})}).catch(e=>{throw e}),!0;let l=Z();if(!l)return!1;let s=function(e){var t;let n=null==(t=e.dataTransfer)?void 0:t.getData("application/x-lexical-drag");if(!n)return null;let{type:r,data:i}=JSON.parse(n);return"image"!==r?null:i}(e);if(!s)return!1;if(e.preventDefault(),q(e)){let n=function(e){let t,n,r=e.target,i=(n=null==r?null:9===r.nodeType?r.defaultView:r.ownerDocument.defaultView,a.qx?(n??window).getSelection():null);if(document.caretRangeFromPoint)t=document.caretRangeFromPoint(e.clientX,e.clientY);else if(e.rangeParent&&null!==i)i.collapse(e.rangeParent,e.rangeOffset??0),t=i.getRangeAt(0);else throw Error("Cannot get the selection when dragging");return t}(e);l.remove();let r=(0,o.uT)();null!=n&&r.applyDOMRange(n),(0,o.n1)(r),t.dispatchCommand(K,s)}return!0})(n,t,e.getValue(V)),o.Wg),t.registerCommand(o.w,r=>{var i,o;if(!n){let e=Array.from((null==(i=r.clipboardData)?void 0:i.items)??[]);return!(e=e.filter(e=>e.type.includes("text"))).length||0===e.length}let l=Array.from((null==(o=r.clipboardData)?void 0:o.items)??[]);if(!(l=l.filter(e=>e.type.includes("image"))).length||0===l.length)return!1;let a=e.getValue(V);return Promise.all(l.map(e=>a(e.getAsFile()))).then(e=>{e.forEach(e=>{t.dispatchCommand(K,{src:e,altText:""})})}).catch(e=>{throw e}),!0},o.d))})}),z=(0,i.rc)(e=>{e.link(e.pipe(z,(0,i.uc)({type:"new"})),B)}),j=(0,i.HN)(e=>{e.link(e.pipe(j,(0,i.Tj)(e=>({type:"editing",...e}))),B)}),W=(0,i.rc)(e=>{e.link(e.pipe(W,(0,i.uc)({type:"inactive"})),B)}),$=(0,i.fh)(!1),U=(0,i.HN)(),J=(0,l.Z)({init(e,t){e.pubIn({[s.R1]:[M,P,L],[s.q]:S,[s.iI]:I,[s.aC]:(null==t?void 0:t.ImageDialog)??g,[V]:(null==t?void 0:t.imageUploadHandler)??null,[F]:(null==t?void 0:t.imageAutocompleteSuggestions)??[],[O]:!!(null==t?void 0:t.disableImageResize),[$]:!!(null==t?void 0:t.disableImageSettingsButton),[H]:(null==t?void 0:t.imagePreviewHandler)??null})},update(e,t){e.pubIn({[V]:(null==t?void 0:t.imageUploadHandler)??null,[F]:(null==t?void 0:t.imageAutocompleteSuggestions)??[],[O]:!!(null==t?void 0:t.disableImageResize),[H]:(null==t?void 0:t.imagePreviewHandler)??null})}}),K=(0,o.gu)("INSERT_IMAGE_COMMAND");function Z(){let e=(0,o.vJ)();if(!(0,o.RT)(e))return null;let t=e.getNodes()[0];return A(t)?t:null}function q(e){let t=e.target;return!!(t&&t instanceof HTMLElement&&t.parentElement)}},29641:(e,t,n)=>{"use strict";function r(e){return{}}n.d(t,{$7:()=>J,$e:()=>h,A7:()=>rZ,AX:()=>w,Ac:()=>r0,B$:()=>tc,BE:()=>tL,C:()=>eP,Ck:()=>n7,Cy:()=>rW,Ey:()=>nO,FE:()=>s,GM:()=>rM,H2:()=>rp,HY:()=>z,Hu:()=>S,I2:()=>n2,Iq:()=>tv,JM:()=>x,Kf:()=>U,Kp:()=>rj,LY:()=>eF,MK:()=>nG,Mv:()=>i,Ni:()=>e0,OX:()=>M,Pi:()=>N,Q$:()=>A,R1:()=>y,RT:()=>n3,S1:()=>ru,SK:()=>j,Sr:()=>D,Tg:()=>F,UD:()=>_,V3:()=>v,VS:()=>B,WK:()=>nA,WW:()=>$,Wg:()=>r1,Wu:()=>a,XK:()=>u,YW:()=>P,Z$:()=>eR,ZK:()=>m,_O:()=>tS,a9:()=>tT,bM:()=>c,bS:()=>rX,bb:()=>k,cq:()=>Z,d:()=>r5,d8:()=>l,e1:()=>tl,ev:()=>nq,fD:()=>rq,fG:()=>rH,fU:()=>R,ff:()=>rB,gC:()=>T,gu:()=>r,hV:()=>rU,hc:()=>t_,hi:()=>f,i0:()=>tM,ie:()=>r9,if:()=>E,jG:()=>eW,jZ:()=>rQ,kF:()=>nJ,lJ:()=>rY,mB:()=>g,n1:()=>e5,nY:()=>tk,ns:()=>eq,oq:()=>o,pF:()=>K,pT:()=>ty,rU:()=>rl,ri:()=>O,sT:()=>nU,sb:()=>tE,sc:()=>eV,si:()=>L,t5:()=>W,u5:()=>H,uT:()=>ro,vJ:()=>rs,vi:()=>p,w:()=>d,w$:()=>I,wH:()=>nI,xL:()=>eY,y6:()=>rr});let i={},o={},l={},a={},s={},u={},c={},d={},h={},f={},p={},g={},m={},v={},y={},x={},b={},w={},C={},_={},k={},E={},S={},T={},A={},I={},M={},P={},N={},L={},D={},R={},F={},O={},V={},H={},B={},z={},j={},W={},$={},U={},J={},K={},Z={},q="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,G=q&&"documentMode"in document?document.documentMode:null,Y=q&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),X=q&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Q=!(!q||!("InputEvent"in window)||G)&&"getTargetRanges"in new window.InputEvent("input"),ee=q&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),et=q&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,en=q&&/Android/.test(navigator.userAgent),er=q&&/^(?=.*Chrome).*/i.test(navigator.userAgent),ei=q&&en&&er,eo=q&&/AppleWeb
7Kit\/[\d.]+/.test(navigator.userAgent)&&!er,el=ee||et||eo?"\xa0":"â",ea=X?"\xa0":el,es="Ö-ß¿ï¬-﷽ﹰ-ﻼ",eu="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿",ec=RegExp("^[^"+eu+"]*["+es+"]"),ed=RegExp("^[^"+es+"]*["+eu+"]"),eh={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},ef={directionless:1,unmergeable:2},ep={center:2,end:6,justify:4,left:1,right:3,start:5},eg={2:"center",6:"end",4:"justify",1:"left",3:"right",5:"start"},em={normal:0,segmented:2,token:1},ev={0:"normal",2:"segmented",1:"token"};var ey,ex=(ey=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(ey,"default")?ey.default:ey;function eb(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}let ew=!1,eC=0;function e_(e){eC=e.timeStamp}function ek(e,t,n){return t.__lexicalLineBreak===e||void 0!==e[`__lexicalKey_${n._key}`]}function eE(e,t,n){ew=!0;let r=performance.now()-eC>100;try{rV(e,()=>{let i=rs()||e.getEditorState().read(()=>{let e=rs();return null!==e?e.clone():null}),o=new Map,l=e.getRootElement(),a=e._editorState,s=e._blockCursorElement,u=!1,c="";for(let n=0;n<t.length;n++){let d=t[n],h=d.type,f=d.target,p=eY(f,a);if(!(null===p&&f!==l||rW(p))){if("characterData"===h)r&&nJ(p)&&function(e,t,n){if(n2(e)){let t=e.anchor.getNode();if(t.is(n)&&e.format!==t.getFormat())return!1}return 3===t.nodeType&&n.isAttached()}(i,f,p)&&function(e,t,n){let r=tC(n._window),i=null,o=null;null!==r&&r.anchorNode===e&&(i=r.anchorOffset,o=r.focusOffset);let l=e.nodeValue;null!==l&&te(t,l,i,o,!1)}(f,p,e);else if("childList"===h){u=!0;let t=d.addedNodes;for(let n=0;n<t.length;n++){let r=t[n],i=eG(r),o=r.parentNode;if(null!=o&&r!==s&&null===i&&("BR"!==r.nodeName||!ek(r,o,e))){if(X){let e=r.innerText||r.nodeValue;e&&(c+=e)}o.removeChild(r)}}let n=d.removedNodes,r=n.length;if(r>0){let t=0;for(let i=0;i<r;i++){let r=n[i];("BR"===r.nodeName&&ek(r,f,e)||s===r)&&(f.appendChild(r),t++)}r!==t&&(f===l&&(p=e1(a)),o.set(f,p))}}}}if(o.size>0)for(let[t,n]of o)if(rB(n)){let r=n.getChildrenKeys(),i=t.firstChild;for(let n=0;n<r.length;n++){let o=r[n],l=e.getElementByKey(o);null!==l&&(null==i?(t.appendChild(l),i=l):i!==l&&t.replaceChild(l,i),i=i.nextSibling)}}else nJ(n)&&n.markDirty();let d=n.takeRecords();if(d.length>0){for(let t=0;t<d.length;t++){let n=d[t],r=n.addedNodes,i=n.target;for(let t=0;t<r.length;t++){let n=r[t],o=n.parentNode;null==o||"BR"!==n.nodeName||ek(n,i,e)||o.removeChild(n)}}n.takeRecords()}null!==i&&(u&&(i.dirty=!0,e5(i)),X&&td(e)&&i.insertRawText(c))})}finally{ew=!1}}function eS(e){let t=e._observer;null!==t&&eE(e,t.takeRecords(),t)}function eT(e){0===eC&&tm(e).addEventListener("textInput",e_,!0),e._observer=new MutationObserver((t,n)=>{eE(e,t,n)})}function eA(e,t){let n=e.__mode,r=e.__format,i=e.__style,o=t.__mode,l=t.__format,a=t.__style;return(null===n||n===o)&&(null===r||r===l)&&(null===i||i===a)}function eI(e,t){let n=e.mergeWithSibling(t),r=rS()._normalizedNodes;return r.add(e.__key),r.add(t.__key),n}function eM(e){let t,n,r=e;if(""!==r.__text||!r.isSimpleText()||r.isUnmergeable()){for(;null!==(t=r.getPreviousSibling())&&nJ(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(""!==t.__text){eA(t,r)&&(r=eI(t,r));break}t.remove()}for(;null!==(n=r.getNextSibling())&&nJ(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){eA(r,n)&&(r=eI(r,n));break}n.remove()}}else r.remove()}function eP(e){return eN(e.anchor),eN(e.focus),e}function eN(e){for(;"element"===e.type;){let t,n,r=e.getNode(),i=e.offset;if(i===r.getChildrenSize()?(t=r.getChildAtIndex(i-1),n=!0):(t=r.getChildAtIndex(i),n=!1),nJ(t)){e.set(t.__key,n?t.getTextContentSize():0,"text");break}if(!rB(t))break;e.set(t.__key,n?t.getChildrenSize():0,"element")}}let eL=1,eD="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)};function eR(e){let t=document.activeElement;if(null===t)return!1;let n=t.nodeName;return rW(eY(e))&&("INPUT"===n||"TEXTAREA"===n||"true"===t.contentEditable&&null==eH(t))}function eF(e,t,n){let r=e.getRootElement();try{return null!==r&&r.contains(t)&&r.contains(n)&&null!==t&&!eR(t)&&eV(t)===e}catch(e){return!1}}function eO(e){return e instanceof r3}function eV(e){let t=e;for(;null!=t;){let e=eH(t);if(eO(e))return e;t=tp(t)}return null}function eH(e){return e?e.__lexicalEditor:null}function eB(e){return e.isToken()||e.isSegmented()}function ez(e){let t=e;for(;null!=t;){if(3===t.nodeType)return t;t=t.firstChild}return null}
7function ej(e,t,n){let r=eh[t];if(null!==n&&(e&r)==(n&r))return e;let i=e^r;return"subscript"===t?i&=~eh.superscript:"superscript"===t&&(i&=~eh.subscript),i}function eW(e){return nJ(e)||nI(e)||rW(e)}function e$(e,t){if(null!=t)return void(e.__key=t);r_(),rk();let n=rS(),r=rE(),i=""+eL++;r._nodeMap.set(i,e),rB(e)?n._dirtyElements.set(i,!0):n._dirtyLeaves.add(i),n._cloneNotNeeded.add(i),n._dirtyType=1,e.__key=i}function eU(e){let t=e.getParent();if(null!==t){let n=e.getWritable(),r=t.getWritable(),i=e.getPreviousSibling(),o=e.getNextSibling();if(null===i)if(null!==o){let e=o.getWritable();r.__first=o.__key,e.__prev=null}else r.__first=null;else{let e=i.getWritable();if(null!==o){let t=o.getWritable();t.__prev=e.__key,e.__next=t.__key}else e.__next=null;n.__prev=null}if(null===o)if(null!==i){let e=i.getWritable();r.__last=i.__key,e.__next=null}else r.__last=null;else{let e=o.getWritable();if(null!==i){let t=i.getWritable();t.__next=e.__key,e.__prev=t.__key}else e.__prev=null;n.__next=null}r.__size--,n.__parent=null}}function eJ(e){rk();let t=e.getLatest(),n=t.__parent,r=rE(),i=rS(),o=r._nodeMap,l=i._dirtyElements;null!==n&&function(e,t,n){let r=e;for(;null!==r;){if(n.has(r))return;let e=t.get(r);if(void 0===e)break;n.set(r,!1),r=e.__parent}}(n,o,l);let a=t.__key;i._dirtyType=1,rB(e)?l.set(a,!0):i._dirtyLeaves.add(a)}function eK(e){r_();let t=rS(),n=t._compositionKey;if(e!==n){if(t._compositionKey=e,null!==n){let e=eq(n);null!==e&&e.getWritable()}if(null!==e){let t=eq(e);null!==t&&t.getWritable()}}}function eZ(){return rC()?null:rS()._compositionKey}function eq(e,t){let n=(t||rE())._nodeMap.get(e);return void 0===n?null:n}function eG(e,t){let n=e[`__lexicalKey_${rS()._key}`];return void 0!==n?eq(n,t):null}function eY(e,t){let n=e;for(;null!=n;){let e=eG(n,t);if(null!==e)return e;n=tp(n)}return null}function eX(e){let t=Object.assign({},e._decorators);return e._pendingDecorators=t,t}function eQ(e){return e.read(()=>e0().getTextContent())}function e0(){return e1(rE())}function e1(e){return e._nodeMap.get("root")}function e5(e){r_();let t=rE();null!==e&&(e.dirty=!0,e.setCachedNodes(null)),t._selection=e}function e2(e){let t=rS(),n=function(e,t){let n=e;for(;null!=n;){let e=n[`__lexicalKey_${t._key}`];if(void 0!==e)return e;n=tp(n)}return null}(e,t);return null===n?e===t.getRootElement()?eq("root"):null:eq(n)}function e9(e,t){return t?e.getTextContentSize():0}function e3(e){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(e)}function e8(e){let t=[],n=e;for(;null!==n;)t.push(n),n=n._parentEditor;return t}function e7(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function e4(e){return 3===e.nodeType?e.nodeValue:null}function e6(e,t,n){let r=tC(t._window);if(null===r)return;let i=r.anchorNode,{anchorOffset:o,focusOffset:l}=r;if(null!==i){let t=e4(i),r=eY(i);if(null!==t&&nJ(r)){if(t===el&&n){let e=n.length;t=n,o=e,l=e}null!==t&&te(r,t,o,l,e)}}}function te(e,t,n,r,i){let o=e;if(o.isAttached()&&(i||!o.isDirty())){let l=o.isComposing(),a=t;(l||i)&&t[t.length-1]===el&&(a=t.slice(0,-1));let s=o.getTextContent();if(i||a!==s){if(""===a){if(eK(null),ee||et||eo)o.remove();else{let e=rS();setTimeout(()=>{e.update(()=>{o.isAttached()&&o.remove()})},20)}return}let t=o.getParent(),i=ru(),s=o.getTextContentSize(),u=eZ(),c=o.getKey();if(o.isToken()||null!==u&&c===u&&!l||n2(i)&&(null!==t&&!t.canInsertTextBefore()&&0===i.anchor.offset||i.anchor.key===e.__key&&0===i.anchor.offset&&!o.canInsertTextBefore()&&!l||i.focus.key===e.__key&&i.focus.offset===s&&!o.canInsertTextAfter()&&!l))return void o.markDirty();let d=rs();if(!n2(d)||null===n||null===r)return void o.setTextContent(a);if(d.setTextNodeRange(o,n,o,r),o.isSegmented()){let e=nU(o.getTextContent());o.replace(e),o=e}o.setTextContent(a)}}}function tt(e){return"ArrowLeft"===e}function tn(e){return"ArrowRight"===e}function tr(e){return"Backspace"===e}function ti(e){return"Delete"===e}function to(e,t,n){return"a"===e.toLowerCase()&&(Y?t:n)}function tl(){let e=e0();e5(eP(e.select(0,e.getChildrenSize())))}function ta(e,t){void 0===e.__lexicalClassNameCache&&(e.__lexicalClassNameCache={});
7let n=e.__lexicalClassNameCache,r=n[t];if(void 0!==r)return r;let i=e[t];if("string"==typeof i){let e=eb(i);return n[t]=e,e}return i}function ts(e,t,n,r,i){if(0===n.size)return;let o=r.__type,l=r.__key,a=t.get(o);void 0===a&&ex(33,o);let s=a.klass,u=e.get(s);void 0===u&&(u=new Map,e.set(s,u));let c=u.get(l),d="destroyed"===c&&"created"===i;(void 0===c||d)&&u.set(l,d?"updated":i)}function tu(e,t,n){let r=e.getParent(),i=n,o=e;return null!==r&&(t&&0===n?(i=o.getIndexWithinParent(),o=r):t||n!==o.getChildrenSize()||(i=o.getIndexWithinParent()+1,o=r)),o.getChildAtIndex(t?i-1:i)}function tc(e,t){let n=e.offset;if("element"===e.type)return tu(e.getNode(),t,n);{let r=e.getNode();if(t&&0===n||!t&&n===r.getTextContentSize()){let e=t?r.getPreviousSibling():r.getNextSibling();return null===e?tu(r.getParentOrThrow(),t,r.getIndexWithinParent()+ +!t):e}}return null}function td(e){let t=tm(e).event,n=t&&t.inputType;return"insertFromPaste"===n||"insertFromPasteAsQuotation"===n}function th(e){return!rU(e)&&!e.isLastChild()&&!e.isInline()}function tf(e,t){let n=e._keyToDOMMap.get(t);return void 0===n&&ex(75,t),n}function tp(e){let t=e.assignedSlot||e.parentElement;return null!==t&&11===t.nodeType?t.host:t}function tg(e,t){let n=e.getParent();for(;null!==n;){if(n.is(t))return!0;n=n.getParent()}return!1}function tm(e){let t=e._window;return null===t&&ex(78),t}function tv(e){return rU(e)||rB(e)&&e.isShadowRoot()}function ty(e){let t=rS(),n=e.constructor.getType(),r=t._nodes.get(n);void 0===r&&ex(97);let i=r.replace;if(null!==i){let t=i(e);return t instanceof e.constructor||ex(98),t}return e}function tx(e,t){!rU(e.getParent())||rB(t)||rW(t)||ex(99)}function tb(e){return(rW(e)||rB(e)&&!e.canBeEmpty())&&!e.isInline()}function tw(e,t,n){n.style.removeProperty("caret-color"),t._blockCursorElement=null;let r=e.parentElement;null!==r&&r.removeChild(e)}function tC(e){return q?(e||window).getSelection():null}function t_(e,t){let n=e.getChildAtIndex(t);null==n&&(n=e),tv(e)&&ex(102);let r=e=>{let t,i=e.getParentOrThrow(),o=tv(i),l=e!==n||o?(e$(t=e.constructor.clone(e),null),t):e;if(o)return rB(e)&&rB(l)||ex(133),e.insertAfter(l),[e,l,l];{let[t,n,o]=r(i),a=e.getNextSiblings();return o.append(l,...a),[t,n,l]}},[i,o]=r(n);return[i,o]}function tk(e){return tE(e)&&"A"===e.tagName}function tE(e){return 1===e.nodeType}function tS(e){let t=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 null!==e.nodeName.match(t)}function tT(e){let t=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 null!==e.nodeName.match(t)}function tA(e){if(rU(e)||rW(e)&&!e.isInline())return!0;if(!rB(e)||tv(e))return!1;let t=e.getFirstChild(),n=null===t||nI(t)||nJ(t)||t.isInline();return!e.isInline()&&!1!==e.canBeEmpty()&&n}function tI(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}function tM(){return rS()}let tP=new WeakMap,tN=new Map;function tL(e){let t=e.constructor.clone(e);return t.afterCloneFrom(e),t}let tD,tR,tF,tO,tV,tH,tB,tz,tj,tW,t$="",tU="",tJ=null,tK="",tZ="",tq=!1,tG=!1,tY=null;function tX(e,t){let n=tB.get(e);if(null!==t){let n=nt(e);n.parentNode===t&&t.removeChild(n)}if(tz.has(e)||tR._keyToDOMMap.delete(e),rB(n)){let e=t4(n,tB);tQ(e,0,e.length-1,null)}void 0!==n&&ts(tW,tF,tO,n,"destroyed")}function tQ(e,t,n,r){let i=t;for(;i<=n;++i){let t=e[i];void 0!==t&&tX(t,r)}}function t0(e,t){e.setProperty("text-align",t)}function t1(e,t){let n=tD.theme.indent;if("string"==typeof n){let r=e.classList.contains(n);t>0&&!r?e.classList.add(n):t<1&&r&&e.classList.remove(n)}let r=getComputedStyle(e).getPropertyValue("--lexical-indent-base-value")||"40px";e.style.setProperty("padding-inline-start",0===t?"":`calc(${t} * ${r})`)}function t5(e,t){let n=e.style;0===t?t0(n,""):1===t?t0(n,"left"):2===t?t0(n,"center"):3===t?t0(n,"right"):4===t?t0(n,"justify"):5===t?t0(n,"start"):6===t&&t0(n,"end")}function t2(e,t,n){var r,i;let o,l=tz.get(e);void 0===l&&ex(60);let a=l.createDOM(tD,tR);
7if(o=(r=tR)._keyToDOMMap,a["__lexicalKey_"+r._key]=e,o.set(e,a),nJ(l)?a.setAttribute("data-lexical-text","true"):rW(l)&&a.setAttribute("data-lexical-decorator","true"),rB(l)){let e=l.__indent,t=l.__size;if(0!==e&&t1(a,e),0!==t){let e;i=t4(l,tz),e=tU,tU="",t9(i,l,0,t-1,a,null),t7(l,a),tU=e}let n=l.__format;0!==n&&t5(a,n),l.isInline()||t8(null,l,a),th(l)&&(t$+="\n\n",tZ+="\n\n")}else{let t=l.getTextContent();if(rW(l)){let t=l.decorate(tR,tD);null!==t&&t6(e,t),a.contentEditable="false"}else nJ(l)&&(l.isDirectionless()||(tU+=t));t$+=t,tZ+=t}if(null!==t)if(null!=n)t.insertBefore(a,n);else{let e=t.__lexicalLineBreak;null!=e?t.insertBefore(a,e):t.appendChild(a)}return ts(tW,tF,tO,l,"created"),a}function t9(e,t,n,r,i,o){let l=t$;t$="";let a=n;for(;a<=r;++a){t2(e[a],i,o);let t=tz.get(e[a]);null!==t&&nJ(t)&&(null===tJ&&(tJ=t.getFormat()),""===tK&&(tK=t.getStyle()))}th(t)&&(t$+="\n\n"),i.__lexicalTextContent=t$,t$=l+t$}function t3(e,t){let n=t.get(e);return nI(n)||rW(n)&&n.isInline()}function t8(e,t,n){let r=null!==e&&(0===e.__size||t3(e.__last,tB)),i=0===t.__size||t3(t.__last,tz);if(r){if(!i){let e=n.__lexicalLineBreak;if(null!=e)try{n.removeChild(e)}catch(t){if("object"==typeof t&&null!=t)throw Error(`${t.toString()} Parent: ${n.tagName}, child: ${e.tagName}.`);throw t}n.__lexicalLineBreak=null}}else if(i){let e=document.createElement("br");n.__lexicalLineBreak=e,n.appendChild(e)}}function t7(e,t){var n;let r=t.__lexicalDirTextContent,i=t.__lexicalDir;if(r!==tU||i!==tY){let r=""===tU,o=r?tY:(n=tU,ec.test(n)?"rtl":ed.test(n)?"ltr":null);if(o!==i){let n=t.classList,l=tD.theme,a=null!==i?l[i]:void 0,s=null!==o?l[o]:void 0;if(void 0!==a){if("string"==typeof a){let e=eb(a);a=l[i]=e}n.remove(...a)}if(null===o||r&&"ltr"===o)t.removeAttribute("dir");else{if(void 0!==s){if("string"==typeof s){let e=eb(s);s=l[o]=e}void 0!==s&&n.add(...s)}t.dir=o}tG||(e.getWritable().__dir=o)}tY=o,t.__lexicalDirTextContent=tU,t.__lexicalDir=o}}function t4(e,t){let n=[],r=e.__first;for(;null!==r;){let e=t.get(r);void 0===e&&ex(101),n.push(r),r=e.__next}return n}function t6(e,t){let n=tR._pendingDecorators,r=tR._decorators;if(null===n){if(r[e]===t)return;n=eX(tR)}n[e]=t}function ne(e){let t=e.nextSibling;return null!==t&&t===tR._blockCursorElement&&(t=t.nextSibling),t}function nt(e){let t=tj.get(e);return void 0===t&&ex(75,e),t}let nn=Object.freeze({}),nr=[["keydown",function(e,t){if(ni=e.timeStamp,no=e.key,t.isComposing())return;let{key:n,shiftKey:r,ctrlKey:i,metaKey:o,altKey:l}=e;!rR(t,y,e)&&null!=n&&(!tn(n)||i||o||l?tn(n)&&!l&&!r&&(i||o)?rR(t,b,e):!tt(n)||i||o||l?tt(n)&&!l&&!r&&(i||o)?rR(t,C,e):"ArrowUp"!==n||i||o?"ArrowDown"!==n||i||o?"Enter"===n&&r?(nd=!0,rR(t,E,e)):" "===n?rR(t,S,e):Y&&i&&"o"===n.toLowerCase()?(e.preventDefault(),nd=!0,rR(t,s,!0)):"Enter"!==n||r?(Y?!l&&!o&&(tr(n)||"h"===n.toLowerCase()&&i):!(i||l||o)&&tr(n))?tr(n)?rR(t,T,e):(e.preventDefault(),rR(t,a,!0)):"Escape"===n?rR(t,A,e):(Y?!(r||l||o)&&(ti(n)||"d"===n.toLowerCase()&&i):!(i||l||o)&&ti(n))?ti(n)?rR(t,I,e):(e.preventDefault(),rR(t,a,!1)):tr(n)&&(Y?l:i)?(e.preventDefault(),rR(t,f,!0)):ti(n)&&(Y?l:i)?(e.preventDefault(),rR(t,f,!1)):Y&&o&&tr(n)?(e.preventDefault(),rR(t,p,!0)):Y&&o&&ti(n)?(e.preventDefault(),rR(t,p,!1)):"b"===n.toLowerCase()&&!l&&(Y?o:i)?(e.preventDefault(),rR(t,g,"bold")):"u"===n.toLowerCase()&&!l&&(Y?o:i)?(e.preventDefault(),rR(t,g,"underline")):"i"===n.toLowerCase()&&!l&&(Y?o:i)?(e.preventDefault(),rR(t,g,"italic")):"Tab"!==n||l||i||o?"z"===n.toLowerCase()&&!r&&(Y?o:i)?(e.preventDefault(),rR(t,m,void 0)):(Y?"z"===n.toLowerCase()&&o&&r:"y"===n.toLowerCase()&&i||"z"===n.toLowerCase()&&i&&r)?(e.preventDefault(),rR(t,v,void 0)):n3(t._editorState._selection)?!r&&"c"===n.toLowerCase()&&(Y?o:i)?(e.preventDefault(),rR(t,H,e)):!r&&"x"===n.toLowerCase()&&(Y?o:i)?(e.preventDefault(),rR(t,B,e)):to(n,o,i)&&(e.preventDefault(),rR(t,z,e)):!X&&to(n,o,i)&&(e.preventDefault(),rR(t,z,e)):rR(t,M,e):(nd=!1,rR(t,E,e)):rR(t,k,e):rR(t,_,e):rR(t,w,e):rR(t,x,e),(i||r||l||o)&&rR(t,Z,e))}],["pointerdown",function(e,t){let n=e.target,r=e.pointerType;n instanceof Node&&"touch"!==r&&rV(t,()=>{rW(eY(n))||(nc=!0)})}],["compositionstart",function(e,t){rV(t,()=>{let n=rs();if(n2(n)&&!t.isComposing()){let r=n.anchor,i=n.anchor.getNode();eK(r.key),(e.timeStamp<ni+30||"element"===r.type||!n.isCollapsed()||i.getFormat()!==n.format||nJ(i)&&i.getStyle()!==n.style)&&rR(t,c,ea)}})}],["compositionend",function(e,t){X?nh=!0:rV(t,()=>{ny(t,e.data)})}],["input",function(e,t){e.stopPropagation(),rV(t,()=>{let n=rs(),r=e.data,i=nv(e);if(null!=r&&n2(n)&&np(n,i,r,e.timeStamp,!1)){nh&&(ny(t,r),nh=!1);let i=n.anchor.getNode(),o=tC(t._window);if(null===o)return;let l=n.isBackward(),a=l?n.anchor.offset:n.focus.offset,s=l?n.focus.offset:n.anchor.offset;Q&&!n.isCollapsed()&&nJ(i)&&null!==o.anchorNode&&i.getTextContent().slice(0,a)+r+i.getTextContent().slice(a+s)===e4(o.anchorNode)||rR(t,c,r);let u=r.length;X&&u>1&&"insertCompositionText"===e.inputType&&!t.isComposing()&&(n.anchor.offset-=u),ee||et||eo||!t.isComposing()||(ni=0,eK(null))}else e6(!1,t,null!==r?r:void 0),nh&&(ny(t,r||void 0),nh=!1);r_(),eS(rS())}),na=null}],["click",function(e,t){rV(t,()=>{let n=rs(),r=tC(t._window),i=ru();if(r){if(n2(n)){let t=n.anchor,o=t.getNode();"element"===t.type&&0===t.offset&&n.isCollapsed()&&!rU(o)&&1===e0().getChildrenSize()&&o.getTopLevelElementOrThrow().isEmpty()&&null!==i&&n.is(i)?(r.removeAllRanges(),n.dirty=!0):3!==e.detail||n.isCollapsed()||o===n.focus.getNode()||(rB(o)?o.select(0):o.getParentOrThrow().select(0))}else if("touch"===e.pointerType){let n=r.anchorNode;if(null!==n){let o=n.nodeType;(1===o||3===o)&&e5(ra(i,r,t,e))}}}rR(t,l,e)})}],["cut",nn],["copy",nn],["dragstart",nn],["dragover",nn],["dragend",nn],["paste",nn],["focus",nn],["blur",nn],["drop",nn]];Q&&nr.push(["beforeinput",(e,t)=>{let n,r;return n=e.inputType,r=nv(e),void("deleteCompositionText"===n||X&&td(t)||"insertCompositionText"!==n&&rV(t,()=>{var i;let o=rs();if("deleteContentBackward"===n){if(null===o){let e=ru();if(!n2(e))return;e5(e.clone())}if(n2(o)){let n=o.anchor.key===o.focus.key;if(i=e.timeStamp,"MediaLast"===no&&i<ni+30&&t.isComposing()&&n){if(eK(null),ni=0,setTimeout(()=>{rV(t,()=>{eK(null)})},30),n2(o)){let e=o.anchor.getNode();e.markDirty(),o.format=e.getFormat(),nJ(e)||ex(142),o.style=e.getStyle()}}else{eK(null),e.preventDefault();let r=o.anchor.getNode().getTextContent(),i=0===o.anchor.offset&&o.focus.offset===r.length;ei&&n&&!i||rR(t,a,!0)}return}}if(!n2(o))return;let l=e.data;null!==na&&e6(!1,t,na),o.dirty&&null===na||!o.isCollapsed()||rU(o.anchor.getNode())||null===r||o.applyDOMRange(r),na=null;let y=o.anchor,x=o.focus,b=y.getNode(),w=x.getNode();if("insertText"!==n&&"insertTranspose"!==n)switch(e.preventDefault(),n){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":rR(t,c,e);break;case"insertFromComposition":eK(null),rR(t,c,e);break;case"insertLineBreak":eK(null),rR(t,s,!1);break;case"insertParagraph":eK(null),nd&&!et?(nd=!1,rR(t,s,!1)):rR(t,u,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":rR(t,d,e);break;case"deleteByComposition":(b!==w||rB(b)||rB(w)||!b.isToken()||!w.isToken())&&rR(t,h,e);break;case"deleteByDrag":case"deleteByCut":rR(t,h,e);break;case"deleteContent":rR(t,a,!1);break;case"deleteWordBackward":rR(t,f,!0);break;
7case"deleteWordForward":rR(t,f,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":rR(t,p,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":rR(t,p,!1);break;case"formatStrikeThrough":rR(t,g,"strikethrough");break;case"formatBold":rR(t,g,"bold");break;case"formatItalic":rR(t,g,"italic");break;case"formatUnderline":rR(t,g,"underline");break;case"historyUndo":rR(t,m,void 0);break;case"historyRedo":rR(t,v,void 0)}else{if("\n"===l)e.preventDefault(),rR(t,s,!1);else if("\n\n"===l)e.preventDefault(),rR(t,u,void 0);else if(null==l&&e.dataTransfer){let t=e.dataTransfer.getData("text/plain");e.preventDefault(),o.insertRawText(t)}else null!=l&&np(o,r,l,e.timeStamp,!0)?(e.preventDefault(),rR(t,c,l)):na=l;nl=e.timeStamp}}))}]);let ni=0,no=null,nl=0,na=null,ns=new WeakMap,nu=!1,nc=!1,nd=!1,nh=!1,nf=[0,"",0,"root",0];function np(e,t,n,r,i){let o=e.anchor,l=e.focus,a=o.getNode(),s=rS(),u=tC(s._window),c=null!==u?u.anchorNode:null,d=o.key,h=s.getElementByKey(d),f=n.length;return d!==l.key||!nJ(a)||(!i&&(!Q||nl<r+50)||a.isDirty()&&f<2||e3(n))&&o.offset!==l.offset&&!a.isComposing()||eB(a)||a.isDirty()&&f>1||(i||!Q)&&null!==h&&!a.isComposing()&&c!==ez(h)||null!==u&&null!==t&&(!t.collapsed||t.startContainer!==u.anchorNode||t.startOffset!==u.anchorOffset)||a.getFormat()!==e.format||a.getStyle()!==e.style||function(e,t){let n;if(t.isSegmented())return!0;if(!e.isCollapsed())return!1;let r=e.anchor.offset,i=t.getParentOrThrow(),o=t.isToken();return 0===r?!t.canInsertTextBefore()||!i.canInsertTextBefore()&&!t.isComposing()||o||(nJ(n=t.getPreviousSibling())||rB(n)&&n.isInline())&&!n.canInsertTextAfter():r===t.getTextContentSize()&&(!t.canInsertTextAfter()||!i.canInsertTextAfter()&&!t.isComposing()||o)}(e,a)}function ng(e,t){return null!==e&&null!==e.nodeValue&&3===e.nodeType&&0!==t&&t!==e.nodeValue.length}function nm(e,t,n){let{anchorNode:r,anchorOffset:o,focusNode:l,focusOffset:a}=e;nu&&(nu=!1,ng(r,o)&&ng(l,a))||rV(t,()=>{if(!n)return void e5(null);if(!eF(t,r,l))return;let s=rs();if(n2(s)){let n=s.anchor,r=n.getNode();if(s.isCollapsed()){"Range"===e.type&&e.anchorNode===e.focusNode&&(s.dirty=!0);let i=tm(t).event,o=i?i.timeStamp:performance.now(),[l,a,u,c,d]=nf,h=e0(),f=!1===t.isComposing()&&""===h.getTextContent();if(o<d+200&&n.offset===u&&n.key===c)s.format=l,s.style=a;else if("text"===n.type)nJ(r)||ex(141),s.format=r.getFormat(),s.style=r.getStyle();else if("element"===n.type&&!f){let e=n.getNode();s.style="",e instanceof rq&&0===e.getChildrenSize()?(s.format=e.getTextFormat(),s.style=e.getTextStyle()):s.format=0}}else{let e=n.key,t=s.focus.key,r=s.getNodes(),i=r.length,l=s.isBackward(),u=l?a:o,c=l?o:a,d=l?t:e,h=l?e:t,f=255,p=!1;for(let e=0;e<i;e++){let t=r[e],n=t.getTextContentSize();if(nJ(t)&&0!==n&&(0!==e||t.__key!==d||u!==n)&&(e!==i-1||t.__key!==h||0!==c)&&(p=!0,0==(f&=t.getFormat())))break}s.format=p?f:0}}rR(t,i,void 0)})}function nv(e){if(!e.getTargetRanges)return null;let t=e.getTargetRanges();return 0===t.length?null:t[0]}function ny(e,t){let n=e._compositionKey;if(eK(null),null!==n&&null!=t){if(""===t){let t=eq(n),r=ez(e.getElementByKey(n));return void(null!==r&&null!==r.nodeValue&&nJ(t)&&te(t,r.nodeValue,null,null,!0))}if("\n"===t[t.length-1]){let t=rs();if(n2(t)){let n=t.focus;return t.anchor.set(n.key,n.offset,n.type),void rR(e,E,null)}}}e6(!0,e,t)}function nx(e){let t=e.__lexicalEventHandles;return void 0===t&&(e.__lexicalEventHandles=t=[]),t}let nb=new Map;function nw(e){let t=e.target,n=tC(null==t?null:9===t.nodeType?t.defaultView:t.ownerDocument.defaultView);if(null===n)return;let r=eV(n.anchorNode);if(null===r)return;nc&&(nc=!1,rV(r,()=>{let t=ru(),i=n.anchorNode;if(null===i)return;let o=i.nodeType;(1===o||3===o)&&e5(ra(t,n,r,e))}));let i=e8(r),o=i[i.length-1],l=o._key,a=nb.get(l),s=a||o;s!==r&&nm(n,s,!1),nm(n,r,!0),r!==o?nb.set(l,r):a&&nb.delete(l)}function nC(e){e._lexicalHandled=!0}function n_(e){return!0===e._lexicalHandled}function nk(e,t,n){r_();let r=e.__key,i=e.getParent();if(null===i)return;let o=function(e){let t=rs();if(!n2(t)||!rB(e))return t;let{anchor:n,focus:r}=t,i=n.getNode(),o=r.getNode();return tg(i,e)&&n.set(e.__key,0,"element"),tg(o,e)&&r.set(e.__key,0,"element"),t}(e),l=!1;
7if(n2(o)&&t){let t=o.anchor,n=o.focus;t.key===r&&(rh(t,e,i,e.getPreviousSibling(),e.getNextSibling()),l=!0),n.key===r&&(rh(n,e,i,e.getPreviousSibling(),e.getNextSibling()),l=!0)}else n3(o)&&t&&e.isSelected()&&e.selectPrevious();if(n2(o)&&t&&!l){let t=e.getIndexWithinParent();eU(e),rc(o,i,t,-1)}else eU(e);n||tv(i)||i.canBeEmpty()||!i.isEmpty()||nk(i,t),t&&rU(i)&&i.isEmpty()&&i.selectEnd()}class nE{static getType(){ex(64,this.name)}static clone(e){ex(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,e$(this,e)}getType(){return this.__type}isInline(){ex(137,this.constructor.name)}isAttached(){let e=this.__key;for(;null!==e;){if("root"===e)return!0;let t=eq(e);if(null===t)break;e=t.__parent}return!1}isSelected(e){let t=e||rs();if(null==t)return!1;let n=t.getNodes().some(e=>e.__key===this.__key);if(nJ(this))return n;if(n2(t)&&"element"===t.anchor.type&&"element"===t.focus.type){if(t.isCollapsed())return!1;let e=this.getParent();if(rW(this)&&this.isInline()&&e){let n=t.isBackward()?t.focus:t.anchor,r=n.getNode();if(n.offset===r.getChildrenSize()&&r.is(e)&&r.getLastChildOrThrow().is(this))return!1}}return n}getKey(){return this.__key}getIndexWithinParent(){let e=this.getParent();if(null===e)return -1;let t=e.getFirstChild(),n=0;for(;null!==t;){if(this.is(t))return n;n++,t=t.getNextSibling()}return -1}getParent(){let e=this.getLatest().__parent;return null===e?null:eq(e)}getParentOrThrow(){let e=this.getParent();return null===e&&ex(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){let t=e.getParent();if(tv(t))return rB(e)||e===this&&rW(e)||ex(194),e;e=t}return null}getTopLevelElementOrThrow(){let e=this.getTopLevelElement();return null===e&&ex(67,this.__key),e}getParents(){let e=[],t=this.getParent();for(;null!==t;)e.push(t),t=t.getParent();return e}getParentKeys(){let e=[],t=this.getParent();for(;null!==t;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){let e=this.getLatest().__prev;return null===e?null:eq(e)}getPreviousSiblings(){let e=[],t=this.getParent();if(null===t)return e;let n=t.getFirstChild();for(;null!==n&&!n.is(this);)e.push(n),n=n.getNextSibling();return e}getNextSibling(){let e=this.getLatest().__next;return null===e?null:eq(e)}getNextSiblings(){let e=[],t=this.getNextSibling();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){let t=this.getParents(),n=e.getParents();rB(this)&&t.unshift(this),rB(e)&&n.unshift(e);let r=t.length,i=n.length;if(0===r||0===i||t[r-1]!==n[i-1])return null;let o=new Set(n);for(let e=0;e<r;e++){let n=t[e];if(o.has(n))return n}return null}is(e){return null!=e&&this.__key===e.__key}isBefore(e){if(this===e)return!1;if(e.isParentOf(this))return!0;if(this.isParentOf(e))return!1;let t=this.getCommonAncestor(e),n=0,r=0,i=this;for(;;){let e=i.getParentOrThrow();if(e===t){n=i.getIndexWithinParent();break}i=e}for(i=e;;){let e=i.getParentOrThrow();if(e===t){r=i.getIndexWithinParent();break}i=e}return n<r}isParentOf(e){let t=this.__key;if(t===e.__key)return!1;let n=e;for(;null!==n;){if(n.__key===t)return!0;n=n.getParent()}return!1}getNodesBetween(e){let t=this.isBefore(e),n=[],r=new Set,i=this;for(;null!==i;){let o=i.__key;if(r.has(o)||(r.add(o),n.push(i)),i===e)break;let l=rB(i)?t?i.getFirstChild():i.getLastChild():null;if(null!==l){i=l;continue}let a=t?i.getNextSibling():i.getPreviousSibling();if(null!==a){i=a;continue}let s=i.getParentOrThrow();if(r.has(s.__key)||n.push(s),s===e)break;let u=null,c=s;do{if(null===c&&ex(68),u=t?c.getNextSibling():c.getPreviousSibling(),null===(c=c.getParent()))break;null!==u||r.has(c.__key)||n.push(c)}while(null===u);i=u}return t||n.reverse(),n}isDirty(){let e=rS()._dirtyLeaves;return null!==e&&e.has(this.__key)}getLatest(){let e=eq(this.__key);return null===e&&ex(113),e}getWritable(){r_();let e=rE(),t=rS(),n=e._nodeMap,r=this.__key,i=this.getLatest(),o=t._cloneNotNeeded,l=rs();if(null!==l&&l.setCachedNodes(null),o.has(r))return eJ(i),i;let a=tL(i);return o.add(r),eJ(a),n.set(r,a),a}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(e,t){ex(70)}updateDOM(e,t,n){ex(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){ex(72)}static importJSON(e){ex(18,this.name)}static transform(){return null}remove(e){nk(this,!0,e)}replace(e,t){r_();let n=rs();null!==n&&(n=n.clone()),tx(this,e);let r=this.getLatest(),i=this.__key,o=e.__key,l=e.getWritable(),a=this.getParentOrThrow().getWritable(),s=a.__size;eU(l);let u=r.getPreviousSibling(),c=r.getNextSibling(),d=r.__prev,h=r.__next,f=r.__parent;if((nk(r,!1,!0),null===u)?a.__first=o:u.getWritable().__next=o,(l.__prev=d,null===c)?a.__last=o:c.getWritable().__prev=o,l.__next=h,l.__parent=f,a.__size=s,t&&(rB(this)&&rB(l)||ex(139),this.getChildren().forEac
7h(e=>{l.append(e)})),n2(n)){e5(n);let e=n.anchor,t=n.focus;e.key===i&&n0(e,l),t.key===i&&n0(t,l)}return eZ()===i&&eK(o),l}insertAfter(e,t=!0){r_(),tx(this,e);let n=this.getWritable(),r=e.getWritable(),i=r.getParent(),o=rs(),l=!1,a=!1;if(null!==i){let t=e.getIndexWithinParent();if(eU(r),n2(o)){let e=i.__key,n=o.anchor,r=o.focus;l="element"===n.type&&n.key===e&&n.offset===t+1,a="element"===r.type&&r.key===e&&r.offset===t+1}}let s=this.getNextSibling(),u=this.getParentOrThrow().getWritable(),c=r.__key,d=n.__next;if(null===s?u.__last=c:s.getWritable().__prev=c,u.__size++,n.__next=c,r.__next=d,r.__prev=n.__key,r.__parent=n.__parent,t&&n2(o)){let e=this.getIndexWithinParent();rc(o,u,e+1);let t=u.__key;l&&o.anchor.set(t,e+2,"element"),a&&o.focus.set(t,e+2,"element")}return e}insertBefore(e,t=!0){r_(),tx(this,e);let n=this.getWritable(),r=e.getWritable(),i=r.__key;eU(r);let o=this.getPreviousSibling(),l=this.getParentOrThrow().getWritable(),a=n.__prev,s=this.getIndexWithinParent();null===o?l.__first=i:o.getWritable().__next=i,l.__size++,n.__prev=i,r.__prev=a,r.__next=n.__key,r.__parent=n.__parent;let u=rs();return t&&n2(u)&&rc(u,this.getParentOrThrow(),s),e}isParentRequired(){return!1}createParentElementNode(){return rY()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(e,t){r_();let n=this.getPreviousSibling(),r=this.getParentOrThrow();if(null===n)return r.select(0,0);if(rB(n))return n.select();if(!nJ(n)){let e=n.getIndexWithinParent()+1;return r.select(e,e)}return n.select(e,t)}selectNext(e,t){r_();let n=this.getNextSibling(),r=this.getParentOrThrow();if(null===n)return r.select();if(rB(n))return n.select(0,0);if(!nJ(n)){let e=n.getIndexWithinParent();return r.select(e,e)}return n.select(e,t)}markDirty(){this.getWritable()}}class nS extends nE{static getType(){return"linebreak"}static clone(e){return new nS(e.__key)}constructor(e){super(e)}getTextContent(){return"\n"}createDOM(){return document.createElement("br")}updateDOM(){return!1}static importDOM(){return{br:e=>(function(e){let t=e.parentElement;if(null!==t&&tT(t)){let n=t.firstChild;if(n===e||n.nextSibling===e&&nM(n)){let n=t.lastChild;if(n===e||n.previousSibling===e&&nM(n))return!0}}return!1})(e)||function(e){let t=e.parentElement;if(null!==t&&tT(t)){let n=t.firstChild;if(n===e||n.nextSibling===e&&nM(n))return!1;let r=t.lastChild;if(r===e||r.previousSibling===e&&nM(r))return!0}return!1}(e)?null:{conversion:nT,priority:0}}}static importJSON(e){return nA()}exportJSON(){return{type:"linebreak",version:1}}}function nT(e){return{node:nA()}}function nA(){return ty(new nS)}function nI(e){return e instanceof nS}function nM(e){return 3===e.nodeType&&/^( |\t|\r?\n)+$/.test(e.textContent||"")}function nP(e,t){return 16&t?"code":128&t?"mark":32&t?"sub":64&t?"sup":null}function nN(e,t){return 1&t?"strong":2&t?"em":"span"}function nL(e,t,n,r,i){let o=r.classList,l=ta(i,"base");void 0!==l&&o.add(...l);let a=!1,s=8&t&&4&t;for(let e in void 0!==(l=ta(i,"underlineStrikethrough"))&&(8&n&&4&n?(a=!0,s||o.add(...l)):s&&o.remove(...l)),eh){let r=eh[e];if(void 0!==(l=ta(i,e)))if(n&r){if(a&&("underline"===e||"strikethrough"===e)){t&r&&o.remove(...l);continue}t&r&&(!s||"underline"!==e)&&"strikethrough"!==e||o.add(...l)}else t&r&&o.remove(...l)}}function nD(e,t,n){let r=t.firstChild,i=n.isComposing(),o=e+(i?el:"");if(null==r)t.textContent=o;else{let e=r.nodeValue;if(e!==o)if(i||X){let[t,n,i]=function(e,t){let n=e.length,r=t.length,i=0,o=0;for(;i<n&&i<r&&e[i]===t[i];)i++;for(;o+i<n&&o+i<r&&e[n-o-1]===t[r-o-1];)o++;return[i,n-i-o,t.slice(i,r-o)]}(e,o);0!==n&&r.deleteData(t,n),r.insertData(t,i)}else r.nodeValue=o}}function nR(e,t,n,r,i,o){nD(i,e,t);let l=o.theme.text;void 0!==l&&nL(0,0,r,e,l)}function nF(e,t){let n=document.createElement(t);return n.appendChild(e),n}class nO extends nE{static getType(){return"text"}static clone(e){return new nO(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(){return ev[this.getLatest().__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===eZ()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){let t=eh[e];return!!(this.getFormat()&t)}isSimpleText(){return"text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return ej(this.getLatest().__format,e,t)}canHaveFormat(){return!0}createDOM(e,t){let n=this.__format,r=nP(0,n),i=nN(0,n),o=null===r?i:r,l=document.createElement(o),a=l;
7this.hasFormat("code")&&l.setAttribute("spellcheck","false"),null!==r&&(a=document.createElement(i),l.appendChild(a)),nR(a,this,0,n,this.__text,e);let s=this.__style;return""!==s&&(l.style.cssText=s),l}updateDOM(e,t,n){let r=this.__text,i=e.__format,o=this.__format,l=nP(0,i),a=nP(0,o),s=nN(0,i),u=nN(0,o);if((null===l?s:l)!==(null===a?u:a))return!0;if(l===a&&s!==u){let e=t.firstChild;null==e&&ex(48);let i=document.createElement(u);return nR(i,this,0,o,r,n),t.replaceChild(i,e),!1}let c=t;null!==a&&null!==l&&null==(c=t.firstChild)&&ex(49),nD(r,c,this);let d=n.theme.text;void 0!==d&&i!==o&&nL(0,i,o,c,d);let h=e.__style,f=this.__style;return h!==f&&(t.style.cssText=f),!1}static importDOM(){return{"#text":()=>({conversion:nz,priority:0}),b:()=>({conversion:nH,priority:0}),code:()=>({conversion:n$,priority:0}),em:()=>({conversion:n$,priority:0}),i:()=>({conversion:n$,priority:0}),s:()=>({conversion:n$,priority:0}),span:()=>({conversion:nV,priority:0}),strong:()=>({conversion:n$,priority:0}),sub:()=>({conversion:n$,priority:0}),sup:()=>({conversion:n$,priority:0}),u:()=>({conversion:n$,priority:0})}}static importJSON(e){let t=nU(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 null!==t&&tE(t)||ex(132),t.style.whiteSpace="pre-wrap",this.hasFormat("bold")&&(t=nF(t,"b")),this.hasFormat("italic")&&(t=nF(t,"i")),this.hasFormat("strikethrough")&&(t=nF(t,"s")),this.hasFormat("underline")&&(t=nF(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){let t=this.getWritable();return t.__format="string"==typeof e?eh[e]:e,t}setDetail(e){let t=this.getWritable();return t.__detail="string"==typeof e?ef[e]:e,t}setStyle(e){let t=this.getWritable();return t.__style=e,t}toggleFormat(e){let t=ej(this.getFormat(),e,null);return this.setFormat(t)}toggleDirectionless(){let e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){let e=this.getWritable();return e.__detail^=2,e}setMode(e){let t=em[e];if(this.__mode===t)return this;let n=this.getWritable();return n.__mode=t,n}setTextContent(e){if(this.__text===e)return this;let t=this.getWritable();return t.__text=e,t}select(e,t){r_();let n=e,r=t,i=rs(),o=this.getTextContent(),l=this.__key;if("string"==typeof o){let e=o.length;void 0===n&&(n=e),void 0===r&&(r=e)}else n=0,r=0;if(!n2(i))return ri(l,n,l,r,"text","text");{let e=eZ();e!==i.anchor.key&&e!==i.focus.key||eK(l),i.setTextNodeRange(this,n,this,r)}return i}selectStart(){return this.select(0,0)}selectEnd(){let e=this.getTextContentSize();return this.select(e,e)}spliceText(e,t,n,r){let i=this.getWritable(),o=i.__text,l=n.length,a=e;a<0&&(a=l+a)<0&&(a=0);let s=rs();if(r&&n2(s)){let t=e+l;s.setTextNodeRange(i,t,i,t)}return i.__text=o.slice(0,a)+n+o.slice(a+t),i}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){let t;r_();let n=this.getLatest(),r=n.getTextContent(),i=n.__key,o=eZ(),l=new Set(e),a=[],s=r.length,u="";for(let e=0;e<s;e++)""!==u&&l.has(e)&&(a.push(u),u=""),u+=r[e];""!==u&&a.push(u);let c=a.length;if(0===c)return[];if(a[0]===r)return[n];let d=a[0],h=n.getParent(),f=n.getFormat(),p=n.getStyle(),g=n.__detail,m=!1;n.isSegmented()?((t=nU(d)).__format=f,t.__style=p,t.__detail=g,m=!0):(t=n.getWritable()).__text=d;let v=rs(),y=[t],x=d.length;for(let e=1;e<c;e++){let t=a[e],n=t.length,r=nU(t).getWritable();r.__format=f,r.__style=p,r.__detail=g;let l=r.__key,s=x+n;if(n2(v)){let e=v.anchor,t=v.focus;e.key===i&&"text"===e.type&&e.offset>x&&e.offset<=s&&(e.key=l,e.offset-=x,v.dirty=!0),t.key===i&&"text"===t.type&&t.offset>x&&t.offset<=s&&(t.key=l,t.offset-=x,v.dirty=!0)}o===i&&eK(l),x=s,y.push(r)}if(null!==h){let e,t;e=this.getPreviousSibling(),t=this.getNextSibling(),null!==e&&eJ(e),null!==t&&eJ(t);let n=h.getWritable(),r=this.getIndexWithinParent();m?(n.splice(r,0,y),this.remove()):n.splice(r,1,y),n2(v)&&rc(v,h,r,c-1)}return y}mergeWithSibling(e){let t=e===this.getPreviousSibling();t||e===this.getNextSibling()||ex(50);let n=this.__key,r=e.__key,i=this.__text,o=i.length;eZ()===r&&eK(n);let l=rs();if(n2(l)){let i=l.anchor,a=l.focus;null!==i&&i.key===r&&(rf(i,t,n,e,o),l.dirty=!0),null!==a&&a.key===r&&(rf(a,t,n,e,o),l.dirty=!0)}let a=e.__text,s=t?a+i:i+a;this.setTextContent(s);let u=this.getWritable();return e.remove(),u}isTextEntity(){return!1}}function nV(e){return{forChild:nK(e.style),node:null}}function nH(e){let t="normal"===e.style.fontWeight;return{forChild:nK(e.style,t?void 0:"bold"),node:null}}let nB=new WeakMap;function nz(e){null===e.parentElement&&ex(129);let t=e.textContent||"";if(null!==function(e){var t;let n,r=e.parentNode,i=[e];for(;null!==r&&void 0===(n=nB.get(r))&&!("PRE"===(t=r).nodeName||1===t.nodeType&&void 0!==t.style&&void 0!==t.style.whiteSpace&&t.style.whiteSpace.startsWith("pre"));)i.push(r),r=r.parentNode;let o=void 0===n?r:n;for(let e=0;e<i.length;e++)nB.set(i[e],o);return o}(e)){let e=t.split(/(\r?\n|\t)/),n=[],r=e.length;for(let t=0;t<r;t++){let r=e[t];"\n"===r||"\r\n"===r?n.push(nA()):" "===r?n.push(nq()):""!==r&&n.push(nU(r))}return{node:n}}if(""===(t=t.replace(/\r/g,"").replace(/[ \t\n]+/g," ")))return{node:null};if(" "===t[0]){let n=e,r=!0;for(;null!==n&&null!==(n=nj(n,!1));){let e=n.textContent||"";if(e.length>
70){/[ \t\n]$/.test(e)&&(t=t.slice(1)),r=!1;break}}r&&(t=t.slice(1))}if(" "===t[t.length-1]){let n=e,r=!0;for(;null!==n&&null!==(n=nj(n,!0));)if((n.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){r=!1;break}r&&(t=t.slice(0,t.length-1))}return""===t?{node:null}:{node:nU(t)}}function nj(e,t){let n=e;for(;;){let e;for(;null===(e=t?n.nextSibling:n.previousSibling);){let e=n.parentElement;if(null===e)return null;n=e}if(1===(n=e).nodeType){let e=n.style.display;if(""===e&&!tS(n)||""!==e&&!e.startsWith("inline"))return null}let r=n;for(;null!==(r=t?n.firstChild:n.lastChild);)n=r;if(3===n.nodeType)return n;if("BR"===n.nodeName)return null}}let nW={code:"code",em:"italic",i:"italic",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function n$(e){let t=nW[e.nodeName.toLowerCase()];return void 0===t?{node:null}:{forChild:nK(e.style,t),node:null}}function nU(e=""){return ty(new nO(e))}function nJ(e){return e instanceof nO}function nK(e,t){let n=e.fontWeight,r=e.textDecoration.split(" "),i="700"===n||"bold"===n,o=r.includes("line-through"),l="italic"===e.fontStyle,a=r.includes("underline"),s=e.verticalAlign;return e=>(nJ(e)&&(i&&!e.hasFormat("bold")&&e.toggleFormat("bold"),o&&!e.hasFormat("strikethrough")&&e.toggleFormat("strikethrough"),l&&!e.hasFormat("italic")&&e.toggleFormat("italic"),a&&!e.hasFormat("underline")&&e.toggleFormat("underline"),"sub"!==s||e.hasFormat("subscript")||e.toggleFormat("subscript"),"super"!==s||e.hasFormat("superscript")||e.toggleFormat("superscript"),t&&!e.hasFormat(t)&&e.toggleFormat(t)),e)}class nZ extends nO{static getType(){return"tab"}static clone(e){return new nZ(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){let t=nq();return t.setFormat(e.format),t.setStyle(e.style),t}exportJSON(){return{...super.exportJSON(),type:"tab",version:1}}setTextContent(e){ex(126)}setDetail(e){ex(127)}setMode(e){ex(128)}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function nq(){return ty(new nZ)}function nG(e){return e instanceof nZ}class nY{constructor(e,t,n){this._selection=null,this.key=e,this.offset=t,this.type=n}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){let t=this.getNode(),n=e.getNode(),r=this.offset,i=e.offset;if(rB(t)){let e=t.getDescendantByIndex(r);t=null!=e?e:t}if(rB(n)){let e=n.getDescendantByIndex(i);n=null!=e?e:n}return t===n?r<i:t.isBefore(n)}getNode(){let e=eq(this.key);return null===e&&ex(20),e}set(e,t,n){let r=this._selection,i=this.key;this.key=e,this.offset=t,this.type=n,rC()||(eZ()===i&&eK(e),null!==r&&(r.setCachedNodes(null),r.dirty=!0))}}function nX(e,t,n){return new nY(e,t,n)}function nQ(e,t){let n=t.__key,r=e.offset,i="element";if(nJ(t)){i="text";let e=t.getTextContentSize();r>e&&(r=e)}else if(!rB(t)){let e=t.getNextSibling();if(nJ(e))n=e.__key,r=0,i="text";else{let e=t.getParent();e&&(n=e.__key,r=t.getIndexWithinParent()+1)}}e.set(n,r,i)}function n0(e,t){if(rB(t)){let n=t.getLastDescendant();rB(n)||nJ(n)?nQ(e,n):nQ(e,t)}else nQ(e,t)}function n1(e,t,n,r){e.key=t,e.offset=n,e.type=r}class n5{constructor(e){this._cachedNodes=null,this._nodes=e,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){if(!n3(e))return!1;let t=this._nodes,n=e._nodes;return t.size===n.size&&Array.from(t).every(e=>n.has(e))}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 n5(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(e){}insertText(){}insertNodes(e){let t,n=this.getNodes(),r=n.length,i=n[r-1];if(nJ(i))t=i.select();else{let e=i.getIndexWithinParent()+1;t=i.getParentOrThrow().select(e,e)}t.insertNodes(e);for(let e=0;e<r;e++)n[e].remove()}getNodes(){let e=this._cachedNodes;if(null!==e)return e;let t=this._nodes,n=[];for(let e of t){let t=eq(e);null!==t&&n.push(t)}return rC()||(this._cachedNodes=n),n}getTextContent(){let e=this.getNodes(),t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}}function n2(e){return e instanceof n9}class n9{constructor(e,t,n,r){this.anchor=e,this.focus=t,e._selection=this,t._selection=this,this._cachedNodes=null,this.format=n,this.style=r,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){return!!n2(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(){let e,t=this._cachedNodes;if(null!==t)return t;let n=this.anchor,r=this.focus,i=n.isBefore(r),o=i?n:r,l=i?r:n,a=o.getNode(),s=l.getNode(),u=o.offset,c=l.offset;if(rB(a)){let e=a.getDescendantByIndex(u);a=null!=e?e:a}if(rB(s)){let e=s.getDescendantByIndex(c);null!==e&&e!==a&&s.getChildAtIndex(c)===e&&(e=e.getPreviousSibling()),s=null!=e?e:s}return e=a.is(s)?rB(a)&&a.getChildrenSize()>0?[]:[a]:a.getNodesBetween(s),rC()||(this._cachedNodes=e),e}setTextNodeRange(e,t,n,r){n1(this.anchor,e.__key,t,"text"),n1(this.focus,n.__key,r,"text"),this._cachedNodes=null,this.dirty=!0}getTextContent(){let e=this.getNodes();if(0===e.length)return"";let t=e[0],n=e[e.length-1],r=this.anchor,i=this.focus,o=r.isBefore(i),[l,a]=n7(this),s="",u=!0;for(let c=0;c<e.length;c++){let d=e[c];if(rB(d)&&!d.isInline())u||(s+="\n"),u=!d.isEmpty();else if(u=!1,nJ(d)){let e=d.getTextContent();d===t?d===n?"element"===r.type&&"element"===i.type&&i.offset!==r.offset||(e=l<a?e.slice(l,a):e.slice(a,l)):e=o?e.slice(l):e.slice(a):d===n&&(e=o?e.slice(0,a):e.slice(0,l)),s+=e}else!rW(d)&&!nI(d)||d===n&&this.isCollapsed()||(s+=d.getTextContent())}return s}applyDOMRange(e){let t=rS(),n=t.getEditorState()._selection,r=rn(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,n
7);if(null===r)return;let[i,o]=r;n1(this.anchor,i.key,i.offset,i.type),n1(this.focus,o.key,o.offset,o.type),this._cachedNodes=null}clone(){let e=this.anchor,t=this.focus;return new n9(nX(e.key,e.offset,e.type),nX(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=ej(this.format,e,null),this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){let t=eh[e];return!!(this.format&t)}insertRawText(e){let t=e.split(/(\r?\n|\t)/),n=[],r=t.length;for(let e=0;e<r;e++){let r=t[e];"\n"===r||"\r\n"===r?n.push(nA()):" "===r?n.push(nq()):n.push(nU(r))}this.insertNodes(n)}insertText(e){var t,n;let r,i,o,l,a=this.anchor,s=this.focus,u=this.format,c=this.style,d=a,h=s;!this.isCollapsed()&&s.isBefore(a)&&(d=s,h=a),"element"===d.type&&(t=d,n=h,i=(r=t.getNode()).getChildAtIndex(t.offset),o=nU(),l=rU(r)?rY().append(o):o,o.setFormat(u),o.setStyle(c),null===i?r.append(l):i.insertBefore(l),t.is(n)&&n.set(o.__key,0,"text"),t.set(o.__key,0,"text"));let f=d.offset,p=h.offset,g=this.getNodes(),m=g.length,v=g[0];nJ(v)||ex(26);let y=v.getTextContent().length,x=v.getParentOrThrow(),b=g[m-1];if(1===m&&"element"===h.type&&(p=y,h.set(d.key,p,"text")),this.isCollapsed()&&f===y&&(v.isSegmented()||v.isToken()||!v.canInsertTextAfter()||!x.canInsertTextAfter()&&null===v.getNextSibling())){let t=v.getNextSibling();if(nJ(t)&&t.canInsertTextBefore()&&!eB(t)||((t=nU()).setFormat(u),t.setStyle(c),x.canInsertTextAfter()?v.insertAfter(t):x.insertAfter(t)),t.select(0,0),v=t,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===f&&(v.isSegmented()||v.isToken()||!v.canInsertTextBefore()||!x.canInsertTextBefore()&&null===v.getPreviousSibling())){let t=v.getPreviousSibling();if(nJ(t)&&!eB(t)||((t=nU()).setFormat(u),x.canInsertTextBefore()?v.insertBefore(t):x.insertBefore(t)),t.select(),v=t,""!==e)return void this.insertText(e)}else if(v.isSegmented()&&f!==y){let e=nU(v.getTextContent());e.setFormat(u),v.replace(e),v=e}else if(!this.isCollapsed()&&""!==e){let t=b.getParent();if(!x.canInsertTextBefore()||!x.canInsertTextAfter()||rB(t)&&(!t.canInsertTextBefore()||!t.canInsertTextAfter()))return this.insertText(""),rt(this.anchor,this.focus,null),void this.insertText(e)}if(1===m){if(v.isToken()){let t=nU(e);return t.select(),void v.replace(t)}let t=v.getFormat(),n=v.getStyle();if(f!==p||t===u&&n===c){if(nG(v)){let t=nU(e);return t.setFormat(u),t.setStyle(c),t.select(),void v.replace(t)}}else{if(""!==v.getTextContent()){let t=nU(e);if(t.setFormat(u),t.setStyle(c),t.select(),0===f)v.insertBefore(t,!1);else{let[e]=v.splitText(f);e.insertAfter(t,!1)}return void(t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length))}v.setFormat(u),v.setStyle(c)}let r=p-f;""===(v=v.spliceText(f,r,e,!0)).getTextContent()?v.remove():"text"===this.anchor.type&&(v.isComposing()?this.anchor.offset-=e.length:(this.format=t,this.style=n))}else{let t=new Set([...v.getParentKeys(),...b.getParentKeys()]),n=rB(v)?v:v.getParentOrThrow(),r=rB(b)?b:b.getParentOrThrow(),i=b;if(!n.is(r)&&r.isInline())do i=r,r=r.getParentOrThrow();while(r.isInline());if("text"===h.type&&(0!==p||""===b.getTextContent())||"element"===h.type&&b.getIndexWithinParent()<p)if(nJ(b)&&!b.isToken()&&p!==b.getTextContentSize()){if(b.isSegmented()){let e=nU(b.getTextContent());b.replace(e),b=e}rU(h.getNode())||"text"!==h.type||(b=b.spliceText(0,p,"")),t.add(b.__key)}else{let e=b.getParentOrThrow();e.canBeEmpty()||1!==e.getChildrenSize()?b.remove():e.remove()}else t.add(b.__key);let o=r.getChildren(),l=new Set(g),a=n.is(r),s=n.isInline()&&null===v.getNextSibling()?n:v;for(let e=o.length-1;e>=0;e--){let t=o[e];if(t.is(v)||rB(t)&&t.isParentOf(v))break;t.isAttached()&&(!l.has(t)||t.is(i)?a||s.insertAfter(t,!1):t.remove())}if(!a){let e=r,n=null;for(;null!==e;){let r=e.getChildren(),i=r.length;(0===i||r[i-1].is(n))&&(t.delete(e.__key),n=e),e=e.getParent()}}if(v.isToken())if(f===y)v.select();else{let t=nU(e);t.select(),v.replace(t)}else""===(v=v.spliceText(f,y-f,e,!0)).getTextContent()?v.remove():v.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length);for(let e=1;e<m;e++){let n=g[e],r=n.__key;t.has(r)||n.remove()}}}removeText(){this.insertText("")}formatText(e){if(this.isCollapsed())return this.toggleFormat(e),void eK(null);let t=this.getNodes(),n=[];for(let e of t)nJ(e)&&n.push(e);let r=n.length;if(0===r)return this.toggleFormat(e),void eK(null);let i=this.anchor,o=this.focus,l=this.isBackward(),a=l?o:i,s=l?i:o,u=0,c=n[0],d="element"===a.type?0:a.offset;if("text"===a.type&&d===c.getTextContentSize()&&(u=1,c=n[1],d=0),null==c)return;let h=c.getFormatFlags(e,null),f=r-1,p=n[f],g="text"===s.type?s.offset:p.getTextContentSize();if(c.is(p)){if(d===g)return;if(eB(c)||0===d&&g===c.getTextContentSize())c.setFormat(h);else{let e=c.splitText(d,g),t=0===d?e[0]:e[1];t.setFormat(h),"text"===a.type&&a.set(t.__key,0,"text"),"text"===s.type&&s.set(t.__key,g-d,"text")}return void(this.format=h)}0===d||eB(c)||([,c]=c.splitText(d),d=0),c.setFormat(h);let m=p.getFormatFlags(e,h);g>0&&(g===p.getTextContentSize()||eB(p)||([p]=p.splitText(g)),p.setFormat(m));for(let t=u+1;t<f;t++){let r=n[t],i=r.getFormatFlags(e,m);r.setFormat(i)}"text"===a.type&&a.set(c.__key,d,"text"),"text"===s.type&&s.set(p.__key,g,"text"),this.format=h|m}insertNodes(e){var t;if(0===e.length)return;if("root"===this.anchor.key){this.insertParagraph();let t=rs();
7return n2(t)||ex(134),t.insertNodes(e)}let n=tI((this.isBackward()?this.focus:this.anchor).getNode(),tA),r=e[e.length-1];if("__language"in n&&rB(n)){if("__language"in e[0])this.insertText(e[0].getTextContent());else{let t=rg(this);n.splice(t,0,e),r.selectEnd()}return}if(!e.some(e=>(rB(e)||rW(e))&&!e.isInline())){rB(n)||ex(135);let t=rg(this);return n.splice(t,0,e),void r.selectEnd()}let i=function(e){let t=rY(),n=null;for(let r=0;r<e.length;r++){let i=e[r],o=nI(i);if(o||rW(i)&&i.isInline()||rB(i)&&i.isInline()||nJ(i)||i.isParentRequired()){if(null===n&&(n=i.createParentElementNode(),t.append(n),o))continue;null!==n&&n.append(i)}else t.append(i),n=null}return t}(e),o=i.getLastDescendant(),l=i.getChildren(),a=rB(n)&&n.isEmpty()?null:this.insertParagraph(),s=l[l.length-1],u=l[0];rB(t=u)&&tA(t)&&!t.isEmpty()&&rB(n)&&(!n.isEmpty()||n.canMergeWhenEmpty())&&(rB(n)||ex(135),n.append(...u.getChildren()),u=l[1]),u&&function(e,t,n){let r=t.getParentOrThrow().getLastChild(),i=t,o=[t];for(;i!==r;)i.getNextSibling()||ex(140),o.push(i=i.getNextSibling());let l=e;for(let e of o)l=l.insertAfter(e)}(n,u);let c=tI(o,tA);a&&rB(c)&&(a.canMergeWhenEmpty()||tA(s))&&(c.append(...a.getChildren()),a.remove()),rB(n)&&n.isEmpty()&&n.remove(),o.selectEnd();let d=rB(n)?n.getLastChild():null;nI(d)&&c!==n&&d.remove()}insertParagraph(){if("root"===this.anchor.key){let e=rY();return e0().splice(this.anchor.offset,0,[e]),e.select(),e}let e=rg(this),t=tI(this.anchor.getNode(),tA);rB(t)||ex(136);let n=t.getChildAtIndex(e),r=n?[n,...n.getNextSiblings()]:[],i=t.insertNewAfter(this,!1);return i?(i.append(...r),i.selectStart(),i):null}insertLineBreak(e){let t=nA();if(this.insertNodes([t]),e){let e=t.getParentOrThrow(),n=t.getIndexWithinParent();e.select(n,n)}}extract(){let e=this.getNodes(),t=e.length,n=t-1,r=this.anchor,i=this.focus,o=e[0],l=e[n],[a,s]=n7(this);if(0===t)return[];if(1===t){if(nJ(o)&&!this.isCollapsed()){let e=a>s?s:a,t=o.splitText(e,a>s?a:s),n=0===e?t[0]:t[1];return null!=n?[n]:[]}return[o]}let u=r.isBefore(i);if(nJ(o)){let t=u?a:s;t===o.getTextContentSize()?e.shift():0!==t&&([,o]=o.splitText(t),e[0]=o)}if(nJ(l)){let t=l.getTextContent().length,r=u?s:a;0===r?e.pop():r!==t&&([l]=l.splitText(r),e[n]=l)}return e}modify(e,t,n){var r;let i=this.focus,o=this.anchor,l="move"===e,a=tc(i,t);if(rW(a)&&!a.isIsolated()){if(l&&a.isKeyboardSelectable()){let e=rl();return e.add(a.__key),void e5(e)}let e=t?a.getPreviousSibling():a.getNextSibling();if(nJ(e)){let n=e.__key,r=t?e.getTextContent().length:0;return i.set(n,r,"text"),void(l&&o.set(n,r,"text"))}{let n,r,s=a.getParentOrThrow();return rB(e)?(r=e.__key,n=t?e.getChildrenSize():0):(n=a.getIndexWithinParent(),r=s.__key,t||n++),i.set(r,n,"element"),void(l&&o.set(r,n,"element"))}}let s=rS(),u=tC(s._window);if(!u)return;let c=s._blockCursorElement,d=s._rootElement;if(null===d||null===c||!rB(a)||a.isInline()||a.canBeEmpty()||tw(c,s,d),r=t?"backward":"forward",u.modify(e,r,n),u.rangeCount>0){let e=u.getRangeAt(0),n=this.anchor.getNode(),r=rU(n)?n:function(e){let t=e.getParentOrThrow();for(;null!==t&&!tv(t);)t=t.getParentOrThrow();return t}(n);if(this.applyDOMRange(e),this.dirty=!0,!l){let n,i,o,l,a,s=this.getNodes(),c=[],d=!1;for(let e=0;e<s.length;e++){let t=s[e];tg(t,r)?c.push(t):d=!0}if(d&&c.length>0)if(t){let e=c[0];rB(e)?e.selectStart():e.getParentOrThrow().selectStart()}else{let e=c[c.length-1];rB(e)?e.selectEnd():e.getParentOrThrow().selectEnd()}u.anchorNode===e.startContainer&&u.anchorOffset===e.startOffset||(n=this.focus,o=(i=this.anchor).key,l=i.offset,a=i.type,n1(i,n.key,n.offset,n.type),n1(n,o,l,a),this._cachedNodes=null)}}}forwardDeletion(e,t,n){if(!n&&("element"===e.type&&rB(t)&&e.offset===t.getChildrenSize()||"text"===e.type&&e.offset===t.getTextContentSize())){let e=t.getParent(),n=t.getNextSibling()||(null===e?null:e.getNextSibling());if(rB(n)&&n.isShadowRoot())return!0}return!1}deleteCharacter(e){let t=this.isCollapsed();if(this.isCollapsed()){let t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;let r=this.focus,o=tc(r,e);if(rW(o)&&!o.isIsolated()){if(o.isKeyboardSelectable()&&rB(n)&&0===n.getChildrenSize()){n.remove();let e=rl();e.add(o.__key),e5(e)}else o.remove(),rS().dispatchCommand(i,void 0);return}if(!e&&rB(o)&&rB(n)&&n.isEmpty())return n.remove(),void o.selectStart();if(this.modify("extend",e,"character"),this.isCollapsed()){if(e&&0===t.offset&&("element"===t.type?t.getNode():t.getNode().getParentOrThrow()).collapseAtStart(this))return}else{let i="text"===r.type?r.getNode():null;if(n="text"===t.type?t.getNode():null,null!==i&&i.isSegmented()){let t=r.offset,o=i.getTextContentSize();if(i.is(n)||e&&t!==o||!e&&0!==t)return void n4(i,e,t)}else if(null!==n&&n.isSegmented()){let r=t.offset,o=n.getTextContentSize();if(n.is(i)||e&&0!==r||!e&&r!==o)return void n4(n,e,r)}!function(e,t){let n=e.anchor,r=e.focus,i=n.getNode();if(i===r.getNode()&&"text"===n.type&&"text"===r.type){let e=n.offset,o=r.offset,l=e<o,a=l?e:o,s=l?o:e,u=s-1;a!==u&&(e3(i.getTextContent().slice(a,s))||(t?r.offset=u:n.offset=u))}}(this,e)}}if(this.removeText(),e&&!t&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset){let e=this.anchor.getNode();e.isEmpty()&&rU(e.getParent())&&0===e.getIndexWithinParent()&&e.collapseAtStart(this)}}deleteLine(e){if(this.isCollapsed()){let t="element"===this.anchor.type;if(t&&this.insertText(" "),this.modify("extend",e,"lineboundary"),0===(e?this.focus:this.anchor).offset&&this.modify("extend",e,"character"),t){let t=e?this.anchor:this.focus;t.set(t.key,t.offset+1,t.type)}}this.removeText()}
7deleteWord(e){if(this.isCollapsed()){let t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;this.modify("extend",e,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function n3(e){return e instanceof n5}function n8(e){let t=e.offset;if("text"===e.type)return t;let n=e.getNode();return t===n.getChildrenSize()?n.getTextContent().length:0}function n7(e){let t=e.getStartEndPoints();if(null===t)return[0,0];let[n,r]=t;return"element"===n.type&&"element"===r.type&&n.key===r.key&&n.offset===r.offset?[0,0]:[n8(n),n8(r)]}function n4(e,t,n){let r=e.getTextContent().split(/(?=\s)/g),i=r.length,o=0,l=0;for(let e=0;e<i;e++){let a=e===i-1;if(l=o,o+=r[e].length,t&&o===n||o>n||a){r.splice(e,1),a&&(l=void 0);break}}let a=r.join("").trim();""===a?e.remove():(e.setTextContent(a),e.select(l,l))}function n6(e,t,n,r){let i,o=t;if(1===e.nodeType){let l=!1,a=e.childNodes,s=a.length,u=r._blockCursorElement;o===s&&(l=!0,o=s-1);let c=a[o],d=!1;if(c===u)c=a[o+1],d=!0;else if(null!==u){let n=u.parentNode;e===n&&t>Array.prototype.indexOf.call(n.children,u)&&o--}if(nJ(i=e2(c)))o=e9(i,l);else{let r=e2(e);if(null===r)return null;if(rB(r)){let e;o=Math.min(r.getChildrenSize(),o);let t=r.getChildAtIndex(o);if(rB(t)&&(e=t.getParent(),null===n||null===e||!e.canBeEmpty()||e!==n.getNode())){let e=l?t.getLastDescendant():t.getFirstDescendant();r=null===e||rB(t=e)?t:t.getParentOrThrow(),o=0}nJ(t)?(i=t,r=null,o=e9(t,l)):t!==r&&l&&!d&&o++}else{let n=r.getIndexWithinParent();o=0===t&&rW(r)&&e2(e)===r?n:n+1,r=r.getParentOrThrow()}if(rB(r))return nX(r.__key,o,"element")}}else i=e2(e);return nJ(i)?nX(i.__key,o,"text"):null}function re(e,t,n){let r=e.offset,i=e.getNode();if(0===r){let r=i.getPreviousSibling(),o=i.getParent();if(t){if((n||!t)&&null===r&&rB(o)&&o.isInline()){let t=o.getPreviousSibling();nJ(t)&&(e.key=t.__key,e.offset=t.getTextContent().length)}}else rB(r)&&!n&&r.isInline()?(e.key=r.__key,e.offset=r.getChildrenSize(),e.type="element"):nJ(r)&&(e.key=r.__key,e.offset=r.getTextContent().length)}else if(r===i.getTextContent().length){let r=i.getNextSibling(),o=i.getParent();if(t&&rB(r)&&r.isInline())e.key=r.__key,e.offset=0,e.type="element";else if((n||t)&&null===r&&rB(o)&&o.isInline()&&!o.canInsertTextAfter()){let t=o.getNextSibling();nJ(t)&&(e.key=t.__key,e.offset=0)}}}function rt(e,t,n){if("text"===e.type&&"text"===t.type){let r=e.isBefore(t),i=e.is(t);re(e,r,i),re(t,!r,i),i&&(t.key=e.key,t.offset=e.offset,t.type=e.type);let o=rS();if(o.isComposing()&&o._compositionKey!==e.key&&n2(n)){let r=n.anchor,i=n.focus;n1(e,r.key,r.offset,r.type),n1(t,i.key,i.offset,i.type)}}}function rn(e,t,n,r,i,o){if(null===e||null===n||!eF(i,e,n))return null;let l=n6(e,t,n2(o)?o.anchor:null,i);if(null===l)return null;let a=n6(n,r,n2(o)?o.focus:null,i);if(null===a)return null;if("element"===l.type&&"element"===a.type){let t=e2(e),r=e2(n);if(rW(t)&&rW(r))return null}return rt(l,a,o),[l,a]}function rr(e){return rB(e)&&!e.isInline()}function ri(e,t,n,r,i,o){let l=rE(),a=new n9(nX(e,t,i),nX(n,r,o),0,"");return a.dirty=!0,l._selection=a,a}function ro(){return new n9(nX("root",0,"element"),nX("root",0,"element"),0,"")}function rl(){return new n5(new Set)}function ra(e,t,n,r){let i,o,l,a,s=n._window;if(null===s)return null;let u=r||s.event,c=u?u.type:void 0,d="selectionchange"===c,h=!ew&&(d||"beforeinput"===c||"compositionstart"===c||"compositionend"===c||"click"===c&&u&&3===u.detail||"drop"===c||void 0===c);if(n2(e)&&!h)return e.clone();if(null===t)return null;if(i=t.anchorNode,o=t.focusNode,l=t.anchorOffset,a=t.focusOffset,d&&n2(e)&&!eF(n,i,o))return e.clone();let f=rn(i,l,o,a,n,e);if(null===f)return null;let[p,g]=f;return new n9(p,g,n2(e)?e.format:0,n2(e)?e.style:"")}function rs(){return rE()._selection}function ru(){return rS()._editorState._selection}function rc(e,t,n,r=1){let i=e.anchor,o=e.focus,l=i.getNode(),a=o.getNode();if(!t.is(l)&&!t.is(a))return;let s=t.__key;if(e.isCollapsed()){let t=i.offset;if(n<=t&&r>0||n<t&&r<0){let n=Math.max(0,t+r);i.set(s,n,"element"),o.set(s,n,"element"),rd(e)}}else{let l=e.isBackward(),a=l?o:i,u=a.getNode(),c=l?i:o,d=c.getNode();if(t.is(u)){let e=a.offset;(n<=e&&r>0||n<e&&r<0)&&a.set(s,Math.max(0,e+r),"element")}if(t.is(d)){let e=c.offset;(n<=e&&r>0||n<e&&r<0)&&c.set(s,Math.max(0,e+r),"element")}}rd(e)}function rd(e){let t=e.anchor,n=t.offset,r=e.focus,i=r.offset,o=t.getNode(),l=r.getNode();if(e.isCollapsed()){if(!rB(o))return;let e=o.getChildrenSize(),i=n>=e,l=i?o.getChildAtIndex(e-1):o.getChildAtIndex(n);if(nJ(l)){let e=0;i&&(e=l.getTextContentSize()),t.set(l.__key,e,"text"),r.set(l.__key,e,"text")}}else{if(rB(o)){let e=o.getChildrenSize(),r=n>=e,i=r?o.getChildAtIndex(e-1):o.getChildAtIndex(n);if(nJ(i)){let e=0;r&&(e=i.getTextContentSize()),t.set(i.__key,e,"text")}}if(rB(l)){let e=l.getChildrenSize(),t=i>=e,n=t?l.getChildAtIndex(e-1):l.getChildAtIndex(i);if(nJ(n)){let e=0;t&&(e=n.getTextContentSize()),r.set(n.__key,e,"text")}}}}function rh(e,t,n,r,i){let o=null,l=0,a=null;null!==r?(o=r.__key,nJ(r)?(l=r.getTextContentSize(),a="text"):rB(r)&&(l=r.getChildrenSize(),a="element")):null!==i&&(o=i.__key,nJ(i)?a="text":rB(i)&&(a="element")),null!==o&&null!==a?e.set(o,l,a):(-1===(l=t.getIndexWithinParent())&&(l=n.getChildrenSize()),e.set(n.__key,l,"element"))}function rf(e,t,n,r,i){"text"===e.type?(e.key=n,t||(e.offset+=i)):e.offset>
7r.getIndexWithinParent()&&(e.offset-=1)}function rp(e){let t=rs()||ru();null===t&&(t=e0().selectEnd()),t.insertNodes(e)}function rg(e){let t=e;e.isCollapsed()||t.removeText();let n=rs();n2(n)&&(t=n),n2(t)||ex(161);let r=t.anchor,i=r.getNode(),o=r.offset;for(;!tA(i);)[i,o]=function(e,t){let n=e.getParent();if(!n){let e=rY();return e0().append(e),e.select(),[e0(),0]}if(nJ(e)){let r=e.splitText(t);if(0===r.length)return[n,e.getIndexWithinParent()];let i=+(0!==t);return[n,r[0].getIndexWithinParent()+i]}if(!rB(e)||0===t)return[n,e.getIndexWithinParent()];let r=e.getChildAtIndex(t);if(r){let n=new n9(nX(e.__key,t,"element"),nX(e.__key,t,"element"),0,""),i=e.insertNewAfter(n);i&&i.append(r,...r.getNextSiblings())}return[n,e.getIndexWithinParent()+1]}(i,o);return o}let rm=null,rv=null,ry=!1,rx=!1,rb=0,rw={characterData:!0,childList:!0,subtree:!0};function rC(){return ry||null!==rm&&rm._readOnly}function r_(){ry&&ex(13)}function rk(){rb>99&&ex(14)}function rE(){return null===rm&&ex(195,rT()),rm}function rS(){return null===rv&&ex(196,rT()),rv}function rT(){let e=0,t=new Set,n=r3.version;if("u">typeof window)for(let r of document.querySelectorAll("[contenteditable]")){let i=eH(r);if(eO(i))e++;else if(i){let e=String(i.constructor.version||"<0.17.1");e===n&&(e+=" (separately built, likely a bundler configuration issue)"),t.add(e)}}let r=` Detected on the page: ${e} compatible editor(s) with version ${n}`;return t.size&&(r+=` and incompatible editors with versions ${Array.from(t).join(", ")}`),r}function rA(e,t,n){let r,i=t.__type,o=(void 0===(r=e._nodes.get(i))&&ex(30,i),r),l=n.get(i);void 0===l&&(l=Array.from(o.transforms),n.set(i,l));let a=l.length;for(let e=0;e<a&&(l[e](t),t.isAttached());e++);}function rI(e,t){return void 0!==e&&e.__key!==t&&e.isAttached()}function rM(e){return rP(e,rS()._nodes)}function rP(e,t){let n=e.type,r=t.get(n);void 0===r&&ex(17,n);let i=r.klass;e.type!==i.getType()&&ex(18,i.name);let o=i.importJSON(e),l=e.children;if(rB(o)&&Array.isArray(l))for(let e=0;e<l.length;e++){let n=rP(l[e],t);o.append(n)}return o}function rN(e,t,n){let r=rm,i=ry,o=rv;rm=t,ry=!0,rv=e;try{return n()}finally{rm=r,ry=i,rv=o}}function rL(e,t){let n,r,o=e._pendingEditorState,l=e._rootElement,a=e._headless||null===l;if(null===o)return;let s=e._editorState,u=s._selection,c=o._selection,d=0!==e._dirtyType,h=rm,f=ry,p=rv,g=e._updating,m=e._observer,v=null;if(e._pendingEditorState=null,e._editorState=o,!a&&d&&null!==m){rv=e,rm=o,ry=!1,e._updating=!0;try{let t,n=e._dirtyType,r=e._dirtyElements,i=e._dirtyLeaves;m.disconnect(),t$="",tZ="",tU="",tq=2===n,tY=null,tR=e,tD=e._config,tF=e._nodes,tO=tR._listeners.mutation,tV=r,tH=i,tB=s._nodeMap,tz=o._nodeMap,tG=o._readOnly,tj=new Map(e._keyToDOMMap),tW=t=new Map,function e(t,n){let r=tB.get(t),i=tz.get(t);void 0!==r&&void 0!==i||ex(61);let o=tq||tH.has(t)||tV.has(t),l=tf(tR,t);if(r===i&&!o){if(rB(r)){let e=l.__lexicalTextContent;void 0!==e&&(t$+=e,tZ+=e);let t=l.__lexicalDirTextContent;void 0!==t&&(tU+=t)}else{let e=r.getTextContent();nJ(r)&&!r.isDirectionless()&&(tU+=e),tZ+=e,t$+=e}return l}if(r!==i&&o&&ts(tW,tF,tO,i,"updated"),i.updateDOM(r,l,tD)){let e=t2(t,null,null);return null===n&&ex(62),n.replaceChild(e,l),tX(t,null),e}if(rB(r)&&rB(i)){let t=i.__indent;t!==r.__indent&&t1(l,t);let n=i.__format;n!==r.__format&&t5(l,n),o&&(function(t,n,r){let i=tU;tU="",tJ=null,tK="",function(t,n,r){let i=t$,o=t.__size,l=n.__size;if(t$="",1===o&&1===l){let i=t.__first,o=n.__first;if(i===o)e(i,r);else{let e=nt(i),t=t2(o,null,null);try{r.replaceChild(t,e)}catch(n){if("object"==typeof n&&null!=n)throw Error(`${n.toString()} Parent: ${r.tagName}, new child: {tag: ${t.tagName} key: ${o}}, old child: {tag: ${e.tagName}, key: ${i}}.`);throw n}tX(i,null)}let l=tz.get(o);nJ(l)&&(null===tJ&&(tJ=l.getFormat()),""===tK&&(tK=l.getStyle()))}else{let i=t4(t,tB),a=t4(n,tz);if(0===o)0!==l&&t9(a,n,0,l-1,r,null);else if(0===l){if(0!==o){let e=null==r.__lexicalLineBreak;tQ(i,0,o-1,e?null:r),e&&(r.textContent="")}}else!function(t,n,r,i,o,l){let a=i-1,s=o-1,u,c,d=l.firstChild,h=0,f=0;for(;h<=a&&f<=s;){let t=n[h],i=r[f];if(t===i)d=ne(e(i,l)),h++,f++;else{void 0===u&&(u=new Set(n)),void 0===c&&(c=new Set(r));let o=c.has(t),a=u.has(i);if(o)if(a){let t=tf(tR,i);t===d?d=ne(e(i,l)):(null!=d?l.insertBefore(t,d):l.appendChild(t),e(i,l)),h++,f++}else t2(i,l,d),f++;else d=ne(nt(t)),tX(t,l),h++}let o=tz.get(i);null!==o&&nJ(o)&&(null===tJ&&(tJ=o.getFormat()),""===tK&&(tK=o.getStyle()))}let p=h>a,g=f>s;if(p&&!g){let e=r[s+1];t9(r,t,f,s,l,void 0===e?null:tR.getElementByKey(e))}else g&&!p&&tQ(n,h,a,l)}(n,i,a,o,l,r)}th(n)&&(t$+="\n\n"),r.__lexicalTextContent=t$,t$=i+t$}(t,n,r),t7(n,r),rX(n)&&null!=tJ&&tJ!==n.__textFormat&&!tG&&(n.setTextFormat(tJ),n.setTextStyle(tK)),rX(n)&&""!==tK&&tK!==n.__textStyle&&!tG&&n.setTextStyle(tK),tU=i}(r,i,l),rU(i)||i.isInline()||t8(r,i,l)),th(i)&&(t$+="\n\n",tZ+="\n\n")}else{let e=i.getTextContent();if(rW(i)){let e=i.decorate(tR,tD);null!==e&&t6(t,e)}else nJ(i)&&!i.isDirectionless()&&(tU+=e);t$+=e,tZ+=e}if(!tG&&rU(i)&&i.__cachedText!==tZ){let e=i.getWritable();e.__cachedText=tZ,i=e}return l}("root",null),tR=void 0,tF=void 0,tV=void 0,tH=void 0,tB=void 0,tz=void 0,tD=void 0,tj=void 0,tW=void 0,v=t}catch(t){if(t instanceof Error&&e._onError(t),rx)throw t;
7return r2(e,null,l,o),eT(e),e._dirtyType=2,rx=!0,rL(e,s),void(rx=!1)}finally{m.observe(l,rw),e._updating=g,rm=h,ry=f,rv=p}}o._readOnly||(o._readOnly=!0);let y=e._dirtyLeaves,x=e._dirtyElements,b=e._normalizedNodes,w=e._updateTags,C=e._deferred;d&&(e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements=new Map,e._normalizedNodes=new Set,e._updateTags=new Set),function(e,t){let n,r=e._decorators,i=e._pendingDecorators||r,o=t._nodeMap;for(n in i)o.has(n)||(i===r&&(i=eX(e)),delete i[n])}(e,o);let _=a?null:tC(e._window);if(e._editable&&null!==_&&(d||null===c||c.dirty)){rv=e,rm=o;try{if(null!==m&&m.disconnect(),d||null===c||c.dirty){let t=e._blockCursorElement;null!==t&&tw(t,e,l),function(e,t,n,r,i,o,l){let a=r.anchorNode,s=r.focusNode,u=r.anchorOffset,c=r.focusOffset,d=document.activeElement;if(i.has("collaboration")&&d!==o||null!==d&&eR(d))return;if(!n2(t))return null!==e&&eF(n,a,s)&&r.removeAllRanges();let h=t.anchor,f=t.focus,p=h.key,g=f.key,m=tf(n,p),v=tf(n,g),y=h.offset,x=f.offset,b=t.format,w=t.style,C=t.isCollapsed(),_=m,k=v,E=!1;if("text"===h.type){_=ez(m);let e=h.getNode();E=e.getFormat()!==b||e.getStyle()!==w}else n2(e)&&"text"===e.anchor.type&&(E=!0);if("text"===f.type&&(k=ez(v)),null!==_&&null!==k&&(C&&(null===e||E||n2(e)&&(e.format!==b||e.style!==w))&&(nf=[b,w,y,p,performance.now()]),u!==y||c!==x||a!==_||s!==k||"Range"===r.type&&C||(null!==d&&o.contains(d)||o.focus({preventScroll:!0}),"element"===h.type))){try{r.setBaseAndExtent(_,y,k,x)}catch(e){}if(!i.has("skip-scroll-into-view")&&t.isCollapsed()&&null!==o&&o===document.activeElement){let e=t instanceof n9&&"element"===t.anchor.type?_.childNodes[y]||null:r.rangeCount>0?r.getRangeAt(0):null;if(null!==e){let t;if(e instanceof Text){let n=document.createRange();n.selectNode(e),t=n.getBoundingClientRect()}else t=e.getBoundingClientRect();!function(e,t,n){let r=n.ownerDocument,i=r.defaultView;if(null===i)return;let{top:o,bottom:l}=t,a=0,s=0,u=n;for(;null!==u;){let t=u===r.body;if(t)a=0,s=tm(e).innerHeight;else{let e=u.getBoundingClientRect();a=e.top,s=e.bottom}let n=0;if(o<a?n=-(a-o):l>s&&(n=l-s),0!==n)if(t)i.scrollBy(0,n);else{let e=u.scrollTop;u.scrollTop+=n;let t=u.scrollTop-e;o-=t,l-=t}if(t)break;u=tp(u)}}(n,t,o)}}nu=!0}}(u,c,e,_,w,l)}(function(e,t,n){let r=e._blockCursorElement;if(n2(n)&&n.isCollapsed()&&"element"===n.anchor.type&&t.contains(document.activeElement)){let i=n.anchor,o=i.getNode(),l=i.offset,a=!1,s=null;if(l===o.getChildrenSize())tb(o.getChildAtIndex(l-1))&&(a=!0);else{let t=o.getChildAtIndex(l);if(tb(t)){let n=t.getPreviousSibling();(null===n||tb(n))&&(a=!0,s=e.getElementByKey(t.__key))}}if(a){let n,i,l,a=e.getElementByKey(o.__key);return null===r&&(n=e._config.theme,(i=document.createElement("div")).contentEditable="false",i.setAttribute("data-lexical-cursor","true"),void 0!==(l=n.blockCursor)&&("string"==typeof l&&(l=n.blockCursor=eb(l)),void 0!==l&&i.classList.add(...l)),e._blockCursorElement=r=i),t.style.caretColor="transparent",null===s?a.appendChild(r):a.insertBefore(r,s)}}null!==r&&tw(r,e,t)})(e,l,c),null!==m&&m.observe(l,rw)}finally{rv=p,rm=h}}null!==v&&function(e,t,n,r,i){let o=Array.from(e._listeners.mutation),l=o.length;for(let e=0;e<l;e++){let[l,a]=o[e],s=t.get(a);void 0!==s&&l(s,{dirtyLeaves:r,prevEditorState:i,updateTags:n})}}(e,v,w,y,s),n2(c)||null===c||null!==u&&u.is(c)||e.dispatchCommand(i,void 0);let k=e._pendingDecorators;null!==k&&(e._decorators=k,e._pendingDecorators=null,rD("decorator",e,!0,k)),n=eQ(t||s),n!==(r=eQ(o))&&rD("textcontent",e,!0,r),rD("update",e,!0,{dirtyElements:x,dirtyLeaves:y,editorState:o,normalizedNodes:b,prevEditorState:t||s,tags:w}),function(e,t){if(e._deferred=[],0!==t.length){let n=e._updating;e._updating=!0;try{for(let e=0;e<t.length;e++)t[e]()}finally{e._updating=n}}}(e,C),function(e){let t=e._updates;if(0!==t.length){let n=t.shift();if(n){let[t,r]=n;rO(e,t,r)}}}(e)}function rD(e,t,n,...r){let i=t._updating;t._updating=n;try{let n=Array.from(t._listeners[e]);for(let e=0;e<n.length;e++)n[e].apply(null,r)}finally{t._updating=i}}function rR(e,t,n){if(!1===e._updating||rv!==e){let r=!1;return e.update(()=>{r=rR(e,t,n)}),r}let r=e8(e);for(let i=4;i>=0;i--)for(let o=0;o<r.length;o++){let l=r[o]._commands.get(t);if(void 0!==l){let t=l[i];if(void 0!==t){let r=Array.from(t),i=r.length;for(let t=0;t<i;t++)if(!0===r[t](n,e))return!0}}}return!1}function rF(e,t){let n=e._updates,r=t||!1;for(;0!==n.length;){let t=n.shift();if(t){let n,i,[o,l]=t;if(void 0!==l){if(n=l.onUpdate,i=l.tag,l.skipTransforms&&(r=!0),l.discrete){let t=e._pendingEditorState;null===t&&ex(191),t._flushSync=!0}n&&e._deferred.push(n),i&&e._updateTags.add(i)}o()}}return r}function rO(e,t,n){let r=e._updateTags,i,o,l=!1,a=!1;void 0!==n&&(i=n.onUpdate,null!=(o=n.tag)&&r.add(o),l=n.skipTransforms||
7!1,a=n.discrete||!1),i&&e._deferred.push(i);let s=e._editorState,u=e._pendingEditorState,c=!1;(null===u||u._readOnly)&&(u=e._pendingEditorState=new rK(new Map((u||s)._nodeMap)),c=!0),u._flushSync=a;let d=rm,h=ry,f=rv,p=e._updating;rm=u,ry=!1,e._updating=!0,rv=e;try{let n,r;c&&(e._headless?null!==s._selection&&(u._selection=s._selection.clone()):u._selection=(n=e.getEditorState()._selection,r=tC(e._window),n2(n)||null==n?ra(n,r,e,null):n.clone()));let i=e._compositionKey;t(),l=rF(e,l),function(e,t){let n=t.getEditorState()._selection,r=e._selection;if(n2(r)){let e,t=r.anchor,i=r.focus;if("text"===t.type&&(e=t.getNode()).selectionTransform(n,r),"text"===i.type){let t=i.getNode();e!==t&&t.selectionTransform(n,r)}}}(u,e),0!==e._dirtyType&&(l?function(e,t){let n=t._dirtyLeaves,r=e._nodeMap;for(let e of n){let t=r.get(e);nJ(t)&&t.isAttached()&&t.isSimpleText()&&!t.isUnmergeable()&&eM(t)}}(u,e):function(e,t){let n=t._dirtyLeaves,r=t._dirtyElements,i=e._nodeMap,o=eZ(),l=new Map,a=n,s=a.size,u=r,c=u.size;for(;s>0||c>0;){if(s>0){for(let e of(t._dirtyLeaves=new Set,a)){let r=i.get(e);nJ(r)&&r.isAttached()&&r.isSimpleText()&&!r.isUnmergeable()&&eM(r),void 0!==r&&rI(r,o)&&rA(t,r,l),n.add(e)}if((s=(a=t._dirtyLeaves).size)>0){rb++;continue}}for(let e of(t._dirtyLeaves=new Set,t._dirtyElements=new Map,u)){let n=e[0],a=e[1];if("root"!==n&&!a)continue;let s=i.get(n);void 0!==s&&rI(s,o)&&rA(t,s,l),r.set(n,a)}s=(a=t._dirtyLeaves).size,c=(u=t._dirtyElements).size,rb++}t._dirtyLeaves=n,t._dirtyElements=r}(u,e),rF(e),function(e,t,n,r){let i=e._nodeMap,o=t._nodeMap,l=[];for(let[e]of r){let t=o.get(e);void 0!==t&&(t.isAttached()||(rB(t)&&function e(t,n,r,i,o,l){let a=t.getFirstChild();for(;null!==a;){let t=a.__key;a.__parent===n&&(rB(a)&&e(a,t,r,i,o,l),r.has(t)||l.delete(t),o.push(t)),a=a.getNextSibling()}}(t,e,i,o,l,r),i.has(e)||r.delete(e),l.push(e)))}for(let e of l)o.delete(e);for(let e of n){let t=o.get(e);void 0===t||t.isAttached()||(i.has(e)||n.delete(e),o.delete(e))}}(s,u,e._dirtyLeaves,e._dirtyElements)),i!==e._compositionKey&&(u._flushSync=!0);let o=u._selection;if(n2(o)){let e=u._nodeMap,t=o.anchor.key,n=o.focus.key;void 0!==e.get(t)&&void 0!==e.get(n)||ex(19)}else n3(o)&&0===o._nodes.size&&(u._selection=null)}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=s,e._dirtyType=2,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void rL(e)}finally{rm=d,ry=h,rv=f,e._updating=p,rb=0}0!==e._dirtyType||function(e,t){let n=t.getEditorState()._selection,r=e._selection;if(null!==r){if(r.dirty||!r.is(n))return!0}else if(null!==n)return!0;return!1}(u,e)?u._flushSync?(u._flushSync=!1,rL(e)):c&&eD(()=>{rL(e)}):(u._flushSync=!1,c&&(r.clear(),e._deferred=[],e._pendingEditorState=null))}function rV(e,t,n){e._updating?e._updates.push([t,n]):rO(e,t,n)}class rH extends nE{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(){return eg[this.getFormat()]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){let e=[],t=this.getFirstChild();for(;null!==t;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){let e=rS()._dirtyElements;return null!==e&&e.has(this.__key)}isLastChild(){let e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return null!==t&&t.is(e)}getAllTextNodes(){let e=[],t=this.getFirstChild();for(;null!==t;){if(nJ(t)&&e.push(t),rB(t)){let n=t.getAllTextNodes();e.push(...n)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;rB(e);){let t=e.getFirstChild();if(null===t)break;e=t}return e}getLastDescendant(){let e=this.getLastChild();for(;rB(e);){let t=e.getLastChild();if(null===t)break;e=t}return e}getDescendantByIndex(e){let t=this.getChildren(),n=t.length;if(e>=n){let e=t[n-1];return rB(e)&&e.getLastDescendant()||e||null}let r=t[e];return rB(r)&&r.getFirstDescendant()||r||null}getFirstChild(){let e=this.getLatest().__first;return null===e?null:eq(e)}getFirstChildOrThrow(){let e=this.getFirstChild();return null===e&&ex(45,this.__key),e}getLastChild(){let e=this.getLatest().__last;return null===e?null:eq(e)}getLastChildOrThrow(){let e=this.getLastChild();return null===e&&ex(96,this.__key),e}getChildAtIndex(e){let t,n,r=this.getChildrenSize();if(e<r/2){for(t=this.getFirstChild(),n=0;null!==t&&n<=e;){if(n===e)return t;t=t.getNextSibling(),n++}return null}for(t=this.getLastChild(),n=r-1;null!==t&&n>=e;){if(n===e)return t;t=t.getPreviousSibling(),n--}return null}getTextContent(){let e="",t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let i=t[r];e+=i.getTextContent(),rB(i)&&r!==n-1&&!i.isInline()&&(e+="\n\n")}return e}getTextContentSize(){let e=0,t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){let i=t[r];e+=i.getTextContentSize(),rB(i)&&r!==n-1&&!i.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}hasFormat(e){if(""!==e){let t=ep[e];return!!(this.getFormat()&t)}return!1}select(e,t){r_();let n=rs(),r=e,i=t,o=this.getChildrenSize();if(!this.canBeEmpty()){if(0===e&&0===t){let e=this.getFirstChild();if(nJ(e)||rB(e))return e.select(0,0)}
7else if((void 0===e||e===o)&&(void 0===t||t===o)){let e=this.getLastChild();if(nJ(e)||rB(e))return e.select()}}void 0===r&&(r=o),void 0===i&&(i=o);let l=this.__key;return n2(n)?(n.anchor.set(l,r,"element"),n.focus.set(l,i,"element"),n.dirty=!0,n):ri(l,r,l,i,"element","element")}selectStart(){let e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){let e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){let e=this.getWritable();return this.getChildren().forEach(e=>e.remove()),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){let t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=""!==e?ep[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,n){let r=n.length,i=this.getChildrenSize(),o=this.getWritable(),l=o.__key,a=[],s=[],u=this.getChildAtIndex(e+t),c=null,d=i-t+r;if(0!==e)if(e===i)c=this.getLastChild();else{let t=this.getChildAtIndex(e);null!==t&&(c=t.getPreviousSibling())}if(t>0){let e=null===c?this.getFirstChild():c.getNextSibling();for(let n=0;n<t;n++){null===e&&ex(100);let t=e.getNextSibling(),n=e.__key;eU(e.getWritable()),s.push(n),e=t}}let h=c;for(let e=0;e<r;e++){let t=n[e];null!==h&&t.is(h)&&(c=h=h.getPreviousSibling());let r=t.getWritable();r.__parent===l&&d--,eU(r);let i=t.__key;if(null===h)o.__first=i,r.__prev=null;else{let e=h.getWritable();e.__next=i,r.__prev=e.__key}t.__key===l&&ex(76),r.__parent=l,a.push(i),h=t}if(e+t===i)null!==h&&(h.getWritable().__next=null,o.__last=h.__key);else if(null!==u){let e=u.getWritable();if(null!==h){let t=h.getWritable();e.__prev=h.__key,t.__next=u.__key}else e.__prev=null}if(o.__size=d,s.length){let e=rs();if(n2(e)){let t=new Set(s),n=new Set(a),{anchor:r,focus:i}=e;rz(r,t,n)&&rh(r,r.getNode(),this,c,u),rz(i,t,n)&&rh(i,i.getNode(),this,c,u),0!==d||this.canBeEmpty()||tv(this)||this.remove()}}return o}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,n){return!1}canMergeWhenEmpty(){return!1}}function rB(e){return e instanceof rH}function rz(e,t,n){let r=e.getNode();for(;r;){let e=r.__key;if(t.has(e)&&!n.has(e))return!0;r=r.getParent()}return!1}class rj extends nE{constructor(e){super(e)}decorate(e,t){ex(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function rW(e){return e instanceof rj}class r$ extends rH{static getType(){return"root"}static clone(){return new r$}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){ex(51)}getTextContent(){let e=this.__cachedText;return(rC()||0===rS()._dirtyType)&&null!==e?e:super.getTextContent()}remove(){ex(52)}replace(e){ex(53)}insertBefore(e){ex(54)}insertAfter(e){ex(55)}updateDOM(e,t){return!1}append(...e){for(let t=0;t<e.length;t++){let n=e[t];rB(n)||rW(n)||ex(56)}return super.append(...e)}static importJSON(e){let t=e0();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 rU(e){return e instanceof r$}function rJ(){return new rK(new Map([["root",new r$]]))}class rK{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(e,t){return rN(t&&t.editor||null,this,e)}clone(e){let t=new rK(this._nodeMap,void 0===e?this._selection:e);return t._readOnly=!0,t}toJSON(){return rN(null,this,()=>({root:function e(t){let n=t.exportJSON(),r=t.constructor;if(n.type!==r.getType()&&ex(130,r.name),rB(t)){let i=n.children;Array.isArray(i)||ex(59,r.name);let o=t.getChildren();for(let t=0;t<o.length;t++){let n=e(o[t]);i.push(n)}}return n}(e0())}))}}class rZ extends rH{static getType(){return"artificial"}createDOM(e){return document.createElement("div")}}class rq extends rH{constructor(e){super(e),this.__textFormat=0,this.__textStyle=""}static getType(){return"paragraph"}getTextFormat(){return this.getLatest().__textFormat}setTextFormat(e){let t=this.getWritable();return t.__textFormat=e,t}hasTextFormat(e){let t=eh[e];return!!(this.getTextFormat()&t)}getTextStyle(){return this.getLatest().__textStyle}setTextStyle(e){let t=this.getWritable();return t.__textStyle=e,t}static clone(e){return new rq(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}createDOM(e){let t=document.createElement("p"),n=ta(e.theme,"paragraph");return void 0!==n&&t.classList.add(...n),t}updateDOM(e,t,n){return!1}static importDOM(){return{p:e=>({conversion:rG,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if(t&&tE(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();t.style.textAlign=e;let n=this.getDirection();n&&(t.dir=n);let r=this.getIndent();r>0&&(t.style.textIndent=20*r+"px")}return{element:t}}static importJSON(e){let t=rY();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){let n=rY();n.setTextFormat(e.format),n.setTextStyle(e.style);let r=this.getDirection();return n.setDirection(r),n.setFormat(this.getFormatType()),n.setStyle(this.getTextStyle()),this.insertAfter(n,t),n}collapseAtStart(){let e=this.getChildren();if(0===e.length||nJ(e[0])&&""===e[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return!1}}function rG(e){let t=rY();if(e.style){t.setFormat(e.style.textAlign);let n=parseInt(e.style.textIndent,10)/20;n>0&&t.setIndent(n)}return{node:t}}function rY(){return ty(new rq)}function rX(e){return e instanceof rq}let rQ=0,r0=1,r1=3,r5=4;function r2(e,t,n,r){let i=e._keyToDOMMap;i.clear(),e._editorState=rJ(),e._pendingEditorState=r,e._compositionKey=null,e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),e._normalizedNodes=new Set,e._updateTags=new Set,e._updates=[],e._blockCursorElement=null;let o=e._observer;null!==o&&(o.disconnect(),e._observer=null),null!==t&&(t.textContent=""),null!==n&&(n.textContent="",i.set("root",n))}function r9(e){var t,n;let r,i,o,l,a=e||{},s=rv,u=a.theme||{},c=void 0===e?s:a.parentEditor||null,d=a.disableEvents||!1,h=rJ(),f=a.namespace||(null!==c?c._config.namespace:e7()),p=a.editorState,g=[r$,nO,nS,nZ,rq,rZ,...a.nodes||[]],{onError:m,html:v}=a,y=void 0===a.editable||a.editable;if(void 0===e&&null!==s)r=s._nodes;else{r=new Map;for(let e=0;e<g.length;e++){let t=g[e],n=null,i=null;if("function"!=typeof t){let e=t;t=e.replace,n=e.with,i=e.withKlass||null}let o=t.getType(),l=t.transform(),a=new Set;null!==l&&a.add(l),r.set(o,{exportDOM:v&&v.export?v.export.get(t):void 0,klass:t,replace:n,replaceWithKlass:i,transforms:a})}}let x=new r3(h,c,r,{disableEvents:d,namespace:f,theme:u},m||console.error,(t=r,n=v?v.import:void 0,i=new Map,o=new Set,l=e=>{Object.keys(e).forEach(t=>{let n=i.get(t);void 0===n&&(n=[],i.set(t,n)),n.push(e[t])})}
7,t.forEach(e=>{let t=e.klass.importDOM;if(null==t||o.has(t))return;o.add(t);let n=t.call(e.klass);null!==n&&l(n)}),n&&l(n),i),y);return void 0!==p&&(x._pendingEditorState=p,x._dirtyType=2),x}class r3{constructor(e,t,n,r,i,o,l){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=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,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=e7(),this._onError=i,this._htmlConversions=o,this._editable=l,this._headless=null!==t&&t._headless,this._window=null,this._blockCursorElement=null}isComposing(){return null!=this._compositionKey}registerUpdateListener(e){let t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){let t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){let t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){let t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){let t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,n){void 0===n&&ex(35);let r=this._commands;r.has(e)||r.set(e,[new Set,new Set,new Set,new Set,new Set]);let i=r.get(e);void 0===i&&ex(36,String(e));let o=i[n];return o.add(t),()=>{o.delete(t),i.every(e=>0===e.size)&&r.delete(e)}}registerMutationListener(e,t,n){let r=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(e)).klass,i=this._listeners.mutation;i.set(t,r);let o=n&&n.skipInitialization;return void 0===o||o||this.initializeMutationListener(t,r),()=>{i.delete(t)}}getRegisteredNode(e){let t=this._nodes.get(e.getType());return void 0===t&&ex(37,e.name),t}resolveRegisteredNodeAfterReplacements(e){for(;e.replaceWithKlass;)e=this.getRegisteredNode(e.replaceWithKlass);return e}initializeMutationListener(e,t){let n=this._editorState,r=(function(e){if(!e._readOnly&&e.isEmpty())return tN;e._readOnly||ex(192);let t=tP.get(e);if(!t)for(let[n,r]of(t=new Map,tP.set(e,t),e._nodeMap)){let e=r.__type,i=t.get(e);i||(i=new Map,t.set(e,i)),i.set(n,r)}return t})(n).get(t.getType());if(!r)return;let i=new Map;for(let e of r.keys())i.set(e,"created");i.size>0&&e(i,{dirtyLeaves:new Set,prevEditorState:n,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(e,t){let n=this.getRegisteredNode(e);return n.transforms.add(t),n}registerNodeTransform(e,t){var n;let r=this.registerNodeTransformToKlass(e,t),i=[r],o=r.replaceWithKlass;if(null!=o){let e=this.registerNodeTransformToKlass(o,t);i.push(e)}return n=e.getType(),rV(this,()=>{let e=rE();if(!e.isEmpty()){if("root"===n)return void e0().markDirty();for(let[,t]of e._nodeMap)t.markDirty()}},null===this._pendingEditorState?{tag:"history-merge"}:void 0),()=>{i.forEach(e=>e.transforms.delete(t))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return rR(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){let t=this._rootElement;if(e!==t){let n=ta(this._config.theme,"root"),r=this._pendingEditorState||this._editorState;if(this._rootElement=e,r2(this,t,e,r),null!==t&&(this._config.disableEvents||function(e){let t=e.ownerDocument,n=ns.get(t);void 0===n&&ex(162);let r=n-1;r>=0||ex(164),ns.set(t,r),0===r&&t.removeEventListener("selectionchange",nw);let i=eH(e);eO(i)?(!function(e){if(null!==e._parentEditor){let t=e8(e),n=t[t.length-1]._key;nb.get(n)===e&&nb.delete(n)}else nb.delete(e._key)}(i),e.__lexicalEditor=null):i&&ex(198);let o=nx(e);for(let e=0;e<o.length;e++)o[e]();e.__lexicalEventHandles=[]}(t),null!=n&&t.classList.remove(...n)),null!==e){let t,r=(t=e.ownerDocument)&&t.defaultView||null,i=e.style;i.userSelect="text",i.whiteSpace="pre-wrap",i.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=r,this._dirtyType=2,eT(this),this._updateTags.add("history-merge"),rL(this),this._config.disableEvents||function(e,t){let n=e.ownerDocument,r=ns.get(n);(void 0===r||r<1)&&n.addEventListener("selectionchange",nw),ns.set(n,(r||0)+1),e.__lexicalEditor=t;let i=nx(e);for(let n=0;n<nr.length;n++){let[r,o]=nr[n],l="function"==typeof o?e=>{n_(e)||(nC(e),(t.isEditable()||"click"===r)&&o(e,t))}:e=>{if(n_(e))return;nC(e);let n=t.isEditable();switch(r){case"cut":return n&&rR(t,B,e);case"copy":return rR(t,H,e);case"paste":return n&&rR(t,d,e);case"dragstart":return n&&rR(t,F,e);case"dragover":return n&&rR(t,O,e);case"dragend":return n&&rR(t,V,e);case"focus":return n&&rR(t,J,e);case"blur":return n&&rR(t,K,e);case"drop":return n&&rR(t,D,e)}};e.addEventListener(r,l),i.push(()=>{e.removeEventListener(r,l)})}}(e,this),null!=n&&e.classList.add(...n)}else this._editorState=r,this._pendingEditorState=null,this._window=null;rD("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&ex(38),eS(this);
7let n=this._pendingEditorState,r=this._updateTags,i=void 0!==t?t.tag:null;null===n||n.isEmpty()||(null!=i&&r.add(i),rL(this)),this._pendingEditorState=e,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=i&&r.add(i),rL(this)}parseEditorState(e,t){return function(e,t,n){let r=rJ(),i=rm,o=ry,l=rv,a=t._dirtyElements,s=t._dirtyLeaves,u=t._cloneNotNeeded,c=t._dirtyType;t._dirtyElements=new Map,t._dirtyLeaves=new Set,t._cloneNotNeeded=new Set,t._dirtyType=0,rm=r,ry=!1,rv=t;try{let i=t._nodes;rP(e.root,i),n&&n(),r._readOnly=!0}catch(e){e instanceof Error&&t._onError(e)}finally{t._dirtyElements=a,t._dirtyLeaves=s,t._cloneNotNeeded=u,t._dirtyType=c,rm=i,ry=o,rv=l}return r}("string"==typeof e?JSON.parse(e):e,this,t)}read(e){return rL(this),this.getEditorState().read(e,{editor:this})}update(e,t){rV(this,e,t)}focus(e,t={}){let n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),rV(this,()=>{let e=rs(),n=e0();null!==e?e.dirty=!0:0!==n.getChildrenSize()&&("rootStart"===t.defaultSelection?n.selectStart():n.selectEnd())},{onUpdate:()=>{n.removeAttribute("autocapitalize"),e&&e()},tag:"focus"}),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"))}blur(){let e=this._rootElement;null!==e&&e.blur();let t=tC(this._window);null!==t&&t.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,rD("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}r3.version="0.17.1+prod.esm"},30466:(e,t,n)=>{"use strict";n.d(t,{f:()=>l});var r=n(8938);let i=[];var o=n(49922);function l(e,t){var n,l,a,s;let u,c,d,h,f,p,g=!1;return"function"==typeof(n=function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return g=!0,!1})?(c=void 0,d=n):(c=n,d=void 0),u=void 0,l=c,a=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return d(e,r,n)},s=u,"function"==typeof l&&"function"!=typeof a?(s=a,a=l):h=l,f=(0,r.C)(h),p=s?-1:1,(function e(t,n,r){let o=t&&"object"==typeof t?t:{};if("string"==typeof o.type){let e="string"==typeof o.tagName?o.tagName:"string"==typeof o.name?o.name:void 0;Object.defineProperty(u,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return u;function u(){var o;let u,c,d,h=i;if((!l||f(t,n,r[r.length-1]||void 0))&&!1===(h=Array.isArray(o=a(t,r))?o:"number"==typeof o?[!0,o]:null==o?i:[o])[0])return h;if("children"in t&&t.children&&t.children&&"skip"!==h[0])for(c=(s?t.children.length:-1)+p,d=r.concat(t);c>-1&&c<t.children.length;){if(!1===(u=e(t.children[c],c,d)())[0])return u;c="number"==typeof u[1]?u[1]:c+p}return h}})(e,void 0,[])(),!!((!e.depth||e.depth<3)&&(0,o.d)(e)&&(t.options.setext||g))}},30927:(e,t,n)=>{"use strict";n.d(t,{C1:()=>H,bL:()=>O,q7:()=>V});var r=n(53239),i=n(41375),o=n(82850),l=n(76200),a=n(85417),s=n(57120),u=n(3503),c=n(96371),d=n(44627),h=n(46707),f=n(85223),p=n(80263),g="Radio",[m,v]=(0,l.A)(g),[y,x]=m(g),b=r.forwardRef((e,t)=>{let{__scopeRadio:n,name:l,checked:s=!1,required:u,disabled:c,value:d="on",onCheck:h,form:f,...g}=e,[m,v]=r.useState(null),x=(0,o.s)(t,e=>v(e)),b=r.useRef(!1),w=!m||f||!!m.closest("form");return(0,p.jsxs)(y,{scope:n,checked:s,disabled:c,children:[(0,p.jsx)(a.sG.button,{type:"button",role:"radio","aria-checked":s,"data-state":k(s),"data-disabled":c?"":void 0,disabled:c,value:d,...g,ref:x,onClick:(0,i.mK)(e.onClick,e=>{s||h?.(),w&&(b.current=e.isPropagationStopped(),b.current||e.stopPropagation())})}),w&&(0,p.jsx)(_,{control:m,bubbles:!b.current,name:l,value:d,checked:s,required:u,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});b.displayName=g;var w="RadioIndicator",C=r.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:r,...i}=e,o=x(w,n);return(0,p.jsx)(f.C,{present:r||o.checked,children:(0,p.jsx)(a.sG.span,{"data-state":k(o.checked),"data-disabled":o.disabled?"":void 0,...i,ref:t})})});C.displayName=w;var _=r.forwardRef(({__scopeRadio:e,control:t,checked:n,bubbles:i=!0,...l},s)=>{let u=r.useRef(null),c=(0,o.s)(u,s),f=(0,h.Z)(n),g=(0,d.X)(t);return r.useEffect(()=>{let e=u.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==n&&t){let r=new Event("click",{bubbles:i});t.call(e,n),e.dispatchEvent(r)}},[f,n,i]),(0,p.jsx)(a.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:n,...l,tabIndex:-1,ref:c,style:{...l.style,...g,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function k(e){return e?"checked":"unchecked"}_.displayName="RadioBubbleInput";var E=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],S="RadioGroup",[T,A]=(0,l.A)(S,[s.RG,v]),I=(0,s.RG)(),M=v(),[P,N]=T(S),L=r.forwardRef((e,t)=>
7{let{__scopeRadioGroup:n,name:r,defaultValue:i,value:o,required:l=!1,disabled:d=!1,orientation:h,dir:f,loop:g=!0,onValueChange:m,...v}=e,y=I(n),x=(0,c.jH)(f),[b,w]=(0,u.i)({prop:o,defaultProp:i??null,onChange:m,caller:S});return(0,p.jsx)(P,{scope:n,name:r,required:l,disabled:d,value:b,onValueChange:w,children:(0,p.jsx)(s.bL,{asChild:!0,...y,orientation:h,dir:x,loop:g,children:(0,p.jsx)(a.sG.div,{role:"radiogroup","aria-required":l,"aria-orientation":h,"data-disabled":d?"":void 0,dir:x,...v,ref:t})})})});L.displayName=S;var D="RadioGroupItem",R=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,disabled:l,...a}=e,u=N(D,n),c=u.disabled||l,d=I(n),h=M(n),f=r.useRef(null),g=(0,o.s)(t,f),m=u.value===a.value,v=r.useRef(!1);return r.useEffect(()=>{let e=e=>{E.includes(e.key)&&(v.current=!0)},t=()=>v.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,p.jsx)(s.q7,{asChild:!0,...d,focusable:!c,active:m,children:(0,p.jsx)(b,{disabled:c,required:u.required,checked:m,...h,...a,name:u.name,ref:g,onCheck:()=>u.onValueChange(a.value),onKeyDown:(0,i.mK)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,i.mK)(a.onFocus,()=>{v.current&&f.current?.click()})})})});R.displayName=D;var F=r.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...r}=e,i=M(n);return(0,p.jsx)(C,{...i,...r,ref:t})});F.displayName="RadioGroupIndicator";var O=L,V=R,H=F},31597:(e,t,n)=>{"use strict";let r;function i(){return r||((r=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),r}n.d(t,{n:()=>i})},31712:()=>{var e;(e=Prism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:e},boolean:e.boolean,variable:e.variable}},34016:(e,t,n)=>{"use strict";function r(e,t,n){return">"+(n?"":" ")+e}n.d(t,{p:()=>S});var i=n(84543);function o(e,t,n,r){let o=-1;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&(0,i.q)(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" ";return"\\\n"}var l=n(56678);function a(e,t,n){return(n?"":" ")+e}function s(e){let t=e.options.quote||'"';if('"'!==t&&"'"!==t)throw Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}var u=n(14924),c=n(51271);function d(e,t,n){let r=(0,c.S)(e),i=(0,c.S)(t);return void 0===r?void 0===i?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!0}:1===r?void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!0}:{inside:!1,outside:!1}:void 0===i?{inside:!1,outside:!1}:1===i?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function h(e,t,n,r){let i=function(e){let t=e.options.emphasis||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}(n),o=n.enter("emphasis"),l=n.createTracker(r),a=l.move(i),s=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()})),c=s.charCodeAt(0),h=d(r.before.charCodeAt(r.before.length-1),c,i);h.inside&&(s=(0,u.T)(c)+s.slice(1));let f=s.charCodeAt(s.length-1),p=d(r.after.charCodeAt(0),f,i);p.inside&&(s=s.slice(0,-1)+(0,u.T)(f));let g=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},a+s+g}h.peek=function(e,t,n){return n.options.emphasis||"*"};var f=n(30466);function p(e){return e.value||""}function g(e,t,n,r){let i=s(n),o='"'===i?"Quote":"Apostrophe",l=n.enter("image"),a=n.enter("label"),u=n.createTracker(r),c=u.move("![");return c+=u.move(n.safe(e.alt,{before:c,after:"]",...u.current()})),c+=u.move("]("),a(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),c+=u.move(")"),l(),c}function m(e,t,n,r){let i=e.referenceType,o=n.enter("imageReference"),l=n.enter("label"),a=n.createTracker(r),s=a.move("!["),u=n.safe(e.alt,{before:s,after:"]",...a.current()});s+=a.move(u+"]["),l();let c=n.stack;n.stack=[],l=n.enter("reference");let d=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=c,o(),"full"!==i&&u&&u===d?"shortcut"===i?s=s.slice(0,-1):s+=a.move("]"):s+=a.move(d+"]"),s}function v(e,t,n){let r=e.value||"",i="`",o=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o<n.unsafe.length;){let e,t=n.unsafe[o],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}p.peek=function(){return"<"},g.peek=function(){return"!"},m.peek=function(){return"!"},v.peek=function(){return"`"};var y=n(49922);function x(e,t){let n=(0,y.d)(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}function b(e,t,n,r){let i,o,l=s(n),a='"'===l?"Quote":"Apostrophe",u=n.createTracker(r);if(x(e,n)){let t=n.stack;n.stack=[],i=n.enter("autolink");let r=u.move("<");return r+=u.move(n.containerPhrasing(e,{before:r,after:">",...u.current()})),r+=u.move(">"),i(),n.stack=t,r}i=n.enter("link"),o=n.enter("label");let c=u.move("[");return c+=u.move(n.containerPhrasing(e,{before:c,after:"](",...u.current()})),c+=u.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(o=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":")",...u.current()}))),o(),e.title&&(o=n.enter(`title${a}`),c+=u.move(" "+l),c+=u.move(n.safe(e.title,{before:c,after:l,...u.current()})),c+=u.move(l),o()),c+=u.move(")"),i(),c}function w(e,t,n,r){let i=e.referenceType,o=n.enter("linkReference"),l=n.enter("label"),a=n.createTracker(r),s=a.move("["),u=n.containerPhrasing(e,{before:s,after:"]",...a.current()});s+=a.move(u+"]["),l();let c=n.stack;n.stack=[],l=n.enter("reference");let d=n.safe(n.associationId(e),{before:s,after:"]",...a.current()});return l(),n.stack=c,o(),"full"!==i&&u&&u===d?"shortcut"===i?s=s.slice(0,-1):s+=a.move("]"):s+=a.move(d+"]"),s}function C(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function _(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}b.peek=function(e,t,n){return x(e,n)?"<":"["},w.peek=function(){return"["};let k=(0,n(8938).C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function E(e,t,n,r){let i=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),l=n.createTracker(r),a=l.move(i+i),s=l.move(n.containerPhrasing(e,{after:i,before:a,...l.current()})),c=s.charCodeAt(0),h=d(r.before.charCodeAt(r.before.length-1),c,i);h.inside&&(s=(0,u.T)(c)+s.slice(1));let f=s.charCodeAt(s.length-1),p=d(r.after.charCodeAt(0),f,i);p.inside&&(s=s.slice(0,-1)+(0,u.T)(f));let g=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:p.outside,before:h.outside},a+s+g}E.peek=function(e,t,n){return n.options.strong||"*"};let S={blockquote:function(e,t,n,i){let o=n.enter("blockquote"),l=n.createTracker(i);l.move("> "),l.shift(2);let a=n.indentLines(n.containerFlow(e,l.current()),r);return o(),a},break:o,code:function(e,t,n,r){let i=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",s="`"===i?"GraveAccent":"Tilde";
7if((0,l.m)(e,n)){let e=n.enter("codeIndented"),t=n.indentLines(o,a);return e(),t}let u=n.createTracker(r),c=i.repeat(Math.max(function(e,t){let n=String(e),r=n.indexOf(t),i=r,o=0,l=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}(o,i)+1,3)),d=n.enter("codeFenced"),h=u.move(c);if(e.lang){let t=n.enter(`codeFencedLang${s}`);h+=u.move(n.safe(e.lang,{before:h,after:" ",encode:["`"],...u.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${s}`);h+=u.move(" "),h+=u.move(n.safe(e.meta,{before:h,after:"\n",encode:["`"],...u.current()})),t()}return h+=u.move("\n"),o&&(h+=u.move(o+"\n")),h+=u.move(c),d(),h},definition:function(e,t,n,r){let i=s(n),o='"'===i?"Quote":"Apostrophe",l=n.enter("definition"),a=n.enter("label"),u=n.createTracker(r),c=u.move("[");return c+=u.move(n.safe(n.associationId(e),{before:c,after:"]",...u.current()})),c+=u.move("]: "),a(),!e.url||/[\0- \u007F]/.test(e.url)?(a=n.enter("destinationLiteral"),c+=u.move("<"),c+=u.move(n.safe(e.url,{before:c,after:">",...u.current()})),c+=u.move(">")):(a=n.enter("destinationRaw"),c+=u.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...u.current()}))),a(),e.title&&(a=n.enter(`title${o}`),c+=u.move(" "+i),c+=u.move(n.safe(e.title,{before:c,after:i,...u.current()})),c+=u.move(i),a()),l(),c},emphasis:h,hardBreak:o,heading:function(e,t,n,r){let i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if((0,f.f)(e,n)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),l=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),l+"\n"+(1===i?"=":"-").repeat(l.length-(Math.max(l.lastIndexOf("\r"),l.lastIndexOf("\n"))+1))}let l="#".repeat(i),a=n.enter("headingAtx"),s=n.enter("phrasing");o.move(l+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c=(0,u.T)(c.charCodeAt(0))+c.slice(1)),c=c?l+" "+c:l,n.options.closeAtx&&(c+=" "+l),s(),a(),c},html:p,image:g,imageReference:m,inlineCode:v,link:b,linkReference:w,list:function(e,t,n,r){let i=n.enter("list"),o=n.bulletCurrent,l=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):C(n),a=e.ordered?"."===l?")":".":function(e){let t=C(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),s=!!t&&!!n.bulletLastUsed&&l===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==l&&"-"!==l||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(s=!0),_(n)===l&&t){let t=-1;for(;++t<e.children.length;){let n=e.children[t];if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){s=!0;break}}}}s&&(l=a),n.bulletCurrent=l;let u=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),u},listItem:function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),o=n.bulletCurrent||C(n);t&&"list"===t.type&&t.ordered&&(o=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let l=o.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(l=4*Math.ceil(l/4));let a=n.createTracker(r);a.move(o+" ".repeat(l-o.length)),a.shift(l);let s=n.enter("listItem"),u=n.indentLines(n.containerFlow(e,a.current()),function(e,t,n){return t?(n?"":" ".repeat(l))+e:(n?o:o+" ".repeat(l-o.length))+e});return s(),u},paragraph:function(e,t,n,r){let i=n.enter("paragraph"),o=n.enter("phrasing"),l=n.containerPhrasing(e,r);return o(),i(),l},root:function(e,t,n,r){return(e.children.some(function(e){return k(e)})?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:E,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(_(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}}}
7,34028:(e,t,n)=>{"use strict";n.d(t,{$n:()=>ed,bL:()=>eu,wv:()=>ec,OY:()=>eh,sy:()=>ef});var r=n(53239),i=n(29097),o=n(73091),l=n(47219),a=n(98607),s=n(96260),u=n(46811),c=n(89760),d=n(35672),h=n(16098),f=n(80263),p="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[v,y,x]=(0,l.N)(m),[b,w]=(0,o.A)(m,[x]),[C,_]=b(m),k=r.forwardRef((e,t)=>(0,f.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(E,{...e,ref:t})})}));k.displayName=m;var E=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:o,loop:l=!1,dir:s,currentTabStopId:m,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:x,onEntryFocus:b,preventScrollOnEntryFocus:w=!1,..._}=e,k=r.useRef(null),E=(0,a.s)(t,k),S=(0,h.jH)(s),[T=null,A]=(0,d.i)({prop:m,defaultProp:v,onChange:x}),[M,P]=r.useState(!1),N=(0,c.c)(b),L=y(n),D=r.useRef(!1),[R,F]=r.useState(0);return r.useEffect(()=>{let e=k.current;if(e)return e.addEventListener(p,N),()=>e.removeEventListener(p,N)},[N]),(0,f.jsx)(C,{scope:n,orientation:o,dir:S,loop:l,currentTabStopId:T,onItemFocus:r.useCallback(e=>A(e),[A]),onItemShiftTab:r.useCallback(()=>P(!0),[]),onFocusableItemAdd:r.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>F(e=>e-1),[]),children:(0,f.jsx)(u.sG.div,{tabIndex:M||0===R?-1:0,"data-orientation":o,..._,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,i.m)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,i.m)(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(p,g);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable);I([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),w)}}D.current=!1}),onBlur:(0,i.m)(e.onBlur,()=>P(!1))})})}),S="RovingFocusGroupItem",T=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:o=!0,active:l=!1,tabStopId:a,...c}=e,d=(0,s.B)(),h=a||d,p=_(S,n),g=p.currentTabStopId===h,m=y(n),{onFocusableItemAdd:x,onFocusableItemRemove:b}=p;return r.useEffect(()=>{if(o)return x(),()=>b()},[o,x,b]),(0,f.jsx)(v.ItemSlot,{scope:n,id:h,focusable:o,active:l,children:(0,f.jsx)(u.sG.span,{tabIndex:g?0:-1,"data-orientation":p.orientation,...c,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{o?p.onItemFocus(h):e.preventDefault()}),onFocus:(0,i.m)(e.onFocus,()=>p.onItemFocus(h)),onKeyDown:(0,i.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return A[i]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=m().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=p.loop?(n=i,r=o+1,n.map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>I(i))}})})})});T.displayName=S;var A={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function I(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var M="horizontal",P=["horizontal","vertical"],N=r.forwardRef((e,t)=>{var n;let{decorative:r,orientation:i=M,...o}=e,l=(n=i,P.includes(n))?i:M;return(0,f.jsx)(u.sG.div,{"data-orientation":l,...r?{role:"none"}:{"aria-orientation":"vertical"===l?l:void 0,role:"separator"},...o,ref:t})});N.displayName="Separator";var L=r.forwardRef((e,t)=>
7{let{pressed:n,defaultPressed:r=!1,onPressedChange:o,...l}=e,[a=!1,s]=(0,d.i)({prop:n,onChange:o,defaultProp:r});return(0,f.jsx)(u.sG.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0,...l,ref:t,onClick:(0,i.m)(e.onClick,()=>{e.disabled||s(!a)})})});L.displayName="Toggle";var D="ToggleGroup",[R,F]=(0,o.A)(D,[w]),O=w(),V=r.forwardRef((e,t)=>{let{type:n,...r}=e;if("single"===n)return(0,f.jsx)(z,{...r,ref:t});if("multiple"===n)return(0,f.jsx)(j,{...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${D}\``)});V.displayName=D;var[H,B]=R(D),z=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[a,s]=(0,d.i)({prop:n,defaultProp:i,onChange:o});return(0,f.jsx)(H,{scope:e.__scopeToggleGroup,type:"single",value:a?[a]:[],onItemActivate:s,onItemDeactivate:r.useCallback(()=>s(""),[s]),children:(0,f.jsx)(U,{...l,ref:t})})}),j=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[a=[],s]=(0,d.i)({prop:n,defaultProp:i,onChange:o}),u=r.useCallback(e=>s((t=[])=>[...t,e]),[s]),c=r.useCallback(e=>s((t=[])=>t.filter(t=>t!==e)),[s]);return(0,f.jsx)(H,{scope:e.__scopeToggleGroup,type:"multiple",value:a,onItemActivate:u,onItemDeactivate:c,children:(0,f.jsx)(U,{...l,ref:t})})});V.displayName=D;var[W,$]=R(D),U=r.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:o,dir:l,loop:a=!0,...s}=e,c=O(n),d=(0,h.jH)(l),p={role:"group",dir:d,...s};return(0,f.jsx)(W,{scope:n,rovingFocus:i,disabled:r,children:i?(0,f.jsx)(k,{asChild:!0,...c,orientation:o,dir:d,loop:a,children:(0,f.jsx)(u.sG.div,{...p,ref:t})}):(0,f.jsx)(u.sG.div,{...p,ref:t})})}),J="ToggleGroupItem",K=r.forwardRef((e,t)=>{let n=B(J,e.__scopeToggleGroup),i=$(J,e.__scopeToggleGroup),o=O(e.__scopeToggleGroup),l=n.value.includes(e.value),a=i.disabled||e.disabled,s={...e,pressed:l,disabled:a},u=r.useRef(null);return i.rovingFocus?(0,f.jsx)(T,{asChild:!0,...o,focusable:!a,active:l,ref:u,children:(0,f.jsx)(Z,{...s,ref:t})}):(0,f.jsx)(Z,{...s,ref:t})});K.displayName=J;var Z=r.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:r,...i}=e,o=B(J,n),l={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},a="single"===o.type?l:void 0;return(0,f.jsx)(L,{...a,...i,ref:t,onPressedChange:e=>{e?o.onItemActivate(r):o.onItemDeactivate(r)}})}),q="Toolbar",[G,Y]=(0,o.A)(q,[w,F]),X=w(),Q=F(),[ee,et]=G(q),en=r.forwardRef((e,t)=>{let{__scopeToolbar:n,orientation:r="horizontal",dir:i,loop:o=!0,...l}=e,a=X(n),s=(0,h.jH)(i);return(0,f.jsx)(ee,{scope:n,orientation:r,dir:s,children:(0,f.jsx)(k,{asChild:!0,...a,orientation:r,dir:s,loop:o,children:(0,f.jsx)(u.sG.div,{role:"toolbar","aria-orientation":r,dir:s,...l,ref:t})})})});en.displayName=q;var er="ToolbarSeparator",ei=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=et(er,n);return(0,f.jsx)(N,{orientation:"horizontal"===i.orientation?"vertical":"horizontal",...r,ref:t})});ei.displayName=er;var eo=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=X(n);return(0,f.jsx)(T,{asChild:!0,...i,focusable:!e.disabled,children:(0,f.jsx)(u.sG.button,{type:"button",...r,ref:t})})});eo.displayName="ToolbarButton",r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,o=X(n);return(0,f.jsx)(T,{asChild:!0,...o,focusable:!0,children:(0,f.jsx)(u.sG.a,{...r,ref:t,onKeyDown:(0,i.m)(e.onKeyDown,e=>{" "===e.key&&e.currentTarget.click()})})})}).displayName="ToolbarLink";var el="ToolbarToggleGroup",ea=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=et(el,n),o=Q(n);return(0,f.jsx)(V,{"data-orientation":i.orientation,dir:i.dir,...o,...r,ref:t,rovingFocus:!1})});ea.displayName=el;var es=r.forwardRef((e,t)=>{let{__scopeToolbar:n,...r}=e,i=Q(n),o={__scopeToolbar:e.__scopeToolbar};return(0,f.jsx)(eo,{asChild:!0,...o,children:(0,f.jsx)(K,{...i,...r,ref:t})})});es.displayName="ToolbarToggleItem";var eu=en,ec=ei,ed=eo,eh=ea,ef=es},34199:(e,t,n)=>{var r=n(96409),i=n(22363);e.exports=function e(t,n,o,l,a){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,l,e,a):t!=t&&n!=n)}},35333:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2301),i=n(41261);let o=(0,n(18003).A)("MuiBox",["root"]),l=(0,i.A)({defaultClassName:o.root,generateClassName:r.A.generate})}
7,35588:(e,t,n)=>{"use strict";n.d(t,{Bt:()=>g,HE:()=>h,OV:()=>b,Pe:()=>m,Sd:()=>c,ZB:()=>d,cj:()=>v,eu:()=>f,mB:()=>p,xj:()=>y,zD:()=>x});var r,i=n(29641),o=(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;let l="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,a=l&&"documentMode"in document?document.documentMode:null,s=(l&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),l&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent));function u(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}function c(...e){return()=>{for(let t=e.length-1;t>=0;t--)e[t]();e.length=0}}function d(e,...t){let n=u(...t);n.length>0&&e.classList.add(...n)}function h(e,...t){let n=u(...t);n.length>0&&e.classList.remove(...n)}function f(e,t){let n=e;for(;null!=n;){if(n instanceof t)return n;n=n.getParent()}return null}function p(e){let t=g(e,e=>(0,i.ff)(e)&&!e.isInline());return(0,i.ff)(t)||o(4,e.__key),t}l&&"InputEvent"in window&&!a&&new window.InputEvent("input"),l&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),l&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,l&&/Android/.test(navigator.userAgent),l&&/^(?=.*Chrome).*/i.test(navigator.userAgent),l&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent);let g=(e,t)=>{let n=e;for(;n!==(0,i.Ni)()&&null!=n;){if(t(n))return n;n=n.getParent()}return null};function m(e){let t=(0,i.vJ)()||(0,i.S1)();if((0,i.I2)(t)){let{focus:n}=t,r=n.getNode(),o=n.offset;if((0,i.Iq)(r)){let t=r.getChildAtIndex(o);null==t?r.append(e):t.insertBefore(e),e.selectNext()}else{let t,n;(0,i.kF)(r)?(t=r.getParentOrThrow(),n=r.getIndexWithinParent(),o>0&&(n+=1,r.splitText(o))):(t=r,n=o);let[,l]=(0,i.hc)(t,n);l.insertBefore(e),l.selectStart()}}else{if(null!=t){let n=t.getNodes();n[n.length-1].getTopLevelElementOrThrow().insertAfter(e)}else(0,i.Ni)().append(e);let n=(0,i.lJ)();e.insertAfter(n),n.select()}return e.getLatest()}function v(e,t){let n=t();return e.replace(n),n.append(e),n}function y(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name}function x(e,t){let n=[];for(let r=0;r<e.length;r++){let i=t(e[r]);null!==i&&n.push(i)}return n}function b(e){if(s)return 1;let t=1;for(;e;)t*=Number(window.getComputedStyle(e).getPropertyValue("zoom")),e=e.parentElement;return t}},36239:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}n.d(t,{i:()=>r})},36529:(e,t,n)=>{"use strict";function r(e,t,n,r){let i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let o=Object.keys(e),l=Object.keys(t);if(o.length!==l.length)return!1;let a=Object.prototype.hasOwnProperty.bind(t);for(let l=0;l<o.length;l++){let s=o[l];if(!a(s))return!1;let u=e[s],c=t[s];if(!1===(i=n?n.call(r,u,c,s):void 0)||void 0===i&&u!==c)return!1}return!0}n.d(t,{b:()=>r})},37149:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(53239),i=n(86281),o=n(71849),l=n(60267),a=n(80263);function s(e){return e.substring(2).toLowerCase()}function u(e){let{children:t,disableReactTree:n=!1,mouseEvent:u="onClick",onClickAway:c,touchEvent:d="onTouchEnd"}=e,h=r.useRef(!1),f=r.useRef(null),p=r.useRef(!1),g=r.useRef(!1);r.useEffect(()=>(setTimeout(()=>{p.current=!0},0),()=>{p.current=!1}),[]);let m=(0,i.A)(t.ref,f),v=(0,o.A)(e=>{let t=g.current;g.current=!1;let r=(0,l.A)(f.current);if(!(!p.current||!f.current||"clientX"in e&&(r.documentElement.clientWidth<e.clientX||r.documentElement.clientHeight<e.clientY))){if(h.current){h.current=!1;return}(e.composedPath?e.composedPath().indexOf(f.current)>-1:!r.documentElement.contains(e.target)||f.current.contains(e.target))||!n&&t||c(e)}}),y=e=>n=>{g.current=!0;let r=t.props[e];r&&r(n)},x={ref:m};return!1!==d&&(x[d]=y(d)),r.useEffect(()=>{if(!1!==d){let e=s(d),t=(0,l.A)(f.current),n=()=>{h.current=!0};return t.addEventListener(e,v),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,v),t.removeEventListener("touchmove",n)}}},[v,d]),!1!==u&&(x[u]=y(u)),r.useEffect(()=>{if(!1!==u){let e=s(u),t=(0,l.A)(f.current);return t.addEventListener(e,v),()=>{t.removeEventListener(e,v)}
7}},[v,u]),(0,a.jsx)(r.Fragment,{children:r.cloneElement(t,x)})}},38896:(e,t,n)=>{"use strict";n.d(t,{FA:()=>r,Ig:()=>l,J6:()=>o,S3:()=>i,Te:()=>s,jG:()=>a,o4:()=>u});let r=1,i=2,o=4,l=8,a=16,s=32,u=64},39192:(e,t,n)=>{"use strict";n.d(t,{j:()=>d,p:()=>c});var r=n(74008),i=n(14812),o=n(53239),l=n(38896),a=n(45227),s=n(73440);let u=({format:e,addTitle:t,removeTitle:n,icon:l,formatName:s})=>{let[u,c]=(0,i.uX)(r.PI,r.yr),d=(0,i.qM)(r.C_),h=(u&e)!=0;return o.createElement(a.hf,{title:h?n:t,on:h,onValueChange:()=>{d(s)}},c(l))},c=({options:e})=>{let t=(0,r.Bd)(),n=void 0===e;return o.createElement("div",{className:s.Ay.toolbarGroupOfGroups},n||e.includes("Bold")?o.createElement(u,{format:l.FA,addTitle:t("toolbar.bold","Bold"),removeTitle:t("toolbar.removeBold","Remove bold"),icon:"format_bold",formatName:"bold"}):null,n||e.includes("Italic")?o.createElement(u,{format:l.S3,addTitle:t("toolbar.italic","Italic"),removeTitle:t("toolbar.removeItalic","Remove italic"),icon:"format_italic",formatName:"italic"}):null,n||e.includes("Underline")?o.createElement(u,{format:l.Ig,addTitle:t("toolbar.underline","Underline"),removeTitle:t("toolbar.removeUnderline","Remove underline"),icon:"format_underlined",formatName:"underline"}):null)},d=({options:e})=>{let t=(0,r.Bd)(),n=void 0===e;return o.createElement("div",{className:s.Ay.toolbarGroupOfGroups},n||e.includes("Strikethrough")?o.createElement(u,{format:l.J6,addTitle:t("toolbar.strikethrough","Strikethrough"),removeTitle:t("toolbar.removeStrikethrough","Remove strikethrough"),icon:"strikeThrough",formatName:"strikethrough"}):null,n||e.includes("Sup")?o.createElement(u,{format:l.o4,addTitle:t("toolbar.superscript","Superscript"),removeTitle:t("toolbar.removeSuperscript","Remove superscript"),icon:"superscript",formatName:"superscript"}):null,n||e.includes("Sub")?o.createElement(u,{format:l.Te,addTitle:t("toolbar.subscript","Subscript"),removeTitle:t("toolbar.removeSubscript","Remove subscript"),icon:"subscript",formatName:"subscript"}):null)}},39359:(e,t,n)=>{"use strict";n.d(t,{P:()=>l,S:()=>o});var r=n(1227),i=n(34016);function o(){return{exit:{taskListCheckValueChecked:a,taskListCheckValueUnchecked:a,paragraph:s}}}function l(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:u}}}function a(e){let t=this.stack[this.stack.length-2];(0,r.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function s(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,r.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,o=-1;for(;++o<i.length;){let e=i[o];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function u(e,t,n,r){let o=e.children[0],l="boolean"==typeof e.checked&&o&&"paragraph"===o.type,a="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);l&&s.move(a);let u=i.p.listItem(e,t,n,{...r,...s.current()});return l&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+a})),u}},39869:(e,t,n)=>{"use strict";n.d(t,{q7:()=>Q,bL:()=>X});var r=n(53239),i=n(76200);n(37034);var o=n(82850),l=n(80263);function a(e){var t;let n,i=(t=e,(n=r.forwardRef((e,t)=>{var n;let i,l,{children:a,...s}=e,u=r.isValidElement(a)?(n=a,(l=(i=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?n.ref:(l=(i=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?n.props.ref:n.props.ref||n.ref):void 0,c=(0,o.s)(u,t);if(r.isValidElement(a)){let e=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(s,a.props);return a.type!==r.Fragment&&(e.ref=c),r.cloneElement(a,e)}return r.Children.count(a)>1?r.Children.only(null):null})).displayName=`${t}.SlotClone`,n),a=r.forwardRef((e,t)=>
7{let{children:n,...o}=e,a=r.Children.toArray(n),s=a.find(u);if(s){let e=s.props.children,n=a.map(t=>t!==s?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(i,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,l.jsx)(i,{...o,ref:t,children:n})});return a.displayName=`${e}.Slot`,a}var s=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=a(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),d=n(42842),h=new WeakMap;function f(e,t){var n,r;let i,o,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(n=e,r=t,i=n.length,(l=(o=p(r))>=0?o:i+o)<0||l>=i?-1:l);return -1===a?void 0:e[a]}function p(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],h.set(this,!0)}set(e,t){return h.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,i=this.has(t),o=this.#e.length,l=p(e),a=l>=0?l:o+l,s=a<0||a>=o?-1:a;if(s===this.size||i&&s===this.size-1||-1===s)return this.set(t,n),this;let u=this.size+ +!i;l<0&&a++;let c=[...this.#e],d=!1;for(let e=a;e<u;e++)if(a===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),r=this.get(o),this.set(t,n)}else{d||c[e-1]!==t||(d=!0);let n=c[d?e:e-1],i=r;r=this.get(n),this.delete(n),this.set(n,i)}return this}with(t,n,r){let i=new e(this);return i.insert(t,n,r),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=f(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=f(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return f(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],i=0;for(let e of this)Reflect.apply(t,n,[e,i,this])&&r.push(e),i++;return new e(r)}map(t,n){let r=[],i=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,i,this])]),i++;return new e(r)}reduce(...e){let[t,n]=e,r=0,i=n??this.at(0);for(let n of this)i=0===r&&1===e.length?n:Reflect.apply(t,this,[i,n,r,this]),r++;return i}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let i=this.at(n);r=n===this.size-1&&1===e.length?i:Reflect.apply(t,this,[r,i,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,i=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(i=n-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}});var g=n(27459),m=n(67807),v=n(3503),y=n(96371),x="rovingFocusGroup.onEntryFocus",b={bubbles:!1,cancelable:!0},w="RovingFocusGroup",[C,_,k]=function(e){let t=e+"CollectionProvider",[n,s]=(0,i.A)(t),[u,c]=n(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:n}=e,i=r.useRef(null),o=r.useRef(new Map).current;return(0,l.jsx)(u,{scope:t,itemMap:o,collectionRef:i,children:n})};d.displayName=t;let h=e+"CollectionSlot",f=a(h),p=r.forwardRef((e,t)=>
7{let{scope:n,children:r}=e,i=c(h,n),a=(0,o.s)(t,i.collectionRef);return(0,l.jsx)(f,{ref:a,children:r})});p.displayName=h;let g=e+"CollectionItemSlot",m="data-radix-collection-item",v=a(g),y=r.forwardRef((e,t)=>{let{scope:n,children:i,...a}=e,s=r.useRef(null),u=(0,o.s)(t,s),d=c(g,n);return r.useEffect(()=>(d.itemMap.set(s,{ref:s,...a}),()=>void d.itemMap.delete(s))),(0,l.jsx)(v,{...{[m]:""},ref:u,children:i})});return y.displayName=g,[{Provider:d,Slot:p,ItemSlot:y},function(t){let n=c(e+"CollectionConsumer",t);return r.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},s]}(w),[E,S]=(0,i.A)(w,[k]),[T,A]=E(w),I=r.forwardRef((e,t)=>(0,l.jsx)(C.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(C.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,l.jsx)(M,{...e,ref:t})})}));I.displayName=w;var M=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:i,loop:a=!1,dir:s,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:f,onEntryFocus:p,preventScrollOnEntryFocus:g=!1,...C}=e,k=r.useRef(null),E=(0,o.s)(t,k),S=(0,y.jH)(s),[A,I]=(0,v.i)({prop:u,defaultProp:h??null,onChange:f,caller:w}),[M,P]=r.useState(!1),N=(0,m.c)(p),L=_(n),R=r.useRef(!1),[F,O]=r.useState(0);return r.useEffect(()=>{let e=k.current;if(e)return e.addEventListener(x,N),()=>e.removeEventListener(x,N)},[N]),(0,l.jsx)(T,{scope:n,orientation:i,dir:S,loop:a,currentTabStopId:A,onItemFocus:r.useCallback(e=>I(e),[I]),onItemShiftTab:r.useCallback(()=>P(!0),[]),onFocusableItemAdd:r.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>O(e=>e-1),[]),children:(0,l.jsx)(c.div,{tabIndex:M||0===F?-1:0,"data-orientation":i,...C,ref:E,style:{outline:"none",...e.style},onMouseDown:(0,d.m)(e.onMouseDown,()=>{R.current=!0}),onFocus:(0,d.m)(e.onFocus,e=>{let t=!R.current;if(e.target===e.currentTarget&&t&&!M){let t=new CustomEvent(x,b);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=L().filter(e=>e.focusable);D([e.find(e=>e.active),e.find(e=>e.id===A),...e].filter(Boolean).map(e=>e.ref.current),g)}}R.current=!1}),onBlur:(0,d.m)(e.onBlur,()=>P(!1))})})}),P="RovingFocusGroupItem",N=r.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:i=!0,active:o=!1,tabStopId:a,children:s,...u}=e,h=(0,g.B)(),f=a||h,p=A(P,n),m=p.currentTabStopId===f,v=_(n),{onFocusableItemAdd:y,onFocusableItemRemove:x,currentTabStopId:b}=p;return r.useEffect(()=>{if(i)return y(),()=>x()},[i,y,x]),(0,l.jsx)(C.ItemSlot,{scope:n,id:f,focusable:i,active:o,children:(0,l.jsx)(c.span,{tabIndex:m?0:-1,"data-orientation":p.orientation,...u,ref:t,onMouseDown:(0,d.m)(e.onMouseDown,e=>{i?p.onItemFocus(f):e.preventDefault()}),onFocus:(0,d.m)(e.onFocus,()=>p.onItemFocus(f)),onKeyDown:(0,d.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void p.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let i=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return L[i]}(e,p.orientation,p.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&i.reverse();let o=i.indexOf(e.currentTarget);i=p.loop?(n=i,r=o+1,n.map((e,t)=>n[(r+t)%n.length])):i.slice(o+1)}setTimeout(()=>D(i))}}),children:"function"==typeof s?s({isCurrentTabStop:m,hasTabStop:null!=b}):s})})});N.displayName=P;var L={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function D(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var R="Toggle",F=r.forwardRef((e,t)=>{let{pressed:n,defaultPressed:r,onPressedChange:i,...o}=e,[a,s]=(0,v.i)({prop:n,onChange:i,defaultProp:r??!1,caller:R});return(0,l.jsx)(c.button,{type:"button","aria-pressed":a,"data-state":a?"on":"off","data-disabled":e.disabled?"":void 0,...o,ref:t,onClick:(0,d.m)(e.onClick,()=>{e.disabled||s(!a)})})});F.displayName=R;var O="ToggleGroup",[V,H]=(0,i.A)(O,[S]),B=S(),z=r.forwardRef((e,t)=>
7{let{type:n,...r}=e;if("single"===n)return(0,l.jsx)($,{...r,ref:t});if("multiple"===n)return(0,l.jsx)(U,{...r,ref:t});throw Error(`Missing prop \`type\` expected on \`${O}\``)});z.displayName=O;var[j,W]=V(O),$=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...a}=e,[s,u]=(0,v.i)({prop:n,defaultProp:i??"",onChange:o,caller:O});return(0,l.jsx)(j,{scope:e.__scopeToggleGroup,type:"single",value:r.useMemo(()=>s?[s]:[],[s]),onItemActivate:u,onItemDeactivate:r.useCallback(()=>u(""),[u]),children:(0,l.jsx)(Z,{...a,ref:t})})}),U=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...a}=e,[s,u]=(0,v.i)({prop:n,defaultProp:i??[],onChange:o,caller:O}),c=r.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=r.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,l.jsx)(j,{scope:e.__scopeToggleGroup,type:"multiple",value:s,onItemActivate:c,onItemDeactivate:d,children:(0,l.jsx)(Z,{...a,ref:t})})});z.displayName=O;var[J,K]=V(O),Z=r.forwardRef((e,t)=>{let{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:i=!0,orientation:o,dir:a,loop:s=!0,...u}=e,d=B(n),h=(0,y.jH)(a),f={role:"group",dir:h,...u};return(0,l.jsx)(J,{scope:n,rovingFocus:i,disabled:r,children:i?(0,l.jsx)(I,{asChild:!0,...d,orientation:o,dir:h,loop:s,children:(0,l.jsx)(c.div,{...f,ref:t})}):(0,l.jsx)(c.div,{...f,ref:t})})}),q="ToggleGroupItem",G=r.forwardRef((e,t)=>{let n=W(q,e.__scopeToggleGroup),i=K(q,e.__scopeToggleGroup),o=B(e.__scopeToggleGroup),a=n.value.includes(e.value),s=i.disabled||e.disabled,u={...e,pressed:a,disabled:s},c=r.useRef(null);return i.rovingFocus?(0,l.jsx)(N,{asChild:!0,...o,focusable:!s,active:a,ref:c,children:(0,l.jsx)(Y,{...u,ref:t})}):(0,l.jsx)(Y,{...u,ref:t})});G.displayName=q;var Y=r.forwardRef((e,t)=>{let{__scopeToggleGroup:n,value:r,...i}=e,o=W(q,n),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},s="single"===o.type?a:void 0;return(0,l.jsx)(F,{...s,...i,ref:t,onPressedChange:e=>{e?o.onItemActivate(r):o.onItemDeactivate(r)}})}),X=z,Q=G},41606:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(59868),i=n(75971),o=n(53239),l=n(40714),a=n(19085),s=n(61957),u=n(18306),c=n(56499),d=n(57550),h=n(18003),f=n(28747);function p(e){return(0,f.Ay)("MuiTab",e)}let g=(0,h.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);var m=n(80263);let v=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],y=(0,d.Ay)(s.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,u.A)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${g.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>(0,i.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${g.iconWrapper}`]:(0,i.A)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${g.selected}`]:{opacity:1},[`&.${g.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${g.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${g.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),x=o.forwardRef(function(e,t){let n=(0,c.b)({props:e,name:"MuiTab"}),{className:s,disabled:d=!1,disableFocusRipple:h=!1,fullWidth:f,icon:g,iconPosition:x="top",indicator:b,label:w,onChange:C,onClick:_,onFocus:k,selected:E,selectionFollowsFocus:S,textColor:T="inherit",value:A,wrapped:I=!1}=n,M=(0,r.A)(n,v),P=(0,i.A)({},n,{disabled:d,disableFocusRipple:h,selected:E,icon:!!g,iconPosition:x,label:!!w,fullWidth:f,textColor:T,wrapped:I}),N=(e=>{let{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:l,selected:s,disabled:c}=e,d={root:["root",o&&l&&"labelIcon",`textColor${(0,u.A)(n)}`,r&&"fullWidth",i&&"wrapped",s&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return(0,a.A)(d,p,t)})(P),L=g&&w&&o.isValidElement(g)?o.cloneElement(g,{className:(0,l.A)(N.iconWrapper,g.props.className)}):g;return(0,m.jsxs)(y,(0,i.A)({focusRipple:!h,className:(0,l.A)(N.root,s),ref:t,role:"tab","aria-selected":E,disabled:d,onClick:e=>{!E&&C&&C(e,A),_&&_(e)},onFocus:e=>{S&&!E&&C&&C(e,A),k&&k(e)},ownerState:P,tabIndex:E?0:-1},M,{children:["top"===x||"start"===x?(0,m.jsxs)(o.Fragment,{children:[L,w]}):(0,m.jsxs)(o.Fragment,{children:[w,L]}),b]}))})},42309:(e,t,n)=>{"use strict";n.d(t,{bL:()=>x});var r=n(53239),i=n(76200),o=n(85417),l=n(80263),a="Progress",[s,u]=(0,i.A)(a),[c,d]=s(a),h=r.forwardRef((e,t)=>
7{var n,r;let{__scopeProgress:i,value:a=null,max:s,getValueLabel:u=p,...d}=e;(s||0===s)&&!v(s)&&console.error((n=`${s}`,`Invalid prop \`max\` of value \`${n}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let h=v(s)?s:100;null===a||y(a,h)||console.error((r=`${a}`,`Invalid prop \`value\` of value \`${r}\` supplied to \`Progress\`. The \`value\` prop must be: 8 - a positive number 9 - less than the value passed to \`max\` (or 100 if no \`max\` prop is set) 10 - \`null\` or \`undefined\` if the progress is indeterminate. 11 12Defaulting to \`null\`.`));let f=y(a,h)?a:null,x=m(f)?u(f,h):void 0;return(0,l.jsx)(c,{scope:i,value:f,max:h,children:(0,l.jsx)(o.sG.div,{"aria-valuemax":h,"aria-valuemin":0,"aria-valuenow":m(f)?f:void 0,"aria-valuetext":x,role:"progressbar","data-state":g(f,h),"data-value":f??void 0,"data-max":h,...d,ref:t})})});h.displayName=a;var f="ProgressIndicator";function p(e,t){return`${Math.round(e/t*100)}%`}function g(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function m(e){return"number"==typeof e}function v(e){return m(e)&&!isNaN(e)&&e>0}function y(e,t){return m(e)&&!isNaN(e)&&e<=t&&e>=0}r.forwardRef((e,t)=>{let{__scopeProgress:n,...r}=e,i=d(f,n);return(0,l.jsx)(o.sG.div,{"data-state":g(i.value,i.max),"data-value":i.value??void 0,"data-max":i.max,...r,ref:t})}).displayName=f;var x=h},42458:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?o(e.position):"start"in e||"end"in e?o(e):"line"in e||"column"in e?i(e):"":""}function i(e){return l(e&&e.line)+":"+l(e&&e.column)}function o(e){return i(e&&e.start)+"-"+i(e&&e.end)}function l(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},42842:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{m:()=>r})},43640:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82899),i=n(80263);let o=(0,r.A)((0,i.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},43863:(e,t,n)=>{"use strict";n.d(t,{O:()=>g});var r=n(53239),i=n(67889);let o={testNode:"link",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,i.zA)(e.url,{title:e.title}))}},l={testLexicalNode:i.FJ,visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("link",{url:e.getURL(),title:e.getTitle()})}};var a=n(89520),s=n(77715);let u=[(0,s.o)(/((https?:\/\/(www\.)?)|(www\.))[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/,e=>e.startsWith("http")?e:`https://${e}`),(0,s.o)(/(([^<>()[\]\\.,;:\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,}))/,e=>`mailto:${e}`)],c=()=>r.createElement(s.p,{matchers:u});var d=n(14812),h=n(94185),f=n(74008);let p=(0,d.fh)(!1),g=(0,h.Z)({init(e,t){let n=!!(null==t?void 0:t.disableAutoLink),s=(null==t?void 0:t.validateUrl)?{validateUrl:t.validateUrl}:{};e.pubIn({[f.$0]:"link",[f.R1]:o,[f.q]:[i.Db,i.k_],[f.iI]:l,[p]:n,[f.aC]:()=>r.createElement(r.Fragment,null,r.createElement(a.W,{...s}),n?null:r.createElement(c,null))})}})},44330:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(49628),i=n(29641),o=n(53239);function l(e,t){return e.getEditorState().read(()=>{let e=(0,i.ns)(t);return null!==e&&e.isSelected()})}function a(e){let[t]=(0,r.DF)(),[n,a]=(0,o.useState)(()=>l(t,e));return(0,o.useEffect)(()=>{let n=!0,r=t.registerUpdateListener(()=>{n&&a(l(t,e))});return()=>{n=!1,r()}},[t,e]),[n,(0,o.useCallback)(n=>{t.update(()=>{let t=(0,i.vJ)();(0,i.RT)(t)||(t=(0,i.rU)(),(0,i.n1)(t)),(0,i.RT)(t)&&(n?t.add(e):t.delete(e))})},[t,e]),(0,o.useCallback)(()=>{t.update(()=>{let e=(0,i.vJ)();(0,i.RT)(e)&&e.clear()})},[t])]}},44451:(e,t,n)=>{var r=n(89723);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,l=r(e),a=void 0!==t,
12s=null===t,u=t==t,c=r(t);if(!s&&!c&&!l&&e>t||l&&a&&u&&!s&&!c||i&&a&&u||!n&&u||!o)return 1;if(!i&&!l&&!c&&e<t||c&&n&&o&&!i&&!l||s&&n&&o||!a&&o||!u)return -1}return 0}},44911:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}n.d(t,{W:()=>r})},45227:(e,t,n)=>{"use strict";n.d(t,{F8:()=>g,bL:()=>d,fp:()=>m,gx:()=>h,hf:()=>p});var r,i=n(34028),o=n(11230),l=n(53239),a=n(73440),s=n(11955),u=n(74008);function c(e,t){return l.forwardRef((n,r)=>{let i=o(t.className,n.className);return l.createElement(e,{...t,...n,className:i,ref:r})})}let d=({readOnly:e,children:t,className:n})=>l.createElement(i.bL,{className:o("mdxeditor-toolbar",a.Ay.toolbarRoot,{[a.Ay.readOnlyToolbarRoot]:e},n),...e?{tabIndex:-1}:{}},t),h=(r=c(i.$n,{className:a.Ay.toolbarButton,"data-toolbar-item":!0}),({title:e,children:t,...n})=>l.createElement(r,{...n},l.createElement(s.I,{title:e},t))),f=c(i.sy,{className:a.Ay.toolbarToggleItem,"data-toolbar-item":!0});c(i.OY,{type:"single",className:a.Ay.toolbarToggleSingleGroup});let p=l.forwardRef(({on:e,title:t,children:n,disabled:r,...o},u)=>l.createElement(i.OY,{type:"single",className:a.Ay.toolbarToggleSingleGroup,...o,value:e?"on":"off",ref:u},l.createElement(f,{title:t,value:"on",disabled:r},l.createElement(s.I,{title:t},n)))),g=({items:e})=>l.createElement("div",{className:a.Ay.toolbarGroupOfGroups},e.map((e,t)=>l.createElement(p,{key:t,title:e.title,on:e.active,onValueChange:t=>{e.onChange("on"===t)},disabled:e.disabled},e.contents))),m=({value:e,onChange:t,className:n,items:r})=>{let c=(0,u.Bd)();return l.createElement("div",{className:a.Ay.toolbarGroupOfGroups},l.createElement(i.OY,{"aria-label":c("toolbar.toggleGroup","toggle group"),type:"single",className:o(a.Ay.toolbarToggleSingleGroup,n),onValueChange:t,value:e||"",onFocus:e=>{e.preventDefault()}},r.map((e,t)=>l.createElement(f,{key:t,"aria-label":e.title,value:e.value},l.createElement(s.I,{title:e.title},e.contents)))))};i.wv},46536:(e,t,n)=>{"use strict";n.d(t,{A:()=>o}),n(53239);var r=n(82899),i=n(80263);let o=(0,r.A)((0,i.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"}),"Apple")},46590:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(15893),i=n(28869),o=n(4315),l=n(15490),a=n(81281);let s=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e};var u=n(41368),c=n(41439);let d=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=(0,c.A)(e),l=void 0!==t,a=null===t,s=t==t,u=(0,c.A)(t);if(!a&&!u&&!o&&e>t||o&&l&&s&&!a&&!u||r&&l&&s||!n&&s||!i)return 1;if(!r&&!o&&!u&&e<t||u&&n&&i&&!r&&!o||a&&n&&i||!l&&i||!s)return -1}return 0},h=function(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,l=i.length,a=n.length;++r<l;){var s=d(i[r],o[r]);if(s){if(r>=a)return s;return s*("desc"==n[r]?-1:1)}}return e.index-t.index};var f=n(89033),p=n(75092);let g=function(e,t,n){t=t.length?(0,i.A)(t,function(e){return(0,p.A)(e)?function(t){return(0,o.A)(t,1===e.length?e[0]:e)}:e}):[f.A];var r=-1;return t=(0,i.A)(t,(0,u.A)(l.A)),s((0,a.A)(e,function(e,n,o){return{criteria:(0,i.A)(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return h(e,t,n)})};var m=n(96115),v=n(94505);let y=(0,m.A)(function(e,t){if(null==e)return[];var n=t.length;return n>1&&(0,v.A)(e,t[0],t[1])?t=[]:n>2&&(0,v.A)(t[0],t[1],t[2])&&(t=[t[0]]),g(e,(0,r.A)(t,1),[])})},46974:()=>{Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?
12:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript},47194:()=>{Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean},48513:(e,t,n)=>{"use strict";n.d(t,{$:()=>g});var r=n(49628),i=n(53239);let o="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function l(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>
12e.registerEditableListener(t)}}var a=n(54882),s=n(35588),u=n(37034),c=n(80263),d=n(29641),h=n(88042);let f="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;function p(e){return e.getEditorState().read((0,a.yl)(e.isComposing()))}function g({contentEditable:e,placeholder:t=null,ErrorBoundary:n}){var o;let[l]=(0,r.DF)(),a=function(e,t){let[n,r]=(0,i.useState)(()=>e.getDecorators());return f(()=>e.registerDecoratorListener(e=>{(0,u.flushSync)(()=>{r(e)})}),[e]),(0,i.useEffect)(()=>{r(e.getDecorators())},[e]),(0,i.useMemo)(()=>{let r=[],o=Object.keys(n);for(let l=0;l<o.length;l++){let a=o[l],s=(0,c.jsx)(t,{onError:t=>e._onError(t),children:(0,c.jsx)(i.Suspense,{fallback:null,children:n[a]})}),d=e.getElementByKey(a);null!==d&&r.push((0,u.createPortal)(s,d,a))}return r},[t,n,e])}(l,n);return f(()=>{var e;let t,n;return(0,s.Sd)((0,h.ZI)(o),(e=o,t=window.location.origin,n=n=>{if(n.origin!==t)return;let r=e.getRootElement();if(document.activeElement!==r)return;let i=n.data;if("string"==typeof i){let t;try{t=JSON.parse(i)}catch(e){return}if(t&&"nuanria_messaging"===t.protocol&&"request"===t.type){let r=t.payload;if(r&&"makeChanges"===r.functionId){let t=r.args;if(t){let[r,i,o,l,a,s]=t;e.update(()=>{let e=(0,d.vJ)();if((0,d.I2)(e)){let t=e.anchor,s=t.getNode(),u=0,c=0;if((0,d.kF)(s)&&r>=0&&i>=0&&(u=r,c=r+i,e.setTextNodeRange(s,u,s,c)),u===c&&""===o||(e.insertRawText(o),s=t.getNode()),(0,d.kF)(s)){u=l,c=l+a;let t=s.getTextContentSize();u=u>t?t:u,c=c>t?t:c,e.setTextNodeRange(s,u,s,c)}n.stopImmediatePropagation()}})}}}}},window.addEventListener("message",n,!0),()=>{window.removeEventListener("message",n,!0)}))},[o=l]),(0,c.jsxs)(c.Fragment,{children:[e,(0,c.jsx)(m,{content:t}),a]})}function m({content:e}){let[t]=(0,r.DF)(),n=function(e){let[t,n]=(0,i.useState)(()=>p(e));return f(()=>{function t(){n(p(e))}return t(),(0,s.Sd)(e.registerUpdateListener(()=>{t()}),e.registerEditableListener(()=>{t()}))},[e]),t}(t),a=function(e){let[t]=(0,r.DF)(),n=(0,i.useMemo)(()=>e(t),[t,e]),l=(0,i.useRef)(n.initialValueFn()),[a,s]=(0,i.useState)(l.current);return o(()=>{let{initialValueFn:e,subscribe:t}=n,r=e();return l.current!==r&&(l.current=r,s(r)),t(e=>{l.current=e,s(e)})},[n,e]),a}(l);return n?"function"==typeof e?e(a):e:null}},49605:(e,t,n)=>{"use strict";n.d(t,{l:()=>w});let r={}.hasOwnProperty,i={}.hasOwnProperty;var o=n(34016),l=n(56678),a=n(30466);let s=[function(e,t,n,r){if("code"===t.type&&(0,l.m)(t,r)&&("list"===e.type||e.type===t.type&&(0,l.m)(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&(0,a.f)(t,r)))return;return+!!n.spread}}],u=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],c=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:u},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,character:"+",after:"(?:[ \r\n])"},{atBreak:!0,character:"-",after:"(?:[ \r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:u},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:u},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:u},{atBreak:!0,character:"~"}];var d=n(5511);function h(e){return e.label||!e.identifier?e.label||"":(0,d.s)(e.identifier)}function f(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}var p=n(14924);let g=/\r?\n|\r/g;function m(e,t){let n,r=[],i=0,o=0;for(;n=g.exec(e);)l(e.slice(i,n.index)),r.push(n[0]),i=n.index+n[0].length,o++;return l(e.slice(i)),r.join("");
12function l(e){r.push(t(e,o,!e))}}var v=n(84543);function y(e,t){return e-t}function x(e,t){let n,r=/\\(?=[!-/:-@[-`{-~])/g,i=[],o=[],l=e+t,a=-1,s=0;for(;n=r.exec(l);)i.push(n.index);for(;++a<i.length;)s!==i[a]&&o.push(e.slice(s,i[a])),o.push("\\"),s=i[a];return o.push(e.slice(s)),o.join("")}function b(e){let t=e||{},n=t.now||{},r=t.lineShift||0,i=n.line||1,o=n.column||1;return{move:function(e){let t=e||"",n=t.split(/\r?\n|\r/g),l=n[n.length-1];return i+=n.length-1,o=1===n.length?o+l.length:1+l.length+r,t},current:function(){return{now:{line:i,column:o},lineShift:r}},shift:function(e){r+=e}}}function w(e,t){let n={associationId:h,containerPhrasing:E,containerFlow:S,createTracker:b,compilePattern:f,enter:function(e){return n.stack.push(e),function(){n.stack.pop()}},handlers:{...o.p},handle:void 0,indentLines:m,indexStack:[],join:[...s],options:{},safe:T,stack:[],unsafe:[...c]};!function e(t,n){var r,o,l,a;let s,u=-1;if(n.extensions)for(;++u<n.extensions.length;)e(t,n.extensions[u]);for(s in n)if(i.call(n,s))switch(s){case"extensions":break;case"unsafe":case"join":r=t[s],(o=n[s])&&r.push(...o);break;case"handlers":l=t[s],(a=n[s])&&Object.assign(l,a);break;default:t.options[s]=n[s]}return t}(n,t||{}),n.options.tightDefinitions&&n.join.push(k),n.handle=function(e,t){let n=t||{};function i(t,...n){let o=i.invalid,l=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);o=r.call(l,n)?l[n]:i.unknown}if(o)return o.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}("type",{invalid:C,unknown:_,handlers:n.handlers});let l=n.handle(e,void 0,n,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return l&&10!==l.charCodeAt(l.length-1)&&13!==l.charCodeAt(l.length-1)&&(l+="\n"),l}function C(e){throw Error("Cannot handle value `"+e+"`, expected node")}function _(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function k(e,t){if("definition"===e.type&&e.type===t.type)return 0}function E(e,t){return function(e,t,n){let r,i=t.indexStack,o=e.children||[],l=[],a=-1,s=n.before;i.push(-1);let u=t.createTracker(n);for(;++a<o.length;){let c,d=o[a];if(i[i.length-1]=a,a+1<o.length){let n=t.handle.handlers[o[a+1].type];n&&n.peek&&(n=n.peek),c=n?n(o[a+1],e,t,{before:"",after:"",...u.current()}).charAt(0):""}else c=n.after;l.length>0&&("\r"===s||"\n"===s)&&"html"===d.type&&(l[l.length-1]=l[l.length-1].replace(/(\r?\n|\r)$/," "),s=" ",(u=t.createTracker(n)).move(l.join("")));let h=t.handle(d,e,t,{...u.current(),after:c,before:s});r&&r===h.slice(0,1)&&(h=(0,p.T)(r.charCodeAt(0))+h.slice(1));let f=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,r=void 0,f&&(l.length>0&&f.before&&s===l[l.length-1].slice(-1)&&(l[l.length-1]=l[l.length-1].slice(0,-1)+(0,p.T)(s.charCodeAt(0))),f.after&&(r=c)),u.move(h),l.push(h),s=h.slice(-1)}return i.pop(),l.join("")}(e,this,t)}function S(e,t){return function(e,t,n){let r=t.indexStack,i=e.children||[],o=t.createTracker(n),l=[],a=-1;for(r.push(-1);++a<i.length;){let n=i[a];r[r.length-1]=a,l.push(o.move(t.handle(n,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==n.type&&(t.bulletLastUsed=void 0),a<i.length-1&&l.push(o.move(function(e,t,n,r){let i=r.join.length;for(;i--;){let o=r.join[i](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}(n,i[a+1],e,t)))}return r.pop(),l.join("")}(e,this,t)}function T(e,t){return function(e,t,n){let r=(n.before||"")+(t||"")+(n.after||""),i=[],o=[],l={},a=-1;for(;++a<e.unsafe.length;){let t,n=e.unsafe[a];if(!(0,v.q)(e.stack,n))continue;let o=e.compilePattern(n);for(;t=o.exec(r);){let e="before"in n||!!n.atBreak,r="after"in n,o=t.index+(e?t[1].length:0);i.includes(o)?(l[o].before&&!e&&(l[o].before=!1),l[o].after&&!r&&(l[o].after=!1)):(i.push(o),l[o]={before:e,after:r})}}i.sort(y);let s=n.before?n.before.length:0,u=r.length-(n.after?n.after.length:0);for(a=-1;++a<i.length;){let e=i[a];!(e<s)&&!(e>=u)&&(!(e+1<u)||i[a+1]!==e+1||!l[e].after||l[e+1].before||l[e+1].after)&&(i[a-1]!==e-1||!l[e].before||l[e-1].before||l[e-1].after)&&(s!==e&&o.push(x(r.slice(s,e),"\\")),s=e,!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(o.push((0,p.T)(r.charCodeAt(e))),s++):o.push("\\"))}return o.push(x(r.slice(s,u),n.after)),o.join("")}(this,e,t)}}
12,49628:(e,t,n)=>{"use strict";n.d(t,{DF:()=>s,Gu:()=>l,Mx:()=>a});var r,i=n(53239),o=(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;let l=(0,i.createContext)(null);function a(e,t){let n=null;return null!=e&&(n=e[1]),{getTheme:function(){return null!=t?t:null!=n?n.getTheme():null}}}function s(){let e=(0,i.useContext)(l);return null==e&&o(8),e}},49685:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});let r={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533}},49922:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return o(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function o(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return l(e.children,t,n)}return Array.isArray(e)?l(e,t,n):""}function l(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=o(e[i],t,n);return r.join("")}},50381:(e,t,n)=>{var r=n(84785),i=n(24967);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],l=e[o];t[n]=[o,l,r(l)]}return t}},51271:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(71304);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},51276:(e,t,n)=>{var r=n(23545),i=n(10834),o=n(79969),l=n(94592),a=n(70674),s=n(19773),u=n(53888),c="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",g=u(r),m=u(i),v=u(o),y=u(l),x=u(a),b=s;
12(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=c||o&&b(o.resolve())!=d||l&&b(new l)!=h||a&&b(new a)!=f)&&(b=function(e){var t=s(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return p;case m:return c;case v:return d;case y:return h;case x:return f}return t}),e.exports=b},51306:(e,t,n)=>{var r=n(16743);e.exports=function(e){return function(t){return r(t,e)}}},51349:()=>{Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml},51784:(e,t,n)=>{var r=n(89527);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,l=t?o:-1,a=Object(n);(t?l--:++l<o)&&!1!==i(a[l],l,a););return n}}},52465:(e,t,n)=>{"use strict";n.d(t,{Cb:()=>d,Nx:()=>s,Rk:()=>h,SD:()=>a,Xg:()=>u,zI:()=>c});var r,i=n(29641),o=(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;let l=new Map;function a(e,t){let n=e.getStartEndPoints();if(t.isSelected(e)&&!t.isSegmented()&&!t.isToken()&&null!==n){let[r,o]=n,l=e.isBackward(),a=r.getNode(),s=o.getNode(),u=t.is(a),c=t.is(s);
12if(u||c){let[n,r]=(0,i.Ck)(e),o=a.is(s),u=t.is(l?s:a),c=t.is(l?a:s),d,h=0;return o?(h=n>r?r:n,d=n>r?n:r):u?(h=l?r:n,d=void 0):c&&(h=0,d=l?n:r),t.__text=t.__text.slice(h,d),t}}return t}function s(e){if("text"===e.type)return e.offset===e.getNode().getTextContentSize();let t=e.getNode();return(0,i.ff)(t)||o(177),e.offset===t.getChildrenSize()}function u(e){let t=e.getStyle(),n=function(e){let t={};for(let n of e.split(";"))if(""!==n){let[e,r]=n.split(/:([^]+)/);e&&r&&(t[e.trim()]=r.trim())}return t}(t);l.set(t,n)}function c(e,t){if(null===e)return;let n=e.getStartEndPoints(),r=n?n[0]:null;if(null!==r&&"root"===r.key){let e=t(),n=(0,i.Ni)(),r=n.getFirstChild();return void(r?r.replace(e,!0):n.append(e))}let l=e.getNodes(),a=null!==r&&function(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}(r.getNode(),f);a&&-1===l.indexOf(a)&&l.push(a);for(let e=0;e<l.length;e++){let n=l[e];if(!f(n))continue;(0,i.ff)(n)||o(178);let r=t();r.setFormat(n.getFormatType()),r.setIndent(n.getIndent()),n.replace(r,!0)}}function d(e,t){let n=(0,i.B$)(e.focus,t);return(0,i.Cy)(n)&&!n.isIsolated()||(0,i.ff)(n)&&!n.isInline()&&!n.canBeEmpty()}function h(e,t,n){let r,o=(r=e.anchor.getNode(),"rtl"===((0,i.hV)(r)?r:r.getParentOrThrow()).getDirection());e.modify(t?"extend":"move",n?!o:o,"character")}function f(e){if((0,i.Cy)(e)||!(0,i.ff)(e)||(0,i.Iq)(e))return!1;let t=e.getFirstChild(),n=null===t||(0,i.wH)(t)||(0,i.kF)(t)||t.isInline();return!e.isInline()&&!1!==e.canBeEmpty()&&n}},52869:()=>{Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}},53418:(e,t,n)=>{var r=n(45558),i=n(60189),o=n(99582);e.exports=function(e,t,n,l,a,s){var u=1&n,c=e.length,d=t.length;if(c!=d&&!(u&&d>c))return!1;var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var p=-1,g=!0,m=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++p<c;){var v=e[p],y=t[p];if(l)var x=u?l(y,v,p,t,e,s):l(v,y,p,e,t,s);if(void 0!==x){if(x)continue;g=!1;break}if(m){if(!i(t,function(e,t){if(!o(m,t)&&(v===e||a(v,e,n,l,s)))return m.push(t)})){g=!1;break}}else if(!(v===y||a(v,y,n,l,s))){g=!1;break}}return s.delete(e),s.delete(t),g}},53917:(e,t,n)=>{var r=n(20564),i=n(89527);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},53977:(e,t,n)=>{"use strict";n.d(t,{Bp:()=>er});var r=n(59868),i=n(75971),o=n(77117),l=n.n(o),a=n(53239);n(21100);let s=e=>"object"==typeof e&&null!=e&&1===e.nodeType,u=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n,r=getComputedStyle(e,null);return u(r.overflowY,t)||u(r.overflowX,t)||!!(n=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e))&&(n.clientHeight<e.scrollHeight||n.clientWidth<e.scrollWidth)}return!1},d=(e,t,n,r,i,o,l,a)=>o<e&&l>t||o>e&&l<t?0:o<=e&&a<=n||l>=t&&a>=n?o-e-r:l>t&&a<n||o<e&&a>n?l-t+i:0,h=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var f=n(80594),p=0;function g(){}function m(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function v(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=Array(i),l=0;l<i;l++)o[l]=arguments[l];r(),n=setTimeout(function(){n=null,e.apply(void 0,o)},t)}return i.cancel=r,i}function y(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some(function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function x(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function b(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=void 0!==t[r]?t[r]:e[r],n},{})}function w(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function C(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return -1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var l=t+e;l<0?l=i?o:0:l>o&&(l=i?0:o);var a=_(e,l,n,r,i);return -1===a?t>=n?-1:t:a}function _(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var l=t+1;l<n;l++)if(!r(l).hasAttribute("disabled"))return l}else for(var a=t-1;a>=0;a--)if(!r(a).hasAttribute("disabled"))return a;return i?e>0?_(1,0,n,r,!1):_(-1,n-1,n,r,!1):-1}function k(e,t,n,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(m(t,e,n)||r&&m(t,n.document.activeElement,n))})}var E=v(function(e){T(e).textContent=""},500);function S(e,t){var n=T(t);e&&(n.textContent=e,E(t))}function T(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t)),t}var A=["isInitialMount","highlightedIndex","items","environment"],I={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""},M=v(function(e,t){S(e(),t)},200),P="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement?a.useLayoutEffect:a.useEffect;function N(e){var t=e.id,n=void 0===t?"downshift-"+String(p++):t,r=e.labelId,i=e.menuId,o=e.getItemId,l=e.toggleButtonId,s=e.inputId;return(0,a.useRef)({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:l||n+"-toggle-button",inputId:s||n+"-input"}).current}function L(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}function D(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function R(e){var t=(0,a.useRef)(e);return t.current=e,t}function F(e,t,n){var r=(0,a.useRef)(),o=(0,a.useRef)(),l=(0,a.useCallback)(function(t,n){o.current=n;var r=e(t=b(t,n.props),n);return n.props.stateReducer(t,(0,i.A)({},n,{changes:r}))},[e]),s=(0,a.useReducer)(l,t),u=s[0],c=s[1],d=R(n),h=(0,a.useCallback)(function(e){return c((0,i.A)({props:d.current},e))},[d]),f=o.current;return(0,a.useEffect)(function(){var e,t,n,o;f&&r.current&&r.current!==u&&(e=b(r.current,f.props),t=f.props,n=f.type,o={},Object.keys(e).forEach(function(t){var n,r,l,a,s,c,d;n=t,r=f,l=e,a=u,s=r.props,c=r.type,s[d="on"+D(n)+"Change"]&&void 0!==a[n]&&a[n]!==l[n]&&s[d]((0,i.A)({type:c},a)),u[t]!==e[t]&&(o[t]=u[t])}),t.onStateChange&&Object.keys(o).length&&t.onStateChange((0,i.A)({type:n},o))),r.current=u},[u,n,f]),[u,h]}var O={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){e&&((e,t)=>{var n,r,i,o,l,a;if("u"<typeof document)return[];let{scrollMode:u,block:f,inline:p,boundary:g,skipOverflowHiddenElements:m}=t,v="function"==typeof g?g:e=>e!==g;if(!s(e))throw TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,x=[],b=e;for(;s(b)&&v(b);){if((b=h(b))===y){x.push(b);break}null!=b&&b===document.body&&c(b)&&!c(document.documentElement)||null!=b&&c(b,m)&&x.push(b)}
12let w=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,C=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,_=null!=(l=window.scrollX)?l:pageXOffset,k=null!=(a=window.scrollY)?a:pageYOffset,{height:E,width:S,top:T,right:A,bottom:I,left:M}=e.getBoundingClientRect(),P="start"===f||"nearest"===f?T:"end"===f?I:T+E/2,N="center"===p?M+S/2:"end"===p?A:M,L=[];for(let e=0;e<x.length;e++){let t=x[e],{height:n,width:r,top:i,right:o,bottom:l,left:a}=t.getBoundingClientRect();if("if-needed"===u&&T>=0&&M>=0&&I<=C&&A<=w&&T>=i&&I<=l&&M>=a&&A<=o)break;let s=getComputedStyle(t),c=parseInt(s.borderLeftWidth,10),h=parseInt(s.borderTopWidth,10),g=parseInt(s.borderRightWidth,10),m=parseInt(s.borderBottomWidth,10),v=0,b=0,D="offsetWidth"in t?t.offsetWidth-t.clientWidth-c-g:0,R="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-m:0,F="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,O="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(y===t)v="start"===f?P:"end"===f?P-C:"nearest"===f?d(k,k+C,C,h,m,k+P,k+P+E,E):P-C/2,b="start"===p?N:"center"===p?N-w/2:"end"===p?N-w:d(_,_+w,w,c,g,_+N,_+N+S,S),v=Math.max(0,v+k),b=Math.max(0,b+_);else{v="start"===f?P-i-h:"end"===f?P-l+m+R:"nearest"===f?d(i,l,n,h,m+R,P,P+E,E):P-(i+n/2)+R/2,b="start"===p?N-a-c:"center"===p?N-(a+r/2)+D/2:"end"===p?N-o+g+D:d(a,o,r,c,g+D,N,N+S,S);let{scrollLeft:e,scrollTop:s}=t;v=Math.max(0,Math.min(s+v/O,t.scrollHeight-n/O+R)),b=Math.max(0,Math.min(e+b/F,t.scrollWidth-r/F+D)),P+=s-v,N+=e-b}L.push({el:t,top:v,left:b})}return L})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}
12).forEach(function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r})},environment:"u"<typeof window?{}:window};function V(e,t,n){void 0===n&&(n=I);var r=e["default"+D(t)];return void 0!==r?r:n[t]}function H(e,t,n){void 0===n&&(n=I);var r=e[t];if(void 0!==r)return r;var i=e["initial"+D(t)];return void 0!==i?i:V(e,t,n)}function B(e){var t=H(e,"selectedItem"),n=H(e,"isOpen"),r=H(e,"highlightedIndex"),i=H(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}function z(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,l=t.selectedItem,a=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&a===i?i:void 0!==o?o:l?r.indexOf(l):0===n?-1:n<0?r.length-1:0}function j(e,t,n,r){var i=(0,a.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,a.useEffect)(function(){if((null==n?void 0:n.addEventListener)!=null){var o=function(){i.current.isMouseDown=!0},l=function(o){i.current.isMouseDown=!1,e&&!k(o.target,t.map(function(e){return e.current}),n)&&r()},a=function(){i.current.isTouchMove=!1},s=function(){i.current.isTouchMove=!0},u=function(o){!e||i.current.isTouchMove||k(o.target,t.map(function(e){return e.current}),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",l),n.addEventListener("touchstart",a),n.addEventListener("touchmove",s),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",l),n.removeEventListener("touchstart",a),n.removeEventListener("touchmove",s),n.removeEventListener("touchend",u)}}},[e,n]),i}var W=function(){return g};function $(e,t,n){var o=n.isInitialMount,l=n.highlightedIndex,s=n.items,u=n.environment,c=(0,r.A)(n,A);(0,a.useEffect)(function(){o||M(function(){return e((0,i.A)({highlightedIndex:l,highlightedItem:s[l],resultCount:s.length},c))},u.document)},t)}function U(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,l=e.scrollIntoView,s=(0,a.useRef)(!0);return P(function(){!(t<0)&&n&&Object.keys(r.current).length&&(!1===s.current?s.current=!0:l(i(t),o))},[t]),s}function J(e,t,n){void 0===n&&(n=!0);var r,o=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,i.A)({isOpen:!1,highlightedIndex:-1},o&&(0,i.A)({selectedItem:e.items[t],isOpen:V(e,"isOpen"),highlightedIndex:V(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}function K(e,t,n){var r,o=t.type,l=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:z(l,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:z(l,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:V(l,"highlightedIndex"),isOpen:V(l,"isOpen"),selectedItem:V(l,"selectedItem"),inputValue:V(l,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return(0,i.A)({},e,r)}l().array.isRequired,l().func,l().func,l().func,l().number,l().number,l().number,l().bool,l().bool,l().bool,l().any,l().any,l().any,l().string,l().string,l().string,l().func,l().string,l().func,l().func,l().func,l().func,l().func,l().shape({addEventListener:l().func,removeEventListener:l().func,document:l().shape({getElementById:l().func,activeElement:l().any,body:l().any})});var Z=(0,f.Cl)((0,f.Cl)({},O),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}}),q=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});var G=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});l().array.isRequired,l().func,l().func,l().func,l().func,l().number,l().number,l().number,l().bool,l().bool,l().bool,l().any,l().any,l().any,l().str
12ing,l().string,l().string,l().string,l().string,l().string,l().func,l().string,l().string,l().func,l().func,l().func,l().func,l().func,l().func,l().shape({addEventListener:l().func,removeEventListener:l().func,document:l().shape({getElementById:l().func,activeElement:l().any,body:l().any})});var Y=(0,i.A)({},O,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}});function X(e,t){var n,r,o=t.type,l=t.props,a=t.altKey;switch(o){case 13:r={isOpen:V(l,"isOpen"),highlightedIndex:V(l,"highlightedIndex"),selectedItem:l.items[t.index],inputValue:l.itemToString(l.items[t.index])};break;case 0:r=e.isOpen?{highlightedIndex:C(1,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:a&&null==e.selectedItem?-1:z(l,e,1,t.getItemNodeFromIndex),isOpen:l.items.length>=0};break;case 1:r=e.isOpen?a?J(l,e.highlightedIndex):{highlightedIndex:C(-1,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:z(l,e,-1,t.getItemNodeFromIndex),isOpen:l.items.length>=0};break;case 7:r=J(l,e.highlightedIndex);break;case 2:r=(0,i.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case 5:r={highlightedIndex:C(-10,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!1)};break;case 6:r={highlightedIndex:C(10,e.highlightedIndex,l.items.length,t.getItemNodeFromIndex,!1)};break;case 3:r={highlightedIndex:_(1,0,l.items.length,t.getItemNodeFromIndex,!1)};break;case 4:r={highlightedIndex:_(-1,l.items.length-1,l.items.length,t.getItemNodeFromIndex,!1)};break;case 9:r=(0,i.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=l.items)?void 0:n.length)&&t.selectItem&&{selectedItem:l.items[e.highlightedIndex],inputValue:l.itemToString(l.items[e.highlightedIndex])});break;case 8:r={isOpen:!0,highlightedIndex:V(l,"highlightedIndex"),inputValue:t.inputValue};break;case 10:r={isOpen:!0,highlightedIndex:z(l,e,0)};break;case 19:r={selectedItem:t.selectedItem,inputValue:l.itemToString(t.selectedItem)};break;case 22:r={inputValue:t.inputValue};break;default:return K(e,t,G)}return(0,i.A)({},e,r)}var Q=["onMouseLeave","refKey","ref"],ee=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],et=["onClick","onPress","refKey","ref"],en=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function er(e){void 0===e&&(e={});var t,n,o,l,s,u,c,d=(0,i.A)({},Y,e),h=d.initialIsOpen,f=d.defaultIsOpen,p=d.items,g=d.scrollIntoView,m=d.environment,v=d.getA11yStatusMessage,C=d.getA11ySelectionMessage,_=d.itemToString,k=(n=(t=B(d)).selectedItem,""===(o=t.inputValue)&&n&&void 0===d.defaultInputValue&&void 0===d.initialInputValue&&void 0===d.inputValue&&(o=d.itemToString(n)),(0,i.A)({},t,{inputValue:o})),E=(l=(0,a.useRef)(),u=(s=F(X,k,d))[0],c=s[1],(0,a.useEffect)(function(){void 0!==d.selectedItem&&(d.selectedItemChanged(l.current,d.selectedItem)&&c({type:22,inputValue:d.itemToString(d.selectedItem)}),l.current=u.selectedItem===l.current?d.selectedItem:u.selectedItem)},[u.selectedItem,d.selectedItem]),[b(u,d),c]),S=E[0],T=E[1],A=S.isOpen,I=S.highlightedIndex,M=S.selectedItem,P=S.inputValue,D=(0,a.useRef)(null),O=(0,a.useRef)({}),V=(0,a.useRef)(null),H=(0,a.useRef)(null),z=(0,a.useRef)(!0),J=N(d),K=(0,a.useRef)(),Z=R({state:S,props:d}),q=(0,a.useCallback)(function(e){return O.current[J.getItemId(e)]},[J]);$(v,[A,I,P,p],(0,i.A)({isInitialMount:z.current,previousResultCount:K.current,items:p,environment:m,itemToString:_},S)),$(C,[M],(0,i.A)({isInitialMount:z.current,previousResultCount:K.current,items:p,environment:m,itemToString:_},S));var G=U({menuElement:D.current,highlightedIndex:I,isOpen:A,itemRefs:O,scrollIntoView:g,getItemNodeFromIndex:q});z.current,(0,a.useEffect)(function(){(h||f||A)&&V.current&&V.current.focus()},[]),(0,a.useEffect)(function(){z.current||(K.current=p.length)});var er=j(A,[V,D,H],m,function(){T({type:9,selectItem:!1})}),ei=W("getInputProps","getMenuProps");(0,a.useEffect)(function(){return z.current=!1,function(){z.current=!0}},[]),(0,a.useEffect)(function(){var e,t;A?(null==(e=m.document)?void 0:e.activeElement)!==V.current&&(null==V||null==(t=V.current)||t.focu
12s()):O.current={}},[A,m]);var eo=(0,a.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),T({type:0,altKey:e.altKey,getItemNodeFromIndex:q})},ArrowUp:function(e){e.preventDefault(),T({type:1,altKey:e.altKey,getItemNodeFromIndex:q})},Home:function(e){Z.current.state.isOpen&&(e.preventDefault(),T({type:3,getItemNodeFromIndex:q}))},End:function(e){Z.current.state.isOpen&&(e.preventDefault(),T({type:4,getItemNodeFromIndex:q}))},Escape:function(e){var t=Z.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),T({type:2}))},Enter:function(e){Z.current.state.isOpen&&229!==e.which&&(e.preventDefault(),T({type:7,getItemNodeFromIndex:q}))},PageUp:function(e){Z.current.state.isOpen&&(e.preventDefault(),T({type:5,getItemNodeFromIndex:q}))},PageDown:function(e){Z.current.state.isOpen&&(e.preventDefault(),T({type:6,getItemNodeFromIndex:q}))}}},[T,Z,q]),el=(0,a.useCallback)(function(e){return(0,i.A)({id:J.labelId,htmlFor:J.inputId},e)},[J]),ea=(0,a.useCallback)(function(e,t){var n,o=void 0===e?{}:e,l=o.onMouseLeave,a=o.refKey,s=void 0===a?"ref":a,u=o.ref,c=(0,r.A)(o,Q),d=(void 0===t?{}:t).suppressRefError;return ei("getMenuProps",void 0!==d&&d,s,D),(0,i.A)(((n={})[s]=x(u,function(e){D.current=e}),n.id=J.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+J.labelId,n.onMouseLeave=y(l,function(){T({type:11})}),n),c)},[T,ei,J]),es=(0,a.useCallback)(function(e){var t,n,o=void 0===e?{}:e,l=o.item,a=o.index,s=o.refKey,u=o.ref,c=o.onMouseMove,d=o.onMouseDown,h=o.onClick;o.onPress;var f=o.disabled,p=(0,r.A)(o,ee),g=Z.current,m=g.props,v=g.state,b=L(l,a,m.items,"Pass either item or index to getItemProps!")[1];return(0,i.A)(((t={})[void 0===s?"ref":s]=x(u,function(e){e&&(O.current[J.getItemId(b)]=e)}),t.disabled=f,t.role="option",t["aria-selected"]=""+(b===v.highlightedIndex),t.id=J.getItemId(b),t),!f&&((n={}).onClick=y(h,function(){T({type:13,index:b})}),n),{onMouseMove:y(c,function(){b!==v.highlightedIndex&&(G.current=!1,T({type:12,index:b,disabled:f}))}),onMouseDown:y(d,function(e){return e.preventDefault()})},p)},[T,Z,G,J]),eu=(0,a.useCallback)(function(e){var t,n=void 0===e?{}:e,o=n.onClick;n.onPress;var l=n.refKey,a=n.ref,s=(0,r.A)(n,et),u=Z.current.state;return(0,i.A)(((t={})[void 0===l?"ref":l]=x(a,function(e){H.current=e}),t["aria-controls"]=J.menuId,t["aria-expanded"]=u.isOpen,t.id=J.toggleButtonId,t.tabIndex=-1,t),!s.disabled&&(0,i.A)({},{onClick:y(o,function(){T({type:14})})}),s)},[T,Z,J]),ec=(0,a.useCallback)(function(e,t){var n,o,l=void 0===e?{}:e,a=l.onKeyDown,s=l.onChange,u=l.onInput,c=l.onFocus,d=l.onBlur;l.onChangeText;var h=l.refKey,f=void 0===h?"ref":h,p=l.ref,g=(0,r.A)(l,en),v=(void 0===t?{}:t).suppressRefError;ei("getInputProps",void 0!==v&&v,f,V);var b=Z.current.state,C={};return g.disabled||((o={}).onChange=y(s,u,function(e){T({type:8,inputValue:e.target.value})}),o.onKeyDown=y(a,function(e){var t=w(e);t&&eo[t]&&eo[t](e)}),o.onBlur=y(d,function(e){b.isOpen&&!er.current.isMouseDown&&T({type:9,selectItem:null!==e.relatedTarget||m.document.activeElement===m.document.body})}),o.onFocus=y(c,function(){b.isOpen||T({type:10})}),C=o),(0,i.A)(((n={})[f]=x(p,function(e){V.current=e}),n["aria-activedescendant"]=b.isOpen&&b.highlightedIndex>-1?J.getItemId(b.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=J.menuId,n["aria-expanded"]=b.isOpen,n["aria-labelledby"]=g&&g["aria-label"]?void 0:""+J.labelId,n.autoComplete="off",n.id=J.inputId,n.role="combobox",n.value=b.inputValue,n),C,g)},[ei,Z,J,eo,T,er,m]),ed=(0,a.useCallback)(function(){T({type:15})},[T]),eh=(0,a.useCallback)(function(){T({type:17})},[T]),ef=(0,a.useCallback)(function(){T({type:16})},[T]),ep=(0,a.useCallback)(function(e){T({type:18,highlightedIndex:e})},[T]),eg=(0,a.useCallback)(function(e){T({type:19,selectedItem:e})},[T]);return{getItemProps:es,getLabelProps:el,getMenuProps:ea,getInputProps:ec,getToggleButtonProps:eu,toggleMenu:ed,openMenu:ef,closeMenu:eh,setHighlightedIndex:ep,setInputValue:(0,a.useCallback)(function(e){T({type:20,inputValue:e})},[T]),selectItem:eg,reset:(0,a.useCallback)(function(){T({type:2
121})},[T]),highlightedIndex:I,isOpen:A,selectedItem:M,inputValue:P}}er.stateChangeTypes=G;l().array,l().array,l().array,l().func,l().func,l().func,l().number,l().number,l().number,l().func,l().func,l().string,l().string,l().shape({addEventListener:l().func,removeEventListener:l().func,document:l().shape({getElementById:l().func,activeElement:l().any,body:l().any})});var ei={itemToString:O.itemToString,stateReducer:O.stateReducer,environment:O.environment,getA11yRemovalMessage:function(e){var t=e.removedSelectedItem;return(0,e.itemToString)(t)+" has been removed."},keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},eo=Object.freeze({__proto__:null,SelectedItemClick:0,SelectedItemKeyDownDelete:1,SelectedItemKeyDownBackspace:2,SelectedItemKeyDownNavigationNext:3,SelectedItemKeyDownNavigationPrevious:4,DropdownKeyDownNavigationPrevious:5,DropdownKeyDownBackspace:6,DropdownClick:7,FunctionAddSelectedItem:8,FunctionRemoveSelectedItem:9,FunctionSetSelectedItems:10,FunctionSetActiveIndex:11,FunctionReset:12})},54586:(e,t,n)=>{"use strict";n.d(t,{Y:()=>ex});var r={};n.r(r),n.d(r,{attentionMarkers:()=>eh,contentInitial:()=>el,disable:()=>ef,document:()=>eo,flow:()=>es,flowInitial:()=>ea,insideSpan:()=>ed,string:()=>eu,text:()=>ec});var i=n(49922),o=n(81447);class l{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&a(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),a(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),a(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);a(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);a(this.left,t.reverse())}}}function a(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function s(e){let t,n,r,i,a,s,u,c={},d=-1,h=new l(e);for(;++d<h.length;){for(;d in c;)d=c[d];if(t=h.get(d),d&&"chunkFlow"===t[1].type&&"listItemPrefix"===h.get(d-1)[1].type&&((r=0)<(s=t[1]._tokenizer.events).length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(c,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],l=t-1,a=[],s=i._tokenizer;!s&&(s=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._c
12ontentTypeTextTrailing=!0));let u=s.events,c=[],d={},h=-1,f=i,p=0,g=0,m=[0];for(;f;){for(;e.get(++l)[1]!==f;);a.push(l),!f._tokenizer&&(n=o.sliceStream(f),f.next||n.push(null),r&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=f,f=f.next}for(f=i;++h<u.length;)"exit"===u[h][0]&&"enter"===u[h-1][0]&&u[h][1].type===u[h-1][1].type&&u[h][1].start.line!==u[h][1].end.line&&(g=h+1,m.push(g),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):m.pop(),h=m.length;h--;){let t=u.slice(m[h],m[h+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),h=-1;++h<c.length;)d[p+c[h][0]]=p+c[h][1],p+=c[h][1]-c[h][0]-1;return d}(h,d)),d=c[d],u=!0);else if(t[1]._container){for(r=d,n=void 0;r--;)if("lineEnding"===(i=h.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(h.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...h.get(n)[1].start},(a=h.slice(n,d)).unshift(t),h.splice(n,d-n+1,a))}}return(0,o.m)(e,0,1/0,h.slice(0)),!u}let u={}.hasOwnProperty;var c=n(59755),d=n(71304);let h={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,d.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},f={tokenize:function(e){let t,n,r,i=this,l=[],a=0;return s;function s(t){if(a<l.length){let n=l[a];return i.containerState=n[1],e.attempt(n[0].continuation,u,c)(t)}return c(t)}function u(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&b();let r=i.events.length,l=r;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}x(a);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return(0,o.m)(i.events,l+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(a===l.length){if(!t)return g(n);if(t.currentConstruct&&t.currentConstruct.concrete)return v(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(p,h,f)(n)}function h(e){return t&&b(),x(a),g(e)}function f(e){return i.parser.lazy[i.now().line]=a!==l.length,r=i.now().offset,v(e)}function g(t){return i.containerState={},e.attempt(p,m,v)(t)}function m(e){return a++,l.push([i.currentConstruct,i.containerState]),g(e)}function v(r){if(null===r){t&&b(),x(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){y(e.exit("chunkFlow"),!0),x(0),e.consume(n);return}return(0,d.HP)(n)?(e.consume(n),y(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function y(e,l){let s=i.sliceStream(e);if(l&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let s=i.events.length,u=s;for(;u--;)if("exit"===i.events[u][0]&&"chunkFlow"===i.events[u][1].type){if(e){n=i.events[u][1].end;break}e=!0}for(x(a),l=s;l<i.events.length;)i.events[l][1].end={...n},l++;(0,o.m)(i.events,u+1,0,i.events.slice(s)),i.events.length=l}}function x(t){let n=l.length;for(;n-- >t;){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function b(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},p={tokenize:function(e,t,n){return(0,c.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},g={partial:!0,tokenize:function(e,t,n){return function(t){return(0,d.On)(t)?(0,c.N)(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||(0,d.HP)(e)?t(e):n(e)}}},m={resolve:function(e){return s(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,d.HP)(t)?e.check(v,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},v={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
12(0,c.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,d.HP)(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},y={tokenize:function(e){let t=this,n=e.attempt(g,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,c.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(m,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},x={resolveAll:_()},b=C("string"),w=C("text");function C(e){return{resolveAll:_("text"===e?k:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,l);return o;function o(e){return s(e)?i(e):l(e)}function l(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function s(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function _(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function k(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),l=o.length,a=-1,s=0;for(;l--;){let e=o[l];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)s++,a--;if(a)break;a=-1}else if(-2===e)r=!0,s++;else if(-1===e);else{l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){let o={type:n===e.length||r||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?a:i.start._bufferIndex+a,_index:i.start._index+l,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let E={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var l;return e.enter("thematicBreak"),r=l=o,function o(l){return l===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,d.On)(n)?(0,c.N)(e,o,"whitespace")(n):o(n))}(l)):i>=3&&(null===l||(0,d.HP)(l))?(e.exit("thematicBreak"),t(l)):n(l)}(l)}}},S={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(g,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,c.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,d.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
12=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(A,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,c.N)(e,e.attempt(S,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,l=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,d.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(E,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,d.BM)(i)&&++l<10?(e.consume(i),t):(!r.interrupt||l<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(g,r.interrupt?n:s,e.attempt(T,c,u))}
12function s(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return(0,d.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},T={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,d.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},A={partial:!0,tokenize:function(e,t,n){let r=this;return(0,c.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},I={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,d.On)(t)?(0,c.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(I,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,d.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function M(e,t,n,r,i,o,l,a,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):null===t||32===t||41===t||(0,d.JQ)(t)?n(t):(e.enter(r),e.enter(l),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(t))};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(a),h(t)):null===t||60===t||(0,d.HP)(t)?n(t):(e.consume(t),92===t?p:f)}function p(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function g(i){return!c&&(null===i||41===i||(0,d.Ee)(i))?(e.exit("chunkString"),e.exit(a),e.exit(l),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,g):41===i?(e.consume(i),c--,g):null===i||32===i||40===i||(0,d.JQ)(i)?n(i):(e.consume(i),92===i?m:g)}function m(t){return 40===t||41===t||92===t?(e.consume(t),g):g(t)}}function P(e,t,n,r,i,o){let l,a=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(h){return s>999||null===h||91===h||93===h&&!l||94===h&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):(0,d.HP)(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||(0,d.HP)(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),l||(l=!(0,d.On)(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function N(e,t,n,r,i,o){let l;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),l=40===t?41:t,a):n(t)};function a(n){return n===l?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),s(n))}function s(t){return t===l?(e.exit(o),a(l)):null===t?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,c.N)(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===l||null===t||(0,d.HP)(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?h:u)}function h(t){return t===l||92===t?(e.consume(t),u):u(t)}}function L(e,t){let n;return function r(i){return(0,d.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,d.On)(i)?(0,c.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function D(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let R={partial:!0,tokenize:function(e,t,n){return function(t){return(0,d.Ee)(t)?L(e,r)(t):n(t)};function r(t){return N(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,d.On)(t)?(0,c.N)(e,o,"whitespace")(t):o(t)}function o(e){return null===e||(0,d.HP)(e)?t(e):n(e)}}},F={name:"codeIndented",tokenize:function(e,t,n){let r=this;
12return function(t){return e.enter("codeIndented"),(0,c.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):(0,d.HP)(n)?e.attempt(O,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,d.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},O={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,c.N)(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):(0,d.HP)(e)?i(e):n(e)}}},V={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let l={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",l,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=l,e.push(["exit",l,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var l;let a,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){a="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,l=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,d.On)(n)?(0,c.N)(e,o,"lineSuffix")(n):o(n))}(l)):n(t)};function o(r){return null===r||(0,d.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},H=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],B=["pre","script","style","textarea"],z={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(g,t,n)}}},j={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,d.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},W={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},$={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l};function l(t){return e.enter("codeFencedFence"),(0,d.On)(t)?(0,c.N)(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=a?(e.exit("codeFencedFenceSequence"),(0,d.On)(i)?(0,c.N)(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||(0,d.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},l=0,a=0;return function(t){var o;let u;return o=t,l=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),(0,d.On)(i)?(0,c.N)(e,s,"whitespace")(i):s(i))}(o)};function s(o){return null===o||(0,d.HP)(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(W,h,m)(o)):(e.enter("co
12deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,d.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):(0,d.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,c.N)(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||(0,d.HP)(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,d.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function h(t){return e.attempt(o,m,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return l>0&&(0,d.On)(t)?(0,c.N)(e,g,"linePrefix",l+1)(t):g(t)}function g(t){return null===t||(0,d.HP)(t)?e.check(W,h,m)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,d.HP)(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),t)}(t))}function m(n){return e.exit("codeFenced"),t(n)}}};var U=n(17600);let J={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,l=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=d.lV,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=d.ok,u):(e.enter("characterReferenceValue"),r=7,i=d.BM,u(t))}function u(a){if(59===a&&l){let r=e.exit("characterReferenceValue");return i!==d.lV||(0,U.s)(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&l++<r?(e.consume(a),u):n(a)}}},K={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,d.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},Z={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,c.N)(e,t,"linePrefix")}}};var q=n(44911);let G={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,o.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);let u={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},d={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return l=[["enter",u,t],["enter",c,t]],l=(0,o.V)(l,e.slice(r+1,r+s+3)),l=(0,o.V)(l,[["enter",d,t]]),l=(0,o.V)(l,(0,q.W)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),l=(0,o.V)(l,[["exit",d,t],e[i-2],e[i-1],["exit",c,t]]),l=(0,o.V)(l,e.slice(i+1)),l=(0,o.V)(l,[["exit",u,t]]),(0,o.m)(e,r,e.length,l),e},tokenize:function(e,t,n){let r,i,o=this,l=o.events.length;for(;l--;)if(("labelImage"===o.events[l][1].type||"labelLink"===o.events[l][1].type)&&!o.events[l][1]._balanced){r=o.events[l][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(D(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(Y,u,i?u:c)(t):91===t?e.attempt(X,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(Q,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},Y={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,d.Ee)(t)?L(e,i)(t):i(t)}function i(t){return 41===t?u(t):M(e,o,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return(0,d.Ee)(t)?L(e,a)(t):u(t)}function l(e){return n(e)}function a(t){return 34===t||39===t||40===t?N(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return(0,d.Ee)(t)?L(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},X={tokenize:function(e,t,n){let r=this;return function(t){return P.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(D(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},Q={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ee={name:"labelStartImage",resolveAll:G.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var et=n(51271);let en={name:"attention",resolveAll:function(e,t){let n,r,i,l,a,s,u,c,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
12n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let h={...e[n][1].end},f={...e[d][1].start};er(h,-s),er(f,s),l={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[d][1].start},end:f},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[d][1].start}},r={type:s>1?"strong":"emphasis",start:{...l.start},end:{...a.end}},e[n][1].end={...l.start},e[d][1].start={...a.end},u=[],e[n][1].end.offset-e[n][1].start.offset&&(u=(0,o.V)(u,[["enter",e[n][1],t],["exit",e[n][1],t]])),u=(0,o.V)(u,[["enter",r,t],["enter",l,t],["exit",l,t],["enter",i,t]]),u=(0,o.V)(u,(0,q.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),u=(0,o.V)(u,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(c=2,u=(0,o.V)(u,[["enter",e[d][1],t],["exit",e[d][1],t]])):c=0,(0,o.m)(e,n-1,d-n+3,u),d=n+u.length-c-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=(0,et.S)(i);return function(l){return n=l,e.enter("attentionSequence"),function l(a){if(a===n)return e.consume(a),l;let s=e.exit("attentionSequence"),u=(0,et.S)(a),c=!u||2===u&&o||r.includes(a),d=!o||2===o&&u||r.includes(i);return s._open=!!(42===n?c:c&&(o||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(a)}(l)}}};function er(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ei={name:"labelStartLink",resolveAll:G.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},eo={42:S,43:S,45:S,48:S,49:S,50:S,51:S,52:S,53:S,54:S,55:S,56:S,57:S,62:I},el={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,P.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=D(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):n(t)}function l(t){return(0,d.Ee)(t)?L(e,a)(t):a(t)}function a(t){return M(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(R,u,u)(t)}function u(t){return(0,d.On)(t)?(0,c.N)(e,h,"whitespace")(t):h(t)}function h(o){return null===o||(0,d.HP)(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},ea={[-2]:F,[-1]:F,32:F},es={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,l=3;return"whitespace"===e[3][1].type&&(l+=2),i-2>l&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(l===i-1||i-4>l&&"whitespace"===e[i-2][1].type)&&(i-=l+1===i?2:4),i>l&&(n={type:"atxHeadingText",start:e[l][1].start,end:e[i][1].end},r={type:"chunkText",start:e[l][1].start,end:e[i][1].end,contentType:"text"},(0,o.m)(e,l,i-l+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||(0,d.Ee)(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,d.HP)(r)?(e.exit("atxHeading"),t(r)):(0,d.On)(r)?(0,c.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,d.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:E,45:[V,E],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,l,a,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(l){return 33===l?(e.consume(l),c):47===l?(e.consume(l),i=!0,p):63===l?(e.consume(l),r=3,s.interrupt?t:L):(0,d.CW)(l)?(e.consume(l),o=String.fromCharCode(l),g):n(l)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,l=0,f):(0,d.CW)(i)?(e.consume(i),r=4,s.interrupt?t:L):n(i)}function h(r){return 45===r?(e.consume(r),s.interrupt?t:L):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(l++)?(e.consume(r),l===i.length)?s.interrupt?t:E:f:n(r)}function p(t){return(0,d.CW)(t)?(e.consume(t),o=String.fromCharCode(t),g):n(t)}function g(l){if(null===l||47===l||62===l||(0,d.Ee)(l)){let a=47===l,u=o.toLowerCase();return!a&&!i&&B.includes(u)?(r=1,s.interrupt?t(l):E(l)):H.includes(o.toLowerCase())?(r=6,a)?(e.consume(l),m):s.interrupt?t(l):E(l):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(l):i?function t(n){return(0,d.On)(n)?(e.consume(n),t):_(n)}(l):v(l))}return 45===l||(0,d.lV)(l)?(e.consume(l),o+=String.fromCharCode(l),g):n(l)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:E):n(r)}function v(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,d.CW)(t)?(e.consume(t),y):(0,d.On)(t)?(e.consume(t),v):_(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),b):(0,d.On)(t)?(e.consume(t),x):v(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,w):(0,d.On)(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,d.Ee)(n)?x(n):(e.consume(n),t)}(t)}function w(t){return t===a?(e.consume(t),a=null,C):null===t||(0,d.HP)(t)?n(t):(e.consume(t),w)}function C(e){return 47===e||62===e||(0,d.On)(e)?v(e):n(e)}function _(t){return 62===t?(e.consume(t),k):n(t)}function k(t){return null===t||(0,d.HP)(t)?E(t):(0,d.On)(t)?(e.consume(t),k):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),I):60===t&&1===r?(e.consume(t),M):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),L):93===t&&5===r?(e.consume(t),N):(0,d.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(z,R,S)(t)):null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),S(t)):(e.consume(t),E)}function S(t){return e.check(j,T,R)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||(0,d.HP)(t)?S(t):(e.enter("htmlFlowData"),E(t))}function I(t){return 45===t?(e.consume(t),L):E(t)}function M(t){return 47===t?(e.consume(t),o="",P):E(t)}function P(t){if(62===t){let n=o.toLowerCase();return B.includes(n)?(e.consume(t),D):E(t)}return(0,d.CW)(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),P):E(t)}function N(t){return 93===t?(e.consume(t),L):E(t)}function L(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),L):E(t)}function D(t){return null===t||(0,d.HP)(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),D)}function R(n){return e.exit("htmlFlow"),t(n)}}},61:V,95:E,96:$,126:$},eu={38:J,92:K}
12,ec={[-5]:Z,[-4]:Z,[-3]:Z,33:ee,38:J,42:en,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,d.CW)(t)?(e.consume(t),o):64===t?n(t):a(t)}function o(t){return 43===t||45===t||46===t||(0,d.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,l):(43===n||45===n||46===n||(0,d.lV)(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function l(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,d.JQ)(r)?n(r):(e.consume(r),l)}function a(t){return 64===t?(e.consume(t),s):(0,d.cx)(t)?(e.consume(t),a):n(t)}function s(i){return(0,d.lV)(i)?function i(o){return 46===o?(e.consume(o),r=0,s):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||(0,d.lV)(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,l=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),C):63===t?(e.consume(t),b):(0,d.CW)(t)?(e.consume(t),k):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,g):(0,d.CW)(t)?(e.consume(t),x):n(t)}function u(t){return 45===t?(e.consume(t),p):n(t)}function h(t){return null===t?n(t):45===t?(e.consume(t),f):(0,d.HP)(t)?(o=h,N(t)):(e.consume(t),h)}function f(t){return 45===t?(e.consume(t),p):h(t)}function p(e){return 62===e?P(e):45===e?f(e):h(e)}function g(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?m:g):n(t)}function m(t){return null===t?n(t):93===t?(e.consume(t),v):(0,d.HP)(t)?(o=m,N(t)):(e.consume(t),m)}function v(t){return 93===t?(e.consume(t),y):m(t)}function y(t){return 62===t?P(t):93===t?(e.consume(t),y):m(t)}function x(t){return null===t||62===t?P(t):(0,d.HP)(t)?(o=x,N(t)):(e.consume(t),x)}function b(t){return null===t?n(t):63===t?(e.consume(t),w):(0,d.HP)(t)?(o=b,N(t)):(e.consume(t),b)}function w(e){return 62===e?P(e):b(e)}function C(t){return(0,d.CW)(t)?(e.consume(t),_):n(t)}function _(t){return 45===t||(0,d.lV)(t)?(e.consume(t),_):function t(n){return(0,d.HP)(n)?(o=t,N(n)):(0,d.On)(n)?(e.consume(n),t):P(n)}(t)}function k(t){return 45===t||(0,d.lV)(t)?(e.consume(t),k):47===t||62===t||(0,d.Ee)(t)?E(t):n(t)}function E(t){return 47===t?(e.consume(t),P):58===t||95===t||(0,d.CW)(t)?(e.consume(t),S):(0,d.HP)(t)?(o=E,N(t)):(0,d.On)(t)?(e.consume(t),E):P(t)}function S(t){return 45===t||46===t||58===t||95===t||(0,d.lV)(t)?(e.consume(t),S):function t(n){return 61===n?(e.consume(n),T):(0,d.HP)(n)?(o=t,N(n)):(0,d.On)(n)?(e.consume(n),t):E(n)}(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,A):(0,d.HP)(t)?(o=T,N(t)):(0,d.On)(t)?(e.consume(t),T):(e.consume(t),I)}function A(t){return t===r?(e.consume(t),r=void 0,M):null===t?n(t):(0,d.HP)(t)?(o=A,N(t)):(e.consume(t),A)}function I(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,d.Ee)(t)?E(t):(e.consume(t),I)}function M(e){return 47===e||62===e||(0,d.Ee)(e)?E(e):n(e)}function P(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function N(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return(0,d.On)(t)?(0,c.N)(e,D,"linePrefix",l.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):D(t)}function D(t){return e.enter("htmlTextData"),o(t)}}}],91:ei,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,d.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},K],93:G,95:en,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;
12return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),l(n))}(t)};function l(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),l):96===s?(i=e.enter("codeTextSequence"),r=0,function n(l){return 96===l?(e.consume(l),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(l)):(i.type="codeTextData",a(l))}(s)):(0,d.HP)(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),l):(e.enter("codeTextData"),a(s))}function a(t){return null===t||32===t||96===t||(0,d.HP)(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),a)}}}},ed={null:[en,x]},eh={null:[42,95]},ef={null:[]},ep=/[\0\t\n\r]/g;var eg=n(20876),em=n(5511),ev=n(42458);let ey={}.hasOwnProperty;function ex(e,t,n){let l,a,c,p;return"string"!=typeof t&&(n=t,t=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(g),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(p),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:r(p,o),codeText:r(function(){return{type:"inlineCode",value:""}},o),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(v,o),htmlFlowData:c,htmlText:r(v,o),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:o,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(x,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(x),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:r(g),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=(0,eg.C)(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=(0,U.s)(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eb(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=D(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(h),hardBreakTrailing:a(h),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=(0,em.s)(t),n.identifier=D(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eb(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
12ype)&&(c.call(this,e),d.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=D(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(ey.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:t,enter:l,exit:s,buffer:o,resume:u,data:n},a=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?a.push(c):c=function(e,t,n){let r,i,o,l,a=t-1,s=-1,u=!1;for(;++a<=n;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||l||s||o||(o=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let l=a;for(i=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(a,0,["enter",i,t[2]]),a++,n++,o=void 0,l=!0}}}return e[t][1]._spread=u,n}(e,a.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];ey.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},i),e[c][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||ew).call(i,void 0,e[0])}for(r.position={start:eb(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eb(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){l.call(this,e(n),n),t&&t.call(this,n)}}function o(){this.stack.push({type:"fragment",children:[]})}function l(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:eb(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||ew).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,ev.L)({start:e.start,end:e.end})+"): itâs not open");n.position.end=eb(e.end)}function u(){return(0,i.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:eb(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eb(e.end)}function h(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function g(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function v(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function x(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(n)(function(e){for(;!s(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(u.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];if(l)for(r in l){u.call(i,r)||(i[r]=[]);let e=l[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);(0,o.m)(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([r,...(e||{}).extensions||[]]),content:n(h),defined:[],document:n(f),flow:n(y),lazy:{},string:n(b),text:n(w)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
12olumn:n&&n.column||1,offset:n&&n.offset||0},i={},l=[],a=[],s=[],u={attempt:m(function(e,t){v(e,t.from)}),check:m(g),consume:function(e){(0,d.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,y()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:m(g,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,y()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,l=e[r];if("string"==typeof l)o=l;else switch(l){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(l)}n=-2===l,i.push(o)}return i.join("")}(f(e),t)},sliceStream:f,write:function(e){return(a=(0,o.V)(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),h=h(t)}else h=h(n)}}(),null!==a[a.length-1])?[]:(v(t,0),c.events=(0,q.W)(l,c.events,c),c.events)}},h=t.tokenize.call(c,u);return t.resolveAll&&l.push(t),c;function f(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,l=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,l)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}l>0&&n.push(e[o].slice(0,l))}return n}(a,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function g(e,t){t.restore()}function m(e,t){return function(n,i,o){var l;let a,d,h,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(l=n,function(e){let t=null!==e&&l[e],n=null!==e&&l.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(a=e,d=0,0===e.length)?o:m(e[d])}function m(e){return function(n){let i,o,l,a,d;return(i=p(),o=c.previous,l=c.currentConstruct,a=c.events.length,d=Array.from(s),f={from:a,restore:function(){r=i,c.previous=o,c.currentConstruct=l,c.events.length=a,s=d,y()}},h=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?x(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,v,x)(n)}}function v(t){return e(h,f),i}function x(e){return(f.restore(),++d<a.length)?m(a[d]):o}}}function v(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&(0,o.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function y(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(n).document().write((a=1,c="",p=!0,function(e,t,n){let r,i,o,s,u,d=[];for(e=c+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,c="",p&&(65279===e.charCodeAt(0)&&o++,p=void 0);o<e.length;){if(ep.lastIndex=o,s=(r=ep.exec(e))&&void 0!==r.index?r.index:e.length,u=e.charCodeAt(s),!r){c=e.slice(o);break}if(10===u&&o===s&&l)d.push(-3),l=void 0;else switch(l&&(d.push(-5),l=void 0),o<s&&(d.push(e.slice(o,s)),a+=s-o),u){case 0:d.push(65533),a++;break;case 9:for(i=4*Math.ceil(a/4),d.push(-2);a++<i;)d.push(-1);break;case 10:d.push(-4),a=1;break;default:l=!0,a=1}o=s+1}return n&&(l&&d.push(-5),c&&d.push(c),d.push(null)),d})(e,t,!0))))}function eb(e){return{line:e.line,column:e.column,offset:e.offset}}function ew(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,ev.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,ev.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,ev.L)({start:t.start,end:t.end})+") is still open")}},54882:(e,t,n)=>{"use strict";n.d(t,{yl:()=>o});var r,i=n(29641);function o(e){return()=>(function(e){if(!function(e,t=!0){if(e)return!1;let n=(0,i.Ni)().getTextContent();return t&&(n=n.trim()),""===n}(e,!1))return!1;let t=(0,i.Ni)().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){let n=t[e];if((0,i.Cy)(n))return!1;if((0,i.ff)(n)){if(!(0,i.bS)(n)||0!==n.__indent)return!1;let t=n.getChildren(),r=t.length;for(let n=0;n<r;n++){let n=t[e];if(!(0,i.kF)(n))return!1}}}return!0})(e)}(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")&&r.default},56678:(e,t,n)=>{"use strict";function r(e,t){return!!(!1===t.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}n.d(t,{m:()=>r})},56689:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;
12if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var r,i,o,l=o[i];if(!e(t[l],n[l]))return!1}return!0}return t!=t&&n!=n}},56698:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var r=n(59755),i=n(71304);let o={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o):n(t)};function o(t){return(0,i.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),l):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),l):n(t)}function l(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.HP)(r)?t(r):(0,i.On)(r)?e.check({tokenize:a},t,n)(r):n(r)}}};function l(){return{text:{91:o}}}function a(e,t,n){return(0,r.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}}
12,57443:(e,t,n)=>{"use strict";n.d(t,{F7:()=>d});var r=n(94185),i=n(14812),o=n(53239),l=n(74008),a=n(45227);let s=(0,i.fh)(()=>null),u=(0,i.fh)(""),c=()=>"This is an empty toolbar. Pass `{toolbarContents: () => { return <>toolbar components</> }}` to the toolbarPlugin to customize it.",d=(0,r.Z)({init(e,t){e.pubIn({[s]:(null==t?void 0:t.toolbarContents)??c,[u]:(null==t?void 0:t.toolbarClassName)??"",[l.IZ]:()=>{let[e,t,n]=(0,i.uX)(s,l.pc,u);return o.createElement(a.bL,{className:n,readOnly:t},e())}})},update(e,t){e.pub(s,(null==t?void 0:t.toolbarContents)??c),e.pub(u,(null==t?void 0:t.toolbarClassName)??"")}})},57563:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var r=n(56689),i=n(53239),o=n(91173);function l(e,t,n){return function(e,t,n){let[l,a]=function(e,t,n){let[l,a]=(0,i.useState)(()=>t(e)),s=(0,i.useCallback)(()=>{let i=t(e);!r(l,i)&&(a(i),n&&n())},[l,e,n]);return(0,o.E)(s),[l,s]}(e,t,n);return(0,o.E)(function(){let t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(a,{handlerIds:[t]})},[e,a]),l}(t,e||(()=>({})),()=>n.reconnect())}},58381:(e,t,n)=>{var r=n(86458),i=n(67667),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},59194:()=>{var e,t,n;e=Prism,t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])},59755:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(71304);function i(e,t,n,i){let o=i?i-1:1/0,l=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(a){return(0,r.On)(a)&&l++<o?(e.consume(a),i):(e.exit(n),t(a))}(i)):t(i)}}},59911:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>A});var r=n(59868),i=n(75971),o=n(53239),l=n(40714),a=n(19085),s=n(10964),u=n(76023),c=n(16493),d=n(83269),h=n(18306),f=n(79881),p=n(56499),g=n(57550),m=n(35866),v=n(18003),y=n(28747);function x(e){return(0,y.Ay)("MuiDrawer",e)}(0,v.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var b=n(80263);let w=["BackdropProps"],C=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],_=(e,t)=>
12{let{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},k=(0,g.Ay)(u.A,{name:"MuiDrawer",slot:"Root",overridesResolver:_})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),E=(0,g.Ay)("div",{shouldForwardProp:m.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:_})({flex:"0 0 auto"}),S=(0,g.Ay)(d.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,h.A)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,h.A)(n.anchor)}`]]}})(({theme:e,ownerState:t})=>(0,i.A)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),T={left:"right",right:"left",top:"down",bottom:"up"},A=o.forwardRef(function(e,t){let n=(0,p.b)({props:e,name:"MuiDrawer"}),u=(0,f.A)(),d=(0,s.I)(),g={enter:u.transitions.duration.enteringScreen,exit:u.transitions.duration.leavingScreen},{anchor:m="left",BackdropProps:v,children:y,className:_,elevation:A=16,hideBackdrop:I=!1,ModalProps:{BackdropProps:M}={},onClose:P,open:N=!1,PaperProps:L={},SlideProps:D,TransitionComponent:R=c.A,transitionDuration:F=g,variant:O="temporary"}=n,V=(0,r.A)(n.ModalProps,w),H=(0,r.A)(n,C),B=o.useRef(!1);o.useEffect(()=>{B.current=!0},[]);let z=function({direction:e},t){return"rtl"===e&&-1!==["left","right"].indexOf(t)?T[t]:t}({direction:d?"rtl":"ltr"},m),j=(0,i.A)({},n,{anchor:m,elevation:A,open:N,variant:O},H),W=(e=>{let{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,h.A)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,h.A)(n)}`]};return(0,a.A)(i,x,t)})(j),$=(0,b.jsx)(S,(0,i.A)({elevation:"temporary"===O?A:0,square:!0},L,{className:(0,l.A)(W.paper,L.className),ownerState:j,children:y}));if("permanent"===O)return(0,b.jsx)(E,(0,i.A)({className:(0,l.A)(W.root,W.docked,_),ownerState:j,ref:t},H,{children:$}));let U=(0,b.jsx)(R,(0,i.A)({in:N,direction:T[z],timeout:F,appear:B.current},D,{children:$}));return"persistent"===O?(0,b.jsx)(E,(0,i.A)({className:(0,l.A)(W.root,W.docked,_),ownerState:j,ref:t},H,{children:U})):(0,b.jsx)(k,(0,i.A)({BackdropProps:(0,i.A)({},v,M,{transitionDuration:F}),className:(0,l.A)(W.root,W.modal,_),open:N,ownerState:j,onClose:P,hideBackdrop:I,ref:t},H,V,{children:U}))})},60189:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},60486:(e,t,n)=>{"use strict";n.d(t,{D:()=>u});var r=n(53977),i=n(53239),o=n(49795),l=n(73440),a=n(74008),s=n(14812);let u=e=>e.suggestions.length>0?i.createElement(c,{...e}):i.createElement("input",{className:l.Ay.textInput,size:40,autoFocus:!0,...e.register(e.inputName)}),c=({autofocus:e,suggestions:t,control:n,inputName:u,placeholder:c,initialInputValue:d,setValue:h})=>{let[f,p]=i.useState(t.slice(0,20)),g=(0,s.X3)(a.yr),m=t.length>0,{isOpen:v,getToggleButtonProps:y,getMenuProps:x,getInputProps:b,highlightedIndex:w,getItemProps:C,selectedItem:_}=(0,r.Bp)({initialInputValue:d,onInputValueChange({inputValue:e=""}){h(u,e),e=e.toLowerCase()||"";let n=[];for(let r of t)if(r.toLowerCase().includes(e)&&(n.push(r),n.length>=20))break;p(n)},items:f,itemToString:e=>e??""}),k=v&&f.length>0;return i.createElement("div",{className:l.Ay.downshiftAutocompleteContainer},i.createElement("div",{"data-visible-dropdown":k,className:l.Ay.downshiftInputWrapper},i.createElement(o.xI,{name:u,control:n,render:({field:t})=>{let n=b();return i.createElement("input",{...n,name:t.name,placeholder:c,className:l.Ay.downshiftInput,size:30,"data-editor-dialog":!0,autoFocus:e})}}),m&&i.createElement("button",{"aria-label":"toggle menu",type:"button",...y()},g("arrow_drop_down"))),i.createElement("div",{className:l.Ay.downshiftAutocompleteContainer},i.createElement("ul",{...x(),"data-visible":k},f.map((e,t)=>i.createElement("li",{"data-selected":_===e,"data-highlighted":w===t,key:`${e}${t}`,...C({item:e,index:t})},e)))))}},60695:(e,t,n)=>{"use strict";function r(e){var t=e.toString(16);return 1===t.length?"0"+t:t}function i(e){return"#"+e.map(r).join("")}function o(e,t,n){for(var r=0;r<n.length;r++)if(function(e,t,n){var r,i,o,a,s,u;switch(n.length){case 3:if(r=e,i=t,o=n,255!==r[i+3]||r[i]===o[0]&&r[i+1]===o[1]&&r[i+2]===o[2])return!0;break;case 4:if(a=e,s=t,u=n,a[s+3]&&u[3]?a[s]===u[0]&&a[s+1]===u[1]&&a[s+2]===u[2]&&a[s+3]===u[3]:a[s+3]===u[3])return!0;break;case 5:if(function(e,t,n){var r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],u=e[t+3],c=l(u,a,s);return a?!!(!u&&c||l(e[t],r,s)&&l(e[t+1],i,s)&&l(e[t+2],o,s)&&c):c}(e,t,n))return!0;break;default:return!1}}(e,t,n[r]))return!0;return!1}function l(e,t,n){return e>=t-n&&e<=t+n}function a(e,t,n){for(var r={},i=n.dominantDivider||24,l=n.ignoredColor,a=n.step,s=[0,0,0,0,0],u=0;u<t;u+=a){var c=e[u],d=e[u+1],h=e[u+2],f=e[u+3];if(!(l&&o(e,u,l))){var p=Math.round(c/i)+","+Math.round(d/i)+","+Math.round(h/i);r[p]?r[p]=[r[p][0]+c*f,r[p][1]+d*f,r[p][2]+h*f,r[p][3]+f,r[p][4]+1]:r[p]=[c*f,d*f,h*f,f,1],s[4]<r[p][4]&&(s=r[p])}}var g=s[0],m=s[1],v=s[2],y=s[3],x=s[4];return y?[Math.round(g/y),Math.round(m/y),Math.round(v/y),Math.round(y/x)]:n.defaultColor}function s(e,t,n){for(var r=0,i=0,l=0,a=0,s=0,u=n.ignoredColor,c=n.step,d=0;d<t;d+=c){var h=e[d+3],f=e[d]*h,p=e[d+1]*h,g=e[d+2]*h;!(u&&o(e,d,u))&&(r+=f,i+=p,l+=g,a+=h,s++)}return a?[Math.round(r/a),Math.round(i/a),Math.round(l/a),Math.round(a/s)]:n.defaultColor}function u(e,t,n){for(var r=0,i=0,l=0,a=0,s=0,u=n.ignoredColor,c=n.step,d=0;d<t;d+=c){var h=e[d],f=e[d+1],p=e[d+2],g=e[d+3];!(u&&o(e,d,u))&&(r+=h*h*g,i+=f*f*g,l+=p*p*g,a+=g,s++)}return a?[Math.round(Math.sqrt(r/a)),Math.round(Math.sqrt(i/a)),Math.round(Math.sqrt(l/a)),Math.round(a/s)]:n.defaultColor}function c(e){return d(e,"defaultColor",[0,0,0,0])}function d(e,t,n){return void 0===e[t]?n:e[t]}function h(e){var t,n,r;return(t=e,"u">typeof HTMLCanvasElement&&t instanceof HTMLCanvasElement)?"canvas":(n=e,p&&n instanceof OffscreenCanvas)?"offscreencanvas":(r=e,"u">typeof ImageBitmap&&r instanceof ImageBitmap)?"imagebitmap":e.src}function f(e){return"u">typeof HTMLImageElement&&e instanceof HTMLImageElement}n.d(t,{D:()=>y});var p="u">typeof OffscreenCanvas,g="u"<typeof window;function m(e){return Error("FastAverageColor: "+e)}function v(e,t){t||console.error(e)}var y=function(){function e(){this.canvas=null,this.ctx=null}return e.prototype.getColorAsync=function(e,t){if(!e)return Promise.reject(m("call .getColorAsync() without resource"));if("string"==typeof e){if("u"<typeof Image)return Promise.reject(m("resource as string is not supported in this environment"));var n=new Image;return n.crossOrigin=t&&t.crossOrigin||"",n.src=e,this.bindImageEvents(n,t)}if(f(e)&&!e.complete)return this.bindImageEvents(e,t);var r=this.getColor(e,t);
12return r.error?Promise.reject(r.error):Promise.resolve(r)},e.prototype.getColor=function(e,t){var n,r,i,o,l,a,s,u,y=c(t=t||{});if(!e){var x=m("call .getColor() without resource");return v(x,t.silent),this.prepareResult(y,x)}var b=(n=function(e){if(f(e)){var t,n=e.naturalWidth,r=e.naturalHeight;return e.naturalWidth||-1===e.src.search(/\.svg(\?|$)/i)||(n=r=100),{width:n,height:r}}return(t=e,"u">typeof HTMLVideoElement&&t instanceof HTMLVideoElement)?{width:e.videoWidth,height:e.videoHeight}:{width:e.width,height:e.height}}(e),i=d(r=t,"left",0),o=d(r,"top",0),l=d(r,"width",n.width),a=d(r,"height",n.height),s=l,u=a,"precision"===r.mode||(l>a?u=Math.round((s=100)/(l/a)):s=Math.round((u=100)/(a/l)),(s>l||u>a||s<10||u<10)&&(s=l,u=a)),{srcLeft:i,srcTop:o,srcWidth:l,srcHeight:a,destWidth:s,destHeight:u});if(!b.srcWidth||!b.srcHeight||!b.destWidth||!b.destHeight){var x=m('incorrect sizes for resource "'.concat(h(e),'"'));return v(x,t.silent),this.prepareResult(y,x)}if(!this.canvas&&(this.canvas=g?p?new OffscreenCanvas(1,1):null:document.createElement("canvas"),!this.canvas)){var x=m("OffscreenCanvas is not supported in this browser");return v(x,t.silent),this.prepareResult(y,x)}if(!this.ctx){if(this.ctx=this.canvas.getContext("2d",{willReadFrequently:!0}),!this.ctx){var x=m("Canvas Context 2D is not supported in this browser");return v(x,t.silent),this.prepareResult(y)}this.ctx.imageSmoothingEnabled=!1}this.canvas.width=b.destWidth,this.canvas.height=b.destHeight;try{this.ctx.clearRect(0,0,b.destWidth,b.destHeight),this.ctx.drawImage(e,b.srcLeft,b.srcTop,b.srcWidth,b.srcHeight,0,0,b.destWidth,b.destHeight);var w=this.ctx.getImageData(0,0,b.destWidth,b.destHeight).data;return this.prepareResult(this.getColorFromArray4(w,t))}catch(n){var x=m("security error (CORS) for resource ".concat(h(e),".\nDetails: https://developer.mozilla.org/en/docs/Web/HTML/CORS_enabled_image"));return v(x,t.silent),t.silent||console.error(n),this.prepareResult(y,x)}},e.prototype.getColorFromArray4=function(e,t){t=t||{};var n,r,i=e.length,o=c(t);if(i<4)return o;var l=4*(t.step||1);switch(t.algorithm||"sqrt"){case"simple":n=s;break;case"sqrt":n=u;break;case"dominant":n=a;break;default:throw m("".concat(t.algorithm," is unknown algorithm"))}return n(e,i-i%4,{defaultColor:o,ignoredColor:(r=t.ignoredColor)?Array.isArray(r[0])?r:[r]:[],step:l,dominantDivider:t.dominantDivider})},e.prototype.prepareResult=function(e,t){var n=e.slice(0,3),r=[e[0],e[1],e[2],e[3]/255],o=(299*e[0]+587*e[1]+114*e[2])/1e3<128;return{value:[e[0],e[1],e[2],e[3]],rgb:"rgb("+n.join(",")+")",rgba:"rgba("+r.join(",")+")",hex:i(n),hexa:i(e),isDark:o,isLight:!o,error:t}},e.prototype.destroy=function(){this.canvas&&(this.canvas.width=1,this.canvas.height=1,this.canvas=null),this.ctx=null},e.prototype.bindImageEvents=function(e,t){var n=this;return new Promise(function(r,i){var o=function(){s();var o=n.getColor(e,t);o.error?i(o.error):r(o)},l=function(){s(),i(m('Error loading image "'.concat(e.src,'"')))},a=function(){s(),i(m('Image "'.concat(e.src,'" loading aborted')))},s=function(){e.removeEventListener("load",o),e.removeEventListener("error",l),e.removeEventListener("abort",a)};e.addEventListener("load",o),e.addEventListener("error",l),e.addEventListener("abort",a)})},e}()},61328:()=>{var e,t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,(e=Prism).languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}
12,61799:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(59868),i=n(75971),o=n(53239),l=n(40714),a=n(19085),s=n(18306),u=n(57550),c=n(56499),d=n(84472),h=n(36564),f=n(77758),p=n(18003),g=n(28747);function m(e){return(0,g.Ay)("MuiLink",e)}let v=(0,p.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var y=n(10409),x=n(82053);let b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var w=n(80263);let C=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],_=(0,u.Ay)(f.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[`underline${(0,s.A)(n.underline)}`],"button"===n.component&&t.button]}})(({theme:e,ownerState:t})=>(0,i.A)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,i.A)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:(({theme:e,ownerState:t})=>{let n,r=b[n=t.color]||n,i=(0,y.Yn)(e,`palette.${r}`,!1)||t.color,o=(0,y.Yn)(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,x.X4)(i,.4)})({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${v.focusVisible}`]:{outline:"auto"}})),k=o.forwardRef(function(e,t){let n=(0,c.b)({props:e,name:"MuiLink"}),{className:u,color:f="primary",component:p="a",onBlur:g,onFocus:v,TypographyClasses:y,underline:x="always",variant:k="inherit",sx:E}=n,S=(0,r.A)(n,C),{isFocusVisibleRef:T,onBlur:A,onFocus:I,ref:M}=(0,d.A)(),[P,N]=o.useState(!1),L=(0,h.A)(t,M),D=(0,i.A)({},n,{color:f,component:p,focusVisible:P,underline:x,variant:k}),R=(e=>{let{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${(0,s.A)(i)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,a.A)(o,m,t)})(D);return(0,w.jsx)(_,(0,i.A)({color:f,className:(0,l.A)(R.root,u),classes:y,component:p,onBlur:e=>{A(e),!1===T.current&&N(!1),g&&g(e)},onFocus:e=>{I(e),!0===T.current&&N(!0),v&&v(e)},ref:L,ownerState:D,variant:k,sx:[...Object.keys(b).includes(f)?[]:[{color:f}],...Array.isArray(E)?E:[E]]},S))})},62261:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r,i=n(22369);let o=function(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var l=e[i];t(r,l,n(l),e)}return r};var l=n(40253);let a=function(e,t,n,r){return(0,l.A)(e,function(e,i,o){t(r,e,n(e),o)}),r};var s=n(15490),u=n(75092),c=Object.prototype.hasOwnProperty;let d=(r=function(e,t,n){c.call(e,n)?e[n].push(t):(0,i.A)(e,n,[t])},function(e,t){return((0,u.A)(e)?o:a)(e,r,(0,s.A)(t,2),{})})},62594:(e,t,n)=>{"use strict";n.d(t,{i:()=>y});var r=n(79015),i=n(57563),o=n(91987),l=n(53239),a=n(36529),s=n(36239),u=n(79555);class c{receiveHandlerId(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(e){this.dragSourceOptionsInternal=e}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(e){this.dragPreviewOptionsInternal=e}reconnect(){let e=this.reconnectDragSource();this.reconnectDragPreview(e)}reconnectDragSource(){let e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e),t}reconnectDragPreview(e=!1){let t=this.dragPreview,n=e||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),this.handlerId){if(!t){this.lastConnectedDragPreview=t;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=t,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,t,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!(0,a.b)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!(0,a.b)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(e){this.hooks=(0,u.i)({dragSource:(e,t)=>{this.clearDragSource(),this.dragSourceOptions=t||null,(0,s.i)(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,t)=>{this.clearDragPreview(),this.dragPreviewOptions=t||null,(0,s.i)(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=e}}var d=n(97315),h=n(91173);let f=!1,p=!1;class g{receiveHandlerId(e){this.sourceId=e}getHandlerId(){return this.sourceId}canDrag(){(0,r.V)(!f,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return f=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{f=!1}}isDragging(){if(!this.sourceId)return!1;(0,r.V)(!p,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return p=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{p=!1}}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}isDraggingSource(e){return this.internalMonitor.isDraggingSource(e)}isOverTarget(e,t){return this.internalMonitor.isOverTarget(e,t)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(e){return this.internalMonitor.subscribeToOffsetChange(e)}canDragSource(e){return this.internalMonitor.canDragSource(e)}canDropOnTarget(e){return this.internalMonitor.canDropOnTarget(e)}getItemType(){return this.internalMonitor.getItemType()}
12getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.sourceId=null,this.internalMonitor=e.getMonitor()}}var m=n(97043);class v{beginDrag(){let e=this.spec,t=this.monitor,n=null;return null!=(n="object"==typeof e.item?e.item:"function"==typeof e.item?e.item(t):{})?n:null}canDrag(){let e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}isDragging(e,t){let n=this.spec,r=this.monitor,{isDragging:i}=n;return i?i(r):t===e.getSourceId()}endDrag(){let e=this.spec,t=this.monitor,n=this.connector,{end:r}=e;r&&r(t.getItem(),t),n.reconnect()}constructor(e,t,n){this.spec=e,this.monitor=t,this.connector=n}}function y(e,t){var n,a;let s,u,f,p,y,x,b,w=(0,o.I)(e,t);(0,r.V)(!w.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");let C=(s=(0,d.u)(),(0,l.useMemo)(()=>new g(s),[s])),_=(n=w.options,a=w.previewOptions,u=(0,d.u)(),f=(0,l.useMemo)(()=>new c(u.getBackend()),[u]),(0,h.E)(()=>(f.dragSourceOptions=n||null,f.reconnect(),()=>f.disconnectDragSource()),[f,n]),(0,h.E)(()=>(f.dragPreviewOptions=a||null,f.reconnect(),()=>f.disconnectDragPreview()),[f,a]),f);return p=(0,d.u)(),y=(0,l.useMemo)(()=>new v(w,C,_),[C,_]),(0,l.useEffect)(()=>{y.spec=w},[w]),x=y,b=(0,l.useMemo)(()=>{let e=w.type;return(0,r.V)(null!=e,"spec.type must be defined"),e},[w]),(0,h.E)(function(){if(null!=b){let[e,t]=(0,m.V)(b,x,p);return C.receiveHandlerId(e),_.receiveHandlerId(e),t}},[p,C,_,x,b]),[(0,i.j)(w.collect,C,_),(0,l.useMemo)(()=>_.hooks.dragSource(),[_]),(0,l.useMemo)(()=>_.hooks.dragPreview(),[_])]}},63232:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},64043:(e,t,n)=>{"use strict";n.d(t,{H:()=>v});var r=n(57563),i=n(91987),o=n(53239),l=n(36529),a=n(36239),s=n(79555);class u{get connectTarget(){return this.dropTarget}reconnect(){let e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();let t=this.dropTarget;if(this.handlerId){if(!t){this.lastConnectedDropTarget=t;return}e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions))}}receiveHandlerId(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(e){this.dropTargetOptionsInternal=e}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!(0,l.b)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(e){this.hooks=(0,s.i)({dropTarget:(e,t)=>{this.clearDropTarget(),this.dropTargetOptions=t,(0,a.i)(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=e}}var c=n(97315),d=n(91173),h=n(79015);let f=!1;class p{receiveHandlerId(e){this.targetId=e}getHandlerId(){return this.targetId}subscribeToStateChange(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}canDrop(){if(!this.targetId)return!1;(0,h.V)(!f,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return f=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{f=!1}}isOver(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}getItemType(){return this.internalMonitor.getItemType()}
12getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(e){this.targetId=null,this.internalMonitor=e.getMonitor()}}var g=n(97043);class m{canDrop(){let e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}hover(){let e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}drop(){let e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}constructor(e,t){this.spec=e,this.monitor=t}}function v(e,t){var n;let l,a,s,f,v,y,x,b=(0,i.I)(e,t),w=(l=(0,c.u)(),(0,o.useMemo)(()=>new p(l),[l])),C=(n=b.options,a=(0,c.u)(),s=(0,o.useMemo)(()=>new u(a.getBackend()),[a]),(0,d.E)(()=>(s.dropTargetOptions=n||null,s.reconnect(),()=>s.disconnectDropTarget()),[n]),s);return f=(0,c.u)(),v=(0,o.useMemo)(()=>new m(b,w),[w]),(0,o.useEffect)(()=>{v.spec=b},[b]),y=v,x=function(e){let{accept:t}=e;return(0,o.useMemo)(()=>((0,h.V)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}(b),(0,d.E)(function(){let[e,t]=(0,g.l)(x,y,f);return w.receiveHandlerId(e),C.receiveHandlerId(e),t},[f,w,y,C,x.map(e=>e.toString()).join("|")]),[(0,r.j)(b.collect,w,C),(0,o.useMemo)(()=>C.hooks.dropTarget(),[C])]}},65552:(e,t,n)=>{"use strict";n.d(t,{I:()=>u});var r=n(53239),i=n(7179),o=n(45227),l=n(14812),a=n(74008);let s={bullet:"format_list_bulleted",number:"format_list_numbered",check:"format_list_checked"},u=({options:e=["bullet","number","check"]})=>{let[t,n]=(0,l.uX)(i.SH,a.yr),u=(0,l.qM)(i.Nq),c=(0,a.Bd)(),d={bullet:c("toolbar.bulletedList","Bulleted list"),number:c("toolbar.numberedList","Numbered list"),check:c("toolbar.checkList","Check list")},h=e.map(e=>({value:e,title:d[e],contents:n(s[e])}));return r.createElement(o.fp,{value:t||"",items:h,onChange:u})}},65577:(e,t,n)=>{"use strict";n.d(t,{UC:()=>ea,Y9:()=>eo,q7:()=>ei,bL:()=>er,l9:()=>el});var r=n(53239),i=n(76200),o=n(12742),l=n(82850),a=n(42842),s=n(3503),u=n(85417),c=n(85025),d=e=>{var t;let n,i,{present:o,children:a}=e,s=function(e){var t,n;let[i,o]=r.useState(),l=r.useRef(null),a=r.useRef(e),s=r.useRef("none"),[u,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=h(l.current);s.current="mounted"===u?e:"none"},[u]),(0,c.N)(()=>{let t=l.current,n=a.current;if(n!==e){let r=s.current,i=h(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):n&&r!==i?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),(0,c.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=h(l.current).includes(n.animationName);if(n.target===i&&r&&(d("ANIMATION_END"),!a.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(s.current=h(l.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(o),u="function"==typeof a?a({present:s.isPresent}):r.Children.only(a),d=(0,l.s)(s.ref,(t=u,(i=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(i=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof a||s.isPresent?r.cloneElement(u,{ref:d}):null};function h(e){return e?.animationName||"none"}d.displayName="Presence";var f=n(27459),p=n(80263),g="Collapsible",[m,v]=(0,i.A)(g),[y,x]=m(g),b=r.forwardRef((e,t)=>
12{let{__scopeCollapsible:n,open:i,defaultOpen:o,disabled:l,onOpenChange:a,...c}=e,[d,h]=(0,s.i)({prop:i,defaultProp:o??!1,onChange:a,caller:g});return(0,p.jsx)(y,{scope:n,disabled:l,contentId:(0,f.B)(),open:d,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),children:(0,p.jsx)(u.sG.div,{"data-state":S(d),"data-disabled":l?"":void 0,...c,ref:t})})});b.displayName=g;var w="CollapsibleTrigger",C=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=x(w,n);return(0,p.jsx)(u.sG.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":S(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,a.m)(e.onClick,i.onOpenToggle)})});C.displayName=w;var _="CollapsibleContent",k=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,i=x(_,e.__scopeCollapsible);return(0,p.jsx)(d,{present:n||i.open,children:({present:e})=>(0,p.jsx)(E,{...r,ref:t,present:e})})});k.displayName=_;var E=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:i,children:o,...a}=e,s=x(_,n),[d,h]=r.useState(i),f=r.useRef(null),g=(0,l.s)(t,f),m=r.useRef(0),v=m.current,y=r.useRef(0),b=y.current,w=s.open||d,C=r.useRef(w),k=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{let e=f.current;if(e){k.current=k.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();m.current=t.height,y.current=t.width,C.current||(e.style.transitionDuration=k.current.transitionDuration,e.style.animationName=k.current.animationName),h(i)}},[s.open,i]),(0,p.jsx)(u.sG.div,{"data-state":S(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!w,...a,ref:g,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:w&&o})});function S(e){return e?"open":"closed"}var T=n(96371),A="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[M,P,N]=(0,o.N)(A),[L,D]=(0,i.A)(A,[N,v]),R=v(),F=r.forwardRef((e,t)=>{let{type:n,...r}=e;return(0,p.jsx)(M.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,p.jsx)(j,{...r,ref:t}):(0,p.jsx)(z,{...r,ref:t})})});F.displayName=A;var[O,V]=L(A),[H,B]=L(A,{collapsible:!1}),z=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},collapsible:l=!1,...a}=e,[u,c]=(0,s.i)({prop:n,defaultProp:i??"",onChange:o,caller:A});return(0,p.jsx)(O,{scope:e.__scopeAccordion,value:r.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:r.useCallback(()=>l&&c(""),[l,c]),children:(0,p.jsx)(H,{scope:e.__scopeAccordion,collapsible:l,children:(0,p.jsx)(U,{...a,ref:t})})})}),j=r.forwardRef((e,t)=>{let{value:n,defaultValue:i,onValueChange:o=()=>{},...l}=e,[a,u]=(0,s.i)({prop:n,defaultProp:i??[],onChange:o,caller:A}),c=r.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=r.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,p.jsx)(O,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:d,children:(0,p.jsx)(H,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(U,{...l,ref:t})})})}),[W,$]=L(A),U=r.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:i,dir:o,orientation:s="vertical",...c}=e,d=r.useRef(null),h=(0,l.s)(d,t),f=P(n),g="ltr"===(0,T.jH)(o),m=(0,a.m)(e.onKeyDown,e=>{if(!I.includes(e.key))return;let t=e.target,n=f().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===r)return;e.preventDefault();let o=r,l=i-1,a=()=>{(o=r+1)>l&&(o=0)},u=()=>{(o=r-1)<0&&(o=l)};switch(e.key){case"Home":o=0;break;case"End":o=l;break;case"ArrowRight":"horizontal"===s&&(g?a():u());break;case"ArrowDown":"vertical"===s&&a();break;case"ArrowLeft":"horizontal"===s&&(g?u():a());break;case"ArrowUp":"vertical"===s&&u()}let c=o%i;n[c].ref.current?.focus()});return(0,p.jsx)(W,{scope:n,disabled:i,direction:o,orientation:s,children:(0,p.jsx)(M.Slot,{scope:n,children:(0,p.jsx)(u.sG.div,{...c,"data-orientation":s,ref:h,onKeyDown:i?void 0:m})})})}),J="AccordionItem",[K,Z]=L(J),q=r.forwardRef((e,t)=>
12{let{__scopeAccordion:n,value:r,...i}=e,o=$(J,n),l=V(J,n),a=R(n),s=(0,f.B)(),u=r&&l.value.includes(r)||!1,c=o.disabled||e.disabled;return(0,p.jsx)(K,{scope:n,open:u,disabled:c,triggerId:s,children:(0,p.jsx)(b,{"data-orientation":o.orientation,"data-state":en(u),...a,...i,ref:t,disabled:c,open:u,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})})});q.displayName=J;var G="AccordionHeader",Y=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=$(A,n),o=Z(G,n);return(0,p.jsx)(u.sG.h3,{"data-orientation":i.orientation,"data-state":en(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});Y.displayName=G;var X="AccordionTrigger",Q=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=$(A,n),o=Z(X,n),l=B(X,n),a=R(n);return(0,p.jsx)(M.ItemSlot,{scope:n,children:(0,p.jsx)(C,{"aria-disabled":o.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...a,...r,ref:t})})});Q.displayName=X;var ee="AccordionContent",et=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,i=$(A,n),o=Z(ee,n),l=R(n);return(0,p.jsx)(k,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...l,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function en(e){return e?"open":"closed"}et.displayName=ee;var er=F,ei=q,eo=Y,el=Q,ea=et},66916:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82899),i=n(80263);let o=(0,r.A)((0,i.jsx)("path",{d:"m17.6 9.48 1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24c-2.86-1.21-6.08-1.21-8.94 0L5.65 5.67c-.19-.29-.58-.38-.87-.2-.28.18-.37.54-.22.83L6.4 9.48C3.3 11.25 1.28 14.44 1 18h22c-.28-3.56-2.3-6.75-5.4-8.52M7 15.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25m10 0c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25"}),"Android")},67667:(e,t,n)=>{e.exports=n(74482)(Object.keys,Object)},67684:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}},67889:(e,t,n)=>{"use strict";n.d(t,{Db:()=>l,FJ:()=>u,Yh:()=>d,hx:()=>p,iK:()=>h,k_:()=>c,yW:()=>f,zA:()=>s});var r=n(35588),i=n(29641);let o=new Set(["http:","https:","mailto:","sms:","tel:"]);class l extends i.fG{static getType(){return"link"}static clone(e){return new l(e.__url,{rel:e.__rel,target:e.__target,title:e.__title},e.__key)}constructor(e,t={},n){super(n);const{target:r=null,rel:i=null,title:o=null}=t;this.__url=e,this.__target=r,this.__rel=i,this.__title=o}createDOM(e){let t=document.createElement("a");return t.href=this.sanitizeUrl(this.__url),null!==this.__target&&(t.target=this.__target),null!==this.__rel&&(t.rel=this.__rel),null!==this.__title&&(t.title=this.__title),(0,r.ZB)(t,e.theme.link),t}updateDOM(e,t,n){if(t instanceof HTMLAnchorElement){let n=this.__url,r=this.__target,i=this.__rel,o=this.__title;n!==e.__url&&(t.href=n),r!==e.__target&&(r?t.target=r:t.removeAttribute("target")),i!==e.__rel&&(i?t.rel=i:t.removeAttribute("rel")),o!==e.__title&&(o?t.title=o:t.removeAttribute("title"))}return!1}static importDOM(){return{a:e=>({conversion:a,priority:1})}}static importJSON(e){let t=s(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{let t=new URL(e);if(!o.has(t.protocol))return"about:blank"}catch(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){let n=s(this.__url,{rel:this.__rel,target:this.__target,title:this.__title});return this.insertAfter(n,t),n}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}canBeEmpty(){return!1}isInline(){return!0}extractWithChild(e,t,n){if(!(0,i.I2)(t))return!1;let r=t.anchor.getNode(),o=t.focus.getNode();return this.isParentOf(r)&&this.isParentOf(o)&&t.getTextContent().length>0}isEmailURI(){return this.__url.startsWith("mailto:")}isWebSiteURI(){return this.__url.startsWith("https://")||this.__url.startsWith("http://")}}function a(e){let t=null;if((0,i.nY)(e)){let n=e.textContent;(null!==n&&""!==n||e.children.length>0)&&(t=s(e.getAttribute("href")||"",{rel:e.getAttribute("rel"),target:e.getAttribute("target"),title:e.getAttribute("title")}))}return{node:t}}function s(e,t){return(0,i.pT)(new l(e,t))}function u(e){return e instanceof l}class c extends l{constructor(e,t={},n){super(e,t,n),this.__isUnlinked=void 0!==t.isUnlinked&&null!==t.isUnlinked&&t.isUnlinked}static getType(){return"autolink"}static clone(e){return new c(e.__url,{isUnlinked:e.__isUnlinked,rel:e.__rel,target:e.__target,title:e.__title},e.__key)}getIsUnlinked(){return this.__isUnlinked}setIsUnlinked(e){let t=this.getWritable();return t.__isUnlinked=e,t}createDOM(e){return this.__isUnlinked?document.createElement("span"):super.createDOM(e)}updateDOM(e,t,n){return super.updateDOM(e,t,n)||e.__isUnlinked!==this.__isUnlinked}static importJSON(e){let t=d(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){let n=this.getParentOrThrow().insertNewAfter(e,t);if((0,i.ff)(n)){let e=d(this.__url,{isUnlinked:this.__isUnlinked,rel:this.__rel,target:this.__target,title:this.__title});return n.append(e),e}return null}}function d(e,t){return(0,i.pT)(new c(e,t))}function h(e){return e instanceof c}let f=(0,i.gu)("TOGGLE_LINK_COMMAND");function p(e,t={}){let{target:n,title:r}=t,o=void 0===t.rel?"noreferrer":t.rel,l=(0,i.vJ)();if(!(0,i.I2)(l))return;let a=l.extract();
12if(null===e)a.forEach(e=>{let t=e.getParent();if(!h(t)&&u(t)){let e=t.getChildren();for(let n=0;n<e.length;n++)t.insertBefore(e[n]);t.remove()}});else{if(1===a.length){let t=function(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}(a[0],u);if(null!==t)return t.setURL(e),void 0!==n&&t.setTarget(n),null!==o&&t.setRel(o),void(void 0!==r&&t.setTitle(r))}let t=null,l=null;a.forEach(a=>{let c=a.getParent();if(c!==l&&null!==c&&(!(0,i.ff)(a)||a.isInline())){if(u(c))return l=c,c.setURL(e),void 0!==n&&c.setTarget(n),null!==o&&l.setRel(o),void(void 0!==r&&l.setTitle(r));if(c.is(t)||(t=c,l=s(e,{rel:o,target:n,title:r}),u(c)?null===a.getPreviousSibling()?c.insertBefore(l):c.insertAfter(l):a.insertBefore(l)),u(a)){if(a.is(l))return;if(null!==l){let e=a.getChildren();for(let t=0;t<e.length;t++)l.append(e[t])}a.remove()}else null!==l&&l.append(a)}})}}},68185:(e,t,n)=>{"use strict";n.d(t,{Q:()=>y});var r=n(67867),i=n(53239),o=n(6877),l=n(71928),a=n(64446),s=n(43045),u=n(29879);let c=({adapter:e,value:t,timezone:n,props:r})=>{if(null===t)return null;let{minTime:i,maxTime:o,minutesStep:l,shouldDisableTime:a,disableIgnoringDatePartForTimeValidation:s=!1,disablePast:c,disableFuture:d}=r,h=e.date(void 0,n),f=(0,u.iF)(s,e);switch(!0){case!e.isValid(t):return"invalidDate";case!!(i&&f(i,t)):return"minTime";case!!(o&&f(t,o)):return"maxTime";case!!(d&&e.isAfter(t,h)):return"disableFuture";case!!(c&&e.isBefore(t,h)):return"disablePast";case!!(a&&a(t,"hours")):return"shouldDisableTime-hours";case!!(a&&a(t,"minutes")):return"shouldDisableTime-minutes";case!!(a&&a(t,"seconds")):return"shouldDisableTime-seconds";case!!(l&&e.getMinutes(t)%l!=0):return"minutesStep";default:return null}};c.valueManager=s.W;var d=n(45566),h=n(60045);function f(e){var t;let n=(0,d.h)(),r=(t=e,i.useMemo(()=>({disablePast:t.disablePast??!1,disableFuture:t.disableFuture??!1}),[t.disablePast,t.disableFuture])),o=i.useMemo(()=>e.ampm??n.is12HourCycleInCurrentLocale(),[e.ampm,n]);return i.useMemo(()=>(0,a.A)({},e,r,{format:e.format??(o?n.formats.fullTime12h:n.formats.fullTime24h)}),[e,r,o,n])}var p=n(49445),g=n(89876),m=n(80263);let v=["slots","slotProps","InputProps","inputProps"],y=i.forwardRef(function(e,t){var n;let a,u=(0,o.A)({props:e,name:"MuiTimeField"}),{slots:y,slotProps:x}=u,b=(0,r.A)(u,v),w=(a=function(e={}){let{enableAccessibleFieldDOMStructure:t=!0,ampm:n}=e;return i.useMemo(()=>{var e;return{valueType:"time",validator:c,internal_valueManager:s.W,internal_fieldValueManager:s.o,internal_enableAccessibleFieldDOMStructure:t,internal_useApplyDefaultValuesToFieldInternalProps:f,internal_useOpenPickerButtonAriaLabel:(e=n,function(t){let n=(0,d.h)(),r=(0,h.e)();return i.useMemo(()=>{let i=e??n.is12HourCycleInCurrentLocale()?"fullTime12h":"fullTime24h",o=n.isValid(t)?n.format(t,i):null;return r.openTimePickerDialogue(o)},[t,r,n])})}},[n,t])}(n=(0,p.dg)({slotProps:x,ref:t,externalForwardedProps:b})),(0,l.M)({manager:a,props:n}));return(0,m.jsx)(p.Rn,{slots:y,slotProps:x,inputRef:b.inputRef,children:(0,m.jsx)(p.z2,{fieldResponse:w,defaultOpenPickerIcon:g.O4})})})},68957:()=>{var e,t,n,r;e=Prism,t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?
12=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:r.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:r.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:r.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})},69136:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{Y:()=>b,B:()=>w});var i=n(1227);let o=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","
12sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],l={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};function a(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function s(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function u(e){let t;return(t="string"==typeof e?e.charCodeAt(0):e)>=97&&t<=122||t>=65&&t<=90||a(e)}var c=n(17600);let d=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"],h=/["&'<>`]/g,f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,g=/[|\\{}()[\]^$+*?.]/g,m=new WeakMap;function v(e){return"&#x"+e.toString(16).toUpperCase()+";"}var y=n(42458),x=n(4108);function b(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:r,mdxJsxFlowTagClosingMarker:h,mdxJsxFlowTagAttribute:w,mdxJsxFlowTagExpressionAttribute:C,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:p,mdxJsxTextTag:r,mdxJsxTextTagClosingMarker:h,mdxJsxTextTagAttribute:w,mdxJsxTextTagExpressionAttribute:C,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:p},exit:{mdxJsxFlowTagClosingMarker:g,mdxJsxFlowTagNamePrimary:m,mdxJsxFlowTagNameMember:v,mdxJsxFlowTagNameLocal:b,mdxJsxFlowTagExpressionAttribute:_,mdxJsxFlowTagExpressionAttributeValue:n,mdxJsxFlowTagAttributeNamePrimary:k,mdxJsxFlowTagAttributeNameLocal:E,mdxJsxFlowTagAttributeValueLiteral:S,mdxJsxFlowTagAttributeValueLiteralValue:n,mdxJsxFlowTagAttributeValueExpression:T,mdxJsxFlowTagAttributeValueExpressionValue:n,mdxJsxFlowTagSelfClosingMarker:A,mdxJsxFlowTag:I,mdxJsxTextTagClosingMarker:g,mdxJsxTextTagNamePrimary:m,mdxJsxTextTagNameMember:v,mdxJsxTextTagNameLocal:b,mdxJsxTextTagExpressionAttribute:_,mdxJsxTextTagExpressionAttributeValue:n,mdxJsxTextTagAttributeNamePrimary:k,mdxJsxTextTagAttributeNameLocal:E,mdxJsxTextTagAttributeValueLiteral:S,mdxJsxTextTagAttributeValueLiteralValue:n,mdxJsxTextTagAttributeValueExpression:T,mdxJsxTextTagAttributeValueExpressionValue:n,mdxJsxTextTagSelfClosingMarker:A,mdxJsxTextTag:I}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function n(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function r(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function h(e){let t=this.data.mdxJsxTagStack;if((0,i.ok)(t,"expected `mdxJsxTagStack`"),0===t.length)throw new x.o("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function f(e){let t=this.data.mdxJsxTag;if((0,i.ok)(t,"expected `mdxJsxTag`"),t.close)throw new x.o("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function p(e){let t=this.data.mdxJsxTag;if((0,i.ok)(t,"expected `mdxJsxTag`"),t.close)throw new x.o("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function g(){let e=this.data.mdxJsxTag;(0,i.ok)(e,"expected `mdxJsxTag`"),e.close=!0}function m(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`"),t.name=this.sliceSerialize(e)}function v(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`"),t.name+="."+this.sliceSerialize(e)}function b(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`"),t.name+=":"+this.sliceSerialize(e)}function w(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`"),f.call(this,e),n.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function C(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`"),f.call(this,e),n.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function _(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxExpressionAttribute"===r.type);let o=e.estree;r.value=this.resume(),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end),o&&(r.data={estree:o})}function k(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxAttribute"===r.type),r.name=this.sliceSerialize(e),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function E(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxAttribute"===r.type),r.name+=":"+this.sliceSerialize(e),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function S(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];r.value=function(e,t){let n,r,i,h=t||{},f="string"==typeof h.additional?h.additional.charCodeAt(0):h.additional,p=[],g=0,m=-1,v="";h.position&&("start"in h.position||"indent"in h.position?(r=h.position.indent,n=h.position.start):n=h.position);let y=(n?n.line:0)||1,x=(n?n.column:0)||1,b=_();for(g--;++g<=e.length;)if(10===i&&(x=(r?r[m]:0)||1),38===(i=e.charCodeAt(g))){let t,n=e.charCodeAt(g+1);if(9===n||10===n||12===n||32===n||38===n||60===n||Number.isNaN(n)||f&&n===f){v+=String.fromCharCode(i),x++;continue}let r=g+1,d=r,m=r;if(35===n){m=++d;let n=e.charCodeAt(m);88===n||120===n?(t="hexadecimal",m=++d):t="decimal"}else t="named";let y="",S="",T="",A="named"===t?u:"decimal"===t?a:s;for(m--;++m<=e.length;){let n=e.charCodeAt(m);
12if(!A(n))break;T+=String.fromCharCode(n),"named"===t&&o.includes(T)&&(y=T,S=(0,c.s)(T))}let I=59===e.charCodeAt(m);if(I){m++;let e="named"===t&&(0,c.s)(T);e&&(y=T,S=e)}let M=1+m-r,P="";if(I||!1!==h.nonTerminated)if(T)if("named"===t){if(I&&!S)k(5,1);else if(y!==T&&(M=1+(m=d+y.length)-d,I=!1),!I){let t=y?1:3;if(h.attribute){let n=e.charCodeAt(m);61===n?(k(t,M),S=""):u(n)?S="":k(t,M)}else k(t,M)}P=S}else{var w,C;I||k(2,M);let e=Number.parseInt(T,"hexadecimal"===t?16:10);if((w=e)>=55296&&w<=57343||w>1114111)k(7,M),P=String.fromCharCode(65533);else if(e in l)k(6,M),P=l[e];else{let t="";((C=e)>=1&&C<=8||11===C||C>=13&&C<=31||C>=127&&C<=159||C>=64976&&C<=65007||(65535&C)==65535||(65535&C)==65534)&&k(6,M),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),P=t+String.fromCharCode(e)}}else"named"!==t&&k(4,M);if(P){E(),b=_(),g=m-1,x+=m-r+1,p.push(P);let t=_();t.offset++,h.reference&&h.reference.call(h.referenceContext||void 0,P,{start:b,end:t},e.slice(r-1,m)),b=t}else T=e.slice(r-1,m),v+=T,x+=T.length,g=m-1}else 10===i&&(y++,m++,x=0),Number.isNaN(i)?E():(v+=String.fromCharCode(i),x++);return p.join("");function _(){return{line:y,column:x,offset:g+((n?n.offset:0)||0)}}function k(e,t){let n;h.warning&&(n=_(),n.column+=t,n.offset+=t,h.warning.call(h.warningContext||void 0,d[e],n,e))}function E(){v&&(p.push(v),h.text&&h.text.call(h.textContext||void 0,v,{start:b,end:_()}),v="")}}(this.resume(),{nonTerminated:!1}),(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function T(e){let n=this.data.mdxJsxTag;(0,i.ok)(n,"expected `mdxJsxTag`");let r=n.attributes[n.attributes.length-1];(0,i.ok)("mdxJsxAttribute"===r.type);let o={type:"mdxJsxAttributeValueExpression",value:this.resume()},l=e.estree;l&&(o.data={estree:l}),r.value=o,(0,i.ok)(void 0!==r.position),r.position.end=t(e.end)}function A(){let e=this.data.mdxJsxTag;(0,i.ok)(e,"expected `mdxJsxTag`"),e.selfClosing=!0}function I(e){let t=this.data.mdxJsxTag;(0,i.ok)(t,"expected `mdxJsxTag`");let n=this.data.mdxJsxTagStack;(0,i.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];if(t.close&&r.name!==t.name)throw new x.o("Unexpected closing tag `"+N(t)+"`, expected corresponding closing tag for `"+N(r)+"` ("+(0,y.L)(r)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?n.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,M),t.selfClosing||t.close?this.exit(e,P):n.push(t)}function M(e,t){let n=this.data.mdxJsxTagStack;(0,i.ok)(n,"expected `mdxJsxTagStack`");let r=n[n.length-1];(0,i.ok)(r,"expected `mdxJsxTag`");let o=e?" before the end of `"+e.type+"`":"",l=e?{start:e.start,end:e.end}:void 0;throw new x.o("Expected a closing tag for `"+N(r)+"` ("+(0,y.L)({start:t.start,end:t.end})+")"+o,l,"mdast-util-mdx-jsx:end-tag-mismatch")}function P(e,t){let n=this.data.mdxJsxTag;throw(0,i.ok)(n,"expected `mdxJsxTag`"),new x.o("Expected the closing tag `"+N(n)+"` either after the end of `"+t.type+"` ("+(0,y.L)(t.end)+") or another opening tag after the start of `"+t.type+"` ("+(0,y.L)(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function N(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}function w(e){let t=e||{},n=t.quote||'"',i=t.quoteSmart||!1,o=t.tightSelfClosing||!1,l=t.printWidth||1/0,a='"'===n?"'":'"';if('"'!==n&&"'"!==n)throw Error("Cannot serialize attribute values with `"+n+"` for `options.quote`, expected `\"`, or `'`");return s.peek=k,{handlers:{mdxJsxFlowElement:s,mdxJsxTextElement:s},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0};function s(e,t,s,u){let c="mdxJsxFlowElement"===e.type,d=!!e.name&&(!e.children||0===e.children.length),y=_(C(s)),x=s.createTracker(u),b=s.createTracker(u),w=[],k=(c?y:"")+"<"+(e.name||""),E=s.enter(e.type);if(x.move(k),b.move(k),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){let o,l=e.attributes[t];if("mdxJsxExpressionAttribute"===l.type)o="{"+(l.value||"")+"}";else{if(!l.name)throw Error("Cannot serialize attribute w/o name");let e=l.value,t=l.name,s="";if(null==e);else if("object"==typeof e)s="{"+(e.value||"")+"}";else{let t=i&&r(e,n)>r(e,a)?a:n;s=t+function(e,t){var n=e,r=Object.assign({format:v},t);if(n=n.replace(r.subset?function(e){let t=m.get(e);return t||(t=function(e){let t=[],n=-1;for(;++n<e.length;)t.push(e[n].replace(g,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(e),m.set(e,t)),t}(r.subset):h,i),r.subset||r.escapeOnly)return n;return n.replace(f,function(e,t,n){return r.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCo
12deAt(t+2),r)}).replace(p,i);function i(e,t,n){return r.format(e.charCodeAt(0),n.charCodeAt(t+1),r)}}(e,{subset:[t]})+t}o=t+(s?"=":"")+s}w.push(o)}}let S=!1,T=w.join(" ");c&&(/\r?\n|\r/.test(T)||x.current().now.column+T.length+(d?o?2:3:1)>l)&&(S=!0);let A=x,I=k;if(S){A=b;let e=-1;for(;++e<w.length;)w[e]=y+" "+w[e];I+=A.move("\n"+w.join("\n")+"\n"+y)}else T&&(I+=A.move(" "+T));return d&&(I+=A.move((o||S?"":" ")+"/")),I+=A.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?I+=A.move(s.containerPhrasing(e,{...A.current(),before:">",after:"<"})):(A.shift(2),I+=A.move("\n"),I+=A.move(function(e,t,n){let r=t.indexStack,i=e.children,o=t.createTracker(n),l=_(C(t)),a=[],s=-1;for(r.push(-1);++s<i.length;){let n=i[s];r[r.length-1]=s;let u={before:"\n",after:"\n",...o.current()},c=t.handle(n,e,t,u),d="mdxJsxFlowElement"===n.type?c:t.indentLines(c,function(e,t,n){return(n?"":l)+e});a.push(o.move(d)),"list"!==n.type&&(t.bulletLastUsed=void 0),s<i.length-1&&a.push(o.move("\n\n"))}return r.pop(),a.join("")}(e,s,A.current())),I+=A.move("\n"))),d||(I+=A.move((c?y:"")+"</"+(e.name||"")+">")),E(),I}}function C(e){let t=0,n=e.stack.length;for(;--n>-1;){let r=e.stack[n];if("blockquote"===r||"listItem"===r)break;"mdxJsxFlowElement"===r&&t++}return t}function _(e){return" ".repeat(e)}function k(){return"<"}},70674:(e,t,n)=>{e.exports=n(92855)(n(42468),"WeakMap")},71279:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,p:()=>i});let r=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function i(){return{canContainEols:["delete"],enter:{strikethrough:l},exit:{strikethrough:a}}}function o(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:r}],handlers:{delete:s}}}function l(e){this.enter({type:"delete",children:[]},e)}function a(e){this.exit(e)}function s(e,t,n,r){let i=n.createTracker(r),o=n.enter("strikethrough"),l=i.move("~~");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:"~"}),l+=i.move("~~"),o(),l}s.peek=function(){return"~"}},71304:(e,t,n)=>{"use strict";n.d(t,{BM:()=>a,CW:()=>r,Ee:()=>d,HP:()=>c,JQ:()=>l,Ny:()=>p,On:()=>h,cx:()=>o,es:()=>f,lV:()=>i,ok:()=>s,ol:()=>u});let r=g(/[A-Za-z]/),i=g(/[\dA-Za-z]/),o=g(/[#-'*+\--9=?A-Z^-~]/);function l(e){return null!==e&&(e<32||127===e)}let a=g(/\d/),s=g(/[\dA-Fa-f]/),u=g(/[!-/:-@[-`{-~]/);function c(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function h(e){return -2===e||-1===e||32===e}let f=g(/\p{P}|\p{S}/u),p=g(/\s/);function g(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},71712:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(53239);let i=e=>{let t="function"==typeof e,n=(0,r.useRef)(e);(0,r.useEffect)(()=>{n.current=e}),(0,r.useEffect)(()=>{if(t){let e=e=>{let t=n.current(e);return"string"==typeof t?(e.preventDefault(),e.returnValue=t):e.defaultPrevented?e.returnValue="":void 0};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}},[t])}},72829:(e,t,n)=>{var r,i,o=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},i.util.type(t)){case"Object":if(n[o=i.util.objId(t)])return n[o];for(var l in r={},n[o]=r,t)t.hasOwnProperty(l)&&(r[l]=e(t[l],n));return r;case"Array":if(n[o=i.util.objId(t)])return n[o];return r=[],n[o]=r,t.forEach(function(t,i){r[i]=e(t,n)}),r;default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("u"<typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName&&1)return document.currentScript;try{throw Error()}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var i=e.classList;if(i.contains(t))return!0;
12if(i.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=i.util.clone(i.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||i.languages)[e],l={};for(var a in o)if(o.hasOwnProperty(a)){if(a==t)for(var s in n)n.hasOwnProperty(s)&&(l[s]=n[s]);n.hasOwnProperty(a)||(l[a]=o[a])}var u=r[e];return r[e]=l,i.languages.DFS(i.languages,function(t,n){n===u&&t!=e&&(this[t]=l)}),l},DFS:function e(t,n,r,o){o=o||{};var l=i.util.objId;for(var a in t)if(t.hasOwnProperty(a)){n.call(t,a,t[a],r||a);var s=t[a],u=i.util.type(s);"Object"!==u||o[l(s)]?"Array"!==u||o[l(s)]||(o[l(s)]=!0,e(s,n,a,o)):(o[l(s)]=!0,e(s,n,null,o))}}},plugins:{},highlightAll:function(e,t){i.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var o,l=0;o=r.elements[l++];)i.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=i.util.getLanguage(t),l=i.languages[o];i.util.setLanguage(t,o);var a=t.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&i.util.setLanguage(a,o);var s=t.textContent,u={element:t,language:o,grammar:l,code:s};function c(e){u.highlightedCode=e,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),r&&r.call(u.element)}if(i.hooks.run("before-sanity-check",u),(a=u.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),r&&r.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar)return void c(i.util.encode(u.code));if(n&&e.Worker){var d=new Worker(i.filename);d.onmessage=function(e){c(e.data)},d.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else c(i.highlight(u.code,u.grammar,u.language))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),o.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var u=new a;return s(u,u.head,e),function e(t,n,r,a,u,c){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var h=r[d];h=Array.isArray(h)?h:[h];for(var f=0;f<h.length;++f){if(c&&c.cause==d+","+f)return;var p=h[f],g=p.inside,m=!!p.lookbehind,v=!!p.greedy,y=p.alias;if(v&&!p.pattern.global){var x=p.pattern.toString().match(/[imsuy]*$/)[0];p.pattern=RegExp(p.pattern.source,x+"g")}for(var b=p.pattern||p,w=a.next,C=u;w!==n.tail&&(!c||!(C>=c.reach));C+=w.value.length,w=w.next){var _,k=w.value;if(n.length>t.length)return;if(!(k instanceof o)){var E=1;if(v){if(!(_=l(b,C,t,m))||_.index>=t.length)break;var S=_.index,T=_.index+_[0].length,A=C;for(A+=w.value.length;S>=A;)A+=(w=w.next).value.length;if(A-=w.value.length,C=A,w.value instanceof o)continue;for(var I=w;I!==n.tail&&(A<T||"string"==typeof I.value);I=I.next)E++,A+=I.value.length;E--,k=t.slice(C,A),_.index-=C}else if(!(_=l(b,0,k,m)))continue;var S=_.index,M=_[0],P=k.slice(0,S),N=k.slice(S+M.length),L=C+k.length;c&&L>c.reach&&(c.reach=L);var D=w.prev;if(P&&(D=s(n,D,P),C+=P.length),function(e,t,n){for(var r=t.next,i=0;i<n&&r!==e.tail;i++)r=r.next;t.next=r,r.prev=t,e.length-=i}(n,D,E),w=s(n,D,new o(d,g?i.tokenize(M,g):M,y,M)),N&&s(n,w,N),E>1){var R={cause:d+","+f,reach:L};e(t,n,r,w.prev,C,R),c&&R.reach>c.reach&&(c.reach=R.reach)}}}}}}(e,u,t,u.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(u)},hooks:{all:{},add:function(e,t){var n=i.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=i.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function l(e,t,n,r){e.lastIndex=t;var i=e.exec(n);if(i&&r&&i[1]){var o=i[1].length;i.index+=o,i[0]=i[0].slice(o)}return i}function a(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}if(e.Prism=i,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},l=t.alias;l&&(Array.isArray(l)?Array.prototype.push.apply(o.classes,l):o.classes.push(l)),i.hooks.run("wrap",o);var a="";for(var s in o.attributes)a+=" "+s+'="'+(o.attributes[s]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+a+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener&&(i.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,l=n.immediateClose;e.postMessage(i.highlight(o,i.languages[r],r)),l&&e.close()},!1)),i;var u=i.util.currentScript();function c(){i.manual||i.highlightAll()}if(u&&(i.filename=u.src,u.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var d=document.readyState;"loading"===d||"interactive"===d&&u&&u.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return i}("u">typeof window?window:"u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=o),void 0!==n.g&&(n.g.Prism=o),o.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>
12\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},o.languages.markup.tag.inside["attr-value"].inside.entity=o.languages.markup.entity,o.languages.markup.doctype.inside["internal-subset"].inside=o.languages.markup,o.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(o.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:o.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:o.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},o.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(o.languages.markup.tag,"addAttribute",{value:function(e,t){o.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:o.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),o.languages.html=o.languages.markup,o.languages.mathml=o.languages.markup,o.languages.svg=o.languages.markup,o.languages.xml=o.languages.extend("markup",{}),o.languages.ssml=o.languages.xml,o.languages.atom=o.languages.xml,o.languages.rss=o.languages.xml,r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,o.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+r.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css,(i=o.languages.markup)&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css")),o.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},o.languages.javascript=o.languages.extend("clike",{"class-name":[o.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source)+"|"+/(?:\d+(?:_\d+)*(?
12:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),o.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,o.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:o.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:o.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:o.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:o.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:o.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),o.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:o.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),o.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),o.languages.markup&&(o.languages.markup.tag.addInlined("script","javascript"),o.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),o.languages.js=o.languages.javascript,function(){if(void 0!==o&&"u">typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",i="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';o.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),o.hooks.add("before-sanity-check",function(l){var a=l.element;if(a.matches(i)){l.code="",a.setAttribute(t,n);var s,u,c,d,h=a.appendChild(document.createElement("CODE"));h.textContent="Loadingâ¦";var f=a.getAttribute("data-src"),p=l.language;if("none"===p){var g=(/\.(\w+)$/.exec(f)||[,"none"])[1];p=e[g]||g}o.util.setLanguage(h,p),o.util.setLanguage(a,p);var m=o.plugins.autoloader;m&&m.loadLanguages(p),s=f,u=function(e){a.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),r=t[2],i=t[3];return r?i?[n,Number(i)]:[n,void 0]:[n,n]}}(a.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),l=n[0],s=null==n[1]?i.length:n[1];l<0&&(l+=i.length),l=Math.max(0,Math.min(l-1,i.length)),s<0&&(s+=i.length),s=Math.max(0,Math.min(s,i.length)),e=i.slice(l,s).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(l+1))}h.textContent=e,o.highlightElement(h)},c=function(e){a.setAttribute(t,"failed"),h.textContent=e},(d=new XMLHttpRequest).open("GET",s,!0),d.onreadystatechange=function(){var e;4==d.readyState&&(d.status<400&&d.responseText?u(d.responseText):d.status>=400?c((e=d.status,"â Error "+e+" while fetching file: "+d.statusText)):c("â Error: File does not exist or is empty"))},d.send(null)}}),o.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(i),r=0;t=n[r++];)o.highlightElement(t)}};var l=!1;o.fileHighlight=function(){l||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),l=!0),o.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},73440:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r});let r={editorRoot:"_editorRoot_uazmk_53",editorWrapper:"_editorWrapper_uazmk_154",nestedListItem:"_nestedListItem_uazmk_156",toolbarRoot:"_toolbarRoot_uazmk_160",readOnlyToolbarRoot:"_readOnlyToolbarRoot_uazmk_187",toolbarModeSwitch:"_toolbarModeSwitch_uazmk_196",toolbarToggleItem:"_toolbarToggleItem_uazmk_206",toolbarGroupOfGroups:"_toolbarGroupOfGroups_uazmk_217",toolbarToggleSingleGroup:"_toolbarToggleSingleGroup_uazmk_222",toolbarButton:"_toolbarButton_uazmk_237",activeToolbarButton:"_activeToolbarButton_uazmk_274",toolbarNodeKindSelectContainer:"_toolbarNodeKindSelectContainer_uazmk_284",toolbarButtonDropdownContainer:"_toolbarButtonDropdownContainer_uazmk_285",toolbarCodeBlockLanguageSelectContent:"_toolbarCodeBlockLanguageSelectContent_uazmk_286",selectContainer:"_selectContainer_uazmk_287",selectItem:"_selectItem_uazmk_300",toolbarNodeKindSelectTrigger:"_toolbarNodeKindSelectTrigger_uazmk_305",toolbarButtonSelectTrigger:"_toolbarButtonSelectTrigger_uazmk_306",selectTrigger:"_selectTrigger_uazmk_307",toolbarCodeBlockLanguageSelectTrigger:"_toolbarCodeBlockLanguageSelectTrigger_uazmk_342",toolbarNodeKindSelectItem:"_toolbarNodeKindSelectItem_uazmk_347",toolbarNodeKindSelectDropdownArrow:"_toolbarNodeKindSelectDropdownArrow_uazmk_372",selectDropdownArrow:"_selectDropdownArrow_uazmk_373",contentEditable:"_contentEditable_uazmk_379",codeMirrorWrapper:"_codeMirrorWrapper_uazmk_391",sandPackWrapper:"_sandPackWrapper_uazmk_400",codeMirrorToolbar:"_codeMirrorToolbar_uazmk_408",frontmatterWrapper:"_frontmatterWrapper_uazmk_412",frontmatterToggleButton:"_frontmatterToggleButton_uazmk_422",propertyPanelTitle:"_propertyPanelTitle_uazmk_430",propertyEditorTable:"_propertyEditorTable_uazmk_438",iconButton:"_iconButton_uazmk_456",readOnlyColumnCell:"_readOnlyColumnCell_uazmk_461",propertyEditorLabelCell:"_propertyEditorLabelCell_uazmk_466",buttonsFooter:"_buttonsFooter_uazmk_474",propertyEditorInput:"_propertyEditorInput_uazmk_480",primaryButton:"_primaryButton_uazmk_506",secondaryButton:"_secondaryButton_uazmk_507",smallButton:"_smallButton_uazmk_522",dialogForm:"_dialogForm_uazmk_534",linkDialogEditForm:"_linkDialogEditForm_uazmk_540",linkDialogInputContainer:"_linkDialogInputContainer_uazmk_548",linkDialogInputWrapper:"_linkDialogInputWrapper_uazmk_554",linkDialogInput:"_linkDialogInput_uazmk_548",dialogInput:"_dialogInput_uazmk_575",linkDialogAnchor:"_linkDialogAnchor_uazmk_586",linkDialogPopoverContent:"_linkDialogPopoverContent_uazmk_600",tableColumnEditorPopoverContent:"_tableColumnEditorPopoverContent_uazmk_601",dialogContent:"_dialogContent_uazmk_602",largeDialogContent:"_largeDialogContent_uazmk_614",dialogTitle:"_dialogTitle_uazmk_624",dialogCloseButton:"_dialogCloseButton_uazmk_630",popoverContent:"_popoverContent_uazmk_637",popoverArrow:"_popoverArrow_uazmk_649",linkDialogPreviewAnchor:"_linkDialogPreviewAnchor_uazmk_653",tooltipTrigger:"_tooltipTrigger_uazmk_676",tooltipContent:"_tooltipContent_uazmk_680",actionButton:"_actionButton_uazmk_694",primaryActionButton:"_primaryActionButton_uazmk_701",tableEditor:"_tableEditor_uazmk_713",toolCell:"_toolCell_uazmk_724",tableColumnEditorTrigger:"_tableColumnEditorTrigger_uazmk_743",tableRowEditorTrigger:"_tableRowEditorTrigger_uazmk_744",addRowButton:"_addRowButton_uazmk_745",addColumnButton:"_addColumnButton_uazmk_746",tableColumnEditorToolbar:"_tableColumnEditorToolbar_uazmk_789",toggleGroupRoot:"_toggleGroupRoot_uazmk_803",tableToolsColumn:"_tableToolsColumn_uazmk_821",leftAlignedCell:"_leftAlignedCell_uazmk_830",rightAlignedCell:"_rightAlignedCell_uazmk_834",centeredCell:"_centeredCell_uazmk_838",dialogOverlay:"_dialogOverlay_uazmk_871",overlayShow:"_overlayShow_uazmk_1",contentShow:"_contentShow_uazmk_1",focusedImage:"_focusedImage_uazmk_918",imageWrapper:"_imageWrapper_uazmk_922",editImageToolbar:"_editImageToolbar_uazmk_935",editImageButton:"_editImageButton_uazmk_939",inlineEditor:"_inlineEditor_uazmk_945",blockEditor:"_blockEditor_uazmk_954",nestedEditor:"_nestedEditor_uazmk_963",genericComponentName:"_genericComponentName_uazmk_982",diffSourceToggle:"_diffSourceToggle_uazmk_988",selectWithLabel:"_selectWithLabel_uazmk_1002",toolbarTitleMode:"_toolbarTitleMode_uazmk_1017",imageControlWrapperResizing:"_imageControlWrapperResizing_uazmk_1023",imageResizer:"_imageResizer_uazmk_1027",imageResizerN:"_imageResizerN_uazmk_1036",imageResizerNe:"_imageResizerNe_uazmk_1042",imageResizerE:"_imageResizerE_uazmk_1048",imageResizerSe:"_imageResizerSe_uazmk_1054",imageResizerS:"_imageResizerS_uazmk_1054",imageResizerSw:"_imageResizerSw_uazmk_1066",imageResizerW
12:"_imageResizerW_uazmk_1072",imageResizerNw:"_imageResizerNw_uazmk_1078",placeholder:"_placeholder_uazmk_1084",rootContentEditableWrapper:"_rootContentEditableWrapper_uazmk_1097",downshiftContainer:"_downshiftContainer_uazmk_1103",downshiftInputWrapper:"_downshiftInputWrapper_uazmk_1109",downshiftInput:"_downshiftInput_uazmk_1109",downshiftAutocompleteContainer:"_downshiftAutocompleteContainer_uazmk_1140",textInput:"_textInput_uazmk_1186",multiFieldForm:"_multiFieldForm_uazmk_1194",formField:"_formField_uazmk_1200",markdownParseError:"_markdownParseError_uazmk_1211",popupContainer:"_popupContainer_uazmk_1220",inputSizer:"_inputSizer_uazmk_1225"}},74008:(e,t,n)=>{"use strict";n.d(t,{w8:()=>eq,Cc:()=>eo,Cp:()=>ea,TI:()=>tn,$0:()=>tr,aC:()=>e1,iI:()=>eV,R1:()=>eR,q:()=>eD,C2:()=>eO,Id:()=>e3,cx:()=>eF,lN:()=>eH,IZ:()=>e2,C_:()=>em,Wd:()=>eN,GS:()=>e0,X2:()=>es,vR:()=>e4,LH:()=>to,Z4:()=>eX,Jl:()=>eY,PI:()=>ef,cj:()=>ev,xZ:()=>eL,yY:()=>e9,M9:()=>e8,yr:()=>eZ,p3:()=>e6,HU:()=>ej,oF:()=>ex,Bn:()=>tt,M0:()=>ec,pc:()=>eu,u0:()=>el,Sv:()=>ez,Me:()=>e5,Bd:()=>tl,n$:()=>te});var r=n(94185),i=n(1723),o=n(88042),l=n(52465),a=n(35588),s=n(14812),u=n(29641),c=n(82692),d=n(71279),h=n(69136),f=n(12959),p=n(25108),g=n(49605);let m=["mdxJsxTextElement","mdxJsxFlowElement"];function v(e){return m.includes(e.type)&&y.includes(e.name.toLowerCase())}let y=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","input","ins","kbd","label","legend","li","link","main","map","mark","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function x(e){let t={};return e.split(";").filter(e=>""!==e.trim()).forEach(e=>{let[n,r]=e.split(":").map(e=>e.trim());t[n]=r}),t}let b=/\s+$/,w=/^\s+/;var C=n(54586);function _(e){return e.children instanceof Array}class k extends Error{constructor(e,t){super(e),this.name="MarkdownParseError",this.cause=t}}class E extends Error{constructor(e){super(e),this.name="UnrecognizedMarkdownConstructError"}}var S=n(2028),T=n(12896),A=Object.defineProperty,I=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?A(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};let M="generic-html";class P extends u.fG{constructor(e,t,n,r){super(r),I(this,"__tag"),I(this,"__nodeType"),I(this,"__attributes"),this.__tag=e,this.__nodeType=t,this.__attributes=n}static getType(){return M}static clone(e){return new P(e.__tag,e.__nodeType,e.__attributes,e.__key)}getTag(){return this.__tag}getNodeType(){return this.__nodeType}getAttributes(){return this.__attributes}updateAttributes(e){this.getWritable().__attributes=e}getStyle(){var e;return null==(e=this.__attributes.find(e=>"style"===e.name))?void 0:e.value}createDOM(){let e=this.__tag,t=document.createElement(e);return this.__attributes.forEach(e=>{t.setAttribute(e.name,e.value)}),t}updateDOM(){return!1}static importDOM(){return{}}exportDOM(e){let{element:t}=super.exportDOM(e);return{element:t}}static importJSON(e){let t=N(e.tag,e.mdxType,e.attributes);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),attributes:this.__attributes,mdxType:this.__nodeType,type:M,version:1}}extractWithChild(){return!0}isInline(){return"mdxJsxTextElement"===this.__nodeType}}function N(e,t,n){return(0,u.pT)(new P(e,t,n))}let L={testLexicalNode:function(e){return e instanceof P},visitLexicalNode({actions:e,lexicalNode:t}){e.addAndStepInto("mdxJsxTextElement",{name:t.getTag(),type:t.getNodeType(),attributes:t.getAttributes()})},priority:-100},D={testLexicalNode:u.wH,visitLexicalNode:({mdastParent:e,actions:t})=>{t.appendToParent(e,{type:"text",value:"\n"})}},R={testLexicalNode:u.bS,visitLexicalNode:({actions:e})=>{e.addAndStepInto("paragraph")}},F={testLexicalNode:u.hV,visitLexicalNode:({actions:e})=>{e.addAndStepInto("root")}};var O=n(38896);function V(e){return"text"===e.type}let H=["u","span","sub","sup"],B={shouldJoin:(e,t)=>["text","emphasis","strong"].includes(e.type)?e.type===t.type:!!("mdxJsxTextElement"===e.type&&"mdxJsxTextElement"===t.type&&H.includes(t.name))&&e.name===t.name&&JSON.stringify(e.attributes)===JSON.stringify(t.attributes),join:(e,t)=>V(e)&&V(t)?{type:"text",value:e.value+t.value}:{...e,children:[...e.children,...t.children]},testLexicalNode:u.kF,visitLexicalNode:({lexicalNode:e,mdastParent:t,actions:n})=>{let r=e.getPreviousSibling(),i=(0,u.kF)(r)?r.getFormat():0,o=e.getTextContent(),l=e.getFormat(),a=e.getStyle(),s=t;(a&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"span",children:[],attributes:[{type:"mdxJsxAttribute",name:"style",value:a}]})),i&l&O.S3&&(s=n.appendToParent(s,{type:"emphasis",children:[]})),i&l&O.FA&&(s=n.appendToParent(s,{type:"strong",children:[]})),i&l&O.Ig&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"u",children:[],attributes:[]})),i&l&O.J6&&(s=n.appendToParent(s,{type:"delete",children:[]})),i&l&O.o4&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"sup",children:[],attributes:[]})),i&l&O.Te&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"sub",children:[],attributes:[]})),l&O.S3&&!(i&O.S3)&&(s=n.appendToParent(s,{type:"emphasis",children:[]})),l&O.FA&&!(i&O.FA)&&(s=n.appendToParent(s,{type:"strong",children:[]})),l&O.Ig&&!(i&O.Ig)&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"u",children:[],attributes:[]})),l&O.J6&&!(i&O.J6)&&(s=n.appendToParent(s,{type:"delete",children:[]})),l&O.o4&&!(i&O.o4)&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"sup",children:[],attributes:[]})),l&O.Te&&!(i&O.Te)&&(s=n.appendToParent(s,{type:"mdxJsxTextElement",name:"sub",children:[],attributes:[]})),l&O.jG)?n.appendToParent(s,{type:"inlineCode",value:o}):n.appendToParent(s,{type:"text",value:o})}},z={testNode:"break",visitNode:function({lexicalParent:e}){e.append((0,u.WK)())}};function j(e,t){return[{testNode:t=>"mdxJsxTextElement"===t.type&&t.name===e,visitNode({actions:e,mdastNode:n,lexicalParent:r}){e.addFormatting(t),e.visitChildren(n,r)}},{testNode:t=>"html"===t.type&&t.value===`<${e}>`,visitNode({actions:e,mdastParent:n}){e.addFormatting(t,n)}},{testNode:t=>"html"===t.type&&t.value===`</${e}>`,visitNode({actions:e,mdastParent:n}){e.removeFormatting(t,n)}}]}let W=[{testNode:"emphasis",visitNode({mdastNode:e,actions:t,lexicalParent:n}
12){t.addFormatting(O.S3),t.visitChildren(e,n)}},{testNode:"strong",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(O.FA),t.visitChildren(e,n)}},...j("u",O.Ig),...j("code",O.jG),{testNode:"inlineCode",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,u.sT)(e.value).setFormat(t.getParentFormatting()|O.jG))}},{testNode:"delete",visitNode({mdastNode:e,actions:t,lexicalParent:n}){t.addFormatting(O.J6),t.visitChildren(e,n)}},...j("sup",O.o4),...j("sub",O.Te)],$={testNode:v,visitNode:function({mdastNode:e,actions:t}){t.addAndStepInto(N(e.name,e.type,e.attributes))},priority:-100},U=["listitem","quote","admonition"],J={testNode:"paragraph",visitNode:function({mdastNode:e,lexicalParent:t,actions:n}){U.includes(t.getType())?n.visitChildren(e,t):n.addAndStepInto((0,u.lJ)())}},K={testNode:"root",visitNode({actions:e,mdastNode:t,lexicalParent:n}){e.visitChildren(t,n)}},Z={testNode:"text",visitNode({mdastNode:e,actions:t}){t.addAndStepInto((0,u.sT)(e.value).setFormat(t.getParentFormatting()))}};var q=n(89026),G=n(53239);let Y=()=>G.createElement(q.G,{externalHistoryState:(0,s.X3)(e8)});var X=n(59755),Q=n(71304),ee=n(49685),et=n(99650);let en=(e,t,n)=>{return function(t){return e.enter("comment"),e.consume(t),r};function r(t){return t===ee.F.exclamationMark?(e.consume(t),i):n(t)}function i(t){return t===ee.F.dash?(e.consume(t),o):n(t)}function o(t){return t===ee.F.dash?(e.consume(t),l):n(t)}function l(t){return t===ee.F.greaterThan?n(t):(0,Q.HP)(t)?u(t):(e.enter(et.g.data),t===ee.F.dash)?(e.consume(t),a):s(t)}function a(e){return e===ee.F.greaterThan?n(e):s(e)}function s(t){return t===ee.F.eof?n(t):t===ee.F.dash?(e.consume(t),d):(0,Q.HP)(t)?(e.exit(et.g.data),u(t)):(e.consume(t),s)}function u(t){return e.enter(et.g.lineEnding),e.consume(t),e.exit(et.g.lineEnding),(0,X.N)(e,c,et.g.linePrefix)}function c(t){return(0,Q.HP)(t)?u(t):(e.enter(et.g.data),s(t))}function d(t){return t===ee.F.dash?(e.consume(t),h):s(t)}function h(n){return n===ee.F.greaterThan?(e.exit(et.g.data),e.enter("commentEnd"),e.consume(n),e.exit("commentEnd"),e.exit("comment"),t(n)):n===ee.F.dash?(e.consume(n),h):s(n)}},er={flow:{60:{tokenize:en,concrete:!0}},text:{60:{tokenize:en}}};var ei=n(82585);let eo=(0,u.gu)("NESTED_EDITOR_UPDATED_COMMAND"),el=(0,s.fh)(null),ea=(0,s.fh)(null),es=(0,s.fh)(""),eu=(0,s.fh)(!1,e=>{e.sub(e.pipe(eu,(0,s.EY)(el)),([e,t])=>{null==t||t.setEditable(!e)})}),ec=(0,s.fh)(""),ed=(0,s.fh)(!1),eh=(0,s.fh)(!1),ef=(0,s.fh)(0),ep=(0,s.fh)(null),eg=(0,s.HN)(e=>{e.link(e.pipe(ep,(0,s.pb)(e=>null!==e)),eg)}),em=(0,s.HN)(e=>{e.sub(e.pipe(em,(0,s.EY)(ea)),([e,t])=>
12{null==t||t.dispatchCommand(u.mB,e)})}),ev=(0,s.fh)(null,e=>{e.sub(e.pipe(ev,(0,s.EY)(ea)),([t,n])=>{if(!t||!n)return;let r=t.anchor.getNode(),i="root"===r.getKey()?r:(0,a.Bt)(r,e=>{let t=e.getParent();return null!==t&&(0,u.Iq)(t)});null===i&&(i=r.getTopLevelElementOrThrow());let l=i.getKey();if(null!==n.getElementByKey(l)){let t=(0,o.Pi)(i)?i.getTag():i.getType();e.pub(e7,t)}})}),ey=(0,s.fh)(""),ex=(0,s.fh)(""),eb=(0,s.HN)(e=>{e.link(ex,eb),e.link(ey,ex)}),ew=(0,s.HN)(e=>{e.link(e.pipe(eb,(0,s.EY)(eB),(0,s.pb)(([,e])=>!e),(0,s.Tj)(([e])=>e)),ew)}),eC=(0,s.fh)([]),e_=(0,s.fh)([]),ek=(0,s.fh)([]),eE=(0,s.fh)([]),eS=(0,s.fh)([]),eT=(0,s.fh)([]),eA=(0,s.fh)({}),eI=(0,s.fh)(!1),eM=(0,s.fh)([]),eP=(0,s.fh)([]),eN=(0,s.fh)([]),eL=(0,s.fh)(null),eD=eq(e_),eR=eq(eC),eF=eq(ek),eO=eq(eE),eV=eq(eS),eH=eq(eT),eB=(0,s.fh)(!1),ez=(0,s.HN)(e=>{e.sub(e.pipe(ez,(0,s.EY)(ex,el,eh),(0,s.pb)(([e,t])=>e.trim()!==t.trim())),([t,,n,r])=>{e.pub(eB,!0),null==n||n.update(()=>{(0,u.Ni)().clear(),eQ(e,(0,u.Ni)(),t),r?n.focus():(0,u.n1)(null)},{onUpdate:()=>{e.pub(eB,!1)}})})}),ej=(0,s.HN)(e=>{e.sub(e.pipe(ej,(0,s.EY)(ea,eh)),([t,n,r])=>{null==n||n.update(()=>{let i=(0,u.vJ)();if(null!==i){let n={children:[],append(e){this.children.push(e)},getType:()=>i.getNodes()[0].getType()};eQ(e,n,t),(0,u.H2)(n.children)}r?n.focus():(0,u.n1)(null)})})});function eW(){return(0,s.SQ)((e,[t,n])=>(e.forEach(e=>{if(!e)throw Error("You have a subscription that does not return a teardown");e()}),n?t.map(e=>e(n)):[]),[])}let e$=(0,s.fh)([],e=>{e.pipe(e.combine(e$,ea),eW())}),eU=(0,s.fh)([],e=>{e.pipe(e.combine(eU,el),eW())}),eJ=(0,s.fh)(null),eK=(0,s.HN)(),eZ=(0,s.fh)(e=>{throw Error(`No icon component for ${e}`)});function eq(e,t){return(0,s.HN)((n,r)=>{n.changeWith(e,r,(e,t)=>{Array.isArray(t)||(t=[t]);let n=e;for(let r of t)e.includes(r)||(n=[...n,r]);return n}),null==t||t(n,r)})}function eG(e){let t=(0,u.vJ)();(0,u.I2)(t)&&e.pubIn({[ev]:t,[ef]:t.format})}let eY=eq(eU,(e,t)=>{e.pub(t,[t=>t.registerCommand(u.Mv,(t,n)=>(e.pubIn({[ea]:n,[eh]:!0}),null===n._parentEditor&&n.getEditorState().read(()=>{e.pub(eJ,{rootNode:(0,u.Ni)(),editorType:"lexical"})}),eG(e),!1),u.d),t=>t.registerUpdateListener(({dirtyElements:n,dirtyLeaves:r,editorState:i})=>{let o;null!==e.getValue(ep)||(0!==n.size||0!==r.size)&&(i.read(()=>{(0,u.Ni)().getLastChild()instanceof u.Kp&&t.update(()=>{(0,u.Ni)().append((0,u.lJ)())},{discrete:!0}),o=function({root:e,toMarkdownOptions:t,toMarkdownExtensions:n,visitors:r,jsxComponentDescriptors:i,jsxIsAvailable:o}){return(0,g.l)(function({root:e,visitors:t,jsxComponentDescriptors:n,jsxIsAvailable:r,addImportStatements:i=!0}){let o=null,l=new Set;function a(e){l.add(e)}function s(e,n){if(null===o)return o=n;if(!(e.children instanceof Array))throw Error("Attempting to append children to a non-parent");let r=e.children,i=r.at(-1);if(i){let e=t.find(e=>{var t;return null==(t=e.shouldJoin)?void 0:t.call(e,i,n)});if(e){let t=e.join(i,n);return r.splice(r.length-1,1,t),t}}return r.push(n),n}
12function c(e,t){e.getChildren().forEach(e=>{d(e,t)})}function d(e,n){var r;let i=t.find(t=>{var n;return null==(n=t.testLexicalNode)?void 0:n.call(t,e)});if(!i)throw Error(`no lexical visitor found for ${e.getType()}`,{cause:e});null==(r=i.visitLexicalNode)||r.call(i,{lexicalNode:e,mdastParent:n,actions:{addAndStepInto(t,r={},i=!0){let o={type:t,...r,...i?{children:[]}:{}};s(n,o),(0,u.ff)(e)&&i&&c(e,o)},appendToParent:s,visitChildren:c,registerReferredComponent:a}})}if(t=t.sort((e,t)=>(t.priority??0)-(e.priority??0)),d(e,null),null===o)throw Error("traversal ended with no root element");let h=new Map,f=new Map;for(let e of l){let t=n.find(t=>t.name===e);if(!t)throw Error(`Component ${e} is used but not imported`);if(t.source)if(t.defaultExport)f.set(e,t.source);else{let{source:n}=t,r=h.get(n);r?r.push(e):h.set(n,[e])}}let p=Array.from(h).map(([e,t])=>({type:"mdxjsEsm",value:`import { ${t.join(", ")} } from '${e}'`}));p.push(...Array.from(f).map(([e,t])=>({type:"mdxjsEsm",value:`import ${e} from '${t}'`})));let g=o,m=g.children.find(e=>"yaml"===e.type);return i&&(m?g.children.splice(g.children.indexOf(m)+1,0,...p):g.children.unshift(...p)),function e(t,n){if("strong"===t.type||"emphasis"===t.type){let r=t.children.at(-1);if((null==r?void 0:r.type)==="text"){let i=r.value.match(b);if(i){r.value=r.value.replace(b,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t)+1,0,{type:"text",value:i[0]}),e(o,n.slice(0,-1)))}}let i=t.children.at(0);if((null==i?void 0:i.type)==="text"){let r=i.value.match(w);if(r){i.value=i.value.replace(w,"");let o=n.at(-1);o&&(o.children.splice(o.children.indexOf(t),0,{type:"text",value:r[0]}),e(o,n.slice(0,-1)))}}}"children"in t&&t.children.length>0&&t.children.forEach(r=>{e(r,[...n,t])})}(g,[]),function e(t){if("children"in t&&t.children.length>0){if(v(t)&&1===t.children.length){let e=t.children[0];"mdxJsxTextElement"===e.type&&"span"===e.name&&(e.attributes.forEach(e=>{if("mdxJsxAttribute"===e.type){let i=t.attributes.find(t=>"mdxJsxAttribute"===t.type&&t.name===e.name);if(i)if("className"===e.name){let t=new Set([...i.value.split(" "),...e.value.split(" ")]);i.value=Array.from(t).join(" ")}else{var n,r;let t,o;"style"===e.name&&(n=i.value,r=e.value,t=x(n),o=x(r),i.value=Object.entries({...t,...o}).map(([e,t])=>`${e}: ${t}`).join("; "))}else t.attributes.push(e)}}),t.children=e.children)}t.children.forEach(t=>{e(t)})}}(g),r||function e(t){if(Object.hasOwn(t,"children")){let n=[];t.children.forEach(t=>{"mdxJsxTextElement"===t.type&&"u"===t.name?n.push({type:"html",value:"<u>"},...t.children,{type:"html",value:"</u>"}):(n.push(t),e(t))}),t.children=n}}(g),g}({root:e,visitors:r,jsxComponentDescriptors:i,jsxIsAvailable:o}),{extensions:n,...t})+"\n"}({root:(0,u.Ni)(),visitors:e.getValue(eS),jsxComponentDescriptors:e.getValue(eM),toMarkdownExtensions:e.getValue(eT),toMarkdownOptions:e.getValue(eA),jsxIsAvailable:e.getValue(eI)})}),e.pub(ex,o.trim()))}),t=>t.registerCommand(u.$7,()=>(e.pub(eh,!0),!1),u.d),e=>e.registerCommand(u.R1,t=>{let{keyCode:n,ctrlKey:r,metaKey:i}=t;if(65===n&&(0,S.oQ)(i,r)){let n=!1;if(e.getEditorState().read(()=>{n=(0,u.Cy)((0,u.Ni)().getFirstChild())||(0,u.Cy)((0,u.Ni)().getLastChild())}),n)return t.preventDefault(),t.stopImmediatePropagation(),e.update(()=>{var t;let n=e.getRootElement();null==(t=window.getSelection())||t.selectAllChildren(n),n.focus({preventScroll:!0})}),!0}return!1},u.d)])}),eX=eq(e$,(e,t)=>{e.pub(t,[t=>t.registerUpdateListener(({editorState:t})=>{t.read(()=>{eG(e)})}),t=>t.registerCommand(u.pF,t=>{var n;let r=e.getValue(el);return r&&((null==(n=r.getRootElement())?void 0:n.contains(t.relatedTarget))||e.pubIn({[eh]:!1,[eK]:t})),!1},u.d)])});function eQ(e,t,n){try{!function({root:e,markdown:t,visitors:n,syntaxExtensions:r,mdastExtensions:i,...o}){var l;let a;try{a=(0,C.Y)(t,{extensions:r,mdastExtensions:i})}catch(e){if(e instanceof Error)throw new k(`Error parsing markdown: ${e.message}`,e);throw new k(`Error parsing markdown: ${e}`,e)}0===a.children.length&&a.children.push({type:"paragraph",children:[]}),(null==(l=a.children.at(-1))?void 0:l.type)!=="paragraph"&&a.children.push({type:"paragraph",children:[]}),function({root:e,mdastRoot:t,visitors:n,...r}){let i=new WeakMap;function o(e,t){if(!_(e))throw Error("Attempting to visit children of a non-parent");
12e.children.forEach(n=>{l(n,t,e)})}function l(e,t,l){let a=n.find(t=>"string"==typeof t.testNode?t.testNode===e.type:t.testNode(e,r));if(!a)try{throw new E(`Unsupported markdown syntax: ${(0,g.l)(e)}`)}catch(t){throw new E(`Parsing of the following markdown structure failed: ${JSON.stringify({type:e.type,name:"name"in e?e.name:"N/A"})}`)}a.visitNode({mdastNode:e,lexicalParent:t,mdastParent:l,actions:{visitChildren:o,addAndStepInto(n){t.append(n),_(e)&&o(e,n)},addFormatting(t,n){!n&&_(e)&&(n=e),n&&i.set(n,t|(i.get(l)??0))},removeFormatting(t,n){!n&&_(e)&&(n=e),n&&i.set(n,t^(i.get(l)??0))},getParentFormatting:()=>i.get(l)??0}})}n=n.sort((e,t)=>(t.priority??0)-(e.priority??0)),l(t,e,null)}({root:e,mdastRoot:a,visitors:n,...o})}({root:t,visitors:e.getValue(eC),mdastExtensions:e.getValue(eE),markdown:n,syntaxExtensions:e.getValue(ek),jsxComponentDescriptors:e.getValue(eM),directiveDescriptors:e.getValue(eP),codeBlockEditorDescriptors:e.getValue(eN)}),e.pub(ep,null)}catch(t){if(t instanceof k||t instanceof E)e.pubIn({[ex]:n,[ep]:{error:t.message,source:n}});else throw t}}let e0=(0,s.fh)([]),e1=eq(e0),e5=(0,s.fh)([]),e2=eq(e5),e9=(0,s.fh)([]);eq(e9);let e3=eq((0,s.fh)([])),e8=(0,s.fh)((0,i.h)()),e7=(0,s.fh)("");(0,s.HN)();let e4=(0,s.HN)(e=>{e.sub(e.pipe(e4,(0,s.EY)(ea)),([e,t])=>{null==t||t.update(()=>{let n=(0,u.vJ)();(0,u.I2)(n)&&((0,l.zI)(n,e),setTimeout(()=>{t.focus()}))})})}),e6=(0,s.HN)(e=>{e.sub(e.pipe(e6,(0,s.EY)(ea)),([e,t])=>{null==t||t.focus(()=>{t.getEditorState().read(()=>{let n=(0,u.vJ)();(0,u.I2)(n)&&(t.update(()=>{let t=e();t.isInline()?((0,u.H2)([t]),(0,u.Iq)(t.getParentOrThrow())&&(0,a.cj)(t,u.lJ).selectEnd()):(0,a.Pe)(t),setTimeout(()=>{"select"in t&&"function"==typeof t.select&&t.select()})}),setTimeout(()=>{t.dispatchCommand(eo,void 0)}))})},{defaultSelection:"rootEnd"})})}),te=(0,s.fh)("rich-text",e=>{function t(){return(0,s.SQ)((e,t)=>({current:e.next,next:t}),{current:"rich-text",next:"rich-text"})}e.sub(e.pipe(te,t(),(0,s.EY)(tt)),([{current:t},n])=>{("source"===t||"diff"===t)&&e.pub(ez,n)}),e.sub(e.pipe(te,t(),(0,s.pb)(e=>"rich-text"===e.current),(0,s.EY)(ea)),([,e])=>{null==e||e.dispatchCommand(eo,void 0)})}),tt=(0,s.fh)("",e=>{e.link(ex,tt),e.link(tt,eb)}),tn=(0,s.fh)([]),tr=eq(tn),ti=(0,s.fh)(()=>{throw Error("No translation function provided")}),to=(0,r.Z)({init(e,t){var n;let r=(null==t?void 0:t.initialMarkdown)??"";e.register(eY),e.register(eX),e.register(eb),e.pubIn({[ey]:(null==t?void 0:t.trim)?r.trim():r,[eZ]:null==t?void 0:t.iconComponentFor,[eR]:[K,J,Z,z,...W],[eD]:[u.fD,u.Ey,P],[eV]:[F,R,B,D,L],[e1]:Y,[es]:null==t?void 0:t.contentEditableClassName,[eA]:null==t?void 0:t.toMarkdownOptions,[ed]:null==t?void 0:t.autoFocus,[ec]:null==t?void 0:t.placeholder,[eu]:null==t?void 0:t.readOnly,[ti]:null==t?void 0:t.translation,[eO]:(0,d.p)(),[eF]:(0,c.K)(),[eH]:[(0,h.B)(),(0,d.K)()]}),e.singletonSub(eg,null==t?void 0:t.onError),e.singletonSub(ew,null==t?void 0:t.onChange),e.singletonSub(eK,null==t?void 0:t.onBlur),(null==t?void 0:t.suppressHtmlProcessing)||e.pubIn({[eO]:[(0,h.Y)(),(n={ast:!1},{canContainEols:["comment"],enter:{comment(e){this.buffer()}},exit:{comment(e){let t=this.resume();n.ast&&(this.enter({type:"comment",value:"",commentValue:t.slice(0,-2)},e),this.exit(e))}}})],[eF]:[(0,f.v)(),(0,p.d)(),er],[eR]:$})},postInit(e,t){let n=(0,u.ie)({editable:(null==t?void 0:t.readOnly)!==!0,namespace:"MDXEditor",nodes:e.getValue(e_),onError:e=>{throw e},theme:ei.C});n.update(()=>{let r=(null==t?void 0:t.initialMarkdown.trim())??"";eQ(e,(0,u.Ni)(),r);let i=null==t?void 0:t.autoFocus;if(i){if(!0===i)return void setTimeout(()=>{n.focus(T.lQ,{defaultSelection:"rootStart"})});setTimeout(()=>{n.focus(T.lQ,{defaultSelection:i.defaultSelection??"rootStart"})})}}),e.pub(el,n),e.pub(ea,n)},update(e,t){e.pubIn({[es]:null==t?void 0:t.contentEditableClassName,[eA]:null==t?void 0:t.toMarkdownOptions,[ed]:null==t?void 0:t.autoFocus,[ec]:null==t?void 0:t.placeholder,[eu]:null==t?void 0:t.readOnly}),e.singletonSub(ew,null==t?void 0:t.onChange),e.singletonSub(eK,null==t?void 0:t.onBlur),e.singletonSub(eg,null==t?void 0:t.onError)}});function tl(){return(0,s.X3)(ti)}},76537:()=>{Prism.languages.objectivec=Prism.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete Prism.languages.objectivec["class-name"],Prism.languages.objc=Prism.languages.objectivec}
12,76752:(e,t,n)=>{"use strict";n.d(t,{_G:()=>c,gB:()=>f,gl:()=>b});var r=n(53239),i=n(26779),o=n(87604);function l(e,t,n){let r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function a(e){return null!==e&&e>=0}let s=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e,o=l(t,r,n),a=t[i],s=o[i];return s&&a?{x:s.left-a.left,y:s.top-a.top,scaleX:s.width/a.width,scaleY:s.height/a.height}:null},u={scaleX:1,scaleY:1},c=e=>{var t,n,r,i;let o,l,a,{activeIndex:s,activeNodeRect:c,index:d,rects:h,overIndex:f}=e,p=null!=(t=h[s])?t:c;if(!p)return null;if(d===s){let e=h[f];return e?{x:0,y:s<f?e.top+e.height-(p.top+p.height):e.top-p.top,...u}:null}let g=(n=h,r=d,i=s,o=n[r],l=n[r-1],a=n[r+1],o?i<r?l?o.top-(l.top+l.height):a?a.top-(o.top+o.height):0:a?a.top-(o.top+o.height):l?o.top-(l.top+l.height):0:0);return d>s&&d<=f?{x:0,y:-p.height-g,...u}:d<s&&d>=f?{x:0,y:p.height+g,...u}:{x:0,y:0,...u}},d="Sortable",h=r.createContext({activeIndex:-1,containerId:d,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:s,disabled:{draggable:!1,droppable:!1}});function f(e){let{children:t,id:n,items:l,strategy:a=s,disabled:u=!1}=e,{active:c,dragOverlay:f,droppableRects:p,over:g,measureDroppableContainers:m}=(0,i.fF)(),v=(0,o.YG)(d,n),y=null!==f.rect,x=(0,r.useMemo)(()=>l.map(e=>"object"==typeof e&&"id"in e?e.id:e),[l]),b=null!=c,w=c?x.indexOf(c.id):-1,C=g?x.indexOf(g.id):-1,_=(0,r.useRef)(x),k=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(x,_.current),E=-1!==C&&-1===w||k,S="boolean"==typeof u?{draggable:u,droppable:u}:u;(0,o.Es)(()=>{k&&b&&m(x)},[k,x,b,m]),(0,r.useEffect)(()=>{_.current=x},[x]);let T=(0,r.useMemo)(()=>({activeIndex:w,containerId:v,disabled:S,disableTransforms:E,items:x,overIndex:C,useDragOverlay:y,sortedRects:x.reduce((e,t,n)=>{let r=p.get(t);return r&&(e[n]=r),e},Array(x.length)),strategy:a}),[w,v,S.draggable,S.droppable,E,x,C,p,y,a]);return r.createElement(h.Provider,{value:T},t)}let p=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return l(n,r,i).indexOf(t)},g=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:o,newIndex:l,previousItems:a,previousContainerId:s,transition:u}=e;return!!u&&!!r&&(a===o||i!==l)&&(!!n||l!==i&&t===s)},m={duration:200,easing:"ease"},v="transform",y=o.Ks.Transition.toString({property:v,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function b(e){var t,n,l,s;let{animateLayoutChanges:u=g,attributes:c,disabled:d,data:f,getNewIndex:b=p,id:w,strategy:C,resizeObserverConfig:_,transition:k=m}=e,{items:E,containerId:S,activeIndex:T,disabled:A,disableTransforms:I,sortedRects:M,overIndex:P,useDragOverlay:N,strategy:L}=(0,r.useContext)(h),D=(t=d,n=A,"boolean"==typeof t?{draggable:t,droppable:!1}:{draggable:null!=(l=null==t?void 0:t.draggable)?l:n.draggable,droppable:null!=(s=null==t?void 0:t.droppable)?s:n.droppable}),R=E.indexOf(w),F=(0,r.useMemo)(()=>({sortable:{containerId:S,index:R,items:E},...f}),[S,f,R,E]),O=(0,r.useMemo)(()=>E.slice(E.indexOf(w)),[E,w]),{rect:V,node:H,isOver:B,setNodeRef:z}=(0,i.zM)({id:w,data:F,disabled:D.droppable,resizeObserverConfig:{updateMeasurementsFor:O,..._}}),{active:j,activatorEvent:W,activeNodeRect:$,attributes:U,setNodeRef:J,listeners:K,isDragging:Z,over:q,setActivatorNodeRef:G,transform:Y}=(0,i.PM)({id:w,data:F,attributes:{...x,...c},disabled:D.draggable}),X=(0,o.jn)(z,J),Q=!!j,ee=Q&&!I&&a(T)&&a(P),et=!N&&Z,en=et&&ee?Y:null,er=ee?null!=en?en:(null!=C?C:L)({rects:M,activeNodeRect:$,activeIndex:T,overIndex:P,index:R}):null,ei=a(T)&&a(P)?b({id:w,items:E,activeIndex:T,overIndex:P}):R,eo=null==j?void 0:j.id,el=(0,r.useRef)({activeId:eo,items:E,newIndex:ei,containerId:S}),ea=E!==el.current.items,es=u({active:j,containerId:S,isDragging:Z,isSorting:Q,id:w,index:R,items:E,newIndex:el.current.newIndex,previousItems:el.current.items,previousContainerId:el.current.containerId,transition:k,wasDragging:null!=el.current.activeId}),eu=function(e){let{disabled:t,index:n,node:l,rect:a}=e,[s,u]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,o.Es)(()=>
12{if(!t&&n!==c.current&&l.current){let e=a.current;if(e){let t=(0,i.Sj)(l.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==c.current&&(c.current=n)},[t,n,l,a]),(0,r.useEffect)(()=>{s&&u(null)},[s]),s}({disabled:!es,index:R,node:H,rect:V});return(0,r.useEffect)(()=>{Q&&el.current.newIndex!==ei&&(el.current.newIndex=ei),S!==el.current.containerId&&(el.current.containerId=S),E!==el.current.items&&(el.current.items=E)},[Q,ei,S,E]),(0,r.useEffect)(()=>{if(eo===el.current.activeId)return;if(null!=eo&&null==el.current.activeId){el.current.activeId=eo;return}let e=setTimeout(()=>{el.current.activeId=eo},50);return()=>clearTimeout(e)},[eo]),{active:j,activeIndex:T,attributes:U,data:F,rect:V,index:R,newIndex:ei,items:E,isOver:B,isSorting:Q,isDragging:Z,listeners:K,node:H,overIndex:P,over:q,setNodeRef:X,setActivatorNodeRef:G,setDroppableNodeRef:z,setDraggableNodeRef:J,transform:null!=eu?eu:er,transition:eu||ea&&el.current.newIndex===R?y:(!et||(0,o.kx)(W))&&k&&(Q||es)?o.Ks.Transition.toString({...k,property:v}):void 0}}i.vL.Down,i.vL.Right,i.vL.Up,i.vL.Left},77715:(e,t,n)=>{"use strict";n.d(t,{o:()=>c,p:()=>x});var r,i=n(67889),o=n(49628),l=n(35588),a=n(29641),s=n(53239),u=(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;function c(e,t=e=>e){return n=>{let r=e.exec(n);return null===r?null:{index:r.index,length:r[0].length,text:r[0],url:t(r[0])}}}function d(e,t){for(let n=0;n<t.length;n++){let r=t[n](e);if(r)return r}return null}let h=/[.,;\s]/;function f(e){return h.test(e)}function p(e){return f(e[e.length-1])}function g(e){let t=e.getPreviousSibling();return(0,a.ff)(t)&&(t=t.getLastDescendant()),null===t||(0,a.wH)(t)||(0,a.kF)(t)&&p(t.getTextContent())}function m(e){let t=e.getNextSibling();return(0,a.ff)(t)&&(t=t.getFirstDescendant()),null===t||(0,a.wH)(t)||(0,a.kF)(t)&&f(t.getTextContent()[0])}function v(e,t,n){let r=e.getChildren(),i=r.length;for(let t=0;t<i;t++){let i=r[t];if(!(0,a.kF)(i)||!i.isSimpleText())return y(e),void n(null,e.getURL())}let o=e.getTextContent(),l=d(o,t);if(null===l||l.text!==o||!g(e)||!m(e))return y(e),void n(null,e.getURL());let s=e.getURL();if(s!==l.url&&(e.setURL(l.url),n(l.url,s)),l.attributes){let t=e.getRel();t!==l.attributes.rel&&(e.setRel(l.attributes.rel||null),n(l.attributes.rel||null,t));let r=e.getTarget();r!==l.attributes.target&&(e.setTarget(l.attributes.target||null),n(l.attributes.target||null,r))}}function y(e){let t=e.getChildren();for(let n=t.length-1;n>=0;n--)e.insertAfter(t[n]);return e.remove(),t.map(e=>e.getLatest())}function x({matchers:e,onChange:t}){let[n]=(0,o.DF)();return(0,s.useEffect)(()=>{n.hasNodes([i.k_])||u(77);let r=(e,n)=>{t&&t(e,n)};return(0,l.Sd)(n.registerNodeTransform(a.Ey,t=>{let n=t.getParentOrThrow(),o=t.getPreviousSibling();if((0,i.iK)(n)&&!n.getIsUnlinked())v(n,e,r);else if(!(0,i.FJ)(n)){var l,s,u;let n,c,h;t.isSimpleText()&&(f(t.getTextContent()[0])||!(0,i.iK)(o))&&function(e,t,n){let r=[...e],o=r.map(e=>e.getTextContent()).join(""),l,s=o,u=0;for(;(l=d(s,t))&&null!==l;){var c,h,p;let e=l.index,t=e+l.length;if(c=u+e,h=u+t,p=r,(c>0?f(o[c-1]):g(p[0]))&&(h<o.length?f(o[h]):m(p[p.length-1]))){let[o,,s,c]=function(e,t,n){let r=[],i=[],o=[],l=0,a=0,s=[...e];for(;s.length>0;){let e=s[0],u=e.getTextContent().length,c=a;a+u<=t?(r.push(e),l+=u):c>=n?o.push(e):i.push(e),a+=u,s.shift()}return[l,r,i,o]}(r,u+e,u+t),d=function(e,t,n,r){let o=(0,i.Yh)(r.url,r.attributes);if(1===e.length){let i,l=e[0];0===t?[i,l]=l.splitText(n):[,i,l]=l.splitText(t,n);let s=(0,a.sT)(r.text);return s.setFormat(i.getFormat()),s.setDetail(i.getDetail()),s.setStyle(i.getStyle()),o.append(s),i.replace(o),l}if(e.length>1){let r,i=e[0],l,s=i.getTextContent().length;0===t?l=i:[,l]=i.splitText(t);let u=[];for(let t=1;t<e.length;t++){let i=e[t],o=i.getTextContent().length,l=s;if(l<n)if(s+o<=n)u.push(i);else{let[e,t]=i.splitText(n-l);u.push(e),r=t}s+=o}let c=(0,a.vJ)(),d=c?c.getNodes().find(a.kF):void 0,h=(0,a.sT)(l.getTextContent());return h.setFormat(l.getFormat()),h.setDetail(l.getDetail()),h.setStyle(l.getStyle()),o.append(h,...u),d&&d===l&&((0,a.I2)(c)?h.select(c.anchor.offset,c.focus.offset):(0,a.RT)(c)&&h.select(0,h.getTextContent().length)),l.replace(o),r}}(s,u+e-o,u+t-o,l);r=d?[d,...c]:c,n(l.url,null),u=0}else u+=t;s=s.substring(t)}}(function(e){let t=[e],n=e.getNextSibling();for(;null!==n&&(0,a.kF)(n)&&n.isSimpleText()&&(t.push(n),!/[\s]/.test(n.getTextContent()));)n=n.getNextSibling();return t}(t),e,r);l=t,s=e,u=r,n=l.getPreviousSibling(),c=l.getNextSibling(),h=l.getTextContent(),!(0,i.iK)(n)||n.getIsUnlinked()||f(h[0])&&!(n.isEmailURI()?/^\.[a-zA-Z]{2,}/.test(h):/^\.[a-zA-Z0-9]{1,}/.test(h))||(n.append(l),v(n,s,u),u(null,n.getURL())),!(0,i.iK)(c)||c.getIsUnlinked()||p(h)||(y(c),v(c,s,u),u(null,c.getURL()))}}),n.registerCommand(i.yW,e=>{let t=(0,a.vJ)();
12return null===e&&!!(0,a.I2)(t)&&(t.extract().forEach(e=>{let t=e.getParent();if((0,i.iK)(t))return t.setIsUnlinked(!t.getIsUnlinked()),t.markDirty(),!0}),!1)},a.Ac))},[n,e,t]),null}},77797:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(786);function i(e,t){return(0,r.P)(e,-t)}},77936:(e,t,n)=>{var r=n(51096),i=n(24967);e.exports=function(e,t){return e&&r(e,t,i)}},78562:(e,t,n)=>{var r=n(85226),i=n(50381),o=n(5316);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},79555:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(79015),i=n(53239);function o(e){let t={};return Object.keys(e).forEach(n=>{let o=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{let e=(e=null,t=null)=>{var n,a;let s;return(0,i.isValidElement)(e)?(!function(e){if("string"==typeof e.type)return;let t=e.type.displayName||e.type.name||"the component";throw Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${t} into a <div>, or turn it into a drag source or a drop target itself.`)}(e),n=e,a=t?e=>o(e,t):o,s=n.ref,((0,r.V)("string"!=typeof s,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),s)?(0,i.cloneElement)(n,{ref:e=>{l(s,e),l(a,e)}}):(0,i.cloneElement)(n,{ref:a})):(o(e,t),e)};t[n]=()=>e}}),t}function l(e,t){"function"==typeof e?e(t):e.current=t}},79728:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(64428),i=n(77721),o=n(70262),l=n(90606);function a(e,t){let n=(0,o.d)(t()),r=()=>n.set(t());return r(),(0,i.E)(()=>{let t=()=>l.Gt.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,l.WG)(r)}}),n}var s=n(60747),u=n(12650);function c(e,t,n,r){if("function"==typeof e){let t;return s.bt.current=[],e(),t=a(s.bt.current,e),s.bt.current=void 0,t}let i="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],o=e[2+n],l=e[3+n],a=(0,u.G)(i,o,l);return t?a(r):a}(t,n,r);return Array.isArray(e)?d(e,i):d([e],([e])=>i(e))}function d(e,t){let n=(0,r.M)(()=>[]);return a(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},79969:(e,t,n)=>{e.exports=n(92855)(n(42468),"Promise")},81447:(e,t,n)=>{"use strict";function r(e,t,n,r){let i,o=e.length,l=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);l<r.length;)(i=r.slice(l,l+1e4)).unshift(t,0),e.splice(...i),l+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},81832:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,l=60114,a=60109,s=60110,u=60112,c=60113,d=60120,h=60115,f=60116;if("function"==typeof Symbol&&Symbol.for){var p=Symbol.for;n=p("react.element"),r=p("react.portal"),i=p("react.fragment"),o=p("react.strict_mode"),l=p("react.profiler"),a=p("react.provider"),s=p("react.context"),u=p("react.forward_ref"),c=p("react.suspense"),d=p("react.suspense_list"),h=p("react.memo"),f=p("react.lazy"),p("react.block"),p("react.server.block"),p("react.fundamental"),p("react.debug_trace_mode"),p("react.legacy_hidden")}},82585:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r={text:{bold:"_bold_1tncs_10",italic:"_italic_1tncs_14",underline:"_underline_1tncs_18",code:"_code_1tncs_52",strikethrough:"_strikethrough_1tncs_34",subscript:"_subscript_1tncs_42",superscript:"_superscript_1tncs_47",underlineStrikethrough:"_underlineStrikethrough_1tncs_38"},list:{listitem:"_listitem_1tncs_69",listitemChecked:"_listItemChecked_1tncs_73",listitemUnchecked:"_listItemUnchecked_1tncs_74",nested:{listitem:"_nestedListItem_1tncs_59"}},admonition:{danger:"_admonitionDanger_1tncs_151",info:"_admonitionInfo_1tncs_152",note:"_admonitionNote_1tncs_153",tip:"_admonitionTip_1tncs_154",caution:"_admonitionCaution_1tncs_155"}}},82692:(e,t,n)=>{"use strict";n.d(t,{K:()=>l});var r=n(81447),i=n(51271),o=n(44911);function l(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let o=this.previous,l=this.events,a=0;return function(s){return 126===o&&"characterEscape"!==l[l.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function l(s){let u=(0,i.S)(o);if(126===s)return a>1?r(s):(e.consume(s),a++,l);if(a<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),d=(0,i.S)(s);return c._open=!d||2===d&&!!u,c._close=!u||2===u&&!!d,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let i=n;for(;i--;)if("exit"===e[i][0]&&"strikethroughSequenceTemporary"===e[i][1].type&&e[i][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[i][1].end.offset-e[i][1].start.offset){e[n][1].type="strikethroughSequence",e[i][1].type="strikethroughSequence";let l={type:"strikethrough",start:Object.assign({},e[i][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[i][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",l,t],["enter",e[i][1],t],["exit",e[i][1],t],["enter",a,t]],u=t.parser.constructs.insideSpan.null;u&&(0,r.m)(s,s.length,0,(0,o.W)(u,e.slice(i+1,n),t)),(0,r.m)(s,s.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",l,t]]),(0,r.m)(e,i-1,n-i+3,s),n=i+s.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}},82796:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var r=n(53239),i=n(29611),o=n(34028),l=n(73440),a=n(74008),s=n(11955),u=n(14812);let c=r.forwardRef((e,t)=>
12{let n=(0,u.qM)(i.w8),[c,d]=(0,u.uX)(a.pc,a.yr),h=(0,a.Bd)();return r.createElement(o.$n,{className:l.Ay.toolbarButton,ref:t,disabled:c,onClick:()=>{n()}},r.createElement(s.I,{title:h("toolbar.image","Insert image")},d("add_photo")))})},82875:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var l=e[n];t(l,n,e)&&(o[i++]=l)}return o}},83172:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},84005:(e,t,n)=>{"use strict";n.d(t,{DE:()=>M,HY:()=>P,Mz:()=>k,YW:()=>x,g2:()=>a,i:()=>_,mJ:()=>D,q7:()=>N,tK:()=>m,uS:()=>R,us:()=>h,v5:()=>E,x:()=>L,yX:()=>v});var r,i=n(29641),o=n(35588),l=(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;function a(e){let t=1,n=e.getParent();for(;null!=n;){if(k(n)){let e=n.getParent();if(P(e)){t++,n=e.getParent();continue}l(40)}break}return t}function s(e){let t=e.getParent();P(t)||l(40);let n=t;for(;null!==n;)P(n=n.getParent())&&(t=n);return t}function u(e){return k(e)&&P(e.getFirstChild())}function c(e){return _().append(e)}function d(e,t){return k(e)&&(0===t.length||1===t.length&&e.is(t[0])&&0===e.getChildrenSize())}function h(e,t){e.update(()=>{let e=(0,i.vJ)();if(null!==e){let n=e.getNodes();if((0,i.I2)(e)){let r=e.getStartEndPoints();null===r&&l(143);let[o]=r,a=o.getNode(),s=a.getParent();if(d(a,n)){let e=M(t);if((0,i.Iq)(s)){a.replace(e);let t=_();(0,i.ff)(a)&&(t.setFormat(a.getFormatType()),t.setIndent(a.getIndent())),e.append(t)}else if(k(a)){let t=a.getParentOrThrow();f(e,t.getChildren()),t.replace(e)}return}}let r=new Set;for(let e=0;e<n.length;e++){let o=n[e];if(!(0,i.ff)(o)||!o.isEmpty()||k(o)||r.has(o.getKey())){if((0,i.jG)(o)){let e=o.getParent();for(;null!=e;){let n=e.getKey();if(P(e)){if(!r.has(n)){let i=M(t);f(i,e.getChildren()),e.replace(i),r.add(n)}break}{let o=e.getParent();if((0,i.Iq)(o)&&!r.has(n)){r.add(n),p(e,t);break}e=o}}}}else p(o,t)}}})}function f(e,t){e.splice(e.getChildrenSize(),0,t)}function p(e,t){if(P(e))return e;let n=e.getPreviousSibling(),r=e.getNextSibling(),i=_();if(i.setFormat(e.getFormatType()),i.setIndent(e.getIndent()),f(i,e.getChildren()),P(n)&&t===n.getListType())return n.append(i),e.remove(),P(r)&&t===r.getListType()&&(f(n,r.getChildren()),r.remove()),n;if(P(r)&&t===r.getListType())return r.getFirstChildOrThrow().insertBefore(i),e.remove(),r;{let n=M(t);return n.append(i),e.replace(n),n}}function g(e,t){let n=e.getLastChild(),r=t.getFirstChild();n&&r&&u(n)&&u(r)&&(g(n.getFirstChild(),r.getFirstChild()),r.remove());let i=t.getChildren();i.length>0&&e.append(...i),t.remove()}function m(e){e.update(()=>{let e=(0,i.vJ)();if((0,i.I2)(e)){let t=new Set,n=e.getNodes(),r=e.anchor.getNode();if(d(r,n))t.add(s(r));else for(let e=0;e<n.length;e++){let r=n[e];if((0,i.jG)(r)){let e=(0,o.eu)(r,x);null!=e&&t.add(s(e))}}for(let n of t){let t=n;for(let r of function e(t){let n=[],r=t.getChildren().filter(k);for(let t=0;t<r.length;t++){let i=r[t],o=i.getFirstChild();P(o)?n=n.concat(e(o)):n.push(i)}return n}(n)){let n=(0,i.lJ)();f(n,r.getChildren()),t.insertAfter(n),t=n,r.__key===e.anchor.key&&e.anchor.set(n.getKey(),0,"element"),r.__key===e.focus.key&&e.focus.set(n.getKey(),0,"element"),r.remove()}n.remove()}}})}function v(){let e,t=(0,i.vJ)();if(!(0,i.I2)(t)||!t.isCollapsed())return!1;let n=t.anchor.getNode();if(!k(n)||0!==n.getChildrenSize())return!1;let r=s(n),o=n.getParent();P(o)||l(40);let a=o.getParent();if((0,i.Iq)(a))e=(0,i.lJ)(),r.insertAfter(e);else{if(!k(a))return!1;e=_(),a.insertAfter(e)}e.select();let u=n.getNextSiblings();if(u.length>0){let t=M(o.getListType());if((0,i.bS)(e))e.insertAfter(t);else{let n=_();n.append(t),e.insertAfter(n)}u.forEach(e=>{e.remove(),t.append(e)})}return function(e){let t=e;for(;null==t.getNextSibling()&&null==t.getPreviousSibling();){let e=t.getParent();if(null==e||!k(t)&&!P(t))break;t=e}t.remove()}(n),!0}function y(...e){let t=[];for(let n of e)if(n&&"string"==typeof n)for(let[e]of n.matchAll(/\S+/g))t.push(e);return t}class x extends i.fG{static getType(){return"listitem"}static clone(e){return new x(e.__value,e.__checked,e.__key)}constructor(e,t,n){super(n),this.__value=void 0===e?1:e,this.__checked=t}createDOM(e){let t=document.createElement("li"),n=this.getParent();return P(n)&&"check"===n.getListType()&&w(t,this,null),t.value=this.__value,b(t,e.theme,this),t}updateDOM(e,t,n){let r=this.getParent();return P(r)&&"check"===r.getListType()&&w(t,this,e),t.value=this.__value,b(t,n.theme,this),!1}static transform(){return e=>{if(k(e)||l(144),null==e.__checked)return;let t=e.getParent();P(t)&&"check"!==t.getListType()&&null!=e.getChecked()&&e.setChecked(void 0)}}static importDOM(){return{li:()=>({conversion:C,priority:0})}}static importJSON(e){let t=_();return t.setChecked(e.checked),t.setValue(e.value),t.setFormat(e.format),t.setDirection(e.direction),t}exportDOM(e){let 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++){let n=e[t];if((0,i.ff)(n)&&this.canMergeWith(n)){let e=n.getChildren();this.append(...e),n.remove()}else super.append(n)}return this}replace(e,t){if(k(e))return super.replace(e);this.setIndent(0);let n=this.getParentOrThrow();if(!P(n))return e;if(n.__first===this.getKey())n.insertBefore(e);else if(n.__last===this.getKey())n.insertAfter(e);else{let t=M(n.getListType()),r=this.getNextSibling();for(;r;){let e=r;r=r.getNextSibling(),t.append(e)}n.insertAfter(e),e.insertAfter(t)}
12return t&&((0,i.ff)(e)||l(139),this.getChildren().forEach(t=>{e.append(t)})),this.remove(),0===n.getChildrenSize()&&n.remove(),e}insertAfter(e,t=!0){let n=this.getParentOrThrow();if(P(n)||l(39),k(e))return super.insertAfter(e,t);let r=this.getNextSiblings();if(n.insertAfter(e,t),0!==r.length){let i=M(n.getListType());r.forEach(e=>i.append(e)),e.insertAfter(i,t)}return e}remove(e){let t=this.getPreviousSibling(),n=this.getNextSibling();super.remove(e),t&&n&&u(t)&&u(n)&&(g(t.getFirstChild(),n.getFirstChild()),n.remove())}insertNewAfter(e,t=!0){let n=_(null==this.__checked&&void 0);return this.insertAfter(n,t),n}collapseAtStart(e){let t=(0,i.lJ)();this.getChildren().forEach(e=>t.append(e));let n=this.getParentOrThrow(),r=n.getParentOrThrow(),o=k(r);if(1===n.getChildrenSize())if(o)n.remove(),r.select();else{n.insertBefore(t),n.remove();let r=e.anchor,i=e.focus,o=t.getKey();"element"===r.type&&r.getNode().is(this)&&r.set(o,r.offset,"element"),"element"===i.type&&i.getNode().is(this)&&i.set(o,i.offset,"element")}else n.insertBefore(t),this.remove();return!0}getValue(){return this.getLatest().__value}setValue(e){this.getWritable().__value=e}getChecked(){let e,t=this.getLatest(),n=this.getParent();return P(n)&&(e=n.getListType()),"check"===e?!!t.__checked:void 0}setChecked(e){this.getWritable().__checked=e}toggleChecked(){this.setChecked(!this.__checked)}getIndent(){let e=this.getParent();if(null===e)return this.getLatest().__indent;let t=e.getParentOrThrow(),n=0;for(;k(t);)t=t.getParentOrThrow().getParentOrThrow(),n++;return n}setIndent(e){"number"!=typeof e&&l(117),(e=Math.floor(e))>=0||l(199);let t=this.getIndent();for(;t!==e;)t<e?(function(e){let t=new Set;if(u(e)||t.has(e.getKey()))return;let n=e.getParent(),r=e.getNextSibling(),i=e.getPreviousSibling();if(u(r)&&u(i)){let n=i.getFirstChild();if(P(n)){n.append(e);let i=r.getFirstChild();P(i)&&(f(n,i.getChildren()),r.remove(),t.add(r.getKey()))}}else if(u(r)){let t=r.getFirstChild();if(P(t)){let n=t.getFirstChild();null!==n&&n.insertBefore(e)}}else if(u(i)){let t=i.getFirstChild();P(t)&&t.append(e)}else if(P(n)){let t=_(),o=M(n.getListType());t.append(o),o.append(e),i?i.insertAfter(t):r?r.insertBefore(t):n.append(t)}}(this),t++):(function(e){if(u(e))return;let t=e.getParent(),n=t?t.getParent():void 0;if(P(n?n.getParent():void 0)&&k(n)&&P(t)){let r=t?t.getFirstChild():void 0,i=t?t.getLastChild():void 0;if(e.is(r))n.insertBefore(e),t.isEmpty()&&n.remove();else if(e.is(i))n.insertAfter(e),t.isEmpty()&&n.remove();else{let r=t.getListType(),i=_(),o=M(r);
12i.append(o),e.getPreviousSiblings().forEach(e=>o.append(e));let l=_(),a=M(r);l.append(a),f(a,e.getNextSiblings()),n.insertBefore(i),n.insertAfter(l),n.replace(e)}}}(this),t--);return this}canInsertAfter(e){return k(e)}canReplaceWith(e){return k(e)}canMergeWith(e){return(0,i.bS)(e)||k(e)}extractWithChild(e,t){if(!(0,i.I2)(t))return!1;let n=t.anchor.getNode(),r=t.focus.getNode();return this.isParentOf(n)&&this.isParentOf(r)&&this.getTextContent().length===t.getTextContent().length}isParentRequired(){return!0}createParentElementNode(){return M("bullet")}canMergeWhenEmpty(){return!0}}function b(e,t,n){let r,i=[],l=[],a=t.list,s=a?a.listitem:void 0;if(a&&a.nested&&(r=a.nested.listitem),void 0!==s&&i.push(...y(s)),a){let e=n.getParent(),t=P(e)&&"check"===e.getListType(),r=n.getChecked();t&&!r||l.push(a.listitemUnchecked),t&&r||l.push(a.listitemChecked),t&&i.push(r?a.listitemChecked:a.listitemUnchecked)}if(void 0!==r){let e=y(r);n.getChildren().some(e=>P(e))?i.push(...e):l.push(...e)}l.length>0&&(0,o.HE)(e,...l),i.length>0&&(0,o.ZB)(e,...i)}function w(e,t,n,r){P(t.getFirstChild())?(e.removeAttribute("role"),e.removeAttribute("tabIndex"),e.removeAttribute("aria-checked")):(e.setAttribute("role","checkbox"),e.setAttribute("tabIndex","-1"),n&&t.__checked===n.__checked||e.setAttribute("aria-checked",t.getChecked()?"true":"false"))}function C(e){if(e.classList.contains("task-list-item")){for(let n of e.children)if("INPUT"===n.tagName){var t;return"checkbox"!==(t=n).getAttribute("type")?{node:null}:{node:_(t.hasAttribute("checked"))}}}let n=e.getAttribute("aria-checked");return{node:_("true"===n||"false"!==n&&void 0)}}function _(e){return(0,i.pT)(new x(void 0,e))}function k(e){return e instanceof x}class E extends i.fG{static getType(){return"list"}static clone(e){return new E(e.__listType||I[e.__tag],e.__start,e.__key)}constructor(e,t,n){super(n);const r=I[e]||e;this.__listType=r,this.__tag="number"===r?"ol":"ul",this.__start=t}getTag(){return this.__tag}setListType(e){let t=this.getWritable();t.__listType=e,t.__tag="number"===e?"ol":"ul"}getListType(){return this.__listType}getStart(){return this.__start}createDOM(e,t){let n=this.__tag,r=document.createElement(n);return 1!==this.__start&&r.setAttribute("start",String(this.__start)),r.__lexicalListType=this.__listType,S(r,e.theme,this),r}updateDOM(e,t,n){return e.__tag!==this.__tag||(S(t,n.theme,this),!1)}static transform(){return e=>{let t;P(e)||l(163),P(t=e.getNextSibling())&&e.getListType()===t.getListType()&&g(e,t),function(e){let t="check"!==e.getListType(),n=e.getStart();for(let r of e.getChildren())k(r)&&(r.getValue()!==n&&r.setValue(n),t&&null!=r.getLatest().__checked&&r.setChecked(void 0),P(r.getFirstChild())||n++)}(e)}}static importDOM(){return{ol:()=>({conversion:A,priority:0}),ul:()=>({conversion:A,priority:0})}}static importJSON(e){let t=M(e.listType,e.start);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportDOM(e){let{element:t}=super.exportDOM(e);return t&&(0,i.sb)(t)&&(1!==this.__start&&t.setAttribute("start",String(this.__start)),"check"===this.__listType&&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++){let n=e[t];if(k(n))super.append(n);else{let e=_();if(P(n))e.append(n);else if((0,i.ff)(n)){let t=(0,i.sT)(n.getTextContent());e.append(t)}else e.append(n);super.append(e)}}return this}extractWithChild(e){return k(e)}}function S(e,t,n){let r=[],i=[],l=t.list;if(void 0!==l){let e,t=l[`${n.__tag}Depth`]||[],o=a(n)-1,s=o%t.length,u=t[s],c=l[n.__tag],d=l.nested,h=l.checklist;if(void 0!==d&&d.list&&(e=d.list),void 0!==c&&r.push(c),void 0!==h&&"check"===n.__listType&&r.push(h),void 0!==u){r.push(...y(u));for(let e=0;e<t.length;e++)e!==s&&i.push(n.__tag+e)}if(void 0!==e){let t=y(e);o>1?r.push(...t):i.push(...t)}}i.length>0&&(0,o.HE)(e,...i),r.length>0&&(0,o.ZB)(e,...r)}function T(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(k(r)){t.push(r);let e=r.getChildren();e.length>
121&&e.forEach(e=>{P(e)&&t.push(c(e))})}else t.push(c(r))}return t}function A(e){let t=e.nodeName.toLowerCase(),n=null;return"ol"===t?n=M("number",e.start):"ul"===t&&(n=!function(e){if("check"===e.getAttribute("__lexicallisttype")||e.classList.contains("contains-task-list"))return!0;for(let t of e.childNodes)if((0,i.sb)(t)&&t.hasAttribute("aria-checked"))return!0;return!1}(e)?M("bullet"):M("check")),{after:T,node:n}}let I={ol:"number",ul:"bullet"};function M(e,t=1){return(0,i.pT)(new E(e,t))}function P(e){return e instanceof E}let N=(0,i.gu)("INSERT_UNORDERED_LIST_COMMAND"),L=(0,i.gu)("INSERT_ORDERED_LIST_COMMAND"),D=(0,i.gu)("INSERT_CHECK_LIST_COMMAND"),R=(0,i.gu)("REMOVE_LIST_COMMAND")},84543:(e,t,n)=>{"use strict";function r(e,t){return i(e,t.inConstruct,!0)&&!i(e,t.notInConstruct,!1)}function i(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}n.d(t,{q:()=>r})},84785:(e,t,n)=>{var r=n(64676);e.exports=function(e){return e==e&&!r(e)}},85226:(e,t,n)=>{var r=n(31152),i=n(34199);e.exports=function(e,t,n,o){var l=n.length,a=l,s=!o;if(null==e)return!a;for(e=Object(e);l--;){var u=n[l];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++l<a;){var c=(u=n[l])[0],d=e[c],h=u[1];if(s&&u[2]){if(void 0===d&&!(c in e))return!1}else{var f=new r;if(o)var p=o(d,h,c,e,t,f);if(!(void 0===p?i(h,d,3,o,f):p))return!1}}return!0}},85400:(e,t,n)=>{"use strict";n.d(t,{Q:()=>s});var r=n(84005),i=n(49628),o=n(53239),l=n(35588),a=n(29641);function s(){let[e]=(0,i.DF)();return(0,o.useEffect)(()=>{if(!e.hasNodes([r.v5,r.YW]))throw Error("ListPlugin: ListNode and/or ListItemNode not registered on editor")},[e]),(0,o.useEffect)(()=>(0,l.Sd)(e.registerCommand(r.x,()=>((0,r.us)(e,"number"),!0),a.Ac),e.registerCommand(r.q7,()=>((0,r.us)(e,"bullet"),!0),a.Ac),e.registerCommand(r.uS,()=>((0,r.tK)(e),!0),a.Ac),e.registerCommand(a.XK,()=>!!(0,r.yX)(),a.Ac)),[e]),null}},85886:(e,t,n)=>{"use strict";n.d(t,{R:()=>k});var r=n(14812),i=n(53239),o=n(94185),l=n(74008),a=n(18852),s=n(88793),u=n(48513),c=n(11230),d=n(82585),h=n(73440),f=n(12896),p=n(49628),g=n(14589);let m=({children:e})=>{let t=(0,r.X3)(l.u0),n=i.useMemo(()=>[t,(0,p.Mx)(null,d.C)],[t]);return i.createElement(p.Gu.Provider,{value:n},e)},v=()=>{let e=(0,l.Bd)(),[t,n,o,d,f]=(0,r.uX)(l.X2,l.GS,l.Me,l.yY,l.M0);return i.createElement(i.Fragment,null,o.map((e,t)=>i.createElement(e,{key:t})),i.createElement(w,{wrappers:d},i.createElement("div",{className:c(h.Ay.rootContentEditableWrapper,"mdxeditor-root-contenteditable")},i.createElement(u.$,{contentEditable:i.createElement(a.a,{className:c(h.Ay.contentEditable,t),ariaLabel:e("contentArea.editableMarkdown","editable markdown")}),placeholder:i.createElement("div",{className:c(h.Ay.contentEditable,h.Ay.placeholder,t)},i.createElement("p",null,f)),ErrorBoundary:s.A}))),n.map((e,t)=>i.createElement(e,{key:t})))},y={listItemIndent:"one"},x=e=>g.k[e];function b(e,t,n={}){let r=t;for(let[e,t]of Object.entries(n))r=r.replaceAll(`{{${e}}}`,String(t));return r}let w=({wrappers:e,children:t})=>{if(0===e.length)return i.createElement(i.Fragment,null,t);let n=e[0];return i.createElement(n,null,i.createElement(w,{wrappers:e.slice(1)},t))},C=({children:e,className:t})=>{let n=i.useRef(null),o=(0,r.qM)(l.xZ);return i.useEffect(()=>{let e=document.createElement("div");return e.classList.add("mdxeditor-popup-container",h.Ay.editorRoot,h.Ay.popupContainer,...(t??"").trim().split(" ").filter(Boolean)),document.body.appendChild(e),n.current=e,o(n),()=>{e.remove()}},[t,n,o]),i.createElement("div",{className:c("mdxeditor",h.Ay.editorRoot,h.Ay.editorWrapper,t)},e)},_=({mdxRef:e})=>{let t=(0,r.LO)();return i.useImperativeHandle(e,()=>({getMarkdown:()=>"source"===t.getValue(l.n$)?t.getValue(l.Bn):t.getValue(l.oF),setMarkdown:e=>{t.pub(l.Sv,e)},insertMarkdown:e=>{t.pub(l.HU,e)},focus:(e,n)=>{var r;null==(r=t.getValue(l.u0))||r.focus(e,n)}}),[t]),null},k=i.forwardRef((e,t)=>i.createElement(o.g,{plugins:[(0,l.LH)({contentEditableClassName:e.contentEditableClassName??"",initialMarkdown:e.markdown,onChange:e.onChange??f.lQ,onBlur:e.onBlur??f.lQ,toMarkdownOptions:e.toMarkdownOptions??y,autoFocus:e.autoFocus??!1,placeholder:e.placeholder??"",readOnly:!!e.readOnly,iconComponentFor:e.iconComponentFor??x,suppressHtmlProcessing:e.suppressHtmlProcessing??!1,onError:e.onError??f.lQ,translation:e.translation??b,trim:e.trim??!0}),...e.plugins??[]]},i.createElement(C,{className:e.className},i.createElement(m,null,i.createElement(v,null))),i.createElement(_,{mdxRef:t})))},85892:(e,t,n)=>{var r=n(78562),i=n(14587),o=n(84837),l=n(33312),a=n(19418);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?l(e)?i(e[0],e[1]):r(e):a(e)}},86176:(e,t,n)=>{var r=n(29443),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,l,a){var s=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!s)return!1;for(var d=c;d--;){var h=u[d];if(!(s?h in t:i.call(t,h)))return!1}var f=a.get(e),p=a.get(t);if(f&&p)return f==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var m=s;++d<c;){var v=e[h=u[d]],y=t[h];if(o)var x=s?o(y,v,h,t,e,a):o(v,y,h,e,t,a);
12if(!(void 0===x?v===y||l(v,y,n,o,a):x)){g=!1;break}m||(m="constructor"==h)}if(g&&!m){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(g=!1)}return a.delete(e),a.delete(t),g}},86727:(e,t,n)=>{var r=n(85892),i=n(81660);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):[]}},87604:(e,t,n)=>{"use strict";n.d(t,{$$:()=>g,Es:()=>f,KG:()=>v,Ks:()=>T,Ll:()=>a,Re:()=>k,Sw:()=>o,TW:()=>h,WQ:()=>_,YG:()=>w,YN:()=>m,ZC:()=>x,_q:()=>p,ag:()=>I,e_:()=>S,jn:()=>i,kx:()=>E,l6:()=>l,lk:()=>y,sb:()=>c,wz:()=>u,xZ:()=>d,zk:()=>s});var r=n(53239);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}let o="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function l(e){let t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function a(e){return"nodeType"in e}function s(e){var t,n;return e?l(e)?e:a(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function u(e){let{Document:t}=s(e);return e instanceof t}function c(e){return!l(e)&&e instanceof s(e).HTMLElement}function d(e){return e instanceof s(e).SVGElement}function h(e){return e?l(e)?e.document:a(e)?u(e)?e:c(e)||d(e)?e.ownerDocument:document:document:document}let f=o?r.useLayoutEffect:r.useEffect;function p(e){let t=(0,r.useRef)(e);return f(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function g(){let e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function m(e,t){void 0===t&&(t=[e]);let n=(0,r.useRef)(e);return f(()=>{n.current!==e&&(n.current=e)},t),n}function v(e,t){let n=(0,r.useRef)();return(0,r.useMemo)(()=>{let t=e(n.current);return n.current=t,t},[...t])}function y(e){let t=p(e),n=(0,r.useRef)(null),i=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,i]}function x(e){let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let b={};function w(e,t){return(0,r.useMemo)(()=>{if(t)return t;let n=null==b[e]?0:b[e]+1;return b[e]=n,e+"-"+n},[e,t])}function C(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return r.reduce((t,n)=>{for(let[r,i]of Object.entries(n)){let n=t[r];null!=n&&(t[r]=n+e*i)}return t},{...t})}}let _=C(1),k=C(-1);function E(e){if(!e)return!1;let{KeyboardEvent:t}=s(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;let{TouchEvent:t}=s(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){let{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){let{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return"clientX"in e&&"clientY"in e?{x:e.clientX,y:e.clientY}:null}let T=Object.freeze({Translate:{toString(e){if(!e)return;let{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;let{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[T.Translate.toString(e),T.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),A="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function I(e){return e.matches(A)?e:e.querySelector(A)}},88036:(e,t,n)=>{"use strict";let r;function i(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function o(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function l(e,t,n,r){if("function"==typeof t){let[i,l]=o(r);t=t(void 0!==n?n:e.custom,i,l)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,l]=o(r);t=t(void 0!==n?n:e.custom,i,l)}return t}function a(e,t,n){let r=e.getProps();return l(r,t,void 0!==n?n:r.custom,e)}n.d(t,{P:()=>r3});let s=e=>Array.isArray(e);var u,c,d,h,f=n(60747),p=n(97545),g=n(63394);function m(e,t){let n=e.getValue("willChange");if((0,p.S)(n)&&n.add)return n.add(t);
12if(!n&&g.W.WillChange){let n=new g.W.WillChange("auto");e.addValue("willChange",n),n.add(t)}}let v=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),y="data-"+v("framerAppearId"),x=e=>null!==e,b=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],w=new Set(b),C={type:"spring",stiffness:500,damping:25,restSpeed:10},_={type:"keyframes",duration:.8},k={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function E(e,t){return e?.[t]??e?.default??e}var S=n(17554),T=n(90606),A=n(72700),I=n(40453),M=n(34435);let P=e=>180*e/Math.PI,N=e=>D(P(Math.atan2(e[1],e[0]))),L={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:N,rotateZ:N,skewX:e=>P(Math.atan(e[1])),skewY:e=>P(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},D=e=>((e%=360)<0&&(e+=360),e),R=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),F=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),O={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:R,scaleY:F,scale:e=>(R(e)+F(e))/2,rotateX:e=>D(P(Math.atan2(e[6],e[5]))),rotateY:e=>D(P(Math.atan2(-e[2],e[0]))),rotateZ:N,rotate:N,skewX:e=>P(Math.atan(e[4])),skewY:e=>P(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function V(e){return+!!e.includes("scale")}function H(e,t){let n,r;if(!e||"none"===e)return V(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)n=O,r=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=L,r=t}if(!r)return V(t);let o=n[t],l=r[1].split(",").map(B);return"function"==typeof o?o(l):l[o]}function B(e){return parseFloat(e.trim())}var z=n(45854),j=n(47679);let W=e=>e===z.ai||e===j.px,$=new Set(["x","y","z"]),U=b.filter(e=>!$.has(e)),J={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>H(t,"x"),y:(e,{transform:t})=>H(t,"y")};J.translateX=J.x,J.translateY=J.y;let K=new Set,Z=!1,q=!1,G=!1;function Y(){if(q){let e=Array.from(K).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t,r=(t=[],U.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t);r.length&&(n.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}q=!1,Z=!1,K.forEach(e=>e.complete(G)),K.clear()}function X(){K.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(q=!0)})}class Q{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(K.add(this),Z||(Z=!0,T.Gt.read(X),T.Gt.resolveKeyframes(Y))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(null===e[0]){let i=r?.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),K.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,K.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var ee=n(3903),et=n(80075),en=n(15053),er=n(59143);let ei={};var eo=n(80250);let el=(u=()=>{try{document.createElement("div").animate({opacity:0}
12,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},r=(0,eo.p)(u),()=>ei.linearEasing??r());var ea=n(87538);let es=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,eu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:es([0,.65,.55,1]),circOut:es([.55,0,1,.45]),backIn:es([.31,.01,.66,-.59]),backOut:es([.33,1.53,.69,.99])};var ec=n(65800);function ed(e){return"function"==typeof e&&"applyToOptions"in e}var eh=n(61081),ef=n(1816);class ep extends et.q{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:o=!1,finalKeyframe:l,onComplete:a}=e;this.isPseudoElement=!!i,this.allowFlatten=o,this.options=e,(0,eh.V)("string"!=typeof e.type,'animateMini doesn\'t support "type" as a string. Did you mean to import { spring } from "motion"?');const s=function({type:e,...t}){return ed(e)&&el()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:l="loop",ease:a="easeOut",times:s}={},u){let c={[t]:n};s&&(c.offset=s);let d=function e(t,n){if(t)return"function"==typeof t?el()?(0,ea.K)(t,n):"ease-out":(0,ec.D)(t)?es(t):Array.isArray(t)?t.map(t=>e(t,n)||eu.easeOut):eu[t]}(a,i);Array.isArray(d)&&(c.easing=d),er.Q.value&&en.q.waapi++;let h={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===l?"alternate":"normal"};u&&(h.pseudoElement=u);let f=e.animate(c,h);return er.Q.value&&f.finished.finally(()=>{en.q.waapi--}),f}(t,n,r,s,i),!1===s.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=(0,M.X)(r,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(e):n.startsWith("--")?t.style.setProperty(n,e):t.style[n]=e,this.animation.cancel()}a?.(),this.notifyFinished()},this.animation.oncancel=()=>this.notifyFinished()}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,S.X)(Number(e))}get time(){return(0,S.X)(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=(0,S.f)(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,ee.J)())?(this.animation.timeline=e,ef.l):t(this)}}var eg=n(59409),em=n(30540),ev=n(96421),ey=n(55521);let ex={anticipate:em.b,backInOut:ev.ZZ,circInOut:ey.tn};class eb extends ep{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ex&&(e.ease=ex[e.ease])}(e),(0,eg.E)(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...o}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let l=new I.s({...o,autoplay:!1}),a=(0,S.f)(this.finishedTime??this.time);t.setWithVelocity(l.sample(a-10).value,l.sample(a).value,10),l.stop()}}var ew=n(47759);let eC=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(ew.f.test(e)||"0"===e)&&!e.startsWith("url(")),e_=new Set(["opacity","clipPath","filter","transform"]),ek=(0,eo.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eE extends et.q{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:
12o="loop",keyframes:l,name:a,motionValue:s,element:u,...c}){super(),this.stop=()=>{this._animation?(this._animation.stop(),this.stopTimeline?.()):this.keyframeResolver?.cancel()},this.createdAt=A.k.now();const d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,name:a,motionValue:s,element:u,...c},h=u?.KeyframeResolver||Q;this.keyframeResolver=new h(l,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),a,s,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:o,velocity:l,delay:a,isHandoff:s,onUpdate:u}=n;this.resolvedAt=A.k.now(),!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],l=eC(i,t),a=eC(o,t);return(0,eh.$)(l===a,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!l&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||ed(n))&&r)}(e,i,o,l)&&((g.W.instantAnimations||!a)&&u?.((0,M.X)(e,n,t)),e[0]=e[e.length-1],n.duration=0,n.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!s&&function(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:l}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:s}=t.owner.getProps();return ek()&&n&&e_.has(n)&&("transform"!==n||!s)&&!a&&!r&&"mirror"!==i&&0!==o&&"inertia"!==l}(c)?new eb({...c,element:c.motionValue.owner.current}):new I.s(c);d.finished.then(()=>this.notifyFinished()).catch(ef.l),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(G=!0,X(),Y(),G=!1),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this.animation.cancel()}}let eS=(e,t,n,r={},i,o)=>l=>{let a=E(r,e)||{},s=a.delay||r.delay||0,{elapsed:u=0}=r;u-=(0,S.f)(s);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{l(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:l,repeatDelay:a,from:s,elapsed:u,...c}){return!!Object.keys(c).length}(a)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?_:w.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:C:k)(e,c)),c.duration&&(c.duration=(0,S.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,S.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0===c.delay&&(d=!0)),(g.W.instantAnimations||g.W.skipAnimations)&&(d=!0,c.duration=0,c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!o&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(x),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return i[o]}(c.keyframes,a);if(void 0!==e)return void T.Gt.update(()=>{c.onUpdate(e),c.onComplete()})}return new eE(c)},eT=new Set(["width","height","top","left","right","bottom",...b]);function eA(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:l,...u}=t;r&&(o=r);let c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in u){let r=e.getValue(t,e.latestValues[t]??null),i=u[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(d,t))continue;let l={delay:n,...E(o||{},t)},a=r.get();if(void 0!==a&&!r.isAnimating&&!Array.isArray(i)&&i===a&&!l.velocity)continue;let s=!1;if(window.MotionHandoffAnimation){let n=e.props[y];if(n){let e=window.MotionHandoffAnimation(n,t,T.Gt);
12null!==e&&(l.startTime=e,s=!0)}}m(e,t),r.start(eS(t,r,i,e.shouldReduceMotion&&eT.has(t)?{type:!1}:l,e,s));let h=r.animation;h&&c.push(h)}return l&&Promise.all(c).then(()=>{T.Gt.update(()=>{l&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=a(e,t)||{};for(let t in i={...i,...n}){var o;let n=s(o=i[t])?o[o.length-1]||0:o;e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,f.OQ)(n))}}(e,l)})}),c}function eI(e,t,n={}){let r=a(e,t,"exit"===n.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let o=r?()=>Promise.all(eA(e,r,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:o=0,staggerChildren:l,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=1,o){let l=[],a=(e.variantChildren.size-1)*r,s=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(eM).forEach((e,r)=>{e.notify("AnimationStart",t),l.push(eI(e,t,{...o,delay:n+s(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(l)}(e,t,o+r,l,a,n)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([o(),l(n.delay)]);{let[e,t]="beforeChildren"===s?[o,l]:[l,o];return e().then(()=>t())}}function eM(e,t){return e.sortNodePosition(t)}function eP(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function eN(e){return"string"==typeof e||Array.isArray(e)}let eL=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eD=["initial",...eL],eR=eD.length,eF=[...eL].reverse(),eO=eL.length;function eV(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eH(){return{animate:eV(!0),whileInView:eV(),whileHover:eV(),whileTap:eV(),whileDrag:eV(),whileFocus:eV(),exit:eV()}}class eB{constructor(e){this.isMounted=!1,this.node=e}update(){}}class ez extends eB{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>eI(e,t,n)));else if("string"==typeof t)r=eI(e,t,n);else{let i="function"==typeof t?a(e,t,n.custom):t;r=Promise.all(eA(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),n=eH(),r=!0,o=t=>(n,r)=>{let i=a(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function l(l){let{props:u}=e,c=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<eR;e++){let r=eD[e],i=t.props[r];(eN(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},d=[],h=new Set,f={},p=1/0;for(let t=0;t<eO;t++){var g,m;let a=eF[t],v=n[a],y=void 0!==u[a]?u[a]:c[a],x=eN(y),b=a===l?v.isActive:null;!1===b&&(p=t);let w=y===c[a]&&y!==u[a]&&x;if(w&&r&&e.manuallyAnimateOnMount&&(w=!1),v.protectedKeys={...f},!v.isActive&&null===b||!y&&!v.prevProp||i(y)||"boolean"==typeof y)continue;let C=(g=v.prevProp,"string"==typeof(m=y)?m!==g:!!Array.isArray(m)&&!eP(m,g)),_=C||a===l&&v.isActive&&!w&&x||t>p&&x,k=!1,E=Array.isArray(y)?y:[y],S=E.reduce(o(a),{});!1===b&&(S={});let{prevResolvedValues:T={}}=v,A={...T,...S},I=t=>{_=!0,h.has(t)&&(k=!0,h.delete(t)),v.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in A){let t=S[e],n=T[e];if(!f.hasOwnProperty(e))(s(t)&&s(n)?eP(t,n):t===n)?void 0!==t&&h.has(e)?I(e):v.protectedKeys[e]=!0:null!=t?I(e):h.add(e)}v.prevProp=y,v.prevResolvedValues=S,v.isActive&&(f={...f,...S}),r&&e.blockInitialAnimation&&(_=!1);let M=!(w&&C)||k;_&&M&&d.push(...E.map(e=>({animation:e,options:{type:a}})))}if(h.size){let t={};if("boolean"!=typeof u.initial){let n=a(e,Array.isArray(u.initial)?u.initial[0]:u.initial);n&&n.transition&&(t.transition=n.transition)}h.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),d.push({animation:t})}let v=!!d.length;return r&&(!1===u.initial||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(d):Promise.resolve()}return{animateChanges:l,setActive:function(t,r){if(n[t].isActive===r)return Promise.resolve();
12e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=l(t);for(let e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=eH(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();i(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ej=0;class eW extends eB{constructor(){super(...arguments),this.id=ej++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}function e$(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}let eU=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eJ(e){return{point:{x:e.pageX,y:e.pageY}}}function eK(e,t,n,r){return e$(e,t,e=>eU(e)&&n(e,eJ(e)),r)}function eZ({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}var eq=n(85393);function eG(e){return e.max-e.min}function eY(e,t,n,r=.5){e.origin=r,e.originPoint=(0,eq.k)(t.min,t.max,e.origin),e.scale=eG(n)/eG(t),e.translate=(0,eq.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function eX(e,t,n,r){eY(e.x,t.x,n.x,r?r.originX:void 0),eY(e.y,t.y,n.y,r?r.originY:void 0)}function eQ(e,t,n){e.min=n.min+t.min,e.max=e.min+eG(t)}function e0(e,t,n){e.min=t.min-n.min,e.max=e.min+eG(t)}function e1(e,t,n){e0(e.x,t.x,n.x),e0(e.y,t.y,n.y)}let e5=()=>({translate:0,scale:1,origin:0,originPoint:0}),e2=()=>({x:e5(),y:e5()}),e9=()=>({min:0,max:0}),e3=()=>({x:e9(),y:e9()});function e8(e){return[e("x"),e("y")]}function e7(e){return void 0===e||1===e}function e4({scale:e,scaleX:t,scaleY:n}){return!e7(e)||!e7(t)||!e7(n)}function e6(e){return e4(e)||te(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function te(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function tt(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function tn(e,t=0,n=1,r,i){e.min=tt(e.min,t,n,r,i),e.max=tt(e.max,t,n,r,i)}function tr(e,{x:t,y:n}){tn(e.x,t.translate,t.scale,t.originPoint),tn(e.y,n.translate,n.scale,n.originPoint)}function ti(e,t){e.min=e.min+t,e.max=e.max+t}function to(e,t,n,r,i=.5){let o=(0,eq.k)(e.min,e.max,i);tn(e,t,n,o,r)}function tl(e,t){to(e.x,t.x,t.scaleX,t.scale,t.originX),to(e.y,t.y,t.scaleY,t.scale,t.originY)}function ta(e,t){return eZ(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let ts=({current:e})=>e?e.ownerDocument.defaultView:null;function tu(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let tc=(e,t)=>Math.abs(e-t);var td=n(80468);class th{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=tg(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(tc(e.x,t.x)**2+tc(e.y,t.y)**2)>=3);if(!r&&!i)return;let{point:o}=n,{timestamp:l}=T.uv;this.history.push({...o,timestamp:l});let{onStart:a,onMove:s}=this.handlers;r||(a&&a(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=tf(t,this.transformPagePoint),T.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=tg("pointercancel"===e.type?this.lastMoveEventInfo:tf(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!eU(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const o=tf(eJ(e),this.transformPagePoint),{point:l}=o,{timestamp:a}=T.uv;this.history=[{...l,timestamp:a}];const{onSessionStart:s}=t;s&&s(e,tg(o,this.history)),this.removeListeners=(0,td.F)(eK(this.contextWindow,"pointermove",this.handlePointerMove),eK(this.contextWindow,"pointerup",this.handlePointerUp),eK(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,T.WG)(this.updatePoint)}}function tf(e,t){return t?{point:t(e.point)}:e}function tp(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tg({point:e},t){return{point:e,delta:tp(e,tm(t)),offset:tp(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=tm(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,S.f)(.1)));)n--;if(!r)return{x:0,y:0};let o=(0,S.X)(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};let l={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}(t,.1)}}function tm(e){return e[e.length-1]}var tv=n(75993),ty=n(22083);function tx(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function tb(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function tw(e,t,n){return{min:tC(e,t),max:tC(e,n)}}function tC(e,t){return"number"==typeof e?e:e[t]||0}let t_={x:!1,y:!1},tk=new WeakMap;class tE{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=e3(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(eJ(e).point)},i=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"
12y"===e)if(t_[e])return null;else return t_[e]=!0,()=>{t_[e]=!1};return t_.x||t_.y?null:(t_.x=t_.y=!0,()=>{t_.x=t_.y=!1})}(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),e8(e=>{let t=this.getAxisMotionValue(e).get()||0;if(j.KN.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=eG(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&T.Gt.postRender(()=>i(e,t)),m(this.visualElement,"transform");let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},o=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:l}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(l),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,l),this.updateAxis("y",t.point,l),this.visualElement.render(),o&&o(e,t)},l=(e,t)=>this.stop(e,t),a=()=>e8(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:s}=this.getProps();this.panSession=new th(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:l,resumeAnimation:a},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:ts(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&T.Gt.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!tS(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,eq.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,eq.k)(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&tu(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&n?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:tx(e.x,n,i),y:tx(e.y,t,r)}}(n.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:tw(e,"left","right"),y:tw(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&e8(e=>{var t,r;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=n.layoutBox[e],r=this.constraints[e],i={},void 0!==r.min&&(i.min=r.min-t.min),void 0!==r.max&&(i.max=r.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!tu(t))return!1;let r=t.current;(0,eh.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=ta(e,n),{scroll:i}=t;return i&&(ti(r.x,i.offset.x),ti(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),l=(e=i.layout.layoutBox,{x:tb(e.x,o.x),y:tb(e.y,o.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(l));this.hasMutatedConstraints=!!e,e&&(l=eZ(e))}return l}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),a=this.constraints||{};return Promise.all(e8(l=>{if(!tS(l,t,this.currentDirection))return;let s=a&&a[l]||{};o&&(s={min:0,max:0});let u={type:"inertia",velocity:n?e[l]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...s};return this.startAxisValueAnimation(l,u)})).then(l)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return m(this.visualElement,e),n.start(eS(e,n,0,t,this.visualElement,!1))}stopAnimation(){e8(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){e8(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){e8(t=>{let{drag:n}=this.getProps();if(!tS(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-(0,eq.k)(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!tu(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};e8(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var n,i;let o,l,a,s=t.get();r[e]=(n={min:s,max:s},i=this.constraints[e],o=.5,l=eG(n),(a=eG(i))>l?o=(0,tv.q)(i.min,i.max-l,n.min):l>a&&(o=(0,tv.q)(n.min,n.max-a,i.min)),(0,ty.q)(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),e8(t=>
12{if(!tS(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set((0,eq.k)(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;tk.set(this.visualElement,this);let e=eK(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();tu(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),T.Gt.read(t);let i=e$(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(e8(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:l=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:l}}}function tS(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class tT extends eB{constructor(e){super(e),this.removeGroupControls=ef.l,this.removeListeners=ef.l,this.controls=new tE(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ef.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let tA=e=>(t,n)=>{e&&T.Gt.postRender(()=>e(t,n))};class tI extends eB{constructor(){super(...arguments),this.removePointerDownListener=ef.l}onPointerDown(e){this.session=new th(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ts(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:tA(e),onStart:tA(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&T.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=eK(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var tM=n(80263),tP=n(53239);let tN=(0,tP.createContext)(null),tL=(0,tP.createContext)({}),tD=(0,tP.createContext)({}),tR={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tF(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let tO={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!j.px.test(e))return e;else e=parseFloat(e);let n=tF(e,t.target.x),r=tF(e,t.target.y);return`${n}% ${r}%`}};var tV=n(20403);let tH={},{schedule:tB}=(0,n(30636).I)(queueMicrotask,!1);class tz extends tP.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;for(let e in tW)tH[e]=tW[e],(0,tV.j)(e)&&(tH[e].isCSSVariable=!0);i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),tR.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||T.Gt.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),tB.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function tj(e){let[t,n]=function(e=!0){let t=(0,tP.useContext)(tN);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,o=(0,tP.useId)();(0,tP.useEffect)(()=>
12{if(e)return i(o)},[e]);let l=(0,tP.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,l]:[!0]}(),r=(0,tP.useContext)(tL);return(0,tM.jsx)(tz,{...e,layoutGroup:r,switchLayoutGroup:(0,tP.useContext)(tD),isPresent:t,safeToRemove:n})}let tW={borderRadius:{...tO,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tO,borderTopRightRadius:tO,borderBottomLeftRadius:tO,borderBottomRightRadius:tO,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=ew.f.parse(e);if(r.length>5)return e;let i=ew.f.createTransformer(e),o=+("number"!=typeof r[0]),l=n.x.scale*t.x,a=n.y.scale*t.y;r[0+o]/=l,r[1+o]/=a;let s=(0,eq.k)(l,a,.5);return"number"==typeof r[2+o]&&(r[2+o]/=s),"number"==typeof r[3+o]&&(r[3+o]/=s),i(r)}}},t$=(e,t)=>e.depth-t.depth;var tU=n(85033);class tJ{constructor(){this.children=[],this.isDirty=!1}add(e){(0,tU.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,tU.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(t$),this.isDirty=!1,this.children.forEach(e)}}function tK(e){return(0,p.S)(e)?e.get():e}let tZ=["TopLeft","TopRight","BottomLeft","BottomRight"],tq=tZ.length,tG=e=>"string"==typeof e?parseFloat(e):e,tY=e=>"number"==typeof e||j.px.test(e);function tX(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let tQ=t1(0,.5,ey.yT),t0=t1(.5,.95,ef.l);function t1(e,t,n){return r=>r<e?0:r>t?1:n((0,tv.q)(e,t,r))}function t5(e,t){e.min=t.min,e.max=t.max}function t2(e,t){t5(e.x,t.x),t5(e.y,t.y)}function t9(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function t3(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function t8(e,t,[n,r,i],o,l){!function(e,t=0,n=1,r=.5,i,o=e,l=e){if(j.KN.test(t)&&(t=parseFloat(t),t=(0,eq.k)(l.min,l.max,t/100)-l.min),"number"!=typeof t)return;let a=(0,eq.k)(o.min,o.max,r);e===o&&(a-=t),e.min=t3(e.min,t,n,a,i),e.max=t3(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,l)}let t7=["x","scaleX","originX"],t4=["y","scaleY","originY"];function t6(e,t,n,r){t8(e.x,t,t7,n?n.x:void 0,r?r.x:void 0),t8(e.y,t,t4,n?n.y:void 0,r?r.y:void 0)}function ne(e){return 0===e.translate&&1===e.scale}function nt(e){return ne(e.x)&&ne(e.y)}function nn(e,t){return e.min===t.min&&e.max===t.max}function nr(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ni(e,t){return nr(e.x,t.x)&&nr(e.y,t.y)}function no(e){return eG(e.x)/eG(e.y)}function nl(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class na{constructor(){this.members=[]}add(e){(0,tU.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,tU.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var ns=n(7789);let nu={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nc=["","X","Y","Z"],nd={visibility:"hidden"},nh=0;function nf(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function np({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=nh++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,er.Q.value&&(nu.nodes=nu.calculatedTargetDeltas=nu.calculatedProjections=0),this.nodes.forEac
12h(nv),this.nodes.forEach(nk),this.nodes.forEach(nE),this.nodes.forEach(ny),er.Q.addProjectionMetrics&&er.Q.addProjectionMetrics(nu)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new tJ)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ns.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n,r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let e,t;this.root.updateBlockedByResize=!0,n&&n(),e=A.k.now(),t=({timestamp:n})=>{let i=n-e;i>=250&&((0,T.WG)(t),r(i-250))},T.Gt.setup(t,!0),n=()=>(0,T.WG)(t),tR.hasAnimatedSinceResize&&(tR.hasAnimatedSinceResize=!1,this.nodes.forEach(n_))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||nP,{onLayoutAnimationStart:l,onLayoutAnimationComplete:a}=o.getProps(),s=!this.targetLayout||!ni(this.targetLayout,r),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(s||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...E(i,"layout"),onPlay:l,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||n_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,T.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(nS),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[y];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",T.Gt,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
12h(nb);return}this.isUpdating||this.nodes.forEach(nw),this.isUpdating=!1,this.nodes.forEach(nC),this.nodes.forEach(ng),this.nodes.forEach(nm),this.clearAllSnapshots();let e=A.k.now();T.uv.delta=(0,ty.q)(0,1e3/60,e-T.uv.timestamp),T.uv.timestamp=e,T.uv.isProcessing=!0,T.PP.update.process(T.uv),T.PP.preRender.process(T.uv),T.PP.render.process(T.uv),T.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tB.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nx),this.sharedNodes.forEach(nT)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,T.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){T.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||eG(this.snapshot.measuredBox.x)||eG(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=e3(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nt(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||e6(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),nD((t=r).x),nD(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return e3();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nF))){let{scroll:e}=this.root;e&&(ti(t.x,e.offset.x),ti(t.y,e.offset.y))}return t}removeElementScroll(e){let t=e3();if(t2(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&t2(t,e),ti(t.x,i.offset.x),ti(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=e3();t2(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tl(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),e6(r.latestValues)&&tl(n,r.latestValues)}return e6(this.latestValues)&&tl(n,this.latestValues),n}removeTransform(e){let t=e3();t2(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!e6(n.latestValues))continue;e4(n.latestValues)&&n.updateSnapshot();let r=e3();t2(r,n.measurePageBox()),t6(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return e6(this.latestValues)&&t6(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==T.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
12isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=T.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=e3(),this.relativeTargetOrigin=e3(),e1(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),t2(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=e3(),this.targetWithTransforms=e3()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,l,a;this.forceRelativeParentToResolveTarget(),o=this.target,l=this.relativeTarget,a=this.relativeParent.target,eQ(o.x,l.x,a.x),eQ(o.y,l.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):t2(this.target,this.layout.layoutBox),tr(this.target,this.targetDelta)):t2(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=e3(),this.relativeTargetOrigin=e3(),e1(this.relativeTargetOrigin,this.target,e.target),t2(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}er.Q.value&&nu.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||e4(this.parent.latestValues)||te(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===T.uv.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;t2(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,l=this.treeScale.y;!function(e,t,n,r=!1){let i,o,l=n.length;if(l){t.x=t.y=1;for(let a=0;a<l;a++){o=(i=n[a]).projectionDelta;let{visualElement:l}=i.options;(!l||!l.props.style||"contents"!==l.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&tl(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,tr(e,o)),r&&e6(i.latestValues)&&tl(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=e3());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(t9(this.prevProjectionDelta.x,this.projectionDelta.x),t9(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),eX(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===l&&nl(this.projectionDelta.x,this.prevProjectionDelta.x)&&nl(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),er.Q.value&&nu.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=e2(),this.projectionDelta=e2(),this.projectionDeltaWithTransform=e2()}setAnimationOrigin(e,t=!1){let n,r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},l=e2();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=e3(),s=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(s&&!c&&!0===this.options.crossfade&&!this.path.some(nM));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(nA(l.x,e.x,r),nA(l.y,e.y,r),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,p,g,m;e1(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,g=a,m=r,nI(f.x,p.x,g.x,m),nI(f.y,p.y,g.y,m),n&&(u=this.relativeTarget,h=n,nn(u.x,h.x)&&nn(u.
12y,h.y))&&(this.isProjectionDirty=!1),n||(n=e3()),t2(n,this.relativeTarget)}s&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=(0,eq.k)(0,n.opacity??1,tQ(r)),e.opacityExit=(0,eq.k)(t.opacity??1,0,t0(r))):o&&(e.opacity=(0,eq.k)(t.opacity??1,n.opacity??1,r));for(let i=0;i<tq;i++){let o=`border${tZ[i]}Radius`,l=tX(t,o),a=tX(n,o);(void 0!==l||void 0!==a)&&(l||(l=0),a||(a=0),0===l||0===a||tY(l)===tY(a)?(e[o]=Math.max((0,eq.k)(tG(l),tG(a),r),0),(j.KN.test(a)||j.KN.test(l))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=(0,eq.k)(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,T.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=T.Gt.update(()=>{var t;let n;tR.hasAnimatedSinceResize=!0,en.q.layout++,this.currentAnimation=(t={...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{en.q.layout--},onComplete:()=>{en.q.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(n=(0,p.S)(0)?0:(0,f.OQ)(0)).start(eS("",n,1e3,t)),n.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&nR(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||e3();let t=eG(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=eG(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}t2(t,n),tl(t,i),eX(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new na),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&nf("z",e,r,this.animationValues);for(let t=0;t<nc.length;t++)nf(`rotate${nc[t]}`,e,r,this.animationValues),nf(`skew${nc[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return nd;let t={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.opacity="",t.pointerEvents=tK(e?.pointerEvents)||"",t.transform=n?n(this.latestValues,""):"none",t;let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=tK(e?.pointerEvents)||""),this.hasProjected&&!e6(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}let i=r.animationValues||r.latestValues;this.applyTransformsToTarget(),t.transform=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.
12y.translate/t.y,l=n?.z||0;if((i||o||l)&&(r=`translate3d(${i}px, ${o}px, ${l}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:l,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),l&&(r+=`skewX(${l}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,s=e.y.scale*t.y;return(1!==a||1!==s)&&(r+=`scale(${a}, ${s})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,i),n&&(t.transform=n(i,t.transform));let{x:o,y:l}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*l.origin}% 0`,r.animationValues?t.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:t.opacity=r===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,tH){if(void 0===i[e])continue;let{correct:n,applyTo:o,isCSSVariable:l}=tH[e],a="none"===t.transform?i[e]:n(i[e],r);if(o){let e=o.length;for(let n=0;n<e;n++)t[o[n]]=a}else l?this.options.visualElement.renderState.vars[e]=a:t[e]=a}return this.options.layoutId&&(t.pointerEvents=r===this?tK(e?.pointerEvents)||"":"none"),t}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(nb),this.root.sharedNodes.clear()}}}function ng(e){e.updateLayout()}function nm(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;"size"===i?e8(e=>{let r=o?t.measuredBox[e]:t.layoutBox[e],i=eG(r);r.min=n[e].min,r.max=r.min+i}):nR(i,t.layoutBox,n)&&e8(r=>{let i=o?t.measuredBox[r]:t.layoutBox[r],l=eG(n[r]);i.max=i.min+l,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+l)});let l=e2();eX(l,n,t.layoutBox);let a=e2();o?eX(a,e.applyTransform(r,!0),t.measuredBox):eX(a,n,t.layoutBox);let s=!nt(l),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let l=e3();e1(l,t.layoutBox,i.layoutBox);let a=e3();e1(a,n,o.layoutBox),ni(l,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=l,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:a,layoutDelta:l,hasLayoutChanged:s,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nv(e){er.Q.value&&nu.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ny(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nx(e){e.clearSnapshot()}function nb(e){e.clearMeasurements()}function nw(e){e.isLayoutDirty=!1}function nC(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function n_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nk(e){e.resolveTargetDelta()}function nE(e){e.calcProjection()}function nS(e){e.resetSkewAndRotation()}function nT(e){e.removeLeadSnapshot()}function nA(e,t,n){e.translate=(0,eq.k)(t.translate,0,n),e.scale=(0,eq.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function nI(e,t,n,r){e.min=(0,eq.k)(t.min,n.min,r),e.max=(0,eq.k)(t.max,n.max,r)}function nM(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nP={duration:.45,ease:[.4,0,.1,1]},nN=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nL=nN("applewebkit/")&&!nN("chrome/")?Math.round:ef.l;function nD(e){e.min=nL(e.min),e.max=nL(e.max)}function nR(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(no(t)-no(n)))}function nF(e){return e!==e.root&&e.scroll?.wasRoot}let nO=np({attachResizeListener:(e,t)=>e$(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nV={current:void 0},nH=np({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nV.current){let e=new nO({});e.mount(window),e.setOptions({layoutScroll:!0}),nV.current=e}return nV.current},resetTransform:(e,t)=>
12{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var nB=n(17137);function nz(e,t){let n=(0,nB.K)(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function nj(e){return!("touch"===e.pointerType||t_.x||t_.y)}function nW(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&T.Gt.postRender(()=>i(t,eJ(t)))}class n$ extends eB{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=nz(e,n),l=e=>{if(!nj(e))return;let{target:n}=e,r=t(n,e);if("function"!=typeof r||!n)return;let o=e=>{nj(e)&&(r(e),n.removeEventListener("pointerleave",o))};n.addEventListener("pointerleave",o,i)};return r.forEach(e=>{e.addEventListener("pointerenter",l,i)}),o}(e,(e,t)=>(nW(this.node,t,"Start"),e=>nW(this.node,e,"End"))))}unmount(){}}class nU extends eB{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,td.F)(e$(this.node.current,"focus",()=>this.onFocus()),e$(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let nJ=(e,t)=>!!t&&(e===t||nJ(e,t.parentElement)),nK=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nZ=new WeakSet;function nq(e){return t=>{"Enter"===t.key&&e(t)}}function nG(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function nY(e){return eU(e)&&!(t_.x||t_.y)}function nX(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&T.Gt.postRender(()=>i(t,eJ(t)))}class nQ extends eB{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){let[r,i,o]=nz(e,n),l=e=>{let r=e.currentTarget;if(!nY(e)||nZ.has(r))return;nZ.add(r);let o=t(r,e),l=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",s),nY(e)&&nZ.has(r)&&(nZ.delete(r),"function"==typeof o&&o(e,{success:t}))},a=e=>{l(e,r===window||r===document||n.useGlobalTarget||nJ(r,e.target))},s=e=>{l(e,!1)};window.addEventListener("pointerup",a,i),window.addEventListener("pointercancel",s,i)};return r.forEach(e=>{((n.useGlobalTarget?window:e).addEventListener("pointerdown",l,i),e instanceof HTMLElement)&&(e.addEventListener("focus",e=>((e,t)=>{let n=e.currentTarget;if(!n)return;let r=nq(()=>{if(nZ.has(n))return;nG(n,"down");let e=nq(()=>{nG(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>nG(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)})(e,i)),nK.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),o}(e,(e,t)=>(nX(this.node,t,"Start"),(e,{success:t})=>nX(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let n0=new WeakMap,n1=new WeakMap,n5=e=>{let t=n0.get(e.target);t&&t(e)},n2=e=>{e.forEach(n5)},n9={some:0,all:1};
12class n3 extends eB{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:n={}}=this.node.getProps(),{root:r,margin:i,amount:o="some",once:l}=n,a={root:r?r.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:n9[o]},s=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,l&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)};return e=this.node.current,t=function({root:e,...t}){let n=e||document;n1.has(n)||n1.set(n,{});let r=n1.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(n2,{root:e,...t})),r[i]}(a),n0.set(e,s),t.observe(e),()=>{n0.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let n8=(0,tP.createContext)({strict:!1});var n7=n(33435);let n4=(0,tP.createContext)({});function n6(e){return i(e.animate)||eD.some(t=>eN(e[t]))}function re(e){return!!(n6(e)||e.variants)}function rt(e){return Array.isArray(e)?e.join(" "):e}var rn=n(39817);let rr={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},ri={};for(let e in rr)ri[e]={isEnabled:t=>rr[e].some(e=>!!t[e])};let ro=Symbol.for("motionComponentSymbol");var rl=n(77721);function ra(e,{layout:t,layoutId:n}){return w.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!tH[e]||"opacity"===e)}let rs=(e,t)=>t&&"number"==typeof e?t.transform(e):e,ru={...z.ai,transform:Math.round},rc={rotate:j.uj,rotateX:j.uj,rotateY:j.uj,rotateZ:j.uj,scale:z.hs,scaleX:z.hs,scaleY:z.hs,scaleZ:z.hs,skew:j.uj,skewX:j.uj,skewY:j.uj,distance:j.px,translateX:j.px,translateY:j.px,translateZ:j.px,x:j.px,y:j.px,z:j.px,perspective:j.px,transformPerspective:j.px,opacity:z.X4,originX:j.gQ,originY:j.gQ,originZ:j.px},rd={borderWidth:j.px,borderTopWidth:j.px,borderRightWidth:j.px,borderBottomWidth:j.px,borderLeftWidth:j.px,borderRadius:j.px,radius:j.px,borderTopLeftRadius:j.px,borderTopRightRadius:j.px,borderBottomRightRadius:j.px,borderBottomLeftRadius:j.px,width:j.px,maxWidth:j.px,height:j.px,maxHeight:j.px,top:j.px,right:j.px,bottom:j.px,left:j.px,padding:j.px,paddingTop:j.px,paddingRight:j.px,paddingBottom:j.px,paddingLeft:j.px,margin:j.px,marginTop:j.px,marginRight:j.px,marginBottom:j.px,marginLeft:j.px,backgroundPositionX:j.px,backgroundPositionY:j.px,...rc,zIndex:ru,fillOpacity:z.X4,strokeOpacity:z.X4,numOctaves:ru},rh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},rf=b.length;function rp(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,l=!1,a=!1;for(let e in t){let n=t[e];if(w.has(e)){l=!0;continue}if((0,tV.j)(e)){i[e]=n;continue}{let t=rs(n,rd[e]);e.startsWith("origin")?(a=!0,o[e]=t):r[e]=t}}if(!t.transform&&(l||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<rf;o++){let l=b[o],a=e[l];if(void 0===a)continue;let s=!0;if(!(s="number"==typeof a?a===+!!l.startsWith("scale"):0===parseFloat(a))||n){let e=rs(a,rd[l]);if(!s){i=!1;let t=rh[l]||l;r+=`${t}(${e}) `}n&&(t[l]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){let{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}let rg=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rm(e,t,n){for(let r in t)(0,p.S)(t[r])||ra(r,n)||(e[r]=t[r])}
12let rv=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ry(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||rv.has(e)}let rx=e=>!ry(e);try{(c=require("@emotion/is-prop-valid").default)&&(rx=e=>e.startsWith("on")?!ry(e):c(e))}catch{}let rb=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rw(e){if("string"!=typeof e||e.includes("-"));else if(rb.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let rC={offset:"stroke-dashoffset",array:"stroke-dasharray"},r_={offset:"strokeDashoffset",array:"strokeDasharray"};function rk(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:o=1,pathOffset:l=0,...a},s,u){if(rp(e,a,u),s){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:c,style:d}=e;c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox="fill-box",delete c.transformBox),void 0!==t&&(c.x=t),void 0!==n&&(c.y=n),void 0!==r&&(c.scale=r),void 0!==i&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?rC:r_;e[o.offset]=j.px.transform(-r);let l=j.px.transform(t),a=j.px.transform(n);e[o.array]=`${l} ${a}`}(c,i,o,l,!1)}let rE=()=>({...rg(),attrs:{}}),rS=e=>"string"==typeof e&&"svg"===e.toLowerCase();var rT=n(64428);let rA=e=>(t,n)=>{let r=(0,tP.useContext)(n4),o=(0,tP.useContext)(tN),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:function(e,t,n,r){let o={},a=r(e,{});for(let e in a)o[e]=tK(a[e]);let{initial:s,animate:u}=e,c=n6(e),d=re(e);t&&d&&!c&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===u&&(u=t.animate));let h=!!n&&!1===n.initial,f=(h=h||!1===s)?u:s;if(f&&"boolean"!=typeof f&&!i(f)){let t=Array.isArray(f)?f:[f];for(let n=0;n<t.length;n++){let r=l(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=h?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let t in e)o[t]=e[t]}}}return o}(n,r,o,e),renderState:t()}})(e,t,r,o);return n?a():(0,rT.M)(a)};function rI(e,t,n){let{style:r}=e,i={};for(let o in r)((0,p.S)(r[o])||t.style&&(0,p.S)(t.style[o])||ra(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(i[o]=r[o]);return i}let rM={useVisualState:rA({scrapeMotionValuesFromProps:rI,createRenderState:rg})};function rP(e,t,n){let r=rI(e,t,n);for(let n in e)((0,p.S)(e[n])||(0,p.S)(t[n]))&&(r[-1!==b.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}let rN={useVisualState:rA({scrapeMotionValuesFromProps:rP,createRenderState:rE})},rL={current:null},rD={current:!1},rR=new WeakMap;var rF=n(19573);let rO=e=>t=>t.test(e),rV=[z.ai,j.px,j.KN,j.uj,j.vw,j.vh,{test:e=>"auto"===e,parse:e=>e}],rH=e=>rV.find(rO(e)),rB=[...rV,rF.y,ew.f];var rz=n(87823);let rj=new Set(["brightness","contrast","saturate","opacity"]);function rW(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(rz.S)||[];if(!r)return e;let i=n.replace(r,""),o=+!!rj.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let r$=/\b([a-z-]*)\(.*?\)/gu,rU={...ew.f,getAnimatableNone:e=>{let t=e.match(r$);return t?t.map(rW).join(" "):e}},rJ={...rd,color:rF.y,backgroundColor:rF.y,outlineColor:rF.y,fill:rF.y,stroke:rF.y,borderColor:rF.y,borderTopColor:rF.y,borderRightColor:rF.y,borderBottomColor:rF.y,borderLeftColor:rF.y,filter:rU,WebkitFilter:rU},rK=e=>rJ[e];function rZ(e,t){let n=rK(e);return n!==rU&&(n=ew.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let rq=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class rG{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Q,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=A.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,T.Gt.render(this.render,!1,!0))};const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=n6(t),this.isVariantNode=re(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==a[e]&&(0,p.S)(t)&&t.set(a[e],!1)}}mount(e){this.current=e,rR.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
12h((e,t)=>this.bindToMotionValue(t,e)),rD.current||function(){if(rD.current=!0,rn.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rL.current=e.matches;e.addListener(t),t()}else rL.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rL.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,T.WG)(this.notifyUpdate),(0,T.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=w.has(e);r&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&T.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ri){let t=ri[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):e3()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<rq.length;t++){let n=rq[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if((0,p.S)(i))e.addValue(r,i);else if((0,p.S)(o))e.addValue(r,(0,f.OQ)(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,(0,f.OQ)(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,f.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=n){let r,i;if("string"==typeof n&&(r=n,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(i=n,/^0[^.\s]+$/u.test(i))))n=parseFloat(n);else{let r;r=n,!rB.find(rO(r))&&ew.f.test(t)&&(n=rZ(e,t))}this.setBaseTarget(e,(0,p.S)(n)?n.get():n)}return(0,p.S)(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let r=l(this.props,n,this.presenceContext?.custom);r&&(t=r[e])}if(n&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,p.S)(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new ns.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}let rY=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,rX=new Set(["auto","
12none","0"]);class rQ extends Q{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,tV.p)(r))){let i=function e(t,n,r=1){(0,eh.V)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=rY.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}(t);if(!i)return;let l=window.getComputedStyle(n).getPropertyValue(i);if(l){let e=l.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return(0,tV.p)(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!eT.has(n)||2!==e.length)return;let[r,i]=e,o=rH(r),l=rH(i);if(o!==l)if(W(o)&&W(l))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!rX.has(t)&&(0,ew.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=rZ(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=J[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,o=n[i];n[i]=J[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
12h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}}class r0 extends rG{constructor(){super(...arguments),this.KeyframeResolver=rQ}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,p.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function r1(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}class r5 extends r0{constructor(){super(...arguments),this.type="html",this.renderInstance=r1}readValueFromInstance(e,t){if(w.has(t))return((e,t)=>{let{transform:n="none"}=getComputedStyle(e);return H(n,t)})(e,t);{let n=window.getComputedStyle(e),r=((0,tV.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ta(e,t)}build(e,t,n){rp(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return rI(e,t,n)}}let r2=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);class r9 extends r0{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=e3}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(w.has(t)){let e=rK(t);return e&&e.default||0}return t=r2.has(t)?t:v(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return rP(e,t,n)}
12build(e,t,n){rk(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){for(let n in r1(e,t,void 0,r),t.attrs)e.setAttribute(r2.has(n)?n:v(n),t.attrs[n])}mount(e){this.isSVGTag=rS(e.tagName),super.mount(e)}}let r3=function(e){if("u"<typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((d={animation:{Feature:ez},exit:{Feature:eW},inView:{Feature:n3},tap:{Feature:nQ},focus:{Feature:nU},hover:{Feature:n$},pan:{Feature:tI},drag:{Feature:tT,ProjectionNode:nH,MeasureLayout:tj},layout:{ProjectionNode:nH,MeasureLayout:tj}},h=(e,t)=>rw(e)?new r9(t):new r5(t,{allowProjection:e!==tP.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){function o(e,o){var l;let a,s={...(0,tP.useContext)(n7.Q),...e,layoutId:function({layoutId:e}){let t=(0,tP.useContext)(tL).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:u}=s,c=function(e){let{initial:t,animate:n}=function(e,t){if(n6(e)){let{initial:t,animate:n}=e;return{initial:!1===t||eN(t)?t:void 0,animate:eN(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,tP.useContext)(n4));return(0,tP.useMemo)(()=>({initial:t,animate:n}),[rt(t),rt(n)])}(e),d=r(e,u);if(!u&&rn.B){(0,tP.useContext)(n8).strict;let e=function(e){let{drag:t,layout:n}=ri;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(s);a=e.MeasureLayout,c.visualElement=function(e,t,n,r,i){let{visualElement:o}=(0,tP.useContext)(n4),l=(0,tP.useContext)(n8),a=(0,tP.useContext)(tN),s=(0,tP.useContext)(n7.Q).reducedMotion,u=(0,tP.useRef)(null);r=r||l.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));let c=u.current,d=(0,tP.useContext)(tD);c&&!c.projection&&i&&("html"===c.type||"svg"===c.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:l,dragConstraints:a,layoutScroll:s,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!l||a&&tu(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:s,layoutRoot:u})}(u.current,n,i,d);let h=(0,tP.useRef)(!1);(0,tP.useInsertionEffect)(()=>{c&&h.current&&c.update(n,a)});let f=n[y],p=(0,tP.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return(0,rl.E)(()=>{c&&(h.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),tB.render(c.render),p.current&&c.animationState&&c.animationState.animateChanges())}),(0,tP.useEffect)(()=>{c&&(!p.current&&c.animationState&&c.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),p.current=!1))}),c}(i,d,s,t,e.ProjectionNode)}return(0,tM.jsxs)(n4.Provider,{value:c,children:[a&&c.visualElement?(0,tM.jsx)(a,{visualElement:c.visualElement,...s}):null,n(i,e,(l=c.visualElement,(0,tP.useCallback)(e=>{e&&d.onMount&&d.onMount(e),l&&(e?l.mount(e):l.unmount()),o&&("function"==typeof o?o(e):tu(o)&&(o.current=e))},[l])),d,u,c.visualElement)]})}e&&function(e){for(let t in e)ri[t]={...ri[t],...e[t]}}(e),o.displayName=`motion.${"string"==typeof i?i:`create(${i.displayName??i.name??""})`}`;let l=(0,tP.forwardRef)(o);return l[ro]=i,l}({...rw(e)?rN:rM,preloadedFeatures:d,useRender:function(e=!1){return(t,n,r,{latestValues:i},o)=>{let l=(rw(t)?function(e,t,n,r){let i=(0,tP.useMemo)(()=>{let n=rE();return rk(n,t,rS(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};rm(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n,r,i={},o=(n=e.style||{},rm(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,tP.useMemo)(()=>{let n=rg();return rp(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
12`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(n,i,o,t),a=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(rx(i)||!0===n&&ry(i)||!t&&!ry(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),s=t!==tP.Fragment?{...a,...l,ref:r}:{},{children:u}=n,c=(0,tP.useMemo)(()=>(0,p.S)(u)?u.get():u,[u]);return(0,tP.createElement)(t,{...s,children:c})}}(t),createVisualElement:h,Component:e})}))},88042:(e,t,n)=>{"use strict";n.d(t,{fi:()=>L,xi:()=>T,Pi:()=>D,jd:()=>A,jL:()=>I,dJ:()=>S,ZI:()=>V});var r,i=n(52465),o=n(29641);let l=new Set(["STYLE","SCRIPT"]);var a=n(35588),s=(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r;let u="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,c=e=>u?(e||window).getSelection():null;function d(e,t,n){let r=e.getData("application/x-lexical-editor");if(r)try{let e=JSON.parse(r);if(e.namespace===n._config.namespace&&Array.isArray(e.nodes))return h(n,function(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n],l=(0,o.GM)(r);(0,o.kF)(l)&&(0,i.Xg)(l),t.push(l)}return t}(e.nodes),t)}catch(e){}let a=e.getData("text/html");if(a)try{let e=(new DOMParser).parseFromString(a,"text/html");return h(n,function(e,t){let n=t.body?t.body.childNodes:[],r=[],i=[];for(let t=0;t<n.length;t++){let a=n[t];if(!l.has(a.nodeName)){let t=function e(t,n,r,i,a=new Map,s){let u=[];if(l.has(t.nodeName))return u;let c=null,d=function(e,t){let{nodeName:n}=e,r=t._htmlConversions.get(n.toLowerCase()),i=null;if(void 0!==r)for(let t of r){let n=t(e);null!==n&&(null===i||(i.priority||0)<(n.priority||0))&&(i=n)}return null!==i?i.conversion:null}(t,n),h=d?d(t):null,f=null;if(null!==h){f=h.after;let e=h.node;if(null!==(c=Array.isArray(e)?e[e.length-1]:e)){for(let[,e]of a)if(!(c=e(c,s)))break;c&&u.push(...Array.isArray(e)?e:[c])}null!=h.forChild&&a.set(t.nodeName,h.forChild)}let p=t.childNodes,g=[],m=(null==c||!(0,o.Iq)(c))&&(null!=c&&(0,o.y6)(c)||i);for(let t=0;t<p.length;t++)g.push(...e(p[t],n,r,m,new Map(a),c));return null!=f&&(g=f(g)),(0,o.a9)(t)&&(g=function(e,t,n){let r=e.style.textAlign,i=[],l=[];for(let e=0;e<t.length;e++){let a=t[e];if((0,o.y6)(a))r&&!a.getFormat()&&a.setFormat(r),i.push(a);else if(l.push(a),e===t.length-1||e<t.length-1&&(0,o.y6)(t[e+1])){let e=n();e.setFormat(r),e.append(...l),i.push(e),l=[]}}return i}(t,g,m?()=>{let e=new o.A7;return r.push(e),e}:o.lJ)),null==c?g.length>0?u=u.concat(g):(0,o.a9)(t)&&null!=t.nextSibling&&null!=t.previousSibling&&(0,o._O)(t.nextSibling)&&(0,o._O)(t.previousSibling)&&(u=u.concat((0,o.WK)())):(0,o.ff)(c)&&c.append(...g),u}(a,e,i,!1);null!==t&&(r=r.concat(t))}}return function(e){for(let t of e)t.getNextSibling()instanceof o.A7&&t.insertAfter((0,o.WK)());for(let t of e){for(let e of t.getChildren())t.insertBefore(e);t.remove()}}(i),r}(n,e),t)}catch(e){}let s=e.getData("text/plain")||e.getData("text/uri-list");if(null!=s)if((0,o.I2)(t)){let e=s.split(/(\r?\n|\t)/);""===e[e.length-1]&&e.pop();for(let t=0;t<e.length;t++){let n=(0,o.vJ)();if((0,o.I2)(n)){let r=e[t];"\n"===r||"\r\n"===r?n.insertParagraph():" "===r?n.insertNodes([(0,o.ev)()]):n.insertText(r)}}}else t.insertRawText(s)}function h(e,t,n){e.dispatchCommand(o.oq,{nodes:t,selection:n})||n.insertNodes(t)}let f=null;async function p(e,t,n){if(null!==f)return!1;if(null!==t)return new Promise((r,i)=>{e.update(()=>{r(g(e,t,n))})});let r=e.getRootElement(),i=null==e._window?window.document:e._window.document,l=c(e._window);if(null===r||null===l)return!1;let s=i.createElement("span");s.style.cssText="position: fixed; top: -1000px;",s.append(i.createTextNode("#")),r.append(s);let u=new Range;return u.setStart(s,0),u.setEnd(s,1),l.removeAllRanges(),l.addRange(u),new Promise((t,r)=>{let l=e.registerCommand(o.u5,r=>((0,a.xj)(r,ClipboardEvent)&&(l(),null!==f&&(window.clearTimeout(f),f=null),t(g(e,r,n))),!0),o.d);f=window.setTimeout(()=>{l(),f=null,t(!1)},50),i.execCommand("copy"),s.remove()})}function g(e,t,n){if(void 0===n){let t=c(e._window);if(!t)return!1;let r=t.anchorNode,i=t.focusNode;if(null!==r&&null!==i&&!(0,o.LY)(e,r,i))return!1;let l=(0,o.vJ)();if(null===l)return!1;n=function(e=(0,o.vJ)()){let t={"text/plain":e?e.getTextContent():""};if(e){let n=(0,o.i0)();for(let[r,i]of m){let o=i(n,e);null!==o&&(t[r]=o)}}return t}(l)}t.preventDefault();let r=t.clipboardData;return null!==r&&(function(e,t){for(let n in t){let r=t[n];void 0!==r&&e.setData(n,r)}}(r,n),!0)}let m=[["text/html",function(e,t=(0,o.vJ)()){return null==t&&s(166),(0,o.I2)(t)&&t.isCollapsed()||0===t.getNodes().length?"":function(e,t){if("u"<typeof document||"u"<typeof window&&void 0===global.window)throw Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");let n=document.createElement("div"),r=(0,o.Ni)().getChildren();for(let l=0;l<r.length;l++)!function e(t,n,r,l=null){let a=null===l||n.isSelected(l),s=(0,o.ff)(n)&&n.excludeFromCopy("html"),u=n;if(null!==l){let e=(0,o.BE)(n);u=e=(0,o.kF)(e)&&null!==l?(0,i.SD)(l,e):e}let c=(0,o.ff)(u)?u.getChildren():[],d=t._nodes.get(u.getType()),{element:h,after:f}=d&&void 0!==d.exportDOM?d.exportDOM(t,u):u.exportDOM(t);
12if(!h)return!1;let p=document.createDocumentFragment();for(let r=0;r<c.length;r++){let i=c[r],s=e(t,i,p,l);!a&&(0,o.ff)(n)&&s&&n.extractWithChild(i,l,"html")&&(a=!0)}if(a&&!s){if((0,o.sb)(h)&&h.append(p),r.append(h),f){let e=f.call(u,h);e&&h.replaceWith(e)}}else r.append(p);return a}(e,r[l],n,t);return n.innerHTML}(e,t)}],["application/x-lexical-editor",function(e,t=(0,o.vJ)()){return null==t&&s(166),(0,o.I2)(t)&&t.isCollapsed()||0===t.getNodes().length?null:JSON.stringify(function(e,t){let n=[],r=(0,o.Ni)().getChildren();for(let l=0;l<r.length;l++)!function e(t,n,r,l=[]){var a;let u,c,d=null===n||r.isSelected(n),h=(0,o.ff)(r)&&r.excludeFromCopy("html"),f=r;if(null!==n){let e=(0,o.BE)(r);f=e=(0,o.kF)(e)&&null!==n?(0,i.SD)(n,e):e}let p=(0,o.ff)(f)?f.getChildren():[],g=(u=(a=f).exportJSON(),c=a.constructor,u.type!==c.getType()&&s(58,c.name),(0,o.ff)(a)&&(Array.isArray(u.children)||s(59,c.name)),u);if((0,o.kF)(f)){let e=f.__text;e.length>0?g.text=e:d=!1}for(let i=0;i<p.length;i++){let l=p[i],a=e(t,n,l,g.children);!d&&(0,o.ff)(r)&&a&&r.extractWithChild(l,n,"clone")&&(d=!0)}if(d&&!h)l.push(g);else if(Array.isArray(g.children))for(let e=0;e<g.children.length;e++){let t=g.children[e];l.push(t)}return d}(e,t,r[l],n);return{namespace:e._config.namespace,nodes:n}}(e,t))}]];function v(e,t){if(void 0!==document.caretRangeFromPoint){let n=document.caretRangeFromPoint(e,t);return null===n?null:{node:n.startContainer,offset:n.startOffset}}if("undefined"!==document.caretPositionFromPoint){let n=document.caretPositionFromPoint(e,t);return null===n?null:{node:n.offsetNode,offset:n.offset}}return null}let y="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,x=y&&"documentMode"in document?document.documentMode:null,b=!(!y||!("InputEvent"in window)||x)&&"getTargetRanges"in new window.InputEvent("input"),w=y&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),C=y&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,_=y&&/^(?=.*Chrome).*/i.test(navigator.userAgent),k=y&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!_,E=(0,o.gu)("DRAG_DROP_PASTE_FILE");class S extends o.fG{static getType(){return"quote"}static clone(e){return new S(e.__key)}constructor(e){super(e)}createDOM(e){let t=document.createElement("blockquote");return(0,a.ZB)(t,e.theme.quote),t}updateDOM(e,t){return!1}static importDOM(){return{blockquote:e=>({conversion:N,priority:0})}}exportDOM(e){let{element:t}=super.exportDOM(e);if(t&&(0,o.sb)(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();t.style.textAlign=e;let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){let t=T();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),type:"quote"}}insertNewAfter(e,t){let n=(0,o.lJ)(),r=this.getDirection();return n.setDirection(r),this.insertAfter(n,t),n}collapseAtStart(){let e=(0,o.lJ)();
12return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}canMergeWhenEmpty(){return!0}}function T(){return(0,o.pT)(new S)}function A(e){return e instanceof S}class I extends o.fG{static getType(){return"heading"}static clone(e){return new I(e.__tag,e.__key)}constructor(e,t){super(t),this.__tag=e}getTag(){return this.__tag}createDOM(e){let t=this.__tag,n=document.createElement(t),r=e.theme.heading;if(void 0!==r){let e=r[t];(0,a.ZB)(n,e)}return n}updateDOM(e,t){return!1}static importDOM(){return{h1:e=>({conversion:P,priority:0}),h2:e=>({conversion:P,priority:0}),h3:e=>({conversion:P,priority:0}),h4:e=>({conversion:P,priority:0}),h5:e=>({conversion:P,priority:0}),h6:e=>({conversion:P,priority:0}),p:e=>{let t=e.firstChild;return null!==t&&M(t)?{conversion:()=>({node:null}),priority:3}:null},span:e=>M(e)?{conversion:e=>({node:L("h1")}),priority:3}:null}}exportDOM(e){let{element:t}=super.exportDOM(e);if(t&&(0,o.sb)(t)){this.isEmpty()&&t.append(document.createElement("br"));let e=this.getFormatType();t.style.textAlign=e;let n=this.getDirection();n&&(t.dir=n)}return{element:t}}static importJSON(e){let t=L(e.tag);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),tag:this.getTag(),type:"heading",version:1}}insertNewAfter(e,t=!0){let n=e?e.anchor.offset:0,r=this.getLastDescendant(),i=r&&(!e||e.anchor.key!==r.getKey()||n!==r.getTextContentSize())&&e?L(this.getTag()):(0,o.lJ)(),l=this.getDirection();if(i.setDirection(l),this.insertAfter(i,t),0===n&&!this.isEmpty()&&e){let e=(0,o.lJ)();e.select(),this.replace(e,!0)}return i}collapseAtStart(){let e=this.isEmpty()?(0,o.lJ)():L(this.getTag());
12return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}extractWithChild(){return!0}}function M(e){return"span"===e.nodeName.toLowerCase()&&"26pt"===e.style.fontSize}function P(e){let t=e.nodeName.toLowerCase(),n=null;return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t||(n=L(t),null!==e.style&&n.setFormat(e.style.textAlign)),{node:n}}function N(e){let t=T();return null!==e.style&&t.setFormat(e.style.textAlign),{node:t}}function L(e){return(0,o.pT)(new I(e))}function D(e){return e instanceof I}function R(e){let t=null;if((0,a.xj)(e,DragEvent)?t=e.dataTransfer:(0,a.xj)(e,ClipboardEvent)&&(t=e.clipboardData),null===t)return[!1,[],!1];let n=t.types,r=n.includes("Files"),i=n.includes("text/html")||n.includes("text/plain");return[r,Array.from(t.files),i]}function F(e){let t=(0,o.vJ)();if(!(0,o.I2)(t))return!1;let n=new Set,r=t.getNodes();for(let t=0;t<r.length;t++){let i=r[t],l=i.getKey();if(n.has(l))continue;let s=(0,a.Bt)(i,e=>(0,o.ff)(e)&&!e.isInline());if(null===s)continue;let u=s.getKey();s.canIndent()&&!n.has(u)&&(n.add(u),e(s))}return n.size>0}function O(e){let t=(0,o.xL)(e);return(0,o.Cy)(t)}function V(e){return(0,a.Sd)(e.registerCommand(o.d8,e=>{let t=(0,o.vJ)();return!!(0,o.RT)(t)&&(t.clear(),!0)},0),e.registerCommand(o.Wu,e=>{let t=(0,o.vJ)();return!!(0,o.I2)(t)&&(t.deleteCharacter(e),!0)},o.jZ),e.registerCommand(o.hi,e=>{let t=(0,o.vJ)();return!!(0,o.I2)(t)&&(t.deleteWord(e),!0)},o.jZ),e.registerCommand(o.vi,e=>{let t=(0,o.vJ)();return!!(0,o.I2)(t)&&(t.deleteLine(e),!0)},o.jZ),e.registerCommand(o.bM,t=>{let n=(0,o.vJ)();if("string"==typeof t)null!==n&&n.insertText(t);else{if(null===n)return!1;let r=t.dataTransfer;if(null!=r)d(r,n,e);else if((0,o.I2)(n)){let e=t.data;return e&&n.insertText(e),!0}}return!0},o.jZ),e.registerCommand(o.$e,()=>{let e=(0,o.vJ)();return!!(0,o.I2)(e)&&(e.removeText(),!0)},o.jZ),e.registerCommand(o.mB,e=>{let t=(0,o.vJ)();return!!(0,o.I2)(t)&&(t.formatText(e),!0)},o.jZ),e.registerCommand(o.fU,e=>{let t=(0,o.vJ)();if(!(0,o.I2)(t)&&!(0,o.RT)(t))return!1;for(let n of t.getNodes()){let t=(0,a.Bt)(n,e=>(0,o.ff)(e)&&!e.isInline());null!==t&&t.setFormat(e)}return!0},o.jZ),e.registerCommand(o.FE,e=>{let t=(0,o.vJ)();return!!(0,o.I2)(t)&&(t.insertLineBreak(e),!0)},o.jZ),e.registerCommand(o.XK,()=>{let e=(0,o.vJ)();return!!(0,o.I2)(e)&&(e.insertParagraph(),!0)},o.jZ),e.registerCommand(o.YW,()=>((0,o.H2)([(0,o.ev)()]),!0),o.jZ),e.registerCommand(o.Pi,()=>F(e=>{let t=e.getIndent();e.setIndent(t+1)}),o.jZ),e.registerCommand(o.si,()=>F(e=>{let t=e.getIndent();t>0&&e.setIndent(t-1)}),o.jZ),e.registerCommand(o.UD,e=>{let t=(0,o.vJ)();if((0,o.RT)(t)&&!O(e.target)){let e=t.getNodes();if(e.length>0)return e[0].selectPrevious(),!0}else if((0,o.I2)(t)){let n=(0,o.B$)(t.focus,!0);if(!e.shiftKey&&(0,o.Cy)(n)&&!n.isIsolated()&&!n.isInline())return n.selectPrevious(),e.preventDefault(),!0}return!1},o.jZ),e.registerCommand(o.bb,e=>{let t=(0,o.vJ)();if((0,o.RT)(t)){let e=t.getNodes();if(e.length>0)return e[0].selectNext(0,0),!0}else if((0,o.I2)(t)){let n;if("root"===(n=t.focus).key&&n.offset===(0,o.Ni)().getChildrenSize())return e.preventDefault(),!0;let r=(0,o.B$)(t.focus,!1);if(!e.shiftKey&&(0,o.Cy)(r)&&!r.isIsolated()&&!r.isInline())return r.selectNext(),e.preventDefault(),!0}return!1},o.jZ),e.registerCommand(o.AX,e=>{let t=(0,o.vJ)();if((0,o.RT)(t)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),n[0].selectPrevious(),!0}if(!(0,o.I2)(t))return!1;if((0,i.Cb)(t,!0)){let n=e.shiftKey;return e.preventDefault(),(0,i.Rk)(t,n,!0),!0}return!1},o.jZ),e.registerCommand(o.JM,e=>{let t=(0,o.vJ)();if((0,o.RT)(t)&&!O(e.target)){let n=t.getNodes();if(n.length>0)return e.preventDefault(),n[0].selectNext(0,0),!0}if(!(0,o.I2)(t))return!1;let n=e.shiftKey;return!!(0,i.Cb)(t,!1)&&(e.preventDefault(),(0,i.Rk)(t,n,!1),!0)},o.jZ),e.registerCommand(o.gC,t=>{if(O(t.target))return!1;let n=(0,o.vJ)();if(!(0,o.I2)(n))return!1;t.preventDefault();let{anchor:r}=n,i=r.getNode();return n.isCollapsed()&&0===r.offset&&!(0,o.hV)(i)&&(0,a.mB)(i).getIndent()>0?e.dispatchCommand(o.si,void 0):e.dispatchCommand(o.Wu,!0)},o.jZ),e.registerCommand(o.w$,t=>{if(O(t.target))return!1;let n=(0,o.vJ)();return!!(0,o.I2)(n)&&(t.preventDefault(),e.dispatchCommand(o.Wu,!1))},o.jZ),e.registerCommand(o.if,t=>{let n=(0,o.vJ)();if(!(0,o.I2)(n))return!1;if(null!==t){if((C||w||k)&&b)return!1;if(t.preventDefault(),t.shiftKey)return e.dispatchCommand(o.FE,!1)}return e.dispatchCommand(o.XK,void 0)},o.jZ),e.registerCommand(o.Q$,()=>{let t=(0,o.vJ)();return!!(0,o.I2)(t)&&(e.blur(),!0)},o.jZ),e.registerCommand(o.Sr,t=>{let[,n]=R(t);if(n.length>0){let r=v(t.clientX,t.clientY);if(null!==r){let{offset:t,node:i}=r,l=(0,o.xL)(i);if(null!==l){let e=(0,o.uT)();if((0,o.kF)(l))e.anchor.set(l.getKey(),t,"text"),e.focus.set(l.getKey(),t,"text");else{let t=l.getParentOrThrow().getKey(),n=l.getIndexWithinParent()+1;e.anchor.set(t,n,"element"),e.focus.set(t,n,"element")}let n=(0,o.C)(e);(0,o.n1)(n)}e.dispatchCommand(E,n)}return t.preventDefault(),!0}let r=(0,o.vJ)();return!!(0,o.I2)(r)},o.jZ),e.registerCommand(o.Tg,e=>{let[t]=R(e),n=(0,o.vJ)();return!(t&&!(0,o.I2)(n))},o.jZ),e.registerCommand(o.ri,e=>{let[t]=R(e),n=(0,o.vJ)();if(t&&!(0,o.I2)(n))return!1;let r=v(e.clientX,e.clientY);
12if(null!==r){let t=(0,o.xL)(r.node);(0,o.Cy)(t)&&e.preventDefault()}return!0},o.jZ),e.registerCommand(o.HY,()=>((0,o.e1)(),!0),o.jZ),e.registerCommand(o.u5,t=>(p(e,(0,a.xj)(t,ClipboardEvent)?t:null),!0),o.jZ),e.registerCommand(o.VS,t=>((async function(e,t){await p(t,(0,a.xj)(e,ClipboardEvent)?e:null),t.update(()=>{let e=(0,o.vJ)();(0,o.I2)(e)?e.removeText():(0,o.RT)(e)&&e.getNodes().forEach(e=>e.remove())})})(t,e),!0),o.jZ),e.registerCommand(o.w,t=>{let[,n,r]=R(t);return n.length>0&&!r?(e.dispatchCommand(E,n),!0):!(0,o.Z$)(t.target)&&null!==(0,o.vJ)()&&(t.preventDefault(),e.update(()=>{let n=(0,o.vJ)(),r=(0,a.xj)(t,InputEvent)||(0,a.xj)(t,KeyboardEvent)?null:t.clipboardData;null!=r&&null!==n&&d(r,n,e)},{tag:"paste"}),!0)},o.jZ))}},88116:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,i=new Uint8Array(16);let o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var l=[],a=0;a<256;++a)l.push((a+256).toString(16).substr(1));let s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[e[t+0]]+l[e[t+1]]+l[e[t+2]]+l[e[t+3]]+"-"+l[e[t+4]]+l[e[t+5]]+"-"+l[e[t+6]]+l[e[t+7]]+"-"+l[e[t+8]]+l[e[t+9]]+"-"+l[e[t+10]]+l[e[t+11]]+l[e[t+12]]+l[e[t+13]]+l[e[t+14]]+l[e[t+15]]).toLowerCase();if(!("string"==typeof n&&o.test(n)))throw TypeError("Stringified UUID is invalid");return n},u=function(e,t,n){var o=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="u">typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"u">typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)})();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var l=0;l<16;++l)t[n+l]=o[l];return t}return s(o)}},88793:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(53239),i=n(80263);function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var l={error:null},a=function(e){function t(){for(var t,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state=l,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,o(t,e),t.getDerivedStateFromError=function(e){return{error:e}};var n=t.prototype;return n.reset=function(){this.setState(l)},n.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},n.componentDidUpdate=function(e,t){var n,r,i,o,l=this.state.error,a=this.props.resetKeys;null!==l&&null!==t.error&&(void 0===(i=e.resetKeys)&&(i=[]),void 0===(o=a)&&(o=[]),i.length!==o.length||i.some(function(e,t){return!Object.is(e,o[t])}))&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,a),this.reset())},n.render=function(){var e=this.state.error,t=this.props,n=t.fallbackRender,i=t.FallbackComponent,o=t.fallback;if(null!==e){var l={error:e,resetErrorBoundary:this.resetErrorBoundary};if(r.isValidElement(o))return o;if("function"==typeof n)return n(l);if(i)return r.createElement(i,l);throw Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(r.Component);function s({children:e,onError:t}){return(0,i.jsx)(a,{fallback:(0,i.jsx)("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:e})}},89026:(e,t,n)=>{"use strict";n.d(t,{G:()=>l});var r=n(49628),i=n(1723),o=n(53239);function l({delay:e,externalHistoryState:t}){let[n]=(0,r.DF)();return function(e,t,n=1e3){let r=(0,o.useMemo)(()=>t||(0,i.h)(),[t]);(0,o.useEffect)(()=>(0,i._)(e,r,n),[n,e,r])}(n,t,e),null}},89520:(e,t,n)=>{"use strict";n.d(t,{W:()=>s});var r=n(67889),i=n(49628),o=n(35588),l=n(29641),a=n(53239);function s({validateUrl:e}){let[t]=(0,i.DF)();return(0,a.useEffect)(()=>
12{if(!t.hasNodes([r.Db]))throw Error("LinkPlugin: LinkNode not registered on editor");return(0,o.Sd)(t.registerCommand(r.yW,t=>{if(null===t)return(0,r.hx)(t),!0;if("string"==typeof t)return!(void 0!==e&&!e(t))&&((0,r.hx)(t),!0);{let{url:e,target:n,rel:i,title:o}=t;return(0,r.hx)(e,{rel:i,target:n,title:o}),!0}},l.Ac),void 0!==e?t.registerCommand(l.w,n=>{let i=(0,l.vJ)();if(!(0,l.I2)(i)||i.isCollapsed()||!(0,o.xj)(n,ClipboardEvent)||null===n.clipboardData)return!1;let a=n.clipboardData.getData("text");return!!e(a)&&!i.getNodes().some(e=>(0,l.ff)(e))&&(t.dispatchCommand(r.yW,a),n.preventDefault(),!0)},l.Ac):()=>{})},[t,e]),null}},90362:(e,t,n)=>{var r=n(3733),i=n(33312);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},91173:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});let r=n(53239).useLayoutEffect},91247:(e,t,n)=>{"use strict";n.d(t,{eA:()=>$,gb:()=>U,d7:()=>J,Pi:()=>K,_s:()=>z,Sq:()=>H,Up:()=>W,Eg:()=>Z,gW:()=>q,ps:()=>G,NB:()=>j,jA:()=>V,Rm:()=>Y,mK:()=>B,iM:()=>L});var r,i,o=n(29641);n(72829),n(52869),n(46974),n(51349),n(95072),n(47194),n(61328),n(76537),n(5271),n(31712),n(4711),n(94383),n(13776),n(1526),n(68957),n(59194);var l=n(35588);"u">typeof globalThis||("u">typeof window?window:"u">typeof global?global:"u">typeof self&&self),(r=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(r,"default")&&r.default;let a=e=>{try{return!!e&&window.Prism.languages.hasOwnProperty(e)}catch(e){return!1}},s="data-language",u="data-highlight-language";class c extends o.fG{static getType(){return"code"}static clone(e){return new c(e.__language,e.__key)}constructor(e,t){super(t),this.__language=e,this.__isSyntaxHighlightSupported=a(e)}createDOM(e){let t=document.createElement("code");(0,l.ZB)(t,e.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();return n&&(t.setAttribute(s,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(u,n)),t}updateDOM(e,t,n){let r=this.__language,i=e.__language;return r?r!==i&&(t.setAttribute(s,r),this.__isSyntaxHighlightSupported&&t.setAttribute(u,r)):i&&(t.removeAttribute(s),e.__isSyntaxHighlightSupported&&t.removeAttribute(u)),!1}exportDOM(e){let t=document.createElement("pre");(0,l.ZB)(t,e._config.theme.code),t.setAttribute("spellcheck","false");let n=this.getLanguage();return n&&(t.setAttribute(s,n),this.getIsSyntaxHighlightSupported()&&t.setAttribute(u,n)),{element:t}}static importDOM(){return{code:e=>null!=e.textContent&&(/\r?\n/.test(e.textContent)||function e(t,n){for(let r of t.childNodes){if((0,o.sb)(r)&&r.tagName===n)return!0;e(r,n)}return!1}(e,"BR"))?{conversion:f,priority:1}:null,div:()=>({conversion:p,priority:1}),pre:()=>({conversion:f,priority:0}),table:e=>y(e)?{conversion:g,priority:3}:null,td:e=>{let t=e.closest("table");return e.classList.contains("js-file-line")||t&&y(t)?{conversion:m,priority:3}:null},tr:e=>{let t=e.closest("table");return t&&y(t)?{conversion:m,priority:3}:null}}}static importJSON(e){let t=d(e.language);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{...super.exportJSON(),language:this.getLanguage(),type:"code",version:1}}insertNewAfter(e,t=!0){let n=this.getChildren(),r=n.length;if(r>=2&&"\n"===n[r-1].getTextContent()&&"\n"===n[r-2].getTextContent()&&e.isCollapsed()&&e.anchor.key===this.__key&&e.anchor.offset===r){n[r-1].remove(),n[r-2].remove();let e=(0,o.lJ)();return this.insertAfter(e,t),e}let{anchor:i,focus:l}=e,a=(i.isBefore(l)?i:l).getNode();if((0,o.kF)(a)){let e=function(e){let t=e,n=e;for(;C(n)||(0,o.MK)(n);)t=n,n=n.getPreviousSibling();return t}(a),t=[];for(;;)if((0,o.MK)(e))t.push((0,o.ev)()),e=e.getNextSibling();else{if(!C(e))break;{let n=0,r=e.getTextContent(),i=e.getTextContentSize();for(;n<i&&" "===r[n];)n++;if(0!==n&&t.push(w(" ".repeat(n))),n!==i)break;e=e.getNextSibling()}}let n=a.splitText(i.offset)[0],r=+(0!==i.offset),l=n.getIndexWithinParent()+r,s=a.getParentOrThrow(),u=[(0,o.WK)(),...t];s.splice(l,0,u);let c=t[t.length-1];c?c.select():0===i.offset?n.selectPrevious():n.getNextSibling().selectNext(0,0)}if(h(a)){let{offset:t}=e.anchor;a.splice(t,0,[(0,o.WK)()]),a.select(t+1,t+1)}return null}canIndent(){return!1}collapseAtStart(){let e=(0,o.lJ)();
12return this.getChildren().forEach(t=>e.append(t)),this.replace(e),!0}setLanguage(e){let t=this.getWritable();t.__language=e,t.__isSyntaxHighlightSupported=a(e)}getLanguage(){return this.getLatest().__language}getIsSyntaxHighlightSupported(){return this.getLatest().__isSyntaxHighlightSupported}}function d(e){return(0,o.pT)(new c(e))}function h(e){return e instanceof c}function f(e){return{node:d(e.getAttribute(s))}}function p(e){let t=v(e);return t||function(e){let t=e.parentElement;for(;null!==t;){if(v(t))return!0;t=t.parentElement}return!1}(e)?{node:t?d():null}:{node:null}}function g(){return{node:d()}}function m(){return{node:null}}function v(e){return null!==e.style.fontFamily.match("monospace")}function y(e){return e.classList.contains("js-file-line-container")}class x extends o.Ey{constructor(e,t,n){super(e,n),this.__highlightType=t}static getType(){return"code-highlight"}static clone(e){return new x(e.__text,e.__highlightType||void 0,e.__key)}getHighlightType(){return this.getLatest().__highlightType}canHaveFormat(){return!1}createDOM(e){let t=super.createDOM(e),n=b(e.theme,this.__highlightType);return(0,l.ZB)(t,n),t}updateDOM(e,t,n){let r=super.updateDOM(e,t,n),i=b(n.theme,e.__highlightType),o=b(n.theme,this.__highlightType);return i!==o&&(i&&(0,l.HE)(t,i),o&&(0,l.ZB)(t,o)),r}static importJSON(e){let t=w(e.text,e.highlightType);return t.setFormat(e.format),t.setDetail(e.detail),t.setMode(e.mode),t.setStyle(e.style),t}exportJSON(){return{...super.exportJSON(),highlightType:this.getHighlightType(),type:"code-highlight",version:1}}setFormat(e){return this}isParentRequired(){return!0}createParentElementNode(){return d()}}function b(e,t){return t&&e&&e.codeHighlight&&e.codeHighlight[t]}function w(e,t){return(0,o.pT)(new x(e,t))}function C(e){return e instanceof x}var _=n(84005),k=n(88042),E=n(67889);function S(e,t){let n={};for(let r of e){let e=t(r);n[e]?n[e].push(r):n[e]=[r]}return n}let T=/[!-/:-@[-`{-~\s]/,A="u">typeof window&&void 0!==window.document&&void 0!==window.document.createElement,I=A&&"documentMode"in document?document.documentMode:null;A&&"InputEvent"in window&&!I&&new window.InputEvent("input"),A&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),A&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,A&&/^(?=.*Chrome).*/i.test(navigator.userAgent),A&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent);var M=(i=function(e){let t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}).__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i;function P(e,t,n){let r=n.length;for(let i=t;i>=r;i--){let t=i-r;if(N(e,t,n,0,r)&&" "!==e[t+r])return t}return -1}function N(e,t,n,r,i){for(let o=0;o<i;o++)if(e[t+o]!==n[r+o])return!1;return!0}function L(e,t=Y){let n,r={element:(n=S(t,e=>e.type)).element||[],textFormat:n["text-format"]||[],textMatch:n["text-match"]||[]},i=S(r.textFormat,({tag:e})=>e[e.length-1]),l=S(r.textMatch,({trigger:e})=>e);for(let n of t){let t=n.type;if("element"===t||"text-match"===t)for(let t of n.dependencies)e.hasNode(t)||M(173,t.getType())}return e.registerUpdateListener(({tags:t,dirtyLeaves:n,editorState:a,prevEditorState:s})=>{if(t.has("collaboration")||t.has("historic")||e.isComposing())return;let u=a.read(o.vJ),c=s.read(o.vJ);if(!(0,o.I2)(c)||!(0,o.I2)(u)||!u.isCollapsed())return;let d=u.anchor.key,f=u.anchor.offset,p=a._nodeMap.get(d);(0,o.kF)(p)&&n.has(d)&&(1===f||!(f>c.anchor.offset+1))&&e.update(()=>{var e;if(p.hasFormat("code"))return;let t=p.getParent();null===t||h(t)||function(e,t,n,r){let i=e.getParent();if(!(0,o.Iq)(i)||e.getFirstChild()!==t)return!1;let l=t.getTextContent();if(" "!==l[n-1])return!1;for(let{regExp:i,replace:o}of r){let r=l.match(i);if(r&&r[0].length===n){let i=t.getNextSiblings(),[l,a]=t.splitText(n);return l.remove(),o(e,a?[a,...i]:i,r,!1),!0}}return!1}(t,p,e=u.anchor.offset,r.element)||function(e,t,n){let r=e.getTextContent(),i=n[r[t-1]];if(null==i)return!1;for(let n of(t<r.length&&(r=r.slice(0,t)),i)){let t,i=r.match(n.regExp);if(null===i)continue;let o=i.index||0,l=o+i[0].length;return 0===o?[t]=e.splitText(l):[,t]=e.splitText(o,l),t.selectNext(0,0),n.replace(t,i),!0}return!1}(p,e,l)||function(e,t,n){let r=e.getTextContent(),i=t-1,l=r[i],a=n[l];if(a)for(let t of a){let{tag:n}=t,a=n.length,s=i-a+1;if(a>1&&!N(r,s,n,0,a)||" "===r[s-1])continue;let u=r[i+1];if(!1===t.intraword&&u&&!T.test(u))continue;let c=e,d=P(r,s,n),h=c;for(;d<0&&(h=h.getPreviousSibling())&&!(0,o.wH)(h);)if((0,o.kF)(h)){let e=h.getTextContent();c=h,d=P(e,e.length,n)}if(d<0||c===e&&d+a===s)continue;let f=c.getTextContent();if(d>0&&f[d-1]===l)continue;let p=f[d-1];if(!1===t.intraword&&p&&!T.test(p))continue;let g=e.getTextContent(),m=g.slice(0,s)+g.slice(i+1);e.setTextContent(m);let v=c===e?m:f;c.setTextContent(v.slice(0,d)+v.slice(d+a));let y=(0,o.vJ)(),x=(0,o.uT)();(0,o.n1)(x);let b=i-a*(c===e?2:1)+1;for(let n of(x.anchor.set(c.__key,d,"text"),x.focus.set(e.__key,b,"text"),t.format))x.hasFormat(n)||x.formatText(n);for(let e of(x.anchor.set(x.focus.key,x.focus.offset,x.focus.type),t.format))x.hasFormat(e)&&x.toggleFormat(e);return(0,o.I2)(y)&&(x.format=y.format),!0}}(p,e,i)})})}let D=e=>(t,n,r)=>{let i=e(r);i.append(...n),t.replace(i),i.select(0,0)},R=e=>(t,n,r)=>{var i;let o,l,a,s=t.getPreviousSibling(),u=t.getNextSibling(),c=(0,_.i)("check"===e?"x"===r[3]:void 0);if((0,_.HY)(u)&&u.getListType()===e){let e=u.getFirstChild();null!==e?e.insertBefore(c):u.append(c),t.remove()}else if((0,_.HY)(s)&&s.getListType()===e)s.append(c),t.remove();else{let n=(0,_.DE)(e,"number"===e?Number(r[2]):void 0);n.append(c),t.replace(n)}c.append(...n),c.select(0,0);let d=(o=(i=r[1]).match(/\t/g),l=i.match(/ /g),a=0,o&&(a+=o.length),l&&(a+=Math.floor(l.length/4)),a);d&&c.setIndent(d)},F=(e,t,n)=>{let r=[],i=e.getChildren(),o=0;for(let l of i)if((0,_.Mz)(l)){if(1===l.getChildrenSize()){let e=l.getFirstChild();if((0,_.HY)(e)){r.push(F(e,t,n+1));continue}}let i=" ".repeat(4*n),a=e.getListType(),s="number"===a?`${e.getStart()+o}. `:"check"===a?`- [${l.getChecked()?"x":" "}] `:"- ";r.push(i+s+t(l)),o++}return r.join("\n")},O={dependencies:[k.jL],export:(e,t)=>{if(!(0,k.Pi)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:/^(#{1,6})\s/,replace:D(e=>{let t="h"+e[1].length;return(0,k.fi)(t)}),type:"element"}
12,V={dependencies:[k.dJ],export:(e,t)=>{if(!(0,k.jd)(e))return null;let n=t(e).split("\n"),r=[];for(let e of n)r.push("> "+e);return r.join("\n")},regExp:/^>\s/,replace:(e,t,n,r)=>{if(r){let n=e.getPreviousSibling();if((0,k.jd)(n))return n.splice(n.getChildrenSize(),0,[(0,o.WK)(),...t]),n.select(0,0),void e.remove()}let i=(0,k.xi)();i.append(...t),e.replace(i),i.select(0,0)},type:"element"},H={dependencies:[c],export:e=>{if(!h(e))return null;let t=e.getTextContent();return"```"+(e.getLanguage()||"")+(t?"\n"+t:"")+"\n```"},regExp:/^[ \t]*```(\w{1,10})?\s/,replace:D(e=>d(e?e[1]:void 0)),type:"element"},B={dependencies:[_.v5,_.YW],export:(e,t)=>(0,_.HY)(e)?F(e,t,0):null,regExp:/^(\s*)[-*+]\s/,replace:R("bullet"),type:"element"},z={dependencies:[_.v5,_.YW],export:(e,t)=>(0,_.HY)(e)?F(e,t,0):null,regExp:/^(\s*)(?:-\s)?\s?(\[(\s|x)?\])\s/i,replace:R("check"),type:"element"},j={dependencies:[_.v5,_.YW],export:(e,t)=>(0,_.HY)(e)?F(e,t,0):null,regExp:/^(\s*)(\d{1,})\.\s/,replace:R("number"),type:"element"},W={format:["code"],tag:"`",type:"text-format"},$={format:["bold","italic"],tag:"***",type:"text-format"},U={format:["bold","italic"],intraword:!1,tag:"___",type:"text-format"},J={format:["bold"],tag:"**",type:"text-format"},K={format:["bold"],intraword:!1,tag:"__",type:"text-format"},Z={format:["italic"],tag:"*",type:"text-format"},q={format:["italic"],intraword:!1,tag:"_",type:"text-format"},G={dependencies:[E.Db],export:(e,t,n)=>{if(!(0,E.FJ)(e))return null;let r=e.getTitle(),i=r?`[${e.getTextContent()}](${e.getURL()} "${r}")`:`[${e.getTextContent()}](${e.getURL()})`,l=e.getFirstChild();return 1===e.getChildrenSize()&&(0,o.kF)(l)?n(l,i):i},importRegExp:/(?:\[([^[]+)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))/,regExp:/(?:\[([^[]+)\])(?:\((?:([^()\s]+)(?:\s"((?:[^"]*\\")*[^"]*)"\s*)?)\))$/,replace:(e,t)=>{let[,n,r,i]=t,l=(0,E.zA)(r,{title:i}),a=(0,o.sT)(n);a.setFormat(e.getFormat()),l.append(a),e.replace(l)},trigger:")",type:"text-match"},Y=[O,V,H,B,j,W,$,U,J,K,{format:["highlight"],tag:"==",type:"text-format"},Z,q,{format:["strikethrough"],tag:"~~",type:"text-format"},G]},91284:(e,t,n)=>{"use strict";n.d(t,{uB:()=>M});var r=/[\\\/_+.#"@\[\(\{&]/,i=/[\\\/_+.#"@\[\(\{&]/g,o=/[\s-]/,l=/[\s-]/g;function a(e){return e.toLowerCase().replace(l," ")}var s=n(78286),u=n(53239),c=n(61559),d=n(27459),h=n(82850),f='[cmdk-group=""]',p='[cmdk-group-items=""]',g='[cmdk-item=""]',m=`${g}:not([aria-disabled="true"])`,v="cmdk-item-select",y="data-value",x=(e,t,n)=>{var s;return s=e,function e(t,n,a,s,u,c,d){if(c===n.length)return u===t.length?1:.99;var h=`${u},${c}`;if(void 0!==d[h])return d[h];for(var f,p,g,m,v=s.charAt(c),y=a.indexOf(v,u),x=0;y>=0;)(f=e(t,n,a,s,y+1,c+1,d))>x&&(y===u?f*=1:r.test(t.charAt(y-1))?(f*=.8,(g=t.slice(u,y-1).match(i))&&u>0&&(f*=Math.pow(.999,g.length))):o.test(t.charAt(y-1))?(f*=.9,(m=t.slice(u,y-1).match(l))&&u>0&&(f*=Math.pow(.999,m.length))):(f*=.17,u>0&&(f*=Math.pow(.999,y-u))),t.charAt(y)!==n.charAt(c)&&(f*=.9999)),(f<.1&&a.charAt(y-1)===s.charAt(c+1)||s.charAt(c+1)===s.charAt(c)&&a.charAt(y-1)!==s.charAt(c))&&.1*(p=e(t,n,a,s,y+1,c+2,d))>f&&(f=.1*p),f>x&&(x=f),y=a.indexOf(v,y+1);return d[h]=x,x}(s=n&&n.length>0?`${s+" "+n.join(" ")}`:s,t,a(s),a(t),0,0,{})},b=u.createContext(void 0),w=u.createContext(void 0),C=u.createContext(void 0),_=u.forwardRef((e,t)=>{let n=L(()=>{var t,n;return{search:"",value:null!=(n=null!=(t=e.value)?t:e.defaultValue)?n:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=L(()=>new Set),i=L(()=>new Map),o=L(()=>new Map),l=L(()=>new Set),a=P(e),{label:s,children:h,value:C,onValueChange:_,filter:k,shouldFilter:E,loop:S,disablePointerSelection:T=!1,vimBindings:A=!0,...I}=e,M=(0,d.B)(),D=(0,d.B)(),R=(0,d.B)(),H=u.useRef(null),B=F();N(()=>{if(void 0!==C){let e=C.trim();n.current.value=e,z.emit()}},[C]),N(()=>{B(6,K)},[]);let z=u.useMemo(()=>({subscribe:e=>(l.current.add(e),()=>l.current.delete(e)),snapshot:()=>n.current,setState:(e,t,r)=>{var i,o,l,s;if(!Object.is(n.current[e],t)){if(n.current[e]=t,"search"===e)J(),$(),B(1,U);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(R);e?e.focus():null==(i=document.getElementById(M))||i.focus()}
12if(B(7,()=>{var e;n.current.selectedItemId=null==(e=Z())?void 0:e.id,z.emit()}),r||B(5,K),(null==(o=a.current)?void 0:o.value)!==void 0){null==(s=(l=a.current).onValueChange)||s.call(l,null!=t?t:"");return}}z.emit()}},emit:()=>{l.current.forEach(e=>e())}}),[]),j=u.useMemo(()=>({value:(e,t,r)=>{var i;t!==(null==(i=o.current.get(e))?void 0:i.value)&&(o.current.set(e,{value:t,keywords:r}),n.current.filtered.items.set(e,W(t,r)),B(2,()=>{$(),z.emit()}))},item:(e,t)=>(r.current.add(e),t&&(i.current.has(t)?i.current.get(t).add(e):i.current.set(t,new Set([e]))),B(3,()=>{J(),$(),n.current.value||U(),z.emit()}),()=>{o.current.delete(e),r.current.delete(e),n.current.filtered.items.delete(e);let t=Z();B(4,()=>{J(),(null==t?void 0:t.getAttribute("id"))===e&&U(),z.emit()})}),group:e=>(i.current.has(e)||i.current.set(e,new Set),()=>{o.current.delete(e),i.current.delete(e)}),filter:()=>a.current.shouldFilter,label:s||e["aria-label"],getDisablePointerSelection:()=>a.current.disablePointerSelection,listId:M,inputId:R,labelId:D,listInnerRef:H}),[]);function W(e,t){var r,i;let o=null!=(i=null==(r=a.current)?void 0:r.filter)?i:x;return e?o(e,n.current.search,t):0}function $(){if(!n.current.search||!1===a.current.shouldFilter)return;let e=n.current.filtered.items,t=[];n.current.filtered.groups.forEach(n=>{let r=i.current.get(n),o=0;r.forEach(t=>{o=Math.max(e.get(t),o)}),t.push([n,o])});let r=H.current;q().sort((t,n)=>{var r,i;let o=t.getAttribute("id"),l=n.getAttribute("id");return(null!=(r=e.get(l))?r:0)-(null!=(i=e.get(o))?i:0)}).forEach(e=>{let t=e.closest(p);t?t.appendChild(e.parentElement===t?e:e.closest(`${p} > *`)):r.appendChild(e.parentElement===r?e:e.closest(`${p} > *`))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let n=null==(t=H.current)?void 0:t.querySelector(`${f}[${y}="${encodeURIComponent(e[0])}"]`);null==n||n.parentElement.appendChild(n)})}function U(){let e=q().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(y);z.setState("value",t||void 0)}function J(){var e,t,l,s;if(!n.current.search||!1===a.current.shouldFilter){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let u=0;for(let i of r.current){let r=W(null!=(t=null==(e=o.current.get(i))?void 0:e.value)?t:"",null!=(s=null==(l=o.current.get(i))?void 0:l.keywords)?s:[]);n.current.filtered.items.set(i,r),r>0&&u++}for(let[e,t]of i.current)for(let r of t)if(n.current.filtered.items.get(r)>0){n.current.filtered.groups.add(e);break}n.current.filtered.count=u}function K(){var e,t,n;let r=Z();r&&((null==(e=r.parentElement)?void 0:e.firstChild)===r&&(null==(n=null==(t=r.closest(f))?void 0:t.querySelector('[cmdk-group-heading=""]'))||n.scrollIntoView({block:"nearest"})),r.scrollIntoView({block:"nearest"}))}function Z(){var e;return null==(e=H.current)?void 0:e.querySelector(`${g}[aria-selected="true"]`)}function q(){var e;return Array.from((null==(e=H.current)?void 0:e.querySelectorAll(m))||[])}function G(e){let t=q()[e];t&&z.setState("value",t.getAttribute(y))}function Y(e){var t;let n=Z(),r=q(),i=r.findIndex(e=>e===n),o=r[i+e];null!=(t=a.current)&&t.loop&&(o=i+e<0?r[r.length-1]:i+e===r.length?r[0]:r[i+e]),o&&z.setState("value",o.getAttribute(y))}function X(e){let t=Z(),n=null==t?void 0:t.closest(f),r;for(;n&&!r;)r=null==(n=e>0?function(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}(n,f):function(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}(n,f))?void 0:n.querySelector(m);r?z.setState("value",r.getAttribute(y)):Y(e)}let Q=()=>G(q().length-1),ee=e=>{e.preventDefault(),e.metaKey?Q():e.altKey?X(1):Y(1)},et=e=>{e.preventDefault(),e.metaKey?G(0):e.altKey?X(-1):Y(-1)};return u.createElement(c.sG.div,{ref:t,tabIndex:-1,...I,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=I.onKeyDown)||t.call(I,e);let n=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||n))switch(e.key){case"n":case"j":A&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":A&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),G(0);break;case"End":e.preventDefault(),Q();break;case"Enter":{e.preventDefault();let t=Z();if(t){let e=new Event(v);t.dispatchEvent(e)}}}}},u.createElement("label",{"cmdk-label":"",htmlFor:j.inputId,id:j.labelId,style:V},s),O(e,e=>u.createElement(w.Provider,{value:z},u.createElement(b.Provider,{value:j},e))))}),k=u.forwardRef((e,t)=>
12{var n,r;let i=(0,d.B)(),o=u.useRef(null),l=u.useContext(C),a=u.useContext(b),s=P(e),f=null!=(r=null==(n=s.current)?void 0:n.forceMount)?r:null==l?void 0:l.forceMount;N(()=>{if(!f)return a.item(i,null==l?void 0:l.id)},[f]);let p=R(i,o,[e.value,e.children,o],e.keywords),g=u.useContext(w),m=D(e=>e.value&&e.value===p.current),y=D(e=>!!f||!1===a.filter()||!e.search||e.filtered.items.get(i)>0);function x(){var e,t;_(),null==(t=(e=s.current).onSelect)||t.call(e,p.current)}function _(){g.setState("value",p.current,!0)}if(u.useEffect(()=>{let t=o.current;if(!(!t||e.disabled))return t.addEventListener(v,x),()=>t.removeEventListener(v,x)},[y,e.onSelect,e.disabled]),!y)return null;let{disabled:k,value:E,onSelect:S,forceMount:T,keywords:A,...I}=e;return u.createElement(c.sG.div,{ref:(0,h.t)(o,t),...I,id:i,"cmdk-item":"",role:"option","aria-disabled":!!k,"aria-selected":!!m,"data-disabled":!!k,"data-selected":!!m,onPointerMove:k||a.getDisablePointerSelection()?void 0:_,onClick:k?void 0:x},e.children)}),E=u.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...o}=e,l=(0,d.B)(),a=u.useRef(null),s=u.useRef(null),f=(0,d.B)(),p=u.useContext(b),g=D(e=>!!i||!1===p.filter()||!e.search||e.filtered.groups.has(l));N(()=>p.group(l),[]),R(l,a,[e.value,e.heading,s]);let m=u.useMemo(()=>({id:l,forceMount:i}),[i]);return u.createElement(c.sG.div,{ref:(0,h.t)(a,t),...o,"cmdk-group":"",role:"presentation",hidden:!g||void 0},n&&u.createElement("div",{ref:s,"cmdk-group-heading":"","aria-hidden":!0,id:f},n),O(e,e=>u.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":n?f:void 0},u.createElement(C.Provider,{value:m},e))))}),S=u.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=u.useRef(null),o=D(e=>!e.search);return n||o?u.createElement(c.sG.div,{ref:(0,h.t)(i,t),...r,"cmdk-separator":"",role:"separator"}):null}),T=u.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=null!=e.value,o=u.useContext(w),l=D(e=>e.search),a=D(e=>e.selectedItemId),s=u.useContext(b);return u.useEffect(()=>{null!=e.value&&o.setState("search",e.value)},[e.value]),u.createElement(c.sG.input,{ref:t,...r,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":s.listId,"aria-labelledby":s.labelId,"aria-activedescendant":a,id:s.inputId,type:"text",value:i?e.value:l,onChange:e=>{i||o.setState("search",e.target.value),null==n||n(e.target.value)}})}),A=u.forwardRef((e,t)=>{let{children:n,label:r="Suggestions",...i}=e,o=u.useRef(null),l=u.useRef(null),a=D(e=>e.selectedItemId),s=u.useContext(b);return u.useEffect(()=>{if(l.current&&o.current){let e=l.current,t=o.current,n,r=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{let n=e.offsetHeight;t.style.setProperty("--cmdk-list-height",n.toFixed(1)+"px")})});return r.observe(e),()=>{cancelAnimationFrame(n),r.unobserve(e)}}},[]),u.createElement(c.sG.div,{ref:(0,h.t)(o,t),...i,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":a,"aria-label":r,id:s.listId},O(e,e=>u.createElement("div",{ref:(0,h.t)(l,s.listInnerRef),"cmdk-list-sizer":""},e)))}),I=u.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:o,container:l,...a}=e;return u.createElement(s.bL,{open:n,onOpenChange:r},u.createElement(s.ZL,{container:l},u.createElement(s.hJ,{"cmdk-overlay":"",className:i}),u.createElement(s.UC,{"aria-label":e.label,"cmdk-dialog":"",className:o},u.createElement(_,{ref:t,...a}))))}),M=Object.assign(_,{List:A,Item:k,Input:T,Group:E,Separator:S,Dialog:I,Empty:u.forwardRef((e,t)=>D(e=>0===e.filtered.count)?u.createElement(c.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:u.forwardRef((e,t)=>{let{progress:n,children:r,label:i="Loading...",...o}=e;return u.createElement(c.sG.div,{ref:t,...o,"cmdk-loading":"",role:"progressbar","aria-valuenow":n,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},O(e,e=>u.createElement("div",{"aria-hidden":!0},e)))})});function P(e){let t=u.useRef(e);return N(()=>{t.current=e}),t}var N="u"<typeof window?u.useEffect:u.useLayoutEffect;function L(e){let t=u.useRef();return void 0===t.current&&(t.current=e()),t}function D(e){let t=u.useContext(w),n=()=>e(t.snapshot());return u.useSyncExternalStore(t.subscribe,n,n)}function R(e,t,n,r=[]){let i=u.useRef(),o=u.useContext(b);return N(()=>{var l;let a=(()=>{var e;
12for(let t of n){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():i.current}})(),s=r.map(e=>e.trim());o.value(e,a,s),null==(l=t.current)||l.setAttribute(y,a),i.current=a}),i}var F=()=>{let[e,t]=u.useState(),n=L(()=>new Map);return N(()=>{n.current.forEach(e=>e()),n.current=new Map},[e]),(e,r)=>{n.current.set(e,r),t({})}};function O({asChild:e,children:t},n){let r;return e&&u.isValidElement(t)?u.cloneElement("function"==typeof(r=t.type)?r(t.props):"render"in r?r.render(t.props):t,{ref:t.ref},n(t.props.children)):n(t)}var V={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},91987:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(53239);function i(e,t){let n=[...t||[]];return null==t&&"function"!=typeof e&&n.push(e),(0,r.useMemo)(()=>"function"==typeof e?e():e,n)}},92547:(e,t,n)=>{"use strict";n.d(t,{F:()=>f});var r=n(99739),i=n(36663),o=n(61383);function l(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}var a=n(22458),s=n(36485),u=n(58618),c=n(91789),d=n(84181),h=n(4632);function f(e){let t,n,f,p,g,m,v,y,x=(0,o.a)(e.start),b=(0,o.a)(e.end),w={},C=(0,h.V)(b,x);C&&(w.years=C);let _=(0,r.W)(x,{years:w.years}),k=(0,c.W)(b,_);k&&(w.months=k);let E=(0,r.W)(_,{months:w.months}),S=(t=(0,o.a)(b),f=l(t,n=(0,o.a)(E)),p=Math.abs((0,i.m)(t,n)),t.setDate(t.getDate()-f*p),g=Number(l(t,n)===-f),0==(m=f*(p-g))?0:m);S&&(w.days=S);let T=(0,r.W)(E,{days:w.days}),A=(v=(0,u.b)(b,T)/s.s0,(0,a.u)(void 0)(v));A&&(w.hours=A);let I=(0,r.W)(T,{hours:w.hours}),M=(y=(0,u.b)(b,I)/s.Cg,(0,a.u)(void 0)(y));M&&(w.minutes=M);let P=(0,r.W)(I,{minutes:w.minutes}),N=(0,d.O)(b,P);return N&&(w.seconds=N),w}},94185:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l,g:()=>a});var r=n(53239),i=n(14812),o=n(12896);function l(e){return function(t){return{init:n=>{var r;return null==(r=e.init)?void 0:r.call(e,n,t)},postInit:n=>{var r;return null==(r=e.postInit)?void 0:r.call(e,n,t)},update:n=>{var r;return null==(r=e.update)?void 0:r.call(e,n,t)}}}}function a({children:e,plugins:t}){let n=r.useMemo(()=>(0,o.Mi)(new i.Mx,e=>{var n,r;for(let r of t)null==(n=r.init)||n.call(r,e);for(let n of t)null==(r=n.postInit)||r.call(n,e)}),[]);return r.useEffect(()=>{var e;for(let r of t)null==(e=r.update)||e.call(r,n)}),r.createElement(i.Zb.Provider,{value:n},e)}},94383:()=>{for(var e=Prism,t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"}
12,constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string},94919:(e,t,n)=>{"use strict";n.d(t,{r:()=>k});var r=n(94185),i=n(91247),o=n(15793),l=n(88042),a=n(53239),s=n(14812),u=n(29641);let c={testLexicalNode:function(e){return e instanceof y},visitLexicalNode:({lexicalNode:e,actions:t})=>{t.addAndStepInto("code",{value:e.getCode(),lang:e.getLanguage(),meta:e.getMeta()})}},d={testNode:(e,{codeBlockEditorDescriptors:t})=>"code"===e.type&&void 0!==t.find(t=>t.match(e.lang,e.meta)),visitNode({mdastNode:e,actions:t}){t.addAndStepInto(C({code:e.value,language:e.lang,meta:e.meta}))}};var h=n(74008);let f=(0,s.fh)(""),p=(0,s.HN)(e=>{e.link(e.pipe(p,(0,s.EY)(f),(0,s.Tj)(([e,t])=>()=>C({language:t,...e}))),h.p3)});(0,h.w8)(h.Wd),(0,r.Z)({update(e,t){e.pub(f,(null==t?void 0:t.defaultCodeBlockLanguage)??"")},init(e,t){e.pubIn({[h.$0]:"codeblock",[h.Wd]:(null==t?void 0:t.codeBlockEditorDescriptors)??[],[h.R1]:d,[h.q]:y,[h.iI]:c})}});var g=n(12896),m=Object.defineProperty,v=(e,t,n)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?m(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,n};class y extends u.Kp{constructor(e,t,n,r){super(r),v(this,"__code"),v(this,"__meta"),v(this,"__language"),v(this,"__focusEmitter",function(){let e=g.lQ;return{publish:()=>{e()},subscribe:t=>{e=t}}}()),v(this,"setCode",e=>{e!==this.__code&&(this.getWritable().__code=e)}),v(this,"setMeta",e=>{e!==this.__meta&&(this.getWritable().__meta=e)}),v(this,"setLanguage",e=>{e!==this.__language&&(this.getWritable().__language=e)}),v(this,"select",()=>{this.__focusEmitter.publish()}),this.__code=e,this.__meta=n,this.__language=t}static getType(){return"codeblock"}static clone(e){return new y(e.__code,e.__language,e.__meta,e.__key)}static importJSON(e){let{code:t,meta:n,language:r}=e;return C({code:t,language:r,meta:n})}exportJSON(){return{code:this.getCode(),language:this.getLanguage(),meta:this.getMeta(),type:"codeblock",version:1}}createDOM(e){return document.createElement("div")}updateDOM(){return!1}getCode(){return this.__code}getMeta(){return this.__meta}getLanguage(){return this.__language}decorate(e){return a.createElement(w,{parentEditor:e,code:this.getCode(),meta:this.getMeta(),language:this.getLanguage(),codeBlockNode:this,nodeKey:this.getKey(),focusEmitter:this.__focusEmitter})}isInline(){return!1}}let x=a.createContext(null),b=({parentEditor:e,lexicalNode:t,children:n})=>{let r=a.useMemo(()=>({lexicalNode:t,parentEditor:e,setCode:n=>{e.update(()=>{t.setCode(n),setTimeout(()=>{e.dispatchCommand(h.Cc,void 0)},0)})},setLanguage:n=>{e.update(()=>{t.setLanguage(n)})},setMeta:n=>{e.update(()=>{t.setMeta(n)})}}),[t,e]);return a.createElement(x.Provider,{value:r},n)},w=e=>{let t=(0,s.X3)(h.Wd),n=(0,s.X3)(f),r=t.sort((e,t)=>t.priority-e.priority).find(t=>t.match(e.language||"",e.meta||""));if(r||(r=t.find(t=>t.match(n||"",e.meta||""))),!r)throw Error(`No CodeBlockEditor registered for language=${e.language} meta=${e.meta}`);let i=r.Editor,{codeBlockNode:o,parentEditor:l,...u}=e;return a.createElement(b,{parentEditor:e.parentEditor,lexicalNode:e.codeBlockNode},a.createElement(i,{...u}))};function C(e){let{code:t="",language:n="",meta:r=""}=e;return new y(t,n,r)}var _=n(15153);let k=(0,r.Z)({init(e){let t=e.getValue(h.TI),n=t.includes("headings")?e.getValue(_.OO):[],r=function(e,t){let n=[i.eA,i.gb,i.d7,i.Pi,i.Up,i.Eg,i.gW];if(e.includes("headings")){let e,r=Math.min(...t),i=Math.max(...t),o=RegExp(`^(#{${r},${i}})\\s`),a={dependencies:[l.jL],export:(e,t)=>{if(!(0,l.Pi)(e))return null;let n=Number(e.getTag().slice(1));return"#".repeat(n)+" "+t(e)},regExp:o,replace:(e=e=>{let t=`h${e[1].length}`;return(0,l.fi)(t)},(t,n,r)=>{let i=e(r);i.append(...n),t.replace(i),i.select(0,0)}),type:"element"};n.push(a)}if(e.includes("quote")&&n.push(i.jA),e.includes("link")&&n.push(i.ps),e.includes("lists")&&n.push(i.NB,i.mK,i._s),e.
12includes("codeblock")){let e={...i.Sq,dependencies:[y],replace:(e,t,n)=>{let r=C({code:"",language:n[1]??"",meta:""});e.replace(r),setTimeout(()=>{r.select()},80)}};n.push(e)}return n}(t,n);e.pubIn({[h.aC]:()=>a.createElement(o.E,{transformers:r}),[h.Id]:()=>a.createElement(o.E,{transformers:r})})}})},95072:()=>{!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var i=t[n];
12if("code"!==i.type){e(i.content);continue}var o=i.content[1],l=i.content[3];if(o&&l&&"code-language"===o.type&&"code-block"===l.type&&"string"==typeof o.content){var a=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase());l.alias?"string"==typeof l.alias?l.alias=[l.alias,s]:l.alias.push(s):l.alias=[s]}}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n,r="",i=0,o=t.classes.length;i<o;i++){var u=t.classes[i],c=/language-(.+)/.exec(u);if(c){r=c[1];break}}var d=e.languages[r];if(d){t.content=e.highlight((n=t.content.replace(l,"")).replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){if("#"===(t=t.toLowerCase())[0])return s("x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)));var n=a[t];return n||e}),d,r)}else if(r&&"none"!==r&&e.plugins.autoloader){var h="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=h,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(h);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))})}}});var l=RegExp(e.languages.markup.tag.pattern.source,"gi"),a={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism)},95142:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>K});var i=n(59868),o=n(75971),l=n(53239);n(63449);var a=n(40714),s=n(19085),u=n(10964),c=n(91971),d=n(57550),h=n(56499),f=n(79881),p=n(92235);function g(){if(r)return r;let e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),r="reverse",e.scrollLeft>0?r="default":(e.scrollLeft=1,0===e.scrollLeft&&(r="negative")),document.body.removeChild(e),r}function m(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var v=n(30064),y=n(44179),x=n(80263);let b=["onChange"],w={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var C=n(82899);let _=(0,C.A)((0,x.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),k=(0,C.A)((0,x.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");var E=n(61957),S=n(18003),T=n(28747);function A(e){return(0,T.Ay)("MuiTabScrollButton",e)}let I=(0,S.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),M=["className","slots","slotProps","direction","orientation","disabled"],P=(0,d.Ay)(E.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>(0,o.A)({width:40,flexShrink:0,opacity:.8,[`&.${I.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),N=l.forwardRef(function(e,t){var n,r;let l=(0,h.b)({props:e,name:"MuiTabScrollButton"}),{className:d,slots:f={},slotProps:p={},direction:g}=l,m=(0,i.A)(l,M),v=(0,u.I)(),y=(0,o.A)({isRtl:v},l),b=(e=>{let{classes:t,orientation:n,disabled:r}=e;return(0,s.A)({root:["root",n,r&&"disabled"]},A,t)})(y),w=null!=(n=f.StartScrollButtonIcon)?n:_,C=null!=(r=f.EndScrollButtonIcon)?r:k,E=(0,c.A)({elementType:w,externalSlotProps:p.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y}),S=(0,c.A)({elementType:C,externalSlotProps:p.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:y});return(0,x.jsx)(P,(0,o.A)({component:"div",className:(0,a.A)(b.root,d),ref:t,role:null,ownerState:y,tabIndex:null},m,{children:"left"===g?(0,x.jsx)(w,(0,o.A)({},E)):(0,x.jsx)(C,(0,o.A)({},S))}))});var L=n(20526);function D(e){return(0,T.Ay)("MuiTabs",e)}let R=(0,S.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
12indicator"]);var F=n(72306);let O=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],V=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,H=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,B=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}let t=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!t)return void i.focus();i=n(e,i)}},z=(0,d.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[{[`& .${R.scrollButtons}`]:t.scrollButtons},{[`& .${R.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>(0,o.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${R.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),j=(0,d.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>(0,o.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),W=(0,d.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>(0,o.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),$=(0,d.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>(0,o.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),U=(0,d.Ay)(function(e){let{onChange:t}=e,n=(0,i.A)(e,b),r=l.useRef(),a=l.useRef(null),s=()=>{r.current=a.current.offsetHeight-a.current.clientHeight};return(0,v.A)(()=>{let e=(0,p.A)(()=>{let e=r.current;s(),e!==r.current&&t(r.current)}),n=(0,y.A)(a.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),l.useEffect(()=>{s(),t(r.current)},[t]),(0,x.jsx)("div",(0,o.A)({style:w,ref:a},n))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),J={},K=l.forwardRef(function(e,t){let n,r,d=(0,h.b)({props:e,name:"MuiTabs"}),v=(0,f.A)(),b=(0,u.I)(),{"aria-label":w,"aria-labelledby":C,action:_,centered:k=!1,children:E,className:S,component:T="div",allowScrollButtonsMobile:A=!1,indicatorColor:I="primary",onChange:M,orientation:P="horizontal",ScrollButtonComponent:R=N,scrollButtons:K="auto",selectionFollowsFocus:Z,slots:q={},slotProps:G={},TabIndicatorProps:Y={},TabScrollButtonProps:X={},textColor:Q="primary",value:ee,variant:et="standard",visibleScrollbar:en=!1}=d,er=(0,i.A)(d,O),ei="scrollable"===et,eo="vertical"===P,el=eo?"scrollTop":"scrollLeft",ea=eo?"top":"left",es=eo?"bottom":"right",eu=eo?"clientHeight":"clientWidth",ec=eo?"height":"width",ed=(0,o.A)({},d,{component:T,allowScrollButtonsMobile:A,indicatorColor:I,orientation:P,vertical:eo,scrollButtons:K,textColor:Q,variant:et,visibleScrollbar:en,fixed:!ei,hideScrollbar:ei&&!en,scrollableX:ei&&!eo,scrollableY:ei&&eo,centered:k&&!ei,scrollButtonsHideMobile:!A}),eh=(e=>{let{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:l,scrollButtonsHideMobile:a,classes:u}=e;return(0,s.A)({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hide
12Scrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",l&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",a&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},D,u)})(ed),ef=(0,c.A)({elementType:q.StartScrollButtonIcon,externalSlotProps:G.startScrollButtonIcon,ownerState:ed}),ep=(0,c.A)({elementType:q.EndScrollButtonIcon,externalSlotProps:G.endScrollButtonIcon,ownerState:ed}),[eg,em]=l.useState(!1),[ev,ey]=l.useState(J),[ex,eb]=l.useState(!1),[ew,eC]=l.useState(!1),[e_,ek]=l.useState(!1),[eE,eS]=l.useState({overflow:"hidden",scrollbarWidth:0}),eT=new Map,eA=l.useRef(null),eI=l.useRef(null),eM=()=>{let e,t,n=eA.current;if(n){let t=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:function(e,t){let n=e.scrollLeft;if("rtl"!==t)return n;switch(g()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}(n,b?"rtl":"ltr"),scrollWidth:n.scrollWidth,top:t.top,bottom:t.bottom,left:t.left,right:t.right}}if(n&&!1!==ee){let e=eI.current.children;if(e.length>0){let n=e[eT.get(ee)];t=n?n.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},eP=(0,L.A)(()=>{let e,{tabsMeta:t,tabMeta:n}=eM(),r=0;if(eo)e="top",n&&t&&(r=n.top-t.top+t.scrollTop);else if(e=b?"right":"left",n&&t){let i=b?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;r=(b?-1:1)*(n[e]-t[e]+i)}let i={[e]:r,[ec]:n?n[ec]:0};if(isNaN(ev[e])||isNaN(ev[ec]))ey(i);else{let t=Math.abs(ev[e]-i[e]),n=Math.abs(ev[ec]-i[ec]);(t>=1||n>=1)&&ey(i)}}),eN=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},i=()=>{}){let{ease:o=m,duration:l=300}=r,a=null,s=t[e],u=!1,c=r=>{if(u)return void i(Error("Animation cancelled"));null===a&&(a=r);let d=Math.min(1,(r-a)/l);(t[e]=o(d)*(n-s)+s,d>=1)?requestAnimationFrame(()=>{i(null)}):requestAnimationFrame(c)};s===n?i(Error("Element already at target position")):requestAnimationFrame(c)}(el,eA.current,e,{duration:v.transitions.duration.standard}):eA.current[el]=e},eL=e=>{let t=eA.current[el];eo?t+=e:(t+=e*(b?-1:1),t*=b&&"reverse"===g()?-1:1),eN(t)},eD=()=>{let e=eA.current[eu],t=0,n=Array.from(eI.current.children);for(let r=0;r<n.length;r+=1){let i=n[r];if(t+i[eu]>e){0===r&&(t=e);break}t+=i[eu]}return t},eR=l.useCallback(e=>{eS({overflow:null,scrollbarWidth:e})},[]),eF=(0,L.A)(e=>{let{tabsMeta:t,tabMeta:n}=eM();n&&t&&(n[ea]<t[ea]?eN(t[el]+(n[ea]-t[ea]),{animation:e}):n[es]>t[es]&&eN(t[el]+(n[es]-t[es]),{animation:e}))}),eO=(0,L.A)(()=>{ei&&!1!==K&&ek(!e_)});l.useEffect(()=>{let e,t,n=(0,p.A)(()=>{eA.current&&eP()}),r=(0,y.A)(eA.current);return r.addEventListener("resize",n),"u">typeof ResizeObserver&&(e=new ResizeObserver(n),Array.from(eI.current.children).forEach(t=>{e.observe(t)})),"u">typeof MutationObserver&&(t=new MutationObserver(t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{var n;null==(n=e)||n.unobserve(t)}),t.addedNodes.forEach(t=>{var n;null==(n=e)||n.observe(t)})}),n(),eO()})).observe(eI.current,{childList:!0}),()=>{var i,o;n.clear(),r.removeEventListener("resize",n),null==(i=t)||i.disconnect(),null==(o=e)||o.disconnect()}},[eP,eO]),l.useEffect(()=>{let e=Array.from(eI.current.children),t=e.length;if("u">typeof IntersectionObserver&&t>0&&ei&&!1!==K){let n=e[0],r=e[t-1],i={root:eA.current,threshold:.99},o=new IntersectionObserver(e=>{eb(!e[0].isIntersecting)},i);o.observe(n);let l=new IntersectionObserver(e=>{eC(!e[0].isIntersecting)},i);return l.observe(r),()=>{o.disconnect(),l.disconnect()}}},[ei,K,e_,null==E?void 0:E.length]),l.useEffect(()=>{em(!0)},[]),l.useEffect(()=>{eP()}),l.useEffect(()=>{eF(J!==ev)},[eF,ev]),l.useImperativeHandle(_,()=>({updateIndicator:eP,updateScrollButtons:eO}),[eP,eO]);let eV=(0,x.jsx)($,(0,o.A)({},Y,{className:(0,a.A)(eh.indicator,Y.className),ownerState:ed,style:(0,o.A)({},ev,Y.style)})),eH=0,eB=l.Children.map(E,e=>{if(!l.isValidElement(e))return null;let t=void 0===e.props.value?eH:e.props.value;eT.set(t,eH);let n=t===ee;return eH+=1,l.cloneElement(e,(0,o.A)({fullWidth:"fullWidth"===et,indicator:n&&!eg&&eV,selected:n,selectionFollowsFocus:Z,onChange:M,textColor:Q,value:t},1!==eH||!1!==ee||e.props.tabIndex?{}:{tabIndex:0}))}),ez=((n={}).scrollbarSizeListener=ei?(0,x.jsx)(U,{onChange:eR,className:(0,a.A)(eh.scrollableX,eh.hideScrollbar)}):null,n.scrollButtonStart=(r=ei&&("auto"===K&&(ex||ew)||!0===K))?(0,x.jsx)(R,(0,o.A)({slots:{StartScrollButtonIcon:q.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ef},orientation:P,direction:b?"right":"left",onClick:()=>{eL(-1*eD())},disabled:!ex},X,{className:(0,a.A)(eh.scrollButtons,X.className)})):null,n.scrollButtonEnd=r?(0,x.jsx)(R,(0,o.A)({slots:{EndScrollButtonIcon:q.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ep},orientation:P,direction:b?"left":"right",onClick:()=>{eL(eD())},disabled:!ew},X,{className:(0,a.A)(eh.scrollButtons,X.className)})):null,n);return(0,x.jsxs)(z,(0,o.A)({className:(0,a.A)(eh.root,S),ownerState:ed,ref:t,as:T},er,{children:[ez.scrollButtonStart,ez.scrollbarSizeListener,(0,x.jsxs)(j,{className:eh.scroller,ownerState:ed,style:{overflow:eE.overflow,[eo?`margin${b?"Left":"Right"}`:"marginBottom"]:en?void 0:-eE.scrollbarWidth},ref:eA,children:[(0,x.jsx)(W,{"aria-label":w,"aria-labelledby":C,"aria-orientation":"vertical"===P?"vertical":null,className:eh.flexContainer,ownerState:ed,onKeyDown:e=>{let t=eI.current,n=(0,F.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===P?"ArrowLeft":"ArrowUp",i="horizontal"===P?"ArrowRight":"ArrowDown";switch("horizontal"===P&&b&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),B(t,n,H);break;case i:e.preventDefault(),B(t,n,V);break;case"Home":e.preventDefault(),B(t,null,V);break;case"End":e.preventDefault(),B(t,null,H)}},ref:eI,role:"tablist",children:eB}
12),eg&&eV]}),ez.scrollButtonEnd]}))})},95436:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},95457:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82899),i=n(80263);let o=(0,r.A)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"}),"Info")},96409:(e,t,n)=>{var r=n(31152),i=n(53418),o=n(4211),l=n(86176),a=n(51276),s=n(33312),u=n(79661),c=n(63570),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,v){var y=s(e),x=s(t),b=y?h:a(e),w=x?h:a(t);b=b==d?f:b,w=w==d?f:w;var C=b==f,_=w==f,k=b==w;if(k&&u(e)){if(!u(t))return!1;y=!0,C=!1}if(k&&!C)return v||(v=new r),y||c(e)?i(e,t,n,g,m,v):o(e,t,b,n,g,m,v);if(!(1&n)){var E=C&&p.call(e,"__wrapped__"),S=_&&p.call(t,"__wrapped__");if(E||S){var T=E?e.value():e,A=S?t.value():t;return v||(v=new r),m(T,A,n,g,v)}}return!!k&&(v||(v=new r),l(e,t,n,g,m,v))}},97043:(e,t,n)=>{"use strict";function r(e,t,n){let r=n.getRegistry(),i=r.addTarget(e,t);return[i,()=>r.removeTarget(i)]}function i(e,t,n){let r=n.getRegistry(),i=r.addSource(e,t);return[i,()=>r.removeSource(i)]}n.d(t,{V:()=>i,l:()=>r})},97315:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(79015),i=n(53239),o=n(73622);function l(){let{dragDropManager:e}=(0,i.useContext)(o.M);return(0,r.V)(null!=e,"Expected drag drop context"),e}},98198:(e,t,n)=>{var r=n(71057),i=n(16743),o=n(85892),l=n(53917),a=n(63232),s=n(10876),u=n(15267),c=n(84837),d=n(33312);e.exports=function(e,t,n){t=t.length?r(t,function(e){return d(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[c];var h=-1;return t=r(t,s(o)),a(l(e,function(e,n,i){return{criteria:r(t,function(t){return t(e)}),index:++h,value:e}}),function(e,t){return u(e,t,n)})}},98430:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(53239),i=n(45227),o=n(6137),l=n(14812),a=n(74008);let s=()=>{let e=(0,l.qM)(o.NN),t=(0,l.X3)(a.yr),n=(0,a.Bd)();return r.createElement(i.gx,{"aria-label":n("toolbar.link","Create link"),title:n("toolbar.link","Create link"),onClick:t=>{e()}},t("link"))}},99264:(e,t,n)=>{"use strict";n.d(t,{bL:()=>C,zi:()=>_});var r=n(53239),i=n(41375),o=n(82850),l=n(76200),a=n(3503),s=n(46707),u=n(44627),c=n(85417),d=n(80263),h="Switch",[f,p]=(0,l.A)(h),[g,m]=f(h),v=r.forwardRef((e,t)=>{let{__scopeSwitch:n,name:l,checked:s,defaultChecked:u,required:f,disabled:p,value:m="on",onCheckedChange:v,form:y,...x}=e,[C,_]=r.useState(null),k=(0,o.s)(t,e=>_(e)),E=r.useRef(!1),S=!C||y||!!C.closest("form"),[T,A]=(0,a.i)({prop:s,defaultProp:u??!1,onChange:v,caller:h});return(0,d.jsxs)(g,{scope:n,checked:T,disabled:p,children:[(0,d.jsx)(c.sG.button,{type:"button",role:"switch","aria-checked":T,"aria-required":f,"data-state":w(T),"data-disabled":p?"":void 0,disabled:p,value:m,...x,ref:k,onClick:(0,i.mK)(e.onClick,e=>{A(e=>!e),S&&(E.current=e.isPropagationStopped(),E.current||e.stopPropagation())})}),S&&(0,d.jsx)(b,{control:C,bubbles:!E.current,name:l,value:m,checked:T,required:f,disabled:p,form:y,style:{transform:"translateX(-100%)"}})]})});v.displayName=h;var y="SwitchThumb",x=r.forwardRef((e,t)=>{let{__scopeSwitch:n,...r}=e,i=m(y,n);return(0,d.jsx)(c.sG.span,{"data-state":w(i.checked),"data-disabled":i.disabled?"":void 0,...r,ref:t})});x.displayName=y;var b=r.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:i=!0,...l},a)=>{let c=r.useRef(null),h=(0,o.s)(c,a),f=(0,s.Z)(n),p=(0,u.X)(t);return r.useEffect(()=>{let e=c.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==n&&t){let r=new Event("click",{bubbles:i});t.call(e,n),e.dispatchEvent(r)}},[f,n,i]),(0,d.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...l,tabIndex:-1,ref:h,style:{...l.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function w(e){return e?"checked":"unchecked"}b.displayName="SwitchBubbleInput";var C=v,_=x},99650:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.