1(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"5248d9526fec71be612b62f635035cf09af27f1a"}}catch{}})();try{(function(){var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},v=new n.Error().stack;v&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[v]="b78b8a30-8307-4a05-a4ea-c2a443cf63a9",n._sentryDebugIdIdentifier="sentry-dbid-b78b8a30-8307-4a05-a4ea-c2a443cf63a9")})()}catch{}var Ln={},ln,hn;function vn(){return hn||(hn=1,ln=n=>{if(Object.prototype.toString.call(n)!=="[object Object]")return!1;const v=Object.getPrototypeOf(n);return v===null||v===Object.prototype}),ln}var sn;function Bn(){return sn||(sn=1,function(n){var v=vn();n.BLOCKS=void 0,function(r){r.DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell"}(n.BLOCKS||(n.BLOCKS={})),n.INLINES=void 0,function(r){r.ASSET_HYPERLINK="asset-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline",r.EMBEDDED_RESOURCE="embedded-resource-inline",r.ENTRY_HYPERLINK="entry-hyperlink",r.HYPERLINK="hyperlink",r.RESOURCE_HYPERLINK="resource-hyperlink"}(n.INLINES||(n.INLINES={})),n.MARKS=void 0,function(r){r.BOLD="bold",r.ITALIC="italic",r.UNDERLINE="underline",r.CODE="code",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.STRIKETHROUGH="strikethrough"}(n.MARKS||(n.MARKS={}));var D=function(r,a){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])},D(r,a)};function l(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");D(r,a);function i(){this.constructor=r}r.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}var s=function(){return s=Object.assign||function(a){for(var i,t=1,e=arguments.length;t<e;t++){i=arguments[t];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(a[u]=i[u])}return a},s.apply(this,arguments)};function h(r,a,i){if(i||arguments.length===2)for(var t=0,e=a.length,u;t<e;t++)(u||!(t in a))&&(u||(u=Array.prototype.slice.call(a,0,t)),u[t]=a[t]);return r.concat(u||Array.prototype.slice.call(a))}typeof SuppressedError=="function"&&SuppressedError;var O,d=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],C=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],U=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],w=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],P=(O={},O[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],O[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],O[n.BLOCKS.LIST_ITEM]=C,O[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],O[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],O[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],O[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],O[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],O),G=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],E=h([n.BLOCKS.PARAGRAPH],G,!0),o=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],_=[n.MARKS.BOLD,n.MARKS.CODE,n.MARKS.ITALIC,n.MARKS.UNDERLINE],B={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};function K(r,a){for(var i=0,t=Object.keys(r);i<t.length;i++){var e=t[i];if(a===r[e])return!0}return!1}function R(r){return K(n.INLINES,r.nodeType)}function Y(r){return K(n.BLOCKS,r.nodeType)}function H(r){return r.nodeType==="text"}function M(r){if(r.nodeType!==n.BLOCKS.PARAGRAPH||r.content.length!==1)return!1;var a=r.content[0];return a.nodeType==="text"&&a.value===""}function z(r){return r!=null&&typeof r=="object"&&"content"in r&&Array.isArray(r.content)}var Q=2;function $(r){if(!z(r)||r.content.length<Q)return r;var a=r.content[r.content.length-1];return M(a)?s(s({},r),{content:r.content.slice(0,-1)}):r}var F=Object.freeze({__proto__:null,isBlock:Y,isEmptyParagraph:M,isInline:R,isText:H,stripEmptyTrailingParagraphFromDocument:$}),b=function(r){var a=r.path,i=r.property,t=r.typeName,e=r.value;return{details:'The type of "'.concat(i,'" is incorrect, expected type: ').concat(t),name:"type",path:a.toArray(),type:t,value:e}},X=function(r){var a=r.min,i=r.value,t=r.path;return{name:"size",min:a,path:t.toArray(),details:"Size must be at least ".concat(a),value:i}},J=function(r){var a=r.max,i=r.value,t=r.path;return{name:"size",max:a,path:t.toArray(),details:"Size must be at most ".concat(a),value:i}},Z=function(r){var a=r.expected,i=r.value,t=r.path;return{details:"Value must be one of expected values",name:"in",expected:h([],a,!0).sort(),path:t.toArray(),value:i}},x=function(r){var a=r.property,i=r.path;return{details:'The property "'.concat(a,'" is not expected'),name:"unexpected",path:i.toArray()}},nn=function(r){var a=r.property,i=r.path;return{details:'The property "'.concat(a,'" is required here'),name:"required",path:i.toArray()}},T=function(){function r(a,i){var t=this;this.obj=a,this.path=i,this._errors=[],this.catch=function(){for(var e,u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];(e=t._errors).push.apply(e,u)},this.exists=function(e){return e in t.obj?!0:(t.catch(nn({property:e,path:t.path.of(e)})),!1)},this.object=function(e){var u,c=e?t.obj[e]:t.obj;if(e&&!t.exists(e))return!1;if(v(c))return!0;var S=e?t.path.of(e):t.path,f=(u=e??t.path.last())!==null&&u!==void 0?u:"value";return t.catch(b({typeName:"Object",property:f,path:S,value:c})),!1},this.string=function(e){var u=t.obj[e];return e&&!t.exists(e)?!1:typeof u=="string"?!0:(t.catch(b({typeName:"String",property:e,path:t.path.of(e),value:u})),!1)},this.number=function(e,u){var c=t.obj[e];return u&&!(e in t.obj)?!0:t.exists(e)?typeof c=="number"&&!Number.isNaN(c)?!0:(t.catch(b({typeName:"Number",property:e,path:t.path.of(e),value:c})),!1):!1},this.array=function(e){var u=t.obj[e];return e&&!t.exists(e)?!1:Array.isArray(u)?!0:(t.catch(b({typeName:"Array",property:e,path:t.path.of(e),value:u})),!1)},this.enum=function(e,u){var c=t.obj[e];return typeof c=="string"&&u.includes(c)?!0:(t.catch(Z({expected:u,value:c,path:t.path.of(e)})),!1)},this.empty=function(e){if(!t.array(e))return!1;var u=t.obj[e];return u.length===0?!0:(t.catch(J({max:0,value:u,path:t.path.of(e)})),!1)},this.minLength=function(e,u){if(!t.array(e))return!1;var c=t.obj[e];return c.length>=u?!0:(t.catch(X({min:u,value:c,path:t.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var u=Object.keys(t.obj).sort().filter(function(c){return!e.includes(c)});return u.forEach(function(c){return t.catch(x({property:c,path:t.path.of(c)}))}),u.length===0},this.each=function(e,u){if(t.array(e)){var c=t.obj[e],S=!1;
1c.forEach(function(f,p){if(!S){var g=u(f,t.path.of(e).of(p));g.length>0&&(S=!0),t.catch.apply(t,g)}})}}}return Object.defineProperty(r.prototype,"errors",{get:function(){var a=this,i=function(t){return JSON.stringify({details:t.details,path:t.path})};return this._errors.filter(function(t,e){return a._errors.findIndex(function(u){return i(t)===i(u)})===e})},enumerable:!1,configurable:!0}),r}(),y=[],j=function(){function r(a,i){this.contentRule=a,this.validateData=i}return r.prototype.assert=function(a,i){var t,e,u=new T(a,i);if(!u.object())return u.errors;u.noAdditionalProperties(["nodeType","data","content"]);var c=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(a,i),S=c.nodeTypes,f=c.min,p=f===void 0?0:f;if(S.length===0&&p>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(p," with no nodeTypes"));if(u.minLength("content",p),S.length===0?u.empty("content"):u.each("content",function(cn,on){var m=new T(cn,on);return m.object()&&m.enum("nodeType",S),m.errors}),u.object("data")){var g=(e=(t=this.validateData)===null||t===void 0?void 0:t.call(this,a.data,i.of("data")))!==null&&e!==void 0?e:[];u.catch.apply(u,g)}return u.errors},r}(),rn=function(r){l(a,r);function a(i,t){var e=r.call(this,t,function(u,c){return e.assertLink(u,c)})||this;return e.linkType=i,e.assertLink=function(u,c){var S=new T(u,c);if(S.object("target")){var f=new T(u.target.sys,c.of("target").of("sys"));f.object()&&(f.enum("type",[e.type]),f.enum("linkType",[e.linkType]),e.type==="Link"?(f.string("id"),f.noAdditionalProperties(["type","linkType","id"])):e.type==="ResourceLink"&&(f.string("urn"),f.noAdditionalProperties(["type","linkType","urn"]))),S.catch.apply(S,f.errors)}return S.noAdditionalProperties(["target"]),S.errors},e.type=e.linkType.startsWith("Contentful:")?"ResourceLink":"Link",e}return a}(j),tn=function(r){l(a,r);function a(){var i=r.call(this,["text"],function(t,e){return i.assertLink(t,e)})||this;return i.assertLink=function(t,e){var u=new T(t,e);return u.string("uri"),u.noAdditionalProperties(["uri"]),u.errors},i}return a}(j),A=function(r,a){return new j(r,a)},I=function(r,a){return new rn(r,a)},en=function(){function r(a){a===void 0&&(a=[]);var i=this;this.path=a,this.of=function(t){return new r(h(h([],i.path,!0),[t],!1))},this.isRoot=function(){return i.path.length===0},this.last=function(){return i.path[i.path.length-1]},this.toArray=function(){return i.path}}return r}();function an(r,a){var i=new T(r,a);return i.object()&&(i.noAdditionalProperties(["nodeType","data","value","marks"]),i.object("data"),i.each("marks",function(t,e){var u=new T(t,e);return u.object()&&u.string("type"),u.errors}),i.string("value")),i.errors}var L,N=A(h(h([],Object.values(n.INLINES),!0),["text"],!1).sort()),k=A([n.BLOCKS.LIST_ITEM]),V=I("Entry",y),W=A(function(){return{nodeTypes:[n.BLOCKS.PARAGRAPH],min:1}},function(r,a){var i=new T(r,a);return i.noAdditionalProperties(["colspan","rowspan"]),i.number("colspan",!0),i.number("rowspan",!0),i.errors}),un=(L={},L[n.BLOCKS.DOCUMENT]=A(d),L[n.BLOCKS.PARAGRAPH]=N,L[n.BLOCKS.HEADING_1]=N,L[n.BLOCKS.HEADING_2]=N,L[n.BLOCKS.HEADING_3]=N,L[n.BLOCKS.HEADING_4]=N,L[n.BLOCKS.HEADING_5]=N,L[n.BLOCKS.HEADING_6]=N,L[n.BLOCKS.QUOTE]=A(P[n.BLOCKS.QUOTE]),L[n.BLOCKS.EMBEDDED_ENTRY]=V,L[n.BLOCKS.EMBEDDED_ASSET]=I("Asset",y),L[n.BLOCKS.EMBEDDED_RESOURCE]=I("Contentful:Entry",y),L[n.BLOCKS.HR]=A(y),L[n.BLOCKS.OL_LIST]=k,L[n.BLOCKS.UL_LIST]=k,L[n.BLOCKS.LIST_ITEM]=A(h([],C,!0).sort()),L[n.BLOCKS.TABLE]=A(function(){return{nodeTypes:[n.BLOCKS.TABLE_ROW],min:1}}),L[n.BLOCKS.TABLE_ROW]=A(function(){return{nodeTypes:[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],min:1}}),L[n.BLOCKS.TABLE_CELL]=W,L[n.BLOCKS.TABLE_HEADER_CELL]=W,L[n.INLINES.HYPERLINK]=new tn,L[n.INLINES.EMBEDDED_ENTRY]=V,L[n.INLINES.EMBEDDED_RESOURCE]=I("Contentful:Entry",y),L[n.INLINES.ENTRY_HYPERLINK]=I("Entry",["text"]),L[n.INLINES.ASSET_HYPERLINK]=I("Asset",["text"]),L[n.INLINES.RESOURCE_HYPERLINK]=I("Contentful:Entry",["text"]),L);function q(r,a){if(r.nodeType==="text")return an(r,a);var i=un[r.nodeType].assert(r,a);if(i.length>0)return i;var t=new T(r,a);return t.each("content",function(e,u){return q(e,u)}),t.errors}var En=function(r){var a=new en,i=new T(r,a);return i.object()&&i.enum("nodeType",[n.BLOCKS.DOCUMENT]),i.errors.length>0?i.errors:q(r,a)};n.CONTAINERS=P,n.EMPTY_DOCUMENT=B,n.HEADINGS=G,n.LIST_ITEM_BLOCKS=C,n.TABLE_BLOCKS=U,n.TEXT_CONTAINERS=E,n.TOP_LEVEL_BLOCKS=d,n.V1_MARKS=_,n.V1_NODE_TYPES=o,n.VOID_BLOCKS=w,n.helpers=F,n.val
1idateRichTextDocument=En}(Ln)),Ln}var In=Bn(),fn={},Sn={},_n;function dn(){return _n||(_n=1,function(n){var v=vn();n.BLOCKS=void 0,function(r){r.DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell"}(n.BLOCKS||(n.BLOCKS={})),n.INLINES=void 0,function(r){r.ASSET_HYPERLINK="asset-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline",r.EMBEDDED_RESOURCE="embedded-resource-inline",r.ENTRY_HYPERLINK="entry-hyperlink",r.HYPERLINK="hyperlink",r.RESOURCE_HYPERLINK="resource-hyperlink"}(n.INLINES||(n.INLINES={})),n.MARKS=void 0,function(r){r.BOLD="bold",r.ITALIC="italic",r.UNDERLINE="underline",r.CODE="code",r.SUPERSCRIPT="superscript",r.SUBSCRIPT="subscript",r.STRIKETHROUGH="strikethrough"}(n.MARKS||(n.MARKS={}));var D=function(r,a){return D=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,t){i.__proto__=t}||function(i,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e]=t[e])},D(r,a)};function l(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");D(r,a);function i(){this.constructor=r}r.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}var s=function(){return s=Object.assign||function(a){for(var i,t=1,e=arguments.length;t<e;t++){i=arguments[t];for(var u in i)Object.prototype.hasOwnProperty.call(i,u)&&(a[u]=i[u])}return a},s.apply(this,arguments)};function h(r,a,i){if(i||arguments.length===2)for(var t=0,e=a.length,u;t<e;t++)(u||!(t in a))&&(u||(u=Array.prototype.slice.call(a,0,t)),u[t]=a[t]);return r.concat(u||Array.prototype.slice.call(a))}typeof SuppressedError=="function"&&SuppressedError;var O,d=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE,n.BLOCKS.TABLE],C=[n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],U=[n.BLOCKS.TABLE,n.BLOCKS.TABLE_ROW,n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],w=[n.BLOCKS.HR,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.BLOCKS.EMBEDDED_RESOURCE],P=(O={},O[n.BLOCKS.OL_LIST]=[n.BLOCKS.LIST_ITEM],O[n.BLOCKS.UL_LIST]=[n.BLOCKS.LIST_ITEM],O[n.BLOCKS.LIST_ITEM]=C,O[n.BLOCKS.QUOTE]=[n.BLOCKS.PARAGRAPH],O[n.BLOCKS.TABLE]=[n.BLOCKS.TABLE_ROW],O[n.BLOCKS.TABLE_ROW]=[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],O[n.BLOCKS.TABLE_CELL]=[n.BLOCKS.PARAGRAPH,n.BLOCKS.UL_LIST,n.BLOCKS.OL_LIST],O[n.BLOCKS.TABLE_HEADER_CELL]=[n.BLOCKS.PARAGRAPH],O),G=[n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6],E=h([n.BLOCKS.PARAGRAPH],G,!0),o=[n.BLOCKS.DOCUMENT,n.BLOCKS.PARAGRAPH,n.BLOCKS.HEADING_1,n.BLOCKS.HEADING_2,n.BLOCKS.HEADING_3,n.BLOCKS.HEADING_4,n.BLOCKS.HEADING_5,n.BLOCKS.HEADING_6,n.BLOCKS.OL_LIST,n.BLOCKS.UL_LIST,n.BLOCKS.LIST_ITEM,n.BLOCKS.HR,n.BLOCKS.QUOTE,n.BLOCKS.EMBEDDED_ENTRY,n.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],_=[n.MARKS.BOLD,n.MARKS.CODE,n.MARKS.ITALIC,n.MARKS.UNDERLINE],B={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};function K(r,a){for(var i=0,t=Object.keys(r);i<t.length;i++){var e=t[i];if(a===r[e])return!0}return!1}function R(r){return K(n.INLINES,r.nodeType)}function Y(r){return K(n.BLOCKS,r.nodeType)}function H(r){return r.nodeType==="text"}function M(r){if(r.nodeType!==n.BLOCKS.PARAGRAPH||r.content.length!==1)return!1;var a=r.content[0];return a.nodeType==="text"&&a.value===""}function z(r){return r!=null&&typeof r=="object"&&"content"in r&&Array.isArray(r.content)}var Q=2;function $(r){if(!z(r)||r.content.length<Q)return r;var a=r.content[r.content.length-1];return M(a)?s(s({},r),{content:r.content.slice(0,-1)}):r}var F=Object.freeze({__proto__:null,isBlock:Y,isEmptyParagraph:M,isInline:R,isText:H,stripEmptyTrailingParagraphFromDocument:$}),b=function(r){var a=r.path,i=r.property,t=r.typeName,e=r.value;return{details:'The type of "'.concat(i,'" is incorrect, expected type: ').concat(t),name:"type",path:a.toArray(),type:t,value:e}},X=function(r){var a=r.min,i=r.value,t=r.path;return{name:"size",min:a,path:t.toArray(),details:"Size must be at least ".concat(a),value:i}},J=function(r){var a=r.max,i=r.value,t=r.path;return{name:"size",max:a,path:t.toArray(),details:"Size must be at most ".concat(a),value:i}},Z=function(r){var a=r.expected,i=r.value,t=r.path;return{details:"Value must be one of expected values",name:"in",expected:h([],a,!0).sort(),path:t.toArray(),value:i}},x=function(r){var a=r.property,i=r.path;return{details:'The property "'.concat(a,'" is not expected'),name:"unexpected",path:i.toArray()}},nn=function(r){var a=r.property,i=r.path;return{details:'The property "'.concat(a,'" is required here'),name:"required",path:i.toArray()}},T=function(){function r(a,i){var t=this;this.obj=a,this.path=i,this._errors=[],this.catch=function(){for(var e,u=[],c=0;c<arguments.length;c++)u[c]=arguments[c];(e=t._errors).push.apply(e,u)},this.exists=function(e){return e in t.obj?!0:(t.catch(nn({property:e,path:t.path.of(e)})),!1)},this.object=function(e){var u,c=e?t.obj[e]:t.obj;if(e&&!t.exists(e))return!1;if(v(c))return!0;var S=e?t.path.of(e):t.path,f=(u=e??t.path.last())!==null&&u!==void 0?u:"value";return t.catch(b({typeName:"Object",property:f,path:S,value:c})),!1},this.string=function(e){var u=t.obj[e];return e&&!t.exists(e)?!1:typeof u=="string"?!0:(t.catch(b({typeName:"String",property:e,path:t.path.of(e),value:u})),!1)},this.number=function(e,u){var c=t.obj[e];return u&&!(e in t.obj)?!0:t.exists(e)?typeof c=="number"&&!Number.isNaN(c)?!0:(t.catch(b({typeName:"Number",property:e,path:t.path.of(e),value:c})),!1):!1},this.array=function(e){var u=t.obj[e];return e&&!t.exists(e)?!1:Array.isArray(u)?!0:(t.catch(b({typeName:"Array",property:e,path:t.path.of(e),value:u})),!1)},this.enum=function(e,u){var c=t.obj[e];return typeof c=="string"&&u.includes(c)?!0:(t.catch(Z({expected:u,value:c,path:t.path.of(e)})),!1)},this.empty=function(e){if(!t.array(e))return!1;var u=t.obj[e];return u.length===0?!0:(t.catch(J({max:0,value:u,path:t.path.of(e)})),!1)},this.minLength=function(e,u){if(!t.array(e))return!1;var c=t.obj[e];return c.length>=u?!0:(t.catch(X({min:u,value:c,path:t.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var u=Object.keys(t.obj).sort().filter(function(c){return!e.includes(c)});return u.forEach(function(c){return t.catch(x({property:c,path:t.path.of(c)}))}),u.length===0},this.each=function(e,u){if(t.array(e)){var c=t.obj[e],S=!1;
1c.forEach(function(f,p){if(!S){var g=u(f,t.path.of(e).of(p));g.length>0&&(S=!0),t.catch.apply(t,g)}})}}}return Object.defineProperty(r.prototype,"errors",{get:function(){var a=this,i=function(t){return JSON.stringify({details:t.details,path:t.path})};return this._errors.filter(function(t,e){return a._errors.findIndex(function(u){return i(t)===i(u)})===e})},enumerable:!1,configurable:!0}),r}(),y=[],j=function(){function r(a,i){this.contentRule=a,this.validateData=i}return r.prototype.assert=function(a,i){var t,e,u=new T(a,i);if(!u.object())return u.errors;u.noAdditionalProperties(["nodeType","data","content"]);var c=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(a,i),S=c.nodeTypes,f=c.min,p=f===void 0?0:f;if(S.length===0&&p>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(p," with no nodeTypes"));if(u.minLength("content",p),S.length===0?u.empty("content"):u.each("content",function(cn,on){var m=new T(cn,on);return m.object()&&m.enum("nodeType",S),m.errors}),u.object("data")){var g=(e=(t=this.validateData)===null||t===void 0?void 0:t.call(this,a.data,i.of("data")))!==null&&e!==void 0?e:[];u.catch.apply(u,g)}return u.errors},r}(),rn=function(r){l(a,r);function a(i,t){var e=r.call(this,t,function(u,c){return e.assertLink(u,c)})||this;return e.linkType=i,e.assertLink=function(u,c){var S=new T(u,c);if(S.object("target")){var f=new T(u.target.sys,c.of("target").of("sys"));f.object()&&(f.enum("type",[e.type]),f.enum("linkType",[e.linkType]),e.type==="Link"?(f.string("id"),f.noAdditionalProperties(["type","linkType","id"])):e.type==="ResourceLink"&&(f.string("urn"),f.noAdditionalProperties(["type","linkType","urn"]))),S.catch.apply(S,f.errors)}return S.noAdditionalProperties(["target"]),S.errors},e.type=e.linkType.startsWith("Contentful:")?"ResourceLink":"Link",e}return a}(j),tn=function(r){l(a,r);function a(){var i=r.call(this,["text"],function(t,e){return i.assertLink(t,e)})||this;return i.assertLink=function(t,e){var u=new T(t,e);return u.string("uri"),u.noAdditionalProperties(["uri"]),u.errors},i}return a}(j),A=function(r,a){return new j(r,a)},I=function(r,a){return new rn(r,a)},en=function(){function r(a){a===void 0&&(a=[]);var i=this;this.path=a,this.of=function(t){return new r(h(h([],i.path,!0),[t],!1))},this.isRoot=function(){return i.path.length===0},this.last=function(){return i.path[i.path.length-1]},this.toArray=function(){return i.path}}return r}();function an(r,a){var i=new T(r,a);return i.object()&&(i.noAdditionalProperties(["nodeType","data","value","marks"]),i.object("data"),i.each("marks",function(t,e){var u=new T(t,e);return u.object()&&u.string("type"),u.errors}),i.string("value")),i.errors}var L,N=A(h(h([],Object.values(n.INLINES),!0),["text"],!1).sort()),k=A([n.BLOCKS.LIST_ITEM]),V=I("Entry",y),W=A(function(){return{nodeTypes:[n.BLOCKS.PARAGRAPH],min:1}},function(r,a){var i=new T(r,a);return i.noAdditionalProperties(["colspan","rowspan"]),i.number("colspan",!0),i.number("rowspan",!0),i.errors}),un=(L={},L[n.BLOCKS.DOCUMENT]=A(d),L[n.BLOCKS.PARAGRAPH]=N,L[n.BLOCKS.HEADING_1]=N,L[n.BLOCKS.HEADING_2]=N,L[n.BLOCKS.HEADING_3]=N,L[n.BLOCKS.HEADING_4]=N,L[n.BLOCKS.HEADING_5]=N,L[n.BLOCKS.HEADING_6]=N,L[n.BLOCKS.QUOTE]=A(P[n.BLOCKS.QUOTE]),L[n.BLOCKS.EMBEDDED_ENTRY]=V,L[n.BLOCKS.EMBEDDED_ASSET]=I("Asset",y),L[n.BLOCKS.EMBEDDED_RESOURCE]=I("Contentful:Entry",y),L[n.BLOCKS.HR]=A(y),L[n.BLOCKS.OL_LIST]=k,L[n.BLOCKS.UL_LIST]=k,L[n.BLOCKS.LIST_ITEM]=A(h([],C,!0).sort()),L[n.BLOCKS.TABLE]=A(function(){return{nodeTypes:[n.BLOCKS.TABLE_ROW],min:1}}),L[n.BLOCKS.TABLE_ROW]=A(function(){return{nodeTypes:[n.BLOCKS.TABLE_CELL,n.BLOCKS.TABLE_HEADER_CELL],min:1}}),L[n.BLOCKS.TABLE_CELL]=W,L[n.BLOCKS.TABLE_HEADER_CELL]=W,L[n.INLINES.HYPERLINK]=new tn,L[n.INLINES.EMBEDDED_ENTRY]=V,L[n.INLINES.EMBEDDED_RESOURCE]=I("Contentful:Entry",y),L[n.INLINES.ENTRY_HYPERLINK]=I("Entry",["text"]),L[n.INLINES.ASSET_HYPERLINK]=I("Asset",["text"]),L[n.INLINES.RESOURCE_HYPERLINK]=I("Contentful:Entry",["text"]),L);function q(r,a){if(r.nodeType==="text")return an(r,a);var i=un[r.nodeType].assert(r,a);if(i.length>0)return i;var t=new T(r,a);return t.each("content",function(e,u){return q(e,u)}),t.errors}var En=function(r){var a=new en,i=new T(r,a);return i.object()&&i.enum("nodeType",[n.BLOCKS.DOCUMENT]),i.errors.length>0?i.errors:q(r,a)};n.CONTAINERS=P,n.EMPTY_DOCUMENT=B,n.HEADINGS=G,n.LIST_ITEM_BLOCKS=C,n.TABLE_BLOCKS=U,n.TEXT_CONTAINERS=E,n.TOP_LEVEL_BLOCKS=d,n.V1_MARKS=_,n.V1_NODE_TYPES=o,n.VOID_BLOCKS=w,n.helpers=F,n.val
1idateRichTextDocument=En}(Sn)),Sn}/*! 2 * escape-html 3 * Copyright(c) 2012-2013 TJ Holowaychuk 4 * Copyright(c) 2015 Andreas Lubbe 5 * Copyright(c) 2015 Tiancheng "Timothy" Gu 6 * MIT Licensed 7 */var On,Tn;function Cn(){if(Tn)return On;Tn=1;var n=/["'&<>]/;On=v;function v(D){var l=""+D,s=n.exec(l);if(!s)return l;var h,O="",d=0,C=0;for(d=s.index;d<l.length;d++){switch(l.charCodeAt(d)){case 34:h=""";break;case 38:h="&";break;case 39:h="'";break;case 60:h="<";break;case 62:h=">";break;default:continue}C!==d&&(O+=l.substring(C,d)),C=d+1,O+=h}return C!==d?O+l.substring(C,d):O}return On}var An;function Dn(){if(An)return fn;An=1;var n=dn(),v=Cn(),D=function(){return D=Object.assign||function(o){for(var _,B=1,K=arguments.length;B<K;B++){_=arguments[B];for(var R in _)Object.prototype.hasOwnProperty.call(_,R)&&(o[R]=_[R])}return o},D.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var l,s,h=function(E){return'"'.concat(E.replace(/"/g,"""),'"')},O=(l={},l[n.BLOCKS.PARAGRAPH]=function(E,o){return"<p>".concat(o(E.content),"</p>")},l[n.BLOCKS.HEADING_1]=function(E,o){return"<h1>".concat(o(E.content),"</h1>")},l[n.BLOCKS.HEADING_2]=function(E,o){return"<h2>".concat(o(E.content),"</h2>")},l[n.BLOCKS.HEADING_3]=function(E,o){return"<h3>".concat(o(E.content),"</h3>")},l[n.BLOCKS.HEADING_4]=function(E,o){return"<h4>".concat(o(E.content),"</h4>")},l[n.BLOCKS.HEADING_5]=function(E,o){return"<h5>".concat(o(E.content),"</h5>")},l[n.BLOCKS.HEADING_6]=function(E,o){return"<h6>".concat(o(E.content),"</h6>")},l[n.BLOCKS.EMBEDDED_ENTRY]=function(E,o){return"<div>".concat(o(E.content),"</div>")},l[n.BLOCKS.EMBEDDED_RESOURCE]=function(E,o){return"<div>".concat(o(E.content),"</div>")},l[n.BLOCKS.UL_LIST]=function(E,o){return"<ul>".concat(o(E.content),"</ul>")},l[n.BLOCKS.OL_LIST]=function(E,o){return"<ol>".concat(o(E.content),"</ol>")},l[n.BLOCKS.LIST_ITEM]=function(E,o){return"<li>".concat(o(E.content),"</li>")},l[n.BLOCKS.QUOTE]=function(E,o){return"<blockquote>".concat(o(E.content),"</blockquote>")},l[n.BLOCKS.HR]=function(){return"<hr/>"},l[n.BLOCKS.TABLE]=function(E,o){return"<table>".concat(o(E.content),"</table>")},l[n.BLOCKS.TABLE_ROW]=function(E,o){return"<tr>".concat(o(E.content),"</tr>")},l[n.BLOCKS.TABLE_HEADER_CELL]=function(E,o){return"<th>".concat(o(E.content),"</th>")},l[n.BLOCKS.TABLE_CELL]=function(E,o){return"<td>".concat(o(E.content),"</td>")},l[n.INLINES.ASSET_HYPERLINK]=function(E){return C(n.INLINES.ASSET_HYPERLINK,E)},l[n.INLINES.ENTRY_HYPERLINK]=function(E){return C(n.INLINES.ENTRY_HYPERLINK,E)},l[n.INLINES.RESOURCE_HYPERLINK]=function(E){return U(n.INLINES.RESOURCE_HYPERLINK,E)},l[n.INLINES.EMBEDDED_ENTRY]=function(E){return C(n.INLINES.EMBEDDED_ENTRY,E)},l[n.INLINES.EMBEDDED_RESOURCE]=function(E){return U(n.INLINES.EMBEDDED_RESOURCE,E)},l[n.INLINES.HYPERLINK]=function(E,o){var _=typeof E.data.uri=="string"?E.data.uri:"";return"<a href=".concat(h(_),">").concat(o(E.content),"</a>")},l),d=(s={},s[n.MARKS.BOLD]=function(E){return"<b>".concat(E,"</b>")},s[n.MARKS.ITALIC]=function(E){return"<i>".concat(E,"</i>")},s[n.MARKS.UNDERLINE]=function(E){return"<u>".concat(E,"</u>")},s[n.MARKS.CODE]=function(E){return"<code>".concat(E,"</code>")},s[n.MARKS.SUPERSCRIPT]=function(E){return"<sup>".concat(E,"</sup>")},s[n.MARKS.SUBSCRIPT]=function(E){return"<sub>".concat(E,"</sub>")},s[n.MARKS.STRIKETHROUGH]=function(E){return"<s>".concat(E,"</s>")},s),C=function(E,o){return"<span>type: ".concat(v(E)," id: ").concat(v(o.data.target.sys.id),"</span>")},U=function(E,o){return"<span>type: ".concat(v(E)," urn: ").concat(v(o.data.target.sys.urn),"</span>")};function w(E,o){if(o===void 0&&(o={}),!E||!E.content)return"";var _=E;return o.stripEmptyTrailingParagraph&&(_=n.helpers.stripEmptyTrailingParagraphFromDocument(E)),P(_.content,{renderNode:D(D({},O),o.renderNode),renderMark:D(D({},d),o.renderMark),preserveWhitespace:o.preserveWhitespace})}function P(E,o){var _=o.renderNode,B=o.renderMark,K=o.preserveWhitespace;return E.map(function(R){return G(R,{renderNode:_,renderMark:B,preserveWhitespace:K})}).join("")}function G(E,o){var _=o.renderNode,B=o.renderMark,K=o.preserveWhitespace;if(n.helpers.isText(E)){var R=v(E.value);return K&&(R=R.replace(/\n/g,"<br/>").replace(/ {2,}/g,function(H){return" ".repeat(H.length)})),E.marks.length>0?E.marks.reduce(function(H,M){return B[M.type]?B[M.type](H):H},R):R}else{var Y=function(H){return P(H,{renderMark:B,renderNode:_,preserveWhitespace:K})};return!E.nodeType||!_[E.nodeType]?"":_[E.nodeType](E,Y)}}return fn.documentToHtmlString=w,fn}var Nn=Dn();export{In as d,Nn as r};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.