import{S as O}from"./AiContent.a028a71a.js";var w=function(o,t,u,r){var a;t[0]=0;for(var n=1;n<t.length;n++){var e=t[n++],s=t[n]?(t[0]|=e?1:2,u[t[n++]]):t[++n];e===3?r[0]=s:e===4?r[1]=Object.assign(r[1]||{},s):e===5?(r[1]=r[1]||{})[t[++n]]=s:e===6?r[1][t[++n]]+=s+"":e?(a=o.apply(s,w(o,s,u,["",null])),r.push(a),s[0]?t[0]|=2:(t[n-2]=0,t[n]=a)):r.push(s)}return r},d=new Map;function b(o){var t=d.get(this);return t||(t=new Map,d.set(this,t)),(t=w(this,t.get(o)||(t.set(o,t=function(u){for(var r,a,n=1,e="",s="",c=[0],l=function(i){n===1&&(i||(e=e.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?c.push(0,i,e):n===3&&(i||e)?(c.push(3,i,e),n=2):n===2&&e==="..."&&i?c.push(4,i,0):n===2&&e&&!i?c.push(5,0,!0,e):n>=5&&((e||!i&&n===5)&&(c.push(n,0,e,a),n=6),i&&(c.push(n,i,0,a),n=6)),e=""},f=0;f<u.length;f++){f&&(n===1&&l(),l(f));for(var p=0;p<u[f].length;p++)r=u[f][p],n===1?r==="<"?(l(),c=[c],n=3):e+=r:n===4?e==="--"&&r===">"?(n=1,e=""):e=r+e[0]:s?r===s?s="":e+=r:r==='"'||r==="'"?s=r:r===">"?(l(),n=1):n&&(r==="="?(n=5,a=e,e=""):r==="/"&&(n<5||u[f][p+1]===">")?(l(),n===3&&(c=c[0]),n=c,(c=c[0]).push(2,0,n),n=0):r===" "||r==="	"||r===`
`||r==="\r"?(l(),n=2):e+=r),n===3&&e==="!--"&&(n=4,c=c[0])}return l(),c}(o)),t),arguments,[])).length>1?t:t[0]}const x=b.bind(window.wp.element.createElement),y=o=>Object.prototype.toString.call(o).slice(8,-1).toLowerCase(),m=(o,t)=>{function u(){if(o.length!==t.length)return!1;for(let s=0;s<o.length;s++)if(!m(o[s],t[s]))return!1;return!0}function r(){if(Object.keys(o).length!==Object.keys(t).length)return!1;for(const s in o)if(Object.prototype.hasOwnProperty.call(o,s)&&!m(o[s],t[s]))return!1;return!0}function a(){return o.toString()===t.toString()}function n(){return o===t}const e=y(o);return e!==y(t)?!1:e==="array"?u():e==="object"?r():e==="function"?a():n()},g=o=>{const t=c=>{for(const l in o)Object.prototype.hasOwnProperty.call(o,l)&&(c[l]=g(o[l]))},u=()=>{const c={};return t(c),c},r=()=>o.map(function(c){return g(c)}),a=()=>{const c=new Map;for(const[l,f]of o)c.set(l,g(f));return c},n=()=>{const c=new Set;for(const l of o)c.add(g(l));return c},e=()=>{const c=o.bind(void 0);return t(c),c},s=y(o);return s==="object"?u():s==="array"?r():s==="map"?a():s==="set"?n():s==="function"?e():o},A=(o,t=!1)=>{const{body:u}=document.implementation.createHTMLDocument("");u.innerHTML=o;const r=u.getElementsByTagName("*");let a=r.length;for(;a--;){const n=r[a];if(n.tagName==="SCRIPT")n.parentNode.removeChild(n);else{let e=n.attributes.length;for(;e--;){const{name:s}=n.attributes[e];s.startsWith("on")&&n.removeAttribute(s)}}}return t?u.textContent.trim():u.innerHTML},k=()=>"aioseo-"+new Date().getTime().toString(36),E=(o,t)=>{const u=t.findIndex(r=>r.id===o);u!==-1&&(t[u].app.unmount(),t.splice(u,1))},v=window.wp.element.createElement,_=O.render(),h=_.children.map(o=>v(o.type,{...o.props})),M=v("svg",{..._.props},h);export{m as a,A as c,g as d,k as g,x as h,M as i,E as m};
