mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
2 lines
No EOL
20 KiB
JavaScript
2 lines
No EOL
20 KiB
JavaScript
(()=>{var e,t,i,r={84560(e,t,i){"use strict";i.d(t,{A:()=>r});const r=(0,i(35947).YK)().setApp("files").detectUser().build()},14668(e,t,i){"use strict";i.d(t,{h:()=>u});var r=i(77815),o=i(43627),n=i(84560),s=i(88975),a=i(88140),d=i(78246),l=i(99201),c=i(46502);async function u(e="/",t){const i=(0,d.j)((0,a.u)());return i.query.length<3?await async function(e,t){e=(0,o.join)((0,r.ei)(),e);const i=(0,r.aN)(),s=await l.S.getDirectoryContents(e,{details:!0,data:i,includeSelf:!0,signal:t?.signal}),a=s.data[0],d=s.data.slice(1);if(a?.filename!==e&&`${a?.filename}/`!==e)throw n.A.debug(`Exepected "${e}" but got filename "${a.filename}" instead.`),new Error("Root node does not match requested path");return{folder:(0,r.pO)(a),contents:d.map(e=>{try{return(0,r.pO)(e)}catch(t){return n.A.error(`Invalid node detected '${e.basename}'`,{error:t}),null}}).filter(Boolean)}}(e,t):await async function(e,t,i){let n=(0,s._)((0,a.u)()).getDirectoryByPath("files",e);if(!n){const t=(0,o.join)((0,r.ei)(),e),i=await l.S.stat(t,{details:!0});n=(0,r.pO)(i.data)}return{folder:n,contents:await(0,c.E)(t,{dir:e,signal:i})}}(e,i.query,t?.signal)}},46502(e,t,i){"use strict";i.d(t,{E:()=>d});var r=i(21777),o=i(77815),n=i(63814),s=i(84560),a=i(99201);async function d(e,{dir:t,signal:i}){const d=(0,r.HW)();if(!d)return[];if((e=e.trim()).length<3)return[];t&&!t.startsWith("/")&&(t=`/${t}`),s.A.debug("Searching for nodes",{query:e,dir:t});const{data:l}=await a.S.search("/",{details:!0,signal:i,data:`\n<d:searchrequest ${(0,o.CP)()}>\n\t <d:basicsearch>\n\t\t <d:select>\n\t\t\t <d:prop>\n\t\t\t ${(0,o.VX)()}\n\t\t\t </d:prop>\n\t\t </d:select>\n\t\t <d:from>\n\t\t\t <d:scope>\n\t\t\t\t <d:href>/files/${d.uid}${t||""}</d:href>\n\t\t\t\t <d:depth>infinity</d:depth>\n\t\t\t </d:scope>\n\t\t </d:from>\n\t\t <d:where>\n\t\t\t <d:like>\n\t\t\t\t <d:prop>\n\t\t\t\t\t <d:displayname/>\n\t\t\t\t </d:prop>\n\t\t\t\t <d:literal>%${e.replace("%","")}%</d:literal>\n\t\t\t </d:like>\n\t\t </d:where>\n\t\t <d:orderby/>\n\t</d:basicsearch>\n</d:searchrequest>`});return i?.aborted?[]:l.results.map(e=>(0,o.pO)(e,o.VA,(0,n.$_)()))}},99201(e,t,i){"use strict";i.d(t,{S:()=>o,t:()=>n});var r=i(77815);const o=(0,r.KU)();async function n(e){const t=(0,r.aN)(),i=await o.stat(`${(0,r.ei)()}${e}`,{details:!0,data:t});return(0,r.pO)(i.data)}},39992(e,t,i){"use strict";var r=i(21777),o=i(61338),n=i(35810),s=i(77815),a=i(10810),d=i(85471),l=i(84560);const c=new n.vd({id:0,source:(0,s.EY)()+(0,s.ei)(),root:(0,s.ei)(),owner:(0,r.HW)()?.uid||null,permissions:n.aX.NONE});(0,a.nY)("active",()=>{const e=(0,d.IJ)(),t=(0,d.KR)(),i=(0,d.IJ)(),r=(0,d.KR)(c);function s(e){t.value&&t.value.source===e.source&&(t.value=void 0)}function a(e=null){l.A.debug("Setting active view",{view:e}),i.value=e??void 0,t.value=void 0}return(0,d.wB)(t,()=>{"number"==typeof t.value?.fileid&&t.value.fileid!==r.value?.fileid&&(l.A.debug("Updating active fileid in URL query",{fileid:t.value.fileid}),window.OCP.Files.Router.goToRoute(null,{...window.OCP.Files.Router.params,fileid:String(t.value.fileid)},{...window.OCP.Files.Router.query},!0))}),function(){const e=(0,n.bh)();a(e.active),(0,o.B1)("files:node:deleted",s),e.addEventListener("updateActive",e=>{a(e.detail)})}(),{activeAction:e,activeFolder:r,activeNode:t,activeView:i}})},88975(e,t,i){"use strict";i.d(t,{_:()=>l});var r=i(61338),o=i(10810),n=i(85471),s=i(84560),a=i(99201),d=i(16488);function l(...e){const t=(0,o.nY)("files",{state:()=>({files:{},roots:{}}),getters:{getNode:e=>t=>e.files[t],getNodes:e=>t=>t.map(t=>e.files[t]).filter(Boolean),getNodesById:e=>t=>Object.values(e.files).filter(e=>e.fileid===t),getRoot:e=>t=>e.roots[t]},actions:{getDirectoryByPath(e,t){const i=(0,d.B)();let r;if(t&&"/"!==t){const o=i.getPath(e,t);o&&(r=this.getNode(o))}else r=this.getRoot(e);return r},getNodesByPath(e,t){const i=this.getDirectoryByPath(e,t);return(i?._children??[]).map(e=>this.getNode(e)).filter(Boolean)},updateNodes(e){const t=e.reduce((e,t)=>t.fileid?(e[t.source]=t,e):(s.A.error("Trying to update/set a node without fileid",{node:t}),e),{});n.Ay.set(this,"files",{...this.files,...t})},deleteNodes(e){e.forEach(e=>{e.source&&n.Ay.delete(this.files,e.source)})},setRoot({service:e,root:t}){n.Ay.set(this.roots,e,t)},onDeletedNode(e){this.deleteNodes([e])},onCreatedNode(e){this.updateNodes([e])},onMovedNode({node:e,oldSource:t}){e.fileid?(n.Ay.delete(this.files,t),this.updateNodes([e])):s.A.error("Trying to update/set a node without fileid",{node:e})},async onUpdatedNode(e){if(!e.fileid)return void s.A.error("Trying to update/set a node without fileid",{node:e});const t=this.getNodesById(e.fileid);if(t.length>1)return await Promise.all(t.map(e=>(0,a.t)(e.path))).then(this.updateNodes),void s.A.debug(t.length+" nodes updated in store",{fileid:e.fileid});1!==t.length||e.source!==t[0].source?(0,a.t)(e.path).then(e=>this.updateNodes([e])):this.updateNodes([e])},onAddFavorite(e){const t=this.getNode(e.source);t&&n.Ay.set(t.attributes,"favorite",1)},onRemoveFavorite(e){const t=this.getNode(e.source);t&&n.Ay.set(t.attributes,"favorite",0)}}})(...e);return t._initialized||((0,r.B1)("files:node:created",t.onCreatedNode),(0,r.B1)("files:node:deleted",t.onDeletedNode),(0,r.B1)("files:node:updated",t.onUpdatedNode),(0,r.B1)("files:node:moved",t.onMovedNode),(0,r.B1)("files:favorites:added",t.onAddFavorite),(0,r.B1)("files:favorites:removed",t.onRemoveFavorite),t._initialized=!0),t}},88140(e,t,i){"use strict";i.d(t,{u:()=>o});var r=i(10810);function o(){return window._nc_files_pinia||(window._nc_files_pinia=(0,r.Ey)()),window._nc_files_pinia}},16488(e,t,i){"use strict";i.d(t,{B:()=>c});var r=i(61338),o=i(35810),n=i(71225),s=i(10810),a=i(85471),d=i(84560),l=i(88975);function c(...e){const t=(0,l._)(...e),i=(0,s.nY)("paths",{state:()=>({paths:{}}),getters:{getPath:e=>(t,i)=>{if(e.paths[t])return e.paths[t][i]}},actions:{addPath(e){this.paths[e.service]||a.Ay.set(this.paths,e.service,{}),a.Ay.set(this.paths[e.service],e.path,e.source)},deletePath(e,t){this.paths[e]&&a.Ay.delete(this.paths[e],t)},onCreatedNode(e){const t=(0,o.bh)()?.active?.id||"files";e.fileid?(e.type===o.pt.Folder&&this.addPath({service:t,path:e.path,source:e.source}),this.addNodeToParentChildren(e)):d.A.error("Node has no fileid",{node:e})},onDeletedNode(e){const t=(0,o.bh)()?.active?.id||"files";e.type===o.pt.Folder&&this.deletePath(t,e.path),this.deleteNodeFromParentChildren(e)},onMovedNode({node:e,oldSource:t}){const i=(0,o.bh)()?.active?.id||"files";if(e.type===o.pt.Folder){const r=Object.entries(this.paths[i]).find(([,e])=>e===t);r?.[0]&&this.deletePath(i,r[0]),this.addPath({service:i,path:e.path,source:e.source})}const r=new o.ZH({source:t,owner:e.owner,mime:e.mime,root:e.root});this.deleteNodeFromParentChildren(r),this.addNodeToParentChildren(e)},deleteNodeFromParentChildren(e){const i=(0,o.bh)()?.active?.id||"files",r=(0,n.pD)(e.source),s="/"===e.dirname?t.getRoot(i):t.getNode(r);if(s){const t=new Set(s._children??[]);return t.delete(e.source),a.Ay.set(s,"_children",[...t.values()]),void d.A.debug("Children updated",{parent:s,node:e,children:s._children})}d.A.debug("Parent path does not exists, skipping children update",{node:e})},addNodeToParentChildren(e){const i=(0,o.bh)()?.active?.id||"files",r=(0,n.pD)(e.source),s="/"===e.dirname?t.getRoot(i):t.getNode(r);if(s){const t=new Set(s._children??[]);return t.add(e.source),a.Ay.set(s,"_children",[...t.values()]),void d.A.debug("Children updated",{parent:s,node:e,children:s._children})}d.A.debug("Parent path does not exists, skipping children update",{node:e})}}})(...e);return i._initialized||((0,r.B1)("files:node:created",i.onCreatedNode),(0,r.B1)("files:node:deleted",i.onDeletedNode),(0,r.B1)("files:node:moved",i.onMovedNode),i._initialized=!0),i}},78246(e,t,i){"use strict";i.d(t,{j:()=>l});var r=i(61338),o=i(46855),n=i(10810),s=i(85471),a=i(84560),d=i(10333);const l=(0,n.nY)("search",()=>{const e=(0,s.KR)(""),t=(0,s.KR)("filter");(0,s.wB)(t,n),(0,s.wB)(e,(e,t)=>{e.trim()!==t.trim()&&n()}),function(){(0,r.B1)("files:navigation:changed",l);const i=window.OCP.Files.Router;i.params.view===d.w&&(e.value=[i.query.query].flat()[0]??"",e.value?(t.value="globally",a.A.debug("Directly navigated to search view",{query:e.value})):(a.A.info("Directly navigated to search view without any query, redirect to files view."),i.goToRoute(void 0,{...i.params,view:"files"},{...i.query,query:void 0},!0)))}();const i=(0,o.A)(t=>{window.OCP.Files.Router.goToRoute(void 0,{view:d.w},{query:e.value},t)});function n(){(0,r.Ic)("files:search:updated",{query:e.value,scope:t.value});const o=window.OCP.Files.Router;if(o.params.view===d.w&&(""===e.value||"filter"===t.value))return t.value="filter",o.goToRoute(void 0,{view:"files"},{...o.query,query:void 0});if("filter"===t.value||!e.value)return;const n=o.params.view===d.w;a.A.debug("Update route for updated search query",{query:e.value,isSearch:n}),i(n)}function l(i){i.id!==d.w&&(e.value="",t.value="filter")}return{query:e,scope:t}})},66480(e,t,i){"use strict";i(61338),i(35810),i(53334),i(14668),i(39992)},10333(e,t,i){"use strict";i.d(t,{w:()=>r}),i(35810),i(53334),i(21777),i(77815),i(84560),i(78246),i(46502),i(66480);const r="search"},85908(e,t,i){"use strict";var r=i(61338),o=i(35810),n=i(81222);var s=i(77815),a=i(53334),d=i(85471);const l='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-link" viewBox="0 0 24 24"><path d="M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z" /></svg>';var c=i(99201);const u=(0,i(35947).YK)().setApp("files_sharing").detectUser().build();var p=i(14668),h=i(63814),f=i(82490),v=i(40173);const g=(0,n.C)("files_sharing","view"),m=(0,n.C)("files_sharing","sharingToken");d.Ay.use(v.Ay);const w=v.Ay.prototype.push;v.Ay.prototype.push=function(...e){return e.length>1?w.call(this,...e):w.call(this,e[0]).catch(b)};const y=v.Ay.prototype.replace;function b(e){if(!(0,v.Pq)(e,v.$c.duplicated))throw e;u.debug("Ignoring duplicated navigation from vue-router",{error:e})}v.Ay.prototype.replace=function(...e){return e.length>1?y.call(this,...e):y.call(this,e[0]).catch(b)};const A=new v.Ay({mode:"history",base:(0,h.Jv)("/s"),linkActiveClass:"active",routes:[{path:"/",redirect:{name:"filelist",params:{view:g,token:m}}},{path:"/:token",name:"filelist",props:!0}],stringifyQuery(e){const t=f.A.stringify(e).replace(/%2F/gim,"/");return t?"?"+t:""}});(()=>{const e=(0,n.C)("files_sharing","filename");let t,r;const l=new o.Ss({id:"public-file-drop",name:(0,a.Tl)("files_sharing","File drop"),caption:(0,a.Tl)("files_sharing","Upload files to {foldername}",{foldername:e}),icon:'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-cloud-upload" viewBox="0 0 24 24"><path d="M11 20H6.5Q4.22 20 2.61 18.43 1 16.85 1 14.58 1 12.63 2.17 11.1 3.35 9.57 5.25 9.15 5.88 6.85 7.75 5.43 9.63 4 12 4 14.93 4 16.96 6.04 19 8.07 19 11 20.73 11.2 21.86 12.5 23 13.78 23 15.5 23 17.38 21.69 18.69 20.38 20 18.5 20H13V12.85L14.6 14.4L16 13L12 9L8 13L9.4 14.4L11 12.85Z" /></svg>',order:1,emptyView:async o=>{if(void 0===t){const{default:e}=await Promise.all([i.e(4208),i.e(8192)]).then(i.bind(i,28192));t=d.Ay.extend(e)}r&&r.$destroy(),r=new t({propsData:{foldername:e}}),r.$mount(o)},getContents:async()=>({contents:[],folder:new o.vd({id:0,source:`${s.Xn}${s.VA}`,root:s.VA,owner:null,permissions:o.aX.CREATE})})});(0,o.bh)().register(l)})(),(()=>{const e=new o.Ss({id:"public-share",name:(0,a.Tl)("files_sharing","Public share"),caption:(0,a.Tl)("files_sharing","Publicly shared files."),emptyTitle:(0,a.Tl)("files_sharing","No files"),emptyCaption:(0,a.Tl)("files_sharing","Files and folders shared with you will show up here"),icon:l,order:1,getContents:p.h});(0,o.bh)().register(e)})(),(()=>{const e=new o.Ss({id:"public-file-share",name:(0,a.Tl)("files_sharing","Public file share"),caption:(0,a.Tl)("files_sharing","Publicly shared file."),emptyTitle:(0,a.Tl)("files_sharing","No file"),emptyCaption:(0,a.Tl)("files_sharing","The file shared with you will show up here"),icon:l,order:1,getContents:async(e,{signal:t})=>{try{const e=await c.S.stat((0,s.ei)(),{data:(0,s.aN)(),details:!0,signal:t});return{contents:[(0,s.pO)(e.data)],folder:new o.vd({id:0,source:`${(0,s.EY)()}${(0,s.ei)()}`,root:(0,s.ei)(),owner:null,permissions:o.aX.READ,attributes:{note:e.data.props?.note}})}}catch(e){if(t.aborted)throw u.info("Fetching contents for public file share was aborted",{error:e}),new DOMException("Aborted","AbortError");throw u.error("Failed to get contents for public file share",{error:e}),e}}});(0,o.bh)().register(e)})();const N=(0,n.C)("files_sharing","view"),P=(0,o.bh)();try{P.setActive(N)}catch{P.setActive(null)}window.OCP.Files=window.OCP.Files??{},window.OCP.Files.Router=new class{constructor(e){var t,i,r;t=this,r=void 0,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="router"))in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r,this.router=e}get name(){return this.router.currentRoute.name}get query(){return this.router.currentRoute.query||{}}get params(){return this.router.currentRoute.params||{}}get _router(){return this.router}goTo(e,t=!1){return this.router.push({path:e,replace:t})}goToRoute(e,t,i,r){e??=this.router.currentRoute.name;const o={name:e,query:i,params:t};return r?this._router.replace(o):this._router.push(o)}}(A);const C=(0,n.C)("files_sharing","fileId",null),_=(0,n.C)("files_sharing","sharingToken");null!==C&&window.OCP.Files.Router.goToRoute("filelist",{...window.OCP.Files.Router.params,token:_,fileid:String(C)},{...window.OCP.Files.Router.query,openfile:"true"}),(0,r.B1)("files:list:updated",function e({folder:t}){if((0,r.al)("files:list:updated",e),t.attributes["share-attributes"]){const e=JSON.parse(t.attributes["share-attributes"]||"[]").find(({scope:e,key:t})=>"config"===e&&"grid_view"===t);void 0!==e&&(u.debug("Loading share attributes",{gridViewAttribute:e}),(0,r.Ic)("files:config:updated",{key:"grid_view",value:!0===e.value}))}})},63779(){},77199(){},77815(e,t,i){"use strict";i.d(t,{CP:()=>u,EY:()=>v,KU:()=>m,VA:()=>f,VX:()=>c,Xn:()=>g,aN:()=>p,ei:()=>h,pO:()=>w});var r=i(21777),o=i(63814),n=i(9487),s=i(44719),a=i(70970);const d=["d:getcontentlength","d:getcontenttype","d:getetag","d:getlastmodified","d:creationdate","d:displayname","d:quota-available-bytes","d:resourcetype","nc:has-preview","nc:is-encrypted","nc:mount-type","oc:comments-unread","oc:favorite","oc:fileid","oc:owner-display-name","oc:owner-id","oc:permissions","oc:size"],l={d:"DAV:",nc:"http://nextcloud.org/ns",oc:"http://owncloud.org/ns",ocs:"http://open-collaboration-services.org/ns"};function c(){return a.s.davProperties??=[...d],a.s.davProperties.map(e=>`<${e} />`).join(" ")}function u(){return a.s.davNamespaces??={...l},Object.keys(a.s.davNamespaces).map(e=>`xmlns:${e}="${a.s.davNamespaces?.[e]}"`).join(" ")}function p(){return`<?xml version="1.0"?>\n\t\t<d:propfind ${u()}>\n\t\t\t<d:prop>\n\t\t\t\t${c()}\n\t\t\t</d:prop>\n\t\t</d:propfind>`}function h(){return(0,n.f)()?`/files/${(0,n.G)()}`:`/files/${(0,r.HW)()?.uid}`}const f=h();function v(){const e=(0,o.dC)("dav");return(0,n.f)()?e.replace("remote.php","public.php"):e}const g=v();function m(e=g,t={}){const i=(0,s.UU)(e,{headers:t});function o(e){i.setHeaders({...t,"X-Requested-With":"XMLHttpRequest",requesttoken:e??""})}return(0,r.zo)(o),o((0,r.do)()),(0,s.Gu)().patch("fetch",(e,t)=>{const i=t.headers;return i?.method&&(t.method=i.method,delete i.method),fetch(e,t)}),i}function w(e,t=f,i=g){let o=(0,r.HW)()?.uid;if((0,n.f)())o=o??"anonymous";else if(!o)throw new Error("No user id found");const s=e.props,d=function(e=""){let t=a.P.NONE;return e?(e.includes("G")&&(t|=a.P.READ),e.includes("W")&&(t|=a.P.WRITE),e.includes("CK")&&(t|=a.P.CREATE),e.includes("NV")&&(t|=a.P.UPDATE),e.includes("D")&&(t|=a.P.DELETE),e.includes("R")&&(t|=a.P.SHARE),t):t}(s?.permissions),l=String(s?.["owner-id"]||o),c=s.fileid||0,u=new Date(Date.parse(e.lastmod)),p=new Date(Date.parse(s.creationdate)),h={id:c,source:`${i}${e.filename}`,mtime:isNaN(u.getTime())||0===u.getTime()?void 0:u,crtime:isNaN(p.getTime())||0===p.getTime()?void 0:p,mime:e.mime||"application/octet-stream",displayname:void 0!==s.displayname?String(s.displayname):void 0,size:s?.size||Number.parseInt(s.getcontentlength||"0"),status:c<0?a.c.FAILED:void 0,permissions:d,owner:l,root:t,attributes:{...e,...s,hasPreview:s?.["has-preview"]}};return delete h.attributes?.props,"file"===e.type?new a.a(h):new a.b(h)}}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,loaded:!1,exports:{}};return r[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=r,e=[],n.O=(t,i,r,o)=>{if(!i){var s=1/0;for(c=0;c<e.length;c++){for(var[i,r,o]=e[c],a=!0,d=0;d<i.length;d++)(!1&o||s>=o)&&Object.keys(n.O).every(e=>n.O[e](i[d]))?i.splice(d--,1):(a=!1,o<s&&(s=o));if(a){e.splice(c--,1);var l=r();void 0!==l&&(t=l)}}return t}o=o||0;for(var c=e.length;c>0&&e[c-1][2]>o;c--)e[c]=e[c-1];e[c]=[i,r,o]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((t,i)=>(n.f[i](e,t),t),[])),n.u=e=>e+"-"+e+".js?v="+{1035:"da08d310d18692ca4e27",1764:"3654558a3474ec02b609",2457:"ce6348bfa704a5bf56fb",4271:"101cdb0f1357424796fd",6798:"995524658ab188a2d123",7471:"b4ac70873a3ab192efd0",8192:"a4fef9d0956ec0fb1edc",9281:"29ef7f217a0c6b239922",9906:"2806b05f6af5e826407f"}[e],n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},i="nextcloud-ui-legacy:",n.l=(e,r,o,s)=>{if(t[e])t[e].push(r);else{var a,d;if(void 0!==o)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var u=l[c];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==i+o){a=u;break}}a||(d=!0,(a=document.createElement("script")).charset="utf-8",n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack",i+o),a.src=e),t[e]=[r];var p=(i,r)=>{a.onerror=a.onload=null,clearTimeout(h);var o=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach(e=>e(r)),i)return i(r)},h=setTimeout(p.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=p.bind(null,a.onerror),a.onload=p.bind(null,a.onload),d&&document.head.appendChild(a)}},n.r=e=>{"undefined"!=typeof Symbol&&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=5102,(()=>{var e;globalThis.importScripts&&(e=globalThis.location+"");var t=globalThis.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=i[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{n.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={5102:0};n.f.j=(t,i)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var o=new Promise((i,o)=>r=e[t]=[i,o]);i.push(r[2]=o);var s=n.p+n.u(t),a=new Error;n.l(s,i=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=i&&("load"===i.type?"missing":i.type),s=i&&i.target&&i.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",a.name="ChunkLoadError",a.type=o,a.request=s,r[1](a)}},"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[s,a,d]=i,l=0;if(s.some(t=>0!==e[t])){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(d)var c=d(n)}for(t&&t(i);l<s.length;l++)o=s[l],n.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return n.O(c)},i=globalThis.webpackChunknextcloud_ui_legacy=globalThis.webpackChunknextcloud_ui_legacy||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),n.nc=void 0;var s=n.O(void 0,[4208],()=>n(85908));s=n.O(s)})();
|
|
//# sourceMappingURL=files_sharing-init-public.js.map?v=5c891b8dd13f837ce72e
|