import{t as Ae}from"./translations.Buvln_cw.js";import{k as ve,l as Be}from"./default-i18n.Bd0Z306Z.js";import{r as Te}from"./links.cMjoa9mX.js";import{c as Oe}from"./constants.B6ynd7gz.js";var ye={exports:{}};function me(){}me.prototype={on:function(n,f,u){var y=this.e||(this.e={});return(y[n]||(y[n]=[])).push({fn:f,ctx:u}),this},once:function(n,f,u){var y=this;function S(){y.off(n,S),f.apply(u,arguments)}return S._=f,this.on(n,S,u)},emit:function(n){var f=[].slice.call(arguments,1),u=((this.e||(this.e={}))[n]||[]).slice(),y=0,S=u.length;for(y;y"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var l,m=Q(o);return l=d?(l=Q(this).constructor,Reflect.construct(m,arguments,l)):m.apply(this,arguments),m=this,!(l=l)||I(l)!=="object"&&typeof l!="function"?function(g){if(g!==void 0)return g;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(m):l}}function Q(o){return(Q=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)})(o)}function $(o,d){if(o="data-clipboard-".concat(o),d.hasAttribute(o))return d.getAttribute(o)}var ne=function(){(function(v,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(x&&x.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),x&&M(v,x)})(g,p());var o,d,l,m=te(g);function g(v,x){var k;return function(R){if(!(R instanceof g))throw new TypeError("Cannot call a class as a function")}(this),(k=m.call(this)).resolveOptions(x),k.listenClick(v),k}return o=g,l=[{key:"copy",value:function(v){var x=1"u"||Element.prototype.matches||((r=Element.prototype).matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector),i.exports=function(t,p){for(;t&&t.nodeType!==9;){if(typeof t.matches=="function"&&t.matches(p))return t;t=t.parentNode}}},438:function(i,r,t){var p=t(828);function h(c,b,E,F,L){var N=(function(q,z,I,D){return function(M){M.delegateTarget=p(M.target,z),M.delegateTarget&&D.call(q,M)}}).apply(this,arguments);return c.addEventListener(E,N,L),{destroy:function(){c.removeEventListener(E,N,L)}}}i.exports=function(c,b,E,F,L){return typeof c.addEventListener=="function"?h.apply(null,arguments):typeof E=="function"?h.bind(null,document).apply(null,arguments):(typeof c=="string"&&(c=document.querySelectorAll(c)),Array.prototype.map.call(c,function(N){return h(N,b,E,F,L)}))}},879:function(i,r){r.node=function(t){return t!==void 0&&t instanceof HTMLElement&&t.nodeType===1},r.nodeList=function(t){var p=Object.prototype.toString.call(t);return t!==void 0&&(p==="[object NodeList]"||p==="[object HTMLCollection]")&&"length"in t&&(t.length===0||r.node(t[0]))},r.string=function(t){return typeof t=="string"||t instanceof String},r.fn=function(t){return Object.prototype.toString.call(t)==="[object Function]"}},370:function(i,r,t){var p=t(879),h=t(438);i.exports=function(c,b,E){if(!c&&!b&&!E)throw new Error("Missing required arguments");if(!p.string(b))throw new TypeError("Second argument must be a String");if(!p.fn(E))throw new TypeError("Third argument must be a Function");if(p.node(c))return z=b,I=E,(q=c).addEventListener(z,I),{destroy:function(){q.removeEventListener(z,I)}};if(p.nodeList(c))return F=c,L=b,N=E,Array.prototype.forEach.call(F,function(D){D.addEventListener(L,N)}),{destroy:function(){Array.prototype.forEach.call(F,function(D){D.removeEventListener(L,N)})}};if(p.string(c))return c=c,b=b,E=E,h(document.body,c,b,E);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var F,L,N,q,z,I}},817:function(i){i.exports=function(r){var t,p=r.nodeName==="SELECT"?(r.focus(),r.value):r.nodeName==="INPUT"||r.nodeName==="TEXTAREA"?((t=r.hasAttribute("readonly"))||r.setAttribute("readonly",""),r.select(),r.setSelectionRange(0,r.value.length),t||r.removeAttribute("readonly"),r.value):(r.hasAttribute("contenteditable")&&r.focus(),p=window.getSelection(),(t=document.createRange()).selectNodeContents(r),p.removeAllRanges(),p.addRange(t),p.toString());return p}},279:function(i){function r(){}r.prototype={on:function(t,p,h){var c=this.e||(this.e={});return(c[t]||(c[t]=[])).push({fn:p,ctx:h}),this},once:function(t,p,h){var c=this;function b(){c.off(t,b),p.apply(h,arguments)}return b._=p,this.on(t,b,h)},emit:function(t){for(var p=[].slice.call(arguments,1),h=((this.e||(this.e={}))[t]||[]).slice(),c=0,b=h.length;c0?a=_:e=_;while(Math.abs(T)>r&&++Y=i?z(V,H,e,w):K===0?H:q(V,j,j+h,e,w)}return function(j){return j===0?0:j===1?1:L(Y(j),a,A)}},M={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},te=!1;try{var Q=Object.defineProperty({},"passive",{get:function(){te=!0}});window.addEventListener("test",null,Q)}catch{}var $={$:function(e){return typeof e!="string"?e:document.querySelector(e)},on:function(e,a,w){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};a instanceof Array||(a=[a]);for(var T=0;T2&&arguments[2]!==void 0?arguments[2]:{};if(u(O)==="object"?C=O:typeof O=="number"&&(C.duration=O),e=$.$(P),!e)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+P);if(a=$.$(C.container||o.container),w=C.hasOwnProperty("duration")?C.duration:o.duration,T=C.hasOwnProperty("lazy")?C.lazy:o.lazy,A=C.easing||o.easing,_=C.hasOwnProperty("offset")?C.offset:o.offset,Y=C.hasOwnProperty("force")?C.force!==!1:o.force,V=C.hasOwnProperty("cancelable")?C.cancelable!==!1:o.cancelable,j=C.onStart||o.onStart,B=C.onDone||o.onDone,G=C.onCancel||o.onCancel,J=C.x===void 0?o.x:C.x,H=C.y===void 0?o.y:C.y,typeof _=="function"&&(_=_(e,a)),K=je(a),re=$e(a),we(),U=!1,!Y){var Ie=a.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:a.offsetHeight,Ce=re,Me=Ce+Ie,_e=oe-_,Re=_e+e.offsetHeight;if(_e>=Ce&&Re<=Me){B&&B(e);return}}if(j&&j(e),!se&&!ce){B&&B(e);return}return typeof A=="string"&&(A=M[A]||M.ease),he=D.apply(D,A),$.on(a,ne,be,{passive:!0}),window.requestAnimationFrame(Ee),function(){de=null,U=!0}}return De},m=l(),g=[];function v(s){for(var e=0;e{const f=/[\u203C\u2049\u20E3\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2300\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638\u2639\u263A\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692\u2693\u2694\u2696\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753\u2754\u2755\u2757\u2763\u2764\u2795\u2796\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05\u2B06\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]/,u=/[\uDC00-\uDFFF]/;return n?u.test(n)||f.test(n):!1},Pe=n=>!n||n.nodeName!=="IMG"||n.className.indexOf("emoji")===-1||!Je(n.getAttribute("alt"))?null:n,Ne=n=>{n.forEach(f=>{const u=document.createTextNode(f.getAttribute("alt"));f.parentNode.classList.add("wp-exclude-emoji"),f.parentNode.replaceChild(u,f)})},Ke=n=>{!n||n.nodeName!=="DIV"||n.className.indexOf("ql-editor")===-1||n.querySelectorAll(".ql-editor > p").forEach(f=>{f.classList.add("wp-exclude-emoji")})},Qe=()=>{const n=i=>{let r=i.length,t,p,h;const c=[];for(;r--;)for(t=i[r].addedNodes,p=t.length;p--;){h=t[p];const b=Pe(h);b&&(Ke(h),c.push(b))}Ne(c)},f=new MutationObserver(n);document.querySelectorAll(".aioseo-app, .vue-portal-target").forEach(i=>{f.observe(i,{childList:!0,subtree:!0})});const y=document.querySelectorAll(".aioseo-app img.emoji"),S=[];y.forEach(i=>{const r=Pe(i);r&&S.push(r)}),Ne(S)};document.addEventListener("DOMContentLoaded",Qe);window.aioseo=window.aioseo||{};window.aioseoBus=window.aioseoBus||{$on:(...n)=>ie.on(...n),$once:(...n)=>ie.once(...n),$off:(...n)=>ie.off(...n),$emit:(...n)=>ie.emit(...n)};window.__aioseoDynamicImportPreload__=n=>`${window.aioseo.urls.publicPath||"/"}dist/Lite/assets/${n}`;const tt=n=>(n.use(Ue),n.use(Ye,{container:"body",duration:1e3,easing:"ease-in-out",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0}),n.provide("$constants",Oe),n.provide("$isPro","Lite".toLowerCase()==="pro"),n.provide("$td","all-in-one-seo-pack"),n.provide("$tdPro","aioseo-pro"),n.provide("$links",Te),n.provide("$t",Ae),n.config.globalProperties.$constants=Oe,n.config.globalProperties.$isPro="Lite".toLowerCase()==="pro",n.config.globalProperties.$td="all-in-one-seo-pack",n.config.globalProperties.$tdPro="aioseo-pro",n.$links=n.config.globalProperties.$links=Te,n.$t=n.config.globalProperties.$t=Ae,n);export{ie as e,tt as l};