"use strict";(self.webpackChunknextcloud=self.webpackChunknextcloud||[]).push([[7425],{37425:(n,e,t)=>{t.r(e),t.d(e,{default:()=>A});var o=t(85471),i=t(53334),s=t(7421),l=t(32073),a=t(94219),c=t(65659);const r=(0,o.pM)({__name:"DialogConfirmFileExtension",props:{oldExtension:null,newExtension:null},emits:["close"],setup(n,e){let{emit:t}=e;const r=n,d=(0,s.O)(),f=(0,o.EW)({get:()=>!d.userConfig.show_dialog_file_extension,set:n=>d.update("show_dialog_file_extension",!n)}),p=(0,o.EW)((()=>[{label:r.oldExtension?(0,i.t)("files","Keep {old}",{old:r.oldExtension}):(0,i.t)("files","Keep without extension"),icon:'',type:"secondary",callback:()=>x(!1)},{label:r.newExtension?(0,i.t)("files","Use {new}",{new:r.newExtension}):(0,i.t)("files","Remove extension"),icon:c,type:"primary",callback:()=>x(!0)}])),g=(0,o.KR)(!0);function x(n){t("close",n),g.value=!1}return{__sfc:!0,props:r,emit:t,userConfigStore:d,dontShowAgain:f,buttons:p,open:g,closeDialog:x,t:i.t,NcCheckboxRadioSwitch:l.A,NcDialog:a.A}}});var d=t(85072),f=t.n(d),p=t(97825),g=t.n(p),x=t(77659),u=t.n(x),m=t(55056),h=t.n(m),w=t(10540),v=t.n(w),b=t(41113),C=t.n(b),_=t(74598),E={};E.styleTagTransform=C(),E.setAttributes=h(),E.insert=u().bind(null,"head"),E.domAPI=g(),E.insertStyleElement=v(),f()(_.A,E),_.A&&_.A.locals&&_.A.locals;const A=(0,t(14486).A)(r,(function(){var n=this,e=n._self._c,t=n._self._setupProxy;return e(t.NcDialog,{attrs:{buttons:t.buttons,open:t.open,"can-close":!1,name:t.t("files","Change file extension"),size:"small"}},[n.newExtension&&n.oldExtension?e("p",[n._v("\n\t\t"+n._s(t.t("files",'Changing the file extension from "{old}" to "{new}" may render the file unreadable.',{old:n.oldExtension,new:n.newExtension}))+"\n\t")]):n.oldExtension?e("p",[n._v("\n\t\t"+n._s(t.t("files",'Removing the file extension "{old}" may render the file unreadable.',{old:n.oldExtension}))+"\n\t")]):n.newExtension?e("p",[n._v("\n\t\t"+n._s(t.t("files",'Adding the file extension "{new}" may render the file unreadable.',{new:n.newExtension}))+"\n\t")]):n._e(),n._v(" "),e(t.NcCheckboxRadioSwitch,{staticClass:"dialog-confirm-file-extension__checkbox",attrs:{type:"checkbox"},model:{value:t.dontShowAgain,callback:function(n){t.dontShowAgain=n},expression:"dontShowAgain"}},[n._v("\n\t\t"+n._s(t.t("files","Do not show this dialog again."))+"\n\t")])],1)}),[],!1,null,"886d4782",null).exports},74598:(n,e,t)=>{t.d(e,{A:()=>a});var o=t(71354),i=t.n(o),s=t(76314),l=t.n(s)()(i());l.push([n.id,"\n.dialog-confirm-file-extension__checkbox[data-v-886d4782] {\n\tmargin-top: 1rem;\n}\n","",{version:3,sources:["webpack://./apps/files/src/views/DialogConfirmFileExtension.vue"],names:[],mappings:";AAwFA;CACA,gBAAA;AACA",sourcesContent:["\x3c!--\n - SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n--\x3e\n\n