function n(){return(n=Object.assign||function(n){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t])}return n}).apply(this,arguments)}var r=function(r){return Object.entries(r).reduce((function(r,e){var t,o=e[1];return void 0===o?r:n({},r,((t={})[e[0]]=o,t))}),{})},e=function(e){return n({},r(e),{type:"CodeChunk"})},t=function(e){return n({},r(e),{type:"CodeExpression"})},o=function(e){return n({},r(e),{type:"CodeError"})},u=function(e){return void 0===e&&(e={}),n({},r(e),{type:"SoftwareSession"})},i=function(n){return function(r){return!!C(r)&&function(n){return function(r){return Object.keys(n).includes(r)}}(n)(r.type)}},c=function(n){var r,e=((r={})[n]=n,r);return i(e)},f=function(n,r){return C(r)&&r.type===n},a=function(n){var r=typeof n;return null===n||"boolean"===r||"number"===r||"string"===r},C=function(n){return null!=n&&Object.prototype.hasOwnProperty.call(n,"type")},d=i({Code:"Code",CodeBlock:"CodeBlock",CodeChunk:"CodeChunk",CodeExpression:"CodeExpression",CodeFragment:"CodeFragment"});c("Article"),c("Paragraph"),c("ListItem");export{a as H,f as R,d as Y,u as a,e as l,t as p,o as s}