(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{1724:function(t,e,n){"use strict";n.r(e);var o=n(3835),a=n(2079);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n(3172);var i=n(0),s=n(3174),u=n.n(s),p=Object(i.a)(a.default,o.a,o.b,!1,null,"2550ec32",null);"function"==typeof u.a&&u()(p),e.default=p.exports},1901:function(t,e,n){"use strict";n.r(e);var o=n(1902),a=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e.default=a.a},1902:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n(13),n(15),n(21),n(62),n(5);var o={data:function(){return{search:"",hideEmpty:!0}},props:{tokens:{type:Array,required:!0,default:function(){return[]}}},computed:{filtered:function(){var t=this,e=function(t,e){return t.toLowerCase().includes(e.toLowerCase())};return this.tokens.filter((function(e){return!t.hideEmpty||e.value})).filter((function(n){var o=n.value,a=n.token;return!t.search||(e(a,t.search)||e(o,t.search))}))}}};e.default=o},1923:function(t,e,n){"use strict";n(7),n(10),n(6),n(8),n(11);var o=n(1);Object.defineProperty(e,"__esModule",{value:!0}),e.getDiff=e.savePhpFpmTokens=e.getPhpFpmTokens=e.getPhpFpmConfiguration=e.saveDomainCustomization=e.getDomainCustomization=e.getDomainConfig=e.rewriteConfs=e.getDomains=void 0;var a=o(n(2)),r=o(n(38));n(57),n(5),n(13),n(15),n(21),n(79),n(40);var i=o(n(78)),s=n(32);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function p(t){for(var e=1;e section."),this.$gettext("Appears just before the webapps include."),this.$gettext("The very last entry.")],"openlitespeed.conf":[this.$gettext("Appears at the very top of the template, before setting the variables."),this.$gettext("Appears in scripthandler{} section."),this.$gettext("Appears in ALL context{} sections, used for password protected directories."),this.$gettext("Appears in phpIniOverride{} section."),this.$gettext("Appears in rewrite{} section."),this.$gettext("Appears in vhssl{} section."),this.$gettext("Appears at the end of the virtualHost."),this.$gettext("The very last entry.")]}[this.filename]||[]},appendix:function(){return this.$api.customization.appendix}},created:function(){var t=this;this.$set(this,"config",this.values.config),this.tabs.forEach((function(e){var n=e.id;return t.$set(t.customValues,n,t.values[n]||"")}))},methods:{save:function(){(0,i.saveDomainCustomization)(f(f({config:this.config},this.customValues),{},{domain:this.dom,proxy:"nginx_proxy"===this.file?"yes":"none"}))}}};e.default=c},2859:function(t,e,n){var o=n(3173);o.__esModule&&(o=o.default),"string"==typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);(0,n(4).default)("64fcbcfe",o,!0,{})},3172:function(t,e,n){"use strict";n(2859)},3173:function(t,e,n){},3174:function(t,e){},3835:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return a}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("app-page",{attrs:{actions:[{handler:function(){return t.$router.push("/admin/custom-httpd/"+t.dom+"/"+t.file)},icon:"#pencil",label:t.$gettext("View")}]}},[n("ui-button-link",{attrs:{slot:"header:buttons",name:"admin/custom-httpd/view",params:{dom:t.dom,file:t.file},theme:"primary"},slot:"header:buttons"},[n("translate",[t._v("View")])],1),t._v(" "),n("app-page-section",[n("span",{directives:[{name:"flex",rawName:"v-flex"}]},[n("translate",{attrs:{tag:"h2","translate-params":{domain:t.$p6e.toU(t.dom),filename:t.filename}}},[t._v("\n %{ filename } customization for %{ domain }\n ")]),t._v(" "),n("ui-tooltip",{directives:[{name:"margin",rawName:"v-margin",value:[,,,1],expression:"[,,,1]"}],attrs:{theme:"primary",placement:"bottom"}},[n("span",[n("translate",[t._v("\n Only add the few lines of the server code you need to insert.\n ")]),t._v(" "),n("br"),t._v(" "),"nginx.conf"===t.filename?n("translate",[t._v("\n Do not add a whole server { ... } entry.\n ")]):"openlitespeed.conf"===t.filename?n("translate",[t._v("\n Do not add a whole virtualHost { ... } entry.\n ")]):n("translate",[t._v("\n Do not add a whole ..\n ")])],1)])],1),t._v(" "),n("ui-textarea-group",[t.appendix["CUSTOM.pre"]?[n("template",{slot:"pre:name"},[t._v("\n "+t._s(t.appendix["CUSTOM.pre"].name)+"\n ")]),t._v(" "),n("template",{slot:"pre:data"},[t._v("\n "+t._s(t.appendix["CUSTOM.pre"].data)+"\n ")])]:t._e(),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.config,expression:"config"}],attrs:{slot:"content"},domProps:{value:t.config},on:{input:function(e){e.target.composing||(t.config=e.target.value)}},slot:"content"}),t._v(" "),t.appendix["CUSTOM.post"]?[n("template",{slot:"post:name"},[t._v("\n "+t._s(t.appendix["CUSTOM.post"].name)+"\n ")]),t._v(" "),n("template",{slot:"post:data"},[t._v("\n "+t._s(t.appendix["CUSTOM.post"].data)+"\n ")])]:t._e()],2)],1),t._v(" "),n("app-page-section",[n("translate",{attrs:{slot:"section:title"},slot:"section:title"},[t._v("\n Additional CUSTOM tokens\n ")]),t._v(" "),n("ui-tabs",{attrs:{tabs:t.tabs,selected:t.tab},on:{"update:selected":function(e){t.tab=e}}},t._l(t.tabs,(function(e){return n("ui-textarea-group",{key:e.id,attrs:{slot:"tab:"+e.id},slot:"tab:"+e.id},[e.pre?[n("template",{slot:"pre:name"},[t._v("\n "+t._s(e.pre.name)+"\n ")]),t._v(" "),n("template",{slot:"pre:data"},[t._v("\n "+t._s(e.pre.data)+"\n ")])]:t._e(),t._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:t.customValues[e.id],expression:"customValues[tab.id]"}],attrs:{slot:"content"},domProps:{value:t.customValues[e.id]},on:{input:function(n){n.target.composing||t.$set(t.customValues,e.id,n.target.value)}},slot:"content"}),t._v(" "),e.post?[n("template",{slot:"post:name"},[t._v("\n "+t._s(e.post.name)+"\n ")]),t._v(" "),n("template",{slot:"post:data"},[t._v("\n "+t._s(e.post.data)+"\n ")])]:t._e()],2)})),1)],1),t._v(" "),n("ui-button",{attrs:{slot:"footer:buttons",theme:"safe"},on:{click:t.save},slot:"footer:buttons"},[n("translate",[t._v("Save")])],1),t._v(" "),n("ui-link",{attrs:{slot:"bottom:links",bullet:""},on:{click:function(e){t.$dialog("VIEW_ALL_AVAILABLE_TOKENS").open()}},slot:"bottom:links"},[n("translate",[t._v("View All Available Tokens")])],1),t._v(" "),n("available-tokens-dialog",t._b({},"available-tokens-dialog",{tokens:t.tokens},!1))],1)},a=[]}}]);