pom-text-editor 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -46,6 +46,13 @@ Copy code
46
46
  <template>
47
47
  <Editor @change="resultData" />
48
48
  </template>
49
+ ## add ToolBar
50
+ ```
51
+ TextOnly out put
52
+ <Editor TextOnly='true' @change="resultData" />
53
+
54
+ ```
55
+
49
56
  ## add ToolBar
50
57
  ```
51
58
  <template>
@@ -111,7 +118,7 @@ Push to the branch: git push origin feature/your-feature.
111
118
  Open a Pull Request.
112
119
 
113
120
  ## Contributors
114
- [**SSENGENDO NAZIL**](https://github.com/ssengedonazil) – Lead Project maintainer
121
+ [**ssengendonazil@gmail.com**](https://github.com/ssengedonazil) – Lead Project maintainer
115
122
  - [**wanderatimothy2@gmail.com**](https://github.com/contributor) – Project maintainer
116
123
 
117
124
 
@@ -2,21 +2,28 @@
2
2
  * Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  * Copyright 2024 Fonticons, Inc.
5
- */.editor[data-v-c5304261]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.editor[data-v-c5304261]:focus:before{content:none}.table-picker-wrapper[data-v-c5304261]{position:relative;display:inline-block}.table-picker-trigger[data-v-c5304261]{cursor:pointer;display:flex;align-items:center}.table-picker-container[data-v-c5304261]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.table-picker-wrapper:hover .table-picker-container[data-v-c5304261]{display:block}.table-picker-grid[data-v-c5304261]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.table-picker-grid div[data-v-c5304261]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.table-picker-grid div[data-v-c5304261]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-c5304261]{font-size:12px;color:#333}.pomXEditor[data-v-c5304261]{border:1px;border-style:solid;border-color:#6972734e}#editor[data-v-c5304261]:focus{outline:none;border:none}.pom-table-editor-container[data-v-c5304261]{display:flex}.pom-table-editor-container a[data-v-c5304261]{color:#00f;text-decoration:underline;cursor:pointer}.pom-table-editor-container a[data-v-c5304261]:link{color:#00f}.pom-table-editor-container a[data-v-c5304261]:visited{color:purple}.pom-table-editor-container a[data-v-c5304261]:hover{color:red;text-decoration:none}.pom-table-editor-container a[data-v-c5304261]:active{color:orange}@media print{.hideonprint[data-v-c5304261]{display:none!important}[data-v-c5304261]{overflow:hidden}}.editor[data-v-c5304261]{padding:10px;border:1px solid #ccc;min-height:200px}.resizable-image[data-v-c5304261]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
6
- "use strict";const e=require("vue");function oe(){const n=window.getSelection();if(n.rangeCount>0){const r=n.getRangeAt(0),o=r.startOffset;document.getElementById("cursorPosition").textContent=o;const l=r.startContainer;if(l.nodeType===Node.TEXT_NODE){const a=l.textContent.substring(o,o+1);document.getElementById("textAtCursor").textContent=a}else document.getElementById("textAtCursor").textContent="No text here"}}function ne(){const n=window.getSelection();if(n.rangeCount>0)return{range:n.getRangeAt(0).cloneRange(),selection:n}}function U(n){n.preventDefault();const o=n.target.parentElement,l=n.clientX,a=n.clientY,u=parseFloat(window.getComputedStyle(o).width),i=parseFloat(window.getComputedStyle(o).height);function d(p){const y=p.clientX-l,h=p.clientY-a;o.style.width=`${u+y}px`,o.style.height=`${i+h}px`,o.style.minWidth="50px",o.style.minHeight="50px";const g=o.querySelector("img");g&&(g.style.width="100%")}function m(){document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",m)}document.addEventListener("mousemove",d),document.addEventListener("mouseup",m)}let T;function O(n,r){const[o,l]=r.textContent.split(" x ").map(Number);ie(n,l,o)}function X(n,r,o){const l=Array.from(o.children).indexOf(n.target),a=l%10+1,u=Math.floor(l/10)+1;Array.from(o.children).forEach((i,d)=>{d<=l?i.style.backgroundColor="#1f9296":i.style.backgroundColor="#737979"}),r.textContent=`${a} x ${u}`}function le(n,r,o,l){for(T=n;o.firstChild;){const a=o.firstChild;a.removeEventListener("mouseover",X),a.removeEventListener("click",O),o.removeChild(a)}for(let a=0;a<100;a++){const u=document.createElement("div");u.addEventListener("mouseover",i=>X(i,l,o)),u.addEventListener("click",()=>O(r,l)),o.appendChild(u)}}function ie(n,r=2,o=2){const l=T.range;if(l){const a=T.selection,u=document.createElement("div");u.classList.add("pom-table-editor-container"),u.style.display="flex";const i=document.createElement("table");i.style.border="1px solid black",i.style.borderCollapse="collapse",i.classList.add("pom-table-editor");for(let p=0;p<r;p++){const y=document.createElement("tr");for(let h=0;h<o;h++){const g=document.createElement("td");g.style.border="1px solid black",g.style.padding="5px",g.textContent=`Row ${p+1}, Cell ${h+1}`;const v=document.createElement("div");v.style.width="5px",v.style.height="100%",v.style.position="absolute",v.style.right="0",v.style.top="0",v.style.cursor="col-resize",v.style.userSelect="none",v.addEventListener("mousedown",U),g.style.position="relative",g.appendChild(v),y.appendChild(g)}i.appendChild(y)}u.appendChild(i),i.addEventListener("contextmenu",function(p){p.preventDefault(),se(p,i,u)}),l.deleteContents(),l.insertNode(u);const d=i.querySelector("td"),m=document.createRange();return m.setStart(d,0),m.collapse(!0),a.addRange(m),T=m.cloneRange(),n.focus(),T}}function se(n,r,o){const l=document.getElementById("custom-context-menu");l&&document.body.removeChild(l);const a=document.createElement("div");a.id="custom-context-menu",a.style.position="absolute",a.style.backgroundColor="white",a.style.border="1px solid #ccc",a.style.padding="10px",a.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",a.style.zIndex="1000",a.style.left=`${n==null?void 0:n.pageX}px`,a.style.top=`${n==null?void 0:n.pageY}px`,[{text:"Delete Table",action:()=>o.remove()},{text:"Toggle Borders",action:()=>{const i=r.style.border!=="";r.style.border=i?"":"1px solid black",r.style.borderCollapse="collapse",r.querySelectorAll("td").forEach(d=>{d.style.border=i?"":"1px solid black"})}},{text:"Color Table",action:()=>{const i=document.createElement("input");i.type="color",i.style.marginTop="5px",i.addEventListener("input",()=>{r.style.backgroundColor=i.value});const d=document.createElement("input");d.type="color",d.style.marginTop="5px",d.addEventListener("input",()=>{r.style.color=d.value}),a.appendChild(document.createTextNode("Background Color:")),a.appendChild(i),a.appendChild(document.createTextNode("Text Color:")),a.appendChild(d)}},{text:"Add Row",action:()=>{const i=document.createElement("tr"),d=r.rows[0].cells.length;for(let m=0;m<d;m++){const p=document.createElement("td");p.style.border="1px solid black",p.style.padding="5px",p.textContent=`Row ${r.rows.length+1}, Cell ${m+1}`,i.appendChild(p)}r.appendChild(i)}},{text:"Add Column",action:()=>{for(let i=0;i<r.rows.length;i++){const d=document.createElement("td");d.style.border="1px solid black",d.style.padding="5px",d.textContent=`Row ${i+1}, Cell ${r.rows[i].cells.length+1}`,r.rows[i].appendChild(d)}}}].forEach(i=>{const d=document.createElement("div");d.textContent=i.text,d.style.cursor="pointer",d.addEventListener("click",i.action),a.appendChild(d)}),document.body.appendChild(a),document.addEventListener("click",function i(){a&&document.body.removeChild(a),document.removeEventListener("click",i)})}function W(n,r="strong",o="*bold text here *",l=[]){if(n){const a=window.getSelection();a.removeAllRanges(),a.addRange(n);const u=a.getRangeAt(0),i=`${u.toString()}`.trim(),d=u.cloneContents();if(typeof r=="string"&&r.trim()!==""){const m=document.createElement(r);m.style.paddingLeft="7px",m.contenteditable=!1,l&&l.forEach(g=>{const{attr:v,value:E,keyin:b}=g;m.setAttribute(v,E)}),m.appendChild(d),m.innerHTML=i.length>0?m.innerHTML:o;const p=document.createElement("span"),y=document.createElement("span");p.innerHTML="&nbsp;",y.innerHTML="&nbsp;",n.deleteContents(),n.insertNode(p),n.insertNode(m),n.insertNode(y);const h=document.createRange();h.setStartAfter(y),h.collapse(!0),a.removeAllRanges(),a.addRange(h),n=h.cloneRange()}else console.error("Invalid element type:",r)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function ae(n,r,o="span",l="datetime-local",a={},u=[]){const i=document.getElementById("Pom-openInputToFeed"+l);i&&i.remove();const d=document.createElement("div"),m=document.createElement("input");d.id="custom-context-menu",d.style.position="absolute",d.style.backgroundColor="white",d.style.border="1px solid #ccc",d.style.padding="10px",d.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",d.style.zIndex="1000",d.style.left=`${r==null?void 0:r.pageX}px`,d.style.top=`${r==null?void 0:r.pageY}px`,m.id="Pom-openInputToFeed"+l,m.classList.add("Pom-openInputToFeed"),m.type=l,m.style.cssText=a,d.appendChild(m);const p=document.getElementById("toolbar");p&&p.appendChild(d),m.addEventListener("change",function(){const g=`${this.value}`;if(l=="datetime-local")W(n,o,g.replace(/T/," "));else{let E=[];for(const b in u)if(u.hasOwnProperty(b))if(b.toLowerCase()==="href")E.push({attr:b,value:g});else{const S=u[b];E.push({attr:b,value:S})}W(n,o,"**link Name** ",E)}d.remove(),window.document.removeEventListener("click",y);const v=document.getElementsByClassName("pom-editor-anchor-tag");for(let E=0;E<v.length;E++)v[E].addEventListener("click",h)});function y(g){d.contains(g.target)||(d.remove(),window.document.removeEventListener("click",y))}function h(g){g.preventDefault();const v=this.href;window.open(v,"_blank"),window.document.removeEventListener("click",h)}}function re(n,r,o,l,a="",u="span"){if(!n){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const i=window.getSelection();i.removeAllRanges(),i.addRange(n);const d=i.getRangeAt(0),m=d.cloneContents(),p=d.commonAncestorContainer,y=p.nodeType===Node.TEXT_NODE?p.parentNode:p;let h,g;h=document.createElement(u),h.classList.add("pom-4-textDirection"),h.setAttribute("id",`pom-4-textDirection-${Date.now()}`);const v=`${y.tagName}`.toLowerCase(),E=y.classList.contains("resizer-image-dropped");if(v=="ul"||E){alert(l);const z={justify:"inline-start",none:"inline-none",end:"inline-end",start:"none",center:"inline-start"};y.style.float=`${z[l]}`,y.style.fontWeight="bold";return}h.appendChild(m),y.id==="editor"?(g=h.innerHTML.replace("text-align","note"),n.deleteContents()):(g=h.innerHTML,n.deleteContents());const b=h.style[o]||"",S=new RegExp(a,"ig"),V=l.replace(S,"")+a;b.includes(V)?h.style[o]=b.replace(V,""):h.style[o]=(b+V).trim(),h.style["margin-left"]="4px",h.style["margin-right"]="4px",h.innerHTML=g,n.insertNode(h);const C=document.createRange();C.collapse(!0),i.removeAllRanges(),i.addRange(C),n=C.cloneRange(),r.focus()}function de(n,r=2,o="list-style"){if(n){const l=window.getSelection();l.removeAllRanges(),l.addRange(n);const a=document.createElement("ul");a.style.listStyle=o,a.style.paddingLeft="73px";for(let d=0;d<r;d++){const m=document.createElement("li");m.style.padding="5px",m.textContent=`li ${d+1}, `,m.style.position="relative",a.appendChild(m)}n.deleteContents(),n.insertNode(a);const u=a.querySelector("td"),i=document.createRange();i.setStart(u,0),i.collapse(!0),l.removeAllRanges(),l.addRange(i),n=i.cloneRange(),editor.focus()}}function ce(n){n.preventDefault();const o=n.target.parentElement,l=document.getElementById("editor"),a=n.clientX,u=n.clientY,i=parseFloat(window.getComputedStyle(o).left)||0,d=parseFloat(window.getComputedStyle(o).top)||0,m=l.offsetWidth,p=l.offsetHeight,y=o.offsetWidth,h=o.offsetHeight;function g(E){const b=E.clientX-a,S=E.clientY-u;let V=i+b,C=d+S;V<0?V=0:V+y>m&&(V=m-y),C<0?C=0:C+h>p&&(C=p-h),o.style.left=`${V}px`,o.style.top=`${C}px`;const z=m/2,j=p/2,H=V+y/2,_=C+h/2;Math.abs(H-z)<1&&Math.abs(_-j)<1&&alert("Container is centered!")}function v(){document.removeEventListener("mousemove",g),document.removeEventListener("mouseup",v)}document.addEventListener("mousemove",g),document.addEventListener("mouseup",v)}function me(n,r){try{const o=document.createElement("div");o.style.width="20px",o.style.height="20px",o.style.background="rgba(0, 0, 0, 0.5)",o.style.position="absolute",o.style.left="0",o.style.top="0",o.style.cursor="move",o.style.zIndex="11",o.classList.add(r),o.classList.add("hideonprint"),o.addEventListener("mousedown",l=>{ce(l)}),n.appendChild(o)}catch(o){console.log(o)}}function ue(n,r){if(n){const o=window.getSelection();o.removeAllRanges(),o.addRange(n);const l="Pom_Imge_EditorIn"+Date.now(),a=document.createElement("div");a.style.display="inline-flex",a.style.position="relative",a.style.width="200px",a.style.minHeight="40px",a.classList.add(l),a.classList.add("hideOnprint"),a.classList.add("pom-4-imageContainer"),a.id=l,a.setAttribute("contenteditable",!1);const u=document.createElement("img");u.style.padding="5px",u.style.width="100%",u.src=r,u.style.display="block",u.classList.add(l),u.setAttribute("contenteditable",!1);const i=document.createElement("div");i.style.width="20px",i.style.height="20px",i.style.background="gray",i.style.position="absolute",i.style.right="0",i.style.bottom="0",i.style.cursor="nwse-resize",i.style.zIndex="10",i.classList.add(l),i.setAttribute("contenteditable",!1),i.classList.add("hideOnprint"),i.addEventListener("mousedown",U),a.appendChild(u),a.appendChild(i),me(a,l),n.deleteContents(),n.insertNode(a);const d=document.createRange();d.setStartAfter(u),d.collapse(!0),o.removeAllRanges(),o.addRange(d),n=d.cloneRange(),editor.focus();let m=document.getElementsByClassName(l);for(let p=0;p<m.length;p++)m[p].addEventListener("keyup",function(h){h.keyCode==8})}}async function pe(n,r){const o=n.target.files||n.dataTransfer.files;if(o.length){for(const l in o)if(o.hasOwnProperty(l)){const a=o[l],u=await he(a);ue(r,u)}}}function he(n){return new Promise((r,o)=>{const l=new FileReader;l.onloadend=()=>r(l.result),l.onerror=a=>o(a),l.readAsDataURL(n)})}function ge(n){const r=document.createElement("div");r.textContent="NeW line ",n.appendChild(r),r.focus()}function q(n=!1,r=document.getElementsByClassName("pom-table-editor-container")){r=Array.from(r),r.forEach(o=>{if(n){const l=o.style.display==="flex"?"none":"flex";o.style.display=l;return}o.remove()})}function fe(n=document.getElementById("pom-texedito-container").innerHTML,r=".hideonprint"){const o=window.open("","","height=900,width=800");o.document.write("<html><head><title>Print</title>"),o.document.write(`<style>
7
- ${r} {
5
+ */.pom-main-element-container .editor[data-v-df48f6af]:empty:before{content:attr(data-placeholder);color:#aaa;left:10px;top:10px;pointer-events:none;font-size:19px}.pom-main-element-container .editor[data-v-df48f6af]:focus:before{content:none}.pom-main-element-container .table-picker-wrapper[data-v-df48f6af]{position:relative;display:inline-block}.pom-main-element-container .table-picker-trigger[data-v-df48f6af]{cursor:pointer;display:flex;align-items:center}.pom-main-element-container .table-picker-container[data-v-df48f6af]{position:absolute;top:10%;right:90;margin-top:10px;padding:10px;border:0;background-color:#f4f4f4;cursor:pointer;-webkit-user-select:none;user-select:none;width:max-content;display:none;left:85%!important;top:-7px}.pom-main-element-container .table-picker-wrapper:hover .table-picker-container[data-v-df48f6af]{display:block}.pom-main-element-container .table-picker-grid[data-v-df48f6af]{display:grid;grid-template-columns:repeat(10,20px);grid-template-rows:repeat(10,20px);gap:2px;margin-bottom:10px}.pom-main-element-container .table-picker-grid div[data-v-df48f6af]{width:20px;height:20px;border:1px solid #ddd;background-color:#efa153ce}.pom-main-element-container .table-picker-grid div[data-v-df48f6af]:hover{background-color:#f8f6f6;border:0}.table-dimensions[data-v-df48f6af]{font-size:12px;color:#333}.pom-main-element-container .pomXEditor[data-v-df48f6af]{border:1px;border-style:solid;border-color:#6972734e}.pom-main-element-container #editor[data-v-df48f6af]:focus{outline:none;border:none}.pom-main-element-container .pom-table-editor-container[data-v-df48f6af]{display:flex}.pom-main-element-container .pom-table-editor-container a[data-v-df48f6af]{color:#00f;text-decoration:underline;cursor:pointer}.pom-main-element-container .pom-table-editor-container a[data-v-df48f6af]:link{color:#00f}.pom-main-element-container .pom-table-editor-container a[data-v-df48f6af]:visited{color:purple}.pom-main-element-container .pom-table-editor-container a[data-v-df48f6af]:hover{color:red;text-decoration:none}.pom-main-element-container .pom-table-editor-container a[data-v-df48f6af]:active{color:orange}@media print{.hideonprint[data-v-df48f6af]{display:none!important}[data-v-df48f6af]{overflow:hidden}}.pom-main-element-container .editor[data-v-df48f6af]{padding:10px;border:1px solid #ccc;min-height:200px}.pom-main-element-container .resizable-image[data-v-df48f6af]{max-width:100%;resize:both;overflow:auto;display:block;cursor:nwse-resize}.pom-main-element-container[data-v-df48f6af] ::-webkit-scrollbar{width:12px;height:12px}.pom-main-element-container[data-v-df48f6af] ::-webkit-scrollbar-track{background:#f1f1f1}.pom-main-element-container[data-v-df48f6af] ::-webkit-scrollbar-thumb{background-color:#888;border-radius:6px;border:3px solid #f1f1f1}.pom-main-element-container[data-v-df48f6af] ::-webkit-scrollbar-thumb:hover{background:#555}`)),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
6
+ "use strict";const e=require("vue");function ie(){const o=window.getSelection();if(o.rangeCount>0){const s=o.getRangeAt(0),n=s.startOffset;if(document.getElementById("cursorPosition")){document.getElementById("cursorPosition").textContent=n;const d=s.startContainer;if(d.nodeType===Node.TEXT_NODE){const i=d.textContent.substring(n,n+1);document.getElementById("textAtCursor").textContent=i}else document.getElementById("textAtCursor").textContent="No text here"}}}function se(){const o=window.getSelection();if(o.rangeCount>0)return{range:o.getRangeAt(0).cloneRange(),selection:o}}function Q(o){o.preventDefault();const n=o.target.parentElement,d=o.clientX,i=o.clientY,f=parseFloat(window.getComputedStyle(n).width),r=parseFloat(window.getComputedStyle(n).height);function c(g){const E=g.clientX-d,v=g.clientY-i;n.style.width=`${f+E}px`,n.style.height=`${r+v}px`,n.style.minWidth="50px",n.style.minHeight="50px";const u=n.querySelector("img");u&&(u.style.width="100%")}function m(){document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",m)}document.addEventListener("mousemove",c),document.addEventListener("mouseup",m)}let Z;function U(o,s){const[n,d]=s.textContent.split(" x ").map(Number);re(o,d,n)}function q(o,s,n){const d=Array.from(n.children).indexOf(o.target),i=d%10+1,f=Math.floor(d/10)+1;Array.from(n.children).forEach((r,c)=>{c<=d?r.style.backgroundColor="#1f9296":r.style.backgroundColor="#737979"}),s.textContent=`${i} x ${f}`}function ae(o,s,n,d){for(Z=o;n.firstChild;){const i=n.firstChild;i.removeEventListener("mouseover",q),i.removeEventListener("click",U),n.removeChild(i)}for(let i=0;i<100;i++){const f=document.createElement("div");f.addEventListener("mouseover",r=>q(r,d,n)),f.addEventListener("click",()=>U(s,d)),n.appendChild(f)}}function re(o,s=2,n=2){const d=Z.range;if(d){const i=Z.selection,f=document.createElement("div");f.classList.add("pom-table-editor-container"),f.style.display="flex";const r=document.createElement("table");r.style.border="1px solid black",r.style.borderCollapse="collapse",r.classList.add("pom-table-editor");for(let g=0;g<s;g++){const E=document.createElement("tr");for(let v=0;v<n;v++){const u=document.createElement("td");u.style.border="1px solid black",u.style.padding="5px",u.textContent=`Row ${g+1}, Cell ${v+1}`;const h=document.createElement("div");h.style.width="5px",h.style.height="100%",h.style.position="absolute",h.style.right="0",h.style.top="0",h.style.cursor="col-resize",h.style.userSelect="none",h.addEventListener("mousedown",Q),u.style.position="relative",u.appendChild(h),E.appendChild(u)}r.appendChild(E)}f.appendChild(r),r.addEventListener("contextmenu",function(g){g.preventDefault(),de(g,r,f)}),d.deleteContents(),d.insertNode(f);const c=r.querySelector("td"),m=document.createRange();return m.setStart(c,0),m.collapse(!0),i.addRange(m),Z=m.cloneRange(),o.focus(),Z}}function de(o,s,n){const d=document.getElementById("custom-context-menu");d&&document.body.removeChild(d);const i=document.createElement("div");i.id="custom-context-menu",i.style.position="absolute",i.style.backgroundColor="white",i.style.border="1px solid #ccc",i.style.padding="10px",i.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",i.style.zIndex="1000",i.style.left=`${o==null?void 0:o.pageX}px`,i.style.top=`${o==null?void 0:o.pageY}px`,[{text:"Delete Table",action:()=>n.remove()},{text:"Toggle Borders",action:()=>{const r=s.style.border!=="";s.style.border=r?"":"1px solid black",s.style.borderCollapse="collapse",s.querySelectorAll("td").forEach(c=>{c.style.border=r?"":"1px solid black"})}},{text:"Color Table",action:()=>{const r=document.createElement("input");r.type="color",r.style.marginTop="5px",r.addEventListener("input",()=>{s.style.backgroundColor=r.value});const c=document.createElement("input");c.type="color",c.style.marginTop="5px",c.addEventListener("input",()=>{s.style.color=c.value}),i.appendChild(document.createTextNode("Background Color:")),i.appendChild(r),i.appendChild(document.createTextNode("Text Color:")),i.appendChild(c)}},{text:"Add Row",action:()=>{const r=document.createElement("tr"),c=s.rows[0].cells.length;for(let m=0;m<c;m++){const g=document.createElement("td");g.style.border="1px solid black",g.style.padding="5px",g.textContent=`Row ${s.rows.length+1}, Cell ${m+1}`,r.appendChild(g)}s.appendChild(r)}},{text:"Add Column",action:()=>{for(let r=0;r<s.rows.length;r++){const c=document.createElement("td");c.style.border="1px solid black",c.style.padding="5px",c.textContent=`Row ${r+1}, Cell ${s.rows[r].cells.length+1}`,s.rows[r].appendChild(c)}}}].forEach(r=>{const c=document.createElement("div");c.textContent=r.text,c.style.cursor="pointer",c.addEventListener("click",r.action),i.appendChild(c)}),document.body.appendChild(i),document.addEventListener("click",function r(){i&&document.body.removeChild(i),document.removeEventListener("click",r)})}function P(o,s="strong",n="*bold text here *",d=[]){var i;if(o){const f=window.getSelection();f.removeAllRanges(),f.addRange(o);const r=f.getRangeAt(0),c=`${r.toString()}`.trim(),m=r.cloneContents(),g=r.commonAncestorContainer,E=g.nodeType===Node.TEXT_NODE?g.parentNode:g,v=`${E.tagName}`.toLowerCase();if(typeof s=="string"&&s.trim()!==""){let u=document.createElement(s);u.contenteditable=!1,d&&d.forEach(y=>{const{attr:C,value:L,keyin:F}=y;u.setAttribute(C,L)}),u.appendChild(m),`${s}`.toLowerCase()=="code"?console.log(u.innerHTML,"elmelmelm"):(i=E.classList)!=null&&i.contains("pom-editing-area")||(E.innerHTML,console.log({highlightedText:m,elementType:s,tagName:v},"parentNodeparentNode",u.innerHTML),s==v&&(u=ce(u.innerHTML),E.parentNode.removeChild(E))),u.innerHTML=c.length>0?u.innerHTML:n;const h=document.createElement("span");h.innerHTML="&nbsp;&nbsp;&nbsp;",o.deleteContents(),o.insertNode(h),o.insertNode(u);const b=document.createRange();b.setStartAfter(h),b.collapse(!0),f.removeAllRanges(),f.addRange(b),o=b.cloneRange()}else console.error("Invalid element type:",s)}else console.log("No saved range available. Make sure the cursor position is saved before calling this function.")}function ce(o){const s=document.createElement("div");return s.innerHTML=o,s}function me(o,s,n="span",d="datetime-local",i={},f=[]){const r=document.getElementById("Pom-openInputToFeed"+d);r&&r.remove();const c=document.createElement("div"),m=document.createElement("input");c.id="custom-context-menu",c.style.position="absolute",c.style.backgroundColor="white",c.style.border="1px solid #ccc",c.style.padding="10px",c.style.boxShadow="0 2px 10px rgba(0, 0, 0, 0.2)",c.style.zIndex="1000",c.style.left=`${s==null?void 0:s.pageX}px`,c.style.top=`${s==null?void 0:s.pageY}px`,m.id="Pom-openInputToFeed"+d,m.classList.add("Pom-openInputToFeed"),m.type=d,m.style.cssText=i,c.appendChild(m);const g=document.getElementById("toolbar");g&&g.appendChild(c),m.addEventListener("change",function(){const u=`${this.value}`;if(d=="datetime-local")P(o,n,u.replace(/T/," "));else{let b=[];for(const y in f)if(f.hasOwnProperty(y))if(y.toLowerCase()==="href")b.push({attr:y,value:u});else{const C=f[y];b.push({attr:y,value:C})}P(o,n,"**link Name** ",b)}c.remove(),window.document.removeEventListener("click",E);const h=document.getElementsByClassName("pom-editor-anchor-tag");for(let b=0;b<h.length;b++)h[b].addEventListener("click",v)});function E(u){c.contains(u.target)||(c.remove(),window.document.removeEventListener("click",E))}function v(u){u.preventDefault();const h=this.href;window.open(h,"_blank"),window.document.removeEventListener("click",v)}}function ue(o,s,n,d,i="",f="span",r=!1){var T,M;if(!o){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const c={justify:"left",none:"left",end:"right",start:"left",center:"left"};if(r){r.target.parentElement.style.float=`${c[d]}`;return}const m=window.getSelection();m.removeAllRanges(),m.addRange(o);const g=m.getRangeAt(0);let E=g.cloneContents();const v=g.commonAncestorContainer,u=v.nodeType===Node.TEXT_NODE?v.parentNode:v;let h,b;h=document.createElement(f),h.classList.add("pom-4-textDirection"),h.setAttribute("id",`pom-4-textDirection-${Date.now()}`);const y=`${u.tagName}`.toLowerCase(),C=u?(T=u.classList)==null?void 0:T.contains("resizer-image-dropped"):null;if(u&&((M=u.classList)!=null&&M.contains("pom-4-textDirection"))&&u.childNodes.forEach(B=>{var H;B.nodeType===Node.ELEMENT_NODE&&((H=B.classList)!=null&&H.contains("resizer-image-dropped")||B.removeAttribute("style"))}),y=="ul"||C||y=="img"){u.style.float=`${c[d]}`,u.style.fontWeight="bold";return}h.appendChild(E),u.id==="editor"?(b=h.innerHTML.replace("text-align","note"),o.deleteContents()):(b=h.innerHTML,o.deleteContents());const L=h.style[n]||"",F=new RegExp(i,"ig"),z=d.replace(F,"")+i;L.includes(z)?h.style[n]=L.replace(z,""):h.style[n]=(L+z).trim(),h.style["margin-left"]="4px",h.style["margin-right"]="4px",h.innerHTML=b,o.insertNode(h);const N=document.createRange();N.collapse(!0),m.removeAllRanges(),m.addRange(N),o=N.cloneRange(),s.focus()}function fe(o,s=2,n="list-style"){if(o){const d=window.getSelection();d.removeAllRanges(),d.addRange(o);const i=document.createElement("ul");i.style.listStyle=n,i.style.paddingLeft="73px";for(let c=0;c<s;c++){const m=document.createElement("li");m.style.padding="5px",m.textContent=`li ${c+1}, `,m.style.position="relative",i.appendChild(m)}o.deleteContents(),o.insertNode(i);const f=i.querySelector("td"),r=document.createRange();r.setStart(f,0),r.collapse(!0),d.removeAllRanges(),d.addRange(r),o=r.cloneRange(),editor.focus()}}function pe(o){o.preventDefault();const n=o.target.parentElement,d=document.getElementById("editor"),i=o.clientX,f=o.clientY,r=parseFloat(window.getComputedStyle(n).left)||0,c=parseFloat(window.getComputedStyle(n).top)||0,m=d.offsetWidth,g=d.offsetHeight,E=n.offsetWidth,v=n.offsetHeight;function u(b){const y=b.clientX-i,C=b.clientY-f;let L=r+y,F=c+C;L<0?L=0:L+E>m&&(L=m-E),F<0?F=0:F+v>g&&(F=g-v),n.style.left=`${L}px`,n.style.top=`${F}px`;const z=m/2,N=g/2,T=L+E/2,M=F+v/2;Math.abs(T-z)<1&&Math.abs(M-N)<1&&alert("Container is centered!")}function h(){document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",h)}document.addEventListener("mousemove",u),document.addEventListener("mouseup",h)}function he(o,s){try{const n=document.createElement("div");n.style.width="20px",n.style.height="20px",n.style.background="rgba(0, 0, 0, 0.5)",n.style.position="absolute",n.style.left="0",n.style.top="0",n.style.cursor="move",n.style.zIndex="11",n.classList.add(s),n.classList.add("hideonprint"),n.addEventListener("mousedown",d=>{pe(d)}),o.appendChild(n)}catch(n){console.log(n)}}function ge(o,s){if(o){const n=window.getSelection();n.removeAllRanges(),n.addRange(o);const d="Pom_Imge_EditorIn"+Date.now(),i=document.createElement("div");i.style.display="inline-flex",i.style.position="relative",i.style.width="200px",i.style.minHeight="40px",i.classList.add(d),i.classList.add("hideOnprint"),i.classList.add("pom-4-imageContainer"),i.id=d,i.setAttribute("contenteditable",!1);const f=document.createElement("img");f.style.padding="5px",f.style.width="100%",f.src=s,f.style.display="block",f.classList.add(d),f.setAttribute("contenteditable",!1);const r=document.createElement("div");r.style.width="20px",r.style.height="20px",r.style.background="gray",r.style.position="absolute",r.style.right="0",r.style.bottom="0",r.style.cursor="nwse-resize",r.style.zIndex="10",r.classList.add(d),r.setAttribute("contenteditable",!1),r.classList.add("hideOnprint"),r.addEventListener("mousedown",Q),i.appendChild(f),i.appendChild(r),he(i,d),o.deleteContents(),o.insertNode(i);const c=document.createRange();c.setStartAfter(f),c.collapse(!0),n.removeAllRanges(),n.addRange(c),o=c.cloneRange(),editor.focus();let m=document.getElementsByClassName(d);for(let g=0;g<m.length;g++)m[g].addEventListener("keyup",function(v){v.keyCode==8})}}async function ve(o,s){const n=o.target.files||o.dataTransfer.files;if(n.length){for(const d in n)if(n.hasOwnProperty(d)){const i=n[d],f=await xe(i);ge(s,f)}}}function xe(o){return new Promise((s,n)=>{const d=new FileReader;d.onloadend=()=>s(d.result),d.onerror=i=>n(i),d.readAsDataURL(o)})}const Y={StoredText:{},undoStack:[],redoStack:[],SaveCurrentChanges:function(o=""){const s=Date.now();this.StoredText[s]=o,this.undoStack.push({id:s,text:o}),this.redoStack=[]},Undo:function(){if(this.undoStack.length===0)return console.log("Nothing to undo"),null;const o=this.undoStack.pop();return this.redoStack.push(o),delete this.StoredText[o.id],o.text},Redo:function(){if(this.redoStack.length===0)return console.log("Nothing to redo"),null;const o=this.redoStack.pop();return this.undoStack.push(o),this.StoredText[o.id]=o.text,o.text}};function ye(o){const s=document.createElement("div");s.textContent="NeW line ",o.appendChild(s),s.focus()}function K(o=!1,s=document.getElementsByClassName("pom-table-editor-container")){s=Array.from(s),s.forEach(n=>{if(o){const d=n.style.display==="flex"?"none":"flex";n.style.display=d;return}n.remove()})}function Ee(o=document.getElementById("pom-texedito-container").innerHTML,s=".hideonprint"){const n=window.open("","","height=900,width=800");n.document.write("<html><head><title>Print</title>"),n.document.write(`<style>
7
+ ${s} {
8
8
  display: none;
9
9
  }
10
10
 
11
11
  @media print {
12
- ${r} {
12
+ ${s} {
13
13
  display: none;
14
14
  }
15
15
  }
16
16
  .pom-4-imageContainer {
17
17
  display: block !important;
18
18
  }
19
- </style>`),o.document.write("</head><body>"),o.document.write(n),o.document.write("</body></html>"),o.document.close();const l=o.document.querySelectorAll(".pom-4-imageContainer");return K(l),o}function K(n=printWindow.document.querySelectorAll(".pom-4-imageContainer")){n&&n.forEach(function(r){const o=r.querySelector("img"),l=r.getAttribute("style");l?o.style.cssText=l+"; position: initial":o.style.position="initial",r.style.display="block",parseInt(r.style.left,10)>793.7&&(r.style.left="793.7px")})}function ve(n=document.getElementById("pom-texedito-container")){return K(n.querySelectorAll(".pom-4-imageContainer")),n.innerHTML}function Ee(n=!0,r=document.getElementById("pom-texedito-container").innerHTML,o="hideonprint"){const l=fe(r,o);n&&(l.focus(),l.onload=function(){l.print()},l.onafterprint=function(){l.close()})}function Y(n,r,o,l,a="",u="span"){if(!n){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const i=window.getSelection();i.removeAllRanges(),i.addRange(n);const d=i.getRangeAt(0),m=d.cloneContents(),p=d.commonAncestorContainer;(p.nodeType===Node.TEXT_NODE?p.parentNode:p).tagName.toLowerCase();let h;const g=document.createElement(u);g.style[o]=l,g.appendChild(m),h=g.innerHTML,n.deleteContents(),g.innerHTML=h,n.insertNode(g);const v=document.createRange();v.collapse(!0),i.removeAllRanges(),i.addRange(v),n=v.cloneRange()}function ye(){return`<style scoped>
19
+ </style>`),n.document.write("</head><body>"),n.document.write(o),n.document.write("</body></html>"),n.document.close();const d=n.document.querySelectorAll(".pom-4-imageContainer");return ee(d),n}function ee(o=printWindow.document.querySelectorAll(".pom-4-imageContainer")){o&&o.forEach(function(s){const n=s.querySelector("img"),d=s.getAttribute("style");d?n.style.cssText=d+"; position: initial":n.style.position="initial",s.style.display="block",parseInt(s.style.left,10)>793.7&&(s.style.left="793.7px")})}function be(o=document.getElementById("pom-texedito-container")){return ee(o.querySelectorAll(".pom-4-imageContainer")),o.innerHTML}function _e(o=!0,s=document.getElementById("pom-texedito-container").innerHTML,n="hideonprint"){const d=te()+s,i=Ee(d,n);o&&(i.focus(),i.onload=function(){i.print()},i.onafterprint=function(){i.close()})}function J(o,s,n,d,i="",f="span"){if(!o){console.warn("No saved range available. Ensure the cursor position is saved before calling this function.");return}const r=window.getSelection();r.removeAllRanges(),r.addRange(o);const c=r.getRangeAt(0),m=c.cloneContents(),g=c.commonAncestorContainer;(g.nodeType===Node.TEXT_NODE?g.parentNode:g).tagName.toLowerCase();let v;const u=document.createElement(f);u.style[n]=d,u.appendChild(m),v=u.innerHTML,o.deleteContents(),u.innerHTML=v,o.insertNode(u);const h=document.createRange();h.collapse(!0),r.removeAllRanges(),r.addRange(h),o=h.cloneRange()}function te(){return`<style scoped>
20
+ .resizer-image-dropped > div[contenteditable="false"] {
21
+ display: none;
22
+ }
23
+ .resizer-image-dropped{
24
+ border:none !important
25
+ }
26
+
20
27
  .table-picker-wrapper {
21
28
  position: relative;
22
29
  display: inline-block;
@@ -156,5 +163,5 @@ height: auto;
156
163
  /* Hide scrollbar */
157
164
  }
158
165
  }
159
- </style>`}const xe=(n,r)=>{const o=n.__vccOpts||n;for(const[l,a]of r)o[l]=a;return o},s=n=>(e.pushScopeId("data-v-c5304261"),n=n(),e.popScopeId(),n),_e={style:{width:"100%"},id:"fullTextEditor"},be={class:"hideonprint bg-gray-100 items-center",id:"toolbar"},Ne={class:"flex flex space-x-2 items-center"},Ve={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},we={class:"relative inline-block text-left group z-10 border-0"},ke=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5304261><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5304261><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5304261><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5304261>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5304261><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5304261><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5304261></path></svg></div></div>',1),Ce={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},Fe={class:"",role:"none"},Le=s(()=>e.createElementVNode("i",{class:"print p x-2"},null,-1)),Ae=s(()=>e.createElementVNode("strong",{class:"px-3"},"Print",-1)),Se=[Le,Ae],ze={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},Me=s(()=>e.createElementVNode("i",{class:"eye p x-2"},null,-1)),Re=s(()=>e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",id:"fullscreenButton"},[e.createElementVNode("i",{class:"expand-alt p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Fullscreen")],-1)),Te={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},He={class:"relative inline-block text-left group z-10 border-0 w-ful l"},$e=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5304261><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5304261><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5304261><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5304261>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5304261><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5304261><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5304261></path></svg></div></div>',1),Be={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},Ie={class:"",role:"none"},je=s(()=>e.createElementVNode("i",{class:"bold p x-2"},null,-1)),Ze=s(()=>e.createElementVNode("strong",{class:"px-3"},"Bold",-1)),De=[je,Ze],We=s(()=>e.createElementVNode("i",{class:"italic p x-2"},null,-1)),Pe=s(()=>e.createElementVNode("i",{class:"px-3"},"italic",-1)),Ge=[We,Pe],Oe=s(()=>e.createElementVNode("i",{class:"underline p x-2"},null,-1)),Xe=s(()=>e.createElementVNode("u",{class:"px-3"},"underline",-1)),qe=[Oe,Xe],Ye=s(()=>e.createElementVNode("i",{class:"strikethrough p x-2"},null,-1)),Ue=s(()=>e.createElementVNode("del",{class:"px-3"},"strike",-1)),Ke=[Ye,Ue],Je=s(()=>e.createElementVNode("i",{class:"superscript p x-2"},null,-1)),Qe=s(()=>e.createElementVNode("sup",{class:"px-3"},"superscript",-1)),et=[Je,Qe],tt=s(()=>e.createElementVNode("i",{class:"subscript p x-2"},null,-1)),ot=s(()=>e.createElementVNode("sub",{class:"px-3"},"subscript",-1)),nt=[tt,ot],lt=s(()=>e.createElementVNode("i",{class:"-list p x-2"},null,-1)),it=s(()=>e.createElementVNode("summary",{class:"px-3"},"summary",-1)),st=[lt,it],at=s(()=>e.createElementVNode("i",{class:"list-ol p x-2"},null,-1)),rt=s(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)),dt=[at,rt],ct=s(()=>e.createElementVNode("i",{class:"list-ul p x-2"},null,-1)),mt=s(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)),ut=[ct,mt],pt=s(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H1",-1)),ht=[pt],gt=s(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H2",-1)),ft=[gt],vt=s(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H3",-1)),Et=[vt],yt=s(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H4",-1)),xt=[yt],_t=s(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H5",-1)),bt=[_t],Nt=s(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H6",-1)),Vt=[Nt],wt={class:"flex m-1 m-3 b g-gray-200 rounded cursor-pointer"},kt=s(()=>e.createElementVNode("datalist",{id:"fontSizes"},null,-1)),Ct={class:"flex items-center border-1 b g-gray-200 rounded cursor-pointer"},Ft={class:"relative inline-block text-left group z-10 border-0 w-ful l"},Lt=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-c5304261><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-c5304261><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-c5304261><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-c5304261>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-c5304261><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-c5304261><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-c5304261></path></svg></div></div>',1),At={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},St={class:"",role:"none"},zt={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},Mt=s(()=>e.createElementVNode("i",{class:"image p x-2"},null,-1)),Rt=s(()=>e.createElementVNode("label",{for:"pom43546535435445Image",class:"px-3"},"Image",-1)),Tt=s(()=>e.createElementVNode("i",{class:"anchor p x-2"},null,-1)),Ht=s(()=>e.createElementVNode("span",{class:"px-3"},"Anchor",-1)),$t=[Tt,Ht],Bt=s(()=>e.createElementVNode("i",{class:"-calendar-alt 1x"},null,-1)),It=s(()=>e.createElementVNode("span",{class:"px-3"},"Date/time",-1)),jt=[Bt,It],Zt=s(()=>e.createElementVNode("div",{class:"text-center w-full py-1 bg-gray-100 font-bold"},"Table",-1)),Dt=s(()=>e.createElementVNode("i",{class:"trash-can p x-2"},null,-1)),Wt=s(()=>e.createElementVNode("span",{class:"px-3"},"Delete All Permanetlytable",-1)),Pt=[Dt,Wt],Gt=s(()=>e.createElementVNode("i",{class:"eye-slash p x-2"},null,-1)),Ot=s(()=>e.createElementVNode("span",{class:"px-3"},"Hide/Show All ",-1)),Xt=[Gt,Ot],qt={class:"table-picker-wrapper"},Yt=s(()=>e.createElementVNode("div",{class:"table-picker-trigger"},[e.createElementVNode("i",{class:"table p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Create")],-1)),Ut={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},Kt={class:"relative inline-block text-left group z-10 border-0"},Jt=s(()=>e.createElementVNode("div",{class:"w-full flex rounded-md showfontFamilyMenu"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"py-1 w borde r-1 w-full text-start in flex flex-wrap"},[e.createElementVNode("span",{class:"cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600"},"Fonts")])])],-1)),Qt={class:"py-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts"},eo={class:"cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600"},to={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none","data-alloy-placement":"southeast",style:{height:"25vh",overflow:"auto"}},oo={class:"collection__group"},no=s(()=>e.createElementVNode("div",{title:"Andale Mono",id:"menu-item_3745045357111728727990777",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--active","aria-disabled":"false","aria-checked":"false","aria-selected":"true"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",{style:{"font-family":"andale mono, monospace"}},"Andale Mono")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),lo={title:"Arial",id:"menu-item_8107570667141728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},io={class:"collection__item-label"},so=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),ao={title:"Arial Black",id:"menu-item_7337372467171728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},ro={class:"collection__item-label"},co=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),mo={title:"Book Antiqua",id:"menu-item_8277641917201728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},uo={class:"collection__item-label"},po=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),ho={title:"Comic Sans MS",id:"menu-item_2698863237231728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},go={class:"collection__item-label"},fo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),vo={title:"Courier New",id:"menu-item_2979203277261728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Eo={class:"collection__item-label"},yo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),xo={title:"Georgia",id:"menu-item_8075939747291728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},_o={class:"collection__item-label"},bo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),No={title:"Helvetica",id:"menu-item_8872440547321728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--enabled","aria-disabled":"false","aria-checked":"true"},Vo={class:"collection__item-label"},wo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),ko={title:"Impact",id:"menu-item_3423693847351728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Co={class:"collection__item-label"},Fo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Lo={title:"Symbol",id:"menu-item_7163579447381728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ao={class:"collection__item-label"},So=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),zo={title:"Tahoma",id:"menu-item_4449979827411728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Mo={class:"collection__item-label"},Ro=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),To={title:"Terminal",id:"menu-item_2511923047441728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Ho={class:"collection__item-label"},$o=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Bo={title:"Times New Roman",id:"menu-item_7770771337471728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Io={class:"collection__item-label"},jo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Zo={title:"Trebuchet MS",id:"menu-item_7916647947501728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Do={class:"collection__item-label"},Wo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Po={title:"Verdana",id:"menu-item_1549891587531728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Go={class:"collection__item-label"},Oo=s(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Xo=s(()=>e.createElementVNode("div",{title:"Webdings",id:"menu-item_955052057561728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Webdings")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),qo=s(()=>e.createElementVNode("div",{title:"Wingdings",id:"menu-item_93264657591728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Wingdings")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),Yo={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Uo=s(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),Ko=[Uo],Jo=s(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),Qo=[Jo],en=s(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),tn=[en],on=s(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),nn=[on],ln={class:"relative inline-block text-left group z-10 border-0 w-ful l"},sn=s(()=>e.createElementVNode("div",{class:"w-full flex rounded-md"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"split-button flex items-center",style:{"user-select":"none"}},[e.createElementVNode("span",null,[e.createElementVNode("span",{c:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z","fill-rule":"evenodd"})])])]),e.createElementVNode("span",{role:"presentation",class:"tbtn split-button__chevron","aria-disabled":"false"},[e.createElementVNode("svg",{width:"10",height:"10",focusable:"false"},[e.createElementVNode("path",{d:"M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z","fill-rule":"nonzero"})])])])])],-1)),an={class:"hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},rn={class:"flex",role:"none"},dn=s(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("circle",{cx:"11",cy:"14",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"24",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"34",r:"3"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)),cn=[dn],mn=s(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z","fill-rule":"nonzero"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)),un=[mn],pn=s(()=>e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"1"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"2"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"3"),e.createElementVNode("rect",{x:"24",y:"12",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"22",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"32",width:"20",height:"4",fill:"black",opacity:".2"})],-1)),hn=[pn],gn=s(()=>e.createElementVNode("div",{class:"text-sm"},[e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"A"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"B"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"C"),e.createElementVNode("rect",{x:"18",y:"12",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("rect",{x:"18",y:"22",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"18",y:"32",width:"22",height:"4",fill:"black",opacity:".2"})])],-1)),fn=[gn],vn={class:"flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",style:{height:"37px"}},En=e.createStaticVNode('<i class="bold p x-2" data-v-c5304261><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><g id="text-bold" transform="translate(-4 -2)" data-v-c5304261><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5304261></path><path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5304261></path><path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-c5304261></path></g></g></svg></i>',1),yn=[En],xn=e.createStaticVNode('<i class="italic p x-2" data-v-c5304261><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><g id="layer1" data-v-c5304261><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-c5304261></path></g></g></svg></i>',1),_n=[xn],bn=e.createStaticVNode('<i class="underline p x-2" data-v-c5304261><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><g data-v-c5304261><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-c5304261></path><path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-c5304261></path></g></g></svg></i>',1),Nn=[bn],Vn={class:"strikethrough p x-2"},wn={fill:"#000000",width:"13px",height:"13px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/",style:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"}},kn=s(()=>e.createElementVNode("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1)),Cn=s(()=>e.createElementVNode("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),Fn=s(()=>e.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[e.createElementVNode("rect",{id:"Icons",x:"-192",y:"0",width:"1280",height:"800",style:{fill:"none"}}),e.createElementVNode("g",{id:"Icons1","serif:id":"Icons"},[e.createElementVNode("g",{id:"Strike"},[e.createElementVNode("rect",{id:"Strike-line","serif:id":"Strike line",x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("rect",{x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("path",{id:"Strike1","serif:id":"Strike",d:"M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",style:{"fill-rule":"nonzero"}})]),e.createElementVNode("g",{id:"H1"}),e.createElementVNode("g",{id:"H2"}),e.createElementVNode("g",{id:"H3"}),e.createElementVNode("g",{id:"list-ul"}),e.createElementVNode("g",{id:"hamburger-1"}),e.createElementVNode("g",{id:"hamburger-2"}),e.createElementVNode("g",{id:"list-ol"}),e.createElementVNode("g",{id:"list-task"}),e.createElementVNode("g",{id:"trash"}),e.createElementVNode("g",{id:"vertical-menu"}),e.createElementVNode("g",{id:"horizontal-menu"}),e.createElementVNode("g",{id:"sidebar-2"}),e.createElementVNode("g",{id:"Pen"}),e.createElementVNode("g",{id:"Pen1","serif:id":"Pen"}),e.createElementVNode("g",{id:"clock"}),e.createElementVNode("g",{id:"external-link"}),e.createElementVNode("g",{id:"hr"}),e.createElementVNode("g",{id:"info"}),e.createElementVNode("g",{id:"warning"}),e.createElementVNode("g",{id:"plus-circle"}),e.createElementVNode("g",{id:"minus-circle"}),e.createElementVNode("g",{id:"vue"}),e.createElementVNode("g",{id:"cog"}),e.createElementVNode("g",{id:"logo"}),e.createElementVNode("g",{id:"radio-check"}),e.createElementVNode("g",{id:"eye-slash"}),e.createElementVNode("g",{id:"eye"}),e.createElementVNode("g",{id:"toggle-off"}),e.createElementVNode("g",{id:"shredder"}),e.createElementVNode("g",{id:"spinner--loading--dots-","serif:id":"spinner [loading, dots]"}),e.createElementVNode("g",{id:"react"}),e.createElementVNode("g",{id:"check-selected"}),e.createElementVNode("g",{id:"turn-off"}),e.createElementVNode("g",{id:"code-block"}),e.createElementVNode("g",{id:"user"}),e.createElementVNode("g",{id:"coffee-bean"}),e.createElementVNode("g",{id:"coffee-beans"},[e.createElementVNode("g",{id:"coffee-bean1","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"coffee-bean-filled"}),e.createElementVNode("g",{id:"coffee-beans-filled"},[e.createElementVNode("g",{id:"coffee-bean2","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"clipboard"}),e.createElementVNode("g",{id:"clipboard-paste"}),e.createElementVNode("g",{id:"clipboard-copy"}),e.createElementVNode("g",{id:"Layer1"})])],-1)),Ln=[kn,Cn,Fn],An=s(()=>e.createElementVNode("i",{class:"superscript p x-2"},"sup",-1)),Sn=[An],zn=s(()=>e.createElementVNode("i",{class:"subscript p x-2"},"sub",-1)),Mn=[zn],Rn=e.createStaticVNode('<i class="-code p x-2" data-v-c5304261><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-c5304261></path><path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-c5304261></path><path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-c5304261></path></g></svg></i>',1),Tn=[Rn],Hn={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},$n=s(()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-highlight-bg-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{"fill-rule":"nonzero",d:"M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"})])])],-1)),Bn={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},In={class:"color-grid"},jn=["onClick"],Zn={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},Dn=s(()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("span",{role:"presentation",class:"tbtn","aria-disabled":"false",style:{width:"34px"}},[e.createElementVNode("span",{class:"icon tbtn__icon-wrap"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-text-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{d:"M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"})])])])])],-1)),Wn={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},Pn={class:"color-grid"},Gn=["onClick"],On=e.createStaticVNode('<span class="" data-v-c5304261><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-c5304261><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-c5304261></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-c5304261></g><g id="SVGRepo_iconCarrier" data-v-c5304261><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-c5304261></path></g></svg></span>',1),Xn=[On],qn={style:{"min-height":"100%","text-align":"justify"}},Yn=["innerHTML"],Un={class:"hideonprint flex items-center"},Kn=s(()=>e.createElementVNode("i",{class:"-"},null,-1)),Jn=s(()=>e.createElementVNode("strong",{class:"p x-2"},"NEW LINE",-1)),Qn=[Kn,Jn],el=s(()=>e.createElementVNode("p",null,[e.createTextVNode("Cursor position: "),e.createElementVNode("span",{id:"cursorPosition"},"0")],-1)),tl=s(()=>e.createElementVNode("p",null,[e.createTextVNode("Text at cursor: "),e.createElementVNode("span",{id:"textAtCursor"})],-1)),ol={__name:"Editor",props:{Dvalue:{default:""},TextOnly:{default:!1},cssWanted2:{default:!1}},emits:["change","update"],setup(n,{emit:r}){const o=e.ref(null),l=e.ref(null),a=e.ref(null),u=e.ref(null),i=e.ref(null);let d=null;const m=e.ref(["FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","5733FF","57FF33","FF3333","33FF33","3333FF","FF33AA","33AAFF","AAFF33","FFAA33","AA33FF","33FFAA","AAFFAA","FFAAFF","FF6347","40E0D0","FFD700","8A2BE2","DC143C","00CED1","7FFF00","FF4500","fffefe","2E8B57","DAA520","6A5ACD","FF1493","B8860B","4682B4","D2691E","ADFF2F","5F9EA0","FF69B4","7B68EE","00FF7F","20B2AA","FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","FFD700","8A2BE2","7FFFD4","FF4500","6A5ACD","00FF7F","FF6347","FF1493","00CED1","989393","000000"]),p=r,y=n,h=e.ref(null);function g(...f){try{var t=document.querySelectorAll(".removeinlineblock");t.forEach(function(c){c.style.display="block"}),Ee(...f,h.value.innerHTML)}catch{}}function v(...f){var t;Z(),re((t=l.value)==null?void 0:t.range,o.value,...f)}function E(...f){var t;Y((t=l.value)==null?void 0:t.range,o.value,...f),d=null}function b(...f){var t;Y((t=l.value)==null?void 0:t.range,o.value,...f),d=null}function S(f){pe(f,l.value.range),d=null}function V(...f){ae(l.value.range,...f),d=null}const C=ye();function z(){let f=ve(o.value).replace(/<style scoped>[\s\S]*?<\/style>/,"");y.TextOnly=="true"&&(f=f.replace(/<\/[a-z]*?>|<\S.*?>/gi,t=>t.startsWith("</")?"":`
160
- `)),console.log(f,"htmlResulthtmlResulthtmlResult"),y.cssWanted==!0&&p("cssWanted",C),setTimeout(()=>{p("change",f)},300)}function j(f){o.value.focus(),z()}e.onMounted(()=>{j()});function H(){ge(o.value)}function _(...f){W(l.value.range,...f)}function $(...f){de(l.value.range,...f)}function Z(){l.value=ne(),oe(),le(l.value,o.value,u.value,i.value),d=null}function J(f){f.preventDefault();const t=f.dataTransfer.files;if(t.length>0){const c=t[0],x=new FileReader;x.onload=w=>{const k=w.target.result;Q(k)},x.readAsDataURL(c)}}function Q(f){M();const t=l.value.range;if(t){let D=function(F,N){F.preventDefault(),R=N,window.addEventListener("mousemove",P),window.addEventListener("mouseup",G)},P=function(F){const N=x.getBoundingClientRect();if(R==="width"||R==="both"){const A=F.clientX-N.left;x.style.width=A+"px",c.style.width=A+"px"}if(R==="height"||R==="both"){const A=F.clientY-N.top;c.style.height=A+"px"}},G=function(){window.removeEventListener("mousemove",P),window.removeEventListener("mouseup",G)};const c=document.createElement("img");c.src=f,c.style.maxWidth="100%",c.style.position="relative",c.classList.add("resizable-image");const x=document.createElement("span");x.style.display="inline-block",x.style.width="200px",x.style.position="relative",x.contentEditable=!1,x.classList.add("resizer-image-dropped"),x.addEventListener("click",function(F){const N=document.createElement("div");N.style.display="flex",N.style.position="absolute",N.style.bottom="20px",N.style.right="0px",N.style.zIndex="100",N.style.background="white",N.classList.add("Image_dropped_pom");const A=document.createElement("button");A.textContent=" Left",A.style.margin="5px";const B=document.createElement("button");B.textContent=" Right",B.style.margin="5px";const I=document.createElement("button");I.textContent="Center ",I.style.margin="5px",N.appendChild(A),N.appendChild(B),N.appendChild(I),x.appendChild(N),A.addEventListener("click",()=>{x.style.float="inline-start",M()}),B.addEventListener("click",()=>{x.style.float="inline-end",M()}),I.addEventListener("click",()=>{x.style.display="block",x.style.margin="0 auto",M()}),document.addEventListener("click",function ee(te){x.contains(te.target)||(M(),document.removeEventListener("click",ee))},{once:!0})});const w=document.createElement("div");w.style.width="10px",w.style.height="100%",w.style.background="gray",w.style.position="absolute",w.style.right="0",w.style.top="0",w.style.cursor="ew-resize",w.style.zIndex="2",w.setAttribute("contentEditable",!1);const k=document.createElement("div");k.style.width="100%",k.style.height="10px",k.style.background="gray",k.style.position="absolute",k.style.bottom="0",k.style.left="0",k.style.cursor="ns-resize",k.style.zIndex="2",k.setAttribute("contentEditable",!1);const L=document.createElement("div");L.style.width="20px",L.style.height="20px",L.style.background="gray",L.style.position="absolute",L.style.right="0",L.style.bottom="0",L.style.cursor="nwse-resize",L.style.zIndex="10",L.setAttribute("contentEditable",!1),x.appendChild(c),x.appendChild(w),x.appendChild(k),x.appendChild(L),x.addEventListener("click",F=>{d&&(d.style.border=""),d=x,d.style.border="2px solid blue"}),w.addEventListener("mousedown",F=>D(F,"width")),k.addEventListener("mousedown",F=>D(F,"height")),L.addEventListener("mousedown",F=>D(F,"both")),t.insertNode(x);let R}}function M(f="Image_dropped_pom"){const t=document.getElementsByClassName(f);Array.from(t).forEach(c=>{c.remove()})}return(f,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",_e,[e.createElementVNode("div",be,[e.createElementVNode("div",Ne,[e.createElementVNode("div",Ve,[e.createElementVNode("div",we,[ke,e.createElementVNode("div",Ce,[e.createElementVNode("div",Fe,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[0]||(t[0]=c=>g(!0))},Se),e.createElementVNode("div",ze,[Me,e.createElementVNode("strong",{class:"px-3",onClick:t[1]||(t[1]=c=>g(!1))},"Preview")]),Re])])])]),e.createElementVNode("div",Te,[e.createElementVNode("div",He,[$e,e.createElementVNode("div",Be,[e.createElementVNode("div",Ie,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",onClick:t[2]||(t[2]=c=>_())},De),e.createElementVNode("div",{onClick:t[3]||(t[3]=c=>_("i","**italic text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ge),e.createElementVNode("div",{onClick:t[4]||(t[4]=c=>_("u","**underLine text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},qe),e.createElementVNode("div",{onClick:t[5]||(t[5]=c=>_("s","**underLine text**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Ke),e.createElementVNode("div",{onClick:t[6]||(t[6]=c=>_("sup","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},et),e.createElementVNode("div",{onClick:t[7]||(t[7]=c=>_("sub","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},nt),e.createElementVNode("div",{onClick:t[8]||(t[8]=c=>_("summary","**summary**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},st),e.createElementVNode("div",{onClick:t[9]||(t[9]=c=>_("ol","1. ordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},dt),e.createElementVNode("div",{onClick:t[10]||(t[10]=c=>_("ul","1. unordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},ut),e.createElementVNode("div",{onClick:t[11]||(t[11]=c=>_("h1","**h1**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ht),e.createElementVNode("div",{onClick:t[12]||(t[12]=c=>_("h2","**h2**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ft),e.createElementVNode("div",{onClick:t[13]||(t[13]=c=>_("h3","**h3**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Et),e.createElementVNode("div",{onClick:t[14]||(t[14]=c=>_("h4","**h4**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},xt),e.createElementVNode("div",{onClick:t[15]||(t[15]=c=>_("h5","**h5**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},bt),e.createElementVNode("div",{onClick:t[16]||(t[16]=c=>_("h6","**h6**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Vt),e.createElementVNode("div",wt,[e.createElementVNode("input",{list:"fontSizes",onChange:t[17]||(t[17]=c=>b("font-size",c.target.value+"px")),placeholder:"Size ",class:"p-1 border rounded w-[6vw] h-[3vh]"},null,32),kt])])])])]),e.createElementVNode("div",Ct,[e.createElementVNode("div",Ft,[Lt,e.createElementVNode("div",At,[e.createElementVNode("div",St,[e.createElementVNode("div",zt,[Mt,Rt,e.createElementVNode("input",{type:"file",hidden:"",id:"pom43546535435445Image",accept:"image/*",multiple:"",onChange:t[18]||(t[18]=c=>S(c))},null,32)]),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[19]||(t[19]=c=>{V(this,"a","links",{},{href:"",class:"pom-editor-anchor-tag",style:"text-decoration: underline;cursor: pointer"})})},$t),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",onClick:t[20]||(t[20]=c=>V(this))},jt),e.createElementVNode("div",null,[Zt,e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[21]||(t[21]=c=>e.unref(q)())},Pt),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[22]||(t[22]=c=>e.unref(q)(!0))},Xt),e.createElementVNode("div",qt,[Yt,e.createElementVNode("div",{id:"table-picker-container",ref_key:"tablePickerContainer",ref:a,class:"table-picker-container"},[e.createElementVNode("div",{id:"table-picker-grid",ref_key:"tablePickerGrid",ref:u,class:"table-picker-grid"},null,512),e.createElementVNode("span",{id:"table-dimensions",ref_key:"tableDimensions",ref:i,class:"table-dimensions"},"0 x 0",512)],512)])])])])])]),e.createElementVNode("div",Ut,[e.createElementVNode("div",Kt,[Jt,e.createElementVNode("div",Qt,[e.createElementVNode("span",eo,[e.createElementVNode("div",to,[e.createElementVNode("div",oo,[no,e.createElementVNode("div",lo,[e.createElementVNode("div",io,[e.createElementVNode("div",{onClick:t[23]||(t[23]=()=>E("font-family"," arial, helvetica, sans-serif")),style:{"font-family":"arial, helvetica, sans-serif"}},"Arial ")]),so]),e.createElementVNode("div",ao,[e.createElementVNode("div",ro,[e.createElementVNode("div",{style:{"font-family":'"arial black", sans-serif'},onClick:t[24]||(t[24]=()=>E("font-family","arial black, sans-serif"))}," Arial Black")]),co]),e.createElementVNode("div",mo,[e.createElementVNode("div",uo,[e.createElementVNode("div",{style:{"font-family":"book antiqua, palatino, serif"},onClick:t[25]||(t[25]=()=>E("font-family","book antiqua, palatino, serif"))}," Book Antiqua")]),po]),e.createElementVNode("div",ho,[e.createElementVNode("div",go,[e.createElementVNode("div",{style:{"font-family":'"comic sans ms", sans-serif'},onClick:t[26]||(t[26]=()=>E("font-family",'comic sans ms", sans-serif'))}," Comic Sans MS")]),fo]),e.createElementVNode("div",vo,[e.createElementVNode("div",Eo,[e.createElementVNode("div",{style:{"font-family":"courier new, courier, monospace"},onClick:t[27]||(t[27]=()=>E("font-family"," courier new, courier, monospace;"))}," Courier New")]),yo]),e.createElementVNode("div",xo,[e.createElementVNode("div",_o,[e.createElementVNode("div",{style:{"font-family":"georgia, palatino, serif"},onClick:t[28]||(t[28]=()=>E("font-family"," georgia, palatino, serif"))},"Georgia ")]),bo]),e.createElementVNode("div",No,[e.createElementVNode("div",Vo,[e.createElementVNode("div",{style:{"font-family":"helvetica, arial, sans-serif"},onClick:t[29]||(t[29]=()=>E("font-family"," helvetica, arial, sans-serif"))}," Helvetica")]),wo]),e.createElementVNode("div",ko,[e.createElementVNode("div",Co,[e.createElementVNode("div",{style:{"font-family":"impact, sans-serif"},onClick:t[30]||(t[30]=()=>E("font-family"," impact, sans-serif"))},"Impact")]),Fo]),e.createElementVNode("div",Lo,[e.createElementVNode("div",Ao,[e.createElementVNode("div",{style:{"font-family":"symbol"},onClick:t[31]||(t[31]=()=>E("font-family"," symbol"))},"Symbol")]),So]),e.createElementVNode("div",zo,[e.createElementVNode("div",Mo,[e.createElementVNode("div",{style:{"font-family":"tahoma, arial, helvetica, sans-serif"},onClick:t[32]||(t[32]=()=>E("font-family"," tahoma, arial, helvetica, sans-serif"))}," Tahoma")]),Ro]),e.createElementVNode("div",To,[e.createElementVNode("div",Ho,[e.createElementVNode("div",{style:{"font-family":"terminal, monaco, monospace"},onClick:t[33]||(t[33]=()=>E("font-family"," terminal, monaco, monospace"))},"Terminal ")]),$o]),e.createElementVNode("div",Bo,[e.createElementVNode("div",Io,[e.createElementVNode("div",{style:{"font-family":"times new roman, times, serif"},onClick:t[34]||(t[34]=()=>E("font-family"," times new roman, times, serif"))}," Times New Roman")]),jo]),e.createElementVNode("div",Zo,[e.createElementVNode("div",Do,[e.createElementVNode("div",{style:{"font-family":"trebuchet ms, geneva, sans-serif"},onClick:t[35]||(t[35]=()=>E("font-family"," trebuchet ms, geneva, sans-serif"))}," Trebuchet MS")]),Wo]),e.createElementVNode("div",Po,[e.createElementVNode("div",Go,[e.createElementVNode("div",{style:{"font-family":"verdana, geneva, sans-serif"},onClick:t[36]||(t[36]=()=>E("font-family"," verdana, geneva, sans-serif"))},"Verdana ")]),Oo]),Xo,qo])])])])])]),e.createElementVNode("div",Yo,[e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[37]||(t[37]=c=>v("text-align","justify","","p"))},Ko),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[38]||(t[38]=c=>v("text-align","center","","div"))},Qo),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[39]||(t[39]=c=>v("text-align","end","","p"))},tn),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[40]||(t[40]=c=>v("text-align","start","","div"))},nn)]),e.createElementVNode("div",ln,[sn,e.createElementVNode("div",an,[e.createElementVNode("div",rn,[e.createElementVNode("div",{onClick:t[41]||(t[41]=c=>$(3,"disc"))},cn),e.createElementVNode("div",{onClick:t[42]||(t[42]=c=>$(3,"circle"))},un),e.createElementVNode("div",null,[e.createElementVNode("div",{class:"",onClick:t[43]||(t[43]=c=>$())},hn)]),e.createElementVNode("div",{onClick:t[44]||(t[44]=c=>$(3,"upper-latin"))},fn)])])])]),e.createElementVNode("div",vn,[e.renderSlot(f.$slots,"toolbar-before",{},void 0,!0),e.createElementVNode("div",{class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-3",style:{margin:"6px"},onClick:t[45]||(t[45]=c=>_())},yn),e.createElementVNode("div",{onClick:t[46]||(t[46]=c=>_("i","**italic text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},_n),e.createElementVNode("div",{onClick:t[47]||(t[47]=c=>_("u","**underLine text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Nn),e.createElementVNode("div",{onClick:t[48]||(t[48]=c=>_("s","**Strike text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},[e.createElementVNode("i",Vn,[(e.openBlock(),e.createElementBlock("svg",wn,Ln))])]),e.createElementVNode("div",{onClick:t[49]||(t[49]=c=>_("sup","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Sn),e.createElementVNode("div",{onClick:t[50]||(t[50]=c=>_("sub","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Mn),e.createElementVNode("div",{onClick:t[51]||(t[51]=c=>_("Code","**code**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Tn),e.createElementVNode("div",Hn,[$n,e.createElementVNode("div",Bn,[e.createElementVNode("div",In,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,c=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${c} ;`),onClick:x=>b("background",`#${c}`,"","span")},null,12,jn))),256))])])]),e.createElementVNode("div",Zn,[Dn,e.createElementVNode("div",Wn,[e.createElementVNode("div",Pn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,c=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${c} ;`),onClick:x=>b("color",`#${c}`,"","span")},null,12,Gn))),256))])])]),e.renderSlot(f.$slots,"toolbar-after",{},void 0,!0),e.createElementVNode("div",{title:"new fresh line",style:{flex:"1",margin:"0 4px","text-align":"center","padding-top":"8px"},onClick:t[52]||(t[52]=c=>H())},Xn)])])]),e.createElementVNode("div",{class:"",ref_key:"pomTextEditorContainer",ref:h,id:"pom-texedito-container",style:{width:"100%",overflow:"hidden auto",height:"30vh",border:"1px solid #9d969633",padding:"0px","border-radius":"3px"}},[e.createElementVNode("div",qn,[e.createElementVNode("div",{"data-placeholder":"Your Editing.....",onDrop:J,innerHTML:n.Dvalue,onMouseup:t[53]||(t[53]=c=>Z()),onKeyup:t[54]||(t[54]=c=>{Z()}),ref_key:"editorRef",ref:o,class:"editor pom-editing-area mt-1 border-gray-300",onInput:z,contenteditable:"true",id:"editor",style:{height:"100%",width:"100%",border:"none"}},null,40,Yn)])],512),e.createElementVNode("div",Un,[e.createElementVNode("div",{class:"hover:bg-gray-200",onClick:t[55]||(t[55]=c=>H())},Qn),el,e.createTextVNode("       "),tl])],64))}},nl=xe(ol,[["__scopeId","data-v-c5304261"]]);module.exports=nl;
166
+ </style>`}const Ne=(o,s)=>{const n=o.__vccOpts||o;for(const[d,i]of s)n[d]=i;return n},a=o=>(e.pushScopeId("data-v-df48f6af"),o=o(),e.popScopeId(),o),Ve={class:"pom-main-element-container"},we={style:{width:"100%"},id:"fullTextEditor"},ke={class:"hideonprint bg-gray-100 items-center",id:"toolbar"},Ce={class:"flex space-x-2 items-center"},Le={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},Se={class:"relative inline-block text-left group z-10 border-0"},Fe=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-df48f6af><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-df48f6af><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-df48f6af><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-df48f6af>View</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-df48f6af><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-df48f6af><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-df48f6af></path></svg></div></div>',1),Ae={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},ze={class:"",role:"none"},Me=a(()=>e.createElementVNode("i",{class:"print p x-2"},null,-1)),Te=a(()=>e.createElementVNode("strong",{class:"px-3"},"Print",-1)),Be=[Me,Te],He={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},Re=a(()=>e.createElementVNode("i",{class:"eye p x-2"},null,-1)),$e=a(()=>e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",id:"fullscreenButton"},[e.createElementVNode("i",{class:"expand-alt p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Fullscreen")],-1)),Ie={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},je={class:"relative inline-block text-left group z-10 border-0 w-ful l"},Ze=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-df48f6af><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-df48f6af><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-df48f6af><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-df48f6af>Format</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-df48f6af><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-df48f6af><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-df48f6af></path></svg></div></div>',1),De={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},Oe={class:"",role:"none"},Ge=a(()=>e.createElementVNode("i",{class:"bold p x-2"},null,-1)),We=a(()=>e.createElementVNode("strong",{class:"px-3"},"Bold",-1)),Pe=[Ge,We],Xe=a(()=>e.createElementVNode("i",{class:"italic p x-2"},null,-1)),Ue=a(()=>e.createElementVNode("i",{class:"px-3"},"italic",-1)),qe=[Xe,Ue],Ye=a(()=>e.createElementVNode("i",{class:"underline p x-2"},null,-1)),Ke=a(()=>e.createElementVNode("u",{class:"px-3"},"underline",-1)),Je=[Ye,Ke],Qe=a(()=>e.createElementVNode("i",{class:"strikethrough p x-2"},null,-1)),et=a(()=>e.createElementVNode("del",{class:"px-3"},"strike",-1)),tt=[Qe,et],ot=a(()=>e.createElementVNode("i",{class:"superscript p x-2"},null,-1)),nt=a(()=>e.createElementVNode("sup",{class:"px-3"},"superscript",-1)),lt=[ot,nt],it=a(()=>e.createElementVNode("i",{class:"subscript p x-2"},null,-1)),st=a(()=>e.createElementVNode("sub",{class:"px-3"},"subscript",-1)),at=[it,st],rt=a(()=>e.createElementVNode("i",{class:"-list p x-2"},null,-1)),dt=a(()=>e.createElementVNode("summary",{class:"px-3"},"summary",-1)),ct=[rt,dt],mt=a(()=>e.createElementVNode("i",{class:"list-ol p x-2"},null,-1)),ut=a(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)),ft=[mt,ut],pt=a(()=>e.createElementVNode("i",{class:"list-ul p x-2"},null,-1)),ht=a(()=>e.createElementVNode("strong",{style:{"padding-left":"0.75rem"}},"list manual ",-1)),gt=[pt,ht],vt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H1",-1)),xt=[vt],yt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H2",-1)),Et=[yt],bt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H3",-1)),_t=[bt],Nt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H4",-1)),Vt=[Nt],wt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H5",-1)),kt=[wt],Ct=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," H6",-1)),Lt=[Ct],St={class:"flex m-1 m-3 b g-gray-200 rounded cursor-pointer"},Ft=a(()=>e.createElementVNode("datalist",{id:"fontSizes"},null,-1)),At=a(()=>e.createElementVNode("div",{style:{"align-items":"center","margin-top":"2px"}},"TEXT TRANSFORM",-1)),zt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"},"Capitalize",-1)),Mt=[zt],Tt=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"},"Lowercase",-1)),Bt=[Tt],Ht=a(()=>e.createElementVNode("span",{class:"px-3 solid heading px-6"}," Block",-1)),Rt=[Ht],$t={class:"flex items-center border-1 b g-gray-200 rounded cursor-pointer"},It={class:"relative inline-block text-left group z-10 border-0 w-ful l"},jt=e.createStaticVNode('<div class="w-full flex rounded-md" data-v-df48f6af><button type="button" class="inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium" id="menu-button" aria-expanded="true" aria-haspopup="true" data-v-df48f6af><div class="py-1 w borde r-1 w-full text-start in flex flex-wrap" data-v-df48f6af><span class="cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600" data-v-df48f6af>Insert</span></div></button><div class="items-center justify-end absolute inset-y-0 right-2 flex" data-v-df48f6af><svg class="-mr-1 inline-flex justify-end ml-2 bg-gray-300 rounded-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-v-df48f6af><path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" data-v-df48f6af></path></svg></div></div>',1),Zt={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},Dt={class:"",role:"none"},Ot={class:"hover:bg-gray-200 elemeSet rounded cursor-pointer"},Gt=a(()=>e.createElementVNode("i",{class:"image p x-2"},null,-1)),Wt=a(()=>e.createElementVNode("label",{for:"pom43546535435445Image",class:"px-3"},"Image",-1)),Pt=a(()=>e.createElementVNode("i",{class:"anchor p x-2"},null,-1)),Xt=a(()=>e.createElementVNode("span",{class:"px-3"},"Anchor",-1)),Ut=[Pt,Xt],qt=a(()=>e.createElementVNode("i",{class:"-calendar-alt 1x"},null,-1)),Yt=a(()=>e.createElementVNode("span",{class:"px-3"},"Date/time",-1)),Kt=[qt,Yt],Jt=a(()=>e.createElementVNode("div",{class:"text-center w-full py-1 bg-gray-100 font-bold"},"Table",-1)),Qt=a(()=>e.createElementVNode("i",{class:"trash-can p x-2"},null,-1)),eo=a(()=>e.createElementVNode("span",{class:"px-3"},"Delete All Permanetlytable",-1)),to=[Qt,eo],oo=a(()=>e.createElementVNode("i",{class:"eye-slash p x-2"},null,-1)),no=a(()=>e.createElementVNode("span",{class:"px-3"},"Hide/Show All ",-1)),lo=[oo,no],io={class:"table-picker-wrapper"},so=a(()=>e.createElementVNode("div",{class:"table-picker-trigger"},[e.createElementVNode("i",{class:"table p x-2"}),e.createElementVNode("strong",{class:"px-3"},"Create")],-1)),ao={class:"items-center border-1 b g-gray-200 rounded cursor-pointer"},ro={class:"relative inline-block text-left group z-10 border-0"},co=a(()=>e.createElementVNode("div",{class:"w-full flex rounded-md showfontFamilyMenu"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"py-1 w borde r-1 w-full text-start in flex flex-wrap"},[e.createElementVNode("span",{class:"cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600"},"Fonts")])])],-1)),mo={class:"py-1 w borde r-1 w-full text-start in flex flex-wrap pom-editor-menu-fonts"},uo={class:"cursor-pointer z-10 ml-1 my-1 rounded-full text-center text-sm font-bold text-gray-600"},fo={class:"hidden absolute group-hover:block mt-0 w-[12vw] text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none","data-alloy-placement":"southeast",style:{height:"25vh",overflow:"auto"}},po={class:"collection__group"},ho=a(()=>e.createElementVNode("div",{title:"Andale Mono",id:"menu-item_3745045357111728727990777",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--active","aria-disabled":"false","aria-checked":"false","aria-selected":"true"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",{style:{"font-family":"andale mono, monospace"}},"Andale Mono")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),go={title:"Arial",id:"menu-item_8107570667141728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},vo={class:"collection__item-label"},xo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),yo={title:"Arial Black",id:"menu-item_7337372467171728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},Eo={class:"collection__item-label"},bo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),_o={title:"Book Antiqua",id:"menu-item_8277641917201728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},No={class:"collection__item-label"},Vo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),wo={title:"Comic Sans MS",id:"menu-item_2698863237231728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},ko={class:"collection__item-label"},Co=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Lo={title:"Courier New",id:"menu-item_2979203277261728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},So={class:"collection__item-label"},Fo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Ao={title:"Georgia",id:"menu-item_8075939747291728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false","aria-selected":"false"},zo={class:"collection__item-label"},Mo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),To={title:"Helvetica",id:"menu-item_8872440547321728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item collection__item--enabled","aria-disabled":"false","aria-checked":"true"},Bo={class:"collection__item-label"},Ho=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Ro={title:"Impact",id:"menu-item_3423693847351728727990778",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},$o={class:"collection__item-label"},Io=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),jo={title:"Symbol",id:"menu-item_7163579447381728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Zo={class:"collection__item-label"},Do=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Oo={title:"Tahoma",id:"menu-item_4449979827411728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Go={class:"collection__item-label"},Wo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Po={title:"Terminal",id:"menu-item_2511923047441728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Xo={class:"collection__item-label"},Uo=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),qo={title:"Times New Roman",id:"menu-item_7770771337471728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Yo={class:"collection__item-label"},Ko=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),Jo={title:"Trebuchet MS",id:"menu-item_7916647947501728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},Qo={class:"collection__item-label"},en=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),tn={title:"Verdana",id:"menu-item_1549891587531728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},on={class:"collection__item-label"},nn=a(()=>e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])],-1)),ln=a(()=>e.createElementVNode("div",{title:"Webdings",id:"menu-item_955052057561728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Webdings")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),sn=a(()=>e.createElementVNode("div",{title:"Wingdings",id:"menu-item_93264657591728727990779",role:"menuitemcheckbox","aria-haspopup":"false",tabindex:"-1",class:"menu-nav__js collection__item","aria-disabled":"false","aria-checked":"false"},[e.createElementVNode("div",{class:"collection__item-label"},[e.createElementVNode("div",null,"Wingdings")]),e.createElementVNode("div",{class:"collection__item-checkmark"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z","fill-rule":"nonzero"})])])],-1)),an={style:{display:"flex","justify-content":"space-between","align-items":"center"}},rn=a(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),dn=[rn],cn=a(()=>e.createElementVNode("span",null,[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),mn=[cn],un=a(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),fn=[un],pn=a(()=>e.createElementVNode("span",{class:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z","fill-rule":"evenodd"})])],-1)),hn=[pn],gn={class:"relative inline-block text-left group z-10 border-0 w-ful l"},vn=a(()=>e.createElementVNode("div",{class:"w-full flex rounded-md"},[e.createElementVNode("button",{type:"button",class:"inline-flex justify-start border-none w-full rounded-md border shadow-sm text-sm font -medium",id:"menu-button","aria-expanded":"true","aria-haspopup":"true"},[e.createElementVNode("div",{class:"split-button flex items-center",style:{"user-select":"none"}},[e.createElementVNode("span",null,[e.createElementVNode("span",{c:""},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("path",{d:"M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z","fill-rule":"evenodd"})])])]),e.createElementVNode("span",{role:"presentation",class:"tbtn split-button__chevron","aria-disabled":"false"},[e.createElementVNode("svg",{width:"10",height:"10",focusable:"false"},[e.createElementVNode("path",{d:"M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z","fill-rule":"nonzero"})])])])])],-1)),xn={class:"hidden absolute group-hover:block mt-0 text-sm rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none"},yn={class:"flex",role:"none"},En=a(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("circle",{cx:"11",cy:"14",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"24",r:"3"}),e.createElementVNode("circle",{cx:"11",cy:"34",r:"3"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)),bn=[En],_n=a(()=>e.createElementVNode("div",null,[e.createElementVNode("svg",{width:"48",height:"48",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{d:"M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z","fill-rule":"nonzero"}),e.createElementVNode("path",{opacity:".2",d:"M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"})])])],-1)),Nn=[_n],Vn=a(()=>e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"1"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"2"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"3"),e.createElementVNode("rect",{x:"24",y:"12",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"22",width:"20",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"24",y:"32",width:"20",height:"4",fill:"black",opacity:".2"})],-1)),wn=[Vn],kn=a(()=>e.createElementVNode("div",{class:"text-sm"},[e.createElementVNode("svg",{width:"48",height:"48",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",focusable:"false"},[e.createElementVNode("text",{x:"12",y:"14","font-family":"Arial","font-size":"14",fill:"black"},"A"),e.createElementVNode("text",{x:"12",y:"24","font-family":"Arial","font-size":"14",fill:"black"},"B"),e.createElementVNode("text",{x:"12",y:"34","font-family":"Arial","font-size":"14",fill:"black"},"C"),e.createElementVNode("rect",{x:"18",y:"12",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{width:"48",height:"48",fill:"none"}),e.createElementVNode("rect",{x:"18",y:"22",width:"22",height:"4",fill:"black",opacity:".2"}),e.createElementVNode("rect",{x:"18",y:"32",width:"22",height:"4",fill:"black",opacity:".2"})])],-1)),Cn=[kn],Ln={class:"flex items-center gap-1 border-t-2 border-b-2 border-gray-300 bg-white w-full px-1",style:{height:"37px"}},Sn=e.createStaticVNode('<i class="bold p x-2" data-v-df48f6af><svg viewBox="-2 0 20 20" width="13px" height="13px" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><g id="text-bold" transform="translate(-4 -2)" data-v-df48f6af><path id="primary" d="M5,3h7.5A4.49,4.49,0,0,1,17,7.5h0A4.49,4.49,0,0,1,12.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-df48f6af></path><path id="primary-2" data-name="primary" d="M5,21h9.5A4.49,4.49,0,0,0,19,16.5h0A4.49,4.49,0,0,0,14.5,12H7" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-df48f6af></path><path id="primary-3" data-name="primary" d="M7,3V21H8V3Z" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" data-v-df48f6af></path></g></g></svg></i>',1),Fn=[Sn],An=e.createStaticVNode('<i class="italic p x-2" data-v-df48f6af><svg viewBox="0 0 20 20" width="15px" height="16px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><g id="layer1" data-v-df48f6af><path d="M 7 4 L 7 5 L 9.9921875 5 L 8 15.955078 L 8 16 L 5 16 L 5 17 L 12 17 L 12 16 L 9.0078125 16 L 11 5.0449219 L 11 5 L 14 5 L 14 4 L 7 4 z " style="fill:#222222;fill-opacity:1;stroke:none;stroke-width:0px;" data-v-df48f6af></path></g></g></svg></i>',1),zn=[An],Mn=e.createStaticVNode('<i class="underline p x-2" data-v-df48f6af><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="13px" height="13px" viewBox="0 0 970.5 970.5" xml:space="preserve" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><g data-v-df48f6af><path d="M116.1,868.5c-28.2,0-51,22.8-51,51s22.8,51,51,51h741.5c28.199,0,51-22.8,51-51s-22.801-51-51-51H116.1z" data-v-df48f6af></path><path d="M940.9,45.1c0-4.9,0-10.1,0-15.1c0-16.6-13.4-30-30-30H582.199c-16.6,0-30,13.4-30,30v14.5c0,15.5,11.801,28.4,27.201,29.9 c14.5,1.4,29,3.5,43.299,6.3c30.201,5.9,44.9,22.7,44.9,53.3v374.9c0,22-2.5,45.399-7.301,69.5c-4.6,23.1-13.898,45-27.6,65 c-14.299,20.1-34.199,36.899-59,49.899c-21.6,11.3-51.4,17.7-88.299,19.2c-37-1.4-66.7-7.9-88.3-19.2 c-24.801-13-44.7-29.7-59-49.899c-13.7-20-23-41.9-27.601-65c-4.8-24.2-7.3-47.601-7.3-69.5v-375c0-30.5,14.7-47.3,44.9-53.3 c14.3-2.8,28.699-4.9,43.3-6.3c15.399-1.5,27.2-14.4,27.2-29.9V30c0-16.6-13.4-30-30-30h-329c-16.6,0-30,13.4-30,30 c0,5,0,10.2,0,15.1c0,14.7,10.7,27.3,25.2,29.6C73,77.6,94.9,81.8,98.3,83c27,9.8,44.2,27.4,44.2,57v408.6c0,34.4,7.4,67.9,22,99.5 c14.6,31.601,36.5,60,65.2,84.4l0.1,0.1c28.8,24.2,64.8,43.601,106.9,57.7c41.8,14,90,21.101,143.2,21.101c1.7,0,3.5,0,5.399-0.101 c2,0,3.701,0.101,5.4,0.101C543.9,811.4,592,804.3,633.9,790.3c42.1-14.1,78-33.5,106.898-57.7l0.102-0.1 c28.699-24.4,50.6-52.8,65.199-84.4c14.6-31.6,22-65.1,22-99.5V140.1c0-29.6,17.301-47.2,44.199-57c3.4-1.2,25.301-5.4,43.5-8.3 C930.299,72.4,940.9,59.8,940.9,45.1z" data-v-df48f6af></path></g></g></svg></i>',1),Tn=[Mn],Bn={class:"strikethrough p x-2"},Hn={fill:"#000000",width:"13px",height:"13px",viewBox:"0 0 64 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","xml:space":"preserve","xmlns:serif":"http://www.serif.com/",style:{"fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"2"}},Rn=a(()=>e.createElementVNode("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1)),$n=a(()=>e.createElementVNode("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),In=a(()=>e.createElementVNode("g",{id:"SVGRepo_iconCarrier"},[e.createElementVNode("rect",{id:"Icons",x:"-192",y:"0",width:"1280",height:"800",style:{fill:"none"}}),e.createElementVNode("g",{id:"Icons1","serif:id":"Icons"},[e.createElementVNode("g",{id:"Strike"},[e.createElementVNode("rect",{id:"Strike-line","serif:id":"Strike line",x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("rect",{x:"10.01",y:"30.17",width:"44.15",height:"2.988"}),e.createElementVNode("path",{id:"Strike1","serif:id":"Strike",d:"M46.396,35.711c0.414,0.482 0.779,0.983 1.093,1.504c1.06,1.756 1.59,3.823 1.59,6.2c0,3.791 -1.478,6.827 -4.433,9.107c-2.955,2.281 -6.907,3.422 -11.854,3.422c-3.212,0 -6.21,-0.616 -8.994,-1.848c-2.785,-1.231 -4.931,-2.917 -6.441,-5.059c-1.51,-2.142 -2.265,-4.572 -2.265,-7.292l6.2,0c0,2.827 1.044,5.059 3.132,6.698c2.088,1.638 4.877,2.457 8.368,2.457c3.256,0 5.75,-0.664 7.485,-1.992c1.735,-1.327 2.602,-3.137 2.602,-5.429c0,-2.291 -0.803,-4.063 -2.409,-5.316c-1.057,-0.824 -2.68,-1.642 -4.868,-2.452l10.794,0Zm-27.382,-8.094c-1.629,-1.974 -2.444,-4.3 -2.444,-6.978c0,-3.683 1.472,-6.73 4.417,-9.139c2.944,-2.409 6.773,-3.614 11.484,-3.614c3.212,0 6.077,0.621 8.593,1.863c2.517,1.242 4.465,2.956 5.847,5.14c1.381,2.185 2.072,4.572 2.072,7.164l-6.2,0c0,-2.827 -0.9,-5.049 -2.699,-6.666c-1.799,-1.617 -4.336,-2.425 -7.613,-2.425c-3.041,0 -5.413,0.669 -7.115,2.007c-1.703,1.339 -2.554,3.197 -2.554,5.574c0,1.906 0.808,3.518 2.425,4.835c0.966,0.786 2.337,1.533 4.112,2.239l-10.325,0Z",style:{"fill-rule":"nonzero"}})]),e.createElementVNode("g",{id:"H1"}),e.createElementVNode("g",{id:"H2"}),e.createElementVNode("g",{id:"H3"}),e.createElementVNode("g",{id:"list-ul"}),e.createElementVNode("g",{id:"hamburger-1"}),e.createElementVNode("g",{id:"hamburger-2"}),e.createElementVNode("g",{id:"list-ol"}),e.createElementVNode("g",{id:"list-task"}),e.createElementVNode("g",{id:"trash"}),e.createElementVNode("g",{id:"vertical-menu"}),e.createElementVNode("g",{id:"horizontal-menu"}),e.createElementVNode("g",{id:"sidebar-2"}),e.createElementVNode("g",{id:"Pen"}),e.createElementVNode("g",{id:"Pen1","serif:id":"Pen"}),e.createElementVNode("g",{id:"clock"}),e.createElementVNode("g",{id:"external-link"}),e.createElementVNode("g",{id:"hr"}),e.createElementVNode("g",{id:"info"}),e.createElementVNode("g",{id:"warning"}),e.createElementVNode("g",{id:"plus-circle"}),e.createElementVNode("g",{id:"minus-circle"}),e.createElementVNode("g",{id:"vue"}),e.createElementVNode("g",{id:"cog"}),e.createElementVNode("g",{id:"logo"}),e.createElementVNode("g",{id:"radio-check"}),e.createElementVNode("g",{id:"eye-slash"}),e.createElementVNode("g",{id:"eye"}),e.createElementVNode("g",{id:"toggle-off"}),e.createElementVNode("g",{id:"shredder"}),e.createElementVNode("g",{id:"spinner--loading--dots-","serif:id":"spinner [loading, dots]"}),e.createElementVNode("g",{id:"react"}),e.createElementVNode("g",{id:"check-selected"}),e.createElementVNode("g",{id:"turn-off"}),e.createElementVNode("g",{id:"code-block"}),e.createElementVNode("g",{id:"user"}),e.createElementVNode("g",{id:"coffee-bean"}),e.createElementVNode("g",{id:"coffee-beans"},[e.createElementVNode("g",{id:"coffee-bean1","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"coffee-bean-filled"}),e.createElementVNode("g",{id:"coffee-beans-filled"},[e.createElementVNode("g",{id:"coffee-bean2","serif:id":"coffee-bean"})]),e.createElementVNode("g",{id:"clipboard"}),e.createElementVNode("g",{id:"clipboard-paste"}),e.createElementVNode("g",{id:"clipboard-copy"}),e.createElementVNode("g",{id:"Layer1"})])],-1)),jn=[Rn,$n,In],Zn=a(()=>e.createElementVNode("i",{class:"superscript p x-2"},"sup",-1)),Dn=[Zn],On=a(()=>e.createElementVNode("i",{class:"subscript p x-2"},"sub",-1)),Gn=[On],Wn=e.createStaticVNode('<i class="-code p x-2" data-v-df48f6af><svg viewBox="0 0 16 16" width="13px" height="13px" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><path d="M8.01005 0.858582L6.01005 14.8586L7.98995 15.1414L9.98995 1.14142L8.01005 0.858582Z" fill="#000000" data-v-df48f6af></path><path d="M12.5 11.5L11.0858 10.0858L13.1716 8L11.0858 5.91422L12.5 4.5L16 8L12.5 11.5Z" fill="#000000" data-v-df48f6af></path><path d="M2.82843 8L4.91421 10.0858L3.5 11.5L0 8L3.5 4.5L4.91421 5.91422L2.82843 8Z" fill="#000000" data-v-df48f6af></path></g></svg></i>',1),Pn=[Wn],Xn={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},Un=a(()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-highlight-bg-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{"fill-rule":"nonzero",d:"M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"})])])],-1)),qn={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},Yn={class:"color-grid"},Kn=["onClick"],Jn={class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1"},Qn=a(()=>e.createElementVNode("i",{class:"solid brush display-color",style:{margin:"6px 0px 0px 0px",border:"none"}},[e.createElementVNode("span",{role:"presentation",class:"tbtn","aria-disabled":"false",style:{width:"34px"}},[e.createElementVNode("span",{class:"icon tbtn__icon-wrap"},[e.createElementVNode("svg",{width:"24",height:"24",focusable:"false"},[e.createElementVNode("g",{"fill-rule":"evenodd"},[e.createElementVNode("path",{class:"icon-text-color__color",d:"M3 18h18v3H3z",fill:"#F1C40F"}),e.createElementVNode("path",{d:"M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"})])])])])],-1)),el={class:"color-picker color-container",style:{position:"absolute",top:"0",bottom:"0",height:"fit-content",overflow:"auto"}},tl={class:"color-grid"},ol=["onClick"],nl=e.createStaticVNode('<span class="" data-v-df48f6af><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><path fill-rule="evenodd" clip-rule="evenodd" d="M7.53033 3.46967C7.82322 3.76256 7.82322 4.23744 7.53033 4.53033L5.81066 6.25H15C18.1756 6.25 20.75 8.82436 20.75 12C20.75 15.1756 18.1756 17.75 15 17.75H8.00001C7.58579 17.75 7.25001 17.4142 7.25001 17C7.25001 16.5858 7.58579 16.25 8.00001 16.25H15C17.3472 16.25 19.25 14.3472 19.25 12C19.25 9.65279 17.3472 7.75 15 7.75H5.81066L7.53033 9.46967C7.82322 9.76256 7.82322 10.2374 7.53033 10.5303C7.23744 10.8232 6.76256 10.8232 6.46967 10.5303L3.46967 7.53033C3.17678 7.23744 3.17678 6.76256 3.46967 6.46967L6.46967 3.46967C6.76256 3.17678 7.23744 3.17678 7.53033 3.46967Z" fill="#1C274C" data-v-df48f6af></path></g></svg></span>',1),ll=[nl],il=e.createStaticVNode('<span class="" data-v-df48f6af><svg viewBox="0 0 24 24" fill="none" width="20px" height="20px" xmlns="http://www.w3.org/2000/svg" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><path d="M20 7H9.00001C6.23858 7 4 9.23857 4 12C4 14.7614 6.23858 17 9 17H16M20 7L17 4M20 7L17 10" stroke="#1C274C" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></path></g></svg></span>',1),sl=[il],al=e.createStaticVNode('<span class="" data-v-df48f6af><svg width="20px" height="20px" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg" fill="#000000" data-v-df48f6af><g id="SVGRepo_bgCarrier" stroke-width="0" data-v-df48f6af></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-df48f6af></g><g id="SVGRepo_iconCarrier" data-v-df48f6af><path fill="#494c4e" d="M16 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm0 4H2c-.6 0-1-.4-1-1s.4-1 1-1h14c.6 0 1 .4 1 1s-.4 1-1 1zm1 4v2c0 1-1 2-2 2h-2c0 .3 0 .5-.3.7-.2.2-.4.3-.7.3s-.5 0-.7-.3l-1-1c-.4-.4-.4-1 0-1.4l1-1c.4-.4 1-.4 1.4 0 .2.2.3.4.3.7h2v-2H2c-.6 0-1-.5-1-1s.5-1 1-1h13c1 0 2 1 2 2z" data-v-df48f6af></path></g></svg></span>',1),rl=[al],dl={style:{"min-height":"100%","text-align":"justify"}},cl=["innerHTML"],ml={key:0,class:"hideonprint flex items-center",style:{"text-align":"center","align-items":"stretch",gap:"10px"}},ul=a(()=>e.createElementVNode("i",{class:"-"},null,-1)),fl=a(()=>e.createElementVNode("strong",{class:"p x-2"},"NEW LINE",-1)),pl=[ul,fl],hl=a(()=>e.createElementVNode("p",{style:{margin:"0 0 0 10px"}},[e.createTextVNode("Cursor position: "),e.createElementVNode("span",{id:"cursorPosition"},"0")],-1)),gl=a(()=>e.createElementVNode("p",null,[e.createTextVNode("Text at cursor: "),e.createElementVNode("span",{id:"textAtCursor"})],-1)),vl={__name:"Editor",props:{Dvalue:{default:""},TextOnly:{default:!1},cssWanted2:{default:!1},Files:{size:null,limits:30}},emits:["change","update"],setup(o,{emit:s}){const n=e.ref(null),d=e.ref(!1),i=e.ref(null),f=e.ref(null),r=e.ref(null),c=e.ref(null);e.ref([]);let m=null;const g=e.ref(["FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","5733FF","57FF33","FF3333","33FF33","3333FF","FF33AA","33AAFF","AAFF33","FFAA33","AA33FF","33FFAA","AAFFAA","FFAAFF","FF6347","40E0D0","FFD700","8A2BE2","DC143C","00CED1","7FFF00","FF4500","fffefe","2E8B57","DAA520","6A5ACD","FF1493","B8860B","4682B4","D2691E","ADFF2F","5F9EA0","FF69B4","7B68EE","00FF7F","20B2AA","FF5733","33FF57","3357FF","FFFF33","FF33FF","33FFFF","FFD700","8A2BE2","7FFFD4","FF4500","6A5ACD","00FF7F","FF6347","FF1493","00CED1","989393","000000"]),E=s,v=o,u=e.ref(null);function h(...p){try{var t=document.querySelectorAll(".removeinlineblock");let l;v.TextOnly?l=n.value.value:l=u.value.innerHTML,t.forEach(function(x){x.style.display="block"}),_e(...p,l)}catch{}}function b(...p){var t;R(),ue((t=i.value)==null?void 0:t.range,n.value,...p,d.value),d.value=!1,N()}function y(...p){var t;J((t=i.value)==null?void 0:t.range,n.value,...p),m=null,N()}function C(...p){var t;J((t=i.value)==null?void 0:t.range,n.value,...p),m=null,N()}function L(p){ve(p,i.value.range),m=null,N()}function F(...p){me(i.value.range,...p),m=null}const z=te();function N(p){var l;let t;v.TextOnly=="true"?p&&((l=p.target)!=null&&l.value)&&(t=`${p.target.value}`.replace(/<\/[a-z]*?>|<\S.*?>/gi,x=>x.startsWith("</")?"":`
167
+ `)):(t=be(n.value),Y.SaveCurrentChanges(t),v.cssWanted==!0&&E("cssWanted",z)),t&&setTimeout(()=>{E("change",t)},300)}function T(p){n.value.focus(),N()}function M(p){p.addEventListener("click",function(t){d.value=t;const l=document.createElement("div");l.style.display="flex",l.style.position="absolute",l.style.bottom="20px",l.style.right="0px",l.style.zIndex="100",l.style.background="white",l.classList.add("Image_dropped_pom"),l.classList.add("hideOnprint");const x=document.createElement("button");x.textContent=" Left",x.style.margin="5px";const V=document.createElement("button");V.textContent=" Right",V.style.margin="5px";const w=document.createElement("button");w.textContent="Center ",w.style.margin="5px",l.appendChild(x),l.appendChild(V),l.appendChild(w),p.appendChild(l),x.addEventListener("click",()=>{p.style.float="left",$()}),V.addEventListener("click",()=>{p.style.float="right",$()}),w.addEventListener("click",()=>{p.style.display="block",p.style.margin="0 auto",$()}),document.addEventListener("click",function k(A){p.contains(A.target)||($(),document.removeEventListener("click",k))},{once:!0})})}function B(p){const t=document.getElementsByClassName("resizer-image-dropped");Array.from(t).forEach(l=>{M(l)}),d.value=!1}e.onMounted(()=>{T()});function H(){ye(n.value)}function _(...p){P(i.value.range,...p),N()}function D(...p){fe(i.value.range,...p),N()}function R(){i.value=se(),ie(),ae(i.value,n.value,r.value,c.value),m=null,N()}function oe(p){const l=(p.size/1024).toFixed(2);return{fileSizeInMB:(l/1024).toFixed(2),fileSizeInKB:l}}function ne(p){var x,V,w,k,A;p.preventDefault();const t=p.dataTransfer.files;if(parseFloat((x=v.Files)==null?void 0:x.limits)==parseFloat((V=v.Files)==null?void 0:V.limits)){alert(`You can not upload more than ${v.Files.limits} images`);return}const l=oe(t[0]);if(((w=v.Files)==null?void 0:w.size)>0&&l.fileSizeInMB>parseFloat((k=v.Files)==null?void 0:k.size)){alert(`File size should be less than ${(A=v.Files)==null?void 0:A.size} MB`);return}if(console.log(`Image Droped ${l.fileSizeInMB} MB / ${l.fileSizeInKB} KB`),t.length>0){const I=t[0],j=new FileReader;j.onload=O=>{const S=O.target.result;le(S)},j.readAsDataURL(I)}N()}function le(p){$();const t=i.value.range;if(t){let I=function(S,G){S.preventDefault(),A=G,window.addEventListener("mousemove",j),window.addEventListener("mouseup",O)},j=function(S){const G=x.getBoundingClientRect();if(A==="width"||A==="both"){const W=S.clientX-G.left;x.style.width=W+"px",l.style.width=W+"px"}if(A==="height"||A==="both"){const W=S.clientY-G.top;l.style.height=W+"px"}},O=function(){window.removeEventListener("mousemove",j),window.removeEventListener("mouseup",O)};const l=document.createElement("img");l.src=p,l.style.maxWidth="100%",l.style.position="relative",l.classList.add("resizable-image");const x=document.createElement("span");x.style.display="inline-block",x.style.width="200px",x.style.position="relative",x.contentEditable=!1,x.classList.add("resizer-image-dropped"),M(x);const V=document.createElement("div");V.style.width="10px",V.style.height="100%",V.style.background="gray",V.style.position="absolute",V.style.right="0",V.style.top="0",V.style.cursor="ew-resize",V.style.zIndex="2",V.classList.add("hideOnprint"),V.setAttribute("contentEditable",!1);const w=document.createElement("div");w.style.width="100%",w.style.height="10px",w.style.background="gray",w.style.position="absolute",w.style.bottom="0",w.style.left="0",w.style.cursor="ns-resize",w.style.zIndex="2",w.classList.add("hideOnprint"),w.setAttribute("contentEditable",!1);const k=document.createElement("div");k.style.width="20px",k.style.height="20px",k.style.background="gray",k.style.position="absolute",k.style.right="0",k.style.bottom="0",k.style.cursor="nwse-resize",k.style.zIndex="10",k.setAttribute("contentEditable",!1),x.appendChild(l),x.appendChild(V),x.appendChild(w),x.appendChild(k),x.addEventListener("click",S=>{m&&(m.style.border=""),m=x}),V.addEventListener("mousedown",S=>I(S,"width")),w.addEventListener("mousedown",S=>I(S,"height")),k.addEventListener("mousedown",S=>I(S,"both")),t.insertNode(x);let A;B(),N()}}function $(p="Image_dropped_pom"){const t=document.getElementsByClassName(p);Array.from(t).forEach(l=>{l.remove()}),N()}function X(p){const t=Y[p]();setTimeout(()=>{t&&(n.value.innerHTML=t,N())},100)}return(p,t)=>(e.openBlock(),e.createElementBlock("span",Ve,[e.createElementVNode("div",we,[e.createElementVNode("div",ke,[e.createElementVNode("div",Ce,[e.createElementVNode("div",Le,[e.createElementVNode("div",Se,[Fe,e.createElementVNode("div",Ae,[e.createElementVNode("div",ze,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[0]||(t[0]=l=>h(!0))},Be),e.createElementVNode("div",He,[Re,e.createElementVNode("strong",{class:"px-3",onClick:t[1]||(t[1]=l=>h(!1))},"Preview")]),$e])])])]),e.createElementVNode("div",Ie,[e.createElementVNode("div",je,[Ze,e.createElementVNode("div",De,[e.createElementVNode("div",Oe,[e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md",onClick:t[2]||(t[2]=l=>_())},Pe),e.createElementVNode("div",{onClick:t[3]||(t[3]=l=>_("i","**italic text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},qe),e.createElementVNode("div",{onClick:t[4]||(t[4]=l=>_("u","**underLine text **")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Je),e.createElementVNode("div",{onClick:t[5]||(t[5]=l=>_("s","**underLine text**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},tt),e.createElementVNode("div",{onClick:t[6]||(t[6]=l=>_("sup","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},lt),e.createElementVNode("div",{onClick:t[7]||(t[7]=l=>_("sub","**supperScript**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},at),e.createElementVNode("div",{onClick:t[8]||(t[8]=l=>_("summary","**summary**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},ct),e.createElementVNode("div",{onClick:t[9]||(t[9]=l=>_("ol","1. ordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},ft),e.createElementVNode("div",{onClick:t[10]||(t[10]=l=>_("ul","1. unordered list")),style:{"background-color":"#f3f4f6",cursor:"pointer"},class:"hover:bg-gray-200 elemeSet rounded"},gt),e.createElementVNode("div",{onClick:t[11]||(t[11]=l=>_("h1","**h1**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},xt),e.createElementVNode("div",{onClick:t[12]||(t[12]=l=>_("h2","**h2**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Et),e.createElementVNode("div",{onClick:t[13]||(t[13]=l=>_("h3","**h3**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},_t),e.createElementVNode("div",{onClick:t[14]||(t[14]=l=>_("h4","**h4**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Vt),e.createElementVNode("div",{onClick:t[15]||(t[15]=l=>_("h5","**h5**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},kt),e.createElementVNode("div",{onClick:t[16]||(t[16]=l=>_("h6","**h6**")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Lt),e.createElementVNode("div",St,[e.createElementVNode("input",{list:"fontSizes",onInput:t[17]||(t[17]=l=>C("font-size",l.target.value+"px")),placeholder:"Size ",class:"p-1 border rounded w-[6vw] h-[3vh]"},null,32),Ft]),At,e.createElementVNode("div",{onClick:t[18]||(t[18]=l=>C("text-transform","capitalize")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Mt),e.createElementVNode("div",{onClick:t[19]||(t[19]=l=>C("text-transform","lowercase")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Bt),e.createElementVNode("div",{onClick:t[20]||(t[20]=l=>C("text-transform","uppercase")),class:"hover:bg-gray-200 elemeSet rounded cursor-pointer text-md"},Rt)])])])]),e.createElementVNode("div",$t,[e.createElementVNode("div",It,[jt,e.createElementVNode("div",Zt,[e.createElementVNode("div",Dt,[e.createElementVNode("div",Ot,[Gt,Wt,e.createElementVNode("input",{type:"file",hidden:"",id:"pom43546535435445Image",accept:"image/*",multiple:"",onChange:t[21]||(t[21]=l=>L(l))},null,32)]),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[22]||(t[22]=l=>{F(this,"a","links",{},{href:"",class:"pom-editor-anchor-tag",style:"text-decoration: underline;cursor: pointer"})})},Ut),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer p-2",onClick:t[23]||(t[23]=l=>F(this))},Kt),e.createElementVNode("div",null,[Jt,e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[24]||(t[24]=l=>e.unref(K)())},to),e.createElementVNode("div",{class:"hover:bg-gray-200 elemeSet rounded cursor-pointer",onClick:t[25]||(t[25]=l=>e.unref(K)(!0))},lo),e.createElementVNode("div",io,[so,e.createElementVNode("div",{id:"table-picker-container",ref_key:"tablePickerContainer",ref:f,class:"table-picker-container"},[e.createElementVNode("div",{id:"table-picker-grid",ref_key:"tablePickerGrid",ref:r,class:"table-picker-grid"},null,512),e.createElementVNode("span",{id:"table-dimensions",ref_key:"tableDimensions",ref:c,class:"table-dimensions"},"0 x 0",512)],512)])])])])])]),e.createElementVNode("div",ao,[e.createElementVNode("div",ro,[co,e.createElementVNode("div",mo,[e.createElementVNode("span",uo,[e.createElementVNode("div",fo,[e.createElementVNode("div",po,[ho,e.createElementVNode("div",go,[e.createElementVNode("div",vo,[e.createElementVNode("div",{onClick:t[26]||(t[26]=()=>y("font-family"," arial, helvetica, sans-serif")),style:{"font-family":"arial, helvetica, sans-serif"}},"Arial ")]),xo]),e.createElementVNode("div",yo,[e.createElementVNode("div",Eo,[e.createElementVNode("div",{style:{"font-family":'"arial black", sans-serif'},onClick:t[27]||(t[27]=()=>y("font-family","arial black, sans-serif"))}," Arial Black")]),bo]),e.createElementVNode("div",_o,[e.createElementVNode("div",No,[e.createElementVNode("div",{style:{"font-family":"book antiqua, palatino, serif"},onClick:t[28]||(t[28]=()=>y("font-family","book antiqua, palatino, serif"))}," Book Antiqua")]),Vo]),e.createElementVNode("div",wo,[e.createElementVNode("div",ko,[e.createElementVNode("div",{style:{"font-family":'"comic sans ms", sans-serif'},onClick:t[29]||(t[29]=()=>y("font-family",'comic sans ms", sans-serif'))}," Comic Sans MS")]),Co]),e.createElementVNode("div",Lo,[e.createElementVNode("div",So,[e.createElementVNode("div",{style:{"font-family":"courier new, courier, monospace"},onClick:t[30]||(t[30]=()=>y("font-family"," courier new, courier, monospace;"))}," Courier New")]),Fo]),e.createElementVNode("div",Ao,[e.createElementVNode("div",zo,[e.createElementVNode("div",{style:{"font-family":"georgia, palatino, serif"},onClick:t[31]||(t[31]=()=>y("font-family"," georgia, palatino, serif"))},"Georgia ")]),Mo]),e.createElementVNode("div",To,[e.createElementVNode("div",Bo,[e.createElementVNode("div",{style:{"font-family":"helvetica, arial, sans-serif"},onClick:t[32]||(t[32]=()=>y("font-family"," helvetica, arial, sans-serif"))}," Helvetica")]),Ho]),e.createElementVNode("div",Ro,[e.createElementVNode("div",$o,[e.createElementVNode("div",{style:{"font-family":"impact, sans-serif"},onClick:t[33]||(t[33]=()=>y("font-family"," impact, sans-serif"))},"Impact")]),Io]),e.createElementVNode("div",jo,[e.createElementVNode("div",Zo,[e.createElementVNode("div",{style:{"font-family":"symbol"},onClick:t[34]||(t[34]=()=>y("font-family"," symbol"))},"Symbol")]),Do]),e.createElementVNode("div",Oo,[e.createElementVNode("div",Go,[e.createElementVNode("div",{style:{"font-family":"tahoma, arial, helvetica, sans-serif"},onClick:t[35]||(t[35]=()=>y("font-family"," tahoma, arial, helvetica, sans-serif"))}," Tahoma")]),Wo]),e.createElementVNode("div",Po,[e.createElementVNode("div",Xo,[e.createElementVNode("div",{style:{"font-family":"terminal, monaco, monospace"},onClick:t[36]||(t[36]=()=>y("font-family"," terminal, monaco, monospace"))},"Terminal ")]),Uo]),e.createElementVNode("div",qo,[e.createElementVNode("div",Yo,[e.createElementVNode("div",{style:{"font-family":"times new roman, times, serif"},onClick:t[37]||(t[37]=()=>y("font-family"," times new roman, times, serif"))}," Times New Roman")]),Ko]),e.createElementVNode("div",Jo,[e.createElementVNode("div",Qo,[e.createElementVNode("div",{style:{"font-family":"trebuchet ms, geneva, sans-serif"},onClick:t[38]||(t[38]=()=>y("font-family"," trebuchet ms, geneva, sans-serif"))}," Trebuchet MS")]),en]),e.createElementVNode("div",tn,[e.createElementVNode("div",on,[e.createElementVNode("div",{style:{"font-family":"verdana, geneva, sans-serif"},onClick:t[39]||(t[39]=()=>y("font-family"," verdana, geneva, sans-serif"))},"Verdana ")]),nn]),ln,sn])])])])])]),e.createElementVNode("div",an,[e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[40]||(t[40]=l=>b("text-align","justify","","p"))},dn),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[41]||(t[41]=l=>b("text-align","center","","div"))},mn),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[42]||(t[42]=l=>b("text-align","end","","p"))},fn),e.createElementVNode("button",{style:{flex:"1",margin:"0 4px",width:"auto"},onClick:t[43]||(t[43]=l=>b("text-align","start","","div"))},hn)]),e.createElementVNode("div",gn,[vn,e.createElementVNode("div",xn,[e.createElementVNode("div",yn,[e.createElementVNode("div",{onClick:t[44]||(t[44]=l=>D(3,"disc"))},bn),e.createElementVNode("div",{onClick:t[45]||(t[45]=l=>D(3,"circle"))},Nn),e.createElementVNode("div",null,[e.createElementVNode("div",{class:"",onClick:t[46]||(t[46]=l=>D())},wn)]),e.createElementVNode("div",{onClick:t[47]||(t[47]=l=>D(3,"upper-latin"))},Cn)])])])]),e.createElementVNode("div",Ln,[e.renderSlot(p.$slots,"toolbar-before",{},void 0,!0),e.createElementVNode("div",{class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md p-0 px-3",style:{margin:"6px"},onClick:t[48]||(t[48]=l=>_())},Fn),e.createElementVNode("div",{onClick:t[49]||(t[49]=l=>_("i","**italic text **")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},zn),e.createElementVNode("div",{onClick:t[50]||(t[50]=l=>_("u","**underLine text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Tn),e.createElementVNode("div",{onClick:t[51]||(t[51]=l=>_("s","**Strike text**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},[e.createElementVNode("i",Bn,[(e.openBlock(),e.createElementBlock("svg",Hn,jn))])]),e.createElementVNode("div",{onClick:t[52]||(t[52]=l=>_("sup","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Dn),e.createElementVNode("div",{onClick:t[53]||(t[53]=l=>_("sub","**supperScript**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Gn),e.createElementVNode("div",{onClick:t[54]||(t[54]=l=>_("Code","**code**")),class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 items-center text-center justify-baseline rounded cursor-pointer text-md 3",style:{margin:"6px"}},Pn),e.createElementVNode("div",Xn,[Un,e.createElementVNode("div",qn,[e.createElementVNode("div",Yn,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,l=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${l} ;`),onClick:x=>C("background",`#${l}`,"","span")},null,12,Kn))),256))])])]),e.createElementVNode("div",Jn,[Qn,e.createElementVNode("div",el,[e.createElementVNode("div",tl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,l=>(e.openBlock(),e.createElementBlock("div",{class:"color-box",style:e.normalizeStyle(`background-color: #${l} ;`),onClick:x=>C("color",`#${l}`,"","span")},null,12,ol))),256))])])]),e.createElementVNode("div",{title:"Redo",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:t[55]||(t[55]=()=>X("Undo"))},ll),e.createElementVNode("div",{title:"Redo",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:t[56]||(t[56]=()=>X("Redo"))},sl),e.createElementVNode("div",{title:"new fresh line",class:"hover:bg-gray-200 bg-gray-50 hover:text-gray-700 elemeSet items-center text-center justify-baseline rounded cursor-pointer text-md p-0 m-1",st:"",yle:"flex: 1; margin: 0 4px; text-align: center;padding-top:8px ;",onClick:t[57]||(t[57]=l=>H())},rl),e.renderSlot(p.$slots,"toolbar-after",{},void 0,!0)])])]),e.createElementVNode("div",{class:"",ref_key:"pomTextEditorContainer",ref:u,id:"pom-texedito-container",style:{width:"100%",overflow:"hidden auto",height:"30vh",border:"1px solid #9d969633",padding:"0px","border-radius":"3px"}},[e.createElementVNode("div",dl,[o.TextOnly?(e.openBlock(),e.createElementBlock("textarea",{key:0,onMouseup:t[58]||(t[58]=l=>R()),onKeyup:t[59]||(t[59]=l=>{R()}),onInput:N,ref_key:"editorRef",ref:n,class:"editor pom-editing-area mt-1 border-gray-300",id:"editor",style:{height:"100%",width:"100%",border:"none",resize:"none"}},e.toDisplayString(o.Dvalue),545)):(e.openBlock(),e.createElementBlock("div",{key:1,"data-placeholder":"Your Editing.....",onDrop:ne,innerHTML:o.Dvalue,onMouseup:t[60]||(t[60]=l=>R()),onKeyup:t[61]||(t[61]=l=>{R()}),ref_key:"editorRef",ref:n,class:"editor pom-editing-area mt-1 border-gray-300",onInput:N,contenteditable:"true",id:"editor",style:{height:"100%",width:"100%",border:"none"}},null,40,cl))])],512),o.TextOnly!="true"?(e.openBlock(),e.createElementBlock("div",ml,[e.createElementVNode("div",{class:"hover:bg-gray-200",onClick:t[62]||(t[62]=l=>H())},pl),hl,gl])):e.createCommentVNode("",!0)]))}},xl=Ne(vl,[["__scopeId","data-v-df48f6af"]]);module.exports=xl;