import{e as _,a as f}from"./index.317ad629.js";import{B as h}from"./Editor.8a5e9531.js";import{C as g}from"./Index.2a391835.js";import{C as y}from"./Card.b75a3969.js";import{C as w}from"./SettingsRow.35256805.js";import"./translations.e71e2202.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as s,a as b}from"./default-i18n.65d58dd6.js";import{c as C,l as r,a2 as a,a6 as e,o as c,_ as S,a1 as k,a7 as x,$ as E,a4 as B}from"./runtime-core.esm-bundler.ce5add0b.js";import"./helpers.633a054c.js";import"./isEqual.59768dc1.js";import"./_baseIsEqual.c0ca09f7.js";import"./_getTag.6fb74b2e.js";import"./_baseClone.cfa156ff.js";import"./_arrayEach.6af5abac.js";import"./Input.f04bee4d.js";import"./Pencil.d82df6a1.js";import"./Trash.87a7d946.js";import"./Caret.cd869c5d.js";import"./runtime-dom.esm-bundler.dc49ee3e.js";import"./Close.ccd53ef3.js";import"./Tooltip.23c7170d.js";import"./Slide.3003ef51.js";import"./Row.bb9acf3f.js";const n="all-in-one-seo-pack",V={setup(){return{optionsStore:_(),rootStore:f()}},components:{BaseEditor:h,CoreAlert:g,CoreCard:y,CoreSettingsRow:w},data(){return{strings:{htaccessEditor:s(".htaccess Editor",n),editHtaccess:s("Edit .htaccess",n),description:b(s("This allows you to edit the .htaccess file for your site. All WordPress sites on an Apache server have a .htaccess file and we have provided you with a convenient way of editing it. Care should always be taken when editing important files from within WordPress as an incorrect change could cause WordPress to become inaccessible. %1$sBe sure to make a backup before making changes and ensure that you have FTP access to your web server and know how to access and edit files via FTP.%2$s",n),"<strong>","</strong>")}}}},A={class:"aioseo-tools-htaccess-editor"},H=["innerHTML"];function P(T,i,L,o,t,N){const l=e("core-alert"),p=e("base-editor"),d=e("core-settings-row"),m=e("core-card");return c(),C("div",A,[r(m,{slug:"htaccessEditor","header-text":t.strings.htaccessEditor},{default:a(()=>[S("div",{class:"aioseo-settings-row aioseo-section-description",innerHTML:t.strings.description},null,8,H),r(d,{name:t.strings.editHtaccess,align:""},{content:a(()=>[o.optionsStore.htaccessError?(c(),k(l,{key:0,type:"red"},{default:a(()=>[x(E(o.optionsStore.htaccessError),1)]),_:1})):B("",!0),r(p,{class:"htaccess-editor",disabled:!o.rootStore.aioseo.user.unfilteredHtml,modelValue:o.rootStore.aioseo.data.htaccess,"onUpdate:modelValue":i[0]||(i[0]=u=>o.rootStore.aioseo.data.htaccess=u),"line-numbers":"",monospace:"","preserve-whitespace":""},null,8,["disabled","modelValue"])]),_:1},8,["name"])]),_:1},8,["header-text"])])}const ao=v(V,[["render",P]]);export{ao as default};
