(()=>{"use strict";vare,r={72876:(e,r,o)=>{varn=o(21777);o(84033),o.nc=(0,n.aV)(),window.OCA.Sharing=OCA.Sharing},84033:(e,r,o)=>{varn=o(21777);o.nc=(0,n.aV)(),window.OCP.Collaboration.registerType("file",{action:()=>newPromise((e,r)=>{OC.dialogs.filepicker(t("files_sharing","Link to a file"),function(o){OC.Files.getClient().getFileInfo(o).then((r,o)=>{e(o.id)}).fail(()=>{r(newError("Cannot get fileinfo"))})},!1,null,!1,OC.dialogs.FILEPICKER_TYPE_CHOOSE,"",{allowDirectoryChooser:!0})}),typeString:t("files_sharing","Link to a file"),typeIconClass:"icon-files-dark"})}},o={};functionn(e){vari=o[e];if(void0!==i)returni.exports;vart=o[e]={id:e,loaded:!1,exports:{}};returnr[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}n.m=r,e=[],n.O=(r,o,i,t)=>{if(!o){varl=1/0;for(s=0;s<e.length;s++){for(var[o,i,t]=e[s],a=!0,d=0;d<o.length;d++)(!1&t||l>=t)&&Object.keys(n.O).every(e=>n.O[e](o[d]))?o.splice(d--,1):(a=!1,t<l&&(l=t));if(a){e.splice(s--,1);varf=i();void0!==f&&(r=f)}}returnr}t=t||0;for(vars=e.length;s>0&&e[s-1][2]>t;s--)e[s]=e[s-1];e[s]=[o,i,t]},n.n=e=>{varr=e&&e.__esModule?()=>e.default:()=>e;returnn.d(r,{a:r}),r},n.d=(e,r)=>{for(varoinr)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.e=()=>Promise.resolve(),n.g=function(){if("object"==typeofglobalThis)returnglobalThis;try{returnthis||newFunction("return this")()}catch(e){if("object"==typeofwindow)returnwindow}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.j=9643,(()=>{n.b="undefined"!=typeofdocument&&document.baseURI||self.location.href;vare={7541:0,9643:0};n.O.j=r=>0===e[r];varr=(r,o)=>{vari,t,[l,a,d]=o,f=0;if(l.some(r=>0!==e[r])){for(iina)n.o(a,i)&&(n.m[i]=a[i]);if(d)vars=d(n)}for(r&&r(o);f<l.length;f++)t=l[f],n.o(e,t)&&e[t]&&e[t][0](),e[t]=0;returnn.O(s)},o=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})(),n.nc=void0;vari=n.O(void0,[4208],()=>n(72876));i=n.O(i)})();