@wulperstudio/editor-render 0.0.16-beta → 0.0.18-beta

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.
Files changed (94) hide show
  1. package/base/index.js +1 -1
  2. package/chunk-FVKZFRZU.js +2 -0
  3. package/chunk-HIEDDYNI.js +2 -0
  4. package/chunk-OCYJ4OGP.js +2 -0
  5. package/chunk-XWS4SIB5.js +1 -0
  6. package/chunk-ZRL6J2BH.js +2 -0
  7. package/components/index.js +1 -1
  8. package/helpers/index.js +1 -1
  9. package/index.js +1 -1
  10. package/interfaces/index.js +1 -1
  11. package/package.json +48 -3
  12. package/types/index.js +1 -1
  13. package/utils/index.js +1 -1
  14. package/base/base.js +0 -2
  15. package/base/base.mjs +0 -2
  16. package/base/base.types.js +0 -2
  17. package/base/index.mjs +0 -2
  18. package/components/Anchor/index.js +0 -2
  19. package/components/Anchor/index.mjs +0 -2
  20. package/components/Bold/index.js +0 -2
  21. package/components/Bold/index.mjs +0 -2
  22. package/components/CheckBox/index.js +0 -2
  23. package/components/CheckBox/index.mjs +0 -2
  24. package/components/Code/index.js +0 -2
  25. package/components/Code/index.mjs +0 -2
  26. package/components/Container/index.js +0 -2
  27. package/components/Container/index.mjs +0 -2
  28. package/components/Delimiter/index.js +0 -2
  29. package/components/Delimiter/index.mjs +0 -2
  30. package/components/Embed/index.js +0 -2
  31. package/components/Embed/index.mjs +0 -2
  32. package/components/Header/index.js +0 -2
  33. package/components/Header/index.mjs +0 -2
  34. package/components/Image/index.js +0 -2
  35. package/components/Image/index.mjs +0 -2
  36. package/components/InlineCode/index.js +0 -2
  37. package/components/InlineCode/index.mjs +0 -2
  38. package/components/Italic/index.js +0 -2
  39. package/components/Italic/index.mjs +0 -2
  40. package/components/Link/index.js +0 -2
  41. package/components/Link/index.mjs +0 -2
  42. package/components/List/index.js +0 -2
  43. package/components/List/index.mjs +0 -2
  44. package/components/ListItem/index.js +0 -2
  45. package/components/ListItem/index.mjs +0 -2
  46. package/components/Marker/index.js +0 -2
  47. package/components/Marker/index.mjs +0 -2
  48. package/components/Paragraph/index.js +0 -2
  49. package/components/Paragraph/index.mjs +0 -2
  50. package/components/Quote/index.js +0 -2
  51. package/components/Quote/index.mjs +0 -2
  52. package/components/Raw/index.js +0 -2
  53. package/components/Raw/index.mjs +0 -2
  54. package/components/Table/index.js +0 -2
  55. package/components/Table/index.mjs +0 -2
  56. package/components/TableCell/index.js +0 -2
  57. package/components/TableCell/index.mjs +0 -2
  58. package/components/TableRow/index.js +0 -2
  59. package/components/TableRow/index.mjs +0 -2
  60. package/components/index.mjs +0 -2
  61. package/helpers/RecursiveNode/index.js +0 -2
  62. package/helpers/RecursiveNode/index.mjs +0 -2
  63. package/helpers/code/index.js +0 -2
  64. package/helpers/code/index.mjs +0 -2
  65. package/helpers/delimiter/index.js +0 -2
  66. package/helpers/delimiter/index.mjs +0 -2
  67. package/helpers/embed/index.js +0 -2
  68. package/helpers/embed/index.mjs +0 -2
  69. package/helpers/header/index.js +0 -2
  70. package/helpers/header/index.mjs +0 -2
  71. package/helpers/image/index.js +0 -2
  72. package/helpers/image/index.mjs +0 -2
  73. package/helpers/index.mjs +0 -2
  74. package/helpers/link/index.js +0 -2
  75. package/helpers/link/index.mjs +0 -2
  76. package/helpers/list/index.js +0 -2
  77. package/helpers/list/index.mjs +0 -2
  78. package/helpers/paragraph/index.js +0 -2
  79. package/helpers/paragraph/index.mjs +0 -2
  80. package/helpers/quote/index.js +0 -2
  81. package/helpers/quote/index.mjs +0 -2
  82. package/helpers/raw/index.js +0 -2
  83. package/helpers/raw/index.mjs +0 -2
  84. package/helpers/table/index.js +0 -2
  85. package/helpers/table/index.mjs +0 -2
  86. package/index.mjs +0 -2
  87. package/utils/get_flex_basis.js +0 -2
  88. package/utils/get_flex_basis.mjs +0 -2
  89. package/utils/index.mjs +0 -2
  90. package/utils/purify_html.js +0 -2
  91. package/utils/purify_html.mjs +0 -2
  92. /package/{base/base.types.mjs → chunk-2DVQHDGG.js} +0 -0
  93. /package/{interfaces/index.mjs → chunk-BQHB7RHK.js} +0 -0
  94. /package/{types/index.mjs → chunk-FXPGR372.js} +0 -0
package/base/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(r,o,p,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of c(o))!d.call(r,m)&&m!==p&&a(r,m,{get:()=>o[m],enumerable:!(x=b(o,m))||x.enumerable});return r},f=(r,o,p)=>(t(r,o,"default"),p&&t(p,o,"default"));var g=r=>t(a({},"__esModule",{value:!0}),r);var e={};module.exports=g(e);f(e,require("./base"),module.exports);f(e,require("./base.types"),module.exports);0&&(module.exports={...require("./base"),...require("./base.types")});
2
+ import{a}from"../chunk-HIEDDYNI.js";import"../chunk-OCYJ4OGP.js";import"../chunk-FVKZFRZU.js";import"../chunk-ZRL6J2BH.js";export{a as BaseRender};
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ import{styled as O}from"@mui/material";var d=O("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as X}from"react/jsx-runtime";var So=({sx:o,...e})=>X(d,{sx:o,...e});import{styled as $}from"@mui/material";var R=$("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});import{jsx as G}from"react/jsx-runtime";var Uo=({sx:o,...e})=>G(R,{sx:o,...e});import{styled as J}from"@mui/material";var f=J("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginBottom:0});import{jsx as V}from"react/jsx-runtime";var K={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},Go=({level:o,sx:e,...t})=>V(f,{as:K[o],sx:e,...t});import{styled as Y}from"@mui/material";var h=Y("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as Z}from"react/jsx-runtime";var jo=({sx:o,...e})=>Z(h,{sx:o,...e});import{styled as j}from"@mui/material";var P=j("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as oo}from"react/jsx-runtime";var ie=({sx:o,...e})=>oo(P,{sx:o,...e});import{styled as eo}from"@mui/material";var c=eo("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as to}from"react/jsx-runtime";var de=({sx:o,...e})=>to(c,{sx:o,...e});import{styled as ro}from"@mui/material";var x=ro("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as po}from"react/jsx-runtime";var xe=({sx:o,...e})=>po(x,{sx:o,...e});import{styled as io}from"@mui/material";var b=io("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as no}from"react/jsx-runtime";var ue=({sx:o,...e})=>no(b,{sx:o,...e});import{styled as ao}from"@mui/material";var C=ao("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as so}from"react/jsx-runtime";var Le=({sx:o,...e})=>so(C,{sx:o,...e});import{styled as mo}from"@mui/material";var g=mo("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as lo}from"react/jsx-runtime";var Fe=({sx:o,...e})=>lo(g,{sx:o,...e});import{styled as Ro}from"@mui/material";var y=Ro("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});import{jsx as w}from"react/jsx-runtime";var Ue=({sx:o,...e})=>w(y,{sx:o,...e,children:w("span",{children:"\u2743 \u2743 \u2743"})});import{styled as s}from"@mui/material";var u=s("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:e,theme:t})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:t.palette.primary.main},...e&&{padding:15,backgroundColor:t.palette.background.paper}})),_=s("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:e})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...e&&{maxWidth:"60%",margin:"0 auto"}})),k=s("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as fo,jsx as m,jsxs as ho}from"react/jsx-runtime";var Ge=({caption:o,withBorder:e,withBackground:t,stretched:n,sx:a,...r})=>ho(fo,{children:[m(u,{withBorder:e,stretched:n,withBackground:t,children:m(_,{sx:a,...r,withBackground:t})}),o&&m(k,{children:o})]});import{styled as Po}from"@mui/material";var T=Po("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));import{jsx as co}from"react/jsx-runtime";var je=({sx:o,...e})=>co(T,{sx:o,...e});import{styled as xo}from"@mui/material";var I=xo("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));import{jsx as bo}from"react/jsx-runtime";var it=({sx:o,...e})=>bo(I,{sx:o,...e});import{styled as Co}from"@mui/material";var W=Co("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));import{jsx as go}from"react/jsx-runtime";var dt=({sx:o,...e})=>go(W,{sx:o,...e});import{styled as L}from"@mui/material";var v=L("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),M=L("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as yo,jsx as H,jsxs as wo}from"react/jsx-runtime";var xt=({sx:o,caption:e,...t})=>wo(yo,{children:[H(v,{sx:o,...t}),e&&H(M,{children:e})]});import{styled as uo}from"@mui/material";var B=uo("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});import{jsx as _o}from"react/jsx-runtime";var _t=({sx:o,...e})=>_o(B,{sx:o,...e});import{styled as ko}from"@mui/material";var S=ko("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});import{jsx as To}from"react/jsx-runtime";var Mt=({sx:o,...e})=>To(S,{sx:o,...e});import{styled as Io}from"@mui/material";var F=Io("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});import{jsx as Wo}from"react/jsx-runtime";var Dt=({sx:o,...e})=>Wo(F,{sx:o,...e});import{styled as p}from"@mui/material";var E=p("a",{name:"RootLink",label:"root__link",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"block",padding:"25px",color:o.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),D=p("div",{shouldForwardProp:o=>o!=="image"})(({image:o})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!o&&{backgroundImage:`url(${o})`}})),A=p("div")(({theme:o})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:o.palette.text.primary})),z=p("p")(({theme:o})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:o.palette.text.primary})),Q=p("span")(({theme:o})=>({display:"block",fontSize:15,lineHeight:"1em",color:o.palette.text.secondary,border:0,padding:0}));import{jsx as i,jsxs as Lo}from"react/jsx-runtime";var qt=({id:o,image:e,title:t,description:n,siteName:a,href:r,sx:N,...q})=>Lo(E,{as:r?"a":"div",id:o,href:r||void 0,target:r?"_blank":void 0,rel:r?"nofollow noindex noreferrer":void 0,sx:N,...q,children:[i(D,{image:e}),i(A,{children:t}),i(z,{children:n}),i(Q,{children:a})]},o);import{Checkbox as vo}from"@mui/material";import{Icon as U}from"@iconify/react";import{jsx as l}from"react/jsx-runtime";var Kt=({checked:o,sx:e,...t})=>l(vo,{sx:e,size:"small",checked:o,icon:l(U,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:l(U,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...t});export{So as a,Uo as b,Go as c,jo as d,ie as e,de as f,xe as g,ue as h,Le as i,Fe as j,Ue as k,Ge as l,je as m,it as n,dt as o,xt as p,_t as q,Mt as r,Dt as s,qt as t,Kt as u};
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ import{b as o,c as s,d as n,e as D,f as l,g as m,h as d,i as u,j as p,k as c,l as k}from"./chunk-OCYJ4OGP.js";import{Fragment as E,jsx as t}from"react/jsx-runtime";var I=({value:y,ParagraphSlot:i,HeaderSlot:N,DelimiterSlot:b,ListSlot:g,ImageSlot:T,TableSlot:L,EmbedSlot:f,RawSlot:h,QuoteSlot:R,CodeSlot:w,LinkSlot:P})=>{let{blocks:B}=y;return t(E,{children:B.map(({id:a,type:e,data:r,tunes:C})=>{switch(e){case"paragraph":return t(o,{id:a,type:e,data:r,...i},a);case"header":return t(s,{id:a,type:e,data:r,...N},a);case"delimiter":return t(m,{id:a,type:e,data:r,...b},a);case"list":return t(n,{id:a,type:e,data:r,tunes:C,...g},a);case"image":return t(D,{id:a,type:e,data:r,...T},a);case"table":return t(l,{id:a,type:e,data:r,...L},a);case"embed":return t(d,{id:a,type:e,data:r,...f},a);case"rawTool":return t(u,{id:a,type:e,data:r,...h},a);case"quote":return t(p,{id:a,type:e,data:r,...R},a);case"code":return t(c,{id:a,type:e,data:r,...w},a);case"linkTool":return t(k,{id:a,type:e,data:r,...P},a);default:return null}})})};export{I as a};
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ import{a as s,b as g,c as D,d as k,e as y,f as T,g as L,h as $,i as w,j as I,k as M,l as B,m as H,n as Q,o as v,p as O,q as F,r as A,s as _,t as G,u as z}from"./chunk-FVKZFRZU.js";import{a as W,b as x}from"./chunk-ZRL6J2BH.js";import oo,{domToReact as R}from"html-react-parser";import{Fragment as ro,jsx as N}from"react/jsx-runtime";var C=(t,r)=>{if(!("name"in t)||!("children"in t))return null;let{name:o,children:i,attribs:n}=t,a=i;return o==="code"?N(T,{id:`${o}-${r}`,children:R(a,{replace:e=>C(e,r)})}):o==="b"?N(L,{id:`${o}-${r}`,children:R(a,{replace:e=>C(e,r)})}):o==="i"?N($,{id:`${o}-${r}`,children:R(a,{replace:e=>C(e,r)})}):o==="mark"?N(w,{id:`${o}-${r}`,children:R(a,{replace:e=>C(e,r)})}):o==="a"?N(I,{id:`${o}-${r}`,href:n?.href,rel:"noopener noreferrer",target:"_blank",children:R(a,{replace:e=>C(e,r)})}):null},P=({html:t,id:r})=>{let o=W(t);return N(ro,{children:oo(o,{replace:i=>C(i,r)})})};import{jsx as h}from"react/jsx-runtime";var eo=({type:t,data:r,id:o,Container:i,Paragraph:n})=>{let{text:a}=r,{sx:e,...d}=i||{};return h(s,{sx:e,...d,children:h(g,{id:`${t}-${o}`,...n,children:h(P,{html:a||"",id:o})})},o)};import{jsx as b}from"react/jsx-runtime";var to=({type:t,data:r,id:o,Container:i,Header:n})=>{let{text:a}=r,{sx:e,...d}=i||{};return b(s,{sx:e,...d,children:b(D,{id:`${t}-${o}`,level:r.level,...n,children:b(P,{html:a,id:o})})},o)};import{Box as ao}from"@mui/material";import{Fragment as io}from"react/jsx-runtime";import{jsx as f,jsxs as q}from"react/jsx-runtime";var u=20,S=({type:t,data:r,id:o,tunes:i,Container:n,List:a,Item:e})=>{let{style:d,items:p}=r,{sx:l,...c}=n||{};return f(s,{sx:l,...c,children:f(k,{id:`${t}-${o}`,...a,sx:{display:"flex",flexWrap:"wrap",gap:`${u}px`,...a?.sx},children:p?.map(m=>q(io,{children:[q(y,{...e,sx:{padding:"20px",borderRadius:"25px",backgroundColor:j=>j.palette.background.default,border:"1px solid #EFF3FE",display:"flex",flexWrap:"nowrap",alignItems:"center",columnGap:"5px",flexGrow:0,...d==="ordered"&&{alignItems:"center",boxShadow:"0px 4px 25px rgba(0, 0, 0, 0.05)"},flexBasis:x(1,u),...i?.columnTune?.size==="two-columns"&&{flexBasis:x(2,u)},...i?.columnTune?.size==="three-columns"&&{flexBasis:x(3,u)},...e?.sx},children:[f(z,{checked:!0,sx:{padding:"5px"}}),f(ao,{children:f(g,{children:f(P,{html:m.content,id:o})})})]},`list_item_${m.content}`),m.items.length>0?f(S,{id:o,type:t,data:{items:m.items,meta:m.meta,style:d},Container:{...n,sx:{...n?.sx,ml:4}},List:a,Item:e}):null]},m.content))})},o)};import{jsx as U}from"react/jsx-runtime";var no=({type:t,data:r,id:o,Container:i,Image:n})=>{let{file:a,caption:e,withBorder:d,stretched:p,withBackground:l}=r,{sx:c,...m}=i||{};return U(s,{stretched:p,sx:c,...m,children:U(B,{id:`${t}-${o}`,src:a?.url||"",alt:e,caption:e,withBorder:d,stretched:p,withBackground:l,...n},`${t}-${o}`)},o)};import{jsx as E}from"react/jsx-runtime";var so=({data:t,id:r,Container:o})=>{let{content:i}=t,{sx:n,...a}=o||{};return E(s,{sx:n,...a,children:E(H,{id:r,children:i.map((e,d)=>E(Q,{children:e.map((p,l)=>E(v,{children:E(P,{html:p,id:r})},l))},d))},r)},r)};import{jsx as J}from"react/jsx-runtime";var po=({type:t,id:r,Delimiter:o,Container:i})=>{let{sx:n,...a}=i||{};return J(s,{sx:n,...a,children:J(M,{id:`${t}-${r}`,...o})},r)};import{jsx as K}from"react/jsx-runtime";var mo=({type:t,data:r,id:o,Container:i,Embed:n})=>{let{embed:a,width:e,height:d,caption:p}=r,{sx:l,...c}=i||{};return K(s,{sx:l,...c,children:K(O,{id:`${t}-${o}`,src:a,width:e,height:d,caption:p,...n})},o)};import{jsx as V}from"react/jsx-runtime";var lo=({type:t,data:r,id:o,Container:i,Raw:n})=>{let{sx:a,...e}=i||{};return V(s,{sx:a,...e,children:V(F,{id:`${t}-${o}`,...n,children:r.html})},o)};import{jsx as X}from"react/jsx-runtime";var Po=({type:t,data:r,id:o,Container:i,Quote:n})=>{let{sx:a,...e}=i||{};return X(s,{sx:a,...e,children:X(A,{id:`${t}-${o}`,...n,children:r.text})},o)};import{jsx as Y}from"react/jsx-runtime";var co=({type:t,data:r,id:o,Container:i,Code:n})=>{let{code:a}=r,{sx:e,...d}=i||{};return Y(s,{sx:e,...d,children:Y(_,{id:`${t}-${o}`,...n,children:a})},o)};import{jsx as Z}from"react/jsx-runtime";var fo=({type:t,data:r,id:o,Container:i,Link:n})=>{let{meta:{image:a,title:e,description:d,site_name:p},link:l}=r,{sx:c,...m}=i||{};return Z(s,{sx:c,...m,children:Z(G,{id:`${t}-${o}`,image:a?.url??"",title:e??"",description:d??"",siteName:p,href:l??"",...n})},o)};export{P as a,eo as b,to as c,S as d,no as e,so as f,po as g,mo as h,lo as i,Po as j,co as k,fo as l};
@@ -0,0 +1 @@
1
+ 'use client';
@@ -0,0 +1,2 @@
1
+ 'use client';
2
+ import{sanitize as i}from"isomorphic-dompurify";var x=r=>i(r,{FORBID_ATTR:["class"]});var n=(r,t)=>r===3?`calc(${(100/r).toFixed(2)}% - ${t*(r-1)/r}px)`:r===2?`calc(${(100/r).toFixed(2)}% - ${t*(r-1)/r}px)`:"100%";export{x as a,n as b};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var m=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var A=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var H=(r,o)=>{for(var t in o)m(r,t,{get:o[t],enumerable:!0})},M=(r,o,t,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of A(o))!D.call(r,i)&&i!==t&&m(r,i,{get:()=>o[i],enumerable:!(x=u(o,i))||x.enumerable});return r};var P=r=>M(m({},"__esModule",{value:!0}),r);var Q={};H(Q,{EditorAnchor:()=>C.Anchor,EditorBold:()=>f.Bold,EditorCheckBox:()=>R.CheckBox,EditorCode:()=>w.Code,EditorContainer:()=>a.Container,EditorDelimiter:()=>b.Delimiter,EditorEmbed:()=>L.Embed,EditorHeader:()=>d.Header,EditorImage:()=>I.Image,EditorInlineCode:()=>E.InlineCode,EditorItalic:()=>l.Italic,EditorLink:()=>B.Link,EditorList:()=>s.List,EditorListItem:()=>p.ListItem,EditorMarker:()=>n.Marker,EditorParagraph:()=>e.Paragraph,EditorQuote:()=>g.Quote,EditorRaw:()=>T.Raw,EditorTable:()=>c.Table,EditorTableCell:()=>k.TableCell,EditorTableRow:()=>h.TableRow});module.exports=P(Q);var a=require("./Container"),e=require("./Paragraph"),d=require("./Header"),s=require("./List"),p=require("./ListItem"),E=require("./InlineCode"),f=require("./Bold"),l=require("./Italic"),n=require("./Marker"),C=require("./Anchor"),b=require("./Delimiter"),I=require("./Image"),c=require("./Table"),h=require("./TableRow"),k=require("./TableCell"),L=require("./Embed"),T=require("./Raw"),g=require("./Quote"),w=require("./Code"),B=require("./Link"),R=require("./CheckBox");0&&(module.exports={EditorAnchor,EditorBold,EditorCheckBox,EditorCode,EditorContainer,EditorDelimiter,EditorEmbed,EditorHeader,EditorImage,EditorInlineCode,EditorItalic,EditorLink,EditorList,EditorListItem,EditorMarker,EditorParagraph,EditorQuote,EditorRaw,EditorTable,EditorTableCell,EditorTableRow});
2
+ import"../chunk-2DVQHDGG.js";import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u}from"../chunk-FVKZFRZU.js";export{j as EditorAnchor,g as EditorBold,u as EditorCheckBox,s as EditorCode,a as EditorContainer,k as EditorDelimiter,p as EditorEmbed,c as EditorHeader,l as EditorImage,f as EditorInlineCode,h as EditorItalic,t as EditorLink,d as EditorList,e as EditorListItem,i as EditorMarker,b as EditorParagraph,r as EditorQuote,q as EditorRaw,m as EditorTable,o as EditorTableCell,n as EditorTableRow};
package/helpers/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var N=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var k=(e,o)=>{for(var r in o)N(e,r,{get:o[r],enumerable:!0})},n=(e,o,r,L)=>{if(o&&typeof o=="object"||typeof o=="function")for(let d of R(o))!h.call(e,d)&&d!==r&&N(e,d,{get:()=>o[d],enumerable:!(L=u(o,d))||L.enumerable});return e};var w=e=>n(N({},"__esModule",{value:!0}),e);var C={};k(C,{CodeNode:()=>b.CodeNode,DelimiterNode:()=>P.DelimiterNode,EmbedNode:()=>l.EmbedNode,HeaderNode:()=>m.HeaderNode,ImageNode:()=>i.ImageNode,LinkNode:()=>g.LinkNode,ListNode:()=>s.ListNode,ParagraphNode:()=>a.ParagraphNode,QuoteNode:()=>M.QuoteNode,RawNode:()=>f.RawNode,RecursiveNode:()=>p.RecursiveNode,TableNode:()=>t.TableNode});module.exports=w(C);var p=require("./RecursiveNode"),a=require("./paragraph"),m=require("./header"),s=require("./list"),i=require("./image"),t=require("./table"),P=require("./delimiter"),l=require("./embed"),f=require("./raw"),M=require("./quote"),b=require("./code"),g=require("./link");0&&(module.exports={CodeNode,DelimiterNode,EmbedNode,HeaderNode,ImageNode,LinkNode,ListNode,ParagraphNode,QuoteNode,RawNode,RecursiveNode,TableNode});
2
+ import{a,b,c,d,e,f,g,h,i,j,k,l}from"../chunk-OCYJ4OGP.js";import"../chunk-FVKZFRZU.js";import"../chunk-ZRL6J2BH.js";export{k as CodeNode,g as DelimiterNode,h as EmbedNode,c as HeaderNode,e as ImageNode,l as LinkNode,d as ListNode,b as ParagraphNode,j as QuoteNode,i as RawNode,a as RecursiveNode,f as TableNode};
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,e,p,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of c(e))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>e[m],enumerable:!(x=b(e,m))||x.enumerable});return f},r=(f,e,p)=>(t(f,e,"default"),p&&t(p,e,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);r(o,require("./interfaces"),module.exports);r(o,require("./types"),module.exports);r(o,require("./components"),module.exports);r(o,require("./helpers"),module.exports);r(o,require("./utils"),module.exports);r(o,require("./base"),module.exports);0&&(module.exports={...require("./interfaces"),...require("./types"),...require("./components"),...require("./helpers"),...require("./utils"),...require("./base")});
2
+ import{a as J}from"./chunk-HIEDDYNI.js";import"./chunk-2DVQHDGG.js";import{a as v,b as w,c as y,d as A,e as B,f as C,g as D,h as E,i as F,j as G,k as H,l as I}from"./chunk-OCYJ4OGP.js";import{a as o,b as r,c as e,d as f,e as m,f as p,g as t,h as x,i as a,j as b,k as c,l as d,m as g,n as h,o as i,p as j,q as k,r as l,s as n,t as q,u as s}from"./chunk-FVKZFRZU.js";import"./chunk-BQHB7RHK.js";import"./chunk-FXPGR372.js";import"./chunk-XWS4SIB5.js";import{a as u,b as z}from"./chunk-ZRL6J2BH.js";export{J as BaseRender,H as CodeNode,D as DelimiterNode,b as EditorAnchor,t as EditorBold,s as EditorCheckBox,n as EditorCode,o as EditorContainer,c as EditorDelimiter,j as EditorEmbed,e as EditorHeader,d as EditorImage,p as EditorInlineCode,x as EditorItalic,q as EditorLink,f as EditorList,m as EditorListItem,a as EditorMarker,r as EditorParagraph,l as EditorQuote,k as EditorRaw,g as EditorTable,i as EditorTableCell,h as EditorTableRow,E as EmbedNode,y as HeaderNode,B as ImageNode,I as LinkNode,A as ListNode,w as ParagraphNode,u as PurifyHtml,G as QuoteNode,F as RawNode,v as RecursiveNode,C as TableNode,z as getFlexBasis};
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var r=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var c=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of l(e))!d.call(t,a)&&a!==i&&r(t,a,{get:()=>e[a],enumerable:!(o=n(e,a))||o.enumerable});return t};var s=t=>c(r({},"__esModule",{value:!0}),t);var m={};module.exports=s(m);
2
+ import"../chunk-BQHB7RHK.js";
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@wulperstudio/editor-render",
3
- "version": "0.0.16-beta",
3
+ "version": "0.0.18-beta",
4
4
  "author": "@wulperstudio",
