digi-mathchem-editor 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -298,4 +298,4 @@
298
298
  .ML__latex, .ML__content, .ML__container, .ML__virtual-keyboard-toggle { cursor: pointer !important; }
299
299
  `:""}
300
300
  ${Ae}
301
- `)}function qe(){document.querySelectorAll("math-field").forEach(ee)}let me=null;function Fe(){me||(qe(),me=new MutationObserver(l=>{var n,a,h;for(const o of l){if(o.type==="attributes"&&((n=o.target.tagName)==null?void 0:n.toLowerCase())==="math-field"){ee(o.target);continue}if(o.addedNodes)for(const c of o.addedNodes)c instanceof Element&&(((a=c.tagName)==null?void 0:a.toLowerCase())==="math-field"&&requestAnimationFrame(()=>ee(c)),(h=c.querySelectorAll)==null||h.call(c,"math-field").forEach(m=>requestAnimationFrame(()=>ee(m))))}}),me.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["read-only","readonly"]}))}const Ce=[{id:"All",name:"All"},{id:"Symbol",name:"Symbol",ranges:[[8704,8959],[9728,9983],[8592,8703],[9984,10175]]},{id:"Punctuation",name:"Punctuation",ranges:[[33,47],[58,64],[91,96],[123,126],[161,161],[171,171],[187,187],[191,191],[8208,8231],[8240,8286],[10088,10101],[10214,10223],[10627,10648],[11776,11903],[12288,12351],[65104,65135],[65281,65295],[65306,65312],[65339,65344],[65371,65381]]},{id:"Letter",name:"Letter",ranges:[[65,90],[97,122],[880,1023],[1024,1279]]},{id:"Mark",name:"Mark",ranges:[[169,169],[174,174],[8224,8231],[8240,8286],[8471,8471],[8482,8482],[9744,9746],[10003,10008],[10013,10017],[10018,10059],[10067,10074],[10081,10087],[10132,10174],[128500,128505]]},{id:"Number",name:"Number",ranges:[[48,57],[8304,8351],[8528,8591],[9312,9471],[10102,10131],[65296,65305],[120782,120831]]},{id:"Phonetic",name:"Phonetic",ranges:[[592,687],[688,767],[7424,7551],[7552,7615],[43824,43887]]},{id:"Other",name:"Other",ranges:[[8352,8399],[8448,8527],[8960,9215],[9472,9599],[9600,9631],[9632,9727],[10240,10495],[11008,11263]]}],Ze=(()=>{const l=[];return Ce.slice(1).forEach(n=>{n.ranges.forEach(a=>{for(let h=a[0];h<=a[1];h++){if(h>=127&&h<=159)continue;const o=String.fromCodePoint(h);new RegExp("\\p{C}","u").test(o)||l.push({code:h.toString(16).toUpperCase().padStart(4,"0"),char:o,category:n.id})}})}),l})();function Je({isOpen:l,onClose:n,onInsert:a,position:h}){const[o,c]=e.useState(""),[m,d]=e.useState("All");e.useEffect(()=>{l&&(c(""),d("All"))},[l]);const w=e.useMemo(()=>{let k=Ze;if(m!=="All"&&(k=k.filter(f=>f.category===m)),o.trim()){const f=o.trim().toUpperCase();k=k.filter(x=>x.code.includes(f))}return k},[m,o]),A=e.useMemo(()=>{if(m!=="All"&&!o.trim())return{[m]:w};const k={};return w.forEach(f=>{k[f.category]||(k[f.category]=[]),k[f.category].push(f)}),k},[w,m,o]),p=k=>{k.key==="Escape"&&n()};if(e.useEffect(()=>(l&&window.addEventListener("keydown",p),()=>window.removeEventListener("keydown",p)),[l]),!l)return null;let C={top:"50%",left:"50%",transform:"translate(-50%, -50%)"};if(h){let k=h.x-120,f=h.y;k<10&&(k=10),k+230>window.innerWidth&&(k=window.innerWidth-240),f+200>window.innerHeight&&(f=window.innerHeight-210),C={top:`${f}px`,left:`${k}px`}}return e.createElement("div",{className:"scm-overlay",onMouseDown:k=>{k.stopPropagation(),n()}},e.createElement("div",{className:"scm-modal",style:C,onMouseDown:k=>k.stopPropagation()},e.createElement("div",{className:"scm-toolbar"},e.createElement("input",{type:"text",placeholder:"Code",value:o,onChange:k=>c(k.target.value),className:"scm-code-input"}),e.createElement("select",{value:m,onChange:k=>d(k.target.value),className:"scm-category-select"},Ce.map(k=>e.createElement("option",{key:k.id,value:k.id},k.name)))),e.createElement("div",{className:"scm-body"},e.createElement("div",{className:"scm-grid-container"},Object.entries(A).map(([k,f])=>e.createElement("div",{key:k,className:"scm-category-group"},e.createElement("div",{className:"scm-char-grid"},f.map(x=>e.createElement("button",{key:x.code,className:"scm-char-btn",onClick:()=>{a(x.char),n()},title:`U+${x.code}`},x.char))))),w.length===0&&e.createElement("div",{className:"scm-no-results"},"No characters found.")))))}const ze={version:"1.0.20"};window.__cme_macros={...window.__cme_macros,cmeLeftRightAbove:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{}}",args:1},cmeLeftRightBelow:{def:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#1}}}",args:1},cmeLeftRightBoth:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{\\class{cme-flip-v}{#2}}}",args:2},cmeWideHat:{def:"\\class{cme-wide-hat-text}{#1}",args:1},notin:{def:"\\mathrel{\\char`∉}"},notni:{def:"\\mathrel{\\char`∌}"}},typeof window<"u"&&(window.MathfieldElement?window.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts":Ee.MathfieldElement&&(Ee.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts")),window.__ckMathWidgets=window.__ckMathWidgets||new Map,window.__ckMathWidgetClickHandler=null;function je(l){var a,h,o,c,m;if(!l)return null;const n=typeof l.composedPath=="function"?l.composedPath():[l];for(const d of n)if(d instanceof HTMLElement&&((a=d.classList)!=null&&a.contains("ck-math-widget")||(h=d.dataset)!=null&&h.mathId||(o=d.classList)!=null&&o.contains("ck-widget")&&((c=d.querySelector)!=null&&c.call(d,".ck-math-widget-inner"))))return d;return l instanceof Element?(m=l.closest)==null?void 0:m.call(l,".ck-math-widget, [data-math-id]"):null}function de(l){if(!l)return"";let n="",a=0;for(;a<l.length;){let h=l.indexOf("\\placeholder",a);if(h===-1){n+=l.slice(a);break}if(n+=l.slice(a,h),a=h+12,l[a]==="["){let o=1;for(a++;a<l.length&&o>0;)l[a]==="["?o++:l[a]==="]"&&o--,a++}if(l[a]==="{"){let o=1,c=a+1;for(a++;a<l.length&&o>0;)l[a]==="{"?o++:l[a]==="}"&&o--,a++;let m=l.slice(c,a-1);m.trim()===""?n+="\\quad ":n+=m}}return n}function _(l){let n="",a=0;const h="\\text{";for(;a<l.length;){const o=l.indexOf(h,a);if(o===-1){n+=l.slice(a);break}n+=l.slice(a,o);let c=1,m=o+h.length;for(;m<l.length&&c>0;)l[m]==="{"?c++:l[m]==="}"&&c--,m++;const d=l.slice(o+h.length,m-1);/^['"/]+$/.test(d)||d.includes("\\textquotedbl")||d.includes("\\textquotesingle")?n+="\\text{"+d+"}":n+=d,a=m}return n}function Se(l,n){let a=0,h=n-1;for(;h>=0&&l[h]==="\\";)a++,h--;return a%2===1}function Le(l){if(!l||typeof l!="string")return l||"";let n=l;const a=["\\mathbfit{","\\boldsymbol{","\\mathbf{","\\mathit{","\\mathrm{","\\textbf{","\\textit{","\\textmd{","\\textnormal{","\\text{","\\mbox{","\\bm{","\\bold{","\\pmb{","\\mathsf{","\\mathtt{"];let h=!0,o=0;for(;h&&o<10;){h=!1,o++;for(const c of a){let m=0;for(;m<n.length;){const d=n.indexOf(c,m);if(d===-1)break;let w=1,A=d+c.length;for(;A<n.length&&w>0;)n[A]==="{"&&!Se(n,A)?w++:n[A]==="}"&&!Se(n,A)&&w--,A++;if(w===0){const p=n.slice(d+c.length,A-1);n=n.slice(0,d)+p+n.slice(A),h=!0,m=d}else m=d+c.length}}}return n}function Qe(l){return!l||typeof l!="string"?!1:[/[\^_]/,/\\frac\b/,/\\tfrac\b/,/\\nicefrac\b/,/\\sqrt\b/,/\\ce\b/,/\\int\b/,/\\iint\b/,/\\iiint\b/,/\\oint\b/,/\\sum\b/,/\\prod\b/,/\\lim\b/,/\\begin\b/,/\\enclose\b/,/\\placeholder\b/,/\\over\b/,/\\vec\b/,/\\hat\b/,/\\tilde\b/,/\\bar\b/,/\\dot\b/,/\\ddot\b/,/\\underbrace\b/,/\\overbrace\b/,/\\overset\b/,/\\underset\b/,/\\raisebox\b/,/\\lowerbox\b/,/\\left\b/,/\\right\b/,/\\class\b/,/\\style\b/,/\\(LARGE|Large|large|scriptsize|tiny|small|huge|Huge|footnotesize|normalsize)\b/,/\\alpha\b|\\beta\b|\\gamma\b|\\delta\b|\\epsilon\b|\\zeta\b|\\eta\b|\\theta\b|\\iota\b|\\kappa\b|\\lambda\b|\\mu\b|\\nu\b|\\xi\b|\\pi\b|\\rho\b|\\sigma\b|\\tau\b|\\upsilon\b|\\phi\b|\\chi\b|\\psi\b|\\omega\b/,/\\Gamma\b|\\Delta\b|\\Theta\b|\\Lambda\b|\\Xi\b|\\Pi\b|\\Sigma\b|\\Upsilon\b|\\Phi\b|\\Psi\b|\\Omega\b/,/\\pm\b|\\times\b|\\div\b|\\leq\b|\\geq\b|\\neq\b|\\approx\b|\\infty\b|\\partial\b|\\to\b|\\rightarrow\b/].some(a=>a.test(l))}function _e(l,n){return l?Qe(l)?l:(n==null?void 0:n.fontFamily)==="sans-serif"?`\\mathsf{${l}}`:(n==null?void 0:n.fontFamily)==="monospace"?`\\mathtt{${l}}`:(n==null?void 0:n.fontFamily)==="roman"?`\\mathrm{${l}}`:l:""}function Te(l,n,a,h){if(!l)return"";if(!n&&!a)return _e(l,{fontFamily:h});const o=h==="sans-serif",c=h==="monospace",m=h==="roman";return n&&a?o?`\\boldsymbol{\\mathsf{${l}}}`:c?`\\boldsymbol{\\mathtt{${l}}}`:m?`\\mathbfit{\\mathrm{${l}}}`:`\\mathbfit{${l}}`:n?o?`\\boldsymbol{\\mathsf{${l}}}`:c?`\\boldsymbol{\\mathtt{${l}}}`:m?`\\mathbf{\\mathrm{${l}}}`:`\\mathbf{${l}}`:a?o?`\\mathsf{${l}}`:c?`\\mathtt{${l}}`:m?`\\mathit{\\mathrm{${l}}}`:`\\mathit{${l}}`:l}function te(l,n,a,h){if(!l)return"";let o=l.trim();const c=o.match(/^\\displaylines\s*\{([\s\S]*)\}$/i);c&&(o=c[1].trim());const m=o.match(/^\\begin\{(array|matrix|pmatrix|bmatrix|vmatrix|Vmatrix|align|gather)\}(\{[\s\S]*?\})?([\s\S]*?)\\end\{\1\}$/i);if(m&&(o=m[3].trim()),/\\\\|\\cr|\\newline|\\par|\n/.test(o)){const d=/\\\\(?:\[[^\]]*\])?|\\cr|\\newline|\\par|\n/;return o.split(d).map(A=>{const p=A.trim();return p?Te(p,n,a,h):""}).filter(A=>A.length>0).join(" \\\\ ")}return Te(o,n,a,h)}function le(l){return l.replace(/\\enclose\{([^}]*)\}\[.*?\]/g,"\\enclose{$1}")}function pe(l=""){return typeof l!="string"?l:l.replace(/\\textasciitilde/g,"\\text{~}").replace(/\\textasciicircum/g,"\\text{^}").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`")}function re(l){if(!l)return"";const n=l.getAttribute("data-latex");if(n)return n;const a=l.querySelector("math-field");return a?a.getValue?a.getValue("latex-expanded"):a.value||"":""}function We(l,n){if(!l||!n)return!1;try{return l.model.createPositionBefore(n),!0}catch{return!1}}function Xe(l,n){var d;if(!l||!n)return null;const a=l.model.document.selection.getSelectedElement();if((a==null?void 0:a.name)==="mathInline")return a;const h=n.getAttribute("data-math-id");if(h){const w=window.__ckMathWidgets.get(h);if(We(l,w))return w}const o=l.editing.view.domConverter.mapDomToView(n);if(o){const w=l.editing.mapper.toModelElement(o);if((w==null?void 0:w.name)==="mathInline")return w}const c=re(n);if(!c)return null;const m=l.model.document.getRoot();for(const{item:w}of l.model.createRangeIn(m))if((d=w.is)!=null&&d.call(w,"element","mathInline")&&w.getAttribute("latex")===c)return w;return null}function Ie(l,n,a,h){if(!l||l._mathWidgetOpening)return;l._mathWidgetOpening=!0,queueMicrotask(()=>{l._mathWidgetOpening=!1});const o=We(l,n)?n:Xe(l,h),c=(o==null?void 0:o.getAttribute("latex"))||a||re(h);if(!c)return;o&&l.model.change(d=>{d.setSelection(o,"on")});const m=l.mathWidgetClickHandler||window.__ckMathWidgetClickHandler;m&&m(o,c),window.dispatchEvent(new CustomEvent("editAneesWidget",{detail:{editor:l,modelElement:o,latex:c}}))}function Ke(l,n){if(!n||n._ckMathClickBound)return;n._ckMathClickBound=!0;const a=h=>{var o;h.button===0&&(h.preventDefault(),h.stopPropagation(),(o=h.stopImmediatePropagation)==null||o.call(h),Ie(l,null,re(n),n))};n.addEventListener("mousedown",a,!0),n.addEventListener("click",a,!0)}const Ye=[{label:"√(□)",fontSize:"9px",mathLabel:"\\sqrt{\\square} \\, \\frac{#0}{#?}",items:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\LARGE {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:1},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"22",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"10",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"10",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"28",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript"},{type:"sep",cols:2},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0},{label:"+",insert:"+",title:"Plus"},{label:"/",insert:"/",title:"Divide"},{label:"×",insert:"\\times",title:"Multiply"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{type:"sep",cols:2,small:!0},{label:"≥",insert:"\\geq",title:"Greater than or equal to"},{label:"≤",insert:"\\leq",title:"Less than or equal to"},{label:"∈",insert:"\\in",title:"Element of"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{type:"sep",cols:1,small:!0},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"π",insert:"\\pi",title:"Pi"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement($.FontAwesomeIcon,{icon:R.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement($.FontAwesomeIcon,{icon:R.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:fe,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:ve,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"\\partial",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\napprox",title:"Not almost equal to"},{label:"≢",insert:"\\nequiv",title:"Not identical to"},{label:"≁",insert:"\\nsim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\notni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\LARGE {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"\\partial",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{\\partial#?}{\\partial #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}],Ge=[{label:"H₂O",isChem:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"Δ",insert:"\\Delta",title:"Increment / Delta"},{label:"mol",insert:"\\mathrm{mol}",title:"Mathrm mol"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Single bond"},{label:"=",insert:"=",title:"Double bond"},{label:"≡",insert:"\\equiv",title:"Triple bond"},{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript and underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 26 L 56 26 M 44 14 L 56 26 M 56 38 L 8 38 M 20 50 L 8 38",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript and underscript"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"}]},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightarrow",title:"Right arrow"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 44 L 56 44 M 44 32 L 56 44 L 44 56",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"12",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 20 L 56 20 M 44 8 L 56 20 L 44 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"36",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 24 L 56 24 M 44 12 L 56 24 M 56 40 L 8 40 M 20 52 L 8 40",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftharpoons",title:"Equilibrium"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 M 56 48 L 8 48 M 20 60 L 8 48",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 16 L 56 16 M 44 4 L 56 16 M 56 32 L 8 32 M 20 44 L 8 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"48",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 22 L 56 22 M 46 12 L 56 22 L 46 32 M 56 42 L 8 42 M 18 32 L 8 42 L 18 52",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftarrows",title:"Right left arrows"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{type:"sep",cols:1,small:!0},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2",strokeWidth:"4"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{ #? \\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly brackets"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement($.FontAwesomeIcon,{icon:R.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement($.FontAwesomeIcon,{icon:R.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:fe,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:ve,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"\\partial",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\not\\approx",title:"Not almost equal to"},{label:"≢",insert:"\\not\\equiv",title:"Not identical to"},{label:"≁",insert:"\\not\\sim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\not\\ni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"cme-small-btn"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"cme-small-btn"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"cme-small-btn"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"cme-small-btn"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"cme-small-btn"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"cme-small-btn"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\LARGE {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"\\partial",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{\\partial#?}{\\partial #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}];function $e(l=""){if(String(l).match(/^\\ce\{([\s\S]*)\}$/)||l.includes("\\class{cme-"))return l;const a=l.replace(/\\text\{([^}]*)\}/g,"$1").replace(/\$/g,"").trim();return a?`\\ce{${a}}`:""}function be(l){return l==="matrix"?"\\begin{matrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{matrix}":l==="bmatrix"?"\\begin{bmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{bmatrix}":l==="pmatrix"?"\\begin{pmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{pmatrix}":l==="vmatrix"?"\\begin{vmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{vmatrix}":l.replace(/#0|#\?/g,"\\placeholder{}")}class Re extends ce.Plugin{static get pluginName(){return"MathInlinePlugin"}static get requires(){return[ce.Widget]}init(){const n=this.editor;n.model.schema.register("mathInline",{isInline:!0,isObject:!0,allowWhere:"$text",allowAttributes:["latex"]}),n.model.schema.addChildCheck((h,o)=>{if(o.name==="mathInline")return!0}),n.conversion.for("editingDowncast").elementToElement({model:"mathInline",view:(h,{writer:o})=>{const c=h.getAttribute("latex")||"",m="math-"+Math.random().toString(36).substr(2,9);window.__ckMathWidgets.set(m,h);const d=o.createContainerElement("span",{class:"ck-math-widget ck-math-inline-word",contenteditable:"false","data-math-id":m,"data-latex":c}),w=o.createRawElement("span",{class:"ck-math-widget-inner",style:"display:inline-block;vertical-align:middle;margin:0;cursor:pointer;width:auto;max-width:100%;pointer-events:none;"},A=>{const p=document.createElement("math-field");p.setAttribute("math-virtual-keyboard-policy","manual"),p.setAttribute("tabindex","-1"),p.style.display="inline-block",p.style.width="auto",p.style.maxWidth="100%",p.style.verticalAlign="middle",p.style.border="none",p.style.background="transparent",p.style.outline="none",p.style.fontSize="inherit",p.style.minHeight="auto",p.style.padding="0",p.style.margin="0",p.style.pointerEvents="none";const C=()=>{if(!p.isConnected){requestAnimationFrame(C);return}window.__cme_macros&&(p.macros={...p.macros,...window.__cme_macros});let f=pe(le(_(de(c))));f.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(f.trim())&&(f=f.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));try{p.setValue?p.setValue("",{silenceNotifications:!0}):p.value="",p.executeCommand(["insert",f,{insertionMode:"replaceAll"}])}catch(x){console.error("[CKMathWidget] executeCommand failed, falling back to setValue:",x);try{p.setValue?p.setValue(f,{silenceNotifications:!0}):p.value=f}catch(v){console.error("[CKMathWidget] setValue also failed:",v)}}p.setAttribute("read-only","")};customElements.get("math-field")?requestAnimationFrame(C):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(C)),A.appendChild(p);const k=()=>{const f=A.parentElement;f&&Ke(n,f)};k(),requestAnimationFrame(k)});return o.insert(o.createPositionAt(d,0),w),ce.toWidget(d,o,{label:"math formula"})}});const a=n.editing.view.document;this.listenTo(a,"mousedown",(h,o)=>{const c=je(o.domTarget);c&&o.domEvent.button===0&&(h.stop(),o.preventDefault(),Ie(n,null,re(c),c))},{priority:"high"}),n.conversion.for("editingDowncast").add(h=>{h.on("attribute:latex:mathInline",(o,c,m)=>{if(!m.consumable.consume(c.item,o.name))return;const d=m.writer,w=m.mapper.toViewElement(c.item);if(w){d.setAttribute("data-latex",c.attributeNewValue,w);const A=n.editing.view.domConverter.mapViewToDom(w);if(A){const p=A.querySelector("math-field");if(p){let C=pe(le(_(de(c.attributeNewValue))));C.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(C.trim())&&(C=C.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1")),p.removeAttribute("read-only");try{p.setValue?p.setValue("",{silenceNotifications:!0}):p.value="",p.executeCommand(["insert",C,{insertionMode:"replaceAll"}])}catch{p.setValue?p.setValue(C,{silenceNotifications:!0}):p.value=C}p.setAttribute("read-only","")}}else console.warn("[CKMathWidget] No domElement found for viewElement")}})}),n.conversion.for("dataDowncast").elementToElement({model:"mathInline",view:(h,{writer:o})=>{const c=h.getAttribute("latex")||"",m=o.createContainerElement("span",{class:"math-tex","data-latex":c,style:"display:inline;"});let d=le(_(de(c)));d.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(d.trim())&&(d=d.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));let w=d.replace(/\\textasciitilde/g,"~").replace(/\\textasciicircum/g,"^").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`").replace(/\\sim/g,"~").replace(/\\!/g,"!").replace(/\\@/g,"@").replace(/\\#/g,"#").replace(/\\$/g,"$").replace(/\\%/g,"%").replace(/\\&/g,"&").replace(/\\_/g,"_").replace(/\\\{/g,"{").replace(/\\\}/g,"}").replace(/\\ce\{([^}]*)\}/g,"$1").trim();return o.insert(o.createPositionAt(m,0),o.createText(w)),m}}),n.conversion.for("upcast").elementToElement({view:{name:"span",classes:"math-tex"},model:(h,{writer:o})=>{const c=h.getAttribute("data-latex")||"";return o.createElement("mathInline",{latex:c})}})}}function et({matrixType:l,x:n,y:a,onSelect:h,onMouseEnter:o,onMouseLeave:c}){const[m,d]=e.useState({r:2,c:2}),w=Math.max(10,parseInt(m.r,10)||0),A=Math.max(10,parseInt(m.c,10)||0),p=x=>{const v=x.target.value;if(v===""){d(T=>({...T,r:""}));return}const L=parseInt(v,10);isNaN(L)||d(T=>({...T,r:Math.max(1,Math.min(10,L))}))},C=()=>{(m.r===""||isNaN(parseInt(m.r,10)))&&d(x=>({...x,r:1}))},k=x=>{const v=x.target.value;if(v===""){d(T=>({...T,c:""}));return}const L=parseInt(v,10);isNaN(L)||d(T=>({...T,c:Math.max(1,Math.min(10,L))}))},f=()=>{(m.c===""||isNaN(parseInt(m.c,10)))&&d(x=>({...x,c:1}))};return e.useEffect(()=>{const x=v=>{if(v.key==="Enter"){v.preventDefault(),v.stopPropagation();const L=parseInt(m.r,10)||1,T=parseInt(m.c,10)||1;h(L,T)}};return window.addEventListener("keydown",x,!0),()=>window.removeEventListener("keydown",x,!0)},[m.r,m.c,h]),e.createElement("div",{className:"cme-matrix-hover-popover ck-only",style:{top:`${a}px`,left:`${n}px`},onPointerDown:x=>x.stopPropagation(),onMouseEnter:o,onMouseLeave:c},e.createElement("div",{className:"cme-matrix-hover-grid"},Array.from({length:w}).map((x,v)=>e.createElement("div",{key:v,className:"cme-matrix-hover-row"},Array.from({length:A}).map((L,T)=>{const N=parseInt(m.r,10)||0,K=parseInt(m.c,10)||0,Z=v<N&&T<K;return e.createElement("div",{key:`${v}-${T}`,className:`cme-matrix-hover-cell${Z?" selected":""}`,onMouseEnter:()=>d({r:v+1,c:T+1}),onClick:Y=>{Y.preventDefault(),Y.stopPropagation(),h(v+1,T+1)}})})))),e.createElement("div",{className:"cme-matrix-hover-footer"},e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"R"),e.createElement("input",{type:"number",className:"cme-counter-val",value:m.r,onChange:p,onBlur:C,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.r,10)||1;return{...x,r:Math.min(10,v+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.r,10)||1;return{...x,r:Math.max(1,v-1)}})},"▼"))),e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"C"),e.createElement("input",{type:"number",className:"cme-counter-val",value:m.c,onChange:k,onBlur:f,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.c,10)||1;return{...x,c:Math.min(10,v+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.c,10)||1;return{...x,c:Math.max(1,v-1)}})},"▼")))))}let F=!1,ge=null,X=null;function tt({mode:l,onInsert:n,onClose:a,initialLatex:h,isEditing:o}){const c=e.useRef(null),[m,d]=e.useState(null),[w,A]=e.useState(0),[p,C]=e.useState(null),[k,f]=e.useState(null),[x,v]=e.useState(null),[L,T]=e.useState(null);e.useRef(null);const[N,K]=e.useState({x:0,y:0}),[Z,Y]=e.useState(!1),ke=e.useRef({x:0,y:0}),[lt,De]=e.useState(!1),[rt,Ne]=e.useState(!1),[it,ie]=e.useState(!1),ue=e.useRef(null);e.useEffect(()=>{const t=i=>{if(!Z)return;const s=i.touches&&i.touches.length>0?i.touches[0].clientX:i.clientX,b=i.touches&&i.touches.length>0?i.touches[0].clientY:i.clientY;let u=s-ke.current.x,g=b-ke.current.y;if(ue.current){const S=ue.current,M=-S.left,q=window.innerWidth-S.right,z=-S.top,D=window.innerHeight-S.bottom;u<M&&(u=M),u>q&&(u=q),g<z&&(g=z),g>D&&(g=D)}K({x:u,y:g})},r=()=>Y(!1);return Z&&(window.addEventListener("mousemove",t,{passive:!1}),window.addEventListener("mouseup",r),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",r)),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r)}},[Z]);const Oe=t=>{if(t.target.closest(".cme-popup-controls"))return;Y(!0);const r=t.touches&&t.touches.length>0?t.touches[0].clientX:t.clientX,i=t.touches&&t.touches.length>0?t.touches[0].clientY:t.clientY;ke.current={x:r-N.x,y:i-N.y};const s=document.querySelector(".cme-editor-popup");if(s){const b=s.getBoundingClientRect();ue.current={left:b.left-N.x,top:b.top-N.y,right:b.right-N.x,bottom:b.bottom-N.y,width:b.width,height:b.height}}},ne=l==="math"?Ye:Ge,[y,we]=e.useState({bold:!1,italic:!1,color:"none",fontFamily:"none",fontSize:"auto"});function J(t){const r=t==null?void 0:t.selection;return!r||!r.ranges||r.ranges.length===0?!1:r.ranges.some(([i,s])=>i!==s)}function He(t){if(!t)return!1;try{const r=s=>["all","some",!0].includes(s);if(typeof t.queryStyle=="function"){const s=t.queryStyle({fontSeries:"b"}),b=t.queryStyle({variantStyle:"bold"});if(r(s)||r(b))return!0}let i="";try{J(t)&&(i=t.getValue(t.selection)||"")}catch{}if(i&&/\\mathbf\b|\\boldsymbol\b|\\mathbfit\b|\\textbf\b|\\bm\b|\\bold\b/.test(i))return!0}catch{}return!1}function Ve(t){if(!t)return!1;try{const r=s=>["all","some",!0].includes(s);if(typeof t.queryStyle=="function"){const s=t.queryStyle({shape:"it"}),b=t.queryStyle({variantStyle:"italic"});if(r(s)||r(b))return!0}let i="";try{J(t)&&(i=t.getValue(t.selection)||"")}catch{}if(i&&/\\mathit\b|\\mathbfit\b|\\textit\b/.test(i)||window.__cmeManualItalic===!0)return!0}catch{}return!1}const U=e.useCallback(()=>{if(F||window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate)return;const t=c.current;if(!(!t||typeof t.queryStyle!="function"))try{const r=J(t);let i=He(t),s=Ve(t),b="none",u="auto",g="none";const S=M=>["all","some",!0].includes(M);if(r){window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0;let M="";try{M=t.getValue(sel)||""}catch{}const q=["roman","sans-serif","monospace"].find(D=>S(t.queryStyle({fontFamily:D})))||"none";q!=="none"?b=q:/\\mathsf\b/.test(M)?b="sans-serif":/\\mathtt\b/.test(M)?b="monospace":/\\mathrm\b/.test(M)?b="roman":b="none";const z=[5,7,9].find(D=>S(t.queryStyle({fontSize:D})))||"auto";u=String(z),g=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(D=>S(t.queryStyle({color:D})))||"none"}else window.__cmeManualBold!==void 0&&(i=window.__cmeManualBold),window.__cmeManualItalic!==void 0&&(s=window.__cmeManualItalic),console.log("CME: updateActiveStyles else-branch bold=",i,"manual=",window.__cmeManualBold),b=window.__cmeManualFontFamily!==void 0?window.__cmeManualFontFamily:["roman","sans-serif","monospace"].find(M=>S(t.queryStyle({fontFamily:M})))||"none",u=window.__cmeManualFontSize!==void 0?window.__cmeManualFontSize:[5,7,9].find(M=>S(t.queryStyle({fontSize:M})))||"auto",g=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(M=>S(t.queryStyle({color:M})))||"none";we({bold:i,italic:s,fontFamily:b,fontSize:String(u),color:g})}catch(r){console.warn("Failed to query active styles:",r)}},[]);e.useEffect(()=>{if(!p&&!x)return;const t=r=>{!r.target.closest(".cme-matrix-hover-popover")&&!r.target.closest(".cme-matrix-btn-wrapper")&&C(null),!r.target.closest(".cme-color-picker-popup")&&!r.target.closest('[title="Text Color"]')&&v(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[p,x]),e.useEffect(()=>{if(!L)return;const t=r=>{!r.target.closest(".cme-more-popup")&&!r.target.closest(".cme-more-trigger-btn")&&T(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[L]),e.useEffect(()=>{const t=setTimeout(()=>Fe(),50);return()=>clearTimeout(t)},[w]),e.useEffect(()=>{if(F)return;const t=m;if(!t)return;t.macros={...t.macros,...window.__cme_macros||{}},t.defaultMode="math";const r=()=>{if(h){let i=pe(h);if(l==="chem"){const s=i.match(/^\\ce\{([\s\S]*)\}$/i);s&&(i=s[1])}i=_(i),i=le(i),t.setValue?t.setValue("",{silenceNotifications:!0}):t.value="",t.executeCommand(["insert",i,{insertionMode:"replaceAll"}])}requestAnimationFrame(()=>{document.querySelector(".cme-editor-popup.minimized")||t.focus()})};customElements.get("math-field")?requestAnimationFrame(r):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(r))},[l,h,m]),e.useEffect(()=>{const t=m;if(!t)return;const r=i=>{if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(i.key)?(F=!1,clearTimeout(ge),window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0):(i.key.length===1||i.key===" ")&&(F=!0,clearTimeout(ge),ge=setTimeout(()=>{F=!1},500)),["`","~","!","@","#","$","%","^","&","*","_",'"',"'","/","\\","|"].includes(i.key)&&!i.ctrlKey&&!i.metaKey&&!i.altKey){i.preventDefault(),i.stopPropagation();let s="";i.key==="`"?s="\\grave{\\ }":i.key==="~"?s="\\sim":i.key==="!"?s="!":i.key==="@"?s="@":i.key==="#"?s="\\#":i.key==="$"?s="\\$":i.key==="%"?s="\\%":i.key==="^"?s="\\wedge":i.key==="&"?s="\\&":i.key==="*"?s="\\ast":i.key==="_"?s="\\_":i.key==='"'?s='\\text{"}':i.key==="'"?s="\\text{'}":i.key==="/"?s="\\mathord{/}":i.key==="\\"?s="\\backslash":i.key==="|"&&(s="|"),t.executeCommand(["insert",s]);return}if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey&&/[a-zA-Z0-9]/.test(i.key)){if(i.preventDefault(),i.stopPropagation(),!y.bold||!y.italic)try{t.executeCommand("moveOutOfGroup")}catch{}let s=te(i.key,y.bold,y.italic,y.fontFamily);const b=y.fontSize==="auto"?5:parseInt(y.fontSize,10);if(b!==5){const u={1:"\\tiny",2:"\\scriptsize",3:"\\footnotesize",4:"\\small",5:"\\normalsize",6:"\\large",7:"\\Large",8:"\\LARGE",9:"\\huge",10:"\\Huge"};u[b]&&(s=`{${u[b]} ${s}}`)}y.color!=="none"&&(s=`\\textcolor{${y.color}}{${s}}`),t.executeCommand(["insert",s]);return}i.key===" "?(i.preventDefault(),t.executeCommand(["insert","\\, "])):i.key==="Enter"&&(i.preventDefault(),i.stopImmediatePropagation(),t.executeCommand("addRowAfter"))};return t.addEventListener("keydown",r,!0),()=>t.removeEventListener("keydown",r,!0)},[l,y,U,m]),e.useEffect(()=>{const t=m;if(!t)return;const r=()=>{window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate||(J(t)&&(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0),setTimeout(()=>{const i=t.shadowRoot;if(!i)return;const s=i.querySelector(".ML__caret")||i.querySelector('[class*="caret"]');s&&s.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"}),U()},0))};return t.addEventListener("selection-change",r),t.addEventListener("input",r),t.addEventListener("keydown",r),t.addEventListener("pointerup",r),t.addEventListener("click",r),setTimeout(U,50),()=>{t.removeEventListener("selection-change",r),t.removeEventListener("input",r),t.removeEventListener("keydown",r),t.removeEventListener("pointerup",r),t.removeEventListener("click",r)}},[U,m]);const G=e.useCallback(t=>{const r=X;if(!r||!t)return;r.focus();const i=te(t,y.bold,y.italic,y.fontFamily);r.executeCommand(["insert",i])},[y]),nt=e.useCallback((t,r,i)=>{let s=`\\begin{${t}} `;for(let b=0;b<r;b++){for(let u=0;u<i;u++)s+="#?",u<i-1&&(s+=" & ");b<r-1&&(s+=" \\\\ ")}s+=` \\end{${t}}`,G(s)},[G]),ot=t=>{t.stopPropagation(),De(r=>!r),Ne(!1),K({x:0,y:0})},at=t=>{t.stopPropagation(),Ne(r=>!r),De(!1),K({x:0,y:0})},Ue=t=>{t&&t.stopPropagation();const r=X;if(!r){a&&a();return}const i=r.getValue?r.getValue("latex"):r.value,s=h||"";!i||i.trim()===""||i===s?a&&a():ie(!0)},st=()=>{const t=X;if(!t)return;let r=t.getValue?t.getValue("latex"):t.value;if(!r||r.trim()===""){a&&a();return}l==="chem"&&(r=$e(r)),r=_(r);const i=r.match(/^\\(mathrm|mathit|mathbf|mathsf|text)\{\\displaylines\{([\s\S]*)\}\}$/);if(i){const s=i[1];r=`\\displaylines{${i[2].split("\\\\").map(S=>`\\${s}{${S.trim()}}`).join(" \\\\ ")}}`}r=r.replace(/[\r\n]+/g," "),n&&n(r),t.setValue?t.setValue(""):t.value="",a&&a()};return Q.createPortal(e.createElement("div",{className:`cme-editor-popup ${lt?"maximized":""} ${rt?"minimized":""}`,style:{transform:`translate(${N.x}px, ${N.y}px)`},onPointerDown:t=>t.stopPropagation()},e.createElement("div",{className:"cme-popup-topbar"},e.createElement("div",{className:"cme-popup-header",onPointerDown:Oe,onTouchStart:Oe,style:{cursor:Z?"grabbing":"grab",touchAction:"none"}},e.createElement("span",null,o?l==="math"?"Edit Math Formula":"Edit Chemistry Formula":l==="math"?"Math Editor":"Chemistry Editor")),e.createElement("div",{className:"cme-popup-controls"},e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:at,title:"Minimize"},"—"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:ot,title:"Maximize"},"⤢"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:Ue,title:"Close"},"✕"))),e.createElement("div",{className:"cme-toolbar",role:"toolbar","aria-label":"Symbol palette"},e.createElement("div",{className:"cme-toolbar-groups"},ne.map((t,r)=>{const i=w===r;return e.createElement("button",{key:t.isMatrix?"matrix-tab":t.label,className:`cme-group-tab${i?" active":""}`,type:"button",onPointerDown:s=>{s.preventDefault(),A(r),C(null)}},t.mathLabel?e.createElement("math-field",{"read-only":!0,tabIndex:-1,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:t.fontSize||(t.isMatrix?"8px":"11px"),display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",color:i?"#333333":"#ffffff"}},t.mathLabel):t.label)})),e.createElement("div",{className:"cme-toolbar-items"},(()=>{var s;const t=((s=ne[w])==null?void 0:s.items)||[],r=t.some(b=>b.type==="sep"),i=[];if(r){let b={cols:2,small:!1,cls:"",items:[],moreItems:null};for(const u of t)u.type==="sep"?(b.items.length>0&&i.push(b),b={cols:u.cols||2,small:!!u.small,cls:u.cls||"",items:[],moreItems:u.moreItems||null,moreCols:u.moreCols||1}):b.items.push(u);b.items.length>0&&i.push(b)}else for(let u=0;u<t.length;u+=4)i.push({cols:2,small:!1,cls:"",items:t.slice(u,u+4)});return i.map((b,u)=>e.createElement("div",{key:u,className:`cme-symbol-subgroup${b.small?" cme-symbol-subgroup--small":""}${b.cls?` ${b.cls}`:""}${b.moreItems?" cme-subgroup-has-more":""}`,style:{gridTemplateColumns:`repeat(${b.cols}, auto)`,position:"relative"}},b.moreItems&&e.createElement("button",{type:"button",className:"cme-more-trigger-btn",title:"more",onPointerDown:g=>{g.preventDefault()},onClick:g=>{if(g.stopPropagation(),L&&L.items===b.moreItems)T(null);else{const S=g.currentTarget.getBoundingClientRect(),M=ne[w]||{};T({cx:S.left+S.width/2,y:S.bottom,items:b.moreItems,cols:b.moreCols,isTemplate:M.isTemplate||M.label==="√(□)"||M.isMatrix})}}},"▶"),b.items.map((g,S)=>{const M=ne[w];if(g.type==="dropdown"){const B=g.label==="Font...",E=g.label==="Size",oe=B&&y.fontFamily!=="none",ae=E&&y.fontSize!=="auto"&&y.fontSize!=="5",se=B?y.fontFamily==="none"?"":y.fontFamily:E?y.fontSize==="auto"||y.fontSize==="5"?"":y.fontSize:"";return e.createElement("select",{key:S,className:`cme-btn template${oe||ae?" active":""}`,value:se,style:{width:g.width||"60px",height:"18px",minHeight:"18px",maxHeight:"18px",lineHeight:"18px",boxSizing:"border-box",marginTop:"10px",fontSize:"10px",padding:"0",margin:"2px 0",gridColumn:b.cols===3||b.cols===1?"span 1":"span 2"},onChange:he=>{const j=he.target.value,P=X;!P||typeof P.applyStyle!="function"||(P.focus(),B?P.applyStyle({fontFamily:j||"none"}):E&&P.applyStyle({fontSize:j?parseInt(j,10):"auto"}),U())}},e.createElement("option",{value:""},g.label),B&&e.createElement(e.Fragment,null,e.createElement("option",{value:"roman"},"Times"),e.createElement("option",{value:"sans-serif"},"Helvetica"),e.createElement("option",{value:"monospace"},"Courier")),E&&e.createElement(e.Fragment,null,e.createElement("option",{value:"5"},"12px"),e.createElement("option",{value:"7"},"16px"),e.createElement("option",{value:"9"},"20px")))}if(M.isMatrix&&!g.directInsert)return e.createElement("div",{key:S,className:"cme-matrix-btn-wrapper"},e.createElement("button",{type:"button",className:`cme-btn template${g.cls?` ${g.cls}`:""}${M.isMatrix?" cme-matrix-btn-small":""}`,title:g.title||g.label||g.insert,onPointerDown:B=>{if(B.preventDefault(),B.stopPropagation(),(p==null?void 0:p.type)===g.insert)C(null);else{F||(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0);const E=B.currentTarget.getBoundingClientRect();C({type:g.insert,x:E.left+E.width/2,y:E.bottom})}}},typeof g.label=="object"?g.label:e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},be(g.mathLabel!=null?g.mathLabel:g.insert))));const q=g.action==="BOLD",z=g.action==="ITALIC",D=g.action==="TEXT_COLOR",ht=q&&y.bold||z&&y.italic||D&&y.color!=="none"&&y.color!=="black";return e.createElement("button",{key:`${M.label}-${u*4+S}`,type:"button",className:`cme-btn${M.isTemplate?" template":""}${g.cls?` ${g.cls}`:""}${ht?" active":""}`,title:g.title||g.label||g.insert,onPointerDown:B=>{var oe,ae,se,he,j,P,Pe;B.preventDefault();const E=c.current;if(g.action==="SPECIAL_CHARS"){const I=B.currentTarget.getBoundingClientRect();f({x:I.left,y:I.bottom+4})}else if(g.action==="TEXT_COLOR"){const I=B.currentTarget.getBoundingClientRect();v({x:I.left,y:I.bottom+4})}else if(g.action==="BOLD"){if(E){E.focus();const I=J(E),H=I?He(E):y.bold,O=!H;if(console.log("CME: BOLD button clicked, currentBold=",H,"newBold=",O,"hasSel=",I),window.__cmeManualBold=O,window.__cmeIgnoreStyleUpdate=Date.now()+50,I){const V=E.getValue(E.selection),xe=Le(V),ye=te(xe,O,y.italic,y.fontFamily);E.executeCommand(["insert",ye])}else if(typeof E.applyStyle=="function")if(O)E.applyStyle({fontSeries:"b"});else{try{E.executeCommand("moveOutOfGroup")}catch{}E.applyStyle({fontSeries:"auto"}),E.applyStyle({fontSeries:"m"})}we(V=>({...V,bold:O})),setTimeout(()=>{U()},60)}}else if(g.action==="ITALIC"){if(E){E.focus();const I=J(E),O=!(I?Ve(E):y.italic);if(window.__cmeManualItalic=O,window.__cmeIgnoreStyleUpdate=Date.now()+50,I){const V=E.getValue(E.selection),xe=Le(V),ye=te(xe,y.bold,O,y.fontFamily);E.executeCommand(["insert",ye])}else if(typeof E.applyStyle=="function")if(O)E.applyStyle({shape:"it"});else{try{E.executeCommand("moveOutOfGroup")}catch{}E.applyStyle({shape:"auto"}),E.applyStyle({shape:"n"})}we(V=>({...V,italic:O})),setTimeout(()=>{U()},60)}}else g.action==="UNDO"?(oe=c.current)==null||oe.executeCommand("undo"):g.action==="REDO"?(ae=c.current)==null||ae.executeCommand("redo"):g.action==="CUT"?((se=c.current)==null||se.focus(),(he=c.current)==null||he.executeCommand("cutToClipboard")):g.action==="COPY"?((j=c.current)==null||j.focus(),(P=c.current)==null||P.executeCommand("copyToClipboard")):g.action==="PASTE"?((Pe=c.current)==null||Pe.focus(),navigator.clipboard.readText().then(I=>{var H;(H=c.current)==null||H.executeCommand(["insert",I])}).catch(I=>{var H;(H=c.current)==null||H.executeCommand("pasteFromClipboard")})):G(g.insert)}},(M.isTemplate||M.label==="√(□)"||M.isMatrix||g.isWidget)&&g.insert&&!g.action&&!g.forceLabel?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},be(g.insert)):g.label)})))})())),L&&Q.createPortal(e.createElement("div",{ref:t=>{t&&requestAnimationFrame(()=>{const r=t.getBoundingClientRect(),i=document.querySelector(".cme-editor-popup");let s=L.cx-r.width/2,b=L.y;if(i){const u=i.getBoundingClientRect();s+r.width>u.right-4&&(s=u.right-r.width-4),s<u.left+4&&(s=u.left+4),b+r.height>u.bottom-4&&(b=u.bottom-r.height-4)}s+r.width>window.innerWidth-4&&(s=window.innerWidth-r.width-4),b+r.height>window.innerHeight-4&&(b=window.innerHeight-r.height-4),s<4&&(s=4),t.style.left=`${s}px`,t.style.top=`${b}px`,t.style.transform="none"})},className:"cme-more-popup",style:{position:"fixed",left:`${L.cx}px`,top:`${L.y}px`,transform:"translateX(-50%)",zIndex:2147483647,gridTemplateColumns:`repeat(${L.cols||1}, auto)`}},L.items.map((t,r)=>e.createElement("button",{key:r,type:"button",className:`cme-more-popup-btn ${t.cls||""}`,title:t.title||t.label||t.insert,onPointerDown:i=>{i.preventDefault(),G(t.insert),T(null)}},t.insert&&!t.action&&(t.cls==="template"||t.isWidget)?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},be(t.mathLabel!=null?t.mathLabel:t.insert)):t.label))),document.body),e.createElement("div",{className:"cme-mathfield-container",onPointerDown:t=>{var r,i;c.current&&(t.target===c.current||c.current.contains(t.target))||(t.preventDefault(),(i=(r=c.current)==null?void 0:r.focus)==null||i.call(r))},onTouchStart:t=>{var r,i;c.current&&(t.target===c.current||c.current.contains(t.target))||(t.preventDefault(),(i=(r=c.current)==null?void 0:r.focus)==null||i.call(r))}},e.createElement("math-field",{ref:t=>{c.current=t,X=t,t&&m!==t&&d(t),t&&(t.inlineShortcuts=Object.assign({},t.inlineShortcuts,{"*":"*"}),window.mathVirtualKeyboard&&(window.mathVirtualKeyboard.policy="manual"),t.menuItems&&(t.menuItems=t.menuItems.filter(r=>{const i=typeof r.label=="string"?r.label.toLowerCase():"",s=typeof r.id=="string"?r.id.toLowerCase():"";return!i.includes("matrix")&&!s.includes("matrix")})))},class:"cme-mathfield",tabIndex:0,"math-virtual-keyboard-policy":"manual",placeholder:""})),e.createElement("div",{className:"cme-popup-footer"},e.createElement("button",{type:"button",className:"cme-insert-btn",onClick:st},o?"Update":"Insert"),e.createElement("button",{type:"button",className:"cme-cancel-btn",onClick:Ue},"Cancel"),e.createElement("span",{style:{marginLeft:"auto",fontSize:"11px",color:"#888",alignSelf:"center",marginRight:"10px"}},"v",ze.version)),it&&e.createElement("div",{className:"cme-confirm-overlay",onPointerDown:t=>{t.stopPropagation(),ie(!1)}},e.createElement("div",{className:"cme-confirm-modal",onPointerDown:t=>t.stopPropagation()},e.createElement("p",null,"Are you sure you want to leave? The changes you made will be lost."),e.createElement("div",{className:"cme-confirm-actions"},e.createElement("button",{type:"button",className:"cme-confirm-close-btn",onClick:t=>{t.stopPropagation(),ie(!1),a&&a()}},"Close"),e.createElement("button",{type:"button",className:"cme-confirm-cancel-btn",onClick:t=>{t.stopPropagation(),ie(!1)}},"Cancel")))),p&&Q.createPortal(e.createElement(et,{matrixType:p.type,x:p.x,y:p.y,onSelect:(t,r)=>{nt(p.type,t,r),C(null)},onMouseEnter:()=>{},onMouseLeave:()=>{}}),document.body),k&&Q.createPortal(e.createElement(Je,{isOpen:!!k,position:k,onClose:()=>f(null),onInsert:t=>{G(t),f(null)}}),document.body),x&&Q.createPortal(e.createElement("div",{className:"cme-color-picker-popup",style:{position:"fixed",left:Math.min(x.x,window.innerWidth-160)+"px",top:Math.min(x.y,window.innerHeight-100)+"px",zIndex:2147483647,background:"#fff",border:"1px solid #ccc",padding:"6px",display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"4px",borderRadius:"4px",boxShadow:"0 2px 5px rgba(0,0,0,0.2)"}},["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].map(t=>{const r=y.color===t||t==="black"&&(y.color==="none"||!y.color);return e.createElement("div",{key:t,title:t,style:{width:"16px",height:"16px",backgroundColor:t,cursor:"pointer",border:r?"2px solid #e6c229":"1px solid #000",boxSizing:"border-box"},onPointerDown:i=>{i.preventDefault(),i.stopPropagation();const s=c.current;s&&typeof s.applyStyle=="function"&&(s.focus(),s.applyStyle({color:t==="black"?"none":t}),U()),v(null)}})})),document.body)),document.body)}const Be=({isOpen:l,mode:n,initialValue:a,onInsert:h,onClose:o})=>l?e.createElement(tt,{mode:n,onInsert:h,onClose:o,initialLatex:a||"",isEditing:!!a}):null;W.CME_SHADOW_DOM_CSS=Ae,W.CustomMathEditor=Be,W.MathInlinePlugin=Re,W.default=Be,Object.defineProperties(W,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
301
+ `)}function qe(){document.querySelectorAll("math-field").forEach(ee)}let me=null;function Fe(){me||(qe(),me=new MutationObserver(l=>{var n,a,h;for(const o of l){if(o.type==="attributes"&&((n=o.target.tagName)==null?void 0:n.toLowerCase())==="math-field"){ee(o.target);continue}if(o.addedNodes)for(const c of o.addedNodes)c instanceof Element&&(((a=c.tagName)==null?void 0:a.toLowerCase())==="math-field"&&requestAnimationFrame(()=>ee(c)),(h=c.querySelectorAll)==null||h.call(c,"math-field").forEach(m=>requestAnimationFrame(()=>ee(m))))}}),me.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["read-only","readonly"]}))}const Ce=[{id:"All",name:"All"},{id:"Symbol",name:"Symbol",ranges:[[8704,8959],[9728,9983],[8592,8703],[9984,10175]]},{id:"Punctuation",name:"Punctuation",ranges:[[33,47],[58,64],[91,96],[123,126],[161,161],[171,171],[187,187],[191,191],[8208,8231],[8240,8286],[10088,10101],[10214,10223],[10627,10648],[11776,11903],[12288,12351],[65104,65135],[65281,65295],[65306,65312],[65339,65344],[65371,65381]]},{id:"Letter",name:"Letter",ranges:[[65,90],[97,122],[880,1023],[1024,1279]]},{id:"Mark",name:"Mark",ranges:[[169,169],[174,174],[8224,8231],[8240,8286],[8471,8471],[8482,8482],[9744,9746],[10003,10008],[10013,10017],[10018,10059],[10067,10074],[10081,10087],[10132,10174],[128500,128505]]},{id:"Number",name:"Number",ranges:[[48,57],[8304,8351],[8528,8591],[9312,9471],[10102,10131],[65296,65305],[120782,120831]]},{id:"Phonetic",name:"Phonetic",ranges:[[592,687],[688,767],[7424,7551],[7552,7615],[43824,43887]]},{id:"Other",name:"Other",ranges:[[8352,8399],[8448,8527],[8960,9215],[9472,9599],[9600,9631],[9632,9727],[10240,10495],[11008,11263]]}],Ze=(()=>{const l=[];return Ce.slice(1).forEach(n=>{n.ranges.forEach(a=>{for(let h=a[0];h<=a[1];h++){if(h>=127&&h<=159)continue;const o=String.fromCodePoint(h);new RegExp("\\p{C}","u").test(o)||l.push({code:h.toString(16).toUpperCase().padStart(4,"0"),char:o,category:n.id})}})}),l})();function Je({isOpen:l,onClose:n,onInsert:a,position:h}){const[o,c]=e.useState(""),[m,d]=e.useState("All");e.useEffect(()=>{l&&(c(""),d("All"))},[l]);const u=e.useMemo(()=>{let k=Ze;if(m!=="All"&&(k=k.filter(f=>f.category===m)),o.trim()){const f=o.trim().toUpperCase();k=k.filter(x=>x.code.includes(f))}return k},[m,o]),C=e.useMemo(()=>{if(m!=="All"&&!o.trim())return{[m]:u};const k={};return u.forEach(f=>{k[f.category]||(k[f.category]=[]),k[f.category].push(f)}),k},[u,m,o]),p=k=>{k.key==="Escape"&&n()};if(e.useEffect(()=>(l&&window.addEventListener("keydown",p),()=>window.removeEventListener("keydown",p)),[l]),!l)return null;let A={top:"50%",left:"50%",transform:"translate(-50%, -50%)"};if(h){let k=h.x-120,f=h.y;k<10&&(k=10),k+230>window.innerWidth&&(k=window.innerWidth-240),f+200>window.innerHeight&&(f=window.innerHeight-210),A={top:`${f}px`,left:`${k}px`}}return e.createElement("div",{className:"scm-overlay",onMouseDown:k=>{k.stopPropagation(),n()}},e.createElement("div",{className:"scm-modal",style:A,onMouseDown:k=>k.stopPropagation()},e.createElement("div",{className:"scm-toolbar"},e.createElement("input",{type:"text",placeholder:"Code",value:o,onChange:k=>c(k.target.value),className:"scm-code-input"}),e.createElement("select",{value:m,onChange:k=>d(k.target.value),className:"scm-category-select"},Ce.map(k=>e.createElement("option",{key:k.id,value:k.id},k.name)))),e.createElement("div",{className:"scm-body"},e.createElement("div",{className:"scm-grid-container"},Object.entries(C).map(([k,f])=>e.createElement("div",{key:k,className:"scm-category-group"},e.createElement("div",{className:"scm-char-grid"},f.map(x=>e.createElement("button",{key:x.code,className:"scm-char-btn",onClick:()=>{a(x.char),n()},title:`U+${x.code}`},x.char))))),u.length===0&&e.createElement("div",{className:"scm-no-results"},"No characters found.")))))}const ze={version:"1.0.21"};window.__cme_macros={...window.__cme_macros,cmeLeftRightAbove:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{}}",args:1},cmeLeftRightBelow:{def:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#1}}}",args:1},cmeLeftRightBoth:{def:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#1}]{\\class{cme-flip-v}{#2}}}",args:2},cmeWideHat:{def:"\\class{cme-wide-hat-text}{#1}",args:1},notin:{def:"\\mathrel{\\char`∉}"},notni:{def:"\\mathrel{\\char`∌}"}},typeof window<"u"&&(window.MathfieldElement?window.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts":Ee.MathfieldElement&&(Ee.MathfieldElement.fontsDirectory="https://cdn.jsdelivr.net/npm/mathlive/dist/fonts")),window.__ckMathWidgets=window.__ckMathWidgets||new Map,window.__ckMathWidgetClickHandler=null;function je(l){var a,h,o,c,m;if(!l)return null;const n=typeof l.composedPath=="function"?l.composedPath():[l];for(const d of n)if(d instanceof HTMLElement&&((a=d.classList)!=null&&a.contains("ck-math-widget")||(h=d.dataset)!=null&&h.mathId||(o=d.classList)!=null&&o.contains("ck-widget")&&((c=d.querySelector)!=null&&c.call(d,".ck-math-widget-inner"))))return d;return l instanceof Element?(m=l.closest)==null?void 0:m.call(l,".ck-math-widget, [data-math-id]"):null}function de(l){if(!l)return"";let n="",a=0;for(;a<l.length;){let h=l.indexOf("\\placeholder",a);if(h===-1){n+=l.slice(a);break}if(n+=l.slice(a,h),a=h+12,l[a]==="["){let o=1;for(a++;a<l.length&&o>0;)l[a]==="["?o++:l[a]==="]"&&o--,a++}if(l[a]==="{"){let o=1,c=a+1;for(a++;a<l.length&&o>0;)l[a]==="{"?o++:l[a]==="}"&&o--,a++;let m=l.slice(c,a-1);m.trim()===""?n+="\\quad ":n+=m}}return n}function X(l){let n="",a=0;const h="\\text{";for(;a<l.length;){const o=l.indexOf(h,a);if(o===-1){n+=l.slice(a);break}n+=l.slice(a,o);let c=1,m=o+h.length;for(;m<l.length&&c>0;)l[m]==="{"?c++:l[m]==="}"&&c--,m++;const d=l.slice(o+h.length,m-1);/^['"/]+$/.test(d)||d.includes("\\textquotedbl")||d.includes("\\textquotesingle")?n+="\\text{"+d+"}":n+=d,a=m}return n}function Se(l,n){let a=0,h=n-1;for(;h>=0&&l[h]==="\\";)a++,h--;return a%2===1}function Le(l){if(!l||typeof l!="string")return l||"";let n=l;const a=["\\mathbfit{","\\boldsymbol{","\\mathbf{","\\mathit{","\\mathrm{","\\textbf{","\\textit{","\\textmd{","\\textnormal{","\\text{","\\mbox{","\\bm{","\\bold{","\\pmb{","\\mathsf{","\\mathtt{"];let h=!0,o=0;for(;h&&o<10;){h=!1,o++;for(const c of a){let m=0;for(;m<n.length;){const d=n.indexOf(c,m);if(d===-1)break;let u=1,C=d+c.length;for(;C<n.length&&u>0;)n[C]==="{"&&!Se(n,C)?u++:n[C]==="}"&&!Se(n,C)&&u--,C++;if(u===0){const p=n.slice(d+c.length,C-1);n=n.slice(0,d)+p+n.slice(C),h=!0,m=d}else m=d+c.length}}}return n}function Qe(l){return!l||typeof l!="string"?!1:[/[\^_]/,/\\frac\b/,/\\tfrac\b/,/\\nicefrac\b/,/\\sqrt\b/,/\\ce\b/,/\\int\b/,/\\iint\b/,/\\iiint\b/,/\\oint\b/,/\\sum\b/,/\\prod\b/,/\\lim\b/,/\\begin\b/,/\\enclose\b/,/\\placeholder\b/,/\\over\b/,/\\vec\b/,/\\hat\b/,/\\tilde\b/,/\\bar\b/,/\\dot\b/,/\\ddot\b/,/\\underbrace\b/,/\\overbrace\b/,/\\overset\b/,/\\underset\b/,/\\raisebox\b/,/\\lowerbox\b/,/\\left\b/,/\\right\b/,/\\class\b/,/\\style\b/,/\\(LARGE|Large|large|scriptsize|tiny|small|huge|Huge|footnotesize|normalsize)\b/,/\\alpha\b|\\beta\b|\\gamma\b|\\delta\b|\\epsilon\b|\\zeta\b|\\eta\b|\\theta\b|\\iota\b|\\kappa\b|\\lambda\b|\\mu\b|\\nu\b|\\xi\b|\\pi\b|\\rho\b|\\sigma\b|\\tau\b|\\upsilon\b|\\phi\b|\\chi\b|\\psi\b|\\omega\b/,/\\Gamma\b|\\Delta\b|\\Theta\b|\\Lambda\b|\\Xi\b|\\Pi\b|\\Sigma\b|\\Upsilon\b|\\Phi\b|\\Psi\b|\\Omega\b/,/\\pm\b|\\times\b|\\div\b|\\leq\b|\\geq\b|\\neq\b|\\approx\b|\\infty\b|\\partial\b|\\to\b|\\rightarrow\b/].some(a=>a.test(l))}function Xe(l,n){return l?Qe(l)?l:(n==null?void 0:n.fontFamily)==="sans-serif"?`\\mathsf{${l}}`:(n==null?void 0:n.fontFamily)==="monospace"?`\\mathtt{${l}}`:(n==null?void 0:n.fontFamily)==="roman"?`\\mathrm{${l}}`:l:""}function Te(l,n,a,h){if(!l)return"";if(!n&&!a)return Xe(l,{fontFamily:h});const o=h==="sans-serif",c=h==="monospace",m=h==="roman";return n&&a?o?`\\boldsymbol{\\mathsf{${l}}}`:c?`\\boldsymbol{\\mathtt{${l}}}`:m?`\\mathbfit{\\mathrm{${l}}}`:`\\mathbfit{${l}}`:n?o?`\\boldsymbol{\\mathsf{${l}}}`:c?`\\boldsymbol{\\mathtt{${l}}}`:m?`\\mathbf{\\mathrm{${l}}}`:`\\mathbf{${l}}`:a?o?`\\mathsf{${l}}`:c?`\\mathtt{${l}}`:m?`\\mathit{\\mathrm{${l}}}`:`\\mathit{${l}}`:l}function te(l,n,a,h){if(!l)return"";let o=l.trim();const c=o.match(/^\\displaylines\s*\{([\s\S]*)\}$/i);if(c&&(o=c[1].trim()),o.match(/^\\begin\{(array|matrix|pmatrix|bmatrix|vmatrix|Vmatrix|align|aligned|gather|cases)\}([\s\S]*)\\end\{\1\}$/i))return o;const d=o.match(/^\\begin\{(array|gather)\}(\{[\s\S]*?\})?([\s\S]*?)\\end\{\1\}$/i);if(d&&(o=d[3].trim()),/\\\\|\\cr|\\newline|\\par|\n/.test(o)){const u=/\\\\(?:\[[^\]]*\])?|\\cr|\\newline|\\par|\n/;return o.split(u).map(p=>{const A=p.trim();return A?Te(A,n,a,h):""}).filter(p=>p.length>0).join(" \\\\ ")}return Te(o,n,a,h)}function le(l){return l.replace(/\\enclose\{([^}]*)\}\[.*?\]/g,"\\enclose{$1}")}function pe(l=""){return typeof l!="string"?l:l.replace(/\\textasciitilde/g,"\\text{~}").replace(/\\textasciicircum/g,"\\text{^}").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`")}function re(l){if(!l)return"";const n=l.getAttribute("data-latex");if(n)return n;const a=l.querySelector("math-field");return a?a.getValue?a.getValue("latex-expanded"):a.value||"":""}function We(l,n){if(!l||!n)return!1;try{return l.model.createPositionBefore(n),!0}catch{return!1}}function _e(l,n){var d;if(!l||!n)return null;const a=l.model.document.selection.getSelectedElement();if((a==null?void 0:a.name)==="mathInline")return a;const h=n.getAttribute("data-math-id");if(h){const u=window.__ckMathWidgets.get(h);if(We(l,u))return u}const o=l.editing.view.domConverter.mapDomToView(n);if(o){const u=l.editing.mapper.toModelElement(o);if((u==null?void 0:u.name)==="mathInline")return u}const c=re(n);if(!c)return null;const m=l.model.document.getRoot();for(const{item:u}of l.model.createRangeIn(m))if((d=u.is)!=null&&d.call(u,"element","mathInline")&&u.getAttribute("latex")===c)return u;return null}function Ie(l,n,a,h){if(!l||l._mathWidgetOpening)return;l._mathWidgetOpening=!0,queueMicrotask(()=>{l._mathWidgetOpening=!1});const o=We(l,n)?n:_e(l,h),c=(o==null?void 0:o.getAttribute("latex"))||a||re(h);if(!c)return;o&&l.model.change(d=>{d.setSelection(o,"on")});const m=l.mathWidgetClickHandler||window.__ckMathWidgetClickHandler;m&&m(o,c),window.dispatchEvent(new CustomEvent("editAneesWidget",{detail:{editor:l,modelElement:o,latex:c}}))}function Ke(l,n){if(!n||n._ckMathClickBound)return;n._ckMathClickBound=!0;const a=h=>{var o;h.button===0&&(h.preventDefault(),h.stopPropagation(),(o=h.stopImmediatePropagation)==null||o.call(h),Ie(l,null,re(n),n))};n.addEventListener("mousedown",a,!0),n.addEventListener("click",a,!0)}const Ye=[{label:"√(□)",fontSize:"9px",mathLabel:"\\sqrt{\\square} \\, \\frac{#0}{#?}",items:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\LARGE {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:1},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"22",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"10",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"10",width:"12",height:"22",rx:"2"}),e.createElement("rect",{x:"28",y:"28",width:"12",height:"22",rx:"2",opacity:"0.45"})),insert:"#0_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript"},{type:"sep",cols:2},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0},{label:"+",insert:"+",title:"Plus"},{label:"/",insert:"/",title:"Divide"},{label:"×",insert:"\\times",title:"Multiply"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{type:"sep",cols:2,small:!0},{label:"≥",insert:"\\geq",title:"Greater than or equal to"},{label:"≤",insert:"\\leq",title:"Less than or equal to"},{label:"∈",insert:"\\in",title:"Element of"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{type:"sep",cols:1,small:!0},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"π",insert:"\\pi",title:"Pi"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement($.FontAwesomeIcon,{icon:R.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement($.FontAwesomeIcon,{icon:R.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:fe,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:ve,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"\\partial",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\napprox",title:"Not almost equal to"},{label:"≢",insert:"\\nequiv",title:"Not identical to"},{label:"≁",insert:"\\nsim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\notni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\LARGE {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"\\partial",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{\\partial#?}{\\partial #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"22",y:"54",transform:"skewX(-15)",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}],Ge=[{label:"H₂O",isChem:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"Δ",insert:"\\Delta",title:"Increment / Delta"},{label:"mol",insert:"\\mathrm{mol}",title:"Mathrm mol"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Single bond"},{label:"=",insert:"=",title:"Double bond"},{label:"≡",insert:"\\equiv",title:"Triple bond"},{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript and underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 26 L 56 26 M 44 14 L 56 26 M 56 38 L 8 38 M 20 50 L 8 38",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"24",y:"50",width:"16",height:"12",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript and underscript"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"}]},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 L 44 44",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightarrow",title:"Right arrow"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 44 L 56 44 M 44 32 L 56 44 L 44 56",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"12",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 20 L 56 20 M 44 8 L 56 20 L 44 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"36",width:"16",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right arrow with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 24 L 56 24 M 44 12 L 56 24 M 56 40 L 8 40 M 20 52 L 8 40",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftharpoons",title:"Equilibrium"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 32 L 56 32 M 44 20 L 56 32 M 56 48 L 8 48 M 20 60 L 8 48",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"2",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with overscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 16 L 56 16 M 44 4 L 56 16 M 56 32 L 8 32 M 20 44 L 8 32",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"24",y:"48",width:"16",height:"14",rx:"2",stroke:"#2E7D32",strokeWidth:"4",fill:"none"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium with underscript"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("path",{d:"M 8 22 L 56 22 M 46 12 L 56 22 L 46 32 M 56 42 L 8 42 M 18 32 L 8 42 L 18 52",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"})),insert:"\\rightleftarrows",title:"Right left arrows"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"20",height:"20",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{type:"sep",cols:1,small:!0},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2",strokeWidth:"4"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{ #? \\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly brackets"},{type:"sep",cols:2},{label:"↶",action:"UNDO",title:"Undo"},{label:"↷",action:"REDO",title:"Redo"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("circle",{cx:"6",cy:"6",r:"3"}),e.createElement("circle",{cx:"6",cy:"18",r:"3"}),e.createElement("line",{x1:"20",y1:"4",x2:"8.12",y2:"15.88"}),e.createElement("line",{x1:"14.47",y1:"14.48",x2:"20",y2:"20"}),e.createElement("line",{x1:"8.12",y1:"8.12",x2:"12",y2:"12"})),action:"CUT",title:"Cut"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),e.createElement("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})),action:"COPY",title:"Copy"},{label:e.createElement("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2"},e.createElement("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),e.createElement("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"})),action:"PASTE",title:"Paste"},{type:"sep",cols:2},{label:e.createElement($.FontAwesomeIcon,{icon:R.faBold}),action:"BOLD",cls:"template",title:"Bold"},{label:e.createElement($.FontAwesomeIcon,{icon:R.faItalic}),action:"ITALIC",cls:"template",title:"Italic"},{label:e.createElement("img",{src:fe,alt:"Omega",width:"18",height:"18",style:{display:"block"}}),title:"Insert Special Character",action:"SPECIAL_CHARS"},{label:e.createElement("img",{src:ve,alt:"Palette",width:"18",height:"18",style:{display:"block"}}),action:"TEXT_COLOR",title:"Text Color"},{type:"sep",cols:1},{type:"dropdown",label:"Font..."},{type:"dropdown",label:"Size"}]},{label:"∈ ∞",items:[{type:"sep",cols:1,small:!0},{label:"⌿",insert:"\\cancel{#?}",isWidget:!0,title:"Cancel strike"},{type:"sep",cols:3,small:!0,moreItems:[{label:"∖",insert:"\\setminus",title:"Set minus"},{label:"\\",insert:"\\backslash",title:"Reverse solidus"},{label:"∓",insert:"\\mp",title:"Minus or plus"}]},{label:"+",insert:"+",title:"Plus"},{label:"×",insert:"\\times",title:"Multiply"},{label:"·",insert:"\\cdot",title:"Dot product"},{label:"−",insert:"-",title:"Minus"},{label:"÷",insert:"\\div",title:"Divide sign"},{label:"/",insert:"/",title:"Slash"},{label:"±",insert:"\\pm",title:"Plus-minus"},{label:"*",insert:"*",title:"Asterisk"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:3,small:!0,moreItems:[{label:"‴",insert:"\\prime\\prime\\prime",title:"Triple prime"},{label:"⁗",insert:"\\prime\\prime\\prime\\prime",title:"Quadruple prime"},{label:"‵",insert:"\\backprime",title:"Reversed prime"}]},{label:"π",insert:"\\pi",title:"Pi"},{label:"∂",insert:"\\partial",title:"Partial derivative"},{label:"°",insert:"^\\circ",title:"Degree"},{label:"∞",insert:"\\infty",title:"Infinity"},{label:"Δ",insert:"\\Delta",title:"Delta"},{label:"'",insert:"'",title:"Prime"},{label:"∅",insert:"\\emptyset",title:"Empty set"},{label:"∇",insert:"\\nabla",title:"Nabla / Gradient"},{label:"''",insert:"''",title:"Double prime"},{type:"sep",cols:2,moreCols:2,small:!0,moreItems:[{label:"≠",insert:"\\neq",title:"Not equal"},{label:"≉",insert:"\\not\\approx",title:"Not almost equal to"},{label:"≢",insert:"\\not\\equiv",title:"Not identical to"},{label:"≁",insert:"\\not\\sim",title:"Not similar"}]},{label:"=",insert:"=",title:"Equals"},{label:"≡",insert:"\\equiv",title:"Equivalent"},{label:"∼",insert:"\\sim",title:"Similar to"},{label:"≈",insert:"\\approx",title:"Approximately equal"},{label:"≃",insert:"\\simeq",title:"Asymptotically equal"},{label:"≅",insert:"\\cong",title:"Congruent"},{type:"sep",cols:2,small:!0,moreCols:3,moreItems:[{label:"≨",insert:"\\lneqq",title:"Less than but not equal to"},{label:"≫",insert:"\\gg",title:"Much greater than"},{label:"≻",insert:"\\succ",title:"Succeeds"},{label:"≩",insert:"\\gneqq",title:"Greater than but not equal to"},{label:"∝",insert:"\\propto",title:"Proportional to"},{label:"⊲",insert:"\\triangleleft",title:"Normal subgroup of"},{label:"≪",insert:"\\ll",title:"Much less than"},{label:"≺",insert:"\\prec",title:"Precedes"},{label:"⊳",insert:"\\triangleright",title:"Contains as normal subgroup"}]},{label:">",insert:">",title:"Greater than"},{label:"<",insert:"<",title:"Less than"},{label:"≥",insert:"\\geq",title:"Greater than or equal"},{label:"≤",insert:"\\leq",title:"Less than or equal"},{label:"⩾",insert:"\\geqslant",title:"Greater than or equal slant"},{label:"⩽",insert:"\\leqslant",title:"Less than or equal slant"},{type:"sep",cols:2,small:!0,moreCols:4,moreItems:[{label:"∉",insert:"\\notin",title:"Not an element of"},{label:"∌",insert:"\\not\\ni",title:"Does not contain as member"},{label:"⊆",insert:"\\subseteq",title:"Subset of or equal to"},{label:"⊇",insert:"\\supseteq",title:"Superset of or equal to"},{label:"⊏",insert:"\\sqsubset",title:"Square image of"},{label:"⊐",insert:"\\sqsupset",title:"Square original of"},{label:"⊑",insert:"\\sqsubseteq",title:"Square image of or equal to"},{label:"⊒",insert:"\\sqsupseteq",title:"Square original of or equal to"},{label:"⊓",insert:"\\sqcap",title:"Square intersection"},{label:"⊔",insert:"\\sqcup",title:"Square union"}]},{label:"∈",insert:"\\in",title:"Element of"},{label:"∋",insert:"\\ni",title:"Contains as member"},{label:"∪",insert:"\\cup",title:"Union"},{label:"∩",insert:"\\cap",title:"Intersection"},{label:"⊂",insert:"\\subset",title:"Subset"},{label:"⊃",insert:"\\supset",title:"Superset"},{type:"sep",cols:2,small:!0,moreCols:1,moreItems:[{label:"∴",insert:"\\therefore",title:"Therefore"},{label:"∵",insert:"\\because",title:"Because"}]},{label:"∧",insert:"\\land",title:"Logical AND"},{label:"∨",insert:"\\lor",title:"Logical OR"},{label:"¬",insert:"\\neg",title:"Logical NOT"},{label:"∀",insert:"\\forall",title:"For all"},{label:"∃",insert:"\\exists",title:"Exists"},{label:"∄",insert:"\\nexists",title:"Does not exist"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"∦",insert:"\\nparallel",title:"Not parallel to"},{label:"⋄",insert:"\\diamond",title:"Diamond"},{label:"∡",insert:"\\measuredangle",title:"Measured angle"},{label:"∢",insert:"\\sphericalangle",title:"Spherical angle"}]},{label:"∠",insert:"\\angle",title:"Angle"},{label:"∥",insert:"\\parallel",title:"Parallel"},{label:"⊥",insert:"\\perp",title:"Perpendicular"},{type:"sep",cols:1,small:!0,moreCols:1,moreItems:[{label:"▭",insert:"▭",title:"Rectangle"},{label:"▱",insert:"▱",title:"Parallelogram"}]},{label:"□",insert:"\\square",title:"Square"},{label:"△",insert:"\\triangle",title:"Triangle"},{label:"○",insert:"\\circ",title:"Circle"},{type:"sep",cols:1,small:!0,moreCols:2,moreItems:[{label:"⊝",insert:"⊝",title:"Circled dash"},{label:"•",insert:"\\bullet",title:"Bullet"},{label:"⊛",insert:"⊛",title:"Circled asterisk"},{label:"⨸",insert:"⨸",title:"Circled division"}]},{label:"⊕",insert:"\\oplus",title:"Direct sum / Circled plus"},{label:"⊗",insert:"\\otimes",title:"Tensor product / Circled times"},{label:"⊙",insert:"\\odot",title:"Circled dot operator"}]},{label:"→ ⋰",isTemplate:!0,items:[{type:"sep",cols:3,small:!0,cls:"cme-trig-subgroup",moreCols:11,moreItems:[{label:"↗",insert:"\\nearrow",title:"North east arrow"},{label:"↘",insert:"\\searrow",title:"South east arrow"},{label:"↖",insert:"\\nwarrow",title:"North west arrow"},{label:"↙",insert:"\\swarrow",title:"South west arrow"},{label:"⤡",insert:"\\nwsearrow",title:"North west and south east arrow"},{label:"⤢",insert:"\\neswarrow",title:"North east and south west arrow"},{label:"↩",insert:"\\hookleftarrow",title:"Leftwards arrow with hook"},{label:"↪",insert:"\\hookrightarrow",title:"Rightwards arrow with hook"},{label:"↼",insert:"\\leftharpoonup",title:"Leftwards harpoon with barb upwards"},{label:"⇀",insert:"\\rightharpoonup",title:"Rightwards harpoon with barb upwards"},{label:"↑",insert:"\\uparrow",title:"Upwards arrow"},{label:"↓",insert:"\\downarrow",title:"Downwards arrow"},{label:"⇑",insert:"\\Uparrow",title:"Upwards double arrow"},{label:"⇓",insert:"\\Downarrow",title:"Downwards double arrow"},{label:"⥪",insert:"⥪",title:"Leftwards harpoon over dash"},{label:"⥭",insert:"⥭",title:"Dash over rightwards harpoon"},{label:"⇋",insert:"\\leftrightharpoons",title:"Leftwards harpoon over rightwards harpoon"},{label:"⇌",insert:"\\rightleftharpoons",title:"Rightwards harpoon over leftwards harpoon"},{label:"↽",insert:"\\leftharpoondown",title:"Leftwards harpoon with barb downwards"},{label:"⇁",insert:"\\rightharpoondown",title:"Rightwards harpoon with barb downwards"},{label:"⇆",insert:"\\leftrightarrows",title:"Leftwards arrow over rightwards arrow"},{label:"⇄",insert:"\\rightleftarrows",title:"Rightwards arrow over leftwards arrow"},{label:"⇅",insert:"\\updownarrows",title:"Upwards arrow leftwards of downwards arrow"},{label:"⇵",insert:"\\downuparrows",title:"Downwards arrow leftwards of upwards arrow"},{label:"⥮",insert:"\\upharpoonleftdownharpoonright",title:"Up harpoon left down harpoon right"},{label:"⥯",insert:"\\downharpoonleftupharpoonright",title:"Down harpoon left up harpoon right"},{label:"⥂",insert:"⥂",title:"Rightwards arrow over short leftwards arrow"},{label:"⥄",insert:"⥄",title:"Short rightwards arrow over leftwards arrow"},{label:"↕",insert:"\\updownarrow",title:"Up-down arrow"},{label:"⇕",insert:"\\Updownarrow",title:"Up-down double arrow"},{label:"↵",insert:"\\hookleftarrow",title:"Downwards arrow with corner leftwards"}]},{label:"←",insert:"\\leftarrow",title:"Left arrow"},{label:"→",insert:"\\rightarrow",title:"Right arrow"},{label:"↔",insert:"\\leftrightarrow",title:"Left-right arrow"},{label:"⇐",insert:"\\Leftarrow",title:"Left double arrow"},{label:"⇒",insert:"\\Rightarrow",title:"Right double arrow"},{label:"⇔",insert:"\\Leftrightarrow",title:"Left-right double arrow"},{label:"↤",insert:"\\mapsfrom",title:"Leftwards arrow from bar"},{label:"↦",insert:"\\mapsto",title:"Rightwards arrow from bar"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋯",insert:"\\cdots",title:"Middle line horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:"-",insert:"-",title:"Short dash (hyphen)"},{label:"–",insert:"–",title:"En dash"},{label:"—",insert:"—",title:"Em dash"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreCols:11,moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 30L6 38L18 46V40H26V36H18V30Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 30L58 38L46 46V40H38V36H46V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"24",x2:"52",y2:"24",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 16L6 24L18 32V26H26V22H18V16Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 16L58 24L46 32V26H38V22H46V16Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"38",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M18 24L6 32L18 40V34H26V30H18V24Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M46 24L58 32L46 40V34H38V30H46V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"30",x2:"52",y2:"30",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 22L12 30L24 38V32H34V28H24V22Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"44",x2:"46",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 36L52 44L40 52V46H30V42H40V36Z",fill:"#222",stroke:"none"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"20",x2:"52",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 12L12 20L24 28V22H34V18H24V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"34",x2:"46",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 26L52 34L40 42V36H30V32H40V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"26",x2:"52",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 18L12 26L24 34V28H34V24H24V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"12",y1:"40",x2:"46",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 32L52 40L40 48V42H30V38H40V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\class{cme-flip-v}{\\xtofrom[\\class{cme-flip-v}{#?}]{\\class{cme-flip-v}{#?}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"})),insert:"\\xleftrightarrows{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"46",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 12L52 20L40 28V22H30V18H40V12Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"34",x2:"52",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 26L12 34L24 42V36H34V32H24V26Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"40",x2:"52",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 32L12 40L24 48V42H34V38H24V32Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightarrows[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Equilibrium Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xleftrightharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"27",x2:"56",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 19L12 27L22 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"8",y1:"37",x2:"52",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 45L52 37L42 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xleftrightharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Right Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\xrightleftharpoons{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"8",y1:"27",x2:"52",y2:"27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M42 19L52 27L42 27",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("line",{x1:"12",y1:"37",x2:"56",y2:"37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 45L12 37L22 37",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"28",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\xrightleftharpoons[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Harpoons with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"26",x2:"46",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M40 18L52 26L40 34V28H30V24H40V18Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"42",x2:"34",y2:"42",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 34L12 42L24 50V44H30V40H24V34Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\underset{\\leftarrow}{\\rightarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"})),insert:"\\overset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Label Below"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"24",y1:"28",x2:"42",y2:"28",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 20L48 28L36 36V30H30V26H36V20Z",fill:"#222",stroke:"none"}),e.createElement("line",{x1:"18",y1:"44",x2:"42",y2:"44",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 36L12 44L24 52V46H30V42H24V36Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"46",width:"10",height:"16",rx:"2"})),insert:"\\overset{#?}{\\underset{#?}{\\overset{\\rightarrow}{\\leftarrow}}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Left Arrows with Above and Below Labels"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"38",x2:"42",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 30L48 38L36 46V40H28V36H36V30Z",fill:"#222",stroke:"none"})),insert:"\\xrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"12",y1:"20",x2:"42",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 12L48 20L36 28V22H28V18H36V12Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"34",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with underscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"12",y1:"32",x2:"42",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 24L48 32L36 40V34H28V30H36V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xrightarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Arrow with Above and Below Labels"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#222"}},e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"})),insert:"\\leftarrow",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"38",x2:"52",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 30L12 38L24 46V40H34V36H24V30Z",fill:"#222",stroke:"none"})),insert:"\\xleftarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Label Above"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"2",width:"10",height:"16",rx:"2"}),e.createElement("line",{x1:"18",y1:"32",x2:"52",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M24 24L12 32L24 40V34H34V30H24V24Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"44",width:"10",height:"16",rx:"2"})),insert:"\\xleftarrow[#?]{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left Arrow with Above and Below Labels"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"24",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Harpoon"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"14",x2:"48",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M22 6L10 14L22 22V16H28V12H22V6Z",fill:"#222",stroke:"none"}),e.createElement("path",{d:"M42 6L54 14L42 22V16H34V12H42V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Left Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"42",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M36 6L48 14L36 22V16H30V12H36V6Z",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Top Right Arrow"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"20",y1:"14",x2:"44",y2:"14",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"24",y:"24",width:"18",height:"20",rx:"2"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Overline"}]},{label:"α Ω",isTemplate:!0,items:[{type:"sep",cols:10,small:!0,cls:"cme-dark-large",moreCols:8,moreItems:[{label:"Α",insert:"A",title:"Capital Alpha"},{label:"Β",insert:"B",title:"Capital Beta"},{label:"Γ",insert:"\\Gamma",title:"Capital Gamma"},{label:"Δ",insert:"\\Delta",title:"Capital Delta"},{label:"Ε",insert:"E",title:"Capital Epsilon"},{label:"Ζ",insert:"Z",title:"Capital Zeta"},{label:"Η",insert:"H",title:"Capital Eta"},{label:"Θ",insert:"\\Theta",title:"Capital Theta"},{label:"Ι",insert:"I",title:"Capital Iota"},{label:"Κ",insert:"K",title:"Capital Kappa"},{label:"Λ",insert:"\\Lambda",title:"Capital Lambda"},{label:"Μ",insert:"M",title:"Capital Mu"},{label:"Ν",insert:"N",title:"Capital Nu"},{label:"Ξ",insert:"\\Xi",title:"Capital Xi"},{label:"Ο",insert:"O",title:"Capital Omicron"},{label:"Π",insert:"\\Pi",title:"Capital Pi"},{label:"Ρ",insert:"P",title:"Capital Rho"},{label:"Σ",insert:"\\Sigma",title:"Capital Sigma"},{label:"Τ",insert:"T",title:"Capital Tau"},{label:"Υ",insert:"\\Upsilon",title:"Capital Upsilon"},{label:"Φ",insert:"\\Phi",title:"Capital Phi"},{label:"Χ",insert:"X",title:"Capital Chi"},{label:"Ψ",insert:"\\Psi",title:"Capital Psi"},{label:"Ω",insert:"\\Omega",title:"Capital Omega"}]},{label:"α",insert:"\\alpha",title:"Alpha"},{label:"β",insert:"\\beta",title:"Beta"},{label:"γ",insert:"\\gamma",title:"Gamma"},{label:"δ",insert:"\\delta",title:"Delta"},{label:"ε",insert:"\\epsilon",title:"Epsilon"},{label:"ζ",insert:"\\zeta",title:"Zeta"},{label:"η",insert:"\\eta",title:"Eta"},{label:"θ",insert:"\\theta",title:"Theta"},{label:"ϑ",insert:"\\vartheta",title:"Vartheta"},{label:"ι",insert:"\\iota",title:"Iota"},{label:"κ",insert:"\\kappa",title:"Kappa"},{label:"λ",insert:"\\lambda",title:"Lambda"},{label:"μ",insert:"\\mu",title:"Mu"},{label:"ν",insert:"\\nu",title:"Nu"},{label:"ξ",insert:"\\xi",title:"Xi"},{label:"ο",insert:"o",title:"Omicron"},{label:"π",insert:"\\pi",title:"Pi"},{label:"ϖ",insert:"\\varpi",title:"Varpi"},{label:"ρ",insert:"\\rho",title:"Rho"},{label:"ϱ",insert:"\\varrho",title:"Varrho"},{label:"ς",insert:"\\varsigma",title:"Varsigma"},{label:"σ",insert:"\\sigma",title:"Sigma"},{label:"τ",insert:"\\tau",title:"Tau"},{label:"υ",insert:"\\upsilon",title:"Upsilon"},{label:"φ",insert:"\\phi",title:"Phi"},{label:"χ",insert:"\\chi",title:"Chi"},{label:"ψ",insert:"\\psi",title:"Psi"},{label:"ω",insert:"\\omega",title:"Omega"},{type:"sep",cols:2,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔸",insert:"\\mathbb{A}",title:"Mathbb A"},{label:"𝔻",insert:"\\mathbb{D}",title:"Mathbb D"},{label:"𝔾",insert:"\\mathbb{G}",title:"Mathbb G"},{label:"𝕁",insert:"\\mathbb{J}",title:"Mathbb J"},{label:"𝕄",insert:"\\mathbb{M}",title:"Mathbb M"},{label:"ℙ",insert:"\\mathbb{P}",title:"Mathbb P"},{label:"𝕊",insert:"\\mathbb{S}",title:"Mathbb S"},{label:"𝕍",insert:"\\mathbb{V}",title:"Mathbb V"},{label:"𝕐",insert:"\\mathbb{Y}",title:"Mathbb Y"},{label:"𝕒",insert:"𝕒",title:"Mathbb a"},{label:"𝕕",insert:"𝕕",title:"Mathbb d"},{label:"𝕘",insert:"𝕘",title:"Mathbb g"},{label:"𝕛",insert:"𝕛",title:"Mathbb j"},{label:"𝕞",insert:"𝕞",title:"Mathbb m"},{label:"𝕡",insert:"𝕡",title:"Mathbb p"},{label:"𝕤",insert:"𝕤",title:"Mathbb s"},{label:"𝕧",insert:"𝕧",title:"Mathbb v"},{label:"𝕪",insert:"𝕪",title:"Mathbb y"},{label:"𝔹",insert:"\\mathbb{B}",title:"Mathbb B"},{label:"𝔼",insert:"\\mathbb{E}",title:"Mathbb E"},{label:"ℍ",insert:"\\mathbb{H}",title:"Mathbb H"},{label:"𝕂",insert:"\\mathbb{K}",title:"Mathbb K"},{label:"ℕ",insert:"\\mathbb{N}",title:"Mathbb N"},{label:"ℚ",insert:"\\mathbb{Q}",title:"Mathbb Q"},{label:"𝕋",insert:"\\mathbb{T}",title:"Mathbb T"},{label:"𝕎",insert:"\\mathbb{W}",title:"Mathbb W"},{label:"ℤ",insert:"\\mathbb{Z}",title:"Mathbb Z"},{label:"𝕓",insert:"𝕓",title:"Mathbb b"},{label:"𝕖",insert:"𝕖",title:"Mathbb e"},{label:"𝕙",insert:"𝕙",title:"Mathbb h"},{label:"𝕜",insert:"𝕜",title:"Mathbb k"},{label:"𝕟",insert:"𝕟",title:"Mathbb n"},{label:"𝕢",insert:"𝕢",title:"Mathbb q"},{label:"𝕥",insert:"𝕥",title:"Mathbb t"},{label:"𝕨",insert:"𝕨",title:"Mathbb w"},{label:"𝕫",insert:"𝕫",title:"Mathbb z"},{label:"ℂ",insert:"\\mathbb{C}",title:"Mathbb C"},{label:"𝔽",insert:"\\mathbb{F}",title:"Mathbb F"},{label:"𝕀",insert:"\\mathbb{I}",title:"Mathbb I"},{label:"𝕃",insert:"\\mathbb{L}",title:"Mathbb L"},{label:"𝕆",insert:"\\mathbb{O}",title:"Mathbb O"},{label:"ℝ",insert:"\\mathbb{R}",title:"Mathbb R"},{label:"𝕌",insert:"\\mathbb{U}",title:"Mathbb U"},{label:"𝕏",insert:"\\mathbb{X}",title:"Mathbb X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝕔",insert:"𝕔",title:"Mathbb c"},{label:"𝕗",insert:"𝕗",title:"Mathbb f"},{label:"𝕚",insert:"𝕚",title:"Mathbb i"},{label:"𝕝",insert:"𝕝",title:"Mathbb l"},{label:"𝕠",insert:"𝕠",title:"Mathbb o"},{label:"𝕣",insert:"𝕣",title:"Mathbb r"},{label:"𝕦",insert:"𝕦",title:"Mathbb u"},{label:"𝕩",insert:"𝕩",title:"Mathbb x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"ℕ",insert:"ℕ",title:"Mathbb N"},{label:"ℤ",insert:"ℤ",title:"Mathbb Z"},{label:"ℚ",insert:"ℚ",title:"Mathbb Q"},{label:"ℂ",insert:"ℂ",title:"Mathbb C"},{label:"ℝ",insert:"ℝ",title:"Mathbb R"},{label:"ℙ",insert:"ℙ",title:"Mathbb P"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔇",insert:"\\mathfrak{D}",title:"Mathfrak D"},{label:"𝔊",insert:"\\mathfrak{G}",title:"Mathfrak G"},{label:"𝔍",insert:"\\mathfrak{J}",title:"Mathfrak J"},{label:"𝔐",insert:"\\mathfrak{M}",title:"Mathfrak M"},{label:"𝔓",insert:"\\mathfrak{P}",title:"Mathfrak P"},{label:"𝔖",insert:"\\mathfrak{S}",title:"Mathfrak S"},{label:"𝔙",insert:"\\mathfrak{V}",title:"Mathfrak V"},{label:"𝔜",insert:"\\mathfrak{Y}",title:"Mathfrak Y"},{label:"𝔞",insert:"\\mathfrak{a}",title:"Mathfrak a"},{label:"𝔡",insert:"\\mathfrak{d}",title:"Mathfrak d"},{label:"𝔤",insert:"\\mathfrak{g}",title:"Mathfrak g"},{label:"𝔧",insert:"\\mathfrak{j}",title:"Mathfrak j"},{label:"𝔪",insert:"\\mathfrak{m}",title:"Mathfrak m"},{label:"𝔭",insert:"\\mathfrak{p}",title:"Mathfrak p"},{label:"𝔰",insert:"\\mathfrak{s}",title:"Mathfrak s"},{label:"𝔳",insert:"\\mathfrak{v}",title:"Mathfrak v"},{label:"𝔶",insert:"\\mathfrak{y}",title:"Mathfrak y"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"𝔈",insert:"\\mathfrak{E}",title:"Mathfrak E"},{label:"ℌ",insert:"\\mathfrak{H}",title:"Mathfrak H"},{label:"𝔎",insert:"\\mathfrak{K}",title:"Mathfrak K"},{label:"𝔑",insert:"\\mathfrak{N}",title:"Mathfrak N"},{label:"𝔔",insert:"\\mathfrak{Q}",title:"Mathfrak Q"},{label:"𝔗",insert:"\\mathfrak{T}",title:"Mathfrak T"},{label:"𝔚",insert:"\\mathfrak{W}",title:"Mathfrak W"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"𝔟",insert:"\\mathfrak{b}",title:"Mathfrak b"},{label:"𝔢",insert:"\\mathfrak{e}",title:"Mathfrak e"},{label:"𝔥",insert:"\\mathfrak{h}",title:"Mathfrak h"},{label:"𝔨",insert:"\\mathfrak{k}",title:"Mathfrak k"},{label:"𝔫",insert:"\\mathfrak{n}",title:"Mathfrak n"},{label:"𝔮",insert:"\\mathfrak{q}",title:"Mathfrak q"},{label:"𝔱",insert:"\\mathfrak{t}",title:"Mathfrak t"},{label:"𝔴",insert:"\\mathfrak{w}",title:"Mathfrak w"},{label:"𝔷",insert:"\\mathfrak{z}",title:"Mathfrak z"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{label:"𝔉",insert:"\\mathfrak{F}",title:"Mathfrak F"},{label:"ℑ",insert:"\\mathfrak{I}",title:"Mathfrak I"},{label:"𝔏",insert:"\\mathfrak{L}",title:"Mathfrak L"},{label:"𝔒",insert:"\\mathfrak{O}",title:"Mathfrak O"},{label:"ℜ",insert:"\\mathfrak{R}",title:"Mathfrak R"},{label:"𝔘",insert:"\\mathfrak{U}",title:"Mathfrak U"},{label:"𝔛",insert:"\\mathfrak{X}",title:"Mathfrak X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝔠",insert:"\\mathfrak{c}",title:"Mathfrak c"},{label:"𝔣",insert:"\\mathfrak{f}",title:"Mathfrak f"},{label:"𝔦",insert:"\\mathfrak{i}",title:"Mathfrak i"},{label:"𝔩",insert:"\\mathfrak{l}",title:"Mathfrak l"},{label:"𝔬",insert:"\\mathfrak{o}",title:"Mathfrak o"},{label:"𝔯",insert:"\\mathfrak{r}",title:"Mathfrak r"},{label:"𝔲",insert:"\\mathfrak{u}",title:"Mathfrak u"},{label:"𝔵",insert:"\\mathfrak{x}",title:"Mathfrak x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝔄",insert:"\\mathfrak{A}",title:"Mathfrak A"},{label:"𝔅",insert:"\\mathfrak{B}",title:"Mathfrak B"},{label:"ℭ",insert:"\\mathfrak{C}",title:"Mathfrak C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:18,moreItems:[{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"𝒟",insert:"\\mathcal{D}",title:"Mathcal D"},{label:"𝒢",insert:"\\mathcal{G}",title:"Mathcal G"},{label:"𝒥",insert:"\\mathcal{J}",title:"Mathcal J"},{label:"ℳ",insert:"\\mathcal{M}",title:"Mathcal M"},{label:"𝒫",insert:"\\mathcal{P}",title:"Mathcal P"},{label:"𝒮",insert:"\\mathcal{S}",title:"Mathcal S"},{label:"𝒱",insert:"\\mathcal{V}",title:"Mathcal V"},{label:"𝒴",insert:"\\mathcal{Y}",title:"Mathcal Y"},{label:"𝒶",insert:"𝒶",title:"Mathcal a"},{label:"𝒹",insert:"𝒹",title:"Mathcal d"},{label:"ℊ",insert:"ℊ",title:"Mathcal g"},{label:"𝒿",insert:"𝒿",title:"Mathcal j"},{label:"𝓂",insert:"𝓂",title:"Mathcal m"},{label:"𝓅",insert:"𝓅",title:"Mathcal p"},{label:"𝓈",insert:"𝓈",title:"Mathcal s"},{label:"𝓋",insert:"𝓋",title:"Mathcal v"},{label:"𝓎",insert:"𝓎",title:"Mathcal y"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"ℰ",insert:"\\mathcal{E}",title:"Mathcal E"},{label:"ℋ",insert:"\\mathcal{H}",title:"Mathcal H"},{label:"𝒦",insert:"\\mathcal{K}",title:"Mathcal K"},{label:"𝒩",insert:"\\mathcal{N}",title:"Mathcal N"},{label:"𝒬",insert:"\\mathcal{Q}",title:"Mathcal Q"},{label:"𝒯",insert:"\\mathcal{T}",title:"Mathcal T"},{label:"𝒲",insert:"\\mathcal{W}",title:"Mathcal W"},{label:"𝒵",insert:"\\mathcal{Z}",title:"Mathcal Z"},{label:"𝒷",insert:"𝒷",title:"Mathcal b"},{label:"ℯ",insert:"ℯ",title:"Mathcal e"},{label:"𝒽",insert:"𝒽",title:"Mathcal h"},{label:"𝓀",insert:"𝓀",title:"Mathcal k"},{label:"𝓃",insert:"𝓃",title:"Mathcal n"},{label:"𝓆",insert:"𝓆",title:"Mathcal q"},{label:"𝓉",insert:"𝓉",title:"Mathcal t"},{label:"𝓌",insert:"𝓌",title:"Mathcal w"},{label:"𝓏",insert:"𝓏",title:"Mathcal z"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"ℒ",insert:"\\mathcal{L}",title:"Mathcal L"},{label:"𝒪",insert:"\\mathcal{O}",title:"Mathcal O"},{label:"ℛ",insert:"\\mathcal{R}",title:"Mathcal R"},{label:"𝒰",insert:"\\mathcal{U}",title:"Mathcal U"},{label:"𝒳",insert:"\\mathcal{X}",title:"Mathcal X"},{label:" ",insert:"",cls:"cme-empty-btn",title:""},{label:"𝒸",insert:"𝒸",title:"Mathcal c"},{label:"𝒻",insert:"𝒻",title:"Mathcal f"},{label:"𝒾",insert:"𝒾",title:"Mathcal i"},{label:"𝓁",insert:"𝓁",title:"Mathcal l"},{label:"ℴ",insert:"ℴ",title:"Mathcal o"},{label:"𝓇",insert:"𝓇",title:"Mathcal r"},{label:"𝓊",insert:"𝓊",title:"Mathcal u"},{label:"𝓍",insert:"𝓍",title:"Mathcal x"},{label:" ",insert:"",cls:"cme-empty-btn",title:""}]},{label:"𝒜",insert:"\\mathcal{A}",title:"Mathcal A"},{label:"ℬ",insert:"\\mathcal{B}",title:"Mathcal B"},{label:"𝒞",insert:"\\mathcal{C}",title:"Mathcal C"},{type:"sep",cols:1,small:!0,cls:"cme-dark-large",moreCols:2,moreItems:[{label:"ℵ",insert:"\\aleph",title:"Aleph"},{label:"ℐ",insert:"\\mathcal{I}",title:"Mathcal I"},{label:"℘",insert:"\\wp",title:"Wp"},{label:"ℨ",insert:"\\mathfrak{Z}",title:"Mathfrak Z"},{label:"ℱ",insert:"\\mathcal{F}",title:"Mathcal F"}]},{label:"ℑ",insert:"\\Im",title:"Im"},{label:"ℜ",insert:"\\Re",title:"Re"},{label:"ℓ",insert:"\\ell",title:"Ell"},{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup",moreCols:18,moreItems:[{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"pt-unknown"},...Array.from({length:16},()=>({label:"",cls:"pt-empty"})),{label:"He",insert:"\\mathrm{He}",title:"Mathrm He",cls:"pt-noble"},{label:"Li",insert:"\\mathrm{Li}",title:"Mathrm Li",cls:"pt-alkali"},{label:"Be",insert:"\\mathrm{Be}",title:"Mathrm Be",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"B",insert:"\\mathrm{B}",title:"Mathrm B",cls:"pt-nonmetal"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"pt-nonmetal"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"pt-nonmetal"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"pt-nonmetal"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"pt-nonmetal"},{label:"Ne",insert:"\\mathrm{Ne}",title:"Mathrm Ne",cls:"pt-noble"},{label:"Na",insert:"\\mathrm{Na}",title:"Mathrm Na",cls:"pt-alkali"},{label:"Mg",insert:"\\mathrm{Mg}",title:"Mathrm Mg",cls:"pt-alkaline"},...Array.from({length:10},()=>({label:"",cls:"pt-empty"})),{label:"Al",insert:"\\mathrm{Al}",title:"Mathrm Al",cls:"pt-metalloid"},{label:"Si",insert:"\\mathrm{Si}",title:"Mathrm Si",cls:"pt-metalloid"},{label:"P",insert:"\\mathrm{P}",title:"Mathrm P",cls:"pt-nonmetal"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"pt-nonmetal"},{label:"Cl",insert:"\\mathrm{Cl}",title:"Mathrm Cl",cls:"pt-nonmetal"},{label:"Ar",insert:"\\mathrm{Ar}",title:"Mathrm Ar",cls:"pt-noble"},{label:"K",insert:"\\mathrm{K}",title:"Mathrm K",cls:"pt-alkali"},{label:"Ca",insert:"\\mathrm{Ca}",title:"Mathrm Ca",cls:"pt-alkaline"},{label:"Sc",insert:"\\mathrm{Sc}",title:"Mathrm Sc",cls:"pt-transition"},{label:"Ti",insert:"\\mathrm{Ti}",title:"Mathrm Ti",cls:"pt-transition"},{label:"V",insert:"\\mathrm{V}",title:"Mathrm V",cls:"pt-transition"},{label:"Cr",insert:"\\mathrm{Cr}",title:"Mathrm Cr",cls:"pt-transition"},{label:"Mn",insert:"\\mathrm{Mn}",title:"Mathrm Mn",cls:"pt-transition"},{label:"Fe",insert:"\\mathrm{Fe}",title:"Mathrm Fe",cls:"pt-transition"},{label:"Co",insert:"\\mathrm{Co}",title:"Mathrm Co",cls:"pt-transition"},{label:"Ni",insert:"\\mathrm{Ni}",title:"Mathrm Ni",cls:"pt-transition"},{label:"Cu",insert:"\\mathrm{Cu}",title:"Mathrm Cu",cls:"pt-transition"},{label:"Zn",insert:"\\mathrm{Zn}",title:"Mathrm Zn",cls:"pt-transition"},{label:"Ga",insert:"\\mathrm{Ga}",title:"Mathrm Ga",cls:"pt-metalloid"},{label:"Ge",insert:"\\mathrm{Ge}",title:"Mathrm Ge",cls:"pt-metalloid"},{label:"As",insert:"\\mathrm{As}",title:"Mathrm As",cls:"pt-nonmetal"},{label:"Se",insert:"\\mathrm{Se}",title:"Mathrm Se",cls:"pt-nonmetal"},{label:"Br",insert:"\\mathrm{Br}",title:"Mathrm Br",cls:"pt-nonmetal"},{label:"Kr",insert:"\\mathrm{Kr}",title:"Mathrm Kr",cls:"pt-noble"},{label:"Rb",insert:"\\mathrm{Rb}",title:"Mathrm Rb",cls:"pt-alkali"},{label:"Sr",insert:"\\mathrm{Sr}",title:"Mathrm Sr",cls:"pt-alkaline"},{label:"Y",insert:"\\mathrm{Y}",title:"Mathrm Y",cls:"pt-transition"},{label:"Zr",insert:"\\mathrm{Zr}",title:"Mathrm Zr",cls:"pt-transition"},{label:"Nb",insert:"\\mathrm{Nb}",title:"Mathrm Nb",cls:"pt-transition"},{label:"Mo",insert:"\\mathrm{Mo}",title:"Mathrm Mo",cls:"pt-transition"},{label:"Tc",insert:"\\mathrm{Tc}",title:"Mathrm Tc",cls:"pt-transition"},{label:"Ru",insert:"\\mathrm{Ru}",title:"Mathrm Ru",cls:"pt-transition"},{label:"Rh",insert:"\\mathrm{Rh}",title:"Mathrm Rh",cls:"pt-transition"},{label:"Pd",insert:"\\mathrm{Pd}",title:"Mathrm Pd",cls:"pt-transition"},{label:"Ag",insert:"\\mathrm{Ag}",title:"Mathrm Ag",cls:"pt-transition"},{label:"Cd",insert:"\\mathrm{Cd}",title:"Mathrm Cd",cls:"pt-transition"},{label:"In",insert:"\\mathrm{In}",title:"Mathrm In",cls:"pt-metalloid"},{label:"Sn",insert:"\\mathrm{Sn}",title:"Mathrm Sn",cls:"pt-metalloid"},{label:"Sb",insert:"\\mathrm{Sb}",title:"Mathrm Sb",cls:"pt-metalloid"},{label:"Te",insert:"\\mathrm{Te}",title:"Mathrm Te",cls:"pt-nonmetal"},{label:"I",insert:"\\mathrm{I}",title:"Mathrm I",cls:"pt-nonmetal"},{label:"Xe",insert:"\\mathrm{Xe}",title:"Mathrm Xe",cls:"pt-noble"},{label:"Cs",insert:"\\mathrm{Cs}",title:"Mathrm Cs",cls:"pt-alkali"},{label:"Ba",insert:"\\mathrm{Ba}",title:"Mathrm Ba",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Hf",insert:"\\mathrm{Hf}",title:"Mathrm Hf",cls:"pt-transition"},{label:"Ta",insert:"\\mathrm{Ta}",title:"Mathrm Ta",cls:"pt-transition"},{label:"W",insert:"\\mathrm{W}",title:"Mathrm W",cls:"pt-transition"},{label:"Re",insert:"\\mathrm{Re}",title:"Mathrm Re",cls:"pt-transition"},{label:"Os",insert:"\\mathrm{Os}",title:"Mathrm Os",cls:"pt-transition"},{label:"Ir",insert:"\\mathrm{Ir}",title:"Mathrm Ir",cls:"pt-transition"},{label:"Pt",insert:"\\mathrm{Pt}",title:"Mathrm Pt",cls:"pt-transition"},{label:"Au",insert:"\\mathrm{Au}",title:"Mathrm Au",cls:"pt-transition"},{label:"Hg",insert:"\\mathrm{Hg}",title:"Mathrm Hg",cls:"pt-transition"},{label:"Tl",insert:"\\mathrm{Tl}",title:"Mathrm Tl",cls:"pt-metalloid"},{label:"Pb",insert:"\\mathrm{Pb}",title:"Mathrm Pb",cls:"pt-metalloid"},{label:"Bi",insert:"\\mathrm{Bi}",title:"Mathrm Bi",cls:"pt-metalloid"},{label:"Po",insert:"\\mathrm{Po}",title:"Mathrm Po",cls:"pt-metalloid"},{label:"At",insert:"\\mathrm{At}",title:"Mathrm At",cls:"pt-nonmetal"},{label:"Rn",insert:"\\mathrm{Rn}",title:"Mathrm Rn",cls:"pt-noble"},{label:"Fr",insert:"\\mathrm{Fr}",title:"Mathrm Fr",cls:"pt-alkali"},{label:"Ra",insert:"\\mathrm{Ra}",title:"Mathrm Ra",cls:"pt-alkaline"},{label:"",insert:"",cls:"pt-transition"},{label:"Rf",insert:"\\mathrm{Rf}",title:"Mathrm Rf",cls:"pt-transition"},{label:"Db",insert:"\\mathrm{Db}",title:"Mathrm Db",cls:"pt-transition"},{label:"Sg",insert:"\\mathrm{Sg}",title:"Mathrm Sg",cls:"pt-transition"},{label:"Bh",insert:"\\mathrm{Bh}",title:"Mathrm Bh",cls:"pt-transition"},{label:"Hs",insert:"\\mathrm{Hs}",title:"Mathrm Hs",cls:"pt-transition"},{label:"Mt",insert:"\\mathrm{Mt}",title:"Mathrm Mt",cls:"pt-transition"},{label:"Ds",insert:"\\mathrm{Ds}",title:"Mathrm Ds",cls:"pt-transition"},{label:"Rg",insert:"\\mathrm{Rg}",title:"Mathrm Rg",cls:"pt-transition"},{label:"Cn",insert:"\\mathrm{Cn}",title:"Mathrm Cn",cls:"pt-transition"},{label:"Nh",insert:"\\mathrm{Nh}",title:"Mathrm Nh",cls:"pt-metalloid"},{label:"Fl",insert:"\\mathrm{Fl}",title:"Mathrm Fl",cls:"pt-metalloid"},{label:"Mc",insert:"\\mathrm{Mc}",title:"Mathrm Mc",cls:"pt-metalloid"},{label:"Lv",insert:"\\mathrm{Lv}",title:"Mathrm Lv",cls:"pt-metalloid"},{label:"Ts",insert:"\\mathrm{Ts}",title:"Mathrm Ts",cls:"pt-unknown"},{label:"Og",insert:"\\mathrm{Og}",title:"Mathrm Og",cls:"pt-unknown"},...Array.from({length:18},()=>({label:"",cls:"pt-empty"})),...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"La",insert:"\\mathrm{La}",title:"Mathrm La",cls:"pt-transition"},{label:"Ce",insert:"\\mathrm{Ce}",title:"Mathrm Ce",cls:"pt-lanthanide"},{label:"Pr",insert:"\\mathrm{Pr}",title:"Mathrm Pr",cls:"pt-lanthanide"},{label:"Nd",insert:"\\mathrm{Nd}",title:"Mathrm Nd",cls:"pt-lanthanide"},{label:"Pm",insert:"\\mathrm{Pm}",title:"Mathrm Pm",cls:"pt-lanthanide"},{label:"Sm",insert:"\\mathrm{Sm}",title:"Mathrm Sm",cls:"pt-lanthanide"},{label:"Eu",insert:"\\mathrm{Eu}",title:"Mathrm Eu",cls:"pt-lanthanide"},{label:"Gd",insert:"\\mathrm{Gd}",title:"Mathrm Gd",cls:"pt-lanthanide"},{label:"Tb",insert:"\\mathrm{Tb}",title:"Mathrm Tb",cls:"pt-lanthanide"},{label:"Dy",insert:"\\mathrm{Dy}",title:"Mathrm Dy",cls:"pt-lanthanide"},{label:"Ho",insert:"\\mathrm{Ho}",title:"Mathrm Ho",cls:"pt-lanthanide"},{label:"Er",insert:"\\mathrm{Er}",title:"Mathrm Er",cls:"pt-lanthanide"},{label:"Tm",insert:"\\mathrm{Tm}",title:"Mathrm Tm",cls:"pt-lanthanide"},{label:"Yb",insert:"\\mathrm{Yb}",title:"Mathrm Yb",cls:"pt-lanthanide"},{label:"Lu",insert:"\\mathrm{Lu}",title:"Mathrm Lu",cls:"pt-lanthanide"},{label:"",cls:"pt-empty"},...Array.from({length:2},()=>({label:"",cls:"pt-empty"})),{label:"Ac",insert:"\\mathrm{Ac}",title:"Mathrm Ac",cls:"pt-actinide"},{label:"Th",insert:"\\mathrm{Th}",title:"Mathrm Th",cls:"pt-actinide"},{label:"Pa",insert:"\\mathrm{Pa}",title:"Mathrm Pa",cls:"pt-actinide"},{label:"U",insert:"\\mathrm{U}",title:"Mathrm U",cls:"pt-actinide"},{label:"Np",insert:"\\mathrm{Np}",title:"Mathrm Np",cls:"pt-actinide"},{label:"Pu",insert:"\\mathrm{Pu}",title:"Mathrm Pu",cls:"pt-actinide"},{label:"Am",insert:"\\mathrm{Am}",title:"Mathrm Am",cls:"pt-actinide"},{label:"Cm",insert:"\\mathrm{Cm}",title:"Mathrm Cm",cls:"pt-actinide"},{label:"Bk",insert:"\\mathrm{Bk}",title:"Mathrm Bk",cls:"pt-actinide"},{label:"Cf",insert:"\\mathrm{Cf}",title:"Mathrm Cf",cls:"pt-actinide"},{label:"Es",insert:"\\mathrm{Es}",title:"Mathrm Es",cls:"pt-actinide"},{label:"Fm",insert:"\\mathrm{Fm}",title:"Mathrm Fm",cls:"pt-actinide"},{label:"Md",insert:"\\mathrm{Md}",title:"Mathrm Md",cls:"pt-actinide"},{label:"No",insert:"\\mathrm{No}",title:"Mathrm No",cls:"pt-actinide"},{label:"Lr",insert:"\\mathrm{Lr}",title:"Mathrm Lr",cls:"pt-actinide"},{label:"",cls:"pt-empty"}]},{label:"H",insert:"\\mathrm{H}",title:"Mathrm H",cls:"cme-small-btn"},{label:"C",insert:"\\mathrm{C}",title:"Mathrm C",cls:"cme-small-btn"},{label:"N",insert:"\\mathrm{N}",title:"Mathrm N",cls:"cme-small-btn"},{label:"O",insert:"\\mathrm{O}",title:"Mathrm O",cls:"cme-small-btn"},{label:"F",insert:"\\mathrm{F}",title:"Mathrm F",cls:"cme-small-btn"},{label:"S",insert:"\\mathrm{S}",title:"Mathrm S",cls:"cme-small-btn"}]},{label:"bmatrix",fontSize:"5px",mathLabel:"\\textstyle \\begin{bmatrix}#? & #?\\\\ #? & #?\\end{bmatrix} \\, \\begin{cases} #? \\\\ #? \\end{cases}",isMatrix:!0,items:[{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"10",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"6",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"25",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"10",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"44",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"46",y:"44",width:"8",height:"14",rx:"1"})),insert:"matrix",cls:"template",title:"3×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"8",y1:"4",x2:"8",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"56",y1:"4",x2:"56",y2:"60",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"vmatrix",cls:"template",title:"2×2 Determinant"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M14 6H8V58H14",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 6H56V58H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"bmatrix",cls:"template",title:"2×2 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 6C8 16 8 48 16 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M48 6C56 16 56 48 48 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"18",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"12",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"18",y:"38",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"38",width:"8",height:"14",rx:"1"})),insert:"pmatrix",cls:"template",title:"2×2 Parenthesis Matrix"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"28",y:"6",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"27",width:"8",height:"10",rx:"1"}),e.createElement("rect",{x:"28",y:"48",width:"8",height:"10",rx:"1"})),insert:"\\begin{matrix} #? \\\\ #? \\\\ #? \\end{matrix}",cls:"symbol",directInsert:!0,action:"INSERT_CUSTOM",title:"Vertical Dots"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6H12V58H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6H52V58H46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\\\ #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 6C10 16 10 48 18 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M46 6C54 16 54 48 46 58",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"28",y:"10",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"38",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\\\ #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Parenthesis Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"28",y:"24",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"48",y:"24",width:"8",height:"14",rx:"1"})),insert:"\\begin{matrix} #? \\, #? \\, #? \\end{matrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×3 Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18H12V46H16",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18H54V46H50",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{bmatrix} #? \\, #? \\end{bmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Square Bracket Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 18C12 23 12 41 16 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("path",{d:"M50 18C54 23 54 41 50 46",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"22",y:"22",width:"8",height:"14",rx:"1"}),e.createElement("rect",{x:"38",y:"22",width:"8",height:"14",rx:"1"})),insert:"\\begin{pmatrix} #? \\, #? \\end{pmatrix}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"1×2 Parenthesis Matrix"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\\\ #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×1 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 8C12 8 12 12 12 18V26C12 30 10 32 8 32C10 32 12 34 12 38V46C12 52 12 56 16 56",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"23",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"23",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"39",y:"34",width:"10",height:"12",rx:"1"})),insert:"\\begin{cases} #? \\, #? \\\\ #? \\, #? \\end{cases}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"2×2 Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"10",width:"10",height:"12",rx:"1"}),e.createElement("rect",{x:"26",y:"34",width:"10",height:"12",rx:"1"}),e.createElement("path",{d:"M48 8C52 8 52 12 52 18V26C52 30 54 32 56 32C54 32 52 34 52 38V46C52 52 52 56 48 56",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left.\\begin{matrix} #? \\\\ #? \\end{matrix}\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right Piecewise Matrix"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"8",y:"8",width:"12",height:"12",rx:"1"}),e.createElement("line",{x1:"26",y1:"12",x2:"38",y2:"12",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"26",y1:"16",x2:"38",y2:"16",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"44",y:"6",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"8",y:"40",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"24",y1:"46",x2:"36",y2:"46",stroke:"#222",strokeWidth:"3"}),e.createElement("line",{x1:"24",y1:"50",x2:"36",y2:"50",stroke:"#222",strokeWidth:"3"}),e.createElement("rect",{x:"42",y:"38",width:"12",height:"12",rx:"1"})),insert:"\\begin{aligned} #? &= #? \\\\ #? &= #? \\end{aligned}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"System of Equations"},{type:"sep",cols:2,cls:"cme-trig-subgroup"},{label:"⋮",insert:"\\vdots",title:"Vertical ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋰",insert:"⋰",title:"Upright diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"…",insert:"\\ldots",title:"Horizontal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{label:"⋱",insert:"\\ddots",title:"Down-right diagonal ellipses",directInsert:!0,action:"INSERT_CUSTOM"},{type:"sep",cols:1,fontSize:"8px",cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{\\,}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction Template"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{-}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Subtraction"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"11",y1:"19",x2:"25",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"25",y1:"19",x2:"11",y2:"33",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{×}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Multiplication"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V30H56",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"40",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"40",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"4",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"4",y:"44",width:"10",height:"16",rx:"1"}),e.createElement("path",{d:"M30 4V36H58",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"44",y:"8",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-lshape-wrapper}{\\class{cme-lshape-div1}{#?}\\class{cme-lshape-val1}{#?}\\class{cme-lshape-div2}{#?}\\class{cme-lshape-val2}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Long Division with Four Terms"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"52",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}\\class{cme-longdiv-remainder}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction and Subscript"}]},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 -6 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("rect",{x:"40",y:"-2",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"18",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"46",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"8",y1:"38",x2:"54",y2:"38",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"18",y1:"18",x2:"18",y2:"34",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("line",{x1:"10",y1:"26",x2:"26",y2:"26",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"})),insert:"\\class{cme-col-op-wrapper}{\\class{cme-col-op-val1}{#?}\\class{cme-col-op-op}{+}\\class{cme-col-op-val2}{#?}\\class{cme-col-op-result}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction with Addition"},{label:e.createElement("svg",{width:"26",height:"30",viewBox:"0 0 64 72",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"40",y:"0",width:"10",height:"16",rx:"1"}),e.createElement("line",{x1:"30",y1:"20",x2:"54",y2:"20",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("path",{d:"M26 18C34 25 34 47 26 54",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"6",y:"28",width:"10",height:"16",rx:"1"}),e.createElement("rect",{x:"40",y:"28",width:"10",height:"16",rx:"1"})),insert:"\\class{cme-longdiv-wrapper}{\\class{cme-longdiv-divisor}{#?}\\class{cme-longdiv-quotient}{#?}\\class{cme-longdiv-dividend}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Root with Fraction"}]},{label:"□̅",fontSize:"9px",mathLabel:"{#?}^{#?} \\, \\overset{#?}{#?}",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"2",width:"18",height:"20",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"18",y:"40",width:"18",height:"20",rx:"2"})),insert:"\\frac{#0}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"22",y:"8",width:"12",height:"14",rx:"2"}),e.createElement("line",{x1:"6",y1:"32",x2:"50",y2:"32",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"40",width:"12",height:"14",rx:"2"})),insert:"\\tfrac{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"5",y:"16",width:"18",height:"20",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"18",height:"20",rx:"1"})),insert:"{\\LARGE {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"14",y:"16",width:"12",height:"16",rx:"1"}),e.createElement("line",{x1:"26",y1:"50",x2:"40",y2:"18",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"38",y:"34",width:"12",height:"16",rx:"1"})),insert:"{\\scriptsize {}^{#?}/_{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Text Fraction"},{type:"sep",cols:1,small:!0,cls:"cme-trig-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 34 L14 34 L20 50 L30 10 L54 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"36",y:"18",width:"16",height:"20",rx:"2"})),insert:"\\sqrt{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Root"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M6 36 L14 36 L20 50 L30 10 L56 10",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"12",y:"16",width:"8",height:"12",rx:"2"}),e.createElement("rect",{x:"40",y:"22",width:"12",height:"22",rx:"2"})),insert:"\\sqrt[#?]{#0}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Nth Root Fraction"},{type:"sep",cols:3,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"32",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"32",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Raised Box with Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"14",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"36",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"10",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"22",width:"12",height:"20",rx:"1"})),insert:"{}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Lowered Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"8",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"18",y:"36",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"20",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}^{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"18",y:"28",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"30",y:"10",width:"12",height:"20",rx:"1"})),insert:"{}_{#?}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Lower Left Box"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"23",y:"28",width:"12",height:"20",rx:"1"})),insert:"\\overset{\\raisebox{2px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Superscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-5px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Subscript Box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{2px}{#?}}{\\underset{\\raisebox{-5px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Box with Superscript and Subscript"},{type:"sep",cols:1,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"26",y:"4",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M10 34H24C28 34 30 36 32 40C34 36 36 34 40 34H54M10 34V28M54 34V28",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"46",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underbrace{#?}_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"27",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("path",{d:"M10 36V30H24C28 30 30 28 32 24C34 28 36 30 40 30H54V36",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"40",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"1",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"16",y:"20",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{\\raisebox{0.1em}{#?}}{\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Superscript and Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"16",y:"4",width:"16",height:"24",rx:"1",stroke:"#222"}),e.createElement("rect",{x:"19",y:"40",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-0.3em}{#?}}{\\Large #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Large Box with Subscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:2,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"18",viewBox:"0 0 26 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"18",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\enspace",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Horizontal Phantom Space"},{label:e.createElement("svg",{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",marginLeft:"13px"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"10",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\,",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Thin Space"},{label:e.createElement("svg",{width:"16",height:"18",viewBox:"0 0 16 18",fill:"none",stroke:"currentColor",strokeWidth:"1.5",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"2",y:"2",width:"6",height:"12",rx:"1"}),e.createElement("rect",{x:"8",y:"2",width:"6",height:"12",rx:"1"})),insert:"\\!",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Negative Thin Space"}]},{label:"( )",fontSize:"9px",isTemplate:!0,mathLabel:"\\left( #? \\right) \\, \\overparen{#?}",items:[{type:"sep",cols:3,small:!0,moreCols:2,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 12V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lfloor#0\\right\\rfloor",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Floor Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 18L2 29L10 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"16",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("line",{x1:"32",y1:"18",x2:"32",y2:"40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"42",y:"18",width:"10",height:"20",rx:"1"}),e.createElement("path",{d:"M54 18L62 29L54 40",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle#?\\mid#?\\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets with Vertical Bar"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M12 52V12H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M52 52V12H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left\\lceil#0\\right\\rceil",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Ceiling Brackets"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12 Q8 32 18 52",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12 Q56 32 46 52",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left(#0\\right)",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Parentheses"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left|#0\\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"vertical bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 14L6 32L18 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"26",y:"19",width:"12",height:"20",rx:"1"}),e.createElement("path",{d:"M46 14L58 32L46 50",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})),insert:"\\left\\langle #? \\right\\rangle",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Angle Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 12H12V52H18",stroke:"#222",strokeWidth:"4",fill:"none"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M46 12H52V52H46",stroke:"#222",strokeWidth:"4",fill:"none"})),insert:"\\left[#0\\right]",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Square Brackets"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"10",y1:"12",x2:"10",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"20",rx:"1"}),e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4"}),e.createElement("line",{x1:"54",y1:"12",x2:"54",y2:"52",stroke:"#222",strokeWidth:"4"})),insert:"\\left\\Vert#?\\right\\Vert",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Double Vertical Bars"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M20 12C16 12 16 18 18 22C19 24 19 26 16 29C19 32 19 34 18 36C16 40 16 46 20 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"18",width:"12",height:"22",rx:"2"}),e.createElement("path",{d:"M44 12C48 12 48 18 46 22C45 24 45 26 48 29C45 32 45 34 46 36C48 40 48 46 44 52",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"})),insert:"\\left\\{#0\\right\\}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curly Braces"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26V20H24C28 20 30 18 32 14C34 18 36 20 40 20H54V26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 26C10 14 54 14 54 26",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overgroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Overgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 44H24C28 44 30 46 32 50C34 46 36 44 40 44H54M10 44V38M54 44V38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\underbrace{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underbrace"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M10 38C10 50 54 50 54 38",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"14",width:"12",height:"20",rx:"1"})),insert:"\\undergroup{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Undergroup"},{type:"sep",cols:3,small:!0,cls:"cme-symbol-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightharpoon{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Right harpoon accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M16 20H48M40 12L48 20M40 28L48 20M24 12L16 20M24 28L16 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overleftrightarrow{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Left-right arrow accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 24L32 12L46 24",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\class{cme-wide-hat-text}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Wide hat"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M22 20 Q27 16 32 20 T42 20",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\tilde{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Tilde accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M28 18v0M36 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\ddot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Diaeresis accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M32 18v0",stroke:"#222",strokeWidth:"6",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\dot{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Dot accent"},{type:"sep",cols:3,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M4 2 H20 V22",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-actuarial}{#?}",title:"Enclose actuarial"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",rx:"8",ry:"8",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-roundedbox}{#?}",title:"Enclose rounded box"}]},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("path",{d:"M18 20H46",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"30",width:"12",height:"20",rx:"1"})),insert:"\\overline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Bar accent"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"16",y1:"12",x2:"16",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"28",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left| #? \\right.",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed left"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"4",y:"2",width:"16",height:"20",stroke:"#666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-box}{#?}",forceLabel:!0,title:"Enclosed box"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"18",y1:"46",x2:"46",y2:"46",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"26",y:"20",width:"12",height:"20",rx:"1"})),insert:"\\underline{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed bottom"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("line",{x1:"48",y1:"12",x2:"48",y2:"52",stroke:"#222",strokeWidth:"4",strokeLinecap:"round"}),e.createElement("rect",{x:"22",y:"18",width:"14",height:"28",rx:"2"})),insert:"\\left. #? \\right|",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Enclosed right"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("ellipse",{cx:"12",cy:"12",rx:"9",ry:"11",stroke:"#666666",strokeWidth:"2",fill:"none"}),e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\class{cme-enclose-circle}{#?}",forceLabel:!0,title:"Enclose circle"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreCols:2,moreItems:[{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-vertical-strike}{#?}",title:"Vertical strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("path",{d:"M3 22 Q11 12 3 2 H21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"11",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:") \\!\\! \\overline{\\vphantom{1}\\;\\;#?\\;}",directInsert:!0,title:"Long division"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"12",y1:"3",x2:"12",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-vertical-strike}{#?}",title:"Horizontal and vertical strike"}]},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cancel-strike}{#0}",forceLabel:!0,title:"Cancel strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"6",y1:"12",x2:"18",y2:"12",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-horizontal-strike}{#?}",forceLabel:!0,title:"Horizontal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-down-strike}{#0}",forceLabel:!0,title:"Down diagonal strike"},{label:e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.createElement("rect",{x:"9",y:"7",width:"6",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("line",{x1:"9",y1:"21",x2:"15",y2:"3",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"}),e.createElement("line",{x1:"9",y1:"3",x2:"15",y2:"21",stroke:"#666",strokeWidth:"2",strokeLinecap:"round"})),insert:"\\class{cme-cross-strike}{#?}",forceLabel:!0,title:"Cross strike"}]},{label:"∑ ⋃ ",fontSize:"8px",mathLabel:"\\sum \\, \\bigcup",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-3",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"56",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"2",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M44 16 L22 16 L34 32 L22 48 L44 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"54",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\sum_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M38 16 L16 16 L28 32 L16 48 L38 48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"42",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\sum\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Summation with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"-2",width:"10",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"4",width:"10",height:"16",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"44",y:"44",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side limits"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M18 16 H46 M22 16 V48 M42 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"27",y:"50",width:"10",height:"12",rx:"1",opacity:"0.45"})),insert:"\\prod_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with subscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 16 H40 M16 16 V48 M36 16 V48",stroke:"#222",strokeWidth:"4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),e.createElement("rect",{x:"44",y:"39",width:"10",height:"16",rx:"1",opacity:"0.45"})),insert:"\\prod\\nolimits_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Product with side subscript"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"24",y:"4",width:"8",height:"12",rx:"1",opacity:"0.45"}),e.createElement("rect",{x:"22",y:"22",width:"12",height:"20",rx:"1"}),e.createElement("rect",{x:"24",y:"48",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\overset{#?}{\\underset{\\raisebox{-4px}{#?}}{#?}}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Over and underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"1",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}^{\\raisebox{0.6em}{#?}}",isWidget:!0,title:"Subscript and superscript"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 4 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32"}},e.createElement("rect",{x:"19",y:"28",width:"12",height:"18",rx:"1"}),e.createElement("rect",{x:"21",y:"52",width:"8",height:"12",rx:"1",opacity:"0.45"})),insert:"\\underset{\\raisebox{-4px}{#?}}{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Underscript"},{label:e.createElement("svg",{viewBox:"0 0 24 24",width:"20",height:"20"},e.createElement("rect",{x:"1",y:"1",width:"14",height:"22",fill:"none",stroke:"currentColor",strokeWidth:"2"}),e.createElement("rect",{x:"17",y:"17",width:"6",height:"6",fill:"none",stroke:"#2E7D32",strokeWidth:"1.5"})),forceLabel:!0,insert:"{\\style{font-size:1.8em; transform: scale(0.9, 1.2); display: inline-block; padding: 0.2em 0;}{#?}}_{#?}",isWidget:!0,title:"Subscript"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup",moreCols:3,moreItems:[{label:"⨅",insert:"⨅",title:"Big square cap"},{label:"∏",insert:"∏",title:"Product"},{label:"∑",insert:"∑",title:"Summation"},{label:"⨆",insert:"⨆",title:"Big square cup"},{label:"∐",insert:"∐",title:"Coproduct"}]},{label:"⋃",insert:"\\bigcup",title:"Big union"},{label:"⋂",insert:"\\bigcap",title:"Big intersection"}]},{label:"∫ lim",fontSize:"7px",mathLabel:"\\int_{#?}^{#?} \\, \\lim",isTemplate:!0,items:[{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}^{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Int"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"24",y:"10",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?}^{#?} #0 \\, d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Definite integral"},{label:e.createElement("svg",{width:"24",height:"26",viewBox:"0 0 44 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\int_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript"},{label:e.createElement("svg",{width:"40",height:"26",viewBox:"0 0 96 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"4",y:"54",fontFamily:"serif",fontSize:"58",fontStyle:"italic",fill:"#222",stroke:"none",transform:"rotate(10, 14, 32)"},"∫"),e.createElement("rect",{x:"16",y:"46",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"}),e.createElement("rect",{x:"42",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"62",y:"38",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",stroke:"none"},"d"),e.createElement("rect",{x:"76",y:"24",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\int_{#?} #?\\,d#?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Integral with subscript and differential"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"42",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"d")),insert:"\\mathrm{d}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Mathrm d"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"d"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{d#?}{d#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Derivative"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"32",y:"44",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"36",fill:"#222",textAnchor:"middle"},"∂")),insert:"\\partial",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial differential"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("line",{x1:"8",y1:"32",x2:"56",y2:"32",stroke:"#222",strokeWidth:"3"}),e.createElement("text",{x:"22",y:"24",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"8",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"}),e.createElement("text",{x:"22",y:"54",fontFamily:"serif",fontStyle:"italic",fontWeight:"bold",fontSize:"24",fill:"#222",textAnchor:"middle"},"∂"),e.createElement("rect",{x:"32",y:"38",width:"14",height:"16",rx:"2",stroke:"#2E7D32",strokeWidth:"2",fill:"none"})),insert:"\\frac{\\partial#?}{\\partial #?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Partial derivative"},{type:"sep",cols:1,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"14",y:"40",width:"10",height:"14",rx:"1",opacity:"0.45"}),e.createElement("text",{x:"28",y:"52",fill:"#222",stroke:"none",fontSize:"16",fontFamily:"sans-serif"},"→"),e.createElement("text",{x:"44",y:"52",fill:"#222",stroke:"none",fontSize:"18",fontFamily:"serif"},"∞")),insert:"\\lim_{#?\\to\\infty}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit to infinity"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("text",{x:"32",y:"32",fill:"#222",stroke:"none",fontSize:"24",fontFamily:"serif",textAnchor:"middle"},"lim"),e.createElement("rect",{x:"24",y:"40",width:"16",height:"16",rx:"1",opacity:"0.45"})),insert:"\\lim_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Limit"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("path",{d:"M34 26 L46 38 M46 26 L34 38",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinecap:"round"}),e.createElement("rect",{x:"50",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\times #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Curl"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M16 24 L36 24 L26 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"44",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\nabla #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Gradient"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M12 24 L28 24 L20 40 Z",stroke:"#222",strokeWidth:"3",fill:"none",strokeLinejoin:"round"}),e.createElement("circle",{cx:"38",cy:"32",r:"3",fill:"#222",stroke:"none"}),e.createElement("rect",{x:"46",y:"22",width:"12",height:"20",rx:"1"})),insert:"\\nabla\\cdot #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Divergence"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",stroke:"currentColor",strokeWidth:"3",style:{display:"inline-block",verticalAlign:"middle",color:"#2E7D32",overflow:"visible"}},e.createElement("path",{d:"M26 16 L12 44 L40 44 Z",stroke:"#222",strokeWidth:"4",fill:"none",strokeLinejoin:"round"}),e.createElement("rect",{x:"46",y:"24",width:"16",height:"20",rx:"1"})),insert:"\\Delta #?",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Laplacian"},{type:"sep",cols:2,small:!0,cls:"cme-matrix-subgroup",moreItems:[{label:"∭",insert:"\\iiint",title:"Triple integral"},{label:"∰",insert:"\\mathop{{\\style{font-size:1em;}{\\iiint}}\\mkern-28mu\\class{wider-circle}{\\bigcirc}\\mkern18mu}",title:"Closed volume integral"}]},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"22",y:"54",transform:"skewX(-15)",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∫")),forceLabel:!0,insert:"\\int",title:"Integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∬")),forceLabel:!0,insert:"\\iint",title:"Double integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∮")),forceLabel:!0,insert:"\\oint",title:"Contour integral"},{label:e.createElement("svg",{width:"14",height:"26",viewBox:"0 0 32 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"16",y:"54",fontFamily:"serif",fontSize:"58",fontWeight:"normal",fill:"#222",stroke:"none",textAnchor:"middle"},"∯")),forceLabel:!0,insert:"\\mathop{{\\style{font-size:1em;}{\\iint}}\\mkern-23mu\\class{wide-circle}{\\bigcirc}\\mkern14mu}",title:"Custom surface integral"},{type:"sep",cols:3,cls:"cme-trig-subgroup",moreCols:"3",moreItems:[{label:"csc",insert:"\\csc\\left(#?\\right)",title:"Cosecant"},{label:"sec",insert:"\\sec\\left(#?\\right)",title:"Secant"},{label:"cot",insert:"\\cot\\left(#?\\right)",title:"Cotangent"},{label:"sin⁻¹",insert:"\\sin^{-1}",title:"Inverse sine"},{label:"cos⁻¹",insert:"\\cos^{-1}",title:"Inverse cosine"},{label:"tan⁻¹",insert:"\\tan^{-1}",title:"Inverse tangent"}]},{label:"sin",insert:"\\sin",title:"Sine"},{label:"cos",insert:"\\cos",title:"Cosine"},{label:"tan",insert:"\\tan",title:"Tangent"},{label:"log",insert:"\\log",title:"Logarithm"},{label:e.createElement("svg",{width:"26",height:"26",viewBox:"0 0 64 64",fill:"none",style:{display:"inline-block",verticalAlign:"middle",overflow:"visible"}},e.createElement("text",{x:"2",y:"42",fontFamily:"serif",fontSize:"28",fill:"#222",stroke:"none"},"log"),e.createElement("rect",{x:"42",y:"36",width:"8",height:"10",rx:"1",stroke:"#2E7D32",strokeWidth:"1.5",fill:"none"})),insert:"\\log_{#?}",cls:"template",directInsert:!0,action:"INSERT_CUSTOM",title:"Logarithm with base"},{label:"ln",insert:"\\ln",title:"Natural logarithm"}]}];function $e(l=""){if(String(l).match(/^\\ce\{([\s\S]*)\}$/)||l.includes("\\class{cme-"))return l;const a=l.replace(/\\text\{([^}]*)\}/g,"$1").replace(/\$/g,"").trim();return a?`\\ce{${a}}`:""}function be(l){return l==="matrix"?"\\begin{matrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{matrix}":l==="bmatrix"?"\\begin{bmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{bmatrix}":l==="pmatrix"?"\\begin{pmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{pmatrix}":l==="vmatrix"?"\\begin{vmatrix} \\placeholder{} & \\placeholder{} \\\\ \\placeholder{} & \\placeholder{} \\end{vmatrix}":l.replace(/#0|#\?/g,"\\placeholder{}")}class Re extends ce.Plugin{static get pluginName(){return"MathInlinePlugin"}static get requires(){return[ce.Widget]}init(){const n=this.editor;n.model.schema.register("mathInline",{isInline:!0,isObject:!0,allowWhere:"$text",allowAttributes:["latex"]}),n.model.schema.addChildCheck((h,o)=>{if(o.name==="mathInline")return!0}),n.conversion.for("editingDowncast").elementToElement({model:"mathInline",view:(h,{writer:o})=>{const c=h.getAttribute("latex")||"",m="math-"+Math.random().toString(36).substr(2,9);window.__ckMathWidgets.set(m,h);const d=o.createContainerElement("span",{class:"ck-math-widget ck-math-inline-word",contenteditable:"false","data-math-id":m,"data-latex":c}),u=o.createRawElement("span",{class:"ck-math-widget-inner",style:"display:inline-block;vertical-align:middle;margin:0;cursor:pointer;width:auto;max-width:100%;pointer-events:none;"},C=>{const p=document.createElement("math-field");p.setAttribute("math-virtual-keyboard-policy","manual"),p.setAttribute("tabindex","-1"),p.style.display="inline-block",p.style.width="auto",p.style.maxWidth="100%",p.style.verticalAlign="middle",p.style.border="none",p.style.background="transparent",p.style.outline="none",p.style.fontSize="inherit",p.style.minHeight="auto",p.style.padding="0",p.style.margin="0",p.style.pointerEvents="none";const A=()=>{if(!p.isConnected){requestAnimationFrame(A);return}window.__cme_macros&&(p.macros={...p.macros,...window.__cme_macros});let f=pe(le(X(de(c))));f.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(f.trim())&&(f=f.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));try{p.setValue?p.setValue("",{silenceNotifications:!0}):p.value="",p.executeCommand(["insert",f,{insertionMode:"replaceAll"}])}catch(x){console.error("[CKMathWidget] executeCommand failed, falling back to setValue:",x);try{p.setValue?p.setValue(f,{silenceNotifications:!0}):p.value=f}catch(v){console.error("[CKMathWidget] setValue also failed:",v)}}p.setAttribute("read-only","")};customElements.get("math-field")?requestAnimationFrame(A):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(A)),C.appendChild(p);const k=()=>{const f=C.parentElement;f&&Ke(n,f)};k(),requestAnimationFrame(k)});return o.insert(o.createPositionAt(d,0),u),ce.toWidget(d,o,{label:"math formula"})}});const a=n.editing.view.document;this.listenTo(a,"mousedown",(h,o)=>{const c=je(o.domTarget);c&&o.domEvent.button===0&&(h.stop(),o.preventDefault(),Ie(n,null,re(c),c))},{priority:"high"}),n.conversion.for("editingDowncast").add(h=>{h.on("attribute:latex:mathInline",(o,c,m)=>{if(!m.consumable.consume(c.item,o.name))return;const d=m.writer,u=m.mapper.toViewElement(c.item);if(u){d.setAttribute("data-latex",c.attributeNewValue,u);const C=n.editing.view.domConverter.mapViewToDom(u);if(C){const p=C.querySelector("math-field");if(p){let A=pe(le(X(de(c.attributeNewValue))));A.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(A.trim())&&(A=A.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1")),p.removeAttribute("read-only");try{p.setValue?p.setValue("",{silenceNotifications:!0}):p.value="",p.executeCommand(["insert",A,{insertionMode:"replaceAll"}])}catch{p.setValue?p.setValue(A,{silenceNotifications:!0}):p.value=A}p.setAttribute("read-only","")}}else console.warn("[CKMathWidget] No domElement found for viewElement")}})}),n.conversion.for("dataDowncast").elementToElement({model:"mathInline",view:(h,{writer:o})=>{const c=h.getAttribute("latex")||"",m=o.createContainerElement("span",{class:"math-tex","data-latex":c,style:"display:inline;"});let d=le(X(de(c)));d.includes("\\enclose")&&/^\\ce\{[\s\S]*\}$/i.test(d.trim())&&(d=d.trim().replace(/^\\ce\{([\s\S]*)\}$/i,"$1"));let u=d.replace(/\\textasciitilde/g,"~").replace(/\\textasciicircum/g,"^").replace(/\\textasteriskcentered/g,"*").replace(/\\char96/g,"`").replace(/\\sim/g,"~").replace(/\\!/g,"!").replace(/\\@/g,"@").replace(/\\#/g,"#").replace(/\\$/g,"$").replace(/\\%/g,"%").replace(/\\&/g,"&").replace(/\\_/g,"_").replace(/\\\{/g,"{").replace(/\\\}/g,"}").replace(/\\ce\{([^}]*)\}/g,"$1").trim();return o.insert(o.createPositionAt(m,0),o.createText(u)),m}}),n.conversion.for("upcast").elementToElement({view:{name:"span",classes:"math-tex"},model:(h,{writer:o})=>{const c=h.getAttribute("data-latex")||"";return o.createElement("mathInline",{latex:c})}})}}function et({matrixType:l,x:n,y:a,onSelect:h,onMouseEnter:o,onMouseLeave:c}){const[m,d]=e.useState({r:2,c:2}),u=Math.max(10,parseInt(m.r,10)||0),C=Math.max(10,parseInt(m.c,10)||0),p=x=>{const v=x.target.value;if(v===""){d(T=>({...T,r:""}));return}const L=parseInt(v,10);isNaN(L)||d(T=>({...T,r:Math.max(1,Math.min(10,L))}))},A=()=>{(m.r===""||isNaN(parseInt(m.r,10)))&&d(x=>({...x,r:1}))},k=x=>{const v=x.target.value;if(v===""){d(T=>({...T,c:""}));return}const L=parseInt(v,10);isNaN(L)||d(T=>({...T,c:Math.max(1,Math.min(10,L))}))},f=()=>{(m.c===""||isNaN(parseInt(m.c,10)))&&d(x=>({...x,c:1}))};return e.useEffect(()=>{const x=v=>{if(v.key==="Enter"){v.preventDefault(),v.stopPropagation();const L=parseInt(m.r,10)||1,T=parseInt(m.c,10)||1;h(L,T)}};return window.addEventListener("keydown",x,!0),()=>window.removeEventListener("keydown",x,!0)},[m.r,m.c,h]),e.createElement("div",{className:"cme-matrix-hover-popover ck-only",style:{top:`${a}px`,left:`${n}px`},onPointerDown:x=>x.stopPropagation(),onMouseEnter:o,onMouseLeave:c},e.createElement("div",{className:"cme-matrix-hover-grid"},Array.from({length:u}).map((x,v)=>e.createElement("div",{key:v,className:"cme-matrix-hover-row"},Array.from({length:C}).map((L,T)=>{const N=parseInt(m.r,10)||0,K=parseInt(m.c,10)||0,Z=v<N&&T<K;return e.createElement("div",{key:`${v}-${T}`,className:`cme-matrix-hover-cell${Z?" selected":""}`,onMouseEnter:()=>d({r:v+1,c:T+1}),onClick:Y=>{Y.preventDefault(),Y.stopPropagation(),h(v+1,T+1)}})})))),e.createElement("div",{className:"cme-matrix-hover-footer"},e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"R"),e.createElement("input",{type:"number",className:"cme-counter-val",value:m.r,onChange:p,onBlur:A,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.r,10)||1;return{...x,r:Math.min(10,v+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.r,10)||1;return{...x,r:Math.max(1,v-1)}})},"▼"))),e.createElement("div",{className:"cme-matrix-counter"},e.createElement("span",null,"C"),e.createElement("input",{type:"number",className:"cme-counter-val",value:m.c,onChange:k,onBlur:f,min:"1",max:"10"}),e.createElement("div",{className:"cme-counter-btns"},e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.c,10)||1;return{...x,c:Math.min(10,v+1)}})},"▲"),e.createElement("button",{type:"button",onClick:()=>d(x=>{const v=parseInt(x.c,10)||1;return{...x,c:Math.max(1,v-1)}})},"▼")))))}let F=!1,ge=null,_=null;function tt({mode:l,onInsert:n,onClose:a,initialLatex:h,isEditing:o}){const c=e.useRef(null),[m,d]=e.useState(null),[u,C]=e.useState(0),[p,A]=e.useState(null),[k,f]=e.useState(null),[x,v]=e.useState(null),[L,T]=e.useState(null);e.useRef(null);const[N,K]=e.useState({x:0,y:0}),[Z,Y]=e.useState(!1),ke=e.useRef({x:0,y:0}),[lt,De]=e.useState(!1),[rt,Ne]=e.useState(!1),[it,ie]=e.useState(!1),ue=e.useRef(null);e.useEffect(()=>{const t=i=>{if(!Z)return;const s=i.touches&&i.touches.length>0?i.touches[0].clientX:i.clientX,b=i.touches&&i.touches.length>0?i.touches[0].clientY:i.clientY;let w=s-ke.current.x,g=b-ke.current.y;if(ue.current){const S=ue.current,M=-S.left,q=window.innerWidth-S.right,z=-S.top,D=window.innerHeight-S.bottom;w<M&&(w=M),w>q&&(w=q),g<z&&(g=z),g>D&&(g=D)}K({x:w,y:g})},r=()=>Y(!1);return Z&&(window.addEventListener("mousemove",t,{passive:!1}),window.addEventListener("mouseup",r),window.addEventListener("touchmove",t,{passive:!1}),window.addEventListener("touchend",r)),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchmove",t),window.removeEventListener("touchend",r)}},[Z]);const Oe=t=>{if(t.target.closest(".cme-popup-controls"))return;Y(!0);const r=t.touches&&t.touches.length>0?t.touches[0].clientX:t.clientX,i=t.touches&&t.touches.length>0?t.touches[0].clientY:t.clientY;ke.current={x:r-N.x,y:i-N.y};const s=document.querySelector(".cme-editor-popup");if(s){const b=s.getBoundingClientRect();ue.current={left:b.left-N.x,top:b.top-N.y,right:b.right-N.x,bottom:b.bottom-N.y,width:b.width,height:b.height}}},ne=l==="math"?Ye:Ge,[y,we]=e.useState({bold:!1,italic:!1,color:"none",fontFamily:"none",fontSize:"auto"});function J(t){const r=t==null?void 0:t.selection;return!r||!r.ranges||r.ranges.length===0?!1:r.ranges.some(([i,s])=>i!==s)}function He(t){if(!t)return!1;try{const r=s=>["all","some",!0].includes(s);if(typeof t.queryStyle=="function"){const s=t.queryStyle({fontSeries:"b"}),b=t.queryStyle({variantStyle:"bold"});if(r(s)||r(b))return!0}let i="";try{J(t)&&(i=t.getValue(t.selection)||"")}catch{}if(i&&/\\mathbf\b|\\boldsymbol\b|\\mathbfit\b|\\textbf\b|\\bm\b|\\bold\b/.test(i))return!0}catch{}return!1}function Ve(t){if(!t)return!1;try{const r=s=>["all","some",!0].includes(s);if(typeof t.queryStyle=="function"){const s=t.queryStyle({shape:"it"}),b=t.queryStyle({variantStyle:"italic"});if(r(s)||r(b))return!0}let i="";try{J(t)&&(i=t.getValue(t.selection)||"")}catch{}if(i&&/\\mathit\b|\\mathbfit\b|\\textit\b/.test(i)||window.__cmeManualItalic===!0)return!0}catch{}return!1}const U=e.useCallback(()=>{if(F||window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate)return;const t=c.current;if(!(!t||typeof t.queryStyle!="function"))try{const r=J(t);let i=He(t),s=Ve(t),b="none",w="auto",g="none";const S=M=>["all","some",!0].includes(M);if(r){window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0;let M="";try{M=t.getValue(sel)||""}catch{}const q=["roman","sans-serif","monospace"].find(D=>S(t.queryStyle({fontFamily:D})))||"none";q!=="none"?b=q:/\\mathsf\b/.test(M)?b="sans-serif":/\\mathtt\b/.test(M)?b="monospace":/\\mathrm\b/.test(M)?b="roman":b="none";const z=[5,7,9].find(D=>S(t.queryStyle({fontSize:D})))||"auto";w=String(z),g=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(D=>S(t.queryStyle({color:D})))||"none"}else window.__cmeManualBold!==void 0&&(i=window.__cmeManualBold),window.__cmeManualItalic!==void 0&&(s=window.__cmeManualItalic),console.log("CME: updateActiveStyles else-branch bold=",i,"manual=",window.__cmeManualBold),b=window.__cmeManualFontFamily!==void 0?window.__cmeManualFontFamily:["roman","sans-serif","monospace"].find(M=>S(t.queryStyle({fontFamily:M})))||"none",w=window.__cmeManualFontSize!==void 0?window.__cmeManualFontSize:[5,7,9].find(M=>S(t.queryStyle({fontSize:M})))||"auto",g=["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].find(M=>S(t.queryStyle({color:M})))||"none";we({bold:i,italic:s,fontFamily:b,fontSize:String(w),color:g})}catch(r){console.warn("Failed to query active styles:",r)}},[]);e.useEffect(()=>{if(!p&&!x)return;const t=r=>{!r.target.closest(".cme-matrix-hover-popover")&&!r.target.closest(".cme-matrix-btn-wrapper")&&A(null),!r.target.closest(".cme-color-picker-popup")&&!r.target.closest('[title="Text Color"]')&&v(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[p,x]),e.useEffect(()=>{if(!L)return;const t=r=>{!r.target.closest(".cme-more-popup")&&!r.target.closest(".cme-more-trigger-btn")&&T(null)};return window.addEventListener("mousedown",t,!0),window.addEventListener("pointerdown",t,!0),()=>{window.removeEventListener("mousedown",t,!0),window.removeEventListener("pointerdown",t,!0)}},[L]),e.useEffect(()=>{const t=setTimeout(()=>Fe(),50);return()=>clearTimeout(t)},[u]),e.useEffect(()=>{if(F)return;const t=m;if(!t)return;t.macros={...t.macros,...window.__cme_macros||{}},t.defaultMode="math";const r=()=>{if(h){let i=pe(h);if(l==="chem"){const s=i.match(/^\\ce\{([\s\S]*)\}$/i);s&&(i=s[1])}i=X(i),i=le(i),t.setValue?t.setValue("",{silenceNotifications:!0}):t.value="",t.executeCommand(["insert",i,{insertionMode:"replaceAll"}])}requestAnimationFrame(()=>{document.querySelector(".cme-editor-popup.minimized")||t.focus()})};customElements.get("math-field")?requestAnimationFrame(r):customElements.whenDefined("math-field").then(()=>requestAnimationFrame(r))},[l,h,m]),e.useEffect(()=>{const t=m;if(!t)return;const r=i=>{if(["ArrowLeft","ArrowRight","ArrowUp","ArrowDown"].includes(i.key)?(F=!1,clearTimeout(ge),window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0):(i.key.length===1||i.key===" ")&&(F=!0,clearTimeout(ge),ge=setTimeout(()=>{F=!1},500)),["`","~","!","@","#","$","%","^","&","*","_",'"',"'","/","\\","|"].includes(i.key)&&!i.ctrlKey&&!i.metaKey&&!i.altKey){i.preventDefault(),i.stopPropagation();let s="";i.key==="`"?s="\\grave{\\ }":i.key==="~"?s="\\sim":i.key==="!"?s="!":i.key==="@"?s="@":i.key==="#"?s="\\#":i.key==="$"?s="\\$":i.key==="%"?s="\\%":i.key==="^"?s="\\wedge":i.key==="&"?s="\\&":i.key==="*"?s="\\ast":i.key==="_"?s="\\_":i.key==='"'?s='\\text{"}':i.key==="'"?s="\\text{'}":i.key==="/"?s="\\mathord{/}":i.key==="\\"?s="\\backslash":i.key==="|"&&(s="|"),t.executeCommand(["insert",s]);return}if(i.key.length===1&&!i.ctrlKey&&!i.metaKey&&!i.altKey&&/[a-zA-Z0-9]/.test(i.key)){if(i.preventDefault(),i.stopPropagation(),!y.bold||!y.italic)try{t.executeCommand("moveOutOfGroup")}catch{}let s=te(i.key,y.bold,y.italic,y.fontFamily);const b=y.fontSize==="auto"?5:parseInt(y.fontSize,10);if(b!==5){const w={1:"\\tiny",2:"\\scriptsize",3:"\\footnotesize",4:"\\small",5:"\\normalsize",6:"\\large",7:"\\Large",8:"\\LARGE",9:"\\huge",10:"\\Huge"};w[b]&&(s=`{${w[b]} ${s}}`)}y.color!=="none"&&(s=`\\textcolor{${y.color}}{${s}}`),t.executeCommand(["insert",s]);return}i.key===" "?(i.preventDefault(),t.executeCommand(["insert","\\, "])):i.key==="Enter"&&(i.preventDefault(),i.stopImmediatePropagation(),t.executeCommand("addRowAfter"))};return t.addEventListener("keydown",r,!0),()=>t.removeEventListener("keydown",r,!0)},[l,y,U,m]),e.useEffect(()=>{const t=m;if(!t)return;const r=()=>{window.__cmeIgnoreStyleUpdate&&Date.now()<window.__cmeIgnoreStyleUpdate||(J(t)&&(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0),setTimeout(()=>{const i=t.shadowRoot;if(!i)return;const s=i.querySelector(".ML__caret")||i.querySelector('[class*="caret"]');s&&s.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"}),U()},0))};return t.addEventListener("selection-change",r),t.addEventListener("input",r),t.addEventListener("keydown",r),t.addEventListener("pointerup",r),t.addEventListener("click",r),setTimeout(U,50),()=>{t.removeEventListener("selection-change",r),t.removeEventListener("input",r),t.removeEventListener("keydown",r),t.removeEventListener("pointerup",r),t.removeEventListener("click",r)}},[U,m]);const G=e.useCallback(t=>{const r=_;if(!r||!t)return;r.focus();const i=te(t,y.bold,y.italic,y.fontFamily);r.executeCommand(["insert",i])},[y]),nt=e.useCallback((t,r,i)=>{let s=`\\begin{${t}} `;for(let b=0;b<r;b++){for(let w=0;w<i;w++)s+="#?",w<i-1&&(s+=" & ");b<r-1&&(s+=" \\\\ ")}s+=` \\end{${t}}`,G(s)},[G]),ot=t=>{t.stopPropagation(),De(r=>!r),Ne(!1),K({x:0,y:0})},at=t=>{t.stopPropagation(),Ne(r=>!r),De(!1),K({x:0,y:0})},Ue=t=>{t&&t.stopPropagation();const r=_;if(!r){a&&a();return}const i=r.getValue?r.getValue("latex"):r.value,s=h||"";!i||i.trim()===""||i===s?a&&a():ie(!0)},st=()=>{const t=_;if(!t)return;let r=t.getValue?t.getValue("latex"):t.value;if(!r||r.trim()===""){a&&a();return}l==="chem"&&(r=$e(r)),r=X(r);const i=r.match(/^\\(mathrm|mathit|mathbf|mathsf|text)\{\\displaylines\{([\s\S]*)\}\}$/);if(i){const s=i[1];r=`\\displaylines{${i[2].split("\\\\").map(S=>`\\${s}{${S.trim()}}`).join(" \\\\ ")}}`}r=r.replace(/[\r\n]+/g," "),n&&n(r),t.setValue?t.setValue(""):t.value="",a&&a()};return Q.createPortal(e.createElement("div",{className:`cme-editor-popup ${lt?"maximized":""} ${rt?"minimized":""}`,style:{transform:`translate(${N.x}px, ${N.y}px)`},onPointerDown:t=>t.stopPropagation()},e.createElement("div",{className:"cme-popup-topbar"},e.createElement("div",{className:"cme-popup-header",onPointerDown:Oe,onTouchStart:Oe,style:{cursor:Z?"grabbing":"grab",touchAction:"none"}},e.createElement("span",null,o?l==="math"?"Edit Math Formula":"Edit Chemistry Formula":l==="math"?"Math Editor":"Chemistry Editor")),e.createElement("div",{className:"cme-popup-controls"},e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:at,title:"Minimize"},"—"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:ot,title:"Maximize"},"⤢"),e.createElement("button",{type:"button",className:"cme-popup-btn",onClick:Ue,title:"Close"},"✕"))),e.createElement("div",{className:"cme-toolbar",role:"toolbar","aria-label":"Symbol palette"},e.createElement("div",{className:"cme-toolbar-groups"},ne.map((t,r)=>{const i=u===r;return e.createElement("button",{key:t.isMatrix?"matrix-tab":t.label,className:`cme-group-tab${i?" active":""}`,type:"button",onPointerDown:s=>{s.preventDefault(),C(r),A(null)}},t.mathLabel?e.createElement("math-field",{"read-only":!0,tabIndex:-1,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:t.fontSize||(t.isMatrix?"8px":"11px"),display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",color:i?"#333333":"#ffffff"}},t.mathLabel):t.label)})),e.createElement("div",{className:"cme-toolbar-items"},(()=>{var s;const t=((s=ne[u])==null?void 0:s.items)||[],r=t.some(b=>b.type==="sep"),i=[];if(r){let b={cols:2,small:!1,cls:"",items:[],moreItems:null};for(const w of t)w.type==="sep"?(b.items.length>0&&i.push(b),b={cols:w.cols||2,small:!!w.small,cls:w.cls||"",items:[],moreItems:w.moreItems||null,moreCols:w.moreCols||1}):b.items.push(w);b.items.length>0&&i.push(b)}else for(let w=0;w<t.length;w+=4)i.push({cols:2,small:!1,cls:"",items:t.slice(w,w+4)});return i.map((b,w)=>e.createElement("div",{key:w,className:`cme-symbol-subgroup${b.small?" cme-symbol-subgroup--small":""}${b.cls?` ${b.cls}`:""}${b.moreItems?" cme-subgroup-has-more":""}`,style:{gridTemplateColumns:`repeat(${b.cols}, auto)`,position:"relative"}},b.moreItems&&e.createElement("button",{type:"button",className:"cme-more-trigger-btn",title:"more",onPointerDown:g=>{g.preventDefault()},onClick:g=>{if(g.stopPropagation(),L&&L.items===b.moreItems)T(null);else{const S=g.currentTarget.getBoundingClientRect(),M=ne[u]||{};T({cx:S.left+S.width/2,y:S.bottom,items:b.moreItems,cols:b.moreCols,isTemplate:M.isTemplate||M.label==="√(□)"||M.isMatrix})}}},"▶"),b.items.map((g,S)=>{const M=ne[u];if(g.type==="dropdown"){const B=g.label==="Font...",E=g.label==="Size",oe=B&&y.fontFamily!=="none",ae=E&&y.fontSize!=="auto"&&y.fontSize!=="5",se=B?y.fontFamily==="none"?"":y.fontFamily:E?y.fontSize==="auto"||y.fontSize==="5"?"":y.fontSize:"";return e.createElement("select",{key:S,className:`cme-btn template${oe||ae?" active":""}`,value:se,style:{width:g.width||"60px",height:"18px",minHeight:"18px",maxHeight:"18px",lineHeight:"18px",boxSizing:"border-box",marginTop:"10px",fontSize:"10px",padding:"0",margin:"2px 0",gridColumn:b.cols===3||b.cols===1?"span 1":"span 2"},onChange:he=>{const j=he.target.value,P=_;!P||typeof P.applyStyle!="function"||(P.focus(),B?P.applyStyle({fontFamily:j||"none"}):E&&P.applyStyle({fontSize:j?parseInt(j,10):"auto"}),U())}},e.createElement("option",{value:""},g.label),B&&e.createElement(e.Fragment,null,e.createElement("option",{value:"roman"},"Times"),e.createElement("option",{value:"sans-serif"},"Helvetica"),e.createElement("option",{value:"monospace"},"Courier")),E&&e.createElement(e.Fragment,null,e.createElement("option",{value:"5"},"12px"),e.createElement("option",{value:"7"},"16px"),e.createElement("option",{value:"9"},"20px")))}if(M.isMatrix&&!g.directInsert)return e.createElement("div",{key:S,className:"cme-matrix-btn-wrapper"},e.createElement("button",{type:"button",className:`cme-btn template${g.cls?` ${g.cls}`:""}${M.isMatrix?" cme-matrix-btn-small":""}`,title:g.title||g.label||g.insert,onPointerDown:B=>{if(B.preventDefault(),B.stopPropagation(),(p==null?void 0:p.type)===g.insert)A(null);else{F||(window.__cmeManualBold=void 0,window.__cmeManualItalic=void 0,window.__cmeManualFontFamily=void 0,window.__cmeManualFontSize=void 0);const E=B.currentTarget.getBoundingClientRect();A({type:g.insert,x:E.left+E.width/2,y:E.bottom})}}},typeof g.label=="object"?g.label:e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},be(g.mathLabel!=null?g.mathLabel:g.insert))));const q=g.action==="BOLD",z=g.action==="ITALIC",D=g.action==="TEXT_COLOR",ht=q&&y.bold||z&&y.italic||D&&y.color!=="none"&&y.color!=="black";return e.createElement("button",{key:`${M.label}-${w*4+S}`,type:"button",className:`cme-btn${M.isTemplate?" template":""}${g.cls?` ${g.cls}`:""}${ht?" active":""}`,title:g.title||g.label||g.insert,onPointerDown:B=>{var oe,ae,se,he,j,P,Pe;B.preventDefault();const E=c.current;if(g.action==="SPECIAL_CHARS"){const I=B.currentTarget.getBoundingClientRect();f({x:I.left,y:I.bottom+4})}else if(g.action==="TEXT_COLOR"){const I=B.currentTarget.getBoundingClientRect();v({x:I.left,y:I.bottom+4})}else if(g.action==="BOLD"){if(E){E.focus();const I=J(E),H=I?He(E):y.bold,O=!H;if(console.log("CME: BOLD button clicked, currentBold=",H,"newBold=",O,"hasSel=",I),window.__cmeManualBold=O,window.__cmeIgnoreStyleUpdate=Date.now()+50,I){const V=E.getValue(E.selection),xe=Le(V),ye=te(xe,O,y.italic,y.fontFamily);E.executeCommand(["insert",ye])}else if(typeof E.applyStyle=="function")if(O)E.applyStyle({fontSeries:"b"});else{try{E.executeCommand("moveOutOfGroup")}catch{}E.applyStyle({fontSeries:"auto"}),E.applyStyle({fontSeries:"m"})}we(V=>({...V,bold:O})),setTimeout(()=>{U()},60)}}else if(g.action==="ITALIC"){if(E){E.focus();const I=J(E),O=!(I?Ve(E):y.italic);if(window.__cmeManualItalic=O,window.__cmeIgnoreStyleUpdate=Date.now()+50,I){const V=E.getValue(E.selection),xe=Le(V),ye=te(xe,y.bold,O,y.fontFamily);E.executeCommand(["insert",ye])}else if(typeof E.applyStyle=="function")if(O)E.applyStyle({shape:"it"});else{try{E.executeCommand("moveOutOfGroup")}catch{}E.applyStyle({shape:"auto"}),E.applyStyle({shape:"n"})}we(V=>({...V,italic:O})),setTimeout(()=>{U()},60)}}else g.action==="UNDO"?(oe=c.current)==null||oe.executeCommand("undo"):g.action==="REDO"?(ae=c.current)==null||ae.executeCommand("redo"):g.action==="CUT"?((se=c.current)==null||se.focus(),(he=c.current)==null||he.executeCommand("cutToClipboard")):g.action==="COPY"?((j=c.current)==null||j.focus(),(P=c.current)==null||P.executeCommand("copyToClipboard")):g.action==="PASTE"?((Pe=c.current)==null||Pe.focus(),navigator.clipboard.readText().then(I=>{var H;(H=c.current)==null||H.executeCommand(["insert",I])}).catch(I=>{var H;(H=c.current)==null||H.executeCommand("pasteFromClipboard")})):G(g.insert)}},(M.isTemplate||M.label==="√(□)"||M.isMatrix||g.isWidget)&&g.insert&&!g.action&&!g.forceLabel?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},be(g.insert)):g.label)})))})())),L&&Q.createPortal(e.createElement("div",{ref:t=>{t&&requestAnimationFrame(()=>{const r=t.getBoundingClientRect(),i=document.querySelector(".cme-editor-popup");let s=L.cx-r.width/2,b=L.y;if(i){const w=i.getBoundingClientRect();s+r.width>w.right-4&&(s=w.right-r.width-4),s<w.left+4&&(s=w.left+4),b+r.height>w.bottom-4&&(b=w.bottom-r.height-4)}s+r.width>window.innerWidth-4&&(s=window.innerWidth-r.width-4),b+r.height>window.innerHeight-4&&(b=window.innerHeight-r.height-4),s<4&&(s=4),t.style.left=`${s}px`,t.style.top=`${b}px`,t.style.transform="none"})},className:"cme-more-popup",style:{position:"fixed",left:`${L.cx}px`,top:`${L.y}px`,transform:"translateX(-50%)",zIndex:2147483647,gridTemplateColumns:`repeat(${L.cols||1}, auto)`}},L.items.map((t,r)=>e.createElement("button",{key:r,type:"button",className:`cme-more-popup-btn ${t.cls||""}`,title:t.title||t.label||t.insert,onPointerDown:i=>{i.preventDefault(),G(t.insert),T(null)}},t.insert&&!t.action&&(t.cls==="template"||t.isWidget)?e.createElement("math-field",{"read-only":!0,style:{pointerEvents:"none",background:"transparent",border:"none",outline:"none",fontSize:"12px",display:"inline-block",width:"auto",minHeight:"auto",padding:"0",margin:"0",boxShadow:"none",cursor:"pointer"}},be(t.mathLabel!=null?t.mathLabel:t.insert)):t.label))),document.body),e.createElement("div",{className:"cme-mathfield-container",onPointerDown:t=>{var r,i;c.current&&(t.target===c.current||c.current.contains(t.target))||(t.preventDefault(),(i=(r=c.current)==null?void 0:r.focus)==null||i.call(r))},onTouchStart:t=>{var r,i;c.current&&(t.target===c.current||c.current.contains(t.target))||(t.preventDefault(),(i=(r=c.current)==null?void 0:r.focus)==null||i.call(r))}},e.createElement("math-field",{ref:t=>{c.current=t,_=t,t&&m!==t&&d(t),t&&(t.inlineShortcuts=Object.assign({},t.inlineShortcuts,{"*":"*"}),window.mathVirtualKeyboard&&(window.mathVirtualKeyboard.policy="manual"),t.menuItems&&(t.menuItems=t.menuItems.filter(r=>{const i=typeof r.label=="string"?r.label.toLowerCase():"",s=typeof r.id=="string"?r.id.toLowerCase():"";return!i.includes("matrix")&&!s.includes("matrix")})))},class:"cme-mathfield",tabIndex:0,"math-virtual-keyboard-policy":"manual",placeholder:""})),e.createElement("div",{className:"cme-popup-footer"},e.createElement("button",{type:"button",className:"cme-insert-btn",onClick:st},o?"Update":"Insert"),e.createElement("button",{type:"button",className:"cme-cancel-btn",onClick:Ue},"Cancel"),e.createElement("span",{style:{marginLeft:"auto",fontSize:"11px",color:"#888",alignSelf:"center",marginRight:"10px"}},"v",ze.version)),it&&e.createElement("div",{className:"cme-confirm-overlay",onPointerDown:t=>{t.stopPropagation(),ie(!1)}},e.createElement("div",{className:"cme-confirm-modal",onPointerDown:t=>t.stopPropagation()},e.createElement("p",null,"Are you sure you want to leave? The changes you made will be lost."),e.createElement("div",{className:"cme-confirm-actions"},e.createElement("button",{type:"button",className:"cme-confirm-close-btn",onClick:t=>{t.stopPropagation(),ie(!1),a&&a()}},"Close"),e.createElement("button",{type:"button",className:"cme-confirm-cancel-btn",onClick:t=>{t.stopPropagation(),ie(!1)}},"Cancel")))),p&&Q.createPortal(e.createElement(et,{matrixType:p.type,x:p.x,y:p.y,onSelect:(t,r)=>{nt(p.type,t,r),A(null)},onMouseEnter:()=>{},onMouseLeave:()=>{}}),document.body),k&&Q.createPortal(e.createElement(Je,{isOpen:!!k,position:k,onClose:()=>f(null),onInsert:t=>{G(t),f(null)}}),document.body),x&&Q.createPortal(e.createElement("div",{className:"cme-color-picker-popup",style:{position:"fixed",left:Math.min(x.x,window.innerWidth-160)+"px",top:Math.min(x.y,window.innerHeight-100)+"px",zIndex:2147483647,background:"#fff",border:"1px solid #ccc",padding:"6px",display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:"4px",borderRadius:"4px",boxShadow:"0 2px 5px rgba(0,0,0,0.2)"}},["black","dimgray","gray","darkgray","silver","white","red","orange","yellow","lime","cyan","blue","purple","magenta","pink","brown","maroon","olive","green","teal","navy","indigo","violet","gold"].map(t=>{const r=y.color===t||t==="black"&&(y.color==="none"||!y.color);return e.createElement("div",{key:t,title:t,style:{width:"16px",height:"16px",backgroundColor:t,cursor:"pointer",border:r?"2px solid #e6c229":"1px solid #000",boxSizing:"border-box"},onPointerDown:i=>{i.preventDefault(),i.stopPropagation();const s=c.current;s&&typeof s.applyStyle=="function"&&(s.focus(),s.applyStyle({color:t==="black"?"none":t}),U()),v(null)}})})),document.body)),document.body)}const Be=({isOpen:l,mode:n,initialValue:a,onInsert:h,onClose:o})=>l?e.createElement(tt,{mode:n,onInsert:h,onClose:o,initialLatex:a||"",isEditing:!!a}):null;W.CME_SHADOW_DOM_CSS=Ae,W.CustomMathEditor=Be,W.MathInlinePlugin=Re,W.default=Be,Object.defineProperties(W,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});