import{a as _,b as f}from"./index.6205915e.js";import{B as h}from"./Editor.5d5c47c6.js";import{C as g}from"./Index.92195ca4.js";import{C as w}from"./Card.1db76325.js";import{C as y}from"./SettingsRow.91d13113.js";import"./translations.e71e2202.js";import{_ as b}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as r,a as v}from"./default-i18n.65d58dd6.js";import{a3 as C,q as s,w as a,a7 as e,o as c,a4 as S,c as k,a as x,t as E,b as B}from"./runtime-core.esm-bundler.50cb9e6d.js";import"./helpers.7981a424.js";import"./tags.53ae5e4e.js";import"./isEqual.29ed9528.js";import"./_baseIsEqual.45a50e56.js";import"./_getTag.47f014a4.js";import"./_baseClone.9f29425e.js";import"./_arrayEach.6af5abac.js";import"./_getAllKeysIn.2e381a54.js";import"./Input.2db511a5.js";import"./Pencil.1f4e936a.js";import"./Trash.544ebd43.js";import"./Caret.19d3d4d0.js";import"./Plus.1c775378.js";import"./runtime-dom.esm-bundler.36191dca.js";import"./Close.650e0e8f.js";import"./Tooltip.e5a30815.js";import"./Slide.25bc4286.js";import"./Row.8a74cb5b.js";const n="all-in-one-seo-pack",V={setup(){return{optionsStore:_(),rootStore:f()}},components:{BaseEditor:h,CoreAlert:g,CoreCard:w,CoreSettingsRow:y},data(){return{strings:{htaccessEditor:r(".htaccess Editor",n),editHtaccess:r("Edit .htaccess",n),description:v(r("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 p=e("core-alert"),l=e("base-editor"),m=e("core-settings-row"),d=e("core-card");return c(),C("div",A,[s(d,{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),s(m,{name:t.strings.editHtaccess,align:""},{content:a(()=>[o.optionsStore.htaccessError?(c(),k(p,{key:0,type:"red"},{default:a(()=>[x(E(o.optionsStore.htaccessError),1)]),_:1})):B("",!0),s(l,{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 co=b(V,[["render",P]]);export{co as default};