5
- "repository": "https://github.com/WulperStudio/editor-render.git",
5
+ "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/WulperStudio/editor-render.git"
9
+ },
6
10
  "license": "MIT",
7
11
  "peerDependencies": {
8
12
  "@emotion/react": "^11.10.5",
@@ -18,5 +22,46 @@
18
22
  "html-react-parser": "^1.4.14",
19
23
  "isomorphic-dompurify": "^0.19.0"
20
24
  },
21
- "private": false
25
+ "private": false,
26
+ "main": "./index.js",
27
+ "module": "./index.js",
28
+ "types": "./index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./index.d.ts",
32
+ "import": "./index.js",
33
+ "default": "./index.js"
34
+ },
35
+ "./base": {
36
+ "types": "./base/index.d.ts",
37
+ "import": "./base/index.js",
38
+ "default": "./base/index.js"
39
+ },
40
+ "./components": {
41
+ "types": "./components/index.d.ts",
42
+ "import": "./components/index.js",
43
+ "default": "./components/index.js"
44
+ },
45
+ "./helpers": {
46
+ "types": "./helpers/index.d.ts",
47
+ "import": "./helpers/index.js",
48
+ "default": "./helpers/index.js"
49
+ },
50
+ "./interfaces": {
51
+ "types": "./interfaces/index.d.ts",
52
+ "import": "./interfaces/index.js",
53
+ "default": "./interfaces/index.js"
54
+ },
55
+ "./types": {
56
+ "types": "./types/index.d.ts",
57
+ "import": "./types/index.js",
58
+ "default": "./types/index.js"
59
+ },
60
+ "./utils": {
61
+ "types": "./utils/index.d.ts",
62
+ "import": "./utils/index.js",
63
+ "default": "./utils/index.js"
64
+ },
65
+ "./package.json": "./package.json"
66
+ }
22
67
  }
