%PDF-
%PDF-
Mini Shell
Mini Shell
/*! This file is auto-generated */
(function() {
"use strict";var wp;(wp||={}).richText=(()=>{var tn=Object.create;var Tt=Object.defineProperty;var en=Object.getOwnPropertyDescriptor;var rn=Object.getOwnPropertyNames;var nn=Object.getPrototypeOf,on=Object.prototype.hasOwnProperty;var q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),jt=(e,t)=>{for(var r in t)Tt(e,r,{get:t[r],enumerable:!0})},ie=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of rn(t))!on.call(e,o)&&o!==r&&Tt(e,o,{get:()=>t[o],enumerable:!(n=en(t,o))||n.enumerable});return e};var d=(e,t,r)=>(r=e!=null?tn(nn(e)):{},ie(t||!e||!e.__esModule?Tt(r,"default",{value:e,enumerable:!0}):r,e)),sn=e=>ie(Tt({},"__esModule",{value:!0}),e);var W=q((no,se)=>{se.exports=window.wp.data});var le=q((ho,me)=>{me.exports=window.wp.escapeHtml});var Le=q((hi,Oe)=>{Oe.exports=window.wp.a11y});var De=q((gi,_e)=>{_e.exports=window.wp.i18n});var Pe=q((Ti,He)=>{He.exports=window.wp.privateApis});var B=q((Ai,je)=>{je.exports=window.wp.element});var $=q((Ni,Be)=>{Be.exports=window.wp.compose});var Yt=q((Ci,Ke)=>{Ke.exports=window.wp.deprecated});var Dt=q((Ui,ur)=>{ur.exports=window.wp.keycodes});var zr=q((Zs,Wr)=>{Wr.exports=window.wp.dom});var eo={};jt(eo,{RichTextData:()=>G,__experimentalRichText:()=>to,__unstableCreateElement:()=>z,__unstableToDom:()=>Jt,__unstableUseRichText:()=>Mr,applyFormat:()=>At,concat:()=>ve,create:()=>L,getActiveFormat:()=>ct,getActiveFormats:()=>Q,getActiveObject:()=>Ee,getTextContent:()=>st,insert:()=>ft,insertObject:()=>Ae,isCollapsed:()=>et,isEmpty:()=>we,join:()=>xe,privateApis:()=>ne,registerFormatType:()=>Te,remove:()=>mt,removeFormat:()=>ut,replace:()=>Fe,slice:()=>St,split:()=>Ne,store:()=>C,toHTMLString:()=>I,toggleFormat:()=>Me,unregisterFormatType:()=>ke,useAnchor:()=>Zr,useAnchorRef:()=>qr});var Ft=d(W(),1);var ce=d(W(),1);function cn(e={},t){switch(t.type){case"ADD_FORMAT_TYPES":return{...e,...t.formatTypes.reduce((r,n)=>({...r,[n.name]:n}),{})};case"REMOVE_FORMAT_TYPES":return Object.fromEntries(Object.entries(e).filter(([r])=>!t.names.includes(r)))}return e}var ae=(0,ce.combineReducers)({formatTypes:cn});var Kt={};jt(Kt,{getFormatType:()=>an,getFormatTypeForBareElement:()=>un,getFormatTypeForClassName:()=>fn,getFormatTypes:()=>Bt});var ue=d(W(),1),Bt=(0,ue.createSelector)(e=>Object.values(e.formatTypes),e=>[e.formatTypes]);function an(e,t){return e.formatTypes[t]}function un(e,t){let r=Bt(e);return r.find(({className:n,tagName:o})=>n===null&&t===o)||r.find(({className:n,tagName:o})=>n===null&&o==="*")}function fn(e,t){return Bt(e).find(({className:r})=>r===null?!1:` ${t} `.indexOf(` ${r} `)>=0)}var Ut={};jt(Ut,{addFormatTypes:()=>mn,removeFormatTypes:()=>ln});function mn(e){return{type:"ADD_FORMAT_TYPES",formatTypes:Array.isArray(e)?e:[e]}}function ln(e){return{type:"REMOVE_FORMAT_TYPES",names:Array.isArray(e)?e:[e]}}var pn="core/rich-text",C=(0,Ft.createReduxStore)(pn,{reducer:ae,selectors:Kt,actions:Ut});(0,Ft.register)(C);function nt(e,t){if(e===t)return!0;if(!e||!t||e.type!==t.type)return!1;let r=e.attributes,n=t.attributes;if((e.unregisteredAttributes||t.unregisteredAttributes)&&(r={...r,...e.unregisteredAttributes},n={...n,...t.unregisteredAttributes}),r===n)return!0;if(!r||!n)return!1;let o=Object.keys(r),i=Object.keys(n);if(o.length!==i.length)return!1;let s=o.length;for(let c=0;c<s;c++){let a=o[c];if(r[a]!==n[a])return!1}return!0}function H(e){let t=e.formats.slice();return t.forEach((r,n)=>{let o=t[n-1];if(o){let i=r.slice();i.forEach((s,c)=>{let a=o[c];nt(s,a)&&(i[c]=a)}),t[n]=i}}),{...e,formats:t}}function fe(e,t,r){return e=e.slice(),e[t]=r,e}function At(e,t,r=e.start,n=e.end){let{formats:o,activeFormats:i}=e,s=o.slice();if(r===n){let c=s[r]?.find(({type:a})=>a===t.type);if(c){let a=s[r].indexOf(c);for(;s[r]&&s[r][a]===c;)s[r]=fe(s[r],a,t),r--;for(n++;s[n]&&s[n][a]===c;)s[n]=fe(s[n],a,t),n++}}else{let c=1/0;for(let a=r;a<n;a++)if(s[a]){s[a]=s[a].filter(({type:f})=>f!==t.type);let u=s[a].length;u<c&&(c=u)}else s[a]=[],c=0;for(let a=r;a<n;a++)s[a].splice(c,0,t)}return H({...e,formats:s,activeFormats:[...i?.filter(({type:c})=>c!==t.type)||[],t]})}var Wt=d(W(),1);function z({implementation:e},t){return z.body||(z.body=e.createHTMLDocument("").body),z.body.innerHTML=t,z.body}var D="\uFFFC",gt="\uFEFF";var it=d(le(),1);function Q(e,t=[]){let{formats:r,start:n,end:o,activeFormats:i}=e;if(n===void 0)return t;if(n===o){if(i)return i;let u=r[n-1]||t,f=r[n]||t;return u.length<f.length?u:f}if(!r[n])return t;let s=r.slice(n,o),c=[...s[0]],a=s.length;for(;a--;){let u=s[a];if(!u)return t;let f=c.length;for(;f--;){let m=c[f];u.find(l=>nt(m,l))||c.splice(f,1)}if(c.length===0)return t}return c||t}var pe=d(W(),1);function qt(e){return(0,pe.select)(C).getFormatType(e)}function de(e,t){if(t)return e;let r={};for(let n in e){let o=n;n.startsWith("data-disable-rich-text-")&&(o=n.slice(23)),r[o]=e[n]}return r}function Nt({type:e,tagName:t,attributes:r,unregisteredAttributes:n,object:o,boundaryClass:i,isEditableTree:s}){let c=qt(e),a={};if(i&&s&&(a["data-rich-text-format-boundary"]="true"),!c)return r&&(a={...r,...a}),{type:e,attributes:de(a,s),object:o};a={...n,...a};for(let u in r){let f=c.attributes?c.attributes[u]:!1;f?a[f]=r[u]:a[u]=r[u]}return c.className&&(a.class?a.class=`${c.className} ${a.class}`:a.class=c.className),{type:t||c.tagName,object:c.object,attributes:de(a,s)}}function dn(e,t,r){do if(e[r]!==t[r])return!1;while(r--);return!0}function Ct({value:e,preserveWhiteSpace:t,createEmpty:r,append:n,getLastChild:o,getParent:i,isText:s,getText:c,remove:a,appendText:u,onStartIndex:f,onEndIndex:m,isEditableTree:l,placeholder:T}){let{formats:R,replacements:y,text:v,start:b,end:E}=e,h=R.length+1,A=r(),w=Q(e),F=w[w.length-1],N,O;n(A,"");for(let x=0;x<h;x++){let g=v.charAt(x),_=l&&(!O||O===`
`),j=R[x],p=o(A);if(j&&j.forEach((k,J)=>{if(p&&N&&dn(j,N,J)){p=o(p);return}let{type:rt,tagName:ht,attributes:Vt,unregisteredAttributes:xt}=k,Yr=l&&k===F,Qr=i(p),Ir=n(Qr,Nt({type:rt,tagName:ht,attributes:Vt,unregisteredAttributes:xt,boundaryClass:Yr,isEditableTree:l}));s(p)&&c(p).length===0&&a(p),p=n(Ir,"")}),x===0&&(f&&b===0&&f(A,p),m&&E===0&&m(A,p)),g===D){let k=y[x];if(!k)continue;let{type:J,attributes:rt,innerHTML:ht}=k,Vt=qt(J);if(l&&J==="#comment")p=n(i(p),{type:"span",attributes:{contenteditable:"false","data-rich-text-comment":rt["data-rich-text-comment"]}}),n(n(p,{type:"span"}),rt["data-rich-text-comment"].trim());else if(!l&&J==="script")p=n(i(p),Nt({type:"script",isEditableTree:l})),n(p,{html:decodeURIComponent(rt["data-rich-text-script"])});else if(Vt?.contentEditable===!1){if(ht||l){if(p=i(p),l){let xt={contenteditable:"false","data-rich-text-bogus":!0};b===x&&E===x+1&&(xt["data-rich-text-format-boundary"]=!0),p=n(p,{type:"span",attributes:xt}),l&&x+1===v.length&&n(i(p),gt)}p=n(p,Nt({...k,isEditableTree:l})),ht&&n(p,{html:ht})}}else p=n(i(p),Nt({...k,object:!0,isEditableTree:l}));p=n(i(p),"")}else!t&&g===`
`?(p=n(i(p),{type:"br",attributes:l?{"data-rich-text-line-break":"true"}:void 0,object:!0}),p=n(i(p),"")):s(p)?u(p,g):p=n(i(p),g);f&&b===x+1&&f(A,p),m&&E===x+1&&m(A,p),_&&x===v.length&&(n(i(p),gt),T&&v.length===0&&n(i(p),{type:"span",attributes:{"data-rich-text-placeholder":T,style:"pointer-events:none;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;"}})),N=j,O=g}return A}function I({value:e,preserveWhiteSpace:t}){let r=Ct({value:e,preserveWhiteSpace:t,createEmpty:hn,append:yn,getLastChild:gn,getParent:vn,isText:En,getText:wn,remove:xn,appendText:bn});return he(r.children)}function hn(){return{}}function gn({children:e}){return e&&e[e.length-1]}function yn(e,t){return typeof t=="string"&&(t={text:t}),t.parent=e,e.children=e.children||[],e.children.push(t),t}function bn(e,t){e.text+=t}function vn({parent:e}){return e}function En({text:e}){return typeof e=="string"}function wn({text:e}){return e}function xn(e){let t=e.parent.children.indexOf(e);return t!==-1&&e.parent.children.splice(t,1),e}function Tn({type:e,attributes:t,object:r,children:n}){if(e==="#comment")return`<!--${t["data-rich-text-comment"]}-->`;let o="";for(let i in t)(0,it.isValidAttributeName)(i)&&(o+=` ${i}="${(0,it.escapeAttribute)(t[i])}"`);return r?`<${e}${o}>`:`<${e}${o}>${he(n)}</${e}>`}function he(e=[]){return e.map(t=>t.html!==void 0?t.html:t.text===void 0?Tn(t):(0,it.escapeEditableHTML)(t.text)).join("")}function st({text:e}){return e.replace(D,"")}function ot(){return{formats:[],replacements:[],text:""}}function Fn({tagName:e,attributes:t}){let r;if(t&&t.class&&(r=(0,Wt.select)(C).getFormatTypeForClassName(t.class),r&&(t.class=` ${t.class} `.replace(` ${r.className} `," ").trim(),t.class||delete t.class)),r||(r=(0,Wt.select)(C).getFormatTypeForBareElement(e)),!r)return t?{type:e,attributes:t}:{type:e};if(r.__experimentalCreatePrepareEditableTree&&!r.__experimentalCreateOnChangeEditableValue)return null;if(!t)return{formatType:r,type:r.name,tagName:e};let n={},o={},i={...t};for(let c in r.attributes){let a=r.attributes[c];n[c]=i[a],delete i[a],typeof n[c]>"u"&&delete n[c]}for(let c in i)o[c]=t[c];r.contentEditable===!1&&delete o.contenteditable;let s={formatType:r,type:r.name,tagName:e};return Object.keys(n).length&&(s.attributes=n),Object.keys(o).length&&(s.unregisteredAttributes=o),s}var G=class yt{#t;static empty(){return new yt}static fromPlainText(t){return new yt(L({text:t}))}static fromHTMLString(t){return new yt(L({html:t}))}static fromHTMLElement(t,r={}){let{preserveWhiteSpace:n=!1}=r,o=n?t:ye(t),i=new yt(L({element:o}));return Object.defineProperty(i,"originalHTML",{value:t.innerHTML}),i}constructor(t=ot()){this.#t=t}toPlainText(){return st(this.#t)}toHTMLString({preserveWhiteSpace:t}={}){return this.originalHTML||I({value:this.#t,preserveWhiteSpace:t})}valueOf(){return this.toHTMLString()}toString(){return this.toHTMLString()}toJSON(){return this.toHTMLString()}get length(){return this.text.length}get formats(){return this.#t.formats}get replacements(){return this.#t.replacements}get text(){return this.#t.text}};for(let e of Object.getOwnPropertyNames(String.prototype))G.prototype.hasOwnProperty(e)||Object.defineProperty(G.prototype,e,{value(...t){return this.toHTMLString()[e](...t)}});function L({element:e,text:t,html:r,range:n,__unstableIsEditableTree:o}={}){return r instanceof G?{text:r.text,formats:r.formats,replacements:r.replacements}:typeof t=="string"&&t.length>0?{formats:Array(t.length),replacements:Array(t.length),text:t}:(typeof r=="string"&&r.length>0&&(e=z(document,r)),typeof e!="object"?ot():be({element:e,range:n,isEditableTree:o}))}function tt(e,t,r,n){if(!r)return;let{parentNode:o}=t,{startContainer:i,startOffset:s,endContainer:c,endOffset:a}=r,u=e.text.length;n.start!==void 0?e.start=u+n.start:t===i&&t.nodeType===t.TEXT_NODE?e.start=u+s:o===i&&t===i.childNodes[s]?e.start=u:o===i&&t===i.childNodes[s-1]?e.start=u+n.text.length:t===i&&(e.start=u),n.end!==void 0?e.end=u+n.end:t===c&&t.nodeType===t.TEXT_NODE?e.end=u+a:o===c&&t===c.childNodes[a-1]?e.end=u+n.text.length:o===c&&t===c.childNodes[a]?e.end=u:t===c&&(e.end=u+a)}function An(e,t,r){if(!t)return;let{startContainer:n,endContainer:o}=t,{startOffset:i,endOffset:s}=t;return e===n&&(i=r(e.nodeValue.slice(0,i)).length),e===o&&(s=r(e.nodeValue.slice(0,s)).length),{startContainer:n,startOffset:i,endContainer:o,endOffset:s}}function ye(e,t=!0,r=!1,n=!1){let o=e.cloneNode(!0);return o.normalize(),Array.from(o.childNodes).forEach((i,s,c)=>{if(i.nodeType===i.TEXT_NODE){let a=i.nodeValue;/[\n\t\r\f]/.test(a)&&(a=a.replace(/[\n\t\r\f]+/g," ")),a.indexOf(" ")!==-1&&(a=a.replace(/ {2,}/g," ")),s===0&&a.startsWith(" ")&&(t||r)&&(a=a.slice(1)),s===c.length-1&&a.endsWith(" ")&&(t||n)&&(a=a.slice(0,-1)),i.nodeValue=a}else if(i.nodeType===i.ELEMENT_NODE){let{previousSibling:a,nextSibling:u}=i,f=a?.textContent.endsWith(" "),m=u?.textContent.startsWith(" ");i.replaceWith(ye(i,!1,a?f:t||r,u?m:t||n))}}),o}var Nn="\r";function ge(e){return e.replace(new RegExp(`[${gt}${D}${Nn}]`,"gu"),"")}function be({element:e,range:t,isEditableTree:r}){let n=ot();if(!e)return n;if(!e.hasChildNodes())return tt(n,e,t,ot()),n;let o=e.childNodes.length;for(let s=0;s<o;s++){let c=e.childNodes[s],a=c.nodeName.toLowerCase();if(c.nodeType===c.TEXT_NODE){let m=ge(c.nodeValue);t=An(c,t,ge),tt(n,c,t,{text:m}),n.formats.length+=m.length,n.replacements.length+=m.length,n.text+=m;continue}if(c.nodeType===c.COMMENT_NODE||c.nodeType===c.ELEMENT_NODE&&c.tagName==="SPAN"&&c.hasAttribute("data-rich-text-comment")){let m={formats:[,],replacements:[{type:"#comment",attributes:{"data-rich-text-comment":c.nodeType===c.COMMENT_NODE?c.nodeValue:c.getAttribute("data-rich-text-comment")}}],text:D};tt(n,c,t,m),Z(n,m);continue}if(c.nodeType!==c.ELEMENT_NODE)continue;if(r&&a==="br"&&!c.getAttribute("data-rich-text-line-break")){tt(n,c,t,ot());continue}if(a==="script"){let m={formats:[,],replacements:[{type:a,attributes:{"data-rich-text-script":c.getAttribute("data-rich-text-script")||encodeURIComponent(c.innerHTML)}}],text:D};tt(n,c,t,m),Z(n,m);continue}if(a==="br"){tt(n,c,t,ot()),Z(n,L({text:`
`}));continue}let u=Fn({tagName:a,attributes:Cn({element:c})});if(u?.formatType?.contentEditable===!1){delete u.formatType,tt(n,c,t,ot()),Z(n,{formats:[,],replacements:[{...u,innerHTML:c.innerHTML}],text:D});continue}u&&delete u.formatType;let f=be({element:c,range:t,isEditableTree:r});if(tt(n,c,t,f),!u||c.getAttribute("data-rich-text-placeholder")||c.getAttribute("data-rich-text-bogus"))Z(n,f);else if(f.text.length===0)u.attributes&&Z(n,{formats:[,],replacements:[u],text:D});else{let m=function(l){if(m.formats===l)return m.newFormats;let T=l?[u,...l]:[u];return m.formats=l,m.newFormats=T,T};var i=m;m.newFormats=[u],Z(n,{...f,formats:Array.from(f.formats,m)})}}return n}function Cn({element:e}){if(!e.hasAttributes())return;let t=e.attributes.length,r;for(let n=0;n<t;n++){let{name:o,value:i}=e.attributes[n];if(o.indexOf("data-rich-text-")===0)continue;let s=/^on/i.test(o)?"data-disable-rich-text-"+o:o;r=r||{},r[s]=i}return r}function Z(e,t){return e.formats=e.formats.concat(t.formats),e.replacements=e.replacements.concat(t.replacements),e.text+=t.text,e}function ve(...e){return H(e.reduce(Z,L()))}function ct(e,t){return Q(e).find(({type:r})=>r===t)}function Ee({start:e,end:t,replacements:r,text:n}){if(!(e+1!==t||n[e]!==D))return r[e]}function et({start:e,end:t}){if(!(e===void 0||t===void 0))return e===t}function we({text:e}){return e.length===0}function xe(e,t=""){return typeof t=="string"&&(t=L({text:t})),H(e.reduce((r,{formats:n,replacements:o,text:i})=>({formats:r.formats.concat(t.formats,n),replacements:r.replacements.concat(t.replacements,o),text:r.text+t.text+i})))}var at=d(W(),1);function Te(e,t){if(t={name:e,...t},typeof t.name!="string"){window.console.error("Format names must be strings.");return}if(!/^[a-z][a-z0-9-]*\/[a-z][a-z0-9-]*$/.test(t.name)){window.console.error("Format names must contain a namespace prefix, include only lowercase alphanumeric characters or dashes, and start with a letter. Example: my-plugin/my-custom-format");return}if((0,at.select)(C).getFormatType(t.name)){window.console.error('Format "'+t.name+'" is already registered.');return}if(typeof t.tagName!="string"||t.tagName===""){window.console.error("Format tag names must be a string.");return}if((typeof t.className!="string"||t.className==="")&&t.className!==null){window.console.error("Format class names must be a string, or null to handle bare elements.");return}if(!/^[_a-zA-Z]+[a-zA-Z0-9_-]*$/.test(t.className)){window.console.error("A class name must begin with a letter, followed by any number of hyphens, underscores, letters, or numbers.");return}if(t.className===null){let r=(0,at.select)(C).getFormatTypeForBareElement(t.tagName);if(r&&r.name!=="core/unknown"){window.console.error(`Format "${r.name}" is already registered to handle bare tag name "${t.tagName}".`);return}}else{let r=(0,at.select)(C).getFormatTypeForClassName(t.className);if(r){window.console.error(`Format "${r.name}" is already registered to handle class name "${t.className}".`);return}}if(!("title"in t)||t.title===""){window.console.error('The format "'+t.name+'" must have a title.');return}if("keywords"in t&&t.keywords.length>3){window.console.error('The format "'+t.name+'" can have a maximum of 3 keywords.');return}if(typeof t.title!="string"){window.console.error("Format titles must be strings.");return}return(0,at.dispatch)(C).addFormatTypes(t),t}function ut(e,t,r=e.start,n=e.end){let{formats:o,activeFormats:i}=e,s=o.slice();if(r===n){let c=s[r]?.find(({type:a})=>a===t);if(c){for(;s[r]?.find(a=>a===c);)zt(s,r,t),r--;for(n++;s[n]?.find(a=>a===c);)zt(s,n,t),n++}}else for(let c=r;c<n;c++)s[c]&&zt(s,c,t);return H({...e,formats:s,activeFormats:i?.filter(({type:c})=>c!==t)||[]})}function zt(e,t,r){let n=e[t].filter(({type:o})=>o!==r);n.length?e[t]=n:delete e[t]}function ft(e,t,r=e.start,n=e.end){let{formats:o,replacements:i,text:s}=e;typeof t=="string"&&(t=L({text:t}));let c=r+t.text.length;return H({formats:o.slice(0,r).concat(t.formats,o.slice(n)),replacements:i.slice(0,r).concat(t.replacements,i.slice(n)),text:s.slice(0,r)+t.text+s.slice(n),start:c,end:c})}function mt(e,t,r){return ft(e,L(),t,r)}function Fe({formats:e,replacements:t,text:r,start:n,end:o},i,s){return r=r.replace(i,(c,...a)=>{let u=a[a.length-2],f=s,m,l;return typeof f=="function"&&(f=s(c,...a)),typeof f=="object"?(m=f.formats,l=f.replacements,f=f.text):(m=Array(f.length),l=Array(f.length),e[u]&&(m=m.fill(e[u]))),e=e.slice(0,u).concat(m,e.slice(u+c.length)),t=t.slice(0,u).concat(l,t.slice(u+c.length)),n&&(n=o=u+f.length),f}),H({formats:e,replacements:t,text:r,start:n,end:o})}function Ae(e,t,r,n){return ft(e,{formats:[,],replacements:[t],text:D},r,n)}function St(e,t=e.start,r=e.end){let{formats:n,replacements:o,text:i}=e;return t===void 0||r===void 0?{...e}:{formats:n.slice(t,r),replacements:o.slice(t,r),text:i.slice(t,r)}}function Ne({formats:e,replacements:t,text:r,start:n,end:o},i){if(typeof i!="string")return Sn(...arguments);let s=0;return r.split(i).map(c=>{let a=s,u={formats:e.slice(a,a+c.length),replacements:t.slice(a,a+c.length),text:c};return s+=i.length+c.length,n!==void 0&&o!==void 0&&(n>=a&&n<s?u.start=n-a:n<a&&o>a&&(u.start=0),o>=a&&o<s?u.end=o-a:n<s&&o>s&&(u.end=c.length)),u})}function Sn({formats:e,replacements:t,text:r,start:n,end:o},i=n,s=o){if(n===void 0||o===void 0)return;let c={formats:e.slice(0,i),replacements:t.slice(0,i),text:r.slice(0,i)},a={formats:e.slice(s),replacements:t.slice(s),text:r.slice(s),start:0,end:0};return[c,a]}function Rt(e,t){return e===t||e&&t&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset}var Gt="http://www.w3.org/1998/Math/MathML";function Xt(e,t,r){let n=e.parentNode,o=0;for(;e=e.previousSibling;)o++;return r=[o,...r],n!==t&&(r=Xt(n,t,r)),r}function Ce(e,t){for(t=[...t];e&&t.length>1;)e=e.childNodes[t.shift()];return{node:e,offset:t[0]}}function Rn(e,t){if(t.html!==void 0)return e.innerHTML+=t.html;typeof t=="string"&&(t=e.ownerDocument.createTextNode(t));let{type:r,attributes:n}=t;if(r)if(r==="#comment")t=e.ownerDocument.createComment(n["data-rich-text-comment"]);else{let o=e.namespaceURI;r==="math"?t=e.ownerDocument.createElementNS(Gt,r):o===Gt?e.tagName==="MTEXT"?t=e.ownerDocument.createElement(r):t=e.ownerDocument.createElementNS(Gt,r):t=e.ownerDocument.createElement(r);for(let i in n)t.setAttribute(i,n[i])}return e.appendChild(t)}function On(e,t){e.appendData(t)}function Ln({lastChild:e}){return e}function _n({parentNode:e}){return e}function Dn(e){return e.nodeType===e.TEXT_NODE}function Mn({nodeValue:e}){return e}function kn(e){return e.parentNode.removeChild(e)}function Jt({value:e,prepareEditableTree:t,isEditableTree:r=!0,placeholder:n,doc:o=document}){let i=[],s=[];return t&&(e={...e,formats:t(e)}),{body:Ct({value:e,createEmpty:()=>z(o,""),append:Rn,getLastChild:Ln,getParent:_n,isText:Dn,getText:Mn,remove:kn,appendText:On,onStartIndex(u,f){i=Xt(f,u,[f.nodeValue.length])},onEndIndex(u,f){s=Xt(f,u,[f.nodeValue.length])},isEditableTree:r,placeholder:n}),selection:{startPath:i,endPath:s}}}function Se({value:e,current:t,prepareEditableTree:r,__unstableDomOnly:n,placeholder:o}){let{body:i,selection:s}=Jt({value:e,prepareEditableTree:r,placeholder:o,doc:t.ownerDocument});Re(i,t),e.start!==void 0&&!n&&Hn(s,t)}function Re(e,t){let r=0,n;for(;n=e.firstChild;){let o=t.childNodes[r];if(!o)t.appendChild(n);else if(o.isEqualNode(n))e.removeChild(n);else if(o.nodeName!==n.nodeName||o.nodeType===o.TEXT_NODE&&o.data!==n.data)t.replaceChild(n,o);else{let i=o.attributes,s=n.attributes;if(i){let c=i.length;for(;c--;){let{name:a}=i[c];n.getAttribute(a)||o.removeAttribute(a)}}if(s)for(let c=0;c<s.length;c++){let{name:a,value:u}=s[c];o.getAttribute(a)!==u&&o.setAttribute(a,u)}Re(n,o),e.removeChild(n)}r++}for(;t.childNodes[r];)t.removeChild(t.childNodes[r])}function Hn({startPath:e,endPath:t},r){let{node:n,offset:o}=Ce(r,e),{node:i,offset:s}=Ce(r,t),{ownerDocument:c}=r,{defaultView:a}=c,u=a.getSelection(),f=c.createRange();f.setStart(n,o),f.setEnd(i,s);let{activeElement:m}=c;if(u.rangeCount>0){if(Rt(f,u.getRangeAt(0)))return;u.removeAllRanges()}u.addRange(f),m!==c.activeElement&&m instanceof a.HTMLElement&&m.focus()}var Zt=d(Le(),1),lt=d(De(),1);function Me(e,t){return ct(e,t.type)?(t.title&&(0,Zt.speak)((0,lt.sprintf)((0,lt.__)("%s removed."),t.title),"assertive"),ut(e,t.type)):(t.title&&(0,Zt.speak)((0,lt.sprintf)((0,lt.__)("%s applied."),t.title),"assertive"),At(e,t))}var Ot=d(W(),1);function ke(e){let t=(0,Ot.select)(C).getFormatType(e);if(!t){window.console.error(`Format ${e} is not registered.`);return}return(0,Ot.dispatch)(C).removeFormatTypes(e),t}var $e=d(Pe(),1),{lock:Ve,unlock:P}=(0,$e.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/rich-text");var U=d(B(),1),kt=d($(),1),Or=d(W(),1),Lr=d(Yt(),1);function M(e){let{ownerDocument:t}=e,{activeElement:r}=t;if(r===e)return!0;if(!r||r.contentEditable!=="true"||e.contentEditable!=="true"||!r.contains(e))return!1;let n=t.defaultView.getSelection(),{anchorNode:o,focusNode:i}=n;return!!o&&!!i&&e.contains(o)&&e.contains(i)}var Ue=d(B(),1),Pn="pre-wrap";function qe(){return(0,Ue.useCallback)(e=>{e&&(e.style.whiteSpace=e.style.whiteSpace||Pn)},[])}var $n={grad:.9,turn:360,rad:360/(2*Math.PI)},Y=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},S=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},V=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},Ie=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},We=function(e){return{r:V(e.r,0,255),g:V(e.g,0,255),b:V(e.b,0,255),a:V(e.a)}},Qt=function(e){return{r:S(e.r),g:S(e.g),b:S(e.b),a:S(e.a,3)}},Vn=/^#([0-9a-f]{3,8})$/i,Lt=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},tr=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),s=i-Math.min(t,r,n),c=s?i===t?(r-n)/s:i===r?2+(n-t)/s:4+(t-r)/s:0;return{h:60*(c<0?c+6:c),s:i?s/i*100:0,v:i/255*100,a:o}},er=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),s=n*(1-r),c=n*(1-(t-i)*r),a=n*(1-(1-t+i)*r),u=i%6;return{r:255*[n,c,s,s,a,n][u],g:255*[a,n,n,c,s,s][u],b:255*[s,s,a,n,n,c][u],a:o}},ze=function(e){return{h:Ie(e.h),s:V(e.s,0,100),l:V(e.l,0,100),a:V(e.a)}},Ge=function(e){return{h:S(e.h),s:S(e.s),l:S(e.l),a:S(e.a,3)}},Xe=function(e){return er((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},bt=function(e){return{h:(t=tr(e)).h,s:(o=(200-(r=t.s))*(n=t.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,r,n,o},jn=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Bn=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Kn=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Un=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Je={string:[[function(e){var t=Vn.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?S(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?S(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Kn.exec(e)||Un.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:We({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=jn.exec(e)||Bn.exec(e);if(!t)return null;var r,n,o=ze({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*($n[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return Xe(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=o===void 0?1:o;return Y(t)&&Y(r)&&Y(n)?We({r:Number(t),g:Number(r),b:Number(n),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=o===void 0?1:o;if(!Y(t)||!Y(r)||!Y(n))return null;var s=ze({h:Number(t),s:Number(r),l:Number(n),a:Number(i)});return Xe(s)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,i=o===void 0?1:o;if(!Y(t)||!Y(r)||!Y(n))return null;var s=(function(c){return{h:Ie(c.h),s:V(c.s,0,100),v:V(c.v,0,100),a:V(c.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(i)});return er(s)},"hsv"]]},Ze=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},qn=function(e){return typeof e=="string"?Ze(e.trim(),Je.string):typeof e=="object"&&e!==null?Ze(e,Je.object):[null,void 0]};var It=function(e,t){var r=bt(e);return{h:r.h,s:V(r.s+100*t,0,100),l:r.l,a:r.a}},te=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},Ye=function(e,t){var r=bt(e);return{h:r.h,s:r.s,l:V(r.l+100*t,0,100),a:r.a}},Qe=(function(){function e(t){this.parsed=qn(t)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return this.parsed!==null},e.prototype.brightness=function(){return S(te(this.rgba),2)},e.prototype.isDark=function(){return te(this.rgba)<.5},e.prototype.isLight=function(){return te(this.rgba)>=.5},e.prototype.toHex=function(){return t=Qt(this.rgba),r=t.r,n=t.g,o=t.b,s=(i=t.a)<1?Lt(S(255*i)):"","#"+Lt(r)+Lt(n)+Lt(o)+s;var t,r,n,o,i,s},e.prototype.toRgb=function(){return Qt(this.rgba)},e.prototype.toRgbString=function(){return t=Qt(this.rgba),r=t.r,n=t.g,o=t.b,(i=t.a)<1?"rgba("+r+", "+n+", "+o+", "+i+")":"rgb("+r+", "+n+", "+o+")";var t,r,n,o,i},e.prototype.toHsl=function(){return Ge(bt(this.rgba))},e.prototype.toHslString=function(){return t=Ge(bt(this.rgba)),r=t.h,n=t.s,o=t.l,(i=t.a)<1?"hsla("+r+", "+n+"%, "+o+"%, "+i+")":"hsl("+r+", "+n+"%, "+o+"%)";var t,r,n,o,i},e.prototype.toHsv=function(){return t=tr(this.rgba),{h:S(t.h),s:S(t.s),v:S(t.v),a:S(t.a,3)};var t},e.prototype.invert=function(){return K({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),K(It(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),K(It(this.rgba,-t))},e.prototype.grayscale=function(){return K(It(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),K(Ye(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),K(Ye(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?K({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):S(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=bt(this.rgba);return typeof t=="number"?K({h:t,s:r.s,l:r.l,a:r.a}):S(r.h)},e.prototype.isEqual=function(t){return this.toHex()===K(t).toHex()},e})(),K=function(e){return e instanceof Qe?e:new Qe(e)};var _t=d(B(),1);function rr({record:e}){let t=(0,_t.useRef)(),{activeFormats:r=[],replacements:n,start:o}=e.current,i=n[o];return(0,_t.useEffect)(()=>{if((!r||!r.length)&&!i)return;let s="*[data-rich-text-format-boundary]",c=t.current.querySelector(s);if(!c)return;let{ownerDocument:a}=c,{defaultView:u}=a,f=u.getComputedStyle(c),m=K(f.color).alpha(.2).toRgbString(),l=`.rich-text:focus ${s}`,T=`background-color: ${m}`,R=`${l} {${T}}`,y="rich-text-boundary-style",v=a.getElementById(y);v||(v=a.createElement("style"),v.id=y,a.head.appendChild(v)),v.innerHTML!==R&&(v.innerHTML=R)},[r,i]),t}var dt=d(B(),1),Ar=d($(),1);var or=d($(),1);var{subscribeDelegatedListener:nr}=P(or.privateApis),ir=e=>t=>{function r(s){let{record:c,handleChange:a}=e.current,{ownerDocument:u}=t;if(s.defaultPrevented||et(c.current)||!t.contains(u.activeElement)&&!M(t))return;let f=St(c.current),m=st(f),l=I({value:f});s.clipboardData.setData("text/plain",m),s.clipboardData.setData("text/html",l),s.clipboardData.setData("rich-text","true"),s.preventDefault(),s.type==="cut"&&a(mt(c.current))}let{defaultView:n}=t.ownerDocument,o=nr(n,"copy",r),i=nr(n,"cut",r);return()=>{o(),i()}};var cr=d($(),1);var{subscribeDelegatedListener:sr}=P(cr.privateApis),ar=()=>e=>{function t(i){let{target:s}=i;if(s===e||s.textContent&&s.isContentEditable)return;let{ownerDocument:c}=s,{defaultView:a}=c,u=a.getSelection();if(u.containsNode(s))return;let f=c.createRange(),m=s.isContentEditable?s:s.closest("[contenteditable]");f.selectNode(m),u.removeAllRanges(),u.addRange(f),i.preventDefault()}function r(i){i.relatedTarget&&!e.contains(i.relatedTarget)&&t(i)}let n=sr(e,"click",t),o=sr(e,"focusin",r);return()=>{n(),o()}};var pt=d(Dt(),1);var fr=d($(),1);var{subscribeDelegatedListener:Wn}=P(fr.privateApis);function X(e,t,r,n=!1){return Wn(e.ownerDocument,t,o=>{!e.contains(o.target)&&!M(e)||r(o)},n)}var mr=[],lr=e=>t=>{function r(n){let{keyCode:o,shiftKey:i,altKey:s,metaKey:c,ctrlKey:a}=n;if(i||s||c||a||o!==pt.LEFT&&o!==pt.RIGHT)return;let{record:u,applyRecord:f,forceRender:m}=e.current,{text:l,formats:T,start:R,end:y,activeFormats:v=[]}=u.current,b=et(u.current),{defaultView:E}=t.ownerDocument,{direction:h}=E.getComputedStyle(t),A=h==="rtl"?pt.RIGHT:pt.LEFT,w=n.keyCode===A;if(b&&v.length===0&&(R===0&&w||y===l.length&&!w)||!b)return;let F=T[R-1]||mr,N=T[R]||mr,O=w?F:N,x=v.every((J,rt)=>J===O[rt]),g=v.length;if(x?g<O.length&&g++:g--,g===v.length){u.current._newActiveFormats=O;return}n.preventDefault();let p=(x?O:w?N:F).slice(0,g),k={...u.current,activeFormats:p};u.current=k,f(k),m()}return X(t,"keydown",r,!0)};var Mt=d(Dt(),1);var pr=e=>t=>{function r(n){let{keyCode:o}=n;if(n.defaultPrevented||o!==Mt.DELETE&&o!==Mt.BACKSPACE)return;let{createRecord:i,handleChange:s}=e.current,c=i(),{start:a,end:u,text:f}=c;a===0&&u!==0&&u===f.length&&(s(mt(c)),n.preventDefault())}return X(t,"keydown",r)};var gr=d($(),1);function dr({value:e,start:t,end:r,formats:n}){let o=Math.min(t,r),i=Math.max(t,r),s=e.formats[o-1]||[],c=e.formats[i]||[];for(e.activeFormats=n.map((a,u)=>{if(s[u]){if(nt(a,s[u]))return s[u]}else if(c[u]&&nt(a,c[u]))return c[u];return a});--r>=t;)e.activeFormats.length>0?e.formats[r]=e.activeFormats:delete e.formats[r];return e}var{subscribeDelegatedListener:ee}=P(gr.privateApis),zn=new Set(["insertParagraph","insertOrderedList","insertUnorderedList","insertHorizontalRule","insertLink"]),hr=[],yr="data-rich-text-placeholder";function Gn(e){let t=e.getSelection(),{anchorNode:r,anchorOffset:n}=t;if(r.nodeType!==r.ELEMENT_NODE)return;let o=r.childNodes[n];!o||o.nodeType!==o.ELEMENT_NODE||!o.hasAttribute(yr)||t.collapseToStart()}var br=e=>t=>{let{ownerDocument:r}=t,{defaultView:n}=r,o=!1;function i(b){if(o)return;let E;b&&(E=b.inputType);let{record:h,applyRecord:A,createRecord:w,handleChange:F}=e.current;if(E&&(E.indexOf("format")===0||zn.has(E))){A(h.current);return}let N=w(),{start:O,activeFormats:x=[]}=h.current,g=!et(h.current)&&N.start<=O,_=dr({value:N,start:O,end:N.start,formats:g?[]:x});F(_)}let s;function c(){let{record:b,applyRecord:E,createRecord:h,onSelectionChange:A}=e.current;if(t.contentEditable!=="true"||r.activeElement!==t&&!M(t)||o)return;let w=n.getSelection();if(s&&s.anchorNode===w.anchorNode&&s.anchorOffset===w.anchorOffset&&s.focusNode===w.focusNode&&s.focusOffset===w.focusOffset&&s.processedStart===b.current.start&&s.processedEnd===b.current.end)return;let{start:F,end:N,text:O}=h(),x=b.current;if(s={anchorNode:w.anchorNode,anchorOffset:w.anchorOffset,focusNode:w.focusNode,focusOffset:w.focusOffset,processedStart:F,processedEnd:N},O!==x.text){i();return}if(F===x.start&&N===x.end){x.text.length===0&&F===0&&Gn(n);return}let g={...x,start:F,end:N,activeFormats:x._newActiveFormats,_newActiveFormats:void 0},_=Q(g,hr);g.activeFormats=_,b.current=g,E(g,{domOnly:!0}),A(F,N)}function a(){o=!0,t.querySelector(`[${yr}]`)?.remove()}function u(){o=!1,i({inputType:"insertText"})}function f(b){if(b.target!==t||t.contentEditable!=="true")return;let{record:E,isSelected:h,onSelectionChange:A,applyRecord:w}=e.current;if(t.parentElement.closest('[contenteditable="true"]')){let F=n.getSelection();(!F.anchorNode||!t.contains(F.anchorNode))&&(h&&E.current.start!==void 0?w(E.current):F.collapse(t,0));return}h?w(E.current):(E.current={...E.current,start:void 0,end:void 0,activeFormats:hr},s=void 0),A(E.current.start,E.current.end),window.queueMicrotask(c)}let m=X(t,"input",i,!0),l=X(t,"compositionstart",a),T=X(t,"compositionend",u,!0),R=ee(t,"focusin",f),y=ee(r,"selectionchange",c),v=["keydown","beforeinput","copy","cut","paste"].map(b=>ee(r,b,c,!0));return()=>{m(),l(),T(),R(),y(),v.forEach(b=>b())}};var Er=d($(),1);var{subscribeDelegatedListener:vr}=P(Er.privateApis),wr=()=>e=>{let{ownerDocument:t}=e,{defaultView:r}=t,n=r?.getSelection(),o;function i(){return n.rangeCount?n.getRangeAt(0):null}function s(u){let f=u.type==="keydown"?"keyup":"pointerup";function m(){t.removeEventListener(f,l),t.removeEventListener("selectionchange",m),t.removeEventListener("input",m)}function l(){m(),!Rt(o,i())&&t.dispatchEvent(new Event("selectionchange"))}t.addEventListener(f,l),t.addEventListener("selectionchange",m),t.addEventListener("input",m),o=i()}let c=vr(e,"pointerdown",s),a=vr(e,"keydown",s);return()=>{c(),a()}};var Tr=d($(),1);var{subscribeDelegatedListener:xr}=P(Tr.privateApis);function Fr(){return e=>{let{ownerDocument:t}=e,{defaultView:r}=t,n=null;function o(a){a.defaultPrevented||a.target!==e&&a.target.contains(e)&&(n=e.getAttribute("contenteditable"),e.setAttribute("contenteditable","false"),r.getSelection().removeAllRanges())}function i(){n!==null&&(e.setAttribute("contenteditable",n),n=null)}let s=xr(r,"pointerdown",o),c=xr(r,"pointerup",i);return()=>{s(),c()}}}var Xn=[br,ir,ar,lr,pr,wr,Fr];function Nr(e){let t=(0,dt.useRef)(e);(0,dt.useInsertionEffect)(()=>{t.current=e});let r=(0,dt.useMemo)(()=>Xn.map(n=>n(t)),[t]);return(0,Ar.useRefEffect)(n=>{let o=r.map(i=>i(n));return()=>{o.forEach(i=>i())}},[r])}var Sr=d(B(),1),vt=d(W(),1);function Jn(e){return e(C).getFormatTypes()}var Zn=new Set(["a","audio","button","details","embed","iframe","input","label","select","textarea","video"]);function Yn(e,t){return typeof e!="object"?{[t]:e}:Object.fromEntries(Object.entries(e).map(([r,n])=>[`${t}.${r}`,n]))}function Cr(e,t){return e[t]?e[t]:Object.keys(e).filter(r=>r.startsWith(t+".")).reduce((r,n)=>(r[n.slice(t.length+1)]=e[n],r),{})}function Rr({allowedFormats:e,withoutInteractiveFormatting:t,__unstableFormatTypeHandlerContext:r}){let n=(0,vt.useSelect)(Jn,[]),o=(0,Sr.useMemo)(()=>n.filter(({name:m,interactive:l,tagName:T})=>!(e&&!e.includes(m)||t&&(l||Zn.has(T)))),[n,e,t]),i=(0,vt.useSelect)(m=>o.reduce((l,T)=>!T.__experimentalGetPropsForEditableTreePreparation||!r?l:{...l,...Yn(T.__experimentalGetPropsForEditableTreePreparation(m,r),T.name)},{}),[o,r]),s=(0,vt.useDispatch)(),c=[],a=[],u=[],f=[];for(let m in i)f.push(i[m]);return o.forEach(m=>{if(m.__experimentalCreatePrepareEditableTree&&r){let l=m.__experimentalCreatePrepareEditableTree(Cr(i,m.name),r);m.__experimentalCreateOnChangeEditableValue?a.push(l):c.push(l)}if(m.__experimentalCreateOnChangeEditableValue&&r){let l={};m.__experimentalGetPropsForEditableTreeChangeHandler&&(l=m.__experimentalGetPropsForEditableTreeChangeHandler(s,r));let T=Cr(i,m.name);u.push(m.__experimentalCreateOnChangeEditableValue({...typeof T=="object"?T:{},...l},r))}}),{formatTypes:o,prepareHandlers:c,valueHandlers:a,changeHandlers:u,dependencies:f}}function _r({value:e="",selectionStart:t,selectionEnd:r,placeholder:n,onSelectionChange:o,preserveWhiteSpace:i,onChange:s,__unstableDisableFormats:c,__unstableIsSelected:a,__unstableDependencies:u=[],__unstableAfterParse:f,__unstableBeforeSerialize:m,__unstableAddInvisibleFormats:l}){let T=(0,Or.useRegistry)(),[,R]=(0,U.useReducer)(()=>({})),y=(0,U.useRef)();function v(){let{ownerDocument:{defaultView:g}}=y.current,_=g.getSelection(),j=_.rangeCount>0?_.getRangeAt(0):null;return L({element:y.current,range:j,__unstableIsEditableTree:!0})}function b(g,{domOnly:_}={}){Se({value:g,current:y.current,prepareEditableTree:l,__unstableDomOnly:_,placeholder:n})}let E=(0,U.useRef)(e),h=(0,U.useRef)();function A(){let g=h.current?.activeFormats;E.current=e,h.current=e,e instanceof G||(h.current=e?G.fromHTMLString(e,{preserveWhiteSpace:i}):G.empty()),h.current={text:h.current.text,formats:h.current.formats,replacements:h.current.replacements,activeFormats:g},c&&(h.current.formats=Array(e.length),h.current.replacements=Array(e.length)),f&&(h.current.formats=f(h.current)),h.current.start=t,h.current.end=r}let w=(0,U.useRef)(!1);h.current?(t!==h.current.start||r!==h.current.end)&&(w.current=a,h.current={...h.current,start:t,end:r,activeFormats:void 0}):(w.current=a,A());function F(g){if(h.current=g,b(g),c)E.current=g.text;else{let J=m?m(g):g.formats;g={...g,formats:J},typeof e=="string"?E.current=I({value:g,preserveWhiteSpace:i}):E.current=new G(g)}let{start:_,end:j,formats:p,text:k}=h.current;T.batch(()=>{o(_,j),s(E.current,{__unstableFormats:p,__unstableText:k})}),R()}function N(){let g=E.current;A();let _=g&&typeof g=="string"&&typeof e=="string"&&g.length!==e.length,j=y.current?.contains(y.current.ownerDocument.activeElement)||M(y.current),p=_&&!j;b(h.current,{domOnly:p})}let O=(0,U.useRef)(!1);(0,U.useLayoutEffect)(()=>{O.current&&e!==E.current&&(N(),R())},[e]),(0,U.useLayoutEffect)(()=>{w.current&&(y.current.ownerDocument.activeElement!==y.current&&!M(y.current)&&y.current.focus(),b(h.current),w.current=!1)},[w.current]);let x=(0,kt.useMergeRefs)([y,qe(),rr({record:h}),Nr({record:h,handleChange:F,applyRecord:b,createRecord:v,isSelected:a,onSelectionChange:o,forceRender:R}),(0,kt.useRefEffect)(()=>{N(),O.current=!0},[n,...u])]);return{value:h.current,getValue:()=>h.current,onChange:F,ref:x}}function Dr({allowedFormats:e,withoutInteractiveFormatting:t,onChange:r,__unstableDependencies:n=[],__unstableFormatTypeHandlerContext:o,...i}){let{formatTypes:s,prepareHandlers:c,valueHandlers:a,changeHandlers:u,dependencies:f}=Rr({allowedFormats:e,withoutInteractiveFormatting:t,__unstableFormatTypeHandlerContext:o});function m(y){return a.reduce((v,b)=>b(v,y.text),y.formats)}function l(y){return s.forEach(v=>{v.__experimentalCreatePrepareEditableTree&&(y=ut(y,v.name,0,y.text.length))}),y.formats}function T(y){return c.reduce((v,b)=>b(v,y.text),y.formats)}return{..._r({...i,onChange(y,{__unstableFormats:v,__unstableText:b}){r(y,{__unstableFormats:v,__unstableText:b}),Object.values(u).forEach(E=>{E(v,b)})},__unstableDependencies:[...f,...n],__unstableAfterParse:m,__unstableBeforeSerialize:l,__unstableAddInvisibleFormats:T}),formatTypes:s}}function Mr(e){return(0,Lr.default)("`__unstableUseRichText` hook",{since:"7.0"}),_r(e)}var re=d(B(),1),Et=(0,re.createContext)();Et.displayName="KeyboardShortcutContext";var wt=(0,re.createContext)();wt.displayName="InputEventContext";var kr=d(Dt(),1),Ht=d(B(),1),Hr=d($(),1);function Pr({character:e,type:t,onUse:r}){let n=(0,Ht.useContext)(Et),o=(0,Hr.useEvent)(r);return(0,Ht.useEffect)(()=>{let i=n.current;function s(c){kr.isKeyboardEvent[t](c,e)&&(o(),c.preventDefault())}return i.add(s),()=>{i.delete(s)}},[e,t,n,o]),null}var Pt=d(B(),1),$r=d($(),1);function Vr({inputType:e,onInput:t}){let r=(0,Pt.useContext)(wt),n=(0,$r.useEvent)(t);return(0,Pt.useEffect)(()=>{let o=r.current;function i(s){s.inputType===e&&(n(),s.preventDefault())}return o.add(i),()=>{o.delete(i)}},[e,r,n]),null}var jr=e=>t=>{let{keyboardShortcuts:r}=e.current;function n(o){for(let i of r.current)i(o)}return t.addEventListener("keydown",n),()=>{t.removeEventListener("keydown",n)}},Br=e=>t=>{let{inputEvents:r}=e.current;function n(o){for(let i of r.current)i(o)}return t.addEventListener("input",n),()=>{t.removeEventListener("input",n)}};var ne={};Ve(ne,{useRichText:Dr,KeyboardShortcutContext:Et,InputEventContext:wt,RichTextShortcut:Pr,RichTextInputEvent:Vr,shortcutsListener:jr,inputEventsListener:Br,ownsSelection:M,subscribeOwnedListener:X});var Kr=d(B(),1),Ur=d(Yt(),1);function qr({ref:e,value:t,settings:r={}}){(0,Ur.default)("`useAnchorRef` hook",{since:"6.1",alternative:"`useAnchor` hook"});let{tagName:n,className:o,name:i}=r,s=i?ct(t,i):void 0;return(0,Kr.useMemo)(()=>{if(!e.current)return;let{ownerDocument:{defaultView:c}}=e.current,a=c.getSelection();if(!a.rangeCount)return;let u=a.getRangeAt(0);if(!s)return u;let f=u.startContainer;for(f=f.nextElementSibling||f;f.nodeType!==f.ELEMENT_NODE;)f=f.parentNode;return f.closest(n+(o?"."+o:""))},[s,t.start,t.end,n,o])}var Xr=d($(),1),$t=d(B(),1),Jr=d(zr(),1);function Qn(e,t,r,n){let o=e.startContainer;if(o.nodeType===o.TEXT_NODE&&o instanceof window.Text&&e.startOffset===o.length&&o.nextSibling)for(o=o.nextSibling;o.firstChild;)o=o.firstChild;if(o.nodeType!==o.ELEMENT_NODE){if(!o.parentElement)return;o=o.parentElement}if(o===t||!t.contains(o))return;let i=r+(n?"."+n:"");if(!i||!(o instanceof window.HTMLElement))return;let s=o;for(;s&&s!==t;){if(s.matches(i))return s;s=s.parentElement}}function Gr(e,t){return{contextElement:t,getBoundingClientRect(){return t.contains(e.startContainer)?(0,Jr.getRectangleFromRange)(e)??e.getBoundingClientRect():t.getBoundingClientRect()}}}function oe(e,t,r){if(!e)return;let{ownerDocument:n}=e,{defaultView:o}=n,i=o?.getSelection();if(!i||!i.rangeCount)return;let s=i.getRangeAt(0);if(!(!s||!s.startContainer))return!t&&!r?Gr(s,e):Qn(s,e,t,r)??Gr(s,e)}var In={tagName:"",className:""};function Zr({editableContentElement:e,settings:t}){let{tagName:r,className:n}=t??In,o=!!(t&&"isActive"in t&&t.isActive),[i,s]=(0,$t.useState)(()=>oe(e,r,n??"")),c=(0,Xr.usePrevious)(o);return(0,$t.useLayoutEffect)(()=>{if(!e)return;function a(){s(oe(e,r,n??""))}function u(){m.addEventListener("selectionchange",a)}function f(){m.removeEventListener("selectionchange",a)}let{ownerDocument:m}=e;return(M(e)||!c&&o||c&&!o)&&(s(oe(e,r,n??"")),u()),e.addEventListener("focusin",u),e.addEventListener("focusout",f),()=>{f(),e.removeEventListener("focusin",u),e.removeEventListener("focusout",f)}},[e,r,n,o,c]),i}function to(){}return sn(eo);})();
(window.wp ||= {}).richText = wp.richText;
})();
Zerion Mini Shell 1.0
Custom Staffing Solutions | Beyond A Resume
Skip to content
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.
Primary Industry Experience
Healthcare and Home Healthcare
Talent Acquisition Solutions
Statement of Work Projects
Scroll To Top