import{c as _,a as f}from"./index.e0fdfdc6.js";import{B as h}from"./Editor.4dffd9f5.js";import{C as g}from"./Index.2a391835.js";import{C as y}from"./Card.a415c187.js";import{C as w}from"./SettingsRow.fd3e214f.js";import"./translations.5e539ab1.js";import{_ as v}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as s,s as b}from"./default-i18n.368c2d5c.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.b1696305.js";import"./isEqual.657ec1c5.js";import"./_baseIsEqual.bda31e23.js";import"./_getTag.e070317d.js";import"./_baseClone.4457226b.js";import"./_arrayEach.6af5abac.js";import"./Input.94feb999.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};