package/types/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var m=(o,e,r,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of p(e))!d.call(o,a)&&a!==r&&t(o,a,{get:()=>e[a],enumerable:!(l=i(e,a))||l.enumerable});return o};var T=o=>m(t({},"__esModule",{value:!0}),o);var b={};module.exports=T(b);
2
+ import"../chunk-FXPGR372.js";
package/utils/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  'use client';
2
- "use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(r,o,p,x)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of c(o))!d.call(r,m)&&m!==p&&a(r,m,{get:()=>o[m],enumerable:!(x=b(o,m))||x.enumerable});return r},f=(r,o,p)=>(t(r,o,"default"),p&&t(p,o,"default"));var g=r=>t(a({},"__esModule",{value:!0}),r);var e={};module.exports=g(e);f(e,require("./get_flex_basis"),module.exports);f(e,require("./purify_html"),module.exports);0&&(module.exports={...require("./get_flex_basis"),...require("./purify_html")});
2
+ import"../chunk-XWS4SIB5.js";import{a,b}from"../chunk-ZRL6J2BH.js";export{a as PurifyHtml,b as getFlexBasis};
package/base/base.js DELETED
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var ve=Object.create;var E=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Fe=Object.getOwnPropertyNames;var Se=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Ae=(o,e)=>{for(var t in e)E(o,t,{get:e[t],enumerable:!0})},ro=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Fe(e))!Qe.call(o,a)&&a!==t&&E(o,a,{get:()=>e[a],enumerable:!(n=$e(e,a))||n.enumerable});return o};var ze=(o,e,t)=>(t=o!=null?ve(Se(o)):{},ro(e||!o||!o.__esModule?E(t,"default",{value:o,enumerable:!0}):t,o)),Oe=o=>ro(E({},"__esModule",{value:!0}),o);var Ge={};Ae(Ge,{BaseRender:()=>qe});module.exports=Oe(Ge);var g=ze(require("html-react-parser"));var ao=require("@mui/material"),io=(0,ao.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var po=require("react/jsx-runtime"),no=({sx:o,...e})=>(0,po.jsx)(io,{sx:o,...e});var so=require("@mui/material"),mo=(0,so.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var fo=require("react/jsx-runtime"),lo=({sx:o,...e})=>(0,fo.jsx)(mo,{sx:o,...e});var Ro=require("@mui/material"),Po=(0,Ro.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var ho=require("react/jsx-runtime"),co=({sx:o,...e})=>(0,ho.jsx)(Po,{sx:o,...e});var xo=require("@mui/material"),Co=(0,xo.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var go=require("react/jsx-runtime"),bo=({sx:o,...e})=>(0,go.jsx)(Co,{sx:o,...e});var yo=require("@mui/material"),uo=(0,yo.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var ko=require("react/jsx-runtime"),wo=({sx:o,...e})=>(0,ko.jsx)(uo,{sx:o,...e});var No=require("isomorphic-dompurify"),To=o=>(0,No.sanitize)(o,{FORBID_ATTR:["class"]});var C=require("react/jsx-runtime"),k=(o,e)=>{if(!("name"in o)||!("children"in o))return null;let{name:t,children:n,attribs:a}=o,r=n;return t==="code"?(0,C.jsx)(co,{id:`${t}-${e}`,children:(0,g.domToReact)(r,{replace:i=>k(i,e)})}):t==="b"?(0,C.jsx)(lo,{id:`${t}-${e}`,children:(0,g.domToReact)(r,{replace:i=>k(i,e)})}):t==="i"?(0,C.jsx)(bo,{id:`${t}-${e}`,children:(0,g.domToReact)(r,{replace:i=>k(i,e)})}):t==="mark"?(0,C.jsx)(wo,{id:`${t}-${e}`,children:(0,g.domToReact)(r,{replace:i=>k(i,e)})}):t==="a"?(0,C.jsx)(no,{id:`${t}-${e}`,href:a?.href,rel:"noopener noreferrer",target:"_blank",children:(0,g.domToReact)(r,{replace:i=>k(i,e)})}):null},b=({html:o,id:e})=>{let t=To(o);return(0,C.jsx)(C.Fragment,{children:(0,g.default)(t,{replace:n=>k(n,e)})})};var Eo=require("@mui/material"),Do=(0,Eo.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var Lo=require("react/jsx-runtime"),s=({sx:o,...e})=>(0,Lo.jsx)(Do,{sx:o,...e});var Io=require("@mui/material"),_o=(0,Io.styled)("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});var Mo=require("react/jsx-runtime"),D=({sx:o,...e})=>(0,Mo.jsx)(_o,{sx:o,...e});var L=require("react/jsx-runtime"),$=({type:o,data:e,id:t,Container:n,Paragraph:a})=>{let{text:r}=e,{sx:i,...d}=n||{};return(0,L.jsx)(s,{sx:i,...d,children:(0,L.jsx)(D,{id:`${o}-${t}`,...a,children:(0,L.jsx)(b,{html:r||"",id:t})})},t)};var Wo=require("@mui/material"),Bo=(0,Wo.styled)("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginBottom:0});var vo=require("react/jsx-runtime"),Ue={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},Ho=({level:o,sx:e,...t})=>(0,vo.jsx)(Bo,{as:Ue[o],sx:e,...t});var I=require("react/jsx-runtime"),F=({type:o,data:e,id:t,Container:n,Header:a})=>{let{text:r}=e,{sx:i,...d}=n||{};return(0,I.jsx)(s,{sx:i,...d,children:(0,I.jsx)(Ho,{id:`${o}-${t}`,level:e.level,...a,children:(0,I.jsx)(b,{html:r,id:t})})},t)};var Xo=require("@mui/material");var $o=require("@mui/material"),S=require("@iconify/react"),_=require("react/jsx-runtime"),Fo=({checked:o,sx:e,...t})=>(0,_.jsx)($o.Checkbox,{sx:e,size:"small",checked:o,icon:(0,_.jsx)(S.Icon,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:(0,_.jsx)(S.Icon,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...t});var So=require("@mui/material"),Qo=(0,So.styled)("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var zo=require("react/jsx-runtime"),Ao=({sx:o,...e})=>(0,zo.jsx)(Qo,{sx:o,...e});var Oo=require("@mui/material"),Uo=(0,Oo.styled)("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var Go=require("react/jsx-runtime"),qo=({sx:o,...e})=>(0,Go.jsx)(Uo,{sx:o,...e});var M=(o,e)=>o===3?`calc(${(100/o).toFixed(2)}% - ${e*(o-1)/o}px)`:o===2?`calc(${(100/o).toFixed(2)}% - ${e*(o-1)/o}px)`:"100%";var Jo=require("react/jsx-runtime"),h=require("react/jsx-runtime"),W=20,B=({type:o,data:e,id:t,tunes:n,Container:a,List:r,Item:i})=>{let{style:d,items:l}=e,{sx:P,...x}=a||{};return(0,h.jsx)(s,{sx:P,...x,children:(0,h.jsx)(Ao,{id:`${o}-${t}`,...r,sx:{display:"flex",flexWrap:"wrap",gap:`${W}px`,...r?.sx},children:l?.map(f=>(0,h.jsxs)(Jo.Fragment,{children:[(0,h.jsxs)(qo,{...i,sx:{padding:"20px",borderRadius:"25px",backgroundColor:v=>v.palette.background.default,border:"1px solid #EFF3FE",display:"flex",flexWrap:"nowrap",alignItems:"center",columnGap:"5px",flexGrow:0,...d==="ordered"&&{alignItems:"center",boxShadow:"0px 4px 25px rgba(0, 0, 0, 0.05)"},flexBasis:M(1,W),...n?.columnTune?.size==="two-columns"&&{flexBasis:M(2,W)},...n?.columnTune?.size==="three-columns"&&{flexBasis:M(3,W)},...i?.sx},children:[(0,h.jsx)(Fo,{checked:!0,sx:{padding:"5px"}}),(0,h.jsx)(Xo.Box,{children:(0,h.jsx)(D,{children:(0,h.jsx)(b,{html:f.content,id:t})})})]},`list_item_${f.content}`),f.items.length>0?(0,h.jsx)(B,{id:t,type:o,data:{items:f.items,meta:f.meta,style:d},Container:{...a,sx:{...a?.sx,ml:4}},List:r,Item:i}):null]},f.content))})},t)};var H=require("@mui/material"),Ko=(0,H.styled)("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:e,theme:t})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:t.palette.primary.main},...e&&{padding:15,backgroundColor:t.palette.background.paper}})),Vo=(0,H.styled)("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:e})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...e&&{maxWidth:"60%",margin:"0 auto"}})),Yo=(0,H.styled)("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});var y=require("react/jsx-runtime"),Zo=({caption:o,withBorder:e,withBackground:t,stretched:n,sx:a,...r})=>(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(Ko,{withBorder:e,stretched:n,withBackground:t,children:(0,y.jsx)(Vo,{sx:a,...r,withBackground:t})}),o&&(0,y.jsx)(Yo,{children:o})]});var Q=require("react/jsx-runtime"),A=({type:o,data:e,id:t,Container:n,Image:a})=>{let{file:r,caption:i,withBorder:d,stretched:l,withBackground:P}=e,{sx:x,...f}=n||{};return(0,Q.jsx)(s,{stretched:l,sx:x,...f,children:(0,Q.jsx)(Zo,{id:`${o}-${t}`,src:r?.url||"",alt:i,caption:i,withBorder:d,stretched:l,withBackground:P,...a},`${o}-${t}`)},t)};var jo=require("@mui/material"),oe=(0,jo.styled)("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));var te=require("react/jsx-runtime"),ee=({sx:o,...e})=>(0,te.jsx)(oe,{sx:o,...e});var re=require("@mui/material"),ae=(0,re.styled)("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));var ne=require("react/jsx-runtime"),ie=({sx:o,...e})=>(0,ne.jsx)(ae,{sx:o,...e});var pe=require("@mui/material"),se=(0,pe.styled)("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));var me=require("react/jsx-runtime"),de=({sx:o,...e})=>(0,me.jsx)(se,{sx:o,...e});var N=require("react/jsx-runtime"),z=({data:o,id:e,Container:t})=>{let{content:n}=o,{sx:a,...r}=t||{};return(0,N.jsx)(s,{sx:a,...r,children:(0,N.jsx)(ie,{id:e,children:n.map((i,d)=>(0,N.jsx)(ee,{children:i.map((l,P)=>(0,N.jsx)(de,{children:(0,N.jsx)(b,{html:l,id:e})},P))},d))},e)},e)};var le=require("@mui/material"),fe=(0,le.styled)("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});var O=require("react/jsx-runtime"),Re=({sx:o,...e})=>(0,O.jsx)(fe,{sx:o,...e,children:(0,O.jsx)("span",{children:"\u2743 \u2743 \u2743"})});var U=require("react/jsx-runtime"),q=({type:o,id:e,Delimiter:t,Container:n})=>{let{sx:a,...r}=n||{};return(0,U.jsx)(s,{sx:a,...r,children:(0,U.jsx)(Re,{id:`${o}-${e}`,...t})},e)};var G=require("@mui/material"),Pe=(0,G.styled)("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),ce=(0,G.styled)("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});var u=require("react/jsx-runtime"),he=({sx:o,caption:e,...t})=>(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Pe,{sx:o,...t}),e&&(0,u.jsx)(ce,{children:e})]});var X=require("react/jsx-runtime"),J=({type:o,data:e,id:t,Container:n,Embed:a})=>{let{embed:r,width:i,height:d,caption:l}=e,{sx:P,...x}=n||{};return(0,X.jsx)(s,{sx:P,...x,children:(0,X.jsx)(he,{id:`${o}-${t}`,src:r,width:i,height:d,caption:l,...a})},t)};var xe=require("@mui/material"),Ce=(0,xe.styled)("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});var ge=require("react/jsx-runtime"),be=({sx:o,...e})=>(0,ge.jsx)(Ce,{sx:o,...e});var K=require("react/jsx-runtime"),V=({type:o,data:e,id:t,Container:n,Raw:a})=>{let{sx:r,...i}=n||{};return(0,K.jsx)(s,{sx:r,...i,children:(0,K.jsx)(be,{id:`${o}-${t}`,...a,children:e.html})},t)};var ye=require("@mui/material"),ue=(0,ye.styled)("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});var ke=require("react/jsx-runtime"),we=({sx:o,...e})=>(0,ke.jsx)(ue,{sx:o,...e});var Y=require("react/jsx-runtime"),Z=({type:o,data:e,id:t,Container:n,Quote:a})=>{let{sx:r,...i}=n||{};return(0,Y.jsx)(s,{sx:r,...i,children:(0,Y.jsx)(we,{id:`${o}-${t}`,...a,children:e.text})},t)};var Ne=require("@mui/material"),Te=(0,Ne.styled)("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});var De=require("react/jsx-runtime"),Ee=({sx:o,...e})=>(0,De.jsx)(Te,{sx:o,...e});var j=require("react/jsx-runtime"),oo=({type:o,data:e,id:t,Container:n,Code:a})=>{let{code:r}=e,{sx:i,...d}=n||{};return(0,j.jsx)(s,{sx:i,...d,children:(0,j.jsx)(Ee,{id:`${o}-${t}`,...a,children:r})},t)};var T=require("@mui/material"),Le=(0,T.styled)("a",{name:"RootLink",label:"root__link",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"block",padding:"25px",color:o.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),Ie=(0,T.styled)("div",{shouldForwardProp:o=>o!=="image"})(({image:o})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!o&&{backgroundImage:`url(${o})`}})),_e=(0,T.styled)("div")(({theme:o})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:o.palette.text.primary})),Me=(0,T.styled)("p")(({theme:o})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:o.palette.text.primary})),We=(0,T.styled)("span")(({theme:o})=>({display:"block",fontSize:15,lineHeight:"1em",color:o.palette.text.secondary,border:0,padding:0}));var w=require("react/jsx-runtime"),Be=({id:o,image:e,title:t,description:n,siteName:a,href:r,sx:i,...d})=>(0,w.jsxs)(Le,{as:r?"a":"div",id:o,href:r||void 0,target:r?"_blank":void 0,rel:r?"nofollow noindex noreferrer":void 0,sx:i,...d,children:[(0,w.jsx)(Ie,{image:e}),(0,w.jsx)(_e,{children:t}),(0,w.jsx)(Me,{children:n}),(0,w.jsx)(We,{children:a})]},o);var eo=require("react/jsx-runtime"),to=({type:o,data:e,id:t,Container:n,Link:a})=>{let{meta:{image:r,title:i,description:d,site_name:l},link:P}=e,{sx:x,...f}=n||{};return(0,eo.jsx)(s,{sx:x,...f,children:(0,eo.jsx)(Be,{id:`${o}-${t}`,image:r?.url??"",title:i??"",description:d??"",siteName:l,href:P??"",...a})},t)};var m=require("react/jsx-runtime"),qe=({value:o,ParagraphSlot:e,HeaderSlot:t,DelimiterSlot:n,ListSlot:a,ImageSlot:r,TableSlot:i,EmbedSlot:d,RawSlot:l,QuoteSlot:P,CodeSlot:x,LinkSlot:f})=>{let{blocks:v}=o;return(0,m.jsx)(m.Fragment,{children:v.map(({id:p,type:R,data:c,tunes:He})=>{switch(R){case"paragraph":return(0,m.jsx)($,{id:p,type:R,data:c,...e},p);case"header":return(0,m.jsx)(F,{id:p,type:R,data:c,...t},p);case"delimiter":return(0,m.jsx)(q,{id:p,type:R,data:c,...n},p);case"list":return(0,m.jsx)(B,{id:p,type:R,data:c,tunes:He,...a},p);case"image":return(0,m.jsx)(A,{id:p,type:R,data:c,...r},p);case"table":return(0,m.jsx)(z,{id:p,type:R,data:c,...i},p);case"embed":return(0,m.jsx)(J,{id:p,type:R,data:c,...d},p);case"rawTool":return(0,m.jsx)(V,{id:p,type:R,data:c,...l},p);case"quote":return(0,m.jsx)(Z,{id:p,type:R,data:c,...P},p);case"code":return(0,m.jsx)(oo,{id:p,type:R,data:c,...x},p);case"linkTool":return(0,m.jsx)(to,{id:p,type:R,data:c,...f},p);default:return null}})})};0&&(module.exports={BaseRender});
package/base/base.mjs DELETED
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import de,{domToReact as y}from"html-react-parser";import{styled as Zo}from"@mui/material";var q=Zo("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as jo}from"react/jsx-runtime";var G=({sx:o,...e})=>jo(q,{sx:o,...e});import{styled as oe}from"@mui/material";var X=oe("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as ee}from"react/jsx-runtime";var J=({sx:o,...e})=>ee(X,{sx:o,...e});import{styled as te}from"@mui/material";var K=te("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as re}from"react/jsx-runtime";var V=({sx:o,...e})=>re(K,{sx:o,...e});import{styled as ae}from"@mui/material";var Y=ae("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as ie}from"react/jsx-runtime";var Z=({sx:o,...e})=>ie(Y,{sx:o,...e});import{styled as ne}from"@mui/material";var j=ne("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as pe}from"react/jsx-runtime";var oo=({sx:o,...e})=>pe(j,{sx:o,...e});import{sanitize as se}from"isomorphic-dompurify";var eo=o=>se(o,{FORBID_ATTR:["class"]});import{Fragment as me,jsx as g}from"react/jsx-runtime";var b=(o,e)=>{if(!("name"in o)||!("children"in o))return null;let{name:t,children:i,attribs:n}=o,r=i;return t==="code"?g(V,{id:`${t}-${e}`,children:y(r,{replace:a=>b(a,e)})}):t==="b"?g(J,{id:`${t}-${e}`,children:y(r,{replace:a=>b(a,e)})}):t==="i"?g(Z,{id:`${t}-${e}`,children:y(r,{replace:a=>b(a,e)})}):t==="mark"?g(oo,{id:`${t}-${e}`,children:y(r,{replace:a=>b(a,e)})}):t==="a"?g(G,{id:`${t}-${e}`,href:n?.href,rel:"noopener noreferrer",target:"_blank",children:y(r,{replace:a=>b(a,e)})}):null},x=({html:o,id:e})=>{let t=eo(o);return g(me,{children:de(t,{replace:i=>b(i,e)})})};import{styled as le}from"@mui/material";var to=le("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as fe}from"react/jsx-runtime";var s=({sx:o,...e})=>fe(to,{sx:o,...e});import{styled as Re}from"@mui/material";var ro=Re("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});import{jsx as Pe}from"react/jsx-runtime";var k=({sx:o,...e})=>Pe(ro,{sx:o,...e});import{jsx as I}from"react/jsx-runtime";var _=({type:o,data:e,id:t,Container:i,Paragraph:n})=>{let{text:r}=e,{sx:a,...d}=i||{};return I(s,{sx:a,...d,children:I(k,{id:`${o}-${t}`,...n,children:I(x,{html:r||"",id:t})})},t)};import{styled as ce}from"@mui/material";var ao=ce("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginBottom:0});import{jsx as xe}from"react/jsx-runtime";var he={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},io=({level:o,sx:e,...t})=>xe(ao,{as:he[o],sx:e,...t});import{jsx as M}from"react/jsx-runtime";var W=({type:o,data:e,id:t,Container:i,Header:n})=>{let{text:r}=e,{sx:a,...d}=i||{};return M(s,{sx:a,...d,children:M(io,{id:`${o}-${t}`,level:e.level,...n,children:M(x,{html:r,id:t})})},t)};import{Box as we}from"@mui/material";import{Checkbox as Ce}from"@mui/material";import{Icon as no}from"@iconify/react";import{jsx as B}from"react/jsx-runtime";var po=({checked:o,sx:e,...t})=>B(Ce,{sx:e,size:"small",checked:o,icon:B(no,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:B(no,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...t});import{styled as be}from"@mui/material";var so=be("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as ge}from"react/jsx-runtime";var mo=({sx:o,...e})=>ge(so,{sx:o,...e});import{styled as ye}from"@mui/material";var lo=ye("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as ue}from"react/jsx-runtime";var fo=({sx:o,...e})=>ue(lo,{sx:o,...e});var N=(o,e)=>o===3?`calc(${(100/o).toFixed(2)}% - ${e*(o-1)/o}px)`:o===2?`calc(${(100/o).toFixed(2)}% - ${e*(o-1)/o}px)`:"100%";import{Fragment as ke}from"react/jsx-runtime";import{jsx as C,jsxs as Ro}from"react/jsx-runtime";var T=20,E=({type:o,data:e,id:t,tunes:i,Container:n,List:r,Item:a})=>{let{style:d,items:m}=e,{sx:P,...h}=n||{};return C(s,{sx:P,...h,children:C(mo,{id:`${o}-${t}`,...r,sx:{display:"flex",flexWrap:"wrap",gap:`${T}px`,...r?.sx},children:m?.map(l=>Ro(ke,{children:[Ro(fo,{...a,sx:{padding:"20px",borderRadius:"25px",backgroundColor:L=>L.palette.background.default,border:"1px solid #EFF3FE",display:"flex",flexWrap:"nowrap",alignItems:"center",columnGap:"5px",flexGrow:0,...d==="ordered"&&{alignItems:"center",boxShadow:"0px 4px 25px rgba(0, 0, 0, 0.05)"},flexBasis:N(1,T),...i?.columnTune?.size==="two-columns"&&{flexBasis:N(2,T)},...i?.columnTune?.size==="three-columns"&&{flexBasis:N(3,T)},...a?.sx},children:[C(po,{checked:!0,sx:{padding:"5px"}}),C(we,{children:C(k,{children:C(x,{html:l.content,id:t})})})]},`list_item_${l.content}`),l.items.length>0?C(E,{id:t,type:o,data:{items:l.items,meta:l.meta,style:d},Container:{...n,sx:{...n?.sx,ml:4}},List:r,Item:a}):null]},l.content))})},t)};import{styled as H}from"@mui/material";var Po=H("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:e,theme:t})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:t.palette.primary.main},...e&&{padding:15,backgroundColor:t.palette.background.paper}})),co=H("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:e})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...e&&{maxWidth:"60%",margin:"0 auto"}})),ho=H("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as Ne,jsx as v,jsxs as Te}from"react/jsx-runtime";var xo=({caption:o,withBorder:e,withBackground:t,stretched:i,sx:n,...r})=>Te(Ne,{children:[v(Po,{withBorder:e,stretched:i,withBackground:t,children:v(co,{sx:n,...r,withBackground:t})}),o&&v(ho,{children:o})]});import{jsx as Co}from"react/jsx-runtime";var $=({type:o,data:e,id:t,Container:i,Image:n})=>{let{file:r,caption:a,withBorder:d,stretched:m,withBackground:P}=e,{sx:h,...l}=i||{};return Co(s,{stretched:m,sx:h,...l,children:Co(xo,{id:`${o}-${t}`,src:r?.url||"",alt:a,caption:a,withBorder:d,stretched:m,withBackground:P,...n},`${o}-${t}`)},t)};import{styled as Ee}from"@mui/material";var bo=Ee("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));import{jsx as De}from"react/jsx-runtime";var go=({sx:o,...e})=>De(bo,{sx:o,...e});import{styled as Le}from"@mui/material";var yo=Le("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));import{jsx as Ie}from"react/jsx-runtime";var uo=({sx:o,...e})=>Ie(yo,{sx:o,...e});import{styled as _e}from"@mui/material";var wo=_e("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));import{jsx as Me}from"react/jsx-runtime";var ko=({sx:o,...e})=>Me(wo,{sx:o,...e});import{jsx as u}from"react/jsx-runtime";var F=({data:o,id:e,Container:t})=>{let{content:i}=o,{sx:n,...r}=t||{};return u(s,{sx:n,...r,children:u(uo,{id:e,children:i.map((a,d)=>u(go,{children:a.map((m,P)=>u(ko,{children:u(x,{html:m,id:e})},P))},d))},e)},e)};import{styled as We}from"@mui/material";var No=We("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});import{jsx as To}from"react/jsx-runtime";var Eo=({sx:o,...e})=>To(No,{sx:o,...e,children:To("span",{children:"\u2743 \u2743 \u2743"})});import{jsx as Do}from"react/jsx-runtime";var S=({type:o,id:e,Delimiter:t,Container:i})=>{let{sx:n,...r}=i||{};return Do(s,{sx:n,...r,children:Do(Eo,{id:`${o}-${e}`,...t})},e)};import{styled as Lo}from"@mui/material";var Io=Lo("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),_o=Lo("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as Be,jsx as Mo,jsxs as He}from"react/jsx-runtime";var Wo=({sx:o,caption:e,...t})=>He(Be,{children:[Mo(Io,{sx:o,...t}),e&&Mo(_o,{children:e})]});import{jsx as Bo}from"react/jsx-runtime";var Q=({type:o,data:e,id:t,Container:i,Embed:n})=>{let{embed:r,width:a,height:d,caption:m}=e,{sx:P,...h}=i||{};return Bo(s,{sx:P,...h,children:Bo(Wo,{id:`${o}-${t}`,src:r,width:a,height:d,caption:m,...n})},t)};import{styled as ve}from"@mui/material";var Ho=ve("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});import{jsx as $e}from"react/jsx-runtime";var vo=({sx:o,...e})=>$e(Ho,{sx:o,...e});import{jsx as $o}from"react/jsx-runtime";var A=({type:o,data:e,id:t,Container:i,Raw:n})=>{let{sx:r,...a}=i||{};return $o(s,{sx:r,...a,children:$o(vo,{id:`${o}-${t}`,...n,children:e.html})},t)};import{styled as Fe}from"@mui/material";var Fo=Fe("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});import{jsx as Se}from"react/jsx-runtime";var So=({sx:o,...e})=>Se(Fo,{sx:o,...e});import{jsx as Qo}from"react/jsx-runtime";var z=({type:o,data:e,id:t,Container:i,Quote:n})=>{let{sx:r,...a}=i||{};return Qo(s,{sx:r,...a,children:Qo(So,{id:`${o}-${t}`,...n,children:e.text})},t)};import{styled as Qe}from"@mui/material";var Ao=Qe("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});import{jsx as Ae}from"react/jsx-runtime";var zo=({sx:o,...e})=>Ae(Ao,{sx:o,...e});import{jsx as Oo}from"react/jsx-runtime";var O=({type:o,data:e,id:t,Container:i,Code:n})=>{let{code:r}=e,{sx:a,...d}=i||{};return Oo(s,{sx:a,...d,children:Oo(zo,{id:`${o}-${t}`,...n,children:r})},t)};import{styled as w}from"@mui/material";var Uo=w("a",{name:"RootLink",label:"root__link",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"block",padding:"25px",color:o.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),qo=w("div",{shouldForwardProp:o=>o!=="image"})(({image:o})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!o&&{backgroundImage:`url(${o})`}})),Go=w("div")(({theme:o})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:o.palette.text.primary})),Xo=w("p")(({theme:o})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:o.palette.text.primary})),Jo=w("span")(({theme:o})=>({display:"block",fontSize:15,lineHeight:"1em",color:o.palette.text.secondary,border:0,padding:0}));import{jsx as D,jsxs as ze}from"react/jsx-runtime";var Ko=({id:o,image:e,title:t,description:i,siteName:n,href:r,sx:a,...d})=>ze(Uo,{as:r?"a":"div",id:o,href:r||void 0,target:r?"_blank":void 0,rel:r?"nofollow noindex noreferrer":void 0,sx:a,...d,children:[D(qo,{image:e}),D(Go,{children:t}),D(Xo,{children:i}),D(Jo,{children:n})]},o);import{jsx as Vo}from"react/jsx-runtime";var U=({type:o,data:e,id:t,Container:i,Link:n})=>{let{meta:{image:r,title:a,description:d,site_name:m},link:P}=e,{sx:h,...l}=i||{};return Vo(s,{sx:h,...l,children:Vo(Ko,{id:`${o}-${t}`,image:r?.url??"",title:a??"",description:d??"",siteName:m,href:P??"",...n})},t)};import{Fragment as Oe,jsx as R}from"react/jsx-runtime";var Yi=({value:o,ParagraphSlot:e,HeaderSlot:t,DelimiterSlot:i,ListSlot:n,ImageSlot:r,TableSlot:a,EmbedSlot:d,RawSlot:m,QuoteSlot:P,CodeSlot:h,LinkSlot:l})=>{let{blocks:L}=o;return R(Oe,{children:L.map(({id:p,type:f,data:c,tunes:Yo})=>{switch(f){case"paragraph":return R(_,{id:p,type:f,data:c,...e},p);case"header":return R(W,{id:p,type:f,data:c,...t},p);case"delimiter":return R(S,{id:p,type:f,data:c,...i},p);case"list":return R(E,{id:p,type:f,data:c,tunes:Yo,...n},p);case"image":return R($,{id:p,type:f,data:c,...r},p);case"table":return R(F,{id:p,type:f,data:c,...a},p);case"embed":return R(Q,{id:p,type:f,data:c,...d},p);case"rawTool":return R(A,{id:p,type:f,data:c,...m},p);case"quote":return R(z,{id:p,type:f,data:c,...P},p);case"code":return R(O,{id:p,type:f,data:c,...h},p);case"linkTool":return R(U,{id:p,type:f,data:c,...l},p);default:return null}})})};export{Yi as BaseRender};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var a=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var m=(r,o,p,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of n(o))!R.call(r,t)&&t!==p&&a(r,t,{get:()=>o[t],enumerable:!(e=i(o,t))||e.enumerable});return r};var s=r=>m(a({},"__esModule",{value:!0}),r);var P={};module.exports=s(P);
package/base/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- 'use client';
2
- export*from"./base";export*from"./base.types";
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var A=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var f=(o,r)=>{for(var n in r)p(o,n,{get:r[n],enumerable:!0})},P=(o,r,n,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of m(r))!R.call(o,t)&&t!==n&&p(o,t,{get:()=>r[t],enumerable:!(e=A(r,t))||e.enumerable});return o};var a=o=>P(p({},"__esModule",{value:!0}),o);var d={};f(d,{Anchor:()=>i});module.exports=a(d);var h=require("@mui/material"),s=(0,h.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var c=require("react/jsx-runtime"),i=({sx:o,...r})=>(0,c.jsx)(s,{sx:o,...r});0&&(module.exports={Anchor});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as n}from"@mui/material";var r=n("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as p}from"react/jsx-runtime";var c=({sx:o,...t})=>p(r,{sx:o,...t});export{c as Anchor};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var f=(o,t)=>{for(var d in t)l(o,d,{get:t[d],enumerable:!0})},P=(o,t,d,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of n(t))!R.call(o,r)&&r!==d&&l(o,r,{get:()=>t[r],enumerable:!(p=m(t,r))||p.enumerable});return o};var i=o=>P(l({},"__esModule",{value:!0}),o);var x={};f(x,{Bold:()=>a});module.exports=i(x);var e=require("@mui/material"),s=(0,e.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var B=require("react/jsx-runtime"),a=({sx:o,...t})=>(0,B.jsx)(s,{sx:o,...t});0&&(module.exports={Bold});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as d}from"@mui/material";var t=d("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as l}from"react/jsx-runtime";var B=({sx:o,...r})=>l(t,{sx:o,...r});export{B as Bold};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var r=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var t=Object.prototype.hasOwnProperty;var s=(o,c)=>{for(var i in c)r(o,i,{get:c[i],enumerable:!0})},a=(o,c,i,k)=>{if(c&&typeof c=="object"||typeof c=="function")for(let e of x(c))!t.call(o,e)&&e!==i&&r(o,e,{get:()=>c[e],enumerable:!(k=p(c,e))||k.enumerable});return o};var d=o=>a(r({},"__esModule",{value:!0}),o);var m={};s(m,{CheckBox:()=>f});module.exports=d(m);var n=require("@mui/material"),l=require("@iconify/react"),h=require("react/jsx-runtime"),f=({checked:o,sx:c,...i})=>(0,h.jsx)(n.Checkbox,{sx:c,size:"small",checked:o,icon:(0,h.jsx)(l.Icon,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:(0,h.jsx)(l.Icon,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...i});0&&(module.exports={CheckBox});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{Checkbox as r}from"@mui/material";import{Icon as o}from"@iconify/react";import{jsx as c}from"react/jsx-runtime";var p=({checked:i,sx:e,...h})=>c(r,{sx:e,size:"small",checked:i,icon:c(o,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:c(o,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...h});export{p as CheckBox};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var m=(o,e)=>{for(var t in e)p(o,t,{get:e[t],enumerable:!0})},C=(o,e,t,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of f(e))!l.call(o,r)&&r!==t&&p(o,r,{get:()=>e[r],enumerable:!(d=s(e,r))||d.enumerable});return o};var c=o=>C(p({},"__esModule",{value:!0}),o);var h={};m(h,{Code:()=>R});module.exports=c(h);var i=require("@mui/material"),n=(0,i.styled)("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});var a=require("react/jsx-runtime"),R=({sx:o,...e})=>(0,a.jsx)(n,{sx:o,...e});0&&(module.exports={Code});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as t}from"@mui/material";var e=t("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});import{jsx as p}from"react/jsx-runtime";var a=({sx:o,...r})=>p(e,{sx:o,...r});export{a as Code};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var r=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var m=(o,t)=>{for(var n in t)r(o,n,{get:t[n],enumerable:!0})},R=(o,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of d(t))!h.call(o,e)&&e!==n&&r(o,e,{get:()=>t[e],enumerable:!(a=C(t,e))||a.enumerable});return o};var P=o=>R(r({},"__esModule",{value:!0}),o);var c={};m(c,{Container:()=>f});module.exports=P(c);var i=require("@mui/material"),s=(0,i.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var p=require("react/jsx-runtime"),f=({sx:o,...t})=>(0,p.jsx)(s,{sx:o,...t});0&&(module.exports={Container});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as n}from"@mui/material";var t=n("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as r}from"react/jsx-runtime";var p=({sx:o,...e})=>r(t,{sx:o,...e});export{p as Container};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var R=(e,t)=>{for(var i in t)r(e,i,{get:t[i],enumerable:!0})},a=(e,t,i,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of f(t))!D.call(e,o)&&o!==i&&r(e,o,{get:()=>t[o],enumerable:!(l=s(t,o))||l.enumerable});return e};var d=e=>a(r({},"__esModule",{value:!0}),e);var x={};R(x,{Delimiter:()=>P});module.exports=d(x);var n=require("@mui/material"),p=(0,n.styled)("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:e=>e!=="as"&&e!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});var m=require("react/jsx-runtime"),P=({sx:e,...t})=>(0,m.jsx)(p,{sx:e,...t,children:(0,m.jsx)("span",{children:"\u2743 \u2743 \u2743"})});0&&(module.exports={Delimiter});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var t=r("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:e=>e!=="as"&&e!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});import{jsx as o}from"react/jsx-runtime";var p=({sx:e,...i})=>o(t,{sx:e,...i,children:o("span",{children:"\u2743 \u2743 \u2743"})});export{p as Delimiter};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var d=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var E=Object.prototype.hasOwnProperty;var R=(o,e)=>{for(var r in e)d(o,r,{get:e[r],enumerable:!0})},f=(o,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let m of i(e))!E.call(o,m)&&m!==r&&d(o,m,{get:()=>e[m],enumerable:!(s=a(e,m))||s.enumerable});return o};var P=o=>f(d({},"__esModule",{value:!0}),o);var x={};R(x,{Embed:()=>l});module.exports=P(x);var p=require("@mui/material"),b=(0,p.styled)("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),n=(0,p.styled)("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});var t=require("react/jsx-runtime"),l=({sx:o,caption:e,...r})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b,{sx:o,...r}),e&&(0,t.jsx)(n,{children:e})]});0&&(module.exports={Embed});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as t}from"@mui/material";var r=t("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),m=t("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as s,jsx as d,jsxs as b}from"react/jsx-runtime";var E=({sx:o,caption:e,...p})=>b(s,{children:[d(r,{sx:o,...p}),e&&d(m,{children:e})]});export{E as Embed};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var a=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var H=(e,o)=>{for(var r in o)a(e,r,{get:o[r],enumerable:!0})},R=(e,o,r,d)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of h(o))!l.call(e,t)&&t!==r&&a(e,t,{get:()=>o[t],enumerable:!(d=n(o,t))||d.enumerable});return e};var f=e=>R(a({},"__esModule",{value:!0}),e);var y={};H(y,{Header:()=>x});module.exports=f(y);var p=require("@mui/material"),s=(0,p.styled)("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:e=>e!=="as"&&e!=="sx"})({marginBottom:0});var m=require("react/jsx-runtime"),i={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},x=({level:e,sx:o,...r})=>(0,m.jsx)(s,{as:i[e],sx:o,...r});0&&(module.exports={Header});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as a}from"@mui/material";var o=a("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:e=>e!=="as"&&e!=="sx"})({marginBottom:0});import{jsx as p}from"react/jsx-runtime";var d={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},h=({level:e,sx:r,...t})=>p(o,{as:d[e],sx:r,...t});export{h as Header};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var b=(o,t)=>{for(var e in t)n(o,e,{get:t[e],enumerable:!0})},R=(o,t,e,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of p(t))!c.call(o,a)&&a!==e&&n(o,a,{get:()=>t[a],enumerable:!(d=h(t,a))||d.enumerable});return o};var w=o=>R(n({},"__esModule",{value:!0}),o);var x={};b(x,{Image:()=>I});module.exports=w(x);var i=require("@mui/material"),s=(0,i.styled)("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:t,theme:e})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:e.palette.primary.main},...t&&{padding:15,backgroundColor:e.palette.background.paper}})),m=(0,i.styled)("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:t})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...t&&{maxWidth:"60%",margin:"0 auto"}})),g=(0,i.styled)("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});var r=require("react/jsx-runtime"),I=({caption:o,withBorder:t,withBackground:e,stretched:d,sx:a,...l})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{withBorder:t,stretched:d,withBackground:e,children:(0,r.jsx)(m,{sx:a,...l,withBackground:e})}),o&&(0,r.jsx)(g,{children:o})]});0&&(module.exports={Image});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var d=r("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:t,theme:e})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:e.palette.primary.main},...t&&{padding:15,backgroundColor:e.palette.background.paper}})),i=r("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:t})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...t&&{maxWidth:"60%",margin:"0 auto"}})),n=r("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as l,jsx as a,jsxs as h}from"react/jsx-runtime";var R=({caption:o,withBorder:t,withBackground:e,stretched:s,sx:m,...g})=>h(l,{children:[a(d,{withBorder:t,stretched:s,withBackground:e,children:a(i,{sx:m,...g,withBackground:e})}),o&&a(n,{children:o})]});export{R as Image};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var C=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var R=(o,e)=>{for(var t in e)r(o,t,{get:e[t],enumerable:!0})},f=(o,e,t,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of C(e))!m.call(o,n)&&n!==t&&r(o,n,{get:()=>e[n],enumerable:!(p=s(e,n))||p.enumerable});return o};var I=o=>f(r({},"__esModule",{value:!0}),o);var a={};R(a,{InlineCode:()=>P});module.exports=I(a);var d=require("@mui/material"),i=(0,d.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var l=require("react/jsx-runtime"),P=({sx:o,...e})=>(0,l.jsx)(i,{sx:o,...e});0&&(module.exports={InlineCode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as t}from"@mui/material";var e=t("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as r}from"react/jsx-runtime";var l=({sx:o,...n})=>r(e,{sx:o,...n});export{l as InlineCode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var n=Object.prototype.hasOwnProperty;var I=(o,t)=>{for(var p in t)i(o,p,{get:t[p],enumerable:!0})},R=(o,t,p,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of m(t))!n.call(o,r)&&r!==p&&i(o,r,{get:()=>t[r],enumerable:!(l=c(t,r))||l.enumerable});return o};var f=o=>R(i({},"__esModule",{value:!0}),o);var d={};I(d,{Italic:()=>P});module.exports=f(d);var e=require("@mui/material"),a=(0,e.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var s=require("react/jsx-runtime"),P=({sx:o,...t})=>(0,s.jsx)(a,{sx:o,...t});0&&(module.exports={Italic});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as p}from"@mui/material";var t=p("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as i}from"react/jsx-runtime";var s=({sx:o,...r})=>i(t,{sx:o,...r});export{s as Italic};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var d=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var u=(e,o)=>{for(var r in o)d(e,r,{get:o[r],enumerable:!0})},R=(e,o,r,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of f(o))!h.call(e,t)&&t!==r&&d(e,t,{get:()=>o[t],enumerable:!(a=k(o,t))||a.enumerable});return e};var y=e=>R(d({},"__esModule",{value:!0}),e);var w={};u(w,{Link:()=>L});module.exports=y(w);var n=require("@mui/material"),l=(0,n.styled)("a",{name:"RootLink",label:"root__link",shouldForwardProp:e=>e!=="as"})(({theme:e})=>({display:"block",padding:"25px",color:e.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),s=(0,n.styled)("div",{shouldForwardProp:e=>e!=="image"})(({image:e})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!e&&{backgroundImage:`url(${e})`}})),g=(0,n.styled)("div")(({theme:e})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:e.palette.text.primary})),m=(0,n.styled)("p")(({theme:e})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:e.palette.text.primary})),c=(0,n.styled)("span")(({theme:e})=>({display:"block",fontSize:15,lineHeight:"1em",color:e.palette.text.secondary,border:0,padding:0}));var i=require("react/jsx-runtime"),L=({id:e,image:o,title:r,description:a,siteName:t,href:p,sx:x,...b})=>(0,i.jsxs)(l,{as:p?"a":"div",id:e,href:p||void 0,target:p?"_blank":void 0,rel:p?"nofollow noindex noreferrer":void 0,sx:x,...b,children:[(0,i.jsx)(s,{image:o}),(0,i.jsx)(g,{children:r}),(0,i.jsx)(m,{children:a}),(0,i.jsx)(c,{children:t})]},e);0&&(module.exports={Link});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as o}from"@mui/material";var r=o("a",{name:"RootLink",label:"root__link",shouldForwardProp:e=>e!=="as"})(({theme:e})=>({display:"block",padding:"25px",color:e.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),n=o("div",{shouldForwardProp:e=>e!=="image"})(({image:e})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!e&&{backgroundImage:`url(${e})`}})),a=o("div")(({theme:e})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:e.palette.text.primary})),p=o("p")(({theme:e})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:e.palette.text.primary})),d=o("span")(({theme:e})=>({display:"block",fontSize:15,lineHeight:"1em",color:e.palette.text.secondary,border:0,padding:0}));import{jsx as i,jsxs as b}from"react/jsx-runtime";var u=({id:e,image:l,title:s,description:g,siteName:m,href:t,sx:c,...x})=>b(r,{as:t?"a":"div",id:e,href:t||void 0,target:t?"_blank":void 0,rel:t?"nofollow noindex noreferrer":void 0,sx:c,...x,children:[i(n,{image:l}),i(a,{children:s}),i(p,{children:g}),i(d,{children:m})]},e);export{u as Link};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var i=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var P=(o,t)=>{for(var r in t)i(o,r,{get:t[r],enumerable:!0})},d=(o,t,r,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of R(t))!f.call(o,s)&&s!==r&&i(o,s,{get:()=>t[s],enumerable:!(p=n(t,s))||p.enumerable});return o};var l=o=>d(i({},"__esModule",{value:!0}),o);var a={};P(a,{List:()=>x});module.exports=l(a);var e=require("@mui/material"),L=(0,e.styled)("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var m=require("react/jsx-runtime"),x=({sx:o,...t})=>(0,m.jsx)(L,{sx:o,...t});0&&(module.exports={List});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var t=r("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as i}from"react/jsx-runtime";var m=({sx:o,...s})=>i(t,{sx:o,...s});export{m as List};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var s=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var R=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var f=(o,t)=>{for(var m in t)s(o,m,{get:t[m],enumerable:!0})},l=(o,t,m,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of R(t))!d.call(o,e)&&e!==m&&s(o,e,{get:()=>t[e],enumerable:!(r=n(t,e))||r.enumerable});return o};var x=o=>l(s({},"__esModule",{value:!0}),o);var P={};f(P,{ListItem:()=>L});module.exports=x(P);var i=require("@mui/material"),p=(0,i.styled)("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var I=require("react/jsx-runtime"),L=({sx:o,...t})=>(0,I.jsx)(p,{sx:o,...t});0&&(module.exports={ListItem});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as m}from"@mui/material";var t=m("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as s}from"react/jsx-runtime";var I=({sx:o,...e})=>s(t,{sx:o,...e});export{I as ListItem};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var M=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var f=(o,r)=>{for(var t in r)p(o,t,{get:r[t],enumerable:!0})},P=(o,r,t,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of n(r))!R.call(o,e)&&e!==t&&p(o,e,{get:()=>r[e],enumerable:!(a=M(r,e))||a.enumerable});return o};var i=o=>P(p({},"__esModule",{value:!0}),o);var l={};f(l,{Marker:()=>d});module.exports=i(l);var s=require("@mui/material"),k=(0,s.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var m=require("react/jsx-runtime"),d=({sx:o,...r})=>(0,m.jsx)(k,{sx:o,...r});0&&(module.exports={Marker});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as t}from"@mui/material";var r=t("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as p}from"react/jsx-runtime";var m=({sx:o,...e})=>p(r,{sx:o,...e});export{m as Marker};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var i=(o,r)=>{for(var t in r)p(o,t,{get:r[t],enumerable:!0})},l=(o,r,t,e)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of s(r))!g.call(o,a)&&a!==t&&p(o,a,{get:()=>r[a],enumerable:!(e=n(r,a))||e.enumerable});return o};var R=o=>l(p({},"__esModule",{value:!0}),o);var d={};i(d,{Paragraph:()=>f});module.exports=R(d);var m=require("@mui/material"),P=(0,m.styled)("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});var h=require("react/jsx-runtime"),f=({sx:o,...r})=>(0,h.jsx)(P,{sx:o,...r});0&&(module.exports={Paragraph});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as t}from"@mui/material";var r=t("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});import{jsx as p}from"react/jsx-runtime";var n=({sx:o,...a})=>p(r,{sx:o,...a});export{n as Paragraph};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var Q=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var f=(o,t)=>{for(var r in t)p(o,r,{get:t[r],enumerable:!0})},i=(o,t,r,m)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of Q(t))!R.call(o,e)&&e!==r&&p(o,e,{get:()=>t[e],enumerable:!(m=l(t,e))||m.enumerable});return o};var P=o=>i(p({},"__esModule",{value:!0}),o);var a={};f(a,{Quote:()=>d});module.exports=P(a);var n=require("@mui/material"),s=(0,n.styled)("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});var u=require("react/jsx-runtime"),d=({sx:o,...t})=>(0,u.jsx)(s,{sx:o,...t});0&&(module.exports={Quote});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var t=r("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});import{jsx as p}from"react/jsx-runtime";var l=({sx:o,...e})=>p(t,{sx:o,...e});export{l as Quote};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var R=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(o,e)=>{for(var r in e)p(o,r,{get:e[r],enumerable:!0})},w=(o,e,r,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of s(e))!l.call(o,t)&&t!==r&&p(o,t,{get:()=>e[t],enumerable:!(a=R(e,t))||a.enumerable});return o};var c=o=>w(p({},"__esModule",{value:!0}),o);var h={};d(h,{Raw:()=>f});module.exports=c(h);var i=require("@mui/material"),m=(0,i.styled)("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});var n=require("react/jsx-runtime"),f=({sx:o,...e})=>(0,n.jsx)(m,{sx:o,...e});0&&(module.exports={Raw});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var e=r("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});import{jsx as p}from"react/jsx-runtime";var R=({sx:o,...t})=>p(e,{sx:o,...t});export{R as Raw};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var T=(o,e)=>{for(var r in e)p(o,r,{get:e[r],enumerable:!0})},m=(o,e,r,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of n(e))!d.call(o,t)&&t!==r&&p(o,t,{get:()=>e[t],enumerable:!(l=b(e,t))||l.enumerable});return o};var f=o=>m(p({},"__esModule",{value:!0}),o);var h={};T(h,{Table:()=>R});module.exports=f(h);var a=require("@mui/material"),i=(0,a.styled)("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));var s=require("react/jsx-runtime"),R=({sx:o,...e})=>(0,s.jsx)(i,{sx:o,...e});0&&(module.exports={Table});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var e=r("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));import{jsx as p}from"react/jsx-runtime";var s=({sx:o,...t})=>p(e,{sx:o,...t});export{s as Table};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var f=(o,e)=>{for(var r in e)t(o,r,{get:e[r],enumerable:!0})},C=(o,e,r,p)=>{if(e&&typeof e=="object"||typeof e=="function")for(let l of b(e))!d.call(o,l)&&l!==r&&t(o,l,{get:()=>e[l],enumerable:!(p=i(e,l))||p.enumerable});return o};var R=o=>C(t({},"__esModule",{value:!0}),o);var T={};f(T,{TableCell:()=>m});module.exports=R(T);var a=require("@mui/material"),n=(0,a.styled)("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));var s=require("react/jsx-runtime"),m=({sx:o,...e})=>(0,s.jsx)(n,{sx:o,...e});0&&(module.exports={TableCell});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var e=r("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));import{jsx as t}from"react/jsx-runtime";var s=({sx:o,...l})=>t(e,{sx:o,...l});export{s as TableCell};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var n=(o,t)=>{for(var r in t)p(o,r,{get:t[r],enumerable:!0})},d=(o,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of s(t))!b.call(o,e)&&e!==r&&p(o,e,{get:()=>t[e],enumerable:!(a=m(t,e))||a.enumerable});return o};var w=o=>d(p({},"__esModule",{value:!0}),o);var f={};n(f,{TableRow:()=>T});module.exports=w(f);var l=require("@mui/material"),i=(0,l.styled)("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));var R=require("react/jsx-runtime"),T=({sx:o,...t})=>(0,R.jsx)(i,{sx:o,...t});0&&(module.exports={TableRow});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as r}from"@mui/material";var t=r("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));import{jsx as p}from"react/jsx-runtime";var R=({sx:o,...e})=>p(t,{sx:o,...e});export{R as TableRow};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{Container as o}from"./Container";import{Paragraph as r}from"./Paragraph";import{Header as i}from"./Header";import{List as t}from"./List";import{ListItem as m}from"./ListItem";import{InlineCode as a}from"./InlineCode";import{Bold as e}from"./Bold";import{Italic as d}from"./Italic";import{Marker as s}from"./Marker";import{Anchor as p}from"./Anchor";import{Delimiter as E}from"./Delimiter";import{Image as f}from"./Image";import{Table as l}from"./Table";import{TableRow as n}from"./TableRow";import{TableCell as C}from"./TableCell";import{Embed as b}from"./Embed";import{Raw as I}from"./Raw";import{Quote as c}from"./Quote";import{Code as h}from"./Code";import{Link as k}from"./Link";import{CheckBox as L}from"./CheckBox";export{p as EditorAnchor,e as EditorBold,L as EditorCheckBox,h as EditorCode,o as EditorContainer,E as EditorDelimiter,b as EditorEmbed,i as EditorHeader,f as EditorImage,a as EditorInlineCode,d as EditorItalic,k as EditorLink,t as EditorList,m as EditorListItem,s as EditorMarker,r as EditorParagraph,c as EditorQuote,I as EditorRaw,l as EditorTable,C as EditorTableCell,n as EditorTableRow};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var g=Object.create;var a=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var H=(o,r)=>{for(var e in r)a(o,e,{get:r[e],enumerable:!0})},m=(o,r,e,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of w(r))!v.call(o,i)&&i!==e&&a(o,i,{get:()=>r[i],enumerable:!(s=F(r,i))||s.enumerable});return o};var z=(o,r,e)=>(e=o!=null?g(T(o)):{},m(r||!o||!o.__esModule?a(e,"default",{value:o,enumerable:!0}):e,o)),q=o=>m(a({},"__esModule",{value:!0}),o);var J={};H(J,{RecursiveNode:()=>G});module.exports=q(J);var p=z(require("html-react-parser"));var f=require("@mui/material"),c=(0,f.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var P=require("react/jsx-runtime"),R=({sx:o,...r})=>(0,P.jsx)(c,{sx:o,...r});var h=require("@mui/material"),u=(0,h.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var y=require("react/jsx-runtime"),C=({sx:o,...r})=>(0,y.jsx)(u,{sx:o,...r});var I=require("@mui/material"),M=(0,I.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var B=require("react/jsx-runtime"),k=({sx:o,...r})=>(0,B.jsx)(M,{sx:o,...r});var _=require("@mui/material"),A=(0,_.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var E=require("react/jsx-runtime"),b=({sx:o,...r})=>(0,E.jsx)(A,{sx:o,...r});var N=require("@mui/material"),D=(0,N.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var W=require("react/jsx-runtime"),O=({sx:o,...r})=>(0,W.jsx)(D,{sx:o,...r});var $=require("isomorphic-dompurify"),x=o=>(0,$.sanitize)(o,{FORBID_ATTR:["class"]});var n=require("react/jsx-runtime"),l=(o,r)=>{if(!("name"in o)||!("children"in o))return null;let{name:e,children:s,attribs:i}=o,d=s;return e==="code"?(0,n.jsx)(k,{id:`${e}-${r}`,children:(0,p.domToReact)(d,{replace:t=>l(t,r)})}):e==="b"?(0,n.jsx)(C,{id:`${e}-${r}`,children:(0,p.domToReact)(d,{replace:t=>l(t,r)})}):e==="i"?(0,n.jsx)(b,{id:`${e}-${r}`,children:(0,p.domToReact)(d,{replace:t=>l(t,r)})}):e==="mark"?(0,n.jsx)(O,{id:`${e}-${r}`,children:(0,p.domToReact)(d,{replace:t=>l(t,r)})}):e==="a"?(0,n.jsx)(R,{id:`${e}-${r}`,href:i?.href,rel:"noopener noreferrer",target:"_blank",children:(0,p.domToReact)(d,{replace:t=>l(t,r)})}):null},G=({html:o,id:r})=>{let e=x(o);return(0,n.jsx)(n.Fragment,{children:(0,p.default)(e,{replace:s=>l(s,r)})})};0&&(module.exports={RecursiveNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import $,{domToReact as s}from"html-react-parser";import{styled as M}from"@mui/material";var d=M("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as k}from"react/jsx-runtime";var a=({sx:o,...r})=>k(d,{sx:o,...r});import{styled as B}from"@mui/material";var m=B("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as _}from"react/jsx-runtime";var f=({sx:o,...r})=>_(m,{sx:o,...r});import{styled as A}from"@mui/material";var c=A("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as b}from"react/jsx-runtime";var R=({sx:o,...r})=>b(c,{sx:o,...r});import{styled as E}from"@mui/material";var P=E("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as N}from"react/jsx-runtime";var h=({sx:o,...r})=>N(P,{sx:o,...r});import{styled as D}from"@mui/material";var u=D("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as O}from"react/jsx-runtime";var C=({sx:o,...r})=>O(u,{sx:o,...r});import{sanitize as W}from"isomorphic-dompurify";var y=o=>W(o,{FORBID_ATTR:["class"]});import{Fragment as x,jsx as p}from"react/jsx-runtime";var n=(o,r)=>{if(!("name"in o)||!("children"in o))return null;let{name:e,children:l,attribs:I}=o,i=l;return e==="code"?p(R,{id:`${e}-${r}`,children:s(i,{replace:t=>n(t,r)})}):e==="b"?p(f,{id:`${e}-${r}`,children:s(i,{replace:t=>n(t,r)})}):e==="i"?p(h,{id:`${e}-${r}`,children:s(i,{replace:t=>n(t,r)})}):e==="mark"?p(C,{id:`${e}-${r}`,children:s(i,{replace:t=>n(t,r)})}):e==="a"?p(a,{id:`${e}-${r}`,href:I?.href,rel:"noopener noreferrer",target:"_blank",children:s(i,{replace:t=>n(t,r)})}):null},Po=({html:o,id:r})=>{let e=y(o);return p(x,{children:$(e,{replace:l=>n(l,r)})})};export{Po as RecursiveNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var i=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var w=(o,e)=>{for(var t in e)i(o,t,{get:e[t],enumerable:!0})},y=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of g(e))!b.call(o,r)&&r!==t&&i(o,r,{get:()=>e[r],enumerable:!(n=x(e,r))||n.enumerable});return o};var W=o=>y(i({},"__esModule",{value:!0}),o);var u={};w(u,{CodeNode:()=>v});module.exports=W(u);var d=require("@mui/material"),p=(0,d.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var C=require("react/jsx-runtime"),s=({sx:o,...e})=>(0,C.jsx)(p,{sx:o,...e});var m=require("@mui/material"),f=(0,m.styled)("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});var R=require("react/jsx-runtime"),P=({sx:o,...e})=>(0,R.jsx)(f,{sx:o,...e});var a=require("react/jsx-runtime"),v=({type:o,data:e,id:t,Container:n,Code:r})=>{let{code:c}=e,{sx:h,...l}=n||{};return(0,a.jsx)(s,{sx:h,...l,children:(0,a.jsx)(P,{id:`${o}-${t}`,...r,children:c})},t)};0&&(module.exports={CodeNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as P}from"@mui/material";var r=P("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as R}from"react/jsx-runtime";var n=({sx:o,...e})=>R(r,{sx:o,...e});import{styled as c}from"@mui/material";var i=c("div",{name:"RootCode",label:"root__code",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#f8f7fa",color:"#41314e",border:"1px solid #f1f1f4",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,resize:"vertical",padding:"10px 12px",borderRadius:8,boxShadow:"none",wordWrap:"normal",overflowX:"auto",margin:".4em 0",whiteSpace:"pre-wrap"});import{jsx as h}from"react/jsx-runtime";var a=({sx:o,...e})=>h(i,{sx:o,...e});import{jsx as d}from"react/jsx-runtime";var z=({type:o,data:e,id:t,Container:p,Code:s})=>{let{code:C}=e,{sx:m,...f}=p||{};return d(n,{sx:m,...f,children:d(a,{id:`${o}-${t}`,...s,children:C})},t)};export{z as CodeNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var n=Object.defineProperty;var D=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var c=(o,t)=>{for(var r in t)n(o,r,{get:t[r],enumerable:!0})},y=(o,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of h(t))!x.call(o,e)&&e!==r&&n(o,e,{get:()=>t[e],enumerable:!(i=D(t,e))||i.enumerable});return o};var W=o=>y(n({},"__esModule",{value:!0}),o);var b={};c(b,{DelimiterNode:()=>g});module.exports=W(b);var a=require("@mui/material"),p=(0,a.styled)("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});var m=require("react/jsx-runtime"),l=({sx:o,...t})=>(0,m.jsx)(p,{sx:o,...t,children:(0,m.jsx)("span",{children:"\u2743 \u2743 \u2743"})});var d=require("@mui/material"),f=(0,d.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var R=require("react/jsx-runtime"),P=({sx:o,...t})=>(0,R.jsx)(f,{sx:o,...t});var s=require("react/jsx-runtime"),g=({type:o,id:t,Delimiter:r,Container:i})=>{let{sx:e,...C}=i||{};return(0,s.jsx)(P,{sx:e,...C,children:(0,s.jsx)(l,{id:`${o}-${t}`,...r})},t)};0&&(module.exports={DelimiterNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as f}from"@mui/material";var e=f("div",{name:"RootDelimiter",label:"root__delimiter",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({display:"flex",justifyContent:"center",alignItems:"center",fontSize:"2rem",fontWeight:700});import{jsx as r}from"react/jsx-runtime";var i=({sx:o,...t})=>r(e,{sx:o,...t,children:r("span",{children:"\u2743 \u2743 \u2743"})});import{styled as P}from"@mui/material";var n=P("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as R}from"react/jsx-runtime";var m=({sx:o,...t})=>R(n,{sx:o,...t});import{jsx as s}from"react/jsx-runtime";var v=({type:o,id:t,Delimiter:a,Container:p})=>{let{sx:l,...d}=p||{};return s(m,{sx:l,...d,children:s(i,{id:`${o}-${t}`,...a})},t)};export{v as DelimiterNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var a=Object.defineProperty;var _=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var w=Object.prototype.hasOwnProperty;var W=(o,t)=>{for(var e in t)a(o,e,{get:t[e],enumerable:!0})},u=(o,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of g(t))!w.call(o,r)&&r!==e&&a(o,r,{get:()=>t[r],enumerable:!(i=_(t,r))||i.enumerable});return o};var F=o=>u(a({},"__esModule",{value:!0}),o);var D={};W(D,{EmbedNode:()=>N});module.exports=F(D);var s=require("@mui/material"),p=(0,s.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var E=require("react/jsx-runtime"),b=({sx:o,...t})=>(0,E.jsx)(p,{sx:o,...t});var d=require("@mui/material"),C=(0,d.styled)("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),P=(0,d.styled)("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});var n=require("react/jsx-runtime"),R=({sx:o,caption:t,...e})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C,{sx:o,...e}),t&&(0,n.jsx)(P,{children:t})]});var m=require("react/jsx-runtime"),N=({type:o,data:t,id:e,Container:i,Embed:r})=>{let{embed:h,width:f,height:c,caption:x}=t,{sx:l,...y}=i||{};return(0,m.jsx)(b,{sx:l,...y,children:(0,m.jsx)(R,{id:`${o}-${e}`,src:h,width:f,height:c,caption:x,...r})},e)};0&&(module.exports={EmbedNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as x}from"@mui/material";var r=x("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as l}from"react/jsx-runtime";var n=({sx:o,...t})=>l(r,{sx:o,...t});import{styled as i}from"@mui/material";var a=i("iframe",{name:"RootEmbed",label:"root__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({width:"100%",border:0,borderRadius:8}),d=i("span",{name:"CaptionEmbed",label:"root__embed__caption",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as y,jsx as m,jsxs as _}from"react/jsx-runtime";var s=({sx:o,caption:t,...e})=>_(y,{children:[m(a,{sx:o,...e}),t&&m(d,{children:t})]});import{jsx as p}from"react/jsx-runtime";var B=({type:o,data:t,id:e,Container:b,Embed:E})=>{let{embed:C,width:P,height:R,caption:h}=t,{sx:f,...c}=b||{};return p(n,{sx:f,...c,children:p(s,{id:`${o}-${e}`,src:C,width:P,height:R,caption:h,...E})},e)};export{B as EmbedNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var K=Object.create;var l=Object.defineProperty;var Q=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var U=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var X=(o,r)=>{for(var e in r)l(o,e,{get:r[e],enumerable:!0})},f=(o,r,e,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of S(r))!V.call(o,n)&&n!==e&&l(o,n,{get:()=>r[n],enumerable:!(i=Q(r,n))||i.enumerable});return o};var Y=(o,r,e)=>(e=o!=null?K(U(o)):{},f(r||!o||!o.__esModule?l(e,"default",{value:o,enumerable:!0}):e,o)),Z=o=>f(l({},"__esModule",{value:!0}),o);var ro={};X(ro,{HeaderNode:()=>oo});module.exports=Z(ro);var s=Y(require("html-react-parser"));var c=require("@mui/material"),R=(0,c.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var h=require("react/jsx-runtime"),P=({sx:o,...r})=>(0,h.jsx)(R,{sx:o,...r});var C=require("@mui/material"),y=(0,C.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var x=require("react/jsx-runtime"),u=({sx:o,...r})=>(0,x.jsx)(y,{sx:o,...r});var H=require("@mui/material"),M=(0,H.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var _=require("react/jsx-runtime"),I=({sx:o,...r})=>(0,_.jsx)(M,{sx:o,...r});var k=require("@mui/material"),E=(0,k.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var B=require("react/jsx-runtime"),b=({sx:o,...r})=>(0,B.jsx)(E,{sx:o,...r});var W=require("@mui/material"),N=(0,W.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var D=require("react/jsx-runtime"),A=({sx:o,...r})=>(0,D.jsx)(N,{sx:o,...r});var $=require("isomorphic-dompurify"),g=o=>(0,$.sanitize)(o,{FORBID_ATTR:["class"]});var p=require("react/jsx-runtime"),d=(o,r)=>{if(!("name"in o)||!("children"in o))return null;let{name:e,children:i,attribs:n}=o,a=i;return e==="code"?(0,p.jsx)(I,{id:`${e}-${r}`,children:(0,s.domToReact)(a,{replace:t=>d(t,r)})}):e==="b"?(0,p.jsx)(u,{id:`${e}-${r}`,children:(0,s.domToReact)(a,{replace:t=>d(t,r)})}):e==="i"?(0,p.jsx)(b,{id:`${e}-${r}`,children:(0,s.domToReact)(a,{replace:t=>d(t,r)})}):e==="mark"?(0,p.jsx)(A,{id:`${e}-${r}`,children:(0,s.domToReact)(a,{replace:t=>d(t,r)})}):e==="a"?(0,p.jsx)(P,{id:`${e}-${r}`,href:n?.href,rel:"noopener noreferrer",target:"_blank",children:(0,s.domToReact)(a,{replace:t=>d(t,r)})}):null},v=({html:o,id:r})=>{let e=g(o);return(0,p.jsx)(p.Fragment,{children:(0,s.default)(e,{replace:i=>d(i,r)})})};var O=require("@mui/material"),w=(0,O.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var T=require("react/jsx-runtime"),F=({sx:o,...r})=>(0,T.jsx)(w,{sx:o,...r});var z=require("@mui/material"),L=(0,z.styled)("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginBottom:0});var G=require("react/jsx-runtime"),j={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},q=({level:o,sx:r,...e})=>(0,G.jsx)(L,{as:j[o],sx:r,...e});var m=require("react/jsx-runtime"),oo=({type:o,data:r,id:e,Container:i,Header:n})=>{let{text:a}=r,{sx:t,...J}=i||{};return(0,m.jsx)(F,{sx:t,...J,children:(0,m.jsx)(q,{id:`${o}-${e}`,level:r.level,...n,children:(0,m.jsx)(v,{html:a,id:e})})},e)};0&&(module.exports={HeaderNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import T,{domToReact as a}from"html-react-parser";import{styled as B}from"@mui/material";var m=B("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as W}from"react/jsx-runtime";var f=({sx:o,...r})=>W(m,{sx:o,...r});import{styled as N}from"@mui/material";var c=N("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as A}from"react/jsx-runtime";var R=({sx:o,...r})=>A(c,{sx:o,...r});import{styled as D}from"@mui/material";var P=D("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as $}from"react/jsx-runtime";var h=({sx:o,...r})=>$(P,{sx:o,...r});import{styled as g}from"@mui/material";var C=g("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as v}from"react/jsx-runtime";var y=({sx:o,...r})=>v(C,{sx:o,...r});import{styled as O}from"@mui/material";var u=O("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as w}from"react/jsx-runtime";var x=({sx:o,...r})=>w(u,{sx:o,...r});import{sanitize as F}from"isomorphic-dompurify";var H=o=>F(o,{FORBID_ATTR:["class"]});import{Fragment as z,jsx as i}from"react/jsx-runtime";var p=(o,r)=>{if(!("name"in o)||!("children"in o))return null;let{name:e,children:s,attribs:d}=o,n=s;return e==="code"?i(h,{id:`${e}-${r}`,children:a(n,{replace:t=>p(t,r)})}):e==="b"?i(R,{id:`${e}-${r}`,children:a(n,{replace:t=>p(t,r)})}):e==="i"?i(y,{id:`${e}-${r}`,children:a(n,{replace:t=>p(t,r)})}):e==="mark"?i(x,{id:`${e}-${r}`,children:a(n,{replace:t=>p(t,r)})}):e==="a"?i(f,{id:`${e}-${r}`,href:d?.href,rel:"noopener noreferrer",target:"_blank",children:a(n,{replace:t=>p(t,r)})}):null},M=({html:o,id:r})=>{let e=H(o);return i(z,{children:T(e,{replace:s=>p(s,r)})})};import{styled as L}from"@mui/material";var I=L("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as q}from"react/jsx-runtime";var _=({sx:o,...r})=>q(I,{sx:o,...r});import{styled as G}from"@mui/material";var k=G("h2",{name:"RootHeader",label:"root__header",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginBottom:0});import{jsx as K}from"react/jsx-runtime";var J={1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"},E=({level:o,sx:r,...e})=>K(k,{as:J[o],sx:r,...e});import{jsx as l}from"react/jsx-runtime";var Jo=({type:o,data:r,id:e,Container:s,Header:d})=>{let{text:n}=r,{sx:t,...b}=s||{};return l(_,{sx:t,...b,children:l(E,{id:`${o}-${e}`,level:r.level,...d,children:l(M,{html:n,id:e})})},e)};export{Jo as HeaderNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var d=Object.defineProperty;var B=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var W=(o,t)=>{for(var e in t)d(o,e,{get:t[e],enumerable:!0})},_=(o,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of k(t))!y.call(o,r)&&r!==e&&d(o,r,{get:()=>t[r],enumerable:!(n=B(t,r))||n.enumerable});return o};var v=o=>_(d({},"__esModule",{value:!0}),o);var $={};W($,{ImageNode:()=>F});module.exports=v($);var h=require("@mui/material"),c=(0,h.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var R=require("react/jsx-runtime"),l=({sx:o,...t})=>(0,R.jsx)(c,{sx:o,...t});var i=require("@mui/material"),P=(0,i.styled)("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:t,theme:e})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:e.palette.primary.main},...t&&{padding:15,backgroundColor:e.palette.background.paper}})),C=(0,i.styled)("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:t})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...t&&{maxWidth:"60%",margin:"0 auto"}})),I=(0,i.styled)("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});var a=require("react/jsx-runtime"),f=({caption:o,withBorder:t,withBackground:e,stretched:n,sx:r,...s})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(P,{withBorder:t,stretched:n,withBackground:e,children:(0,a.jsx)(C,{sx:r,...s,withBackground:e})}),o&&(0,a.jsx)(I,{children:o})]});var m=require("react/jsx-runtime"),F=({type:o,data:t,id:e,Container:n,Image:r})=>{let{file:s,caption:p,withBorder:x,stretched:g,withBackground:w}=t,{sx:b,...u}=n||{};return(0,m.jsx)(l,{stretched:g,sx:b,...u,children:(0,m.jsx)(f,{id:`${o}-${e}`,src:s?.url||"",alt:p,caption:p,withBorder:x,stretched:g,withBackground:w,...r},`${o}-${e}`)},e)};0&&(module.exports={ImageNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as w}from"@mui/material";var p=w("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as b}from"react/jsx-runtime";var g=({sx:o,...t})=>b(p,{sx:o,...t});import{styled as i}from"@mui/material";var h=i("div",{name:"Root",label:"root",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({withBorder:o,withBackground:t,theme:e})=>({borderRadius:3,overflow:"hidden",...o&&{border:"1px solid",borderColor:e.palette.primary.main},...t&&{padding:15,backgroundColor:e.palette.background.paper}})),c=i("img",{name:"RootImage",label:"root__image",shouldForwardProp:o=>o!=="as"&&o!=="sx"&&o!=="stretched"&&o!=="withBorder"&&o!=="withBackground"})(({stretched:o,withBackground:t})=>({maxWidth:"100%",verticalAlign:"bottom",display:"block",...o&&{width:"100%"},...t&&{maxWidth:"60%",margin:"0 auto"}})),l=i("span",{name:"CaptionImage",label:"root__image__embed",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({marginTop:10});import{Fragment as u,jsx as s,jsxs as B}from"react/jsx-runtime";var R=({caption:o,withBorder:t,withBackground:e,stretched:r,sx:a,...n})=>B(u,{children:[s(h,{withBorder:t,stretched:r,withBackground:e,children:s(c,{sx:a,...n,withBackground:e})}),o&&s(l,{children:o})]});import{jsx as P}from"react/jsx-runtime";var G=({type:o,data:t,id:e,Container:r,Image:a})=>{let{file:n,caption:d,withBorder:C,stretched:m,withBackground:I}=t,{sx:f,...x}=r||{};return P(g,{stretched:m,sx:f,...x,children:P(R,{id:`${o}-${e}`,src:n?.url||"",alt:d,caption:d,withBorder:C,stretched:m,withBackground:I,...a},`${o}-${e}`)},e)};export{G as ImageNode};
package/helpers/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{RecursiveNode as o}from"./RecursiveNode";import{ParagraphNode as e}from"./paragraph";import{HeaderNode as d}from"./header";import{ListNode as r}from"./list";import{ImageNode as N}from"./image";import{TableNode as p}from"./table";import{DelimiterNode as a}from"./delimiter";import{EmbedNode as m}from"./embed";import{RawNode as s}from"./raw";import{QuoteNode as i}from"./quote";import{CodeNode as t}from"./code";import{LinkNode as P}from"./link";export{t as CodeNode,a as DelimiterNode,m as EmbedNode,d as HeaderNode,N as ImageNode,P as LinkNode,r as ListNode,e as ParagraphNode,i as QuoteNode,s as RawNode,o as RecursiveNode,p as TableNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var l=Object.defineProperty;var S=Object.getOwnPropertyDescriptor;var W=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var N=(o,t)=>{for(var e in t)l(o,e,{get:t[e],enumerable:!0})},D=(o,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of W(t))!v.call(o,i)&&i!==e&&l(o,i,{get:()=>t[i],enumerable:!(n=S(t,i))||n.enumerable});return o};var T=o=>D(l({},"__esModule",{value:!0}),o);var z={};N(z,{LinkNode:()=>_});module.exports=T(z);var c=require("@mui/material"),g=(0,c.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var k=require("react/jsx-runtime"),x=({sx:o,...t})=>(0,k.jsx)(g,{sx:o,...t});var p=require("@mui/material"),f=(0,p.styled)("a",{name:"RootLink",label:"root__link",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"block",padding:"25px",color:o.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),h=(0,p.styled)("div",{shouldForwardProp:o=>o!=="image"})(({image:o})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!o&&{backgroundImage:`url(${o})`}})),b=(0,p.styled)("div")(({theme:o})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:o.palette.text.primary})),R=(0,p.styled)("p")(({theme:o})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:o.palette.text.primary})),P=(0,p.styled)("span")(({theme:o})=>({display:"block",fontSize:15,lineHeight:"1em",color:o.palette.text.secondary,border:0,padding:0}));var r=require("react/jsx-runtime"),C=({id:o,image:t,title:e,description:n,siteName:i,href:a,sx:s,...d})=>(0,r.jsxs)(f,{as:a?"a":"div",id:o,href:a||void 0,target:a?"_blank":void 0,rel:a?"nofollow noindex noreferrer":void 0,sx:s,...d,children:[(0,r.jsx)(h,{image:t}),(0,r.jsx)(b,{children:e}),(0,r.jsx)(R,{children:n}),(0,r.jsx)(P,{children:i})]},o);var m=require("react/jsx-runtime"),_=({type:o,data:t,id:e,Container:n,Link:i})=>{let{meta:{image:a,title:s,description:d,site_name:L},link:u}=t,{sx:y,...w}=n||{};return(0,m.jsx)(x,{sx:y,...w,children:(0,m.jsx)(C,{id:`${o}-${e}`,image:a?.url??"",title:s??"",description:d??"",siteName:L,href:u??"",...i})},e)};0&&(module.exports={LinkNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as u}from"@mui/material";var l=u("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as y}from"react/jsx-runtime";var m=({sx:o,...e})=>y(l,{sx:o,...e});import{styled as i}from"@mui/material";var c=i("a",{name:"RootLink",label:"root__link",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"block",padding:"25px",color:o.palette.text.primary,background:"#fff",border:"1px solid rgba(201, 201, 204, 0.48)",boxShadow:"0 1px 3px rgb(0 0 0 / 10%)",borderRadius:6,willChange:"filter",transition:"box-shadow 450ms cubic-bezier(0.215, 0.61, 0.355, 1)",margin:".4em 0",textDecoration:"none","&:hover":{boxShadow:"0 0 3px rgb(0 0 0 / 16%)"}})),g=i("div",{shouldForwardProp:o=>o!=="image"})(({image:o})=>({backgroundPosition:"center center",backgroundRepeat:"no-repeat",backgroundSize:"cover",margin:"0 0 0 30px",width:65,height:65,borderRadius:3,float:"right",...!!o&&{backgroundImage:`url(${o})`}})),x=i("div")(({theme:o})=>({fontSize:17,fontWeight:600,lineHeight:"1.5em",margin:"0 0 10px 0",color:o.palette.text.primary})),k=i("p")(({theme:o})=>({margin:"0 0 20px 0",fontSize:15,lineHeight:"1.55em",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden",color:o.palette.text.primary})),f=i("span")(({theme:o})=>({display:"block",fontSize:15,lineHeight:"1em",color:o.palette.text.secondary,border:0,padding:0}));import{jsx as n,jsxs as w}from"react/jsx-runtime";var h=({id:o,image:e,title:r,description:a,siteName:p,href:t,sx:s,...d})=>w(c,{as:t?"a":"div",id:o,href:t||void 0,target:t?"_blank":void 0,rel:t?"nofollow noindex noreferrer":void 0,sx:s,...d,children:[n(g,{image:e}),n(x,{children:r}),n(k,{children:a}),n(f,{children:p})]},o);import{jsx as b}from"react/jsx-runtime";var B=({type:o,data:e,id:r,Container:a,Link:p})=>{let{meta:{image:t,title:s,description:d,site_name:R},link:P}=e,{sx:C,...L}=a||{};return b(m,{sx:C,...L,children:b(h,{id:`${o}-${r}`,image:t?.url??"",title:s??"",description:d??"",siteName:R,href:P??"",...p})},r)};export{B as LinkNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var ho=Object.create;var c=Object.defineProperty;var Po=Object.getOwnPropertyDescriptor;var Ro=Object.getOwnPropertyNames;var xo=Object.getPrototypeOf,Co=Object.prototype.hasOwnProperty;var yo=(o,t)=>{for(var r in t)c(o,r,{get:t[r],enumerable:!0})},C=(o,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ro(t))!Co.call(o,i)&&i!==r&&c(o,i,{get:()=>t[i],enumerable:!(n=Po(t,i))||n.enumerable});return o};var Io=(o,t,r)=>(r=o!=null?ho(xo(o)):{},C(t||!o||!o.__esModule?c(r,"default",{value:o,enumerable:!0}):r,o)),go=o=>C(c({},"__esModule",{value:!0}),o);var uo={};yo(uo,{ListNode:()=>ao});module.exports=go(uo);var no=require("@mui/material");var y=require("@mui/material"),R=require("@iconify/react"),f=require("react/jsx-runtime"),I=({checked:o,sx:t,...r})=>(0,f.jsx)(y.Checkbox,{sx:t,size:"small",checked:o,icon:(0,f.jsx)(R.Icon,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:(0,f.jsx)(R.Icon,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...r});var g=require("@mui/material"),u=(0,g.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var L=require("react/jsx-runtime"),k=({sx:o,...t})=>(0,L.jsx)(u,{sx:o,...t});var M=require("@mui/material"),b=(0,M.styled)("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var B=require("react/jsx-runtime"),_=({sx:o,...t})=>(0,B.jsx)(b,{sx:o,...t});var E=require("@mui/material"),W=(0,E.styled)("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var $=require("react/jsx-runtime"),F=({sx:o,...t})=>(0,$.jsx)(W,{sx:o,...t});var w=require("@mui/material"),A=(0,w.styled)("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});var D=require("react/jsx-runtime"),T=({sx:o,...t})=>(0,D.jsx)(A,{sx:o,...t});var h=(o,t)=>o===3?`calc(${(100/o).toFixed(2)}% - ${t*(o-1)/o}px)`:o===2?`calc(${(100/o).toFixed(2)}% - ${t*(o-1)/o}px)`:"100%";var m=Io(require("html-react-parser"));var N=require("@mui/material"),O=(0,N.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var H=require("react/jsx-runtime"),v=({sx:o,...t})=>(0,H.jsx)(O,{sx:o,...t});var S=require("@mui/material"),z=(0,S.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var U=require("react/jsx-runtime"),G=({sx:o,...t})=>(0,U.jsx)(z,{sx:o,...t});var q=require("@mui/material"),J=(0,q.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var Q=require("react/jsx-runtime"),K=({sx:o,...t})=>(0,Q.jsx)(J,{sx:o,...t});var V=require("@mui/material"),X=(0,V.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var Z=require("react/jsx-runtime"),Y=({sx:o,...t})=>(0,Z.jsx)(X,{sx:o,...t});var j=require("@mui/material"),oo=(0,j.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var ro=require("react/jsx-runtime"),to=({sx:o,...t})=>(0,ro.jsx)(oo,{sx:o,...t});var eo=require("isomorphic-dompurify"),io=o=>(0,eo.sanitize)(o,{FORBID_ATTR:["class"]});var a=require("react/jsx-runtime"),d=(o,t)=>{if(!("name"in o)||!("children"in o))return null;let{name:r,children:n,attribs:i}=o,s=n;return r==="code"?(0,a.jsx)(K,{id:`${r}-${t}`,children:(0,m.domToReact)(s,{replace:e=>d(e,t)})}):r==="b"?(0,a.jsx)(G,{id:`${r}-${t}`,children:(0,m.domToReact)(s,{replace:e=>d(e,t)})}):r==="i"?(0,a.jsx)(Y,{id:`${r}-${t}`,children:(0,m.domToReact)(s,{replace:e=>d(e,t)})}):r==="mark"?(0,a.jsx)(to,{id:`${r}-${t}`,children:(0,m.domToReact)(s,{replace:e=>d(e,t)})}):r==="a"?(0,a.jsx)(v,{id:`${r}-${t}`,href:i?.href,rel:"noopener noreferrer",target:"_blank",children:(0,m.domToReact)(s,{replace:e=>d(e,t)})}):null},po=({html:o,id:t})=>{let r=io(o);return(0,a.jsx)(a.Fragment,{children:(0,m.default)(r,{replace:n=>d(n,t)})})};var so=require("react/jsx-runtime"),p=require("react/jsx-runtime"),P=20,ao=({type:o,data:t,id:r,tunes:n,Container:i,List:s,Item:e})=>{let{style:x,items:mo}=t,{sx:lo,...co}=i||{};return(0,p.jsx)(k,{sx:lo,...co,children:(0,p.jsx)(_,{id:`${o}-${r}`,...s,sx:{display:"flex",flexWrap:"wrap",gap:`${P}px`,...s?.sx},children:mo?.map(l=>(0,p.jsxs)(so.Fragment,{children:[(0,p.jsxs)(F,{...e,sx:{padding:"20px",borderRadius:"25px",backgroundColor:fo=>fo.palette.background.default,border:"1px solid #EFF3FE",display:"flex",flexWrap:"nowrap",alignItems:"center",columnGap:"5px",flexGrow:0,...x==="ordered"&&{alignItems:"center",boxShadow:"0px 4px 25px rgba(0, 0, 0, 0.05)"},flexBasis:h(1,P),...n?.columnTune?.size==="two-columns"&&{flexBasis:h(2,P)},...n?.columnTune?.size==="three-columns"&&{flexBasis:h(3,P)},...e?.sx},children:[(0,p.jsx)(I,{checked:!0,sx:{padding:"5px"}}),(0,p.jsx)(no.Box,{children:(0,p.jsx)(T,{children:(0,p.jsx)(po,{html:l.content,id:r})})})]},`list_item_${l.content}`),l.items.length>0?(0,p.jsx)(ao,{id:r,type:o,data:{items:l.items,meta:l.meta,style:x},Container:{...i,sx:{...i?.sx,ml:4}},List:s,Item:e}):null]},l.content))})},r)};0&&(module.exports={ListNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{Box as co}from"@mui/material";import{Checkbox as G}from"@mui/material";import{Icon as R}from"@iconify/react";import{jsx as h}from"react/jsx-runtime";var x=({checked:o,sx:t,...r})=>h(G,{sx:t,size:"small",checked:o,icon:h(R,{icon:"akar-icons:circle-fill",color:"inherit",width:"24px",height:"24px"}),checkedIcon:h(R,{icon:"akar-icons:circle-check-fill",color:"inherit",width:"24px",height:"24px"}),...r});import{styled as U}from"@mui/material";var C=U("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as q}from"react/jsx-runtime";var y=({sx:o,...t})=>q(C,{sx:o,...t});import{styled as J}from"@mui/material";var I=J("div",{name:"RootList",label:"root__list",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as K}from"react/jsx-runtime";var g=({sx:o,...t})=>K(I,{sx:o,...t});import{styled as Q}from"@mui/material";var u=Q("div",{name:"RootListItem",label:"root__list__item",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as V}from"react/jsx-runtime";var k=({sx:o,...t})=>V(u,{sx:o,...t});import{styled as X}from"@mui/material";var L=X("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});import{jsx as Y}from"react/jsx-runtime";var M=({sx:o,...t})=>Y(L,{sx:o,...t});var c=(o,t)=>o===3?`calc(${(100/o).toFixed(2)}% - ${t*(o-1)/o}px)`:o===2?`calc(${(100/o).toFixed(2)}% - ${t*(o-1)/o}px)`:"100%";import mo,{domToReact as d}from"html-react-parser";import{styled as Z}from"@mui/material";var b=Z("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as j}from"react/jsx-runtime";var _=({sx:o,...t})=>j(b,{sx:o,...t});import{styled as oo}from"@mui/material";var B=oo("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as to}from"react/jsx-runtime";var E=({sx:o,...t})=>to(B,{sx:o,...t});import{styled as ro}from"@mui/material";var W=ro("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as eo}from"react/jsx-runtime";var F=({sx:o,...t})=>eo(W,{sx:o,...t});import{styled as io}from"@mui/material";var $=io("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as po}from"react/jsx-runtime";var w=({sx:o,...t})=>po($,{sx:o,...t});import{styled as no}from"@mui/material";var A=no("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as so}from"react/jsx-runtime";var T=({sx:o,...t})=>so(A,{sx:o,...t});import{sanitize as ao}from"isomorphic-dompurify";var D=o=>ao(o,{FORBID_ATTR:["class"]});import{Fragment as lo,jsx as m}from"react/jsx-runtime";var a=(o,t)=>{if(!("name"in o)||!("children"in o))return null;let{name:r,children:n,attribs:l}=o,i=n;return r==="code"?m(F,{id:`${r}-${t}`,children:d(i,{replace:e=>a(e,t)})}):r==="b"?m(E,{id:`${r}-${t}`,children:d(i,{replace:e=>a(e,t)})}):r==="i"?m(w,{id:`${r}-${t}`,children:d(i,{replace:e=>a(e,t)})}):r==="mark"?m(T,{id:`${r}-${t}`,children:d(i,{replace:e=>a(e,t)})}):r==="a"?m(_,{id:`${r}-${t}`,href:l?.href,rel:"noopener noreferrer",target:"_blank",children:d(i,{replace:e=>a(e,t)})}):null},N=({html:o,id:t})=>{let r=D(o);return m(lo,{children:mo(r,{replace:n=>a(n,t)})})};import{Fragment as fo}from"react/jsx-runtime";import{jsx as p,jsxs as O}from"react/jsx-runtime";var f=20,ho=({type:o,data:t,id:r,tunes:n,Container:l,List:i,Item:e})=>{let{style:P,items:v}=t,{sx:H,...S}=l||{};return p(y,{sx:H,...S,children:p(g,{id:`${o}-${r}`,...i,sx:{display:"flex",flexWrap:"wrap",gap:`${f}px`,...i?.sx},children:v?.map(s=>O(fo,{children:[O(k,{...e,sx:{padding:"20px",borderRadius:"25px",backgroundColor:z=>z.palette.background.default,border:"1px solid #EFF3FE",display:"flex",flexWrap:"nowrap",alignItems:"center",columnGap:"5px",flexGrow:0,...P==="ordered"&&{alignItems:"center",boxShadow:"0px 4px 25px rgba(0, 0, 0, 0.05)"},flexBasis:c(1,f),...n?.columnTune?.size==="two-columns"&&{flexBasis:c(2,f)},...n?.columnTune?.size==="three-columns"&&{flexBasis:c(3,f)},...e?.sx},children:[p(x,{checked:!0,sx:{padding:"5px"}}),p(co,{children:p(M,{children:p(N,{html:s.content,id:r})})})]},`list_item_${s.content}`),s.items.length>0?p(ho,{id:r,type:o,data:{items:s.items,meta:s.meta,style:P},Container:{...l,sx:{...l?.sx,ml:4}},List:i,Item:e}):null]},s.content))})},r)};export{ho as ListNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var G=Object.create;var d=Object.defineProperty;var J=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var Q=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var X=(o,r)=>{for(var t in r)d(o,t,{get:r[t],enumerable:!0})},P=(o,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of K(r))!V.call(o,a)&&a!==t&&d(o,a,{get:()=>r[a],enumerable:!(p=J(r,a))||p.enumerable});return o};var Y=(o,r,t)=>(t=o!=null?G(Q(o)):{},P(r||!o||!o.__esModule?d(t,"default",{value:o,enumerable:!0}):t,o)),Z=o=>P(d({},"__esModule",{value:!0}),o);var oo={};X(oo,{ParagraphNode:()=>j});module.exports=Z(oo);var i=Y(require("html-react-parser"));var f=require("@mui/material"),c=(0,f.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var R=require("react/jsx-runtime"),h=({sx:o,...r})=>(0,R.jsx)(c,{sx:o,...r});var C=require("@mui/material"),g=(0,C.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var u=require("react/jsx-runtime"),y=({sx:o,...r})=>(0,u.jsx)(g,{sx:o,...r});var M=require("@mui/material"),x=(0,M.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var _=require("react/jsx-runtime"),I=({sx:o,...r})=>(0,_.jsx)(x,{sx:o,...r});var b=require("@mui/material"),k=(0,b.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var W=require("react/jsx-runtime"),E=({sx:o,...r})=>(0,W.jsx)(k,{sx:o,...r});var B=require("@mui/material"),N=(0,B.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var D=require("react/jsx-runtime"),A=({sx:o,...r})=>(0,D.jsx)(N,{sx:o,...r});var $=require("isomorphic-dompurify"),T=o=>(0,$.sanitize)(o,{FORBID_ATTR:["class"]});var n=require("react/jsx-runtime"),m=(o,r)=>{if(!("name"in o)||!("children"in o))return null;let{name:t,children:p,attribs:a}=o,s=p;return t==="code"?(0,n.jsx)(I,{id:`${t}-${r}`,children:(0,i.domToReact)(s,{replace:e=>m(e,r)})}):t==="b"?(0,n.jsx)(y,{id:`${t}-${r}`,children:(0,i.domToReact)(s,{replace:e=>m(e,r)})}):t==="i"?(0,n.jsx)(E,{id:`${t}-${r}`,children:(0,i.domToReact)(s,{replace:e=>m(e,r)})}):t==="mark"?(0,n.jsx)(A,{id:`${t}-${r}`,children:(0,i.domToReact)(s,{replace:e=>m(e,r)})}):t==="a"?(0,n.jsx)(h,{id:`${t}-${r}`,href:a?.href,rel:"noopener noreferrer",target:"_blank",children:(0,i.domToReact)(s,{replace:e=>m(e,r)})}):null},O=({html:o,id:r})=>{let t=T(o);return(0,n.jsx)(n.Fragment,{children:(0,i.default)(t,{replace:p=>m(p,r)})})};var w=require("@mui/material"),F=(0,w.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var H=require("react/jsx-runtime"),v=({sx:o,...r})=>(0,H.jsx)(F,{sx:o,...r});var L=require("@mui/material"),S=(0,L.styled)("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});var z=require("react/jsx-runtime"),U=({sx:o,...r})=>(0,z.jsx)(S,{sx:o,...r});var l=require("react/jsx-runtime"),j=({type:o,data:r,id:t,Container:p,Paragraph:a})=>{let{text:s}=r,{sx:e,...q}=p||{};return(0,l.jsx)(v,{sx:e,...q,children:(0,l.jsx)(U,{id:`${o}-${t}`,...a,children:(0,l.jsx)(O,{html:s||"",id:t})})},t)};0&&(module.exports={ParagraphNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import H,{domToReact as s}from"html-react-parser";import{styled as W}from"@mui/material";var l=W("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as B}from"react/jsx-runtime";var P=({sx:o,...r})=>B(l,{sx:o,...r});import{styled as N}from"@mui/material";var f=N("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as A}from"react/jsx-runtime";var c=({sx:o,...r})=>A(f,{sx:o,...r});import{styled as D}from"@mui/material";var h=D("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as $}from"react/jsx-runtime";var R=({sx:o,...r})=>$(h,{sx:o,...r});import{styled as T}from"@mui/material";var C=T("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as O}from"react/jsx-runtime";var g=({sx:o,...r})=>O(C,{sx:o,...r});import{styled as w}from"@mui/material";var y=w("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as F}from"react/jsx-runtime";var u=({sx:o,...r})=>F(y,{sx:o,...r});import{sanitize as v}from"isomorphic-dompurify";var M=o=>v(o,{FORBID_ATTR:["class"]});import{Fragment as L,jsx as p}from"react/jsx-runtime";var n=(o,r)=>{if(!("name"in o)||!("children"in o))return null;let{name:t,children:i,attribs:m}=o,a=i;return t==="code"?p(R,{id:`${t}-${r}`,children:s(a,{replace:e=>n(e,r)})}):t==="b"?p(c,{id:`${t}-${r}`,children:s(a,{replace:e=>n(e,r)})}):t==="i"?p(g,{id:`${t}-${r}`,children:s(a,{replace:e=>n(e,r)})}):t==="mark"?p(u,{id:`${t}-${r}`,children:s(a,{replace:e=>n(e,r)})}):t==="a"?p(P,{id:`${t}-${r}`,href:m?.href,rel:"noopener noreferrer",target:"_blank",children:s(a,{replace:e=>n(e,r)})}):null},x=({html:o,id:r})=>{let t=M(o);return p(L,{children:H(t,{replace:i=>n(i,r)})})};import{styled as S}from"@mui/material";var I=S("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as U}from"react/jsx-runtime";var _=({sx:o,...r})=>U(I,{sx:o,...r});import{styled as z}from"@mui/material";var b=z("p",{name:"RootParagraph",label:"root__paragraph",shouldForwardProp:o=>o!=="as"})({margin:0});import{jsx as q}from"react/jsx-runtime";var k=({sx:o,...r})=>q(b,{sx:o,...r});import{jsx as d}from"react/jsx-runtime";var qo=({type:o,data:r,id:t,Container:i,Paragraph:m})=>{let{text:a}=r,{sx:e,...E}=i||{};return d(_,{sx:e,...E,children:d(k,{id:`${o}-${t}`,...m,children:d(x,{html:a||"",id:t})})},t)};export{qo as ParagraphNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var p=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var x=(o,t)=>{for(var e in t)p(o,e,{get:t[e],enumerable:!0})},y=(o,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of c(t))!h.call(o,r)&&r!==e&&p(o,r,{get:()=>t[r],enumerable:!(n=l(t,r))||n.enumerable});return o};var b=o=>y(p({},"__esModule",{value:!0}),o);var M={};x(M,{QuoteNode:()=>E});module.exports=b(M);var a=require("@mui/material"),s=(0,a.styled)("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});var d=require("react/jsx-runtime"),m=({sx:o,...t})=>(0,d.jsx)(s,{sx:o,...t});var u=require("@mui/material"),P=(0,u.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var R=require("react/jsx-runtime"),C=({sx:o,...t})=>(0,R.jsx)(P,{sx:o,...t});var i=require("react/jsx-runtime"),E=({type:o,data:t,id:e,Container:n,Quote:r})=>{let{sx:f,...Q}=n||{};return(0,i.jsx)(C,{sx:f,...Q,children:(0,i.jsx)(m,{id:`${o}-${e}`,...r,children:t.text})},e)};0&&(module.exports={QuoteNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as P}from"@mui/material";var r=P("blockquote",{name:"RootQuote",label:"root__quote",shouldForwardProp:o=>o!=="as"})({});import{jsx as C}from"react/jsx-runtime";var n=({sx:o,...t})=>C(r,{sx:o,...t});import{styled as R}from"@mui/material";var p=R("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as f}from"react/jsx-runtime";var i=({sx:o,...t})=>f(p,{sx:o,...t});import{jsx as a}from"react/jsx-runtime";var _=({type:o,data:t,id:e,Container:s,Quote:m})=>{let{sx:d,...u}=s||{};return a(i,{sx:d,...u,children:a(n,{id:`${o}-${e}`,...m,children:t.text})},e)};export{_ as QuoteNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var n=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var y=(o,t)=>{for(var r in t)n(o,r,{get:t[r],enumerable:!0})},b=(o,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of c(t))!x.call(o,e)&&e!==r&&n(o,e,{get:()=>t[e],enumerable:!(a=h(t,e))||a.enumerable});return o};var g=o=>b(n({},"__esModule",{value:!0}),o);var v={};y(v,{RawNode:()=>T});module.exports=g(v);var p=require("@mui/material"),s=(0,p.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var m=require("react/jsx-runtime"),R=({sx:o,...t})=>(0,m.jsx)(s,{sx:o,...t});var d=require("@mui/material"),w=(0,d.styled)("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});var C=require("react/jsx-runtime"),l=({sx:o,...t})=>(0,C.jsx)(w,{sx:o,...t});var i=require("react/jsx-runtime"),T=({type:o,data:t,id:r,Container:a,Raw:e})=>{let{sx:P,...f}=a||{};return(0,i.jsx)(R,{sx:P,...f,children:(0,i.jsx)(l,{id:`${o}-${r}`,...e,children:t.html})},r)};0&&(module.exports={RawNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{styled as w}from"@mui/material";var e=w("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as l}from"react/jsx-runtime";var a=({sx:o,...t})=>l(e,{sx:o,...t});import{styled as C}from"@mui/material";var n=C("div",{name:"RootRaw",label:"root__raw",shouldForwardProp:o=>o!=="as"})({backgroundColor:"#1e2128",color:"#a1a7b6",overscrollBehavior:"contain",lineHeight:1.6,fontSize:12,minHeight:200,padding:"10px 12px",borderRadius:8,boxShadow:"inset 0 1px 2px 0 rgb(35 44 72 / 6%)",margin:"0",whiteSpace:"pre-wrap",resize:"vertical"});import{jsx as P}from"react/jsx-runtime";var i=({sx:o,...t})=>P(n,{sx:o,...t});import{jsx as p}from"react/jsx-runtime";var D=({type:o,data:t,id:r,Container:s,Raw:R})=>{let{sx:m,...d}=s||{};return p(a,{sx:m,...d,children:p(i,{id:`${o}-${r}`,...R,children:t.html})},r)};export{D as RawNode};
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var eo=Object.create;var m=Object.defineProperty;var ro=Object.getOwnPropertyDescriptor;var to=Object.getOwnPropertyNames;var no=Object.getPrototypeOf,po=Object.prototype.hasOwnProperty;var lo=(o,e)=>{for(var r in e)m(o,r,{get:e[r],enumerable:!0})},R=(o,e,r,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of to(e))!po.call(o,n)&&n!==r&&m(o,n,{get:()=>e[n],enumerable:!(l=ro(e,n))||l.enumerable});return o};var io=(o,e,r)=>(r=o!=null?eo(no(o)):{},R(e||!o||!o.__esModule?m(r,"default",{value:o,enumerable:!0}):r,o)),ao=o=>R(m({},"__esModule",{value:!0}),o);var mo={};lo(mo,{TableNode:()=>so});module.exports=ao(mo);var i=io(require("html-react-parser"));var f=require("@mui/material"),b=(0,f.styled)("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var c=require("react/jsx-runtime"),P=({sx:o,...e})=>(0,c.jsx)(b,{sx:o,...e});var C=require("@mui/material"),h=(0,C.styled)("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});var y=require("react/jsx-runtime"),T=({sx:o,...e})=>(0,y.jsx)(h,{sx:o,...e});var x=require("@mui/material"),u=(0,x.styled)("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});var _=require("react/jsx-runtime"),w=({sx:o,...e})=>(0,_.jsx)(u,{sx:o,...e});var I=require("@mui/material"),g=(0,I.styled)("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});var M=require("react/jsx-runtime"),k=({sx:o,...e})=>(0,M.jsx)(g,{sx:o,...e});var W=require("@mui/material"),E=(0,W.styled)("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});var N=require("react/jsx-runtime"),B=({sx:o,...e})=>(0,N.jsx)(E,{sx:o,...e});var A=require("isomorphic-dompurify"),v=o=>(0,A.sanitize)(o,{FORBID_ATTR:["class"]});var p=require("react/jsx-runtime"),s=(o,e)=>{if(!("name"in o)||!("children"in o))return null;let{name:r,children:l,attribs:n}=o,a=l;return r==="code"?(0,p.jsx)(w,{id:`${r}-${e}`,children:(0,i.domToReact)(a,{replace:t=>s(t,e)})}):r==="b"?(0,p.jsx)(T,{id:`${r}-${e}`,children:(0,i.domToReact)(a,{replace:t=>s(t,e)})}):r==="i"?(0,p.jsx)(k,{id:`${r}-${e}`,children:(0,i.domToReact)(a,{replace:t=>s(t,e)})}):r==="mark"?(0,p.jsx)(B,{id:`${r}-${e}`,children:(0,i.domToReact)(a,{replace:t=>s(t,e)})}):r==="a"?(0,p.jsx)(P,{id:`${r}-${e}`,href:n?.href,rel:"noopener noreferrer",target:"_blank",children:(0,i.domToReact)(a,{replace:t=>s(t,e)})}):null},D=({html:o,id:e})=>{let r=v(o);return(0,p.jsx)(p.Fragment,{children:(0,i.default)(r,{replace:l=>s(l,e)})})};var F=require("@mui/material"),O=(0,F.styled)("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));var H=require("react/jsx-runtime"),$=({sx:o,...e})=>(0,H.jsx)(O,{sx:o,...e});var z=require("@mui/material"),L=(0,z.styled)("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));var q=require("react/jsx-runtime"),S=({sx:o,...e})=>(0,q.jsx)(L,{sx:o,...e});var G=require("@mui/material"),J=(0,G.styled)("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));var Q=require("react/jsx-runtime"),K=({sx:o,...e})=>(0,Q.jsx)(J,{sx:o,...e});var U=require("@mui/material"),V=(0,U.styled)("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));var Y=require("react/jsx-runtime"),X=({sx:o,...e})=>(0,Y.jsx)(V,{sx:o,...e});var d=require("react/jsx-runtime"),so=({data:o,id:e,Container:r})=>{let{content:l}=o,{sx:n,...a}=r||{};return(0,d.jsx)($,{sx:n,...a,children:(0,d.jsx)(K,{id:e,children:l.map((t,Z)=>(0,d.jsx)(S,{children:t.map((j,oo)=>(0,d.jsx)(X,{children:(0,d.jsx)(D,{html:j,id:e})},oo))},Z))},e)},e)};0&&(module.exports={TableNode});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import J,{domToReact as a}from"html-react-parser";import{styled as v}from"@mui/material";var m=v("a",{name:"RootAnchor",label:"root__anchor",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as D}from"react/jsx-runtime";var R=({sx:o,...e})=>D(m,{sx:o,...e});import{styled as F}from"@mui/material";var f=F("b",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"&&o!=="sx"})({});import{jsx as O}from"react/jsx-runtime";var b=({sx:o,...e})=>O(f,{sx:o,...e});import{styled as $}from"@mui/material";var P=$("code",{name:"RootInlineCode",label:"root__inline__code",shouldForwardProp:o=>o!=="as"})({});import{jsx as H}from"react/jsx-runtime";var c=({sx:o,...e})=>H(P,{sx:o,...e});import{styled as z}from"@mui/material";var C=z("i",{name:"RootBold",label:"root__bold",shouldForwardProp:o=>o!=="as"})({});import{jsx as L}from"react/jsx-runtime";var h=({sx:o,...e})=>L(C,{sx:o,...e});import{styled as S}from"@mui/material";var T=S("mark",{name:"RootMarker",label:"root__marker",shouldForwardProp:o=>o!=="as"})({});import{jsx as q}from"react/jsx-runtime";var y=({sx:o,...e})=>q(T,{sx:o,...e});import{sanitize as G}from"isomorphic-dompurify";var x=o=>G(o,{FORBID_ATTR:["class"]});import{Fragment as K,jsx as l}from"react/jsx-runtime";var p=(o,e)=>{if(!("name"in o)||!("children"in o))return null;let{name:r,children:i,attribs:d}=o,n=i;return r==="code"?l(c,{id:`${r}-${e}`,children:a(n,{replace:t=>p(t,e)})}):r==="b"?l(b,{id:`${r}-${e}`,children:a(n,{replace:t=>p(t,e)})}):r==="i"?l(h,{id:`${r}-${e}`,children:a(n,{replace:t=>p(t,e)})}):r==="mark"?l(y,{id:`${r}-${e}`,children:a(n,{replace:t=>p(t,e)})}):r==="a"?l(R,{id:`${r}-${e}`,href:d?.href,rel:"noopener noreferrer",target:"_blank",children:a(n,{replace:t=>p(t,e)})}):null},u=({html:o,id:e})=>{let r=x(o);return l(K,{children:J(r,{replace:i=>p(i,e)})})};import{styled as Q}from"@mui/material";var w=Q("div",{name:"RootContainer",label:"root__container",shouldForwardProp:o=>o!=="as"&&o!=="stretched"&&o!=="sx"})(({stretched:o})=>({width:"100%",maxWidth:700,height:"auto",margin:"0 auto",...o&&{maxWidth:850}}));import{jsx as U}from"react/jsx-runtime";var _=({sx:o,...e})=>U(w,{sx:o,...e});import{styled as V}from"@mui/material";var I=V("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({display:"grid",gridTemplateColumns:"repeat(auto-fit,minmax(10px,1fr))",position:"relative",borderBottom:"1px solid",borderBottomColor:o.palette.primary.main}));import{jsx as X}from"react/jsx-runtime";var g=({sx:o,...e})=>X(I,{sx:o,...e});import{styled as Y}from"@mui/material";var k=Y("div",{name:"RootTable",label:"root__table",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({position:"relative",width:"100%",height:"100%",display:"grid",fontSize:14,borderTop:"1px solid",borderTopColor:o.palette.primary.main,lineHeight:1.4}));import{jsx as Z}from"react/jsx-runtime";var M=({sx:o,...e})=>Z(k,{sx:o,...e});import{styled as j}from"@mui/material";var W=j("div",{name:"RootTableRow",label:"root__table__row",shouldForwardProp:o=>o!=="as"})(({theme:o})=>({borderRight:"1px solid",borderRightColor:o.palette.primary.main,padding:"6px 12px",overflow:"hidden",outline:"none",lineBreak:"normal","&:first-of-type":{borderLeft:"unset",borderLeftColor:"unset"},"&:last-of-type":{borderRight:"unset",borderRightColor:"unset"}}));import{jsx as oo}from"react/jsx-runtime";var E=({sx:o,...e})=>oo(W,{sx:o,...e});import{jsx as s}from"react/jsx-runtime";var fe=({data:o,id:e,Container:r})=>{let{content:i}=o,{sx:d,...n}=r||{};return s(_,{sx:d,...n,children:s(M,{id:e,children:i.map((t,B)=>s(g,{children:t.map((N,A)=>s(E,{children:s(u,{html:N,id:e})},A))},B))},e)},e)};export{fe as TableNode};
package/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- 'use client';
2
- export*from"./interfaces";export*from"./types";export*from"./components";export*from"./helpers";export*from"./utils";export*from"./base";
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var x=Object.defineProperty;var F=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var d=(e,r)=>{for(var i in r)x(e,i,{get:r[i],enumerable:!0})},f=(e,r,i,$)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of a(r))!b.call(e,t)&&t!==i&&x(e,t,{get:()=>r[t],enumerable:!($=F(r,t))||$.enumerable});return e};var p=e=>f(x({},"__esModule",{value:!0}),e);var B={};d(B,{getFlexBasis:()=>g});module.exports=p(B);var g=(e,r)=>e===3?`calc(${(100/e).toFixed(2)}% - ${r*(e-1)/e}px)`:e===2?`calc(${(100/e).toFixed(2)}% - ${r*(e-1)/e}px)`:"100%";0&&(module.exports={getFlexBasis});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- var t=(e,r)=>e===3?`calc(${(100/e).toFixed(2)}% - ${r*(e-1)/e}px)`:e===2?`calc(${(100/e).toFixed(2)}% - ${r*(e-1)/e}px)`:"100%";export{t as getFlexBasis};
package/utils/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- 'use client';
2
- export*from"./get_flex_basis";export*from"./purify_html";
@@ -1,2 +0,0 @@
1
- 'use client';
2
- "use strict";var n=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var c=(r,i)=>{for(var s in i)n(r,s,{get:i[s],enumerable:!0})},m=(r,i,s,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of p(i))!u.call(r,t)&&t!==s&&n(r,t,{get:()=>i[t],enumerable:!(e=f(i,t))||e.enumerable});return r};var a=r=>m(n({},"__esModule",{value:!0}),r);var g={};c(g,{PurifyHtml:()=>d});module.exports=a(g);var o=require("isomorphic-dompurify"),d=r=>(0,o.sanitize)(r,{FORBID_ATTR:["class"]});0&&(module.exports={PurifyHtml});
@@ -1,2 +0,0 @@
1
- 'use client';
2
- import{sanitize as r}from"isomorphic-dompurify";var n=i=>r(i,{FORBID_ATTR:["class"]});export{n as PurifyHtml};
File without changes
File without changes
File without changes