diff --git a/apps/files_trashbin/src/actions/restoreAction.ts b/apps/files_trashbin/src/actions/restoreAction.ts index 70b6922dba72c..a6be9d9e9367a 100644 --- a/apps/files_trashbin/src/actions/restoreAction.ts +++ b/apps/files_trashbin/src/actions/restoreAction.ts @@ -50,7 +50,7 @@ registerFileAction(new FileAction({ async exec(node: Node) { try { - const destination = generateRemoteUrl(`dav/trashbin/${getCurrentUser()?.uid}/restore/${node.basename}`) + const destination = generateRemoteUrl(`dav/trashbin/${getCurrentUser()?.uid}/restore/${encodeURIComponent(node.basename)}`) await axios({ method: 'MOVE', url: node.source, diff --git a/dist/files_trashbin-main.js b/dist/files_trashbin-main.js index 95bd65f70786b..2ae7be600da39 100644 --- a/dist/files_trashbin-main.js +++ b/dist/files_trashbin-main.js @@ -1,3 +1,3 @@ /*! For license information please see files_trashbin-main.js.LICENSE.txt */ -!function(){var t,e={37298:function(t,e,n){"use strict";var r=n(31352),i=n(80351),o=n.n(i),s=n(77958),a=n(17499),u=n(62520),c=n(79753),l=n(14596);n(26721);const h=null===(f=(0,s.ts)())?(0,a.IY)().setApp("files").build():(0,a.IY)().setApp("files").setUid(f.uid).build();var f,d=(t=>(t.DEFAULT="default",t.HIDDEN="hidden",t))(d||{}),p=(t=>(t[t.NONE=0]="NONE",t[t.CREATE=4]="CREATE",t[t.READ=1]="READ",t[t.UPDATE=2]="UPDATE",t[t.DELETE=8]="DELETE",t[t.SHARE=16]="SHARE",t[t.ALL=31]="ALL",t))(p||{});var g=(t=>(t.Folder="folder",t.File="file",t))(g||{});const m=function(t,e){return null!==t.match(e)},v=(t,e)=>{if(t.id&&"number"!=typeof t.id)throw new Error("Invalid id type of value");if(!t.source)throw new Error("Missing mandatory source");try{new URL(t.source)}catch{throw new Error("Invalid source format, source must be a valid URL")}if(!t.source.startsWith("http"))throw new Error("Invalid source format, only http(s) is supported");if(t.mtime&&!(t.mtime instanceof Date))throw new Error("Invalid mtime type");if(t.crtime&&!(t.crtime instanceof Date))throw new Error("Invalid crtime type");if(!t.mime||"string"!=typeof t.mime||!t.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw new Error("Missing or invalid mandatory mime");if("size"in t&&"number"!=typeof t.size&&void 0!==t.size)throw new Error("Invalid size type");if("permissions"in t&&void 0!==t.permissions&&!("number"==typeof t.permissions&&t.permissions>=p.NONE&&t.permissions<=p.ALL))throw new Error("Invalid permissions");if(t.owner&&null!==t.owner&&"string"!=typeof t.owner)throw new Error("Invalid owner type");if(t.attributes&&"object"!=typeof t.attributes)throw new Error("Invalid attributes type");if(t.root&&"string"!=typeof t.root)throw new Error("Invalid root type");if(t.root&&!t.root.startsWith("/"))throw new Error("Root must start with a leading slash");if(t.root&&!t.source.includes(t.root))throw new Error("Root must be part of the source");if(t.root&&m(t.source,e)){const n=t.source.match(e)[0];if(!t.source.includes((0,u.join)(n,t.root)))throw new Error("The root must be relative to the service. e.g /files/emma")}};class y{_data;_attributes;_knownDavService=/(remote|public)\.php\/(web)?dav/i;constructor(t,e){v(t,e||this._knownDavService),this._data=t;const n={set:(t,e,n)=>(this.updateMtime(),Reflect.set(t,e,n)),deleteProperty:(t,e)=>(this.updateMtime(),Reflect.deleteProperty(t,e))};this._attributes=new Proxy(t.attributes||{},n),delete this._data.attributes,e&&(this._knownDavService=e)}get source(){return this._data.source.replace(/\/$/i,"")}get basename(){return(0,u.basename)(this.source)}get extension(){return(0,u.extname)(this.source)}get dirname(){if(this.root){const t=this.source.indexOf(this.root);return(0,u.dirname)(this.source.slice(t+this.root.length)||"/")}const t=new URL(this.source);return(0,u.dirname)(t.pathname)}get mime(){return this._data.mime}get mtime(){return this._data.mtime}get crtime(){return this._data.crtime}get size(){return this._data.size}get attributes(){return this._attributes}get permissions(){return null!==this.owner||this.isDavRessource?void 0!==this._data.permissions?this._data.permissions:p.NONE:p.READ}get owner(){return this.isDavRessource?this._data.owner:null}get isDavRessource(){return m(this.source,this._knownDavService)}get root(){return this._data.root?this._data.root.replace(/^(.+)\/$/,"$1"):this.isDavRessource&&(0,u.dirname)(this.source).split(this._knownDavService).pop()||null}get path(){if(this.root){const t=this.source.indexOf(this.root);return this.source.slice(t+this.root.length)||"/"}return(this.dirname+"/"+this.basename).replace(/\/\//g,"/")}get fileid(){return this._data?.id||this.attributes?.fileid}move(t){v({...this._data,source:t},this._knownDavService),this._data.source=t,this.updateMtime()}rename(t){if(t.includes("/"))throw new Error("Invalid basename");this.move((0,u.dirname)(this.source)+"/"+t)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}}class w extends y{get type(){return g.File}}class b extends y{constructor(t){super({...t,mime:"httpd/unix-directory"})}get type(){return g.Folder}get extension(){return null}get mime(){return"httpd/unix-directory"}}(0,c.generateRemoteUrl)("dav");class x{_column;constructor(t){E(t),this._column=t}get id(){return this._column.id}get title(){return this._column.title}get render(){return this._column.render}get sort(){return this._column.sort}get summary(){return this._column.summary}}const E=function(t){if(!t.id||"string"!=typeof t.id)throw new Error("A column id is required");if(!t.title||"string"!=typeof t.title)throw new Error("A column title is required");if(!t.render||"function"!=typeof t.render)throw new Error("A render function is required");if(t.sort&&"function"!=typeof t.sort)throw new Error("Column sortFunction must be a function");if(t.summary&&"function"!=typeof t.summary)throw new Error("Column summary must be a function");return!0};var j={},N={};!function(t){const e=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+e+"]["+e+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",r=new RegExp("^"+n+"$");t.isExist=function(t){return typeof t<"u"},t.isEmptyObject=function(t){return 0===Object.keys(t).length},t.merge=function(t,e,n){if(e){const r=Object.keys(e),i=r.length;for(let o=0;o"u")},t.getAllMatches=function(t,e){const n=[];let r=e.exec(t);for(;r;){const i=[];i.startIndex=e.lastIndex-r[0].length;const o=r.length;for(let t=0;t5&&"xml"===r)return V("InvalidXml","XML declaration allowed only at the start of the document.",$(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}continue}return e}function P(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let n=1;for(e+=8;e"===t[e]&&(n--,0===n))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e"===t[e+2]){e+=2;break}return e}j.validate=function(t,e){e=Object.assign({},O,e);const n=[];let r=!1,i=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let o=0;o"!==t[o]&&" "!==t[o]&&"\t"!==t[o]&&"\n"!==t[o]&&"\r"!==t[o];o++)u+=t[o];if(u=u.trim(),"/"===u[u.length-1]&&(u=u.substring(0,u.length-1),o--),!R(u)){let e;return e=0===u.trim().length?"Invalid space after '<'.":"Tag '"+u+"' is an invalid name.",V("InvalidTag",e,$(t,o))}const c=k(t,o);if(!1===c)return V("InvalidAttr","Attributes for '"+u+"' have open quote.",$(t,o));let l=c.value;if(o=c.index,"/"===l[l.length-1]){const n=o-l.length;l=l.substring(0,l.length-1);const i=C(l,e);if(!0!==i)return V(i.err.code,i.err.msg,$(t,n+i.err.line));r=!0}else if(a){if(!c.tagClosed)return V("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",$(t,o));if(l.trim().length>0)return V("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",$(t,s));{const e=n.pop();if(u!==e.tagName){let n=$(t,e.tagStartPos);return V("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+u+"'.",$(t,s))}0==n.length&&(i=!0)}}else{const a=C(l,e);if(!0!==a)return V(a.err.code,a.err.msg,$(t,o-l.length+a.err.line));if(!0===i)return V("InvalidXml","Multiple possible root nodes found.",$(t,o));-1!==e.unpairedTags.indexOf(u)||n.push({tagName:u,tagStartPos:s}),r=!0}for(o++;o0)||V("InvalidXml","Invalid '"+JSON.stringify(n.map((t=>t.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):V("InvalidXml","Start tag expected.",1)};const I='"',L="'";function k(t,e){let n="",r="",i=!1;for(;e"===t[e]&&""===r){i=!0;break}n+=t[e]}return""===r&&{value:n,index:e,tagClosed:i}}const S=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function C(t,e){const n=_.getAllMatches(t,S),r={};for(let t=0;t!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};M.buildOptions=function(t){return Object.assign({},G,t)},M.defaultOptions=G;const U=N;function B(t,e){let n="";for(;e0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}},nt=function(t,e){const n={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let r=1,i=!1,o=!1,s="";for(;e"===t[e]){if(o?"-"===t[e-1]&&"-"===t[e-2]&&(o=!1,r--):r--,0===r)break}else"["===t[e]?i=!0:s+=t[e];else{if(i&&H(t,e))e+=7,[entityName,val,e]=B(t,e+1),-1===val.indexOf("&")&&(n[Z(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(i&&X(t,e))e+=8;else if(i&&Y(t,e))e+=8;else if(i&&K(t,e))e+=9;else{if(!q)throw new Error("Invalid DOCTYPE");o=!0}r++,s=""}if(0!==r)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:e}},rt=function(t,e={}){if(e=Object.assign({},Q,e),!t||"string"!=typeof t)return t;let n=t.trim();if(void 0!==e.skipLike&&e.skipLike.test(n))return t;if(e.hex&&W.test(n))return Number.parseInt(n,16);{const r=J.exec(n);if(r){const i=r[1],o=r[2];let s=function(t){return t&&-1!==t.indexOf(".")&&("."===(t=t.replace(/0+$/,""))?t="0":"."===t[0]?t="0"+t:"."===t[t.length-1]&&(t=t.substr(0,t.length-1))),t}(r[3]);const a=r[4]||r[6];if(!e.leadingZeros&&o.length>0&&i&&"."!==n[2]||!e.leadingZeros&&o.length>0&&!i&&"."!==n[1])return t;{const r=Number(n),u=""+r;return-1!==u.search(/[eE]/)||a?e.eNotation?r:t:-1!==n.indexOf(".")?"0"===u&&""===s||u===s||i&&u==="-"+s?r:t:o?s===u||i+s===u?r:t:n===u||n===i+u?r:t}}return t}};function it(t){const e=Object.keys(t);for(let n=0;n0)){s||(t=this.replaceEntitiesValue(t));const r=this.options.tagValueProcessor(e,t,n,i,o);return null==r?t:typeof r!=typeof t||r!==t?r:this.options.trimValues||t.trim()===t?vt(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function st(t){if(this.options.removeNSPrefix){const e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,tt.nameRegexp);const at=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function ut(t,e,n){if(!this.options.ignoreAttributes&&"string"==typeof t){const n=tt.getAllMatches(t,at),r=n.length,i={};for(let t=0;t",o,"Closing Tag is not closed.");let s=t.substring(o+2,e).trim();if(this.options.removeNSPrefix){const t=s.indexOf(":");-1!==t&&(s=s.substr(t+1))}this.options.transformTagName&&(s=this.options.transformTagName(s)),n&&(r=this.saveTextToParentTag(r,n,i));const a=i.substring(i.lastIndexOf(".")+1);if(s&&-1!==this.options.unpairedTags.indexOf(s))throw new Error(`Unpaired tag can not be used as closing tag: `);let u=0;a&&-1!==this.options.unpairedTags.indexOf(a)?(u=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=i.lastIndexOf("."),i=i.substring(0,u),n=this.tagsNodeStack.pop(),r="",o=e}else if("?"===t[o+1]){let e=gt(t,o,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,i),!(this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags)){const t=new et(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,i,e.tagName)),this.addChild(n,t,i)}o=e.closeIndex+1}else if("!--"===t.substr(o+1,3)){const e=pt(t,"--\x3e",o+4,"Comment is not closed.");if(this.options.commentPropName){const s=t.substring(o+4,e-2);r=this.saveTextToParentTag(r,n,i),n.add(this.options.commentPropName,[{[this.options.textNodeName]:s}])}o=e}else if("!D"===t.substr(o+1,2)){const e=nt(t,o);this.docTypeEntities=e.entities,o=e.i}else if("!["===t.substr(o+1,2)){const e=pt(t,"]]>",o,"CDATA is not closed.")-2,s=t.substring(o+9,e);if(r=this.saveTextToParentTag(r,n,i),this.options.cdataPropName)n.add(this.options.cdataPropName,[{[this.options.textNodeName]:s}]);else{let t=this.parseTextData(s,n.tagname,i,!0,!1,!0);null==t&&(t=""),n.add(this.options.textNodeName,t)}o=e+2}else{let s=gt(t,o,this.options.removeNSPrefix),a=s.tagName,u=s.tagExp,c=s.attrExpPresent,l=s.closeIndex;this.options.transformTagName&&(a=this.options.transformTagName(a)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,i,!1));const h=n;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(n=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),a!==e.tagname&&(i+=i?"."+a:a),this.isItStopNode(this.options.stopNodes,i,a)){let e="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)o=s.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(a))o=s.closeIndex;else{const n=this.readStopNodeData(t,a,l+1);if(!n)throw new Error(`Unexpected end of ${a}`);o=n.i,e=n.tagContent}const r=new et(a);a!==u&&c&&(r[":@"]=this.buildAttributesMap(u,i,a)),e&&(e=this.parseTextData(e,a,i,!0,c,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),r.add(this.options.textNodeName,e),this.addChild(n,r,i)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===a[a.length-1]?(a=a.substr(0,a.length-1),i=i.substr(0,i.length-1),u=a):u=u.substr(0,u.length-1),this.options.transformTagName&&(a=this.options.transformTagName(a));const t=new et(a);a!==u&&c&&(t[":@"]=this.buildAttributesMap(u,i,a)),this.addChild(n,t,i),i=i.substr(0,i.lastIndexOf("."))}else{const t=new et(a);this.tagsNodeStack.push(n),a!==u&&c&&(t[":@"]=this.buildAttributesMap(u,i,a)),this.addChild(n,t,i),n=t}r="",o=l}}else r+=t[o];return e.child};function lt(t,e,n){const r=this.options.updateTag(e.tagname,n,e[":@"]);!1===r||("string"==typeof r&&(e.tagname=r),t.addChild(e))}const ht=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const n=this.docTypeEntities[e];t=t.replace(n.regx,n.val)}for(let e in this.lastEntities){const n=this.lastEntities[e];t=t.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const n=this.htmlEntities[e];t=t.replace(n.regex,n.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function ft(t,e,n,r){return t&&(void 0===r&&(r=0===Object.keys(e.child).length),void 0!==(t=this.parseTextData(t,e.tagname,n,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,r))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function dt(t,e,n){const r="*."+n;for(const n in t){const i=t[n];if(r===i||e===i)return!0}return!1}function pt(t,e,n,r){const i=t.indexOf(e,n);if(-1===i)throw new Error(r);return i+e.length-1}function gt(t,e,n,r=">"){const i=function(t,e,n=">"){let r,i="";for(let o=e;o",n,`${e} is not closed`);if(t.substring(n+2,o).trim()===e&&(i--,0===i))return{tagContent:t.substring(r,n),i:o};n=o}else if("?"===t[n+1])n=pt(t,"?>",n+1,"StopNode is not closed.");else if("!--"===t.substr(n+1,3))n=pt(t,"--\x3e",n+3,"StopNode is not closed.");else if("!["===t.substr(n+1,2))n=pt(t,"]]>",n,"StopNode is not closed.")-2;else{const r=gt(t,n,">");r&&((r&&r.tagName)===e&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex)}}function vt(t,e,n){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&rt(t,n)}return tt.isExist(t)?t:""}var yt={};function wt(t,e,n){let r;const i={};for(let o=0;o0&&(i[e.textNodeName]=r):void 0!==r&&(i[e.textNodeName]=r),i}function bt(t){const e=Object.keys(t);for(let t=0;t"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=it,this.parseXml=ct,this.parseTextData=ot,this.resolveNameSpace=st,this.buildAttributesMap=ut,this.isItStopNode=dt,this.replaceEntitiesValue=ht,this.readStopNodeData=mt,this.saveTextToParentTag=ft,this.addChild=lt}},{prettify:_t}=yt,Ot=j;function Tt(t,e,n,r){let i="",o=!1;for(let s=0;s`,o=!1;continue}if(u===e.commentPropName){i+=r+`\x3c!--${a[u][0][e.textNodeName]}--\x3e`,o=!0;continue}if("?"===u[0]){const t=Pt(a[":@"],e),n="?xml"===u?"":r;let s=a[u][0][e.textNodeName];s=0!==s.length?" "+s:"",i+=n+`<${u}${s}${t}?>`,o=!0;continue}let l=r;""!==l&&(l+=e.indentBy);const h=r+`<${u}${Pt(a[":@"],e)}`,f=Tt(a[u],e,c,l);-1!==e.unpairedTags.indexOf(u)?e.suppressUnpairedNode?i+=h+">":i+=h+"/>":f&&0!==f.length||!e.suppressEmptyNode?f&&f.endsWith(">")?i+=h+`>${f}${r}`:(i+=h+">",f&&""!==r&&(f.includes("/>")||f.includes("`):i+=h+"/>",o=!0}return i}function At(t){const e=Object.keys(t);for(let t=0;t0&&e.processEntities)for(let n=0;n0&&(n="\n"),Tt(t,e,"",n)},St={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Ct(t){this.options=Object.assign({},St,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ft),this.processTextOrObjNode=Dt,this.options.format?(this.indentate=Vt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Dt(t,e,n){const r=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,r.attrStr,n):this.buildObjectNode(r.val,e,r.attrStr,n)}function Vt(t){return this.options.indentBy.repeat(t)}function Ft(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}Ct.prototype.build=function(t){return this.options.preserveOrder?kt(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0).val)},Ct.prototype.j2x=function(t,e){let n="",r="";for(let i in t)if(typeof t[i]>"u")this.isAttribute(i)&&(r+="");else if(null===t[i])this.isAttribute(i)?r+="":"?"===i[0]?r+=this.indentate(e)+"<"+i+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+i+"/"+this.tagEndChar;else if(t[i]instanceof Date)r+=this.buildTextValNode(t[i],i,"",e);else if("object"!=typeof t[i]){const o=this.isAttribute(i);if(o)n+=this.buildAttrPairStr(o,""+t[i]);else if(i===this.options.textNodeName){let e=this.options.tagValueProcessor(i,""+t[i]);r+=this.replaceEntitiesValue(e)}else r+=this.buildTextValNode(t[i],i,"",e)}else if(Array.isArray(t[i])){const n=t[i].length;let o="";for(let s=0;s"u"||(null===n?"?"===i[0]?r+=this.indentate(e)+"<"+i+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+i+"/"+this.tagEndChar:"object"==typeof n?this.options.oneListGroup?o+=this.j2x(n,e+1).val:o+=this.processTextOrObjNode(n,i,e):o+=this.buildTextValNode(n,i,"",e))}this.options.oneListGroup&&(o=this.buildObjectNode(o,i,"",e)),r+=o}else if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const e=Object.keys(t[i]),r=e.length;for(let o=0;o"+t+i}},Ct.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),""===i?this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+n+">"+i+"0&&this.options.processEntities)for(let e=0;e=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function Yt(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}function Kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zt(t){for(var e=1;e\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t").concat((void 0===window._nc_dav_properties&&(window._nc_dav_properties=Mt),window._nc_dav_properties.map((function(t){return"<".concat(t," />")})).join(" ")),"\n\t\n"),Qt=function(t){var e,n,r,i,o,a=function(t=""){let e=p.NONE;return t&&((t.includes("C")||t.includes("K"))&&(e|=p.CREATE),t.includes("G")&&(e|=p.READ),(t.includes("W")||t.includes("N")||t.includes("V"))&&(e|=p.UPDATE),t.includes("D")&&(e|=p.DELETE),t.includes("R")&&(e|=p.SHARE)),e}(null===(e=t.props)||void 0===e?void 0:e.permissions),u=null===(n=(0,s.ts)())||void 0===n?void 0:n.uid,l=(0,c.generateUrl)("/apps/files_trashbin/preview?fileId={fileid}&x=32&y=32",t.props),h={id:(null===(r=t.props)||void 0===r?void 0:r.fileid)||0,source:(0,c.generateRemoteUrl)("dav"+Ut+t.filename),mime:t.mime,size:(null===(i=t.props)||void 0===i?void 0:i.size)||0,permissions:a,owner:u,root:Ut,attributes:Zt(Zt(Zt({},t),t.props),{},{displayName:null===(o=t.props)||void 0===o?void 0:o["trashbin-filename"],previewUrl:l})};return delete h.attributes.props,"file"===t.type?new w(h):new b(h)},te=function(){var t,e=(t=Xt().mark((function t(){var e,n,r,i=arguments;return Xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=i.length>0&&void 0!==i[0]?i[0]:"/",t.next=3,qt.stat(e,{details:!0,data:Jt});case 3:return n=t.sent,t.next=6,qt.getDirectoryContents(e,{details:!0,data:Jt});case 6:return r=t.sent,t.abrupt("return",{folder:Qt(n.data),contents:r.data.map(Qt)});case 8:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){Yt(o,r,i,s,a,"next",t)}function a(t){Yt(o,r,i,s,a,"throw",t)}s(void 0)}))});return function(){return e.apply(this,arguments)}}(),ee=n(69183),ne=n(48033);function re(t){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(t)}function ie(){ie=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof f?e:f,s=Object.create(o.prototype),a=new _(i||[]);return r(s,"_invoke",{value:x(t,n,a)}),s}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h={};function f(){}function d(){}function p(){}var g={};u(g,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==e&&n.call(v,o)&&(g=v);var y=p.prototype=f.prototype=Object.create(g);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function i(r,o,s,a){var u=l(t[r],t,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==re(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,a)}),(function(t){i("throw",t,s,a)})):e.resolve(h).then((function(t){c.value=t,s(c)}),(function(t){return i("throw",t,s,a)}))}a(u.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function x(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=E(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function oe(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}function se(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){oe(o,r,i,s,a,"next",t)}function a(t){oe(o,r,i,s,a,"throw",t)}s(void 0)}))}}!function(t){typeof window._nc_fileactions>"u"&&(window._nc_fileactions=[],h.debug("FileActions initialized")),window._nc_fileactions.find((e=>e.id===t.id))?h.error(`FileAction ${t.id} already registered`,{action:t}):window._nc_fileactions.push(t)}(new class{_action;constructor(t){this.validateAction(t),this._action=t}get id(){return this._action.id}get displayName(){return this._action.displayName}get iconSvgInline(){return this._action.iconSvgInline}get enabled(){return this._action.enabled}get exec(){return this._action.exec}get execBatch(){return this._action.execBatch}get order(){return this._action.order}get default(){return this._action.default}get inline(){return this._action.inline}get renderInline(){return this._action.renderInline}validateAction(t){if(!t.id||"string"!=typeof t.id)throw new Error("Invalid id");if(!t.displayName||"function"!=typeof t.displayName)throw new Error("Invalid displayName function");if(!t.iconSvgInline||"function"!=typeof t.iconSvgInline)throw new Error("Invalid iconSvgInline function");if(!t.exec||"function"!=typeof t.exec)throw new Error("Invalid exec function");if("enabled"in t&&"function"!=typeof t.enabled)throw new Error("Invalid enabled function");if("execBatch"in t&&"function"!=typeof t.execBatch)throw new Error("Invalid execBatch function");if("order"in t&&"number"!=typeof t.order)throw new Error("Invalid order");if(t.default&&!Object.values(d).includes(t.default))throw new Error("Invalid default");if("inline"in t&&"function"!=typeof t.inline)throw new Error("Invalid inline function");if("renderInline"in t&&"function"!=typeof t.renderInline)throw new Error("Invalid renderInline function")}}({id:"restore",displayName:function(){return(0,r.Iu)("files_trashbin","Restore")},iconSvgInline:function(){return''},enabled:function(t,e){return"trashbin"===e.id&&t.length>0&&t.map((function(t){return t.permissions})).every((function(t){return 0!=(t&p.READ)}))},exec:function(t){return se(ie().mark((function e(){var n,r;return ie().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=(0,c.generateRemoteUrl)("dav/trashbin/".concat(null===(n=(0,s.ts)())||void 0===n?void 0:n.uid,"/restore/").concat(t.basename)),e.next=4,(0,ne.Z)({method:"MOVE",url:t.source,headers:{destination:r}});case 4:return(0,ee.j8)("files:node:deleted",t),e.abrupt("return",!0);case 8:return e.prev=8,e.t0=e.catch(0),zt.error(e.t0),e.abrupt("return",!1);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})))()},execBatch:function(t,e,n){var r=this;return se(ie().mark((function i(){return ie().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",Promise.all(t.map((function(t){return r.exec(t,e,n)}))));case 1:case"end":return i.stop()}}),i)})))()},order:1,inline:function(){return!0}})),(typeof window._nc_navigation>"u"&&(window._nc_navigation=new class{_views=[];_currentView=null;register(t){if(this._views.find((e=>e.id===t.id)))throw new Error(`View id ${t.id} is already registered`);this._views.push(t)}remove(t){const e=this._views.findIndex((e=>e.id===t));-1!==e&&this._views.splice(e,1)}get views(){return this._views}setActive(t){this._currentView=t}get active(){return this._currentView}},h.debug("Navigation service initialized")),window._nc_navigation).register(new class{_view;constructor(t){(function(t){if(!t.id||"string"!=typeof t.id)throw new Error("View id is required and must be a string");if(!t.name||"string"!=typeof t.name)throw new Error("View name is required and must be a string");if(t.columns&&t.columns.length>0&&(!t.caption||"string"!=typeof t.caption))throw new Error("View caption is required for top-level views and must be a string");if(!t.getContents||"function"!=typeof t.getContents)throw new Error("View getContents is required and must be a function");if(!t.icon||"string"!=typeof t.icon||!function(t){if("string"!=typeof t)throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);if(0===(t=t.trim()).length||!0!==Rt.XMLValidator.validate(t))return!1;let e;const n=new Rt.XMLParser;try{e=n.parse(t)}catch{return!1}return!(!e||!("svg"in e))}(t.icon))throw new Error("View icon is required and must be a valid svg string");if(!("order"in t)||"number"!=typeof t.order)throw new Error("View order is required and must be a number");if(t.columns&&t.columns.forEach((t=>{if(!(t instanceof x))throw new Error("View columns must be an array of Column. Invalid column found")})),t.emptyView&&"function"!=typeof t.emptyView)throw new Error("View emptyView must be a function");if(t.parent&&"string"!=typeof t.parent)throw new Error("View parent must be a string");if("sticky"in t&&"boolean"!=typeof t.sticky)throw new Error("View sticky must be a boolean");if("expanded"in t&&"boolean"!=typeof t.expanded)throw new Error("View expanded must be a boolean");if(t.defaultSortKey&&"string"!=typeof t.defaultSortKey)throw new Error("View defaultSortKey must be a string")})(t),this._view=t}get id(){return this._view.id}get name(){return this._view.name}get caption(){return this._view.caption}get emptyTitle(){return this._view.emptyTitle}get emptyCaption(){return this._view.emptyCaption}get getContents(){return this._view.getContents}get icon(){return this._view.icon}set icon(t){this._view.icon=t}get order(){return this._view.order}set order(t){this._view.order=t}get params(){return this._view.params}set params(t){this._view.params=t}get columns(){return this._view.columns}get emptyView(){return this._view.emptyView}get parent(){return this._view.parent}get sticky(){return this._view.sticky}get expanded(){return this._view.expanded}set expanded(t){this._view.expanded=t}get defaultSortKey(){return this._view.defaultSortKey}}({id:"trashbin",name:(0,r.Iu)("files_trashbin","Deleted files"),caption:(0,r.Iu)("files_trashbin","List of files that have been deleted."),emptyTitle:(0,r.Iu)("files_trashbin","No deleted files"),emptyCaption:(0,r.Iu)("files_trashbin","Files and folders you have deleted will show up here"),icon:'',order:50,sticky:!0,defaultSortKey:"deleted",columns:[new x({id:"deleted",title:(0,r.Iu)("files_trashbin","Deleted"),render:function(t){var e,n=null===(e=t.attributes)||void 0===e?void 0:e["trashbin-deletion-time"],i=document.createElement("span");return n?(i.title=o().unix(n).format("LLL"),i.textContent=o().unix(n).fromNow(),i):(i.textContent=(0,r.Iu)("files_trashbin","A long time ago"),i)},sort:function(t,e){var n,r,i=(null===(n=t.attributes)||void 0===n?void 0:n["trashbin-deletion-time"])||(null==t?void 0:t.mtime)||0;return((null===(r=e.attributes)||void 0===r?void 0:r["trashbin-deletion-time"])||(null==e?void 0:e.mtime)||0)-i}})],getContents:te}))},46700:function(t,e,n){var r={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id=46700},24654:function(){},52361:function(){},94616:function(){}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=e,t=[],r.O=function(e,n,i,o){if(!n){var s=1/0;for(l=0;l=o)&&Object.keys(r.O).every((function(t){return r.O[t](n[u])}))?n.splice(u--,1):(a=!1,o0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[n,i,o]},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},r.j=5992,function(){r.b=document.baseURI||self.location.href;var t={5992:0};r.O.j=function(e){return 0===t[e]};var e=function(e,n){var i,o,s=n[0],a=n[1],u=n[2],c=0;if(s.some((function(e){return 0!==t[e]}))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(u)var l=u(r)}for(e&&e(n);c(t.DEFAULT="default",t.HIDDEN="hidden",t))(d||{}),p=(t=>(t[t.NONE=0]="NONE",t[t.CREATE=4]="CREATE",t[t.READ=1]="READ",t[t.UPDATE=2]="UPDATE",t[t.DELETE=8]="DELETE",t[t.SHARE=16]="SHARE",t[t.ALL=31]="ALL",t))(p||{});var g=(t=>(t.Folder="folder",t.File="file",t))(g||{});const m=function(t,e){return null!==t.match(e)},v=(t,e)=>{if(t.id&&"number"!=typeof t.id)throw new Error("Invalid id type of value");if(!t.source)throw new Error("Missing mandatory source");try{new URL(t.source)}catch{throw new Error("Invalid source format, source must be a valid URL")}if(!t.source.startsWith("http"))throw new Error("Invalid source format, only http(s) is supported");if(t.mtime&&!(t.mtime instanceof Date))throw new Error("Invalid mtime type");if(t.crtime&&!(t.crtime instanceof Date))throw new Error("Invalid crtime type");if(!t.mime||"string"!=typeof t.mime||!t.mime.match(/^[-\w.]+\/[-+\w.]+$/gi))throw new Error("Missing or invalid mandatory mime");if("size"in t&&"number"!=typeof t.size&&void 0!==t.size)throw new Error("Invalid size type");if("permissions"in t&&void 0!==t.permissions&&!("number"==typeof t.permissions&&t.permissions>=p.NONE&&t.permissions<=p.ALL))throw new Error("Invalid permissions");if(t.owner&&null!==t.owner&&"string"!=typeof t.owner)throw new Error("Invalid owner type");if(t.attributes&&"object"!=typeof t.attributes)throw new Error("Invalid attributes type");if(t.root&&"string"!=typeof t.root)throw new Error("Invalid root type");if(t.root&&!t.root.startsWith("/"))throw new Error("Root must start with a leading slash");if(t.root&&!t.source.includes(t.root))throw new Error("Root must be part of the source");if(t.root&&m(t.source,e)){const n=t.source.match(e)[0];if(!t.source.includes((0,u.join)(n,t.root)))throw new Error("The root must be relative to the service. e.g /files/emma")}};class y{_data;_attributes;_knownDavService=/(remote|public)\.php\/(web)?dav/i;constructor(t,e){v(t,e||this._knownDavService),this._data=t;const n={set:(t,e,n)=>(this.updateMtime(),Reflect.set(t,e,n)),deleteProperty:(t,e)=>(this.updateMtime(),Reflect.deleteProperty(t,e))};this._attributes=new Proxy(t.attributes||{},n),delete this._data.attributes,e&&(this._knownDavService=e)}get source(){return this._data.source.replace(/\/$/i,"")}get basename(){return(0,u.basename)(this.source)}get extension(){return(0,u.extname)(this.source)}get dirname(){if(this.root){const t=this.source.indexOf(this.root);return(0,u.dirname)(this.source.slice(t+this.root.length)||"/")}const t=new URL(this.source);return(0,u.dirname)(t.pathname)}get mime(){return this._data.mime}get mtime(){return this._data.mtime}get crtime(){return this._data.crtime}get size(){return this._data.size}get attributes(){return this._attributes}get permissions(){return null!==this.owner||this.isDavRessource?void 0!==this._data.permissions?this._data.permissions:p.NONE:p.READ}get owner(){return this.isDavRessource?this._data.owner:null}get isDavRessource(){return m(this.source,this._knownDavService)}get root(){return this._data.root?this._data.root.replace(/^(.+)\/$/,"$1"):this.isDavRessource&&(0,u.dirname)(this.source).split(this._knownDavService).pop()||null}get path(){if(this.root){const t=this.source.indexOf(this.root);return this.source.slice(t+this.root.length)||"/"}return(this.dirname+"/"+this.basename).replace(/\/\//g,"/")}get fileid(){return this._data?.id||this.attributes?.fileid}move(t){v({...this._data,source:t},this._knownDavService),this._data.source=t,this.updateMtime()}rename(t){if(t.includes("/"))throw new Error("Invalid basename");this.move((0,u.dirname)(this.source)+"/"+t)}updateMtime(){this._data.mtime&&(this._data.mtime=new Date)}}class w extends y{get type(){return g.File}}class b extends y{constructor(t){super({...t,mime:"httpd/unix-directory"})}get type(){return g.Folder}get extension(){return null}get mime(){return"httpd/unix-directory"}}(0,c.generateRemoteUrl)("dav");class x{_column;constructor(t){E(t),this._column=t}get id(){return this._column.id}get title(){return this._column.title}get render(){return this._column.render}get sort(){return this._column.sort}get summary(){return this._column.summary}}const E=function(t){if(!t.id||"string"!=typeof t.id)throw new Error("A column id is required");if(!t.title||"string"!=typeof t.title)throw new Error("A column title is required");if(!t.render||"function"!=typeof t.render)throw new Error("A render function is required");if(t.sort&&"function"!=typeof t.sort)throw new Error("Column sortFunction must be a function");if(t.summary&&"function"!=typeof t.summary)throw new Error("Column summary must be a function");return!0};var j={},N={};!function(t){const e=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+e+"]["+e+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",r=new RegExp("^"+n+"$");t.isExist=function(t){return typeof t<"u"},t.isEmptyObject=function(t){return 0===Object.keys(t).length},t.merge=function(t,e,n){if(e){const r=Object.keys(e),i=r.length;for(let o=0;o"u")},t.getAllMatches=function(t,e){const n=[];let r=e.exec(t);for(;r;){const i=[];i.startIndex=e.lastIndex-r[0].length;const o=r.length;for(let t=0;t5&&"xml"===r)return V("InvalidXml","XML declaration allowed only at the start of the document.",$(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}continue}return e}function P(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let n=1;for(e+=8;e"===t[e]&&(n--,0===n))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e"===t[e+2]){e+=2;break}return e}j.validate=function(t,e){e=Object.assign({},O,e);const n=[];let r=!1,i=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let o=0;o"!==t[o]&&" "!==t[o]&&"\t"!==t[o]&&"\n"!==t[o]&&"\r"!==t[o];o++)u+=t[o];if(u=u.trim(),"/"===u[u.length-1]&&(u=u.substring(0,u.length-1),o--),!R(u)){let e;return e=0===u.trim().length?"Invalid space after '<'.":"Tag '"+u+"' is an invalid name.",V("InvalidTag",e,$(t,o))}const c=k(t,o);if(!1===c)return V("InvalidAttr","Attributes for '"+u+"' have open quote.",$(t,o));let l=c.value;if(o=c.index,"/"===l[l.length-1]){const n=o-l.length;l=l.substring(0,l.length-1);const i=C(l,e);if(!0!==i)return V(i.err.code,i.err.msg,$(t,n+i.err.line));r=!0}else if(a){if(!c.tagClosed)return V("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",$(t,o));if(l.trim().length>0)return V("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",$(t,s));{const e=n.pop();if(u!==e.tagName){let n=$(t,e.tagStartPos);return V("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+u+"'.",$(t,s))}0==n.length&&(i=!0)}}else{const a=C(l,e);if(!0!==a)return V(a.err.code,a.err.msg,$(t,o-l.length+a.err.line));if(!0===i)return V("InvalidXml","Multiple possible root nodes found.",$(t,o));-1!==e.unpairedTags.indexOf(u)||n.push({tagName:u,tagStartPos:s}),r=!0}for(o++;o0)||V("InvalidXml","Invalid '"+JSON.stringify(n.map((t=>t.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):V("InvalidXml","Start tag expected.",1)};const I='"',L="'";function k(t,e){let n="",r="",i=!1;for(;e"===t[e]&&""===r){i=!0;break}n+=t[e]}return""===r&&{value:n,index:e,tagClosed:i}}const S=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function C(t,e){const n=_.getAllMatches(t,S),r={};for(let t=0;t!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};M.buildOptions=function(t){return Object.assign({},G,t)},M.defaultOptions=G;const U=N;function B(t,e){let n="";for(;e0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}},nt=function(t,e){const n={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let r=1,i=!1,o=!1,s="";for(;e"===t[e]){if(o?"-"===t[e-1]&&"-"===t[e-2]&&(o=!1,r--):r--,0===r)break}else"["===t[e]?i=!0:s+=t[e];else{if(i&&H(t,e))e+=7,[entityName,val,e]=B(t,e+1),-1===val.indexOf("&")&&(n[Z(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(i&&X(t,e))e+=8;else if(i&&Y(t,e))e+=8;else if(i&&K(t,e))e+=9;else{if(!q)throw new Error("Invalid DOCTYPE");o=!0}r++,s=""}if(0!==r)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:e}},rt=function(t,e={}){if(e=Object.assign({},Q,e),!t||"string"!=typeof t)return t;let n=t.trim();if(void 0!==e.skipLike&&e.skipLike.test(n))return t;if(e.hex&&W.test(n))return Number.parseInt(n,16);{const r=J.exec(n);if(r){const i=r[1],o=r[2];let s=function(t){return t&&-1!==t.indexOf(".")&&("."===(t=t.replace(/0+$/,""))?t="0":"."===t[0]?t="0"+t:"."===t[t.length-1]&&(t=t.substr(0,t.length-1))),t}(r[3]);const a=r[4]||r[6];if(!e.leadingZeros&&o.length>0&&i&&"."!==n[2]||!e.leadingZeros&&o.length>0&&!i&&"."!==n[1])return t;{const r=Number(n),u=""+r;return-1!==u.search(/[eE]/)||a?e.eNotation?r:t:-1!==n.indexOf(".")?"0"===u&&""===s||u===s||i&&u==="-"+s?r:t:o?s===u||i+s===u?r:t:n===u||n===i+u?r:t}}return t}};function it(t){const e=Object.keys(t);for(let n=0;n0)){s||(t=this.replaceEntitiesValue(t));const r=this.options.tagValueProcessor(e,t,n,i,o);return null==r?t:typeof r!=typeof t||r!==t?r:this.options.trimValues||t.trim()===t?vt(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function st(t){if(this.options.removeNSPrefix){const e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,tt.nameRegexp);const at=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function ut(t,e,n){if(!this.options.ignoreAttributes&&"string"==typeof t){const n=tt.getAllMatches(t,at),r=n.length,i={};for(let t=0;t",o,"Closing Tag is not closed.");let s=t.substring(o+2,e).trim();if(this.options.removeNSPrefix){const t=s.indexOf(":");-1!==t&&(s=s.substr(t+1))}this.options.transformTagName&&(s=this.options.transformTagName(s)),n&&(r=this.saveTextToParentTag(r,n,i));const a=i.substring(i.lastIndexOf(".")+1);if(s&&-1!==this.options.unpairedTags.indexOf(s))throw new Error(`Unpaired tag can not be used as closing tag: `);let u=0;a&&-1!==this.options.unpairedTags.indexOf(a)?(u=i.lastIndexOf(".",i.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=i.lastIndexOf("."),i=i.substring(0,u),n=this.tagsNodeStack.pop(),r="",o=e}else if("?"===t[o+1]){let e=gt(t,o,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,i),!(this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags)){const t=new et(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,i,e.tagName)),this.addChild(n,t,i)}o=e.closeIndex+1}else if("!--"===t.substr(o+1,3)){const e=pt(t,"--\x3e",o+4,"Comment is not closed.");if(this.options.commentPropName){const s=t.substring(o+4,e-2);r=this.saveTextToParentTag(r,n,i),n.add(this.options.commentPropName,[{[this.options.textNodeName]:s}])}o=e}else if("!D"===t.substr(o+1,2)){const e=nt(t,o);this.docTypeEntities=e.entities,o=e.i}else if("!["===t.substr(o+1,2)){const e=pt(t,"]]>",o,"CDATA is not closed.")-2,s=t.substring(o+9,e);if(r=this.saveTextToParentTag(r,n,i),this.options.cdataPropName)n.add(this.options.cdataPropName,[{[this.options.textNodeName]:s}]);else{let t=this.parseTextData(s,n.tagname,i,!0,!1,!0);null==t&&(t=""),n.add(this.options.textNodeName,t)}o=e+2}else{let s=gt(t,o,this.options.removeNSPrefix),a=s.tagName,u=s.tagExp,c=s.attrExpPresent,l=s.closeIndex;this.options.transformTagName&&(a=this.options.transformTagName(a)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,i,!1));const h=n;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(n=this.tagsNodeStack.pop(),i=i.substring(0,i.lastIndexOf("."))),a!==e.tagname&&(i+=i?"."+a:a),this.isItStopNode(this.options.stopNodes,i,a)){let e="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)o=s.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(a))o=s.closeIndex;else{const n=this.readStopNodeData(t,a,l+1);if(!n)throw new Error(`Unexpected end of ${a}`);o=n.i,e=n.tagContent}const r=new et(a);a!==u&&c&&(r[":@"]=this.buildAttributesMap(u,i,a)),e&&(e=this.parseTextData(e,a,i,!0,c,!0,!0)),i=i.substr(0,i.lastIndexOf(".")),r.add(this.options.textNodeName,e),this.addChild(n,r,i)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===a[a.length-1]?(a=a.substr(0,a.length-1),i=i.substr(0,i.length-1),u=a):u=u.substr(0,u.length-1),this.options.transformTagName&&(a=this.options.transformTagName(a));const t=new et(a);a!==u&&c&&(t[":@"]=this.buildAttributesMap(u,i,a)),this.addChild(n,t,i),i=i.substr(0,i.lastIndexOf("."))}else{const t=new et(a);this.tagsNodeStack.push(n),a!==u&&c&&(t[":@"]=this.buildAttributesMap(u,i,a)),this.addChild(n,t,i),n=t}r="",o=l}}else r+=t[o];return e.child};function lt(t,e,n){const r=this.options.updateTag(e.tagname,n,e[":@"]);!1===r||("string"==typeof r&&(e.tagname=r),t.addChild(e))}const ht=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const n=this.docTypeEntities[e];t=t.replace(n.regx,n.val)}for(let e in this.lastEntities){const n=this.lastEntities[e];t=t.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const n=this.htmlEntities[e];t=t.replace(n.regex,n.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function ft(t,e,n,r){return t&&(void 0===r&&(r=0===Object.keys(e.child).length),void 0!==(t=this.parseTextData(t,e.tagname,n,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,r))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function dt(t,e,n){const r="*."+n;for(const n in t){const i=t[n];if(r===i||e===i)return!0}return!1}function pt(t,e,n,r){const i=t.indexOf(e,n);if(-1===i)throw new Error(r);return i+e.length-1}function gt(t,e,n,r=">"){const i=function(t,e,n=">"){let r,i="";for(let o=e;o",n,`${e} is not closed`);if(t.substring(n+2,o).trim()===e&&(i--,0===i))return{tagContent:t.substring(r,n),i:o};n=o}else if("?"===t[n+1])n=pt(t,"?>",n+1,"StopNode is not closed.");else if("!--"===t.substr(n+1,3))n=pt(t,"--\x3e",n+3,"StopNode is not closed.");else if("!["===t.substr(n+1,2))n=pt(t,"]]>",n,"StopNode is not closed.")-2;else{const r=gt(t,n,">");r&&((r&&r.tagName)===e&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex)}}function vt(t,e,n){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&rt(t,n)}return tt.isExist(t)?t:""}var yt={};function wt(t,e,n){let r;const i={};for(let o=0;o0&&(i[e.textNodeName]=r):void 0!==r&&(i[e.textNodeName]=r),i}function bt(t){const e=Object.keys(t);for(let t=0;t"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=it,this.parseXml=ct,this.parseTextData=ot,this.resolveNameSpace=st,this.buildAttributesMap=ut,this.isItStopNode=dt,this.replaceEntitiesValue=ht,this.readStopNodeData=mt,this.saveTextToParentTag=ft,this.addChild=lt}},{prettify:_t}=yt,Ot=j;function Tt(t,e,n,r){let i="",o=!1;for(let s=0;s`,o=!1;continue}if(u===e.commentPropName){i+=r+`\x3c!--${a[u][0][e.textNodeName]}--\x3e`,o=!0;continue}if("?"===u[0]){const t=Pt(a[":@"],e),n="?xml"===u?"":r;let s=a[u][0][e.textNodeName];s=0!==s.length?" "+s:"",i+=n+`<${u}${s}${t}?>`,o=!0;continue}let l=r;""!==l&&(l+=e.indentBy);const h=r+`<${u}${Pt(a[":@"],e)}`,f=Tt(a[u],e,c,l);-1!==e.unpairedTags.indexOf(u)?e.suppressUnpairedNode?i+=h+">":i+=h+"/>":f&&0!==f.length||!e.suppressEmptyNode?f&&f.endsWith(">")?i+=h+`>${f}${r}`:(i+=h+">",f&&""!==r&&(f.includes("/>")||f.includes("`):i+=h+"/>",o=!0}return i}function At(t){const e=Object.keys(t);for(let t=0;t0&&e.processEntities)for(let n=0;n0&&(n="\n"),Tt(t,e,"",n)},St={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function Ct(t){this.options=Object.assign({},St,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ft),this.processTextOrObjNode=Dt,this.options.format?(this.indentate=Vt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Dt(t,e,n){const r=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,r.attrStr,n):this.buildObjectNode(r.val,e,r.attrStr,n)}function Vt(t){return this.options.indentBy.repeat(t)}function Ft(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}Ct.prototype.build=function(t){return this.options.preserveOrder?kt(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0).val)},Ct.prototype.j2x=function(t,e){let n="",r="";for(let i in t)if(typeof t[i]>"u")this.isAttribute(i)&&(r+="");else if(null===t[i])this.isAttribute(i)?r+="":"?"===i[0]?r+=this.indentate(e)+"<"+i+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+i+"/"+this.tagEndChar;else if(t[i]instanceof Date)r+=this.buildTextValNode(t[i],i,"",e);else if("object"!=typeof t[i]){const o=this.isAttribute(i);if(o)n+=this.buildAttrPairStr(o,""+t[i]);else if(i===this.options.textNodeName){let e=this.options.tagValueProcessor(i,""+t[i]);r+=this.replaceEntitiesValue(e)}else r+=this.buildTextValNode(t[i],i,"",e)}else if(Array.isArray(t[i])){const n=t[i].length;let o="";for(let s=0;s"u"||(null===n?"?"===i[0]?r+=this.indentate(e)+"<"+i+"?"+this.tagEndChar:r+=this.indentate(e)+"<"+i+"/"+this.tagEndChar:"object"==typeof n?this.options.oneListGroup?o+=this.j2x(n,e+1).val:o+=this.processTextOrObjNode(n,i,e):o+=this.buildTextValNode(n,i,"",e))}this.options.oneListGroup&&(o=this.buildObjectNode(o,i,"",e)),r+=o}else if(this.options.attributesGroupName&&i===this.options.attributesGroupName){const e=Object.keys(t[i]),r=e.length;for(let o=0;o"+t+i}},Ct.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(r)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(r)+"<"+e+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(e,t);return i=this.replaceEntitiesValue(i),""===i?this.indentate(r)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(r)+"<"+e+n+">"+i+"0&&this.options.processEntities)for(let e=0;e=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function Yt(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}function Kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zt(t){for(var e=1;e\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t").concat((void 0===window._nc_dav_properties&&(window._nc_dav_properties=Mt),window._nc_dav_properties.map((function(t){return"<".concat(t," />")})).join(" ")),"\n\t\n"),Qt=function(t){var e,n,r,i,o,a=function(t=""){let e=p.NONE;return t&&((t.includes("C")||t.includes("K"))&&(e|=p.CREATE),t.includes("G")&&(e|=p.READ),(t.includes("W")||t.includes("N")||t.includes("V"))&&(e|=p.UPDATE),t.includes("D")&&(e|=p.DELETE),t.includes("R")&&(e|=p.SHARE)),e}(null===(e=t.props)||void 0===e?void 0:e.permissions),u=null===(n=(0,s.ts)())||void 0===n?void 0:n.uid,l=(0,c.generateUrl)("/apps/files_trashbin/preview?fileId={fileid}&x=32&y=32",t.props),h={id:(null===(r=t.props)||void 0===r?void 0:r.fileid)||0,source:(0,c.generateRemoteUrl)("dav"+Ut+t.filename),mime:t.mime,size:(null===(i=t.props)||void 0===i?void 0:i.size)||0,permissions:a,owner:u,root:Ut,attributes:Zt(Zt(Zt({},t),t.props),{},{displayName:null===(o=t.props)||void 0===o?void 0:o["trashbin-filename"],previewUrl:l})};return delete h.attributes.props,"file"===t.type?new w(h):new b(h)},te=function(){var t,e=(t=Xt().mark((function t(){var e,n,r,i=arguments;return Xt().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=i.length>0&&void 0!==i[0]?i[0]:"/",t.next=3,qt.stat(e,{details:!0,data:Jt});case 3:return n=t.sent,t.next=6,qt.getDirectoryContents(e,{details:!0,data:Jt});case 6:return r=t.sent,t.abrupt("return",{folder:Qt(n.data),contents:r.data.map(Qt)});case 8:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){Yt(o,r,i,s,a,"next",t)}function a(t){Yt(o,r,i,s,a,"throw",t)}s(void 0)}))});return function(){return e.apply(this,arguments)}}(),ee=n(69183),ne=n(48033);function re(t){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},re(t)}function ie(){ie=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof f?e:f,s=Object.create(o.prototype),a=new _(i||[]);return r(s,"_invoke",{value:x(t,n,a)}),s}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h={};function f(){}function d(){}function p(){}var g={};u(g,o,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(O([])));v&&v!==e&&n.call(v,o)&&(g=v);var y=p.prototype=f.prototype=Object.create(g);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function i(r,o,s,a){var u=l(t[r],t,o);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==re(h)&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){i("next",t,s,a)}),(function(t){i("throw",t,s,a)})):e.resolve(h).then((function(t){c.value=t,s(c)}),(function(t){return i("throw",t,s,a)}))}a(u.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function x(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=E(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=l(t,e,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=l(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(a&&u){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),N(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;N(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}function oe(t,e,n,r,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void n(t)}a.done?e(u):Promise.resolve(u).then(r,i)}function se(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){oe(o,r,i,s,a,"next",t)}function a(t){oe(o,r,i,s,a,"throw",t)}s(void 0)}))}}!function(t){typeof window._nc_fileactions>"u"&&(window._nc_fileactions=[],h.debug("FileActions initialized")),window._nc_fileactions.find((e=>e.id===t.id))?h.error(`FileAction ${t.id} already registered`,{action:t}):window._nc_fileactions.push(t)}(new class{_action;constructor(t){this.validateAction(t),this._action=t}get id(){return this._action.id}get displayName(){return this._action.displayName}get iconSvgInline(){return this._action.iconSvgInline}get enabled(){return this._action.enabled}get exec(){return this._action.exec}get execBatch(){return this._action.execBatch}get order(){return this._action.order}get default(){return this._action.default}get inline(){return this._action.inline}get renderInline(){return this._action.renderInline}validateAction(t){if(!t.id||"string"!=typeof t.id)throw new Error("Invalid id");if(!t.displayName||"function"!=typeof t.displayName)throw new Error("Invalid displayName function");if(!t.iconSvgInline||"function"!=typeof t.iconSvgInline)throw new Error("Invalid iconSvgInline function");if(!t.exec||"function"!=typeof t.exec)throw new Error("Invalid exec function");if("enabled"in t&&"function"!=typeof t.enabled)throw new Error("Invalid enabled function");if("execBatch"in t&&"function"!=typeof t.execBatch)throw new Error("Invalid execBatch function");if("order"in t&&"number"!=typeof t.order)throw new Error("Invalid order");if(t.default&&!Object.values(d).includes(t.default))throw new Error("Invalid default");if("inline"in t&&"function"!=typeof t.inline)throw new Error("Invalid inline function");if("renderInline"in t&&"function"!=typeof t.renderInline)throw new Error("Invalid renderInline function")}}({id:"restore",displayName:function(){return(0,r.Iu)("files_trashbin","Restore")},iconSvgInline:function(){return''},enabled:function(t,e){return"trashbin"===e.id&&t.length>0&&t.map((function(t){return t.permissions})).every((function(t){return 0!=(t&p.READ)}))},exec:function(t){return se(ie().mark((function e(){var n,r;return ie().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=(0,c.generateRemoteUrl)("dav/trashbin/".concat(null===(n=(0,s.ts)())||void 0===n?void 0:n.uid,"/restore/").concat(encodeURIComponent(t.basename))),e.next=4,(0,ne.Z)({method:"MOVE",url:t.source,headers:{destination:r}});case 4:return(0,ee.j8)("files:node:deleted",t),e.abrupt("return",!0);case 8:return e.prev=8,e.t0=e.catch(0),zt.error(e.t0),e.abrupt("return",!1);case 12:case"end":return e.stop()}}),e,null,[[0,8]])})))()},execBatch:function(t,e,n){var r=this;return se(ie().mark((function i(){return ie().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",Promise.all(t.map((function(t){return r.exec(t,e,n)}))));case 1:case"end":return i.stop()}}),i)})))()},order:1,inline:function(){return!0}})),(typeof window._nc_navigation>"u"&&(window._nc_navigation=new class{_views=[];_currentView=null;register(t){if(this._views.find((e=>e.id===t.id)))throw new Error(`View id ${t.id} is already registered`);this._views.push(t)}remove(t){const e=this._views.findIndex((e=>e.id===t));-1!==e&&this._views.splice(e,1)}get views(){return this._views}setActive(t){this._currentView=t}get active(){return this._currentView}},h.debug("Navigation service initialized")),window._nc_navigation).register(new class{_view;constructor(t){(function(t){if(!t.id||"string"!=typeof t.id)throw new Error("View id is required and must be a string");if(!t.name||"string"!=typeof t.name)throw new Error("View name is required and must be a string");if(t.columns&&t.columns.length>0&&(!t.caption||"string"!=typeof t.caption))throw new Error("View caption is required for top-level views and must be a string");if(!t.getContents||"function"!=typeof t.getContents)throw new Error("View getContents is required and must be a function");if(!t.icon||"string"!=typeof t.icon||!function(t){if("string"!=typeof t)throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);if(0===(t=t.trim()).length||!0!==Rt.XMLValidator.validate(t))return!1;let e;const n=new Rt.XMLParser;try{e=n.parse(t)}catch{return!1}return!(!e||!("svg"in e))}(t.icon))throw new Error("View icon is required and must be a valid svg string");if(!("order"in t)||"number"!=typeof t.order)throw new Error("View order is required and must be a number");if(t.columns&&t.columns.forEach((t=>{if(!(t instanceof x))throw new Error("View columns must be an array of Column. Invalid column found")})),t.emptyView&&"function"!=typeof t.emptyView)throw new Error("View emptyView must be a function");if(t.parent&&"string"!=typeof t.parent)throw new Error("View parent must be a string");if("sticky"in t&&"boolean"!=typeof t.sticky)throw new Error("View sticky must be a boolean");if("expanded"in t&&"boolean"!=typeof t.expanded)throw new Error("View expanded must be a boolean");if(t.defaultSortKey&&"string"!=typeof t.defaultSortKey)throw new Error("View defaultSortKey must be a string")})(t),this._view=t}get id(){return this._view.id}get name(){return this._view.name}get caption(){return this._view.caption}get emptyTitle(){return this._view.emptyTitle}get emptyCaption(){return this._view.emptyCaption}get getContents(){return this._view.getContents}get icon(){return this._view.icon}set icon(t){this._view.icon=t}get order(){return this._view.order}set order(t){this._view.order=t}get params(){return this._view.params}set params(t){this._view.params=t}get columns(){return this._view.columns}get emptyView(){return this._view.emptyView}get parent(){return this._view.parent}get sticky(){return this._view.sticky}get expanded(){return this._view.expanded}set expanded(t){this._view.expanded=t}get defaultSortKey(){return this._view.defaultSortKey}}({id:"trashbin",name:(0,r.Iu)("files_trashbin","Deleted files"),caption:(0,r.Iu)("files_trashbin","List of files that have been deleted."),emptyTitle:(0,r.Iu)("files_trashbin","No deleted files"),emptyCaption:(0,r.Iu)("files_trashbin","Files and folders you have deleted will show up here"),icon:'',order:50,sticky:!0,defaultSortKey:"deleted",columns:[new x({id:"deleted",title:(0,r.Iu)("files_trashbin","Deleted"),render:function(t){var e,n=null===(e=t.attributes)||void 0===e?void 0:e["trashbin-deletion-time"],i=document.createElement("span");return n?(i.title=o().unix(n).format("LLL"),i.textContent=o().unix(n).fromNow(),i):(i.textContent=(0,r.Iu)("files_trashbin","A long time ago"),i)},sort:function(t,e){var n,r,i=(null===(n=t.attributes)||void 0===n?void 0:n["trashbin-deletion-time"])||(null==t?void 0:t.mtime)||0;return((null===(r=e.attributes)||void 0===r?void 0:r["trashbin-deletion-time"])||(null==e?void 0:e.mtime)||0)-i}})],getContents:te}))},46700:function(t,e,n){var r={"./af":42786,"./af.js":42786,"./ar":30867,"./ar-dz":14130,"./ar-dz.js":14130,"./ar-kw":96135,"./ar-kw.js":96135,"./ar-ly":56440,"./ar-ly.js":56440,"./ar-ma":47702,"./ar-ma.js":47702,"./ar-sa":16040,"./ar-sa.js":16040,"./ar-tn":37100,"./ar-tn.js":37100,"./ar.js":30867,"./az":31083,"./az.js":31083,"./be":9808,"./be.js":9808,"./bg":68338,"./bg.js":68338,"./bm":67438,"./bm.js":67438,"./bn":8905,"./bn-bd":76225,"./bn-bd.js":76225,"./bn.js":8905,"./bo":11560,"./bo.js":11560,"./br":1278,"./br.js":1278,"./bs":80622,"./bs.js":80622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":50877,"./cv.js":50877,"./cy":47373,"./cy.js":47373,"./da":24780,"./da.js":24780,"./de":59740,"./de-at":60217,"./de-at.js":60217,"./de-ch":60894,"./de-ch.js":60894,"./de.js":59740,"./dv":5300,"./dv.js":5300,"./el":50837,"./el.js":50837,"./en-au":78348,"./en-au.js":78348,"./en-ca":77925,"./en-ca.js":77925,"./en-gb":22243,"./en-gb.js":22243,"./en-ie":46436,"./en-ie.js":46436,"./en-il":47207,"./en-il.js":47207,"./en-in":44175,"./en-in.js":44175,"./en-nz":76319,"./en-nz.js":76319,"./en-sg":31662,"./en-sg.js":31662,"./eo":92915,"./eo.js":92915,"./es":55655,"./es-do":55251,"./es-do.js":55251,"./es-mx":96112,"./es-mx.js":96112,"./es-us":71146,"./es-us.js":71146,"./es.js":55655,"./et":5603,"./et.js":5603,"./eu":77763,"./eu.js":77763,"./fa":76959,"./fa.js":76959,"./fi":11897,"./fi.js":11897,"./fil":42549,"./fil.js":42549,"./fo":94694,"./fo.js":94694,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./fy":5044,"./fy.js":5044,"./ga":29295,"./ga.js":29295,"./gd":2101,"./gd.js":2101,"./gl":38794,"./gl.js":38794,"./gom-deva":27884,"./gom-deva.js":27884,"./gom-latn":23168,"./gom-latn.js":23168,"./gu":95349,"./gu.js":95349,"./he":24206,"./he.js":24206,"./hi":30094,"./hi.js":30094,"./hr":30316,"./hr.js":30316,"./hu":22138,"./hu.js":22138,"./hy-am":11423,"./hy-am.js":11423,"./id":29218,"./id.js":29218,"./is":90135,"./is.js":90135,"./it":90626,"./it-ch":10150,"./it-ch.js":10150,"./it.js":90626,"./ja":39183,"./ja.js":39183,"./jv":24286,"./jv.js":24286,"./ka":12105,"./ka.js":12105,"./kk":47772,"./kk.js":47772,"./km":18758,"./km.js":18758,"./kn":79282,"./kn.js":79282,"./ko":33730,"./ko.js":33730,"./ku":1408,"./ku.js":1408,"./ky":33291,"./ky.js":33291,"./lb":36841,"./lb.js":36841,"./lo":55466,"./lo.js":55466,"./lt":57010,"./lt.js":57010,"./lv":37595,"./lv.js":37595,"./me":39861,"./me.js":39861,"./mi":35493,"./mi.js":35493,"./mk":95966,"./mk.js":95966,"./ml":87341,"./ml.js":87341,"./mn":5115,"./mn.js":5115,"./mr":10370,"./mr.js":10370,"./ms":9847,"./ms-my":41237,"./ms-my.js":41237,"./ms.js":9847,"./mt":72126,"./mt.js":72126,"./my":56165,"./my.js":56165,"./nb":64924,"./nb.js":64924,"./ne":16744,"./ne.js":16744,"./nl":93901,"./nl-be":59814,"./nl-be.js":59814,"./nl.js":93901,"./nn":83877,"./nn.js":83877,"./oc-lnc":92135,"./oc-lnc.js":92135,"./pa-in":15858,"./pa-in.js":15858,"./pl":64495,"./pl.js":64495,"./pt":89520,"./pt-br":57971,"./pt-br.js":57971,"./pt.js":89520,"./ro":96459,"./ro.js":96459,"./ru":21793,"./ru.js":21793,"./sd":40950,"./sd.js":40950,"./se":10490,"./se.js":10490,"./si":90124,"./si.js":90124,"./sk":64249,"./sk.js":64249,"./sl":14985,"./sl.js":14985,"./sq":51104,"./sq.js":51104,"./sr":49131,"./sr-cyrl":79915,"./sr-cyrl.js":79915,"./sr.js":49131,"./ss":85893,"./ss.js":85893,"./sv":98760,"./sv.js":98760,"./sw":91172,"./sw.js":91172,"./ta":27333,"./ta.js":27333,"./te":23110,"./te.js":23110,"./tet":52095,"./tet.js":52095,"./tg":27321,"./tg.js":27321,"./th":9041,"./th.js":9041,"./tk":19005,"./tk.js":19005,"./tl-ph":75768,"./tl-ph.js":75768,"./tlh":89444,"./tlh.js":89444,"./tr":72397,"./tr.js":72397,"./tzl":28254,"./tzl.js":28254,"./tzm":51106,"./tzm-latn":30699,"./tzm-latn.js":30699,"./tzm.js":51106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":67691,"./uk.js":67691,"./ur":13795,"./ur.js":13795,"./uz":6791,"./uz-latn":60588,"./uz-latn.js":60588,"./uz.js":6791,"./vi":65666,"./vi.js":65666,"./x-pseudo":14378,"./x-pseudo.js":14378,"./yo":75805,"./yo.js":75805,"./zh-cn":83839,"./zh-cn.js":83839,"./zh-hk":55726,"./zh-hk.js":55726,"./zh-mo":99807,"./zh-mo.js":99807,"./zh-tw":74152,"./zh-tw.js":74152};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id=46700},24654:function(){},52361:function(){},94616:function(){}},n={};function r(t){var i=n[t];if(void 0!==i)return i.exports;var o=n[t]={id:t,loaded:!1,exports:{}};return e[t].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=e,t=[],r.O=function(e,n,i,o){if(!n){var s=1/0;for(l=0;l=o)&&Object.keys(r.O).every((function(t){return r.O[t](n[u])}))?n.splice(u--,1):(a=!1,o0&&t[l-1][2]>o;l--)t[l]=t[l-1];t[l]=[n,i,o]},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,{a:e}),e},r.d=function(t,e){for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},r.j=5992,function(){r.b=document.baseURI||self.location.href;var t={5992:0};r.O.j=function(e){return 0===t[e]};var e=function(e,n){var i,o,s=n[0],a=n[1],u=n[2],c=0;if(s.some((function(e){return 0!==t[e]}))){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(u)var l=u(r)}for(e&&e(n);c 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","import { getCurrentUser as A, getRequestToken as ot } from \"@nextcloud/auth\";\nimport { getLoggerBuilder as j } from \"@nextcloud/logger\";\nimport { getCanonicalLocale as at } from \"@nextcloud/l10n\";\nimport { join as lt, basename as dt, extname as ut, dirname as _ } from \"path\";\nimport { generateRemoteUrl as H } from \"@nextcloud/router\";\nimport { createClient as ct, getPatcher as ht } from \"webdav\";\nimport { request as pt } from \"webdav/dist/node/request.js\";\nconst ft = (t) => t === null ? j().setApp(\"files\").build() : j().setApp(\"files\").setUid(t.uid).build(), m = ft(A());\nclass gt {\n _entries = [];\n registerEntry(e) {\n this.validateEntry(e), this._entries.push(e);\n }\n unregisterEntry(e) {\n const i = typeof e == \"string\" ? this.getEntryIndex(e) : this.getEntryIndex(e.id);\n if (i === -1) {\n m.warn(\"Entry not found, nothing removed\", { entry: e, entries: this.getEntries() });\n return;\n }\n this._entries.splice(i, 1);\n }\n getEntries(e, i) {\n return e && i ? this._entries.filter((s) => typeof s.if == \"function\" ? s.if(e, i) : !0) : this._entries;\n }\n getEntryIndex(e) {\n return this._entries.findIndex((i) => i.id === e);\n }\n validateEntry(e) {\n if (!e.id || !e.displayName || !(e.iconSvgInline || e.iconClass))\n throw new Error(\"Invalid entry\");\n if (typeof e.id != \"string\" || typeof e.displayName != \"string\")\n throw new Error(\"Invalid id or displayName property\");\n if (e.iconClass && typeof e.iconClass != \"string\" || e.iconSvgInline && typeof e.iconSvgInline != \"string\")\n throw new Error(\"Invalid icon provided\");\n if (e.if !== void 0 && typeof e.if != \"function\")\n throw new Error(\"Invalid if property\");\n if (e.templateName && typeof e.templateName != \"string\")\n throw new Error(\"Invalid templateName property\");\n if (e.handler && typeof e.handler != \"function\")\n throw new Error(\"Invalid handler property\");\n if (!e.templateName && !e.handler)\n throw new Error(\"At least a templateName or a handler must be provided\");\n if (this.getEntryIndex(e.id) !== -1)\n throw new Error(\"Duplicate entry\");\n }\n}\nconst S = function() {\n return typeof window._nc_newfilemenu > \"u\" && (window._nc_newfilemenu = new gt(), m.debug(\"NewFileMenu initialized\")), window._nc_newfilemenu;\n}, I = [\"B\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\"], P = [\"B\", \"KiB\", \"MiB\", \"GiB\", \"TiB\", \"PiB\"];\nfunction Ke(t, e = !1, i = !1) {\n typeof t == \"string\" && (t = Number(t));\n let s = t > 0 ? Math.floor(Math.log(t) / Math.log(i ? 1024 : 1e3)) : 0;\n s = Math.min((i ? P.length : I.length) - 1, s);\n const n = i ? P[s] : I[s];\n let r = (t / Math.pow(i ? 1024 : 1e3, s)).toFixed(1);\n return e === !0 && s === 0 ? (r !== \"0.0\" ? \"< 1 \" : \"0 \") + (i ? P[1] : I[1]) : (s < 2 ? r = parseFloat(r).toFixed(0) : r = parseFloat(r).toLocaleString(at()), r + \" \" + n);\n}\nvar K = ((t) => (t.DEFAULT = \"default\", t.HIDDEN = \"hidden\", t))(K || {});\nclass We {\n _action;\n constructor(e) {\n this.validateAction(e), this._action = e;\n }\n get id() {\n return this._action.id;\n }\n get displayName() {\n return this._action.displayName;\n }\n get iconSvgInline() {\n return this._action.iconSvgInline;\n }\n get enabled() {\n return this._action.enabled;\n }\n get exec() {\n return this._action.exec;\n }\n get execBatch() {\n return this._action.execBatch;\n }\n get order() {\n return this._action.order;\n }\n get default() {\n return this._action.default;\n }\n get inline() {\n return this._action.inline;\n }\n get renderInline() {\n return this._action.renderInline;\n }\n validateAction(e) {\n if (!e.id || typeof e.id != \"string\")\n throw new Error(\"Invalid id\");\n if (!e.displayName || typeof e.displayName != \"function\")\n throw new Error(\"Invalid displayName function\");\n if (!e.iconSvgInline || typeof e.iconSvgInline != \"function\")\n throw new Error(\"Invalid iconSvgInline function\");\n if (!e.exec || typeof e.exec != \"function\")\n throw new Error(\"Invalid exec function\");\n if (\"enabled\" in e && typeof e.enabled != \"function\")\n throw new Error(\"Invalid enabled function\");\n if (\"execBatch\" in e && typeof e.execBatch != \"function\")\n throw new Error(\"Invalid execBatch function\");\n if (\"order\" in e && typeof e.order != \"number\")\n throw new Error(\"Invalid order\");\n if (e.default && !Object.values(K).includes(e.default))\n throw new Error(\"Invalid default\");\n if (\"inline\" in e && typeof e.inline != \"function\")\n throw new Error(\"Invalid inline function\");\n if (\"renderInline\" in e && typeof e.renderInline != \"function\")\n throw new Error(\"Invalid renderInline function\");\n }\n}\nconst Ye = function(t) {\n if (typeof window._nc_fileactions > \"u\" && (window._nc_fileactions = [], m.debug(\"FileActions initialized\")), window._nc_fileactions.find((e) => e.id === t.id)) {\n m.error(`FileAction ${t.id} already registered`, { action: t });\n return;\n }\n window._nc_fileactions.push(t);\n}, Ze = function() {\n return typeof window._nc_fileactions > \"u\" && (window._nc_fileactions = [], m.debug(\"FileActions initialized\")), window._nc_fileactions;\n};\nclass Je {\n _header;\n constructor(e) {\n this.validateHeader(e), this._header = e;\n }\n get id() {\n return this._header.id;\n }\n get order() {\n return this._header.order;\n }\n get enabled() {\n return this._header.enabled;\n }\n get render() {\n return this._header.render;\n }\n get updated() {\n return this._header.updated;\n }\n validateHeader(e) {\n if (!e.id || !e.render || !e.updated)\n throw new Error(\"Invalid header: id, render and updated are required\");\n if (typeof e.id != \"string\")\n throw new Error(\"Invalid id property\");\n if (e.enabled !== void 0 && typeof e.enabled != \"function\")\n throw new Error(\"Invalid enabled property\");\n if (e.render && typeof e.render != \"function\")\n throw new Error(\"Invalid render property\");\n if (e.updated && typeof e.updated != \"function\")\n throw new Error(\"Invalid updated property\");\n }\n}\nconst Qe = function(t) {\n if (typeof window._nc_filelistheader > \"u\" && (window._nc_filelistheader = [], m.debug(\"FileListHeaders initialized\")), window._nc_filelistheader.find((e) => e.id === t.id)) {\n m.error(`Header ${t.id} already registered`, { header: t });\n return;\n }\n window._nc_filelistheader.push(t);\n}, ti = function() {\n return typeof window._nc_filelistheader > \"u\" && (window._nc_filelistheader = [], m.debug(\"FileListHeaders initialized\")), window._nc_filelistheader;\n};\nvar v = ((t) => (t[t.NONE = 0] = \"NONE\", t[t.CREATE = 4] = \"CREATE\", t[t.READ = 1] = \"READ\", t[t.UPDATE = 2] = \"UPDATE\", t[t.DELETE = 8] = \"DELETE\", t[t.SHARE = 16] = \"SHARE\", t[t.ALL = 31] = \"ALL\", t))(v || {});\nconst W = [\"d:getcontentlength\", \"d:getcontenttype\", \"d:getetag\", \"d:getlastmodified\", \"d:quota-available-bytes\", \"d:resourcetype\", \"nc:has-preview\", \"nc:is-encrypted\", \"nc:mount-type\", \"nc:share-attributes\", \"oc:comments-unread\", \"oc:favorite\", \"oc:fileid\", \"oc:owner-display-name\", \"oc:owner-id\", \"oc:permissions\", \"oc:share-types\", \"oc:size\", \"ocs:share-permissions\"], Y = { d: \"DAV:\", nc: \"http://nextcloud.org/ns\", oc: \"http://owncloud.org/ns\", ocs: \"http://open-collaboration-services.org/ns\" }, ei = function(t, e = { nc: \"http://nextcloud.org/ns\" }) {\n typeof window._nc_dav_properties > \"u\" && (window._nc_dav_properties = [...W], window._nc_dav_namespaces = { ...Y });\n const i = { ...window._nc_dav_namespaces, ...e };\n if (window._nc_dav_properties.find((n) => n === t))\n return m.error(`${t} already registered`, { prop: t }), !1;\n if (t.startsWith(\"<\") || t.split(\":\").length !== 2)\n return m.error(`${t} is not valid. See example: 'oc:fileid'`, { prop: t }), !1;\n const s = t.split(\":\")[0];\n return i[s] ? (window._nc_dav_properties.push(t), window._nc_dav_namespaces = i, !0) : (m.error(`${t} namespace unknown`, { prop: t, namespaces: i }), !1);\n}, F = function() {\n return typeof window._nc_dav_properties > \"u\" && (window._nc_dav_properties = [...W]), window._nc_dav_properties.map((t) => `<${t} />`).join(\" \");\n}, V = function() {\n return typeof window._nc_dav_namespaces > \"u\" && (window._nc_dav_namespaces = { ...Y }), Object.keys(window._nc_dav_namespaces).map((t) => `xmlns:${t}=\"${window._nc_dav_namespaces?.[t]}\"`).join(\" \");\n}, ii = function() {\n return `\n\t\t\n\t\t\t\n\t\t\t\t${F()}\n\t\t\t\n\t\t`;\n}, mt = function() {\n return `\n\t\t\n\t\t\t\n\t\t\t\t${F()}\n\t\t\t\n\t\t\t\n\t\t\t\t1\n\t\t\t\n\t\t`;\n}, ni = function(t) {\n return `\n\n\t\n\t\t\n\t\t\t\n\t\t\t\t${F()}\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t/files/${A()?.uid}/\n\t\t\t\tinfinity\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\thttpd/unix-directory\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t0\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t${t}\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t100\n\t\t\t0\n\t\t\n\t\n`;\n}, wt = function(t = \"\") {\n let e = v.NONE;\n return t && ((t.includes(\"C\") || t.includes(\"K\")) && (e |= v.CREATE), t.includes(\"G\") && (e |= v.READ), (t.includes(\"W\") || t.includes(\"N\") || t.includes(\"V\")) && (e |= v.UPDATE), t.includes(\"D\") && (e |= v.DELETE), t.includes(\"R\") && (e |= v.SHARE)), e;\n};\nvar $ = ((t) => (t.Folder = \"folder\", t.File = \"file\", t))($ || {});\nconst Z = function(t, e) {\n return t.match(e) !== null;\n}, M = (t, e) => {\n if (t.id && typeof t.id != \"number\")\n throw new Error(\"Invalid id type of value\");\n if (!t.source)\n throw new Error(\"Missing mandatory source\");\n try {\n new URL(t.source);\n } catch {\n throw new Error(\"Invalid source format, source must be a valid URL\");\n }\n if (!t.source.startsWith(\"http\"))\n throw new Error(\"Invalid source format, only http(s) is supported\");\n if (t.mtime && !(t.mtime instanceof Date))\n throw new Error(\"Invalid mtime type\");\n if (t.crtime && !(t.crtime instanceof Date))\n throw new Error(\"Invalid crtime type\");\n if (!t.mime || typeof t.mime != \"string\" || !t.mime.match(/^[-\\w.]+\\/[-+\\w.]+$/gi))\n throw new Error(\"Missing or invalid mandatory mime\");\n if (\"size\" in t && typeof t.size != \"number\" && t.size !== void 0)\n throw new Error(\"Invalid size type\");\n if (\"permissions\" in t && t.permissions !== void 0 && !(typeof t.permissions == \"number\" && t.permissions >= v.NONE && t.permissions <= v.ALL))\n throw new Error(\"Invalid permissions\");\n if (t.owner && t.owner !== null && typeof t.owner != \"string\")\n throw new Error(\"Invalid owner type\");\n if (t.attributes && typeof t.attributes != \"object\")\n throw new Error(\"Invalid attributes type\");\n if (t.root && typeof t.root != \"string\")\n throw new Error(\"Invalid root type\");\n if (t.root && !t.root.startsWith(\"/\"))\n throw new Error(\"Root must start with a leading slash\");\n if (t.root && !t.source.includes(t.root))\n throw new Error(\"Root must be part of the source\");\n if (t.root && Z(t.source, e)) {\n const i = t.source.match(e)[0];\n if (!t.source.includes(lt(i, t.root)))\n throw new Error(\"The root must be relative to the service. e.g /files/emma\");\n }\n};\nclass J {\n _data;\n _attributes;\n _knownDavService = /(remote|public)\\.php\\/(web)?dav/i;\n constructor(e, i) {\n M(e, i || this._knownDavService), this._data = e;\n const s = { set: (n, r, l) => (this.updateMtime(), Reflect.set(n, r, l)), deleteProperty: (n, r) => (this.updateMtime(), Reflect.deleteProperty(n, r)) };\n this._attributes = new Proxy(e.attributes || {}, s), delete this._data.attributes, i && (this._knownDavService = i);\n }\n get source() {\n return this._data.source.replace(/\\/$/i, \"\");\n }\n get basename() {\n return dt(this.source);\n }\n get extension() {\n return ut(this.source);\n }\n get dirname() {\n if (this.root) {\n const i = this.source.indexOf(this.root);\n return _(this.source.slice(i + this.root.length) || \"/\");\n }\n const e = new URL(this.source);\n return _(e.pathname);\n }\n get mime() {\n return this._data.mime;\n }\n get mtime() {\n return this._data.mtime;\n }\n get crtime() {\n return this._data.crtime;\n }\n get size() {\n return this._data.size;\n }\n get attributes() {\n return this._attributes;\n }\n get permissions() {\n return this.owner === null && !this.isDavRessource ? v.READ : this._data.permissions !== void 0 ? this._data.permissions : v.NONE;\n }\n get owner() {\n return this.isDavRessource ? this._data.owner : null;\n }\n get isDavRessource() {\n return Z(this.source, this._knownDavService);\n }\n get root() {\n return this._data.root ? this._data.root.replace(/^(.+)\\/$/, \"$1\") : this.isDavRessource && _(this.source).split(this._knownDavService).pop() || null;\n }\n get path() {\n if (this.root) {\n const e = this.source.indexOf(this.root);\n return this.source.slice(e + this.root.length) || \"/\";\n }\n return (this.dirname + \"/\" + this.basename).replace(/\\/\\//g, \"/\");\n }\n get fileid() {\n return this._data?.id || this.attributes?.fileid;\n }\n move(e) {\n M({ ...this._data, source: e }, this._knownDavService), this._data.source = e, this.updateMtime();\n }\n rename(e) {\n if (e.includes(\"/\"))\n throw new Error(\"Invalid basename\");\n this.move(_(this.source) + \"/\" + e);\n }\n updateMtime() {\n this._data.mtime && (this._data.mtime = /* @__PURE__ */ new Date());\n }\n}\nclass vt extends J {\n get type() {\n return $.File;\n }\n}\nclass yt extends J {\n constructor(e) {\n super({ ...e, mime: \"httpd/unix-directory\" });\n }\n get type() {\n return $.Folder;\n }\n get extension() {\n return null;\n }\n get mime() {\n return \"httpd/unix-directory\";\n }\n}\nconst Q = `/files/${A()?.uid}`, xt = H(\"dav\"), ri = function(t = xt) {\n const e = ct(t, { headers: { requesttoken: ot() || \"\" } });\n return ht().patch(\"request\", (i) => (i.headers?.method && (i.method = i.headers.method, delete i.headers.method), pt(i))), e;\n}, si = async (t, e = \"/\", i = Q) => (await t.getDirectoryContents(`${i}${e}`, { details: !0, data: mt(), headers: { method: \"REPORT\" }, includeSelf: !0 })).data.filter((s) => s.filename !== e).map((s) => bt(s, i)), bt = function(t, e = Q) {\n const i = t.props, s = wt(i?.permissions), n = A()?.uid, r = { id: i?.fileid || 0, source: H(`dav${e}${t.filename}`), mtime: new Date(Date.parse(t.lastmod)), mime: t.mime, size: i?.size || Number.parseInt(i.getcontentlength || \"0\"), permissions: s, owner: n, root: e, attributes: { ...t, ...i, hasPreview: i?.[\"has-preview\"] } };\n return delete r.attributes?.props, t.type === \"file\" ? new vt(r) : new yt(r);\n};\nclass Et {\n _views = [];\n _currentView = null;\n register(e) {\n if (this._views.find((i) => i.id === e.id))\n throw new Error(`View id ${e.id} is already registered`);\n this._views.push(e);\n }\n remove(e) {\n const i = this._views.findIndex((s) => s.id === e);\n i !== -1 && this._views.splice(i, 1);\n }\n get views() {\n return this._views;\n }\n setActive(e) {\n this._currentView = e;\n }\n get active() {\n return this._currentView;\n }\n}\nconst oi = function() {\n return typeof window._nc_navigation > \"u\" && (window._nc_navigation = new Et(), m.debug(\"Navigation service initialized\")), window._nc_navigation;\n};\nclass Nt {\n _column;\n constructor(e) {\n _t(e), this._column = e;\n }\n get id() {\n return this._column.id;\n }\n get title() {\n return this._column.title;\n }\n get render() {\n return this._column.render;\n }\n get sort() {\n return this._column.sort;\n }\n get summary() {\n return this._column.summary;\n }\n}\nconst _t = function(t) {\n if (!t.id || typeof t.id != \"string\")\n throw new Error(\"A column id is required\");\n if (!t.title || typeof t.title != \"string\")\n throw new Error(\"A column title is required\");\n if (!t.render || typeof t.render != \"function\")\n throw new Error(\"A render function is required\");\n if (t.sort && typeof t.sort != \"function\")\n throw new Error(\"Column sortFunction must be a function\");\n if (t.summary && typeof t.summary != \"function\")\n throw new Error(\"Column summary must be a function\");\n return !0;\n};\nvar k = {}, T = {};\n(function(t) {\n const e = \":A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\", i = e + \"\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040\", s = \"[\" + e + \"][\" + i + \"]*\", n = new RegExp(\"^\" + s + \"$\"), r = function(o, a) {\n const d = [];\n let u = a.exec(o);\n for (; u; ) {\n const h = [];\n h.startIndex = a.lastIndex - u[0].length;\n const c = u.length;\n for (let f = 0; f < c; f++)\n h.push(u[f]);\n d.push(h), u = a.exec(o);\n }\n return d;\n }, l = function(o) {\n const a = n.exec(o);\n return !(a === null || typeof a > \"u\");\n };\n t.isExist = function(o) {\n return typeof o < \"u\";\n }, t.isEmptyObject = function(o) {\n return Object.keys(o).length === 0;\n }, t.merge = function(o, a, d) {\n if (a) {\n const u = Object.keys(a), h = u.length;\n for (let c = 0; c < h; c++)\n d === \"strict\" ? o[u[c]] = [a[u[c]]] : o[u[c]] = a[u[c]];\n }\n }, t.getValue = function(o) {\n return t.isExist(o) ? o : \"\";\n }, t.isName = l, t.getAllMatches = r, t.nameRegexp = s;\n})(T);\nconst R = T, At = { allowBooleanAttributes: !1, unpairedTags: [] };\nk.validate = function(t, e) {\n e = Object.assign({}, At, e);\n const i = [];\n let s = !1, n = !1;\n t[0] === \"\\uFEFF\" && (t = t.substr(1));\n for (let r = 0; r < t.length; r++)\n if (t[r] === \"<\" && t[r + 1] === \"?\") {\n if (r += 2, r = q(t, r), r.err)\n return r;\n } else if (t[r] === \"<\") {\n let l = r;\n if (r++, t[r] === \"!\") {\n r = U(t, r);\n continue;\n } else {\n let o = !1;\n t[r] === \"/\" && (o = !0, r++);\n let a = \"\";\n for (; r < t.length && t[r] !== \">\" && t[r] !== \" \" && t[r] !== \"\t\" && t[r] !== `\n` && t[r] !== \"\\r\"; r++)\n a += t[r];\n if (a = a.trim(), a[a.length - 1] === \"/\" && (a = a.substring(0, a.length - 1), r--), !Ft(a)) {\n let h;\n return a.trim().length === 0 ? h = \"Invalid space after '<'.\" : h = \"Tag '\" + a + \"' is an invalid name.\", p(\"InvalidTag\", h, g(t, r));\n }\n const d = Pt(t, r);\n if (d === !1)\n return p(\"InvalidAttr\", \"Attributes for '\" + a + \"' have open quote.\", g(t, r));\n let u = d.value;\n if (r = d.index, u[u.length - 1] === \"/\") {\n const h = r - u.length;\n u = u.substring(0, u.length - 1);\n const c = z(u, e);\n if (c === !0)\n s = !0;\n else\n return p(c.err.code, c.err.msg, g(t, h + c.err.line));\n } else if (o)\n if (d.tagClosed) {\n if (u.trim().length > 0)\n return p(\"InvalidTag\", \"Closing tag '\" + a + \"' can't have attributes or invalid starting.\", g(t, l));\n {\n const h = i.pop();\n if (a !== h.tagName) {\n let c = g(t, h.tagStartPos);\n return p(\"InvalidTag\", \"Expected closing tag '\" + h.tagName + \"' (opened in line \" + c.line + \", col \" + c.col + \") instead of closing tag '\" + a + \"'.\", g(t, l));\n }\n i.length == 0 && (n = !0);\n }\n } else\n return p(\"InvalidTag\", \"Closing tag '\" + a + \"' doesn't have proper closing.\", g(t, r));\n else {\n const h = z(u, e);\n if (h !== !0)\n return p(h.err.code, h.err.msg, g(t, r - u.length + h.err.line));\n if (n === !0)\n return p(\"InvalidXml\", \"Multiple possible root nodes found.\", g(t, r));\n e.unpairedTags.indexOf(a) !== -1 || i.push({ tagName: a, tagStartPos: l }), s = !0;\n }\n for (r++; r < t.length; r++)\n if (t[r] === \"<\")\n if (t[r + 1] === \"!\") {\n r++, r = U(t, r);\n continue;\n } else if (t[r + 1] === \"?\") {\n if (r = q(t, ++r), r.err)\n return r;\n } else\n break;\n else if (t[r] === \"&\") {\n const h = Dt(t, r);\n if (h == -1)\n return p(\"InvalidChar\", \"char '&' is not expected.\", g(t, r));\n r = h;\n } else if (n === !0 && !B(t[r]))\n return p(\"InvalidXml\", \"Extra text at the end\", g(t, r));\n t[r] === \"<\" && r--;\n }\n } else {\n if (B(t[r]))\n continue;\n return p(\"InvalidChar\", \"char '\" + t[r] + \"' is not expected.\", g(t, r));\n }\n if (s) {\n if (i.length == 1)\n return p(\"InvalidTag\", \"Unclosed tag '\" + i[0].tagName + \"'.\", g(t, i[0].tagStartPos));\n if (i.length > 0)\n return p(\"InvalidXml\", \"Invalid '\" + JSON.stringify(i.map((r) => r.tagName), null, 4).replace(/\\r?\\n/g, \"\") + \"' found.\", { line: 1, col: 1 });\n } else\n return p(\"InvalidXml\", \"Start tag expected.\", 1);\n return !0;\n};\nfunction B(t) {\n return t === \" \" || t === \"\t\" || t === `\n` || t === \"\\r\";\n}\nfunction q(t, e) {\n const i = e;\n for (; e < t.length; e++)\n if (t[e] == \"?\" || t[e] == \" \") {\n const s = t.substr(i, e - i);\n if (e > 5 && s === \"xml\")\n return p(\"InvalidXml\", \"XML declaration allowed only at the start of the document.\", g(t, e));\n if (t[e] == \"?\" && t[e + 1] == \">\") {\n e++;\n break;\n } else\n continue;\n }\n return e;\n}\nfunction U(t, e) {\n if (t.length > e + 5 && t[e + 1] === \"-\" && t[e + 2] === \"-\") {\n for (e += 3; e < t.length; e++)\n if (t[e] === \"-\" && t[e + 1] === \"-\" && t[e + 2] === \">\") {\n e += 2;\n break;\n }\n } else if (t.length > e + 8 && t[e + 1] === \"D\" && t[e + 2] === \"O\" && t[e + 3] === \"C\" && t[e + 4] === \"T\" && t[e + 5] === \"Y\" && t[e + 6] === \"P\" && t[e + 7] === \"E\") {\n let i = 1;\n for (e += 8; e < t.length; e++)\n if (t[e] === \"<\")\n i++;\n else if (t[e] === \">\" && (i--, i === 0))\n break;\n } else if (t.length > e + 9 && t[e + 1] === \"[\" && t[e + 2] === \"C\" && t[e + 3] === \"D\" && t[e + 4] === \"A\" && t[e + 5] === \"T\" && t[e + 6] === \"A\" && t[e + 7] === \"[\") {\n for (e += 8; e < t.length; e++)\n if (t[e] === \"]\" && t[e + 1] === \"]\" && t[e + 2] === \">\") {\n e += 2;\n break;\n }\n }\n return e;\n}\nconst Tt = '\"', It = \"'\";\nfunction Pt(t, e) {\n let i = \"\", s = \"\", n = !1;\n for (; e < t.length; e++) {\n if (t[e] === Tt || t[e] === It)\n s === \"\" ? s = t[e] : s !== t[e] || (s = \"\");\n else if (t[e] === \">\" && s === \"\") {\n n = !0;\n break;\n }\n i += t[e];\n }\n return s !== \"\" ? !1 : { value: i, index: e, tagClosed: n };\n}\nconst Ot = new RegExp(`(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*(['\"])(([\\\\s\\\\S])*?)\\\\5)?`, \"g\");\nfunction z(t, e) {\n const i = R.getAllMatches(t, Ot), s = {};\n for (let n = 0; n < i.length; n++) {\n if (i[n][1].length === 0)\n return p(\"InvalidAttr\", \"Attribute '\" + i[n][2] + \"' has no space in starting.\", b(i[n]));\n if (i[n][3] !== void 0 && i[n][4] === void 0)\n return p(\"InvalidAttr\", \"Attribute '\" + i[n][2] + \"' is without value.\", b(i[n]));\n if (i[n][3] === void 0 && !e.allowBooleanAttributes)\n return p(\"InvalidAttr\", \"boolean attribute '\" + i[n][2] + \"' is not allowed.\", b(i[n]));\n const r = i[n][2];\n if (!St(r))\n return p(\"InvalidAttr\", \"Attribute '\" + r + \"' is an invalid name.\", b(i[n]));\n if (!s.hasOwnProperty(r))\n s[r] = 1;\n else\n return p(\"InvalidAttr\", \"Attribute '\" + r + \"' is repeated.\", b(i[n]));\n }\n return !0;\n}\nfunction Ct(t, e) {\n let i = /\\d/;\n for (t[e] === \"x\" && (e++, i = /[\\da-fA-F]/); e < t.length; e++) {\n if (t[e] === \";\")\n return e;\n if (!t[e].match(i))\n break;\n }\n return -1;\n}\nfunction Dt(t, e) {\n if (e++, t[e] === \";\")\n return -1;\n if (t[e] === \"#\")\n return e++, Ct(t, e);\n let i = 0;\n for (; e < t.length; e++, i++)\n if (!(t[e].match(/\\w/) && i < 20)) {\n if (t[e] === \";\")\n break;\n return -1;\n }\n return e;\n}\nfunction p(t, e, i) {\n return { err: { code: t, msg: e, line: i.line || i, col: i.col } };\n}\nfunction St(t) {\n return R.isName(t);\n}\nfunction Ft(t) {\n return R.isName(t);\n}\nfunction g(t, e) {\n const i = t.substring(0, e).split(/\\r?\\n/);\n return { line: i.length, col: i[i.length - 1].length + 1 };\n}\nfunction b(t) {\n return t.startIndex + t[1].length;\n}\nvar O = {};\nconst tt = { preserveOrder: !1, attributeNamePrefix: \"@_\", attributesGroupName: !1, textNodeName: \"#text\", ignoreAttributes: !0, removeNSPrefix: !1, allowBooleanAttributes: !1, parseTagValue: !0, parseAttributeValue: !1, trimValues: !0, cdataPropName: !1, numberParseOptions: { hex: !0, leadingZeros: !0, eNotation: !0 }, tagValueProcessor: function(t, e) {\n return e;\n}, attributeValueProcessor: function(t, e) {\n return e;\n}, stopNodes: [], alwaysCreateTextNode: !1, isArray: () => !1, commentPropName: !1, unpairedTags: [], processEntities: !0, htmlEntities: !1, ignoreDeclaration: !1, ignorePiTags: !1, transformTagName: !1, transformAttributeName: !1, updateTag: function(t, e, i) {\n return t;\n} }, Vt = function(t) {\n return Object.assign({}, tt, t);\n};\nO.buildOptions = Vt, O.defaultOptions = tt;\nclass $t {\n constructor(e) {\n this.tagname = e, this.child = [], this[\":@\"] = {};\n }\n add(e, i) {\n e === \"__proto__\" && (e = \"#__proto__\"), this.child.push({ [e]: i });\n }\n addChild(e) {\n e.tagname === \"__proto__\" && (e.tagname = \"#__proto__\"), e[\":@\"] && Object.keys(e[\":@\"]).length > 0 ? this.child.push({ [e.tagname]: e.child, \":@\": e[\":@\"] }) : this.child.push({ [e.tagname]: e.child });\n }\n}\nvar kt = $t;\nconst Rt = T;\nfunction Lt(t, e) {\n const i = {};\n if (t[e + 3] === \"O\" && t[e + 4] === \"C\" && t[e + 5] === \"T\" && t[e + 6] === \"Y\" && t[e + 7] === \"P\" && t[e + 8] === \"E\") {\n e = e + 9;\n let s = 1, n = !1, r = !1, l = \"\";\n for (; e < t.length; e++)\n if (t[e] === \"<\" && !r) {\n if (n && Bt(t, e))\n e += 7, [entityName, val, e] = jt(t, e + 1), val.indexOf(\"&\") === -1 && (i[Gt(entityName)] = { regx: RegExp(`&${entityName};`, \"g\"), val });\n else if (n && qt(t, e))\n e += 8;\n else if (n && Ut(t, e))\n e += 8;\n else if (n && zt(t, e))\n e += 9;\n else if (Mt)\n r = !0;\n else\n throw new Error(\"Invalid DOCTYPE\");\n s++, l = \"\";\n } else if (t[e] === \">\") {\n if (r ? t[e - 1] === \"-\" && t[e - 2] === \"-\" && (r = !1, s--) : s--, s === 0)\n break;\n } else\n t[e] === \"[\" ? n = !0 : l += t[e];\n if (s !== 0)\n throw new Error(\"Unclosed DOCTYPE\");\n } else\n throw new Error(\"Invalid Tag instead of DOCTYPE\");\n return { entities: i, i: e };\n}\nfunction jt(t, e) {\n let i = \"\";\n for (; e < t.length && t[e] !== \"'\" && t[e] !== '\"'; e++)\n i += t[e];\n if (i = i.trim(), i.indexOf(\" \") !== -1)\n throw new Error(\"External entites are not supported\");\n const s = t[e++];\n let n = \"\";\n for (; e < t.length && t[e] !== s; e++)\n n += t[e];\n return [i, n, e];\n}\nfunction Mt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"-\" && t[e + 3] === \"-\";\n}\nfunction Bt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"E\" && t[e + 3] === \"N\" && t[e + 4] === \"T\" && t[e + 5] === \"I\" && t[e + 6] === \"T\" && t[e + 7] === \"Y\";\n}\nfunction qt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"E\" && t[e + 3] === \"L\" && t[e + 4] === \"E\" && t[e + 5] === \"M\" && t[e + 6] === \"E\" && t[e + 7] === \"N\" && t[e + 8] === \"T\";\n}\nfunction Ut(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"A\" && t[e + 3] === \"T\" && t[e + 4] === \"T\" && t[e + 5] === \"L\" && t[e + 6] === \"I\" && t[e + 7] === \"S\" && t[e + 8] === \"T\";\n}\nfunction zt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"N\" && t[e + 3] === \"O\" && t[e + 4] === \"T\" && t[e + 5] === \"A\" && t[e + 6] === \"T\" && t[e + 7] === \"I\" && t[e + 8] === \"O\" && t[e + 9] === \"N\";\n}\nfunction Gt(t) {\n if (Rt.isName(t))\n return t;\n throw new Error(`Invalid entity name ${t}`);\n}\nvar Xt = Lt;\nconst Ht = /^[-+]?0x[a-fA-F0-9]+$/, Kt = /^([\\-\\+])?(0*)(\\.[0-9]+([eE]\\-?[0-9]+)?|[0-9]+(\\.[0-9]+([eE]\\-?[0-9]+)?)?)$/;\n!Number.parseInt && window.parseInt && (Number.parseInt = window.parseInt), !Number.parseFloat && window.parseFloat && (Number.parseFloat = window.parseFloat);\nconst Wt = { hex: !0, leadingZeros: !0, decimalPoint: \".\", eNotation: !0 };\nfunction Yt(t, e = {}) {\n if (e = Object.assign({}, Wt, e), !t || typeof t != \"string\")\n return t;\n let i = t.trim();\n if (e.skipLike !== void 0 && e.skipLike.test(i))\n return t;\n if (e.hex && Ht.test(i))\n return Number.parseInt(i, 16);\n {\n const s = Kt.exec(i);\n if (s) {\n const n = s[1], r = s[2];\n let l = Zt(s[3]);\n const o = s[4] || s[6];\n if (!e.leadingZeros && r.length > 0 && n && i[2] !== \".\" || !e.leadingZeros && r.length > 0 && !n && i[1] !== \".\")\n return t;\n {\n const a = Number(i), d = \"\" + a;\n return d.search(/[eE]/) !== -1 || o ? e.eNotation ? a : t : i.indexOf(\".\") !== -1 ? d === \"0\" && l === \"\" || d === l || n && d === \"-\" + l ? a : t : r ? l === d || n + l === d ? a : t : i === d || i === n + d ? a : t;\n }\n } else\n return t;\n }\n}\nfunction Zt(t) {\n return t && t.indexOf(\".\") !== -1 && (t = t.replace(/0+$/, \"\"), t === \".\" ? t = \"0\" : t[0] === \".\" ? t = \"0\" + t : t[t.length - 1] === \".\" && (t = t.substr(0, t.length - 1))), t;\n}\nvar Jt = Yt;\nconst L = T, E = kt, Qt = Xt, te = Jt;\n\"<((!\\\\[CDATA\\\\[([\\\\s\\\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\\\/)(NAME)\\\\s*>))([^<]*)\".replace(/NAME/g, L.nameRegexp);\nlet ee = class {\n constructor(t) {\n this.options = t, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: \"'\" }, gt: { regex: /&(gt|#62|#x3E);/g, val: \">\" }, lt: { regex: /&(lt|#60|#x3C);/g, val: \"<\" }, quot: { regex: /&(quot|#34|#x22);/g, val: '\"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: \"&\" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: \" \" }, cent: { regex: /&(cent|#162);/g, val: \"¢\" }, pound: { regex: /&(pound|#163);/g, val: \"£\" }, yen: { regex: /&(yen|#165);/g, val: \"¥\" }, euro: { regex: /&(euro|#8364);/g, val: \"€\" }, copyright: { regex: /&(copy|#169);/g, val: \"©\" }, reg: { regex: /&(reg|#174);/g, val: \"®\" }, inr: { regex: /&(inr|#8377);/g, val: \"₹\" } }, this.addExternalEntities = ie, this.parseXml = ae, this.parseTextData = ne, this.resolveNameSpace = re, this.buildAttributesMap = oe, this.isItStopNode = ce, this.replaceEntitiesValue = de, this.readStopNodeData = pe, this.saveTextToParentTag = ue, this.addChild = le;\n }\n};\nfunction ie(t) {\n const e = Object.keys(t);\n for (let i = 0; i < e.length; i++) {\n const s = e[i];\n this.lastEntities[s] = { regex: new RegExp(\"&\" + s + \";\", \"g\"), val: t[s] };\n }\n}\nfunction ne(t, e, i, s, n, r, l) {\n if (t !== void 0 && (this.options.trimValues && !s && (t = t.trim()), t.length > 0)) {\n l || (t = this.replaceEntitiesValue(t));\n const o = this.options.tagValueProcessor(e, t, i, n, r);\n return o == null ? t : typeof o != typeof t || o !== t ? o : this.options.trimValues ? D(t, this.options.parseTagValue, this.options.numberParseOptions) : t.trim() === t ? D(t, this.options.parseTagValue, this.options.numberParseOptions) : t;\n }\n}\nfunction re(t) {\n if (this.options.removeNSPrefix) {\n const e = t.split(\":\"), i = t.charAt(0) === \"/\" ? \"/\" : \"\";\n if (e[0] === \"xmlns\")\n return \"\";\n e.length === 2 && (t = i + e[1]);\n }\n return t;\n}\nconst se = new RegExp(`([^\\\\s=]+)\\\\s*(=\\\\s*(['\"])([\\\\s\\\\S]*?)\\\\3)?`, \"gm\");\nfunction oe(t, e, i) {\n if (!this.options.ignoreAttributes && typeof t == \"string\") {\n const s = L.getAllMatches(t, se), n = s.length, r = {};\n for (let l = 0; l < n; l++) {\n const o = this.resolveNameSpace(s[l][1]);\n let a = s[l][4], d = this.options.attributeNamePrefix + o;\n if (o.length)\n if (this.options.transformAttributeName && (d = this.options.transformAttributeName(d)), d === \"__proto__\" && (d = \"#__proto__\"), a !== void 0) {\n this.options.trimValues && (a = a.trim()), a = this.replaceEntitiesValue(a);\n const u = this.options.attributeValueProcessor(o, a, e);\n u == null ? r[d] = a : typeof u != typeof a || u !== a ? r[d] = u : r[d] = D(a, this.options.parseAttributeValue, this.options.numberParseOptions);\n } else\n this.options.allowBooleanAttributes && (r[d] = !0);\n }\n if (!Object.keys(r).length)\n return;\n if (this.options.attributesGroupName) {\n const l = {};\n return l[this.options.attributesGroupName] = r, l;\n }\n return r;\n }\n}\nconst ae = function(t) {\n t = t.replace(/\\r\\n?/g, `\n`);\n const e = new E(\"!xml\");\n let i = e, s = \"\", n = \"\";\n for (let r = 0; r < t.length; r++)\n if (t[r] === \"<\")\n if (t[r + 1] === \"/\") {\n const l = x(t, \">\", r, \"Closing Tag is not closed.\");\n let o = t.substring(r + 2, l).trim();\n if (this.options.removeNSPrefix) {\n const u = o.indexOf(\":\");\n u !== -1 && (o = o.substr(u + 1));\n }\n this.options.transformTagName && (o = this.options.transformTagName(o)), i && (s = this.saveTextToParentTag(s, i, n));\n const a = n.substring(n.lastIndexOf(\".\") + 1);\n if (o && this.options.unpairedTags.indexOf(o) !== -1)\n throw new Error(`Unpaired tag can not be used as closing tag: `);\n let d = 0;\n a && this.options.unpairedTags.indexOf(a) !== -1 ? (d = n.lastIndexOf(\".\", n.lastIndexOf(\".\") - 1), this.tagsNodeStack.pop()) : d = n.lastIndexOf(\".\"), n = n.substring(0, d), i = this.tagsNodeStack.pop(), s = \"\", r = l;\n } else if (t[r + 1] === \"?\") {\n let l = C(t, r, !1, \"?>\");\n if (!l)\n throw new Error(\"Pi Tag is not closed.\");\n if (s = this.saveTextToParentTag(s, i, n), !(this.options.ignoreDeclaration && l.tagName === \"?xml\" || this.options.ignorePiTags)) {\n const o = new E(l.tagName);\n o.add(this.options.textNodeName, \"\"), l.tagName !== l.tagExp && l.attrExpPresent && (o[\":@\"] = this.buildAttributesMap(l.tagExp, n, l.tagName)), this.addChild(i, o, n);\n }\n r = l.closeIndex + 1;\n } else if (t.substr(r + 1, 3) === \"!--\") {\n const l = x(t, \"-->\", r + 4, \"Comment is not closed.\");\n if (this.options.commentPropName) {\n const o = t.substring(r + 4, l - 2);\n s = this.saveTextToParentTag(s, i, n), i.add(this.options.commentPropName, [{ [this.options.textNodeName]: o }]);\n }\n r = l;\n } else if (t.substr(r + 1, 2) === \"!D\") {\n const l = Qt(t, r);\n this.docTypeEntities = l.entities, r = l.i;\n } else if (t.substr(r + 1, 2) === \"![\") {\n const l = x(t, \"]]>\", r, \"CDATA is not closed.\") - 2, o = t.substring(r + 9, l);\n if (s = this.saveTextToParentTag(s, i, n), this.options.cdataPropName)\n i.add(this.options.cdataPropName, [{ [this.options.textNodeName]: o }]);\n else {\n let a = this.parseTextData(o, i.tagname, n, !0, !1, !0);\n a == null && (a = \"\"), i.add(this.options.textNodeName, a);\n }\n r = l + 2;\n } else {\n let l = C(t, r, this.options.removeNSPrefix), o = l.tagName, a = l.tagExp, d = l.attrExpPresent, u = l.closeIndex;\n this.options.transformTagName && (o = this.options.transformTagName(o)), i && s && i.tagname !== \"!xml\" && (s = this.saveTextToParentTag(s, i, n, !1));\n const h = i;\n if (h && this.options.unpairedTags.indexOf(h.tagname) !== -1 && (i = this.tagsNodeStack.pop(), n = n.substring(0, n.lastIndexOf(\".\"))), o !== e.tagname && (n += n ? \".\" + o : o), this.isItStopNode(this.options.stopNodes, n, o)) {\n let c = \"\";\n if (a.length > 0 && a.lastIndexOf(\"/\") === a.length - 1)\n r = l.closeIndex;\n else if (this.options.unpairedTags.indexOf(o) !== -1)\n r = l.closeIndex;\n else {\n const w = this.readStopNodeData(t, o, u + 1);\n if (!w)\n throw new Error(`Unexpected end of ${o}`);\n r = w.i, c = w.tagContent;\n }\n const f = new E(o);\n o !== a && d && (f[\":@\"] = this.buildAttributesMap(a, n, o)), c && (c = this.parseTextData(c, o, n, !0, d, !0, !0)), n = n.substr(0, n.lastIndexOf(\".\")), f.add(this.options.textNodeName, c), this.addChild(i, f, n);\n } else {\n if (a.length > 0 && a.lastIndexOf(\"/\") === a.length - 1) {\n o[o.length - 1] === \"/\" ? (o = o.substr(0, o.length - 1), n = n.substr(0, n.length - 1), a = o) : a = a.substr(0, a.length - 1), this.options.transformTagName && (o = this.options.transformTagName(o));\n const c = new E(o);\n o !== a && d && (c[\":@\"] = this.buildAttributesMap(a, n, o)), this.addChild(i, c, n), n = n.substr(0, n.lastIndexOf(\".\"));\n } else {\n const c = new E(o);\n this.tagsNodeStack.push(i), o !== a && d && (c[\":@\"] = this.buildAttributesMap(a, n, o)), this.addChild(i, c, n), i = c;\n }\n s = \"\", r = u;\n }\n }\n else\n s += t[r];\n return e.child;\n};\nfunction le(t, e, i) {\n const s = this.options.updateTag(e.tagname, i, e[\":@\"]);\n s === !1 || (typeof s == \"string\" && (e.tagname = s), t.addChild(e));\n}\nconst de = function(t) {\n if (this.options.processEntities) {\n for (let e in this.docTypeEntities) {\n const i = this.docTypeEntities[e];\n t = t.replace(i.regx, i.val);\n }\n for (let e in this.lastEntities) {\n const i = this.lastEntities[e];\n t = t.replace(i.regex, i.val);\n }\n if (this.options.htmlEntities)\n for (let e in this.htmlEntities) {\n const i = this.htmlEntities[e];\n t = t.replace(i.regex, i.val);\n }\n t = t.replace(this.ampEntity.regex, this.ampEntity.val);\n }\n return t;\n};\nfunction ue(t, e, i, s) {\n return t && (s === void 0 && (s = Object.keys(e.child).length === 0), t = this.parseTextData(t, e.tagname, i, !1, e[\":@\"] ? Object.keys(e[\":@\"]).length !== 0 : !1, s), t !== void 0 && t !== \"\" && e.add(this.options.textNodeName, t), t = \"\"), t;\n}\nfunction ce(t, e, i) {\n const s = \"*.\" + i;\n for (const n in t) {\n const r = t[n];\n if (s === r || e === r)\n return !0;\n }\n return !1;\n}\nfunction he(t, e, i = \">\") {\n let s, n = \"\";\n for (let r = e; r < t.length; r++) {\n let l = t[r];\n if (s)\n l === s && (s = \"\");\n else if (l === '\"' || l === \"'\")\n s = l;\n else if (l === i[0])\n if (i[1]) {\n if (t[r + 1] === i[1])\n return { data: n, index: r };\n } else\n return { data: n, index: r };\n else\n l === \"\t\" && (l = \" \");\n n += l;\n }\n}\nfunction x(t, e, i, s) {\n const n = t.indexOf(e, i);\n if (n === -1)\n throw new Error(s);\n return n + e.length - 1;\n}\nfunction C(t, e, i, s = \">\") {\n const n = he(t, e + 1, s);\n if (!n)\n return;\n let r = n.data;\n const l = n.index, o = r.search(/\\s/);\n let a = r, d = !0;\n if (o !== -1 && (a = r.substr(0, o).replace(/\\s\\s*$/, \"\"), r = r.substr(o + 1)), i) {\n const u = a.indexOf(\":\");\n u !== -1 && (a = a.substr(u + 1), d = a !== n.data.substr(u + 1));\n }\n return { tagName: a, tagExp: r, closeIndex: l, attrExpPresent: d };\n}\nfunction pe(t, e, i) {\n const s = i;\n let n = 1;\n for (; i < t.length; i++)\n if (t[i] === \"<\")\n if (t[i + 1] === \"/\") {\n const r = x(t, \">\", i, `${e} is not closed`);\n if (t.substring(i + 2, r).trim() === e && (n--, n === 0))\n return { tagContent: t.substring(s, i), i: r };\n i = r;\n } else if (t[i + 1] === \"?\")\n i = x(t, \"?>\", i + 1, \"StopNode is not closed.\");\n else if (t.substr(i + 1, 3) === \"!--\")\n i = x(t, \"-->\", i + 3, \"StopNode is not closed.\");\n else if (t.substr(i + 1, 2) === \"![\")\n i = x(t, \"]]>\", i, \"StopNode is not closed.\") - 2;\n else {\n const r = C(t, i, \">\");\n r && ((r && r.tagName) === e && r.tagExp[r.tagExp.length - 1] !== \"/\" && n++, i = r.closeIndex);\n }\n}\nfunction D(t, e, i) {\n if (e && typeof t == \"string\") {\n const s = t.trim();\n return s === \"true\" ? !0 : s === \"false\" ? !1 : te(t, i);\n } else\n return L.isExist(t) ? t : \"\";\n}\nvar fe = ee, et = {};\nfunction ge(t, e) {\n return it(t, e);\n}\nfunction it(t, e, i) {\n let s;\n const n = {};\n for (let r = 0; r < t.length; r++) {\n const l = t[r], o = me(l);\n let a = \"\";\n if (i === void 0 ? a = o : a = i + \".\" + o, o === e.textNodeName)\n s === void 0 ? s = l[o] : s += \"\" + l[o];\n else {\n if (o === void 0)\n continue;\n if (l[o]) {\n let d = it(l[o], e, a);\n const u = ve(d, e);\n l[\":@\"] ? we(d, l[\":@\"], a, e) : Object.keys(d).length === 1 && d[e.textNodeName] !== void 0 && !e.alwaysCreateTextNode ? d = d[e.textNodeName] : Object.keys(d).length === 0 && (e.alwaysCreateTextNode ? d[e.textNodeName] = \"\" : d = \"\"), n[o] !== void 0 && n.hasOwnProperty(o) ? (Array.isArray(n[o]) || (n[o] = [n[o]]), n[o].push(d)) : e.isArray(o, a, u) ? n[o] = [d] : n[o] = d;\n }\n }\n }\n return typeof s == \"string\" ? s.length > 0 && (n[e.textNodeName] = s) : s !== void 0 && (n[e.textNodeName] = s), n;\n}\nfunction me(t) {\n const e = Object.keys(t);\n for (let i = 0; i < e.length; i++) {\n const s = e[i];\n if (s !== \":@\")\n return s;\n }\n}\nfunction we(t, e, i, s) {\n if (e) {\n const n = Object.keys(e), r = n.length;\n for (let l = 0; l < r; l++) {\n const o = n[l];\n s.isArray(o, i + \".\" + o, !0, !0) ? t[o] = [e[o]] : t[o] = e[o];\n }\n }\n}\nfunction ve(t, e) {\n const { textNodeName: i } = e, s = Object.keys(t).length;\n return !!(s === 0 || s === 1 && (t[i] || typeof t[i] == \"boolean\" || t[i] === 0));\n}\net.prettify = ge;\nconst { buildOptions: ye } = O, xe = fe, { prettify: be } = et, Ee = k;\nlet Ne = class {\n constructor(t) {\n this.externalEntities = {}, this.options = ye(t);\n }\n parse(t, e) {\n if (typeof t != \"string\")\n if (t.toString)\n t = t.toString();\n else\n throw new Error(\"XML data is accepted in String or Bytes[] form.\");\n if (e) {\n e === !0 && (e = {});\n const n = Ee.validate(t, e);\n if (n !== !0)\n throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`);\n }\n const i = new xe(this.options);\n i.addExternalEntities(this.externalEntities);\n const s = i.parseXml(t);\n return this.options.preserveOrder || s === void 0 ? s : be(s, this.options);\n }\n addEntity(t, e) {\n if (e.indexOf(\"&\") !== -1)\n throw new Error(\"Entity value can't have '&'\");\n if (t.indexOf(\"&\") !== -1 || t.indexOf(\";\") !== -1)\n throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for ' '\");\n if (e === \"&\")\n throw new Error(\"An entity with value '&' is not permitted\");\n this.externalEntities[t] = e;\n }\n};\nvar _e = Ne;\nconst Ae = `\n`;\nfunction Te(t, e) {\n let i = \"\";\n return e.format && e.indentBy.length > 0 && (i = Ae), nt(t, e, \"\", i);\n}\nfunction nt(t, e, i, s) {\n let n = \"\", r = !1;\n for (let l = 0; l < t.length; l++) {\n const o = t[l], a = Ie(o);\n let d = \"\";\n if (i.length === 0 ? d = a : d = `${i}.${a}`, a === e.textNodeName) {\n let w = o[a];\n Pe(d, e) || (w = e.tagValueProcessor(a, w), w = rt(w, e)), r && (n += s), n += w, r = !1;\n continue;\n } else if (a === e.cdataPropName) {\n r && (n += s), n += ``, r = !1;\n continue;\n } else if (a === e.commentPropName) {\n n += s + ``, r = !0;\n continue;\n } else if (a[0] === \"?\") {\n const w = G(o[\":@\"], e), st = a === \"?xml\" ? \"\" : s;\n let N = o[a][0][e.textNodeName];\n N = N.length !== 0 ? \" \" + N : \"\", n += st + `<${a}${N}${w}?>`, r = !0;\n continue;\n }\n let u = s;\n u !== \"\" && (u += e.indentBy);\n const h = G(o[\":@\"], e), c = s + `<${a}${h}`, f = nt(o[a], e, d, u);\n e.unpairedTags.indexOf(a) !== -1 ? e.suppressUnpairedNode ? n += c + \">\" : n += c + \"/>\" : (!f || f.length === 0) && e.suppressEmptyNode ? n += c + \"/>\" : f && f.endsWith(\">\") ? n += c + `>${f}${s}` : (n += c + \">\", f && s !== \"\" && (f.includes(\"/>\") || f.includes(\"`), r = !0;\n }\n return n;\n}\nfunction Ie(t) {\n const e = Object.keys(t);\n for (let i = 0; i < e.length; i++) {\n const s = e[i];\n if (s !== \":@\")\n return s;\n }\n}\nfunction G(t, e) {\n let i = \"\";\n if (t && !e.ignoreAttributes)\n for (let s in t) {\n let n = e.attributeValueProcessor(s, t[s]);\n n = rt(n, e), n === !0 && e.suppressBooleanAttributes ? i += ` ${s.substr(e.attributeNamePrefix.length)}` : i += ` ${s.substr(e.attributeNamePrefix.length)}=\"${n}\"`;\n }\n return i;\n}\nfunction Pe(t, e) {\n t = t.substr(0, t.length - e.textNodeName.length - 1);\n let i = t.substr(t.lastIndexOf(\".\") + 1);\n for (let s in e.stopNodes)\n if (e.stopNodes[s] === t || e.stopNodes[s] === \"*.\" + i)\n return !0;\n return !1;\n}\nfunction rt(t, e) {\n if (t && t.length > 0 && e.processEntities)\n for (let i = 0; i < e.entities.length; i++) {\n const s = e.entities[i];\n t = t.replace(s.regex, s.val);\n }\n return t;\n}\nvar Oe = Te;\nconst Ce = Oe, De = { attributeNamePrefix: \"@_\", attributesGroupName: !1, textNodeName: \"#text\", ignoreAttributes: !0, cdataPropName: !1, format: !1, indentBy: \" \", suppressEmptyNode: !1, suppressUnpairedNode: !0, suppressBooleanAttributes: !0, tagValueProcessor: function(t, e) {\n return e;\n}, attributeValueProcessor: function(t, e) {\n return e;\n}, preserveOrder: !1, commentPropName: !1, unpairedTags: [], entities: [{ regex: new RegExp(\"&\", \"g\"), val: \"&\" }, { regex: new RegExp(\">\", \"g\"), val: \">\" }, { regex: new RegExp(\"<\", \"g\"), val: \"<\" }, { regex: new RegExp(\"'\", \"g\"), val: \"'\" }, { regex: new RegExp('\"', \"g\"), val: \""\" }], processEntities: !0, stopNodes: [], oneListGroup: !1 };\nfunction y(t) {\n this.options = Object.assign({}, De, t), this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {\n return !1;\n } : (this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ve), this.processTextOrObjNode = Se, this.options.format ? (this.indentate = Fe, this.tagEndChar = `>\n`, this.newLine = `\n`) : (this.indentate = function() {\n return \"\";\n }, this.tagEndChar = \">\", this.newLine = \"\");\n}\ny.prototype.build = function(t) {\n return this.options.preserveOrder ? Ce(t, this.options) : (Array.isArray(t) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t = { [this.options.arrayNodeName]: t }), this.j2x(t, 0).val);\n}, y.prototype.j2x = function(t, e) {\n let i = \"\", s = \"\";\n for (let n in t)\n if (typeof t[n] > \"u\")\n this.isAttribute(n) && (s += \"\");\n else if (t[n] === null)\n this.isAttribute(n) ? s += \"\" : n[0] === \"?\" ? s += this.indentate(e) + \"<\" + n + \"?\" + this.tagEndChar : s += this.indentate(e) + \"<\" + n + \"/\" + this.tagEndChar;\n else if (t[n] instanceof Date)\n s += this.buildTextValNode(t[n], n, \"\", e);\n else if (typeof t[n] != \"object\") {\n const r = this.isAttribute(n);\n if (r)\n i += this.buildAttrPairStr(r, \"\" + t[n]);\n else if (n === this.options.textNodeName) {\n let l = this.options.tagValueProcessor(n, \"\" + t[n]);\n s += this.replaceEntitiesValue(l);\n } else\n s += this.buildTextValNode(t[n], n, \"\", e);\n } else if (Array.isArray(t[n])) {\n const r = t[n].length;\n let l = \"\";\n for (let o = 0; o < r; o++) {\n const a = t[n][o];\n typeof a > \"u\" || (a === null ? n[0] === \"?\" ? s += this.indentate(e) + \"<\" + n + \"?\" + this.tagEndChar : s += this.indentate(e) + \"<\" + n + \"/\" + this.tagEndChar : typeof a == \"object\" ? this.options.oneListGroup ? l += this.j2x(a, e + 1).val : l += this.processTextOrObjNode(a, n, e) : l += this.buildTextValNode(a, n, \"\", e));\n }\n this.options.oneListGroup && (l = this.buildObjectNode(l, n, \"\", e)), s += l;\n } else if (this.options.attributesGroupName && n === this.options.attributesGroupName) {\n const r = Object.keys(t[n]), l = r.length;\n for (let o = 0; o < l; o++)\n i += this.buildAttrPairStr(r[o], \"\" + t[n][r[o]]);\n } else\n s += this.processTextOrObjNode(t[n], n, e);\n return { attrStr: i, val: s };\n}, y.prototype.buildAttrPairStr = function(t, e) {\n return e = this.options.attributeValueProcessor(t, \"\" + e), e = this.replaceEntitiesValue(e), this.options.suppressBooleanAttributes && e === \"true\" ? \" \" + t : \" \" + t + '=\"' + e + '\"';\n};\nfunction Se(t, e, i) {\n const s = this.j2x(t, i + 1);\n return t[this.options.textNodeName] !== void 0 && Object.keys(t).length === 1 ? this.buildTextValNode(t[this.options.textNodeName], e, s.attrStr, i) : this.buildObjectNode(s.val, e, s.attrStr, i);\n}\ny.prototype.buildObjectNode = function(t, e, i, s) {\n if (t === \"\")\n return e[0] === \"?\" ? this.indentate(s) + \"<\" + e + i + \"?\" + this.tagEndChar : this.indentate(s) + \"<\" + e + i + this.closeTag(e) + this.tagEndChar;\n {\n let n = \"\" + t + n : this.options.commentPropName !== !1 && e === this.options.commentPropName && r.length === 0 ? this.indentate(s) + `` + this.newLine : this.indentate(s) + \"<\" + e + i + r + this.tagEndChar + t + this.indentate(s) + n;\n }\n}, y.prototype.closeTag = function(t) {\n let e = \"\";\n return this.options.unpairedTags.indexOf(t) !== -1 ? this.options.suppressUnpairedNode || (e = \"/\") : this.options.suppressEmptyNode ? e = \"/\" : e = `>` + this.newLine;\n if (this.options.commentPropName !== !1 && e === this.options.commentPropName)\n return this.indentate(s) + `` + this.newLine;\n if (e[0] === \"?\")\n return this.indentate(s) + \"<\" + e + i + \"?\" + this.tagEndChar;\n {\n let n = this.options.tagValueProcessor(e, t);\n return n = this.replaceEntitiesValue(n), n === \"\" ? this.indentate(s) + \"<\" + e + i + this.closeTag(e) + this.tagEndChar : this.indentate(s) + \"<\" + e + i + \">\" + n + \" 0 && this.options.processEntities)\n for (let e = 0; e < this.options.entities.length; e++) {\n const i = this.options.entities[e];\n t = t.replace(i.regex, i.val);\n }\n return t;\n};\nfunction Fe(t) {\n return this.options.indentBy.repeat(t);\n}\nfunction Ve(t) {\n return t.startsWith(this.options.attributeNamePrefix) && t !== this.options.textNodeName ? t.substr(this.attrPrefixLen) : !1;\n}\nvar $e = y;\nconst ke = k, Re = _e, Le = $e;\nvar X = { XMLParser: Re, XMLValidator: ke, XMLBuilder: Le };\nfunction je(t) {\n if (typeof t != \"string\")\n throw new TypeError(`Expected a \\`string\\`, got \\`${typeof t}\\``);\n if (t = t.trim(), t.length === 0 || X.XMLValidator.validate(t) !== !0)\n return !1;\n let e;\n const i = new X.XMLParser();\n try {\n e = i.parse(t);\n } catch {\n return !1;\n }\n return !(!e || !(\"svg\" in e));\n}\nclass ai {\n _view;\n constructor(e) {\n Me(e), this._view = e;\n }\n get id() {\n return this._view.id;\n }\n get name() {\n return this._view.name;\n }\n get caption() {\n return this._view.caption;\n }\n get emptyTitle() {\n return this._view.emptyTitle;\n }\n get emptyCaption() {\n return this._view.emptyCaption;\n }\n get getContents() {\n return this._view.getContents;\n }\n get icon() {\n return this._view.icon;\n }\n set icon(e) {\n this._view.icon = e;\n }\n get order() {\n return this._view.order;\n }\n set order(e) {\n this._view.order = e;\n }\n get params() {\n return this._view.params;\n }\n set params(e) {\n this._view.params = e;\n }\n get columns() {\n return this._view.columns;\n }\n get emptyView() {\n return this._view.emptyView;\n }\n get parent() {\n return this._view.parent;\n }\n get sticky() {\n return this._view.sticky;\n }\n get expanded() {\n return this._view.expanded;\n }\n set expanded(e) {\n this._view.expanded = e;\n }\n get defaultSortKey() {\n return this._view.defaultSortKey;\n }\n}\nconst Me = function(t) {\n if (!t.id || typeof t.id != \"string\")\n throw new Error(\"View id is required and must be a string\");\n if (!t.name || typeof t.name != \"string\")\n throw new Error(\"View name is required and must be a string\");\n if (t.columns && t.columns.length > 0 && (!t.caption || typeof t.caption != \"string\"))\n throw new Error(\"View caption is required for top-level views and must be a string\");\n if (!t.getContents || typeof t.getContents != \"function\")\n throw new Error(\"View getContents is required and must be a function\");\n if (!t.icon || typeof t.icon != \"string\" || !je(t.icon))\n throw new Error(\"View icon is required and must be a valid svg string\");\n if (!(\"order\" in t) || typeof t.order != \"number\")\n throw new Error(\"View order is required and must be a number\");\n if (t.columns && t.columns.forEach((e) => {\n if (!(e instanceof Nt))\n throw new Error(\"View columns must be an array of Column. Invalid column found\");\n }), t.emptyView && typeof t.emptyView != \"function\")\n throw new Error(\"View emptyView must be a function\");\n if (t.parent && typeof t.parent != \"string\")\n throw new Error(\"View parent must be a string\");\n if (\"sticky\" in t && typeof t.sticky != \"boolean\")\n throw new Error(\"View sticky must be a boolean\");\n if (\"expanded\" in t && typeof t.expanded != \"boolean\")\n throw new Error(\"View expanded must be a boolean\");\n if (t.defaultSortKey && typeof t.defaultSortKey != \"string\")\n throw new Error(\"View defaultSortKey must be a string\");\n return !0;\n}, li = function(t) {\n return S().registerEntry(t);\n}, di = function(t) {\n return S().unregisterEntry(t);\n}, ui = function(t, e) {\n return S().getEntries(t, e);\n};\nexport {\n Nt as Column,\n K as DefaultType,\n vt as File,\n We as FileAction,\n $ as FileType,\n yt as Folder,\n Je as Header,\n Et as Navigation,\n J as Node,\n v as Permission,\n ai as View,\n li as addNewFileMenuEntry,\n ri as davGetClient,\n ii as davGetDefaultPropfind,\n mt as davGetFavoritesReport,\n ni as davGetRecentSearch,\n wt as davParsePermissions,\n xt as davRemoteURL,\n bt as davResultToNode,\n Q as davRootPath,\n Y as defaultDavNamespaces,\n W as defaultDavProperties,\n Ke as formatFileSize,\n V as getDavNameSpaces,\n F as getDavProperties,\n si as getFavoriteNodes,\n Ze as getFileActions,\n ti as getFileListHeaders,\n oi as getNavigation,\n ui as getNewFileMenuEntries,\n ei as registerDavProperty,\n Ye as registerFileAction,\n Qe as registerFileListHeaders,\n di as removeNewFileMenuEntry\n};\n","/**\n * @copyright Copyright (c) 2022 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nexport default getLoggerBuilder()\n\t.setApp('files')\n\t.detectUser()\n\t.build()\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport logger from '../logger';\nconst defaultDavProperties = [\n 'd:getcontentlength',\n 'd:getcontenttype',\n 'd:getetag',\n 'd:getlastmodified',\n 'd:quota-available-bytes',\n 'd:resourcetype',\n 'nc:has-preview',\n 'nc:is-encrypted',\n 'nc:mount-type',\n 'nc:share-attributes',\n 'oc:comments-unread',\n 'oc:favorite',\n 'oc:fileid',\n 'oc:owner-display-name',\n 'oc:owner-id',\n 'oc:permissions',\n 'oc:share-types',\n 'oc:size',\n 'ocs:share-permissions',\n];\nconst defaultDavNamespaces = {\n d: 'DAV:',\n nc: 'http://nextcloud.org/ns',\n oc: 'http://owncloud.org/ns',\n ocs: 'http://open-collaboration-services.org/ns',\n};\n/**\n * TODO: remove and move to @nextcloud/files\n * @param prop\n * @param namespace\n */\nexport const registerDavProperty = function (prop, namespace = { nc: 'http://nextcloud.org/ns' }) {\n if (typeof window._nc_dav_properties === 'undefined') {\n window._nc_dav_properties = defaultDavProperties;\n window._nc_dav_namespaces = defaultDavNamespaces;\n }\n const namespaces = { ...window._nc_dav_namespaces, ...namespace };\n // Check duplicates\n if (window._nc_dav_properties.find(search => search === prop)) {\n logger.error(`${prop} already registered`, { prop });\n return;\n }\n if (prop.startsWith('<') || prop.split(':').length !== 2) {\n logger.error(`${prop} is not valid. See example: 'oc:fileid'`, { prop });\n return;\n }\n const ns = prop.split(':')[0];\n if (!namespaces[ns]) {\n logger.error(`${prop} namespace unknown`, { prop, namespaces });\n return;\n }\n window._nc_dav_properties.push(prop);\n window._nc_dav_namespaces = namespaces;\n};\n/**\n * Get the registered dav properties\n */\nexport const getDavProperties = function () {\n if (typeof window._nc_dav_properties === 'undefined') {\n window._nc_dav_properties = defaultDavProperties;\n }\n return window._nc_dav_properties.map(prop => `<${prop} />`).join(' ');\n};\n/**\n * Get the registered dav namespaces\n */\nexport const getDavNameSpaces = function () {\n if (typeof window._nc_dav_namespaces === 'undefined') {\n window._nc_dav_namespaces = defaultDavNamespaces;\n }\n return Object.keys(window._nc_dav_namespaces).map(ns => `xmlns:${ns}=\"${window._nc_dav_namespaces[ns]}\"`).join(' ');\n};\n/**\n * Get the default PROPFIND request payload\n */\nexport const getDefaultPropfind = function () {\n return `\n\t\t\n\t\t\t\n\t\t\t\t${getDavProperties()}\n\t\t\t\n\t\t`;\n};\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { createClient } from 'webdav';\nimport { generateRemoteUrl } from '@nextcloud/router';\nimport { getCurrentUser, getRequestToken } from '@nextcloud/auth';\nexport const rootPath = `/trashbin/${getCurrentUser()?.uid}/trash`;\nexport const rootUrl = generateRemoteUrl('dav' + rootPath);\nconst client = createClient(rootUrl, {\n headers: {\n requesttoken: getRequestToken(),\n },\n});\nexport default client;\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { File, Folder, davParsePermissions } from '@nextcloud/files';\nimport { generateRemoteUrl, generateUrl } from '@nextcloud/router';\nimport { getCurrentUser } from '@nextcloud/auth';\nimport { getDavNameSpaces, getDavProperties } from '../../../files/src/services/DavProperties';\nimport client, { rootPath } from './client';\nconst data = `\n\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t${getDavProperties()}\n\t\n`;\nconst resultToNode = function (node) {\n const permissions = davParsePermissions(node.props?.permissions);\n const owner = getCurrentUser()?.uid;\n const previewUrl = generateUrl('/apps/files_trashbin/preview?fileId={fileid}&x=32&y=32', node.props);\n const nodeData = {\n id: node.props?.fileid || 0,\n source: generateRemoteUrl('dav' + rootPath + node.filename),\n // do not show the mtime column\n // mtime: new Date(node.lastmod),\n mime: node.mime,\n size: node.props?.size || 0,\n permissions,\n owner,\n root: rootPath,\n attributes: {\n ...node,\n ...node.props,\n // Override displayed name on the list\n displayName: node.props?.['trashbin-filename'],\n previewUrl,\n },\n };\n delete nodeData.attributes.props;\n return node.type === 'file'\n ? new File(nodeData)\n : new Folder(nodeData);\n};\nexport const getContents = async (path = '/') => {\n // TODO: use only one request when webdav-client supports it\n // @see https://github.com/perry-mitchell/webdav-client/pull/334\n const rootResponse = await client.stat(path, {\n details: true,\n data,\n });\n const contentsResponse = await client.getDirectoryContents(path, {\n details: true,\n data,\n });\n return {\n folder: resultToNode(rootResponse.data),\n contents: contentsResponse.data.map(resultToNode),\n };\n};\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { emit } from '@nextcloud/event-bus';\nimport { generateRemoteUrl } from '@nextcloud/router';\nimport { getCurrentUser } from '@nextcloud/auth';\nimport { Permission, Node, View, registerFileAction, FileAction } from '@nextcloud/files';\nimport { translate as t } from '@nextcloud/l10n';\nimport axios from '@nextcloud/axios';\nimport History from '@mdi/svg/svg/history.svg?raw';\nimport logger from '../../../files/src/logger.js';\nregisterFileAction(new FileAction({\n id: 'restore',\n displayName() {\n return t('files_trashbin', 'Restore');\n },\n iconSvgInline: () => History,\n enabled(nodes, view) {\n // Only available in the trashbin view\n if (view.id !== 'trashbin') {\n return false;\n }\n // Only available if all nodes have read permission\n return nodes.length > 0 && nodes\n .map(node => node.permissions)\n .every(permission => (permission & Permission.READ) !== 0);\n },\n async exec(node) {\n try {\n const destination = generateRemoteUrl(`dav/trashbin/${getCurrentUser()?.uid}/restore/${node.basename}`);\n await axios({\n method: 'MOVE',\n url: node.source,\n headers: {\n destination,\n },\n });\n // Let's pretend the file is deleted since\n // we don't know the restored location\n emit('files:node:deleted', node);\n return true;\n }\n catch (error) {\n logger.error(error);\n return false;\n }\n },\n async execBatch(nodes, view, dir) {\n return Promise.all(nodes.map(node => this.exec(node, view, dir)));\n },\n order: 1,\n inline: () => true,\n}));\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { translate as t, translate } from '@nextcloud/l10n';\nimport DeleteSvg from '@mdi/svg/svg/delete.svg?raw';\nimport moment from '@nextcloud/moment';\nimport { getContents } from './services/trashbin';\n// Register restore action\nimport './actions/restoreAction';\nimport { Column, View, getNavigation } from '@nextcloud/files';\nconst Navigation = getNavigation();\nNavigation.register(new View({\n id: 'trashbin',\n name: t('files_trashbin', 'Deleted files'),\n caption: t('files_trashbin', 'List of files that have been deleted.'),\n emptyTitle: t('files_trashbin', 'No deleted files'),\n emptyCaption: t('files_trashbin', 'Files and folders you have deleted will show up here'),\n icon: DeleteSvg,\n order: 50,\n sticky: true,\n defaultSortKey: 'deleted',\n columns: [\n new Column({\n id: 'deleted',\n title: t('files_trashbin', 'Deleted'),\n render(node) {\n const deletionTime = node.attributes?.['trashbin-deletion-time'];\n const span = document.createElement('span');\n if (deletionTime) {\n span.title = moment.unix(deletionTime).format('LLL');\n span.textContent = moment.unix(deletionTime).fromNow();\n return span;\n }\n // Unknown deletion time\n span.textContent = translate('files_trashbin', 'A long time ago');\n return span;\n },\n sort(nodeA, nodeB) {\n const deletionTimeA = nodeA.attributes?.['trashbin-deletion-time'] || nodeA?.mtime || 0;\n const deletionTimeB = nodeB.attributes?.['trashbin-deletion-time'] || nodeB?.mtime || 0;\n return deletionTimeB - deletionTimeA;\n },\n }),\n ],\n getContents,\n}));\n","var map = {\n\t\"./af\": 42786,\n\t\"./af.js\": 42786,\n\t\"./ar\": 30867,\n\t\"./ar-dz\": 14130,\n\t\"./ar-dz.js\": 14130,\n\t\"./ar-kw\": 96135,\n\t\"./ar-kw.js\": 96135,\n\t\"./ar-ly\": 56440,\n\t\"./ar-ly.js\": 56440,\n\t\"./ar-ma\": 47702,\n\t\"./ar-ma.js\": 47702,\n\t\"./ar-sa\": 16040,\n\t\"./ar-sa.js\": 16040,\n\t\"./ar-tn\": 37100,\n\t\"./ar-tn.js\": 37100,\n\t\"./ar.js\": 30867,\n\t\"./az\": 31083,\n\t\"./az.js\": 31083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 68338,\n\t\"./bg.js\": 68338,\n\t\"./bm\": 67438,\n\t\"./bm.js\": 67438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 76225,\n\t\"./bn-bd.js\": 76225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 11560,\n\t\"./bo.js\": 11560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 80622,\n\t\"./bs.js\": 80622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 50877,\n\t\"./cv.js\": 50877,\n\t\"./cy\": 47373,\n\t\"./cy.js\": 47373,\n\t\"./da\": 24780,\n\t\"./da.js\": 24780,\n\t\"./de\": 59740,\n\t\"./de-at\": 60217,\n\t\"./de-at.js\": 60217,\n\t\"./de-ch\": 60894,\n\t\"./de-ch.js\": 60894,\n\t\"./de.js\": 59740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 50837,\n\t\"./el.js\": 50837,\n\t\"./en-au\": 78348,\n\t\"./en-au.js\": 78348,\n\t\"./en-ca\": 77925,\n\t\"./en-ca.js\": 77925,\n\t\"./en-gb\": 22243,\n\t\"./en-gb.js\": 22243,\n\t\"./en-ie\": 46436,\n\t\"./en-ie.js\": 46436,\n\t\"./en-il\": 47207,\n\t\"./en-il.js\": 47207,\n\t\"./en-in\": 44175,\n\t\"./en-in.js\": 44175,\n\t\"./en-nz\": 76319,\n\t\"./en-nz.js\": 76319,\n\t\"./en-sg\": 31662,\n\t\"./en-sg.js\": 31662,\n\t\"./eo\": 92915,\n\t\"./eo.js\": 92915,\n\t\"./es\": 55655,\n\t\"./es-do\": 55251,\n\t\"./es-do.js\": 55251,\n\t\"./es-mx\": 96112,\n\t\"./es-mx.js\": 96112,\n\t\"./es-us\": 71146,\n\t\"./es-us.js\": 71146,\n\t\"./es.js\": 55655,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 77763,\n\t\"./eu.js\": 77763,\n\t\"./fa\": 76959,\n\t\"./fa.js\": 76959,\n\t\"./fi\": 11897,\n\t\"./fi.js\": 11897,\n\t\"./fil\": 42549,\n\t\"./fil.js\": 42549,\n\t\"./fo\": 94694,\n\t\"./fo.js\": 94694,\n\t\"./fr\": 94470,\n\t\"./fr-ca\": 63049,\n\t\"./fr-ca.js\": 63049,\n\t\"./fr-ch\": 52330,\n\t\"./fr-ch.js\": 52330,\n\t\"./fr.js\": 94470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 29295,\n\t\"./ga.js\": 29295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 38794,\n\t\"./gl.js\": 38794,\n\t\"./gom-deva\": 27884,\n\t\"./gom-deva.js\": 27884,\n\t\"./gom-latn\": 23168,\n\t\"./gom-latn.js\": 23168,\n\t\"./gu\": 95349,\n\t\"./gu.js\": 95349,\n\t\"./he\": 24206,\n\t\"./he.js\": 24206,\n\t\"./hi\": 30094,\n\t\"./hi.js\": 30094,\n\t\"./hr\": 30316,\n\t\"./hr.js\": 30316,\n\t\"./hu\": 22138,\n\t\"./hu.js\": 22138,\n\t\"./hy-am\": 11423,\n\t\"./hy-am.js\": 11423,\n\t\"./id\": 29218,\n\t\"./id.js\": 29218,\n\t\"./is\": 90135,\n\t\"./is.js\": 90135,\n\t\"./it\": 90626,\n\t\"./it-ch\": 10150,\n\t\"./it-ch.js\": 10150,\n\t\"./it.js\": 90626,\n\t\"./ja\": 39183,\n\t\"./ja.js\": 39183,\n\t\"./jv\": 24286,\n\t\"./jv.js\": 24286,\n\t\"./ka\": 12105,\n\t\"./ka.js\": 12105,\n\t\"./kk\": 47772,\n\t\"./kk.js\": 47772,\n\t\"./km\": 18758,\n\t\"./km.js\": 18758,\n\t\"./kn\": 79282,\n\t\"./kn.js\": 79282,\n\t\"./ko\": 33730,\n\t\"./ko.js\": 33730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 33291,\n\t\"./ky.js\": 33291,\n\t\"./lb\": 36841,\n\t\"./lb.js\": 36841,\n\t\"./lo\": 55466,\n\t\"./lo.js\": 55466,\n\t\"./lt\": 57010,\n\t\"./lt.js\": 57010,\n\t\"./lv\": 37595,\n\t\"./lv.js\": 37595,\n\t\"./me\": 39861,\n\t\"./me.js\": 39861,\n\t\"./mi\": 35493,\n\t\"./mi.js\": 35493,\n\t\"./mk\": 95966,\n\t\"./mk.js\": 95966,\n\t\"./ml\": 87341,\n\t\"./ml.js\": 87341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 10370,\n\t\"./mr.js\": 10370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 41237,\n\t\"./ms-my.js\": 41237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 72126,\n\t\"./mt.js\": 72126,\n\t\"./my\": 56165,\n\t\"./my.js\": 56165,\n\t\"./nb\": 64924,\n\t\"./nb.js\": 64924,\n\t\"./ne\": 16744,\n\t\"./ne.js\": 16744,\n\t\"./nl\": 93901,\n\t\"./nl-be\": 59814,\n\t\"./nl-be.js\": 59814,\n\t\"./nl.js\": 93901,\n\t\"./nn\": 83877,\n\t\"./nn.js\": 83877,\n\t\"./oc-lnc\": 92135,\n\t\"./oc-lnc.js\": 92135,\n\t\"./pa-in\": 15858,\n\t\"./pa-in.js\": 15858,\n\t\"./pl\": 64495,\n\t\"./pl.js\": 64495,\n\t\"./pt\": 89520,\n\t\"./pt-br\": 57971,\n\t\"./pt-br.js\": 57971,\n\t\"./pt.js\": 89520,\n\t\"./ro\": 96459,\n\t\"./ro.js\": 96459,\n\t\"./ru\": 21793,\n\t\"./ru.js\": 21793,\n\t\"./sd\": 40950,\n\t\"./sd.js\": 40950,\n\t\"./se\": 10490,\n\t\"./se.js\": 10490,\n\t\"./si\": 90124,\n\t\"./si.js\": 90124,\n\t\"./sk\": 64249,\n\t\"./sk.js\": 64249,\n\t\"./sl\": 14985,\n\t\"./sl.js\": 14985,\n\t\"./sq\": 51104,\n\t\"./sq.js\": 51104,\n\t\"./sr\": 49131,\n\t\"./sr-cyrl\": 79915,\n\t\"./sr-cyrl.js\": 79915,\n\t\"./sr.js\": 49131,\n\t\"./ss\": 85893,\n\t\"./ss.js\": 85893,\n\t\"./sv\": 98760,\n\t\"./sv.js\": 98760,\n\t\"./sw\": 91172,\n\t\"./sw.js\": 91172,\n\t\"./ta\": 27333,\n\t\"./ta.js\": 27333,\n\t\"./te\": 23110,\n\t\"./te.js\": 23110,\n\t\"./tet\": 52095,\n\t\"./tet.js\": 52095,\n\t\"./tg\": 27321,\n\t\"./tg.js\": 27321,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 19005,\n\t\"./tk.js\": 19005,\n\t\"./tl-ph\": 75768,\n\t\"./tl-ph.js\": 75768,\n\t\"./tlh\": 89444,\n\t\"./tlh.js\": 89444,\n\t\"./tr\": 72397,\n\t\"./tr.js\": 72397,\n\t\"./tzl\": 28254,\n\t\"./tzl.js\": 28254,\n\t\"./tzm\": 51106,\n\t\"./tzm-latn\": 30699,\n\t\"./tzm-latn.js\": 30699,\n\t\"./tzm.js\": 51106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 67691,\n\t\"./uk.js\": 67691,\n\t\"./ur\": 13795,\n\t\"./ur.js\": 13795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 60588,\n\t\"./uz-latn.js\": 60588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 65666,\n\t\"./vi.js\": 65666,\n\t\"./x-pseudo\": 14378,\n\t\"./x-pseudo.js\": 14378,\n\t\"./yo\": 75805,\n\t\"./yo.js\": 75805,\n\t\"./zh-cn\": 83839,\n\t\"./zh-cn.js\": 83839,\n\t\"./zh-hk\": 55726,\n\t\"./zh-hk.js\": 55726,\n\t\"./zh-mo\": 99807,\n\t\"./zh-mo.js\": 99807,\n\t\"./zh-tw\": 74152,\n\t\"./zh-tw.js\": 74152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 46700;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 5992;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t5992: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknextcloud\"] = self[\"webpackChunknextcloud\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [7874], function() { return __webpack_require__(37298); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","m","t","setApp","build","setUid","uid","K","DEFAULT","HIDDEN","v","NONE","CREATE","READ","UPDATE","DELETE","SHARE","ALL","$","Folder","File","Z","e","match","M","id","Error","source","URL","startsWith","mtime","Date","crtime","mime","size","permissions","owner","attributes","root","includes","i","J","_data","_attributes","_knownDavService","constructor","this","s","set","n","r","l","updateMtime","Reflect","deleteProperty","Proxy","replace","basename","extension","dirname","indexOf","slice","length","pathname","isDavRessource","split","pop","path","fileid","move","rename","vt","type","yt","super","Nt","_column","_t","title","render","sort","summary","k","T","RegExp","isExist","o","isEmptyObject","Object","keys","merge","a","d","u","h","c","getValue","isName","exec","getAllMatches","startIndex","lastIndex","f","push","nameRegexp","R","At","allowBooleanAttributes","unpairedTags","B","q","substr","p","g","U","validate","assign","err","trim","substring","Ft","Pt","value","index","z","code","msg","line","tagClosed","tagName","tagStartPos","col","Dt","JSON","stringify","map","Tt","It","Ot","b","St","hasOwnProperty","Ct","O","tt","preserveOrder","attributeNamePrefix","attributesGroupName","textNodeName","ignoreAttributes","removeNSPrefix","parseTagValue","parseAttributeValue","trimValues","cdataPropName","numberParseOptions","hex","leadingZeros","eNotation","tagValueProcessor","attributeValueProcessor","stopNodes","alwaysCreateTextNode","isArray","commentPropName","processEntities","htmlEntities","ignoreDeclaration","ignorePiTags","transformTagName","transformAttributeName","updateTag","buildOptions","defaultOptions","Rt","jt","Mt","Bt","qt","Ut","zt","Gt","Ht","Kt","Number","parseInt","window","parseFloat","Wt","decimalPoint","L","E","tagname","child","add","addChild","Qt","entityName","val","regx","entities","te","skipLike","test","Zt","search","ie","lastEntities","regex","ne","options","replaceEntitiesValue","D","re","charAt","se","oe","resolveNameSpace","ae","x","saveTextToParentTag","lastIndexOf","tagsNodeStack","C","tagExp","attrExpPresent","buildAttributesMap","closeIndex","docTypeEntities","parseTextData","isItStopNode","w","readStopNodeData","tagContent","le","de","ampEntity","ue","ce","data","he","pe","et","it","me","ve","we","Array","prettify","ye","xe","currentNode","apos","gt","lt","quot","space","cent","pound","yen","euro","copyright","reg","inr","addExternalEntities","parseXml","be","Ee","nt","Ie","Pe","rt","G","st","N","indentBy","suppressUnpairedNode","suppressEmptyNode","endsWith","suppressBooleanAttributes","Ce","format","De","oneListGroup","y","isAttribute","attrPrefixLen","Ve","processTextOrObjNode","Se","indentate","Fe","tagEndChar","newLine","j2x","buildTextValNode","attrStr","buildObjectNode","repeat","prototype","arrayNodeName","buildAttrPairStr","closeTag","X","XMLParser","externalEntities","parse","toString","addEntity","XMLValidator","XMLBuilder","getLoggerBuilder","detectUser","defaultDavProperties","defaultDavNamespaces","nc","oc","ocs","rootPath","concat","_getCurrentUser","getCurrentUser","rootUrl","generateRemoteUrl","createClient","headers","requesttoken","getRequestToken","_regeneratorRuntime","exports","Op","hasOwn","defineProperty","obj","key","desc","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","_typeof","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","undefined","done","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","methodName","return","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","doneResult","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","object","reverse","skipTempReset","prev","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","apply","_objectSpread","target","arguments","_defineProperty","getOwnPropertyDescriptors","defineProperties","input","hint","prim","toPrimitive","res","String","_toPrimitive","_toPropertyKey","_nc_dav_namespaces","ns","join","_nc_dav_properties","prop","resultToNode","node","_node$props","_node$props2","_node$props3","_node$props4","davParsePermissions","props","previewUrl","generateUrl","nodeData","filename","getContents","_ref","_callee","rootResponse","contentsResponse","_args","_context","client","stat","details","getDirectoryContents","folder","contents","args","_asyncToGenerator","_nc_fileactions","debug","find","action","registerFileAction","_action","validateAction","iconSvgInline","enabled","execBatch","order","default","inline","renderInline","nodes","view","every","permission","Permission","destination","axios","url","emit","t0","logger","dir","_this","_callee2","_context2","all","_nc_navigation","_views","_currentView","register","remove","findIndex","splice","views","setActive","active","_view","columns","caption","icon","je","emptyView","parent","sticky","expanded","defaultSortKey","Me","emptyTitle","emptyCaption","params","Column","_node$attributes","deletionTime","span","document","createElement","moment","textContent","fromNow","translate","nodeA","nodeB","_nodeA$attributes","_nodeB$attributes","deletionTimeA","webpackContext","req","webpackContextResolve","__webpack_require__","module","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","getter","__esModule","definition","get","globalThis","Function","nmd","paths","children","baseURI","location","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"files_trashbin-main.js?v=4aec6e7bd791872f9478","mappings":";gBAAIA,2ICOJ,MAAwGC,EAAhF,QAAZC,GAAmG,YAAhF,UAAIC,OAAO,SAASC,SAAU,UAAID,OAAO,SAASE,OAAOH,EAAEI,KAAKF,QAApF,IAACF,EAkDRK,EAAI,CAAEL,IAAOA,EAAEM,QAAU,UAAWN,EAAEO,OAAS,SAAUP,GAArD,CAAyDK,GAAK,CAAC,GA8GnEG,EAAI,CAAER,IAAOA,EAAEA,EAAES,KAAO,GAAK,OAAQT,EAAEA,EAAEU,OAAS,GAAK,SAAUV,EAAEA,EAAEW,KAAO,GAAK,OAAQX,EAAEA,EAAEY,OAAS,GAAK,SAAUZ,EAAEA,EAAEa,OAAS,GAAK,SAAUb,EAAEA,EAAEc,MAAQ,IAAM,QAASd,EAAEA,EAAEe,IAAM,IAAM,MAAOf,GAA/L,CAAmMQ,GAAK,CAAC,GA2FjN,IAAIQ,EAAI,CAAEhB,IAAOA,EAAEiB,OAAS,SAAUjB,EAAEkB,KAAO,OAAQlB,GAA/C,CAAmDgB,GAAK,CAAC,GACjE,MAAMG,EAAI,SAASnB,EAAGoB,GACpB,OAAsB,OAAfpB,EAAEqB,MAAMD,EACjB,EAAGE,EAAI,CAACtB,EAAGoB,KACT,GAAIpB,EAAEuB,IAAqB,iBAARvB,EAAEuB,GACnB,MAAM,IAAIC,MAAM,4BAClB,IAAKxB,EAAEyB,OACL,MAAM,IAAID,MAAM,4BAClB,IACE,IAAIE,IAAI1B,EAAEyB,OACZ,CAAE,MACA,MAAM,IAAID,MAAM,oDAClB,CACA,IAAKxB,EAAEyB,OAAO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D,EAAoBY,EAAI,gBCAxBZ,EAAoB9b,EAAIgb,SAASoC,SAAWhQ,KAAKiQ,SAASC,KAK1D,IAAIC,EAAkB,CACrB,KAAM,GAaPzB,EAAoB1b,EAAEsc,EAAI,SAASc,GAAW,OAAoC,IAA7BD,EAAgBC,EAAgB,EAGrF,IAAIC,EAAuB,SAASC,EAA4BtX,GAC/D,IAKI6V,EAAUuB,EALVnB,EAAWjW,EAAK,GAChBuX,EAAcvX,EAAK,GACnBwX,EAAUxX,EAAK,GAGIvM,EAAI,EAC3B,GAAGwiB,EAASwB,MAAK,SAAS/kB,GAAM,OAA+B,IAAxBykB,EAAgBzkB,EAAW,IAAI,CACrE,IAAImjB,KAAY0B,EACZ7B,EAAoBnf,EAAEghB,EAAa1B,KACrCH,EAAoBxkB,EAAE2kB,GAAY0B,EAAY1B,IAGhD,GAAG2B,EAAS,IAAIxO,EAASwO,EAAQ9B,EAClC,CAEA,IADG4B,GAA4BA,EAA2BtX,GACrDvM,EAAIwiB,EAASlhB,OAAQtB,IACzB2jB,EAAUnB,EAASxiB,GAChBiiB,EAAoBnf,EAAE4gB,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAO1B,EAAoB1b,EAAEgP,EAC9B,EAEI0O,EAAqB1Q,KAA4B,sBAAIA,KAA4B,uBAAK,GAC1F0Q,EAAmBnP,QAAQ8O,EAAqBM,KAAK,KAAM,IAC3DD,EAAmBlgB,KAAO6f,EAAqBM,KAAK,KAAMD,EAAmBlgB,KAAKmgB,KAAKD,OClDvFhC,EAAoB9Q,QAAK6E,ECGzB,IAAImO,EAAsBlC,EAAoB1b,OAAEyP,EAAW,CAAC,OAAO,WAAa,OAAOiM,EAAoB,MAAQ,IACnHkC,EAAsBlC,EAAoB1b,EAAE4d","sources":["webpack:///nextcloud/webpack/runtime/chunk loaded","webpack:///nextcloud/node_modules/@nextcloud/files/dist/index.mjs","webpack:///nextcloud/apps/files/src/logger.js","webpack:///nextcloud/apps/files/src/services/DavProperties.ts","webpack:///nextcloud/apps/files_trashbin/src/services/client.ts","webpack:///nextcloud/apps/files_trashbin/src/services/trashbin.ts","webpack:///nextcloud/apps/files_trashbin/src/actions/restoreAction.ts","webpack:///nextcloud/apps/files_trashbin/src/main.ts","webpack:///nextcloud/node_modules/moment/locale|sync|/^\\.\\/.*$","webpack:///nextcloud/webpack/bootstrap","webpack:///nextcloud/webpack/runtime/compat get default export","webpack:///nextcloud/webpack/runtime/define property getters","webpack:///nextcloud/webpack/runtime/global","webpack:///nextcloud/webpack/runtime/hasOwnProperty shorthand","webpack:///nextcloud/webpack/runtime/make namespace object","webpack:///nextcloud/webpack/runtime/node module decorator","webpack:///nextcloud/webpack/runtime/runtimeId","webpack:///nextcloud/webpack/runtime/jsonp chunk loading","webpack:///nextcloud/webpack/runtime/nonce","webpack:///nextcloud/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","import { getCurrentUser as A, getRequestToken as ot } from \"@nextcloud/auth\";\nimport { getLoggerBuilder as j } from \"@nextcloud/logger\";\nimport { getCanonicalLocale as at } from \"@nextcloud/l10n\";\nimport { join as lt, basename as dt, extname as ut, dirname as _ } from \"path\";\nimport { generateRemoteUrl as H } from \"@nextcloud/router\";\nimport { createClient as ct, getPatcher as ht } from \"webdav\";\nimport { request as pt } from \"webdav/dist/node/request.js\";\nconst ft = (t) => t === null ? j().setApp(\"files\").build() : j().setApp(\"files\").setUid(t.uid).build(), m = ft(A());\nclass gt {\n _entries = [];\n registerEntry(e) {\n this.validateEntry(e), this._entries.push(e);\n }\n unregisterEntry(e) {\n const i = typeof e == \"string\" ? this.getEntryIndex(e) : this.getEntryIndex(e.id);\n if (i === -1) {\n m.warn(\"Entry not found, nothing removed\", { entry: e, entries: this.getEntries() });\n return;\n }\n this._entries.splice(i, 1);\n }\n getEntries(e, i) {\n return e && i ? this._entries.filter((s) => typeof s.if == \"function\" ? s.if(e, i) : !0) : this._entries;\n }\n getEntryIndex(e) {\n return this._entries.findIndex((i) => i.id === e);\n }\n validateEntry(e) {\n if (!e.id || !e.displayName || !(e.iconSvgInline || e.iconClass))\n throw new Error(\"Invalid entry\");\n if (typeof e.id != \"string\" || typeof e.displayName != \"string\")\n throw new Error(\"Invalid id or displayName property\");\n if (e.iconClass && typeof e.iconClass != \"string\" || e.iconSvgInline && typeof e.iconSvgInline != \"string\")\n throw new Error(\"Invalid icon provided\");\n if (e.if !== void 0 && typeof e.if != \"function\")\n throw new Error(\"Invalid if property\");\n if (e.templateName && typeof e.templateName != \"string\")\n throw new Error(\"Invalid templateName property\");\n if (e.handler && typeof e.handler != \"function\")\n throw new Error(\"Invalid handler property\");\n if (!e.templateName && !e.handler)\n throw new Error(\"At least a templateName or a handler must be provided\");\n if (this.getEntryIndex(e.id) !== -1)\n throw new Error(\"Duplicate entry\");\n }\n}\nconst S = function() {\n return typeof window._nc_newfilemenu > \"u\" && (window._nc_newfilemenu = new gt(), m.debug(\"NewFileMenu initialized\")), window._nc_newfilemenu;\n}, I = [\"B\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\"], P = [\"B\", \"KiB\", \"MiB\", \"GiB\", \"TiB\", \"PiB\"];\nfunction Ke(t, e = !1, i = !1) {\n typeof t == \"string\" && (t = Number(t));\n let s = t > 0 ? Math.floor(Math.log(t) / Math.log(i ? 1024 : 1e3)) : 0;\n s = Math.min((i ? P.length : I.length) - 1, s);\n const n = i ? P[s] : I[s];\n let r = (t / Math.pow(i ? 1024 : 1e3, s)).toFixed(1);\n return e === !0 && s === 0 ? (r !== \"0.0\" ? \"< 1 \" : \"0 \") + (i ? P[1] : I[1]) : (s < 2 ? r = parseFloat(r).toFixed(0) : r = parseFloat(r).toLocaleString(at()), r + \" \" + n);\n}\nvar K = ((t) => (t.DEFAULT = \"default\", t.HIDDEN = \"hidden\", t))(K || {});\nclass We {\n _action;\n constructor(e) {\n this.validateAction(e), this._action = e;\n }\n get id() {\n return this._action.id;\n }\n get displayName() {\n return this._action.displayName;\n }\n get iconSvgInline() {\n return this._action.iconSvgInline;\n }\n get enabled() {\n return this._action.enabled;\n }\n get exec() {\n return this._action.exec;\n }\n get execBatch() {\n return this._action.execBatch;\n }\n get order() {\n return this._action.order;\n }\n get default() {\n return this._action.default;\n }\n get inline() {\n return this._action.inline;\n }\n get renderInline() {\n return this._action.renderInline;\n }\n validateAction(e) {\n if (!e.id || typeof e.id != \"string\")\n throw new Error(\"Invalid id\");\n if (!e.displayName || typeof e.displayName != \"function\")\n throw new Error(\"Invalid displayName function\");\n if (!e.iconSvgInline || typeof e.iconSvgInline != \"function\")\n throw new Error(\"Invalid iconSvgInline function\");\n if (!e.exec || typeof e.exec != \"function\")\n throw new Error(\"Invalid exec function\");\n if (\"enabled\" in e && typeof e.enabled != \"function\")\n throw new Error(\"Invalid enabled function\");\n if (\"execBatch\" in e && typeof e.execBatch != \"function\")\n throw new Error(\"Invalid execBatch function\");\n if (\"order\" in e && typeof e.order != \"number\")\n throw new Error(\"Invalid order\");\n if (e.default && !Object.values(K).includes(e.default))\n throw new Error(\"Invalid default\");\n if (\"inline\" in e && typeof e.inline != \"function\")\n throw new Error(\"Invalid inline function\");\n if (\"renderInline\" in e && typeof e.renderInline != \"function\")\n throw new Error(\"Invalid renderInline function\");\n }\n}\nconst Ye = function(t) {\n if (typeof window._nc_fileactions > \"u\" && (window._nc_fileactions = [], m.debug(\"FileActions initialized\")), window._nc_fileactions.find((e) => e.id === t.id)) {\n m.error(`FileAction ${t.id} already registered`, { action: t });\n return;\n }\n window._nc_fileactions.push(t);\n}, Ze = function() {\n return typeof window._nc_fileactions > \"u\" && (window._nc_fileactions = [], m.debug(\"FileActions initialized\")), window._nc_fileactions;\n};\nclass Je {\n _header;\n constructor(e) {\n this.validateHeader(e), this._header = e;\n }\n get id() {\n return this._header.id;\n }\n get order() {\n return this._header.order;\n }\n get enabled() {\n return this._header.enabled;\n }\n get render() {\n return this._header.render;\n }\n get updated() {\n return this._header.updated;\n }\n validateHeader(e) {\n if (!e.id || !e.render || !e.updated)\n throw new Error(\"Invalid header: id, render and updated are required\");\n if (typeof e.id != \"string\")\n throw new Error(\"Invalid id property\");\n if (e.enabled !== void 0 && typeof e.enabled != \"function\")\n throw new Error(\"Invalid enabled property\");\n if (e.render && typeof e.render != \"function\")\n throw new Error(\"Invalid render property\");\n if (e.updated && typeof e.updated != \"function\")\n throw new Error(\"Invalid updated property\");\n }\n}\nconst Qe = function(t) {\n if (typeof window._nc_filelistheader > \"u\" && (window._nc_filelistheader = [], m.debug(\"FileListHeaders initialized\")), window._nc_filelistheader.find((e) => e.id === t.id)) {\n m.error(`Header ${t.id} already registered`, { header: t });\n return;\n }\n window._nc_filelistheader.push(t);\n}, ti = function() {\n return typeof window._nc_filelistheader > \"u\" && (window._nc_filelistheader = [], m.debug(\"FileListHeaders initialized\")), window._nc_filelistheader;\n};\nvar v = ((t) => (t[t.NONE = 0] = \"NONE\", t[t.CREATE = 4] = \"CREATE\", t[t.READ = 1] = \"READ\", t[t.UPDATE = 2] = \"UPDATE\", t[t.DELETE = 8] = \"DELETE\", t[t.SHARE = 16] = \"SHARE\", t[t.ALL = 31] = \"ALL\", t))(v || {});\nconst W = [\"d:getcontentlength\", \"d:getcontenttype\", \"d:getetag\", \"d:getlastmodified\", \"d:quota-available-bytes\", \"d:resourcetype\", \"nc:has-preview\", \"nc:is-encrypted\", \"nc:mount-type\", \"nc:share-attributes\", \"oc:comments-unread\", \"oc:favorite\", \"oc:fileid\", \"oc:owner-display-name\", \"oc:owner-id\", \"oc:permissions\", \"oc:share-types\", \"oc:size\", \"ocs:share-permissions\"], Y = { d: \"DAV:\", nc: \"http://nextcloud.org/ns\", oc: \"http://owncloud.org/ns\", ocs: \"http://open-collaboration-services.org/ns\" }, ei = function(t, e = { nc: \"http://nextcloud.org/ns\" }) {\n typeof window._nc_dav_properties > \"u\" && (window._nc_dav_properties = [...W], window._nc_dav_namespaces = { ...Y });\n const i = { ...window._nc_dav_namespaces, ...e };\n if (window._nc_dav_properties.find((n) => n === t))\n return m.error(`${t} already registered`, { prop: t }), !1;\n if (t.startsWith(\"<\") || t.split(\":\").length !== 2)\n return m.error(`${t} is not valid. See example: 'oc:fileid'`, { prop: t }), !1;\n const s = t.split(\":\")[0];\n return i[s] ? (window._nc_dav_properties.push(t), window._nc_dav_namespaces = i, !0) : (m.error(`${t} namespace unknown`, { prop: t, namespaces: i }), !1);\n}, F = function() {\n return typeof window._nc_dav_properties > \"u\" && (window._nc_dav_properties = [...W]), window._nc_dav_properties.map((t) => `<${t} />`).join(\" \");\n}, V = function() {\n return typeof window._nc_dav_namespaces > \"u\" && (window._nc_dav_namespaces = { ...Y }), Object.keys(window._nc_dav_namespaces).map((t) => `xmlns:${t}=\"${window._nc_dav_namespaces?.[t]}\"`).join(\" \");\n}, ii = function() {\n return `\n\t\t\n\t\t\t\n\t\t\t\t${F()}\n\t\t\t\n\t\t`;\n}, mt = function() {\n return `\n\t\t\n\t\t\t\n\t\t\t\t${F()}\n\t\t\t\n\t\t\t\n\t\t\t\t1\n\t\t\t\n\t\t`;\n}, ni = function(t) {\n return `\n\n\t\n\t\t\n\t\t\t\n\t\t\t\t${F()}\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t/files/${A()?.uid}/\n\t\t\t\tinfinity\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\thttpd/unix-directory\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t0\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t${t}\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t100\n\t\t\t0\n\t\t\n\t\n`;\n}, wt = function(t = \"\") {\n let e = v.NONE;\n return t && ((t.includes(\"C\") || t.includes(\"K\")) && (e |= v.CREATE), t.includes(\"G\") && (e |= v.READ), (t.includes(\"W\") || t.includes(\"N\") || t.includes(\"V\")) && (e |= v.UPDATE), t.includes(\"D\") && (e |= v.DELETE), t.includes(\"R\") && (e |= v.SHARE)), e;\n};\nvar $ = ((t) => (t.Folder = \"folder\", t.File = \"file\", t))($ || {});\nconst Z = function(t, e) {\n return t.match(e) !== null;\n}, M = (t, e) => {\n if (t.id && typeof t.id != \"number\")\n throw new Error(\"Invalid id type of value\");\n if (!t.source)\n throw new Error(\"Missing mandatory source\");\n try {\n new URL(t.source);\n } catch {\n throw new Error(\"Invalid source format, source must be a valid URL\");\n }\n if (!t.source.startsWith(\"http\"))\n throw new Error(\"Invalid source format, only http(s) is supported\");\n if (t.mtime && !(t.mtime instanceof Date))\n throw new Error(\"Invalid mtime type\");\n if (t.crtime && !(t.crtime instanceof Date))\n throw new Error(\"Invalid crtime type\");\n if (!t.mime || typeof t.mime != \"string\" || !t.mime.match(/^[-\\w.]+\\/[-+\\w.]+$/gi))\n throw new Error(\"Missing or invalid mandatory mime\");\n if (\"size\" in t && typeof t.size != \"number\" && t.size !== void 0)\n throw new Error(\"Invalid size type\");\n if (\"permissions\" in t && t.permissions !== void 0 && !(typeof t.permissions == \"number\" && t.permissions >= v.NONE && t.permissions <= v.ALL))\n throw new Error(\"Invalid permissions\");\n if (t.owner && t.owner !== null && typeof t.owner != \"string\")\n throw new Error(\"Invalid owner type\");\n if (t.attributes && typeof t.attributes != \"object\")\n throw new Error(\"Invalid attributes type\");\n if (t.root && typeof t.root != \"string\")\n throw new Error(\"Invalid root type\");\n if (t.root && !t.root.startsWith(\"/\"))\n throw new Error(\"Root must start with a leading slash\");\n if (t.root && !t.source.includes(t.root))\n throw new Error(\"Root must be part of the source\");\n if (t.root && Z(t.source, e)) {\n const i = t.source.match(e)[0];\n if (!t.source.includes(lt(i, t.root)))\n throw new Error(\"The root must be relative to the service. e.g /files/emma\");\n }\n};\nclass J {\n _data;\n _attributes;\n _knownDavService = /(remote|public)\\.php\\/(web)?dav/i;\n constructor(e, i) {\n M(e, i || this._knownDavService), this._data = e;\n const s = { set: (n, r, l) => (this.updateMtime(), Reflect.set(n, r, l)), deleteProperty: (n, r) => (this.updateMtime(), Reflect.deleteProperty(n, r)) };\n this._attributes = new Proxy(e.attributes || {}, s), delete this._data.attributes, i && (this._knownDavService = i);\n }\n get source() {\n return this._data.source.replace(/\\/$/i, \"\");\n }\n get basename() {\n return dt(this.source);\n }\n get extension() {\n return ut(this.source);\n }\n get dirname() {\n if (this.root) {\n const i = this.source.indexOf(this.root);\n return _(this.source.slice(i + this.root.length) || \"/\");\n }\n const e = new URL(this.source);\n return _(e.pathname);\n }\n get mime() {\n return this._data.mime;\n }\n get mtime() {\n return this._data.mtime;\n }\n get crtime() {\n return this._data.crtime;\n }\n get size() {\n return this._data.size;\n }\n get attributes() {\n return this._attributes;\n }\n get permissions() {\n return this.owner === null && !this.isDavRessource ? v.READ : this._data.permissions !== void 0 ? this._data.permissions : v.NONE;\n }\n get owner() {\n return this.isDavRessource ? this._data.owner : null;\n }\n get isDavRessource() {\n return Z(this.source, this._knownDavService);\n }\n get root() {\n return this._data.root ? this._data.root.replace(/^(.+)\\/$/, \"$1\") : this.isDavRessource && _(this.source).split(this._knownDavService).pop() || null;\n }\n get path() {\n if (this.root) {\n const e = this.source.indexOf(this.root);\n return this.source.slice(e + this.root.length) || \"/\";\n }\n return (this.dirname + \"/\" + this.basename).replace(/\\/\\//g, \"/\");\n }\n get fileid() {\n return this._data?.id || this.attributes?.fileid;\n }\n move(e) {\n M({ ...this._data, source: e }, this._knownDavService), this._data.source = e, this.updateMtime();\n }\n rename(e) {\n if (e.includes(\"/\"))\n throw new Error(\"Invalid basename\");\n this.move(_(this.source) + \"/\" + e);\n }\n updateMtime() {\n this._data.mtime && (this._data.mtime = /* @__PURE__ */ new Date());\n }\n}\nclass vt extends J {\n get type() {\n return $.File;\n }\n}\nclass yt extends J {\n constructor(e) {\n super({ ...e, mime: \"httpd/unix-directory\" });\n }\n get type() {\n return $.Folder;\n }\n get extension() {\n return null;\n }\n get mime() {\n return \"httpd/unix-directory\";\n }\n}\nconst Q = `/files/${A()?.uid}`, xt = H(\"dav\"), ri = function(t = xt) {\n const e = ct(t, { headers: { requesttoken: ot() || \"\" } });\n return ht().patch(\"request\", (i) => (i.headers?.method && (i.method = i.headers.method, delete i.headers.method), pt(i))), e;\n}, si = async (t, e = \"/\", i = Q) => (await t.getDirectoryContents(`${i}${e}`, { details: !0, data: mt(), headers: { method: \"REPORT\" }, includeSelf: !0 })).data.filter((s) => s.filename !== e).map((s) => bt(s, i)), bt = function(t, e = Q) {\n const i = t.props, s = wt(i?.permissions), n = A()?.uid, r = { id: i?.fileid || 0, source: H(`dav${e}${t.filename}`), mtime: new Date(Date.parse(t.lastmod)), mime: t.mime, size: i?.size || Number.parseInt(i.getcontentlength || \"0\"), permissions: s, owner: n, root: e, attributes: { ...t, ...i, hasPreview: i?.[\"has-preview\"] } };\n return delete r.attributes?.props, t.type === \"file\" ? new vt(r) : new yt(r);\n};\nclass Et {\n _views = [];\n _currentView = null;\n register(e) {\n if (this._views.find((i) => i.id === e.id))\n throw new Error(`View id ${e.id} is already registered`);\n this._views.push(e);\n }\n remove(e) {\n const i = this._views.findIndex((s) => s.id === e);\n i !== -1 && this._views.splice(i, 1);\n }\n get views() {\n return this._views;\n }\n setActive(e) {\n this._currentView = e;\n }\n get active() {\n return this._currentView;\n }\n}\nconst oi = function() {\n return typeof window._nc_navigation > \"u\" && (window._nc_navigation = new Et(), m.debug(\"Navigation service initialized\")), window._nc_navigation;\n};\nclass Nt {\n _column;\n constructor(e) {\n _t(e), this._column = e;\n }\n get id() {\n return this._column.id;\n }\n get title() {\n return this._column.title;\n }\n get render() {\n return this._column.render;\n }\n get sort() {\n return this._column.sort;\n }\n get summary() {\n return this._column.summary;\n }\n}\nconst _t = function(t) {\n if (!t.id || typeof t.id != \"string\")\n throw new Error(\"A column id is required\");\n if (!t.title || typeof t.title != \"string\")\n throw new Error(\"A column title is required\");\n if (!t.render || typeof t.render != \"function\")\n throw new Error(\"A render function is required\");\n if (t.sort && typeof t.sort != \"function\")\n throw new Error(\"Column sortFunction must be a function\");\n if (t.summary && typeof t.summary != \"function\")\n throw new Error(\"Column summary must be a function\");\n return !0;\n};\nvar k = {}, T = {};\n(function(t) {\n const e = \":A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\", i = e + \"\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040\", s = \"[\" + e + \"][\" + i + \"]*\", n = new RegExp(\"^\" + s + \"$\"), r = function(o, a) {\n const d = [];\n let u = a.exec(o);\n for (; u; ) {\n const h = [];\n h.startIndex = a.lastIndex - u[0].length;\n const c = u.length;\n for (let f = 0; f < c; f++)\n h.push(u[f]);\n d.push(h), u = a.exec(o);\n }\n return d;\n }, l = function(o) {\n const a = n.exec(o);\n return !(a === null || typeof a > \"u\");\n };\n t.isExist = function(o) {\n return typeof o < \"u\";\n }, t.isEmptyObject = function(o) {\n return Object.keys(o).length === 0;\n }, t.merge = function(o, a, d) {\n if (a) {\n const u = Object.keys(a), h = u.length;\n for (let c = 0; c < h; c++)\n d === \"strict\" ? o[u[c]] = [a[u[c]]] : o[u[c]] = a[u[c]];\n }\n }, t.getValue = function(o) {\n return t.isExist(o) ? o : \"\";\n }, t.isName = l, t.getAllMatches = r, t.nameRegexp = s;\n})(T);\nconst R = T, At = { allowBooleanAttributes: !1, unpairedTags: [] };\nk.validate = function(t, e) {\n e = Object.assign({}, At, e);\n const i = [];\n let s = !1, n = !1;\n t[0] === \"\\uFEFF\" && (t = t.substr(1));\n for (let r = 0; r < t.length; r++)\n if (t[r] === \"<\" && t[r + 1] === \"?\") {\n if (r += 2, r = q(t, r), r.err)\n return r;\n } else if (t[r] === \"<\") {\n let l = r;\n if (r++, t[r] === \"!\") {\n r = U(t, r);\n continue;\n } else {\n let o = !1;\n t[r] === \"/\" && (o = !0, r++);\n let a = \"\";\n for (; r < t.length && t[r] !== \">\" && t[r] !== \" \" && t[r] !== \"\t\" && t[r] !== `\n` && t[r] !== \"\\r\"; r++)\n a += t[r];\n if (a = a.trim(), a[a.length - 1] === \"/\" && (a = a.substring(0, a.length - 1), r--), !Ft(a)) {\n let h;\n return a.trim().length === 0 ? h = \"Invalid space after '<'.\" : h = \"Tag '\" + a + \"' is an invalid name.\", p(\"InvalidTag\", h, g(t, r));\n }\n const d = Pt(t, r);\n if (d === !1)\n return p(\"InvalidAttr\", \"Attributes for '\" + a + \"' have open quote.\", g(t, r));\n let u = d.value;\n if (r = d.index, u[u.length - 1] === \"/\") {\n const h = r - u.length;\n u = u.substring(0, u.length - 1);\n const c = z(u, e);\n if (c === !0)\n s = !0;\n else\n return p(c.err.code, c.err.msg, g(t, h + c.err.line));\n } else if (o)\n if (d.tagClosed) {\n if (u.trim().length > 0)\n return p(\"InvalidTag\", \"Closing tag '\" + a + \"' can't have attributes or invalid starting.\", g(t, l));\n {\n const h = i.pop();\n if (a !== h.tagName) {\n let c = g(t, h.tagStartPos);\n return p(\"InvalidTag\", \"Expected closing tag '\" + h.tagName + \"' (opened in line \" + c.line + \", col \" + c.col + \") instead of closing tag '\" + a + \"'.\", g(t, l));\n }\n i.length == 0 && (n = !0);\n }\n } else\n return p(\"InvalidTag\", \"Closing tag '\" + a + \"' doesn't have proper closing.\", g(t, r));\n else {\n const h = z(u, e);\n if (h !== !0)\n return p(h.err.code, h.err.msg, g(t, r - u.length + h.err.line));\n if (n === !0)\n return p(\"InvalidXml\", \"Multiple possible root nodes found.\", g(t, r));\n e.unpairedTags.indexOf(a) !== -1 || i.push({ tagName: a, tagStartPos: l }), s = !0;\n }\n for (r++; r < t.length; r++)\n if (t[r] === \"<\")\n if (t[r + 1] === \"!\") {\n r++, r = U(t, r);\n continue;\n } else if (t[r + 1] === \"?\") {\n if (r = q(t, ++r), r.err)\n return r;\n } else\n break;\n else if (t[r] === \"&\") {\n const h = Dt(t, r);\n if (h == -1)\n return p(\"InvalidChar\", \"char '&' is not expected.\", g(t, r));\n r = h;\n } else if (n === !0 && !B(t[r]))\n return p(\"InvalidXml\", \"Extra text at the end\", g(t, r));\n t[r] === \"<\" && r--;\n }\n } else {\n if (B(t[r]))\n continue;\n return p(\"InvalidChar\", \"char '\" + t[r] + \"' is not expected.\", g(t, r));\n }\n if (s) {\n if (i.length == 1)\n return p(\"InvalidTag\", \"Unclosed tag '\" + i[0].tagName + \"'.\", g(t, i[0].tagStartPos));\n if (i.length > 0)\n return p(\"InvalidXml\", \"Invalid '\" + JSON.stringify(i.map((r) => r.tagName), null, 4).replace(/\\r?\\n/g, \"\") + \"' found.\", { line: 1, col: 1 });\n } else\n return p(\"InvalidXml\", \"Start tag expected.\", 1);\n return !0;\n};\nfunction B(t) {\n return t === \" \" || t === \"\t\" || t === `\n` || t === \"\\r\";\n}\nfunction q(t, e) {\n const i = e;\n for (; e < t.length; e++)\n if (t[e] == \"?\" || t[e] == \" \") {\n const s = t.substr(i, e - i);\n if (e > 5 && s === \"xml\")\n return p(\"InvalidXml\", \"XML declaration allowed only at the start of the document.\", g(t, e));\n if (t[e] == \"?\" && t[e + 1] == \">\") {\n e++;\n break;\n } else\n continue;\n }\n return e;\n}\nfunction U(t, e) {\n if (t.length > e + 5 && t[e + 1] === \"-\" && t[e + 2] === \"-\") {\n for (e += 3; e < t.length; e++)\n if (t[e] === \"-\" && t[e + 1] === \"-\" && t[e + 2] === \">\") {\n e += 2;\n break;\n }\n } else if (t.length > e + 8 && t[e + 1] === \"D\" && t[e + 2] === \"O\" && t[e + 3] === \"C\" && t[e + 4] === \"T\" && t[e + 5] === \"Y\" && t[e + 6] === \"P\" && t[e + 7] === \"E\") {\n let i = 1;\n for (e += 8; e < t.length; e++)\n if (t[e] === \"<\")\n i++;\n else if (t[e] === \">\" && (i--, i === 0))\n break;\n } else if (t.length > e + 9 && t[e + 1] === \"[\" && t[e + 2] === \"C\" && t[e + 3] === \"D\" && t[e + 4] === \"A\" && t[e + 5] === \"T\" && t[e + 6] === \"A\" && t[e + 7] === \"[\") {\n for (e += 8; e < t.length; e++)\n if (t[e] === \"]\" && t[e + 1] === \"]\" && t[e + 2] === \">\") {\n e += 2;\n break;\n }\n }\n return e;\n}\nconst Tt = '\"', It = \"'\";\nfunction Pt(t, e) {\n let i = \"\", s = \"\", n = !1;\n for (; e < t.length; e++) {\n if (t[e] === Tt || t[e] === It)\n s === \"\" ? s = t[e] : s !== t[e] || (s = \"\");\n else if (t[e] === \">\" && s === \"\") {\n n = !0;\n break;\n }\n i += t[e];\n }\n return s !== \"\" ? !1 : { value: i, index: e, tagClosed: n };\n}\nconst Ot = new RegExp(`(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*(['\"])(([\\\\s\\\\S])*?)\\\\5)?`, \"g\");\nfunction z(t, e) {\n const i = R.getAllMatches(t, Ot), s = {};\n for (let n = 0; n < i.length; n++) {\n if (i[n][1].length === 0)\n return p(\"InvalidAttr\", \"Attribute '\" + i[n][2] + \"' has no space in starting.\", b(i[n]));\n if (i[n][3] !== void 0 && i[n][4] === void 0)\n return p(\"InvalidAttr\", \"Attribute '\" + i[n][2] + \"' is without value.\", b(i[n]));\n if (i[n][3] === void 0 && !e.allowBooleanAttributes)\n return p(\"InvalidAttr\", \"boolean attribute '\" + i[n][2] + \"' is not allowed.\", b(i[n]));\n const r = i[n][2];\n if (!St(r))\n return p(\"InvalidAttr\", \"Attribute '\" + r + \"' is an invalid name.\", b(i[n]));\n if (!s.hasOwnProperty(r))\n s[r] = 1;\n else\n return p(\"InvalidAttr\", \"Attribute '\" + r + \"' is repeated.\", b(i[n]));\n }\n return !0;\n}\nfunction Ct(t, e) {\n let i = /\\d/;\n for (t[e] === \"x\" && (e++, i = /[\\da-fA-F]/); e < t.length; e++) {\n if (t[e] === \";\")\n return e;\n if (!t[e].match(i))\n break;\n }\n return -1;\n}\nfunction Dt(t, e) {\n if (e++, t[e] === \";\")\n return -1;\n if (t[e] === \"#\")\n return e++, Ct(t, e);\n let i = 0;\n for (; e < t.length; e++, i++)\n if (!(t[e].match(/\\w/) && i < 20)) {\n if (t[e] === \";\")\n break;\n return -1;\n }\n return e;\n}\nfunction p(t, e, i) {\n return { err: { code: t, msg: e, line: i.line || i, col: i.col } };\n}\nfunction St(t) {\n return R.isName(t);\n}\nfunction Ft(t) {\n return R.isName(t);\n}\nfunction g(t, e) {\n const i = t.substring(0, e).split(/\\r?\\n/);\n return { line: i.length, col: i[i.length - 1].length + 1 };\n}\nfunction b(t) {\n return t.startIndex + t[1].length;\n}\nvar O = {};\nconst tt = { preserveOrder: !1, attributeNamePrefix: \"@_\", attributesGroupName: !1, textNodeName: \"#text\", ignoreAttributes: !0, removeNSPrefix: !1, allowBooleanAttributes: !1, parseTagValue: !0, parseAttributeValue: !1, trimValues: !0, cdataPropName: !1, numberParseOptions: { hex: !0, leadingZeros: !0, eNotation: !0 }, tagValueProcessor: function(t, e) {\n return e;\n}, attributeValueProcessor: function(t, e) {\n return e;\n}, stopNodes: [], alwaysCreateTextNode: !1, isArray: () => !1, commentPropName: !1, unpairedTags: [], processEntities: !0, htmlEntities: !1, ignoreDeclaration: !1, ignorePiTags: !1, transformTagName: !1, transformAttributeName: !1, updateTag: function(t, e, i) {\n return t;\n} }, Vt = function(t) {\n return Object.assign({}, tt, t);\n};\nO.buildOptions = Vt, O.defaultOptions = tt;\nclass $t {\n constructor(e) {\n this.tagname = e, this.child = [], this[\":@\"] = {};\n }\n add(e, i) {\n e === \"__proto__\" && (e = \"#__proto__\"), this.child.push({ [e]: i });\n }\n addChild(e) {\n e.tagname === \"__proto__\" && (e.tagname = \"#__proto__\"), e[\":@\"] && Object.keys(e[\":@\"]).length > 0 ? this.child.push({ [e.tagname]: e.child, \":@\": e[\":@\"] }) : this.child.push({ [e.tagname]: e.child });\n }\n}\nvar kt = $t;\nconst Rt = T;\nfunction Lt(t, e) {\n const i = {};\n if (t[e + 3] === \"O\" && t[e + 4] === \"C\" && t[e + 5] === \"T\" && t[e + 6] === \"Y\" && t[e + 7] === \"P\" && t[e + 8] === \"E\") {\n e = e + 9;\n let s = 1, n = !1, r = !1, l = \"\";\n for (; e < t.length; e++)\n if (t[e] === \"<\" && !r) {\n if (n && Bt(t, e))\n e += 7, [entityName, val, e] = jt(t, e + 1), val.indexOf(\"&\") === -1 && (i[Gt(entityName)] = { regx: RegExp(`&${entityName};`, \"g\"), val });\n else if (n && qt(t, e))\n e += 8;\n else if (n && Ut(t, e))\n e += 8;\n else if (n && zt(t, e))\n e += 9;\n else if (Mt)\n r = !0;\n else\n throw new Error(\"Invalid DOCTYPE\");\n s++, l = \"\";\n } else if (t[e] === \">\") {\n if (r ? t[e - 1] === \"-\" && t[e - 2] === \"-\" && (r = !1, s--) : s--, s === 0)\n break;\n } else\n t[e] === \"[\" ? n = !0 : l += t[e];\n if (s !== 0)\n throw new Error(\"Unclosed DOCTYPE\");\n } else\n throw new Error(\"Invalid Tag instead of DOCTYPE\");\n return { entities: i, i: e };\n}\nfunction jt(t, e) {\n let i = \"\";\n for (; e < t.length && t[e] !== \"'\" && t[e] !== '\"'; e++)\n i += t[e];\n if (i = i.trim(), i.indexOf(\" \") !== -1)\n throw new Error(\"External entites are not supported\");\n const s = t[e++];\n let n = \"\";\n for (; e < t.length && t[e] !== s; e++)\n n += t[e];\n return [i, n, e];\n}\nfunction Mt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"-\" && t[e + 3] === \"-\";\n}\nfunction Bt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"E\" && t[e + 3] === \"N\" && t[e + 4] === \"T\" && t[e + 5] === \"I\" && t[e + 6] === \"T\" && t[e + 7] === \"Y\";\n}\nfunction qt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"E\" && t[e + 3] === \"L\" && t[e + 4] === \"E\" && t[e + 5] === \"M\" && t[e + 6] === \"E\" && t[e + 7] === \"N\" && t[e + 8] === \"T\";\n}\nfunction Ut(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"A\" && t[e + 3] === \"T\" && t[e + 4] === \"T\" && t[e + 5] === \"L\" && t[e + 6] === \"I\" && t[e + 7] === \"S\" && t[e + 8] === \"T\";\n}\nfunction zt(t, e) {\n return t[e + 1] === \"!\" && t[e + 2] === \"N\" && t[e + 3] === \"O\" && t[e + 4] === \"T\" && t[e + 5] === \"A\" && t[e + 6] === \"T\" && t[e + 7] === \"I\" && t[e + 8] === \"O\" && t[e + 9] === \"N\";\n}\nfunction Gt(t) {\n if (Rt.isName(t))\n return t;\n throw new Error(`Invalid entity name ${t}`);\n}\nvar Xt = Lt;\nconst Ht = /^[-+]?0x[a-fA-F0-9]+$/, Kt = /^([\\-\\+])?(0*)(\\.[0-9]+([eE]\\-?[0-9]+)?|[0-9]+(\\.[0-9]+([eE]\\-?[0-9]+)?)?)$/;\n!Number.parseInt && window.parseInt && (Number.parseInt = window.parseInt), !Number.parseFloat && window.parseFloat && (Number.parseFloat = window.parseFloat);\nconst Wt = { hex: !0, leadingZeros: !0, decimalPoint: \".\", eNotation: !0 };\nfunction Yt(t, e = {}) {\n if (e = Object.assign({}, Wt, e), !t || typeof t != \"string\")\n return t;\n let i = t.trim();\n if (e.skipLike !== void 0 && e.skipLike.test(i))\n return t;\n if (e.hex && Ht.test(i))\n return Number.parseInt(i, 16);\n {\n const s = Kt.exec(i);\n if (s) {\n const n = s[1], r = s[2];\n let l = Zt(s[3]);\n const o = s[4] || s[6];\n if (!e.leadingZeros && r.length > 0 && n && i[2] !== \".\" || !e.leadingZeros && r.length > 0 && !n && i[1] !== \".\")\n return t;\n {\n const a = Number(i), d = \"\" + a;\n return d.search(/[eE]/) !== -1 || o ? e.eNotation ? a : t : i.indexOf(\".\") !== -1 ? d === \"0\" && l === \"\" || d === l || n && d === \"-\" + l ? a : t : r ? l === d || n + l === d ? a : t : i === d || i === n + d ? a : t;\n }\n } else\n return t;\n }\n}\nfunction Zt(t) {\n return t && t.indexOf(\".\") !== -1 && (t = t.replace(/0+$/, \"\"), t === \".\" ? t = \"0\" : t[0] === \".\" ? t = \"0\" + t : t[t.length - 1] === \".\" && (t = t.substr(0, t.length - 1))), t;\n}\nvar Jt = Yt;\nconst L = T, E = kt, Qt = Xt, te = Jt;\n\"<((!\\\\[CDATA\\\\[([\\\\s\\\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\\\/)(NAME)\\\\s*>))([^<]*)\".replace(/NAME/g, L.nameRegexp);\nlet ee = class {\n constructor(t) {\n this.options = t, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: \"'\" }, gt: { regex: /&(gt|#62|#x3E);/g, val: \">\" }, lt: { regex: /&(lt|#60|#x3C);/g, val: \"<\" }, quot: { regex: /&(quot|#34|#x22);/g, val: '\"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: \"&\" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: \" \" }, cent: { regex: /&(cent|#162);/g, val: \"¢\" }, pound: { regex: /&(pound|#163);/g, val: \"£\" }, yen: { regex: /&(yen|#165);/g, val: \"¥\" }, euro: { regex: /&(euro|#8364);/g, val: \"€\" }, copyright: { regex: /&(copy|#169);/g, val: \"©\" }, reg: { regex: /&(reg|#174);/g, val: \"®\" }, inr: { regex: /&(inr|#8377);/g, val: \"₹\" } }, this.addExternalEntities = ie, this.parseXml = ae, this.parseTextData = ne, this.resolveNameSpace = re, this.buildAttributesMap = oe, this.isItStopNode = ce, this.replaceEntitiesValue = de, this.readStopNodeData = pe, this.saveTextToParentTag = ue, this.addChild = le;\n }\n};\nfunction ie(t) {\n const e = Object.keys(t);\n for (let i = 0; i < e.length; i++) {\n const s = e[i];\n this.lastEntities[s] = { regex: new RegExp(\"&\" + s + \";\", \"g\"), val: t[s] };\n }\n}\nfunction ne(t, e, i, s, n, r, l) {\n if (t !== void 0 && (this.options.trimValues && !s && (t = t.trim()), t.length > 0)) {\n l || (t = this.replaceEntitiesValue(t));\n const o = this.options.tagValueProcessor(e, t, i, n, r);\n return o == null ? t : typeof o != typeof t || o !== t ? o : this.options.trimValues ? D(t, this.options.parseTagValue, this.options.numberParseOptions) : t.trim() === t ? D(t, this.options.parseTagValue, this.options.numberParseOptions) : t;\n }\n}\nfunction re(t) {\n if (this.options.removeNSPrefix) {\n const e = t.split(\":\"), i = t.charAt(0) === \"/\" ? \"/\" : \"\";\n if (e[0] === \"xmlns\")\n return \"\";\n e.length === 2 && (t = i + e[1]);\n }\n return t;\n}\nconst se = new RegExp(`([^\\\\s=]+)\\\\s*(=\\\\s*(['\"])([\\\\s\\\\S]*?)\\\\3)?`, \"gm\");\nfunction oe(t, e, i) {\n if (!this.options.ignoreAttributes && typeof t == \"string\") {\n const s = L.getAllMatches(t, se), n = s.length, r = {};\n for (let l = 0; l < n; l++) {\n const o = this.resolveNameSpace(s[l][1]);\n let a = s[l][4], d = this.options.attributeNamePrefix + o;\n if (o.length)\n if (this.options.transformAttributeName && (d = this.options.transformAttributeName(d)), d === \"__proto__\" && (d = \"#__proto__\"), a !== void 0) {\n this.options.trimValues && (a = a.trim()), a = this.replaceEntitiesValue(a);\n const u = this.options.attributeValueProcessor(o, a, e);\n u == null ? r[d] = a : typeof u != typeof a || u !== a ? r[d] = u : r[d] = D(a, this.options.parseAttributeValue, this.options.numberParseOptions);\n } else\n this.options.allowBooleanAttributes && (r[d] = !0);\n }\n if (!Object.keys(r).length)\n return;\n if (this.options.attributesGroupName) {\n const l = {};\n return l[this.options.attributesGroupName] = r, l;\n }\n return r;\n }\n}\nconst ae = function(t) {\n t = t.replace(/\\r\\n?/g, `\n`);\n const e = new E(\"!xml\");\n let i = e, s = \"\", n = \"\";\n for (let r = 0; r < t.length; r++)\n if (t[r] === \"<\")\n if (t[r + 1] === \"/\") {\n const l = x(t, \">\", r, \"Closing Tag is not closed.\");\n let o = t.substring(r + 2, l).trim();\n if (this.options.removeNSPrefix) {\n const u = o.indexOf(\":\");\n u !== -1 && (o = o.substr(u + 1));\n }\n this.options.transformTagName && (o = this.options.transformTagName(o)), i && (s = this.saveTextToParentTag(s, i, n));\n const a = n.substring(n.lastIndexOf(\".\") + 1);\n if (o && this.options.unpairedTags.indexOf(o) !== -1)\n throw new Error(`Unpaired tag can not be used as closing tag: `);\n let d = 0;\n a && this.options.unpairedTags.indexOf(a) !== -1 ? (d = n.lastIndexOf(\".\", n.lastIndexOf(\".\") - 1), this.tagsNodeStack.pop()) : d = n.lastIndexOf(\".\"), n = n.substring(0, d), i = this.tagsNodeStack.pop(), s = \"\", r = l;\n } else if (t[r + 1] === \"?\") {\n let l = C(t, r, !1, \"?>\");\n if (!l)\n throw new Error(\"Pi Tag is not closed.\");\n if (s = this.saveTextToParentTag(s, i, n), !(this.options.ignoreDeclaration && l.tagName === \"?xml\" || this.options.ignorePiTags)) {\n const o = new E(l.tagName);\n o.add(this.options.textNodeName, \"\"), l.tagName !== l.tagExp && l.attrExpPresent && (o[\":@\"] = this.buildAttributesMap(l.tagExp, n, l.tagName)), this.addChild(i, o, n);\n }\n r = l.closeIndex + 1;\n } else if (t.substr(r + 1, 3) === \"!--\") {\n const l = x(t, \"-->\", r + 4, \"Comment is not closed.\");\n if (this.options.commentPropName) {\n const o = t.substring(r + 4, l - 2);\n s = this.saveTextToParentTag(s, i, n), i.add(this.options.commentPropName, [{ [this.options.textNodeName]: o }]);\n }\n r = l;\n } else if (t.substr(r + 1, 2) === \"!D\") {\n const l = Qt(t, r);\n this.docTypeEntities = l.entities, r = l.i;\n } else if (t.substr(r + 1, 2) === \"![\") {\n const l = x(t, \"]]>\", r, \"CDATA is not closed.\") - 2, o = t.substring(r + 9, l);\n if (s = this.saveTextToParentTag(s, i, n), this.options.cdataPropName)\n i.add(this.options.cdataPropName, [{ [this.options.textNodeName]: o }]);\n else {\n let a = this.parseTextData(o, i.tagname, n, !0, !1, !0);\n a == null && (a = \"\"), i.add(this.options.textNodeName, a);\n }\n r = l + 2;\n } else {\n let l = C(t, r, this.options.removeNSPrefix), o = l.tagName, a = l.tagExp, d = l.attrExpPresent, u = l.closeIndex;\n this.options.transformTagName && (o = this.options.transformTagName(o)), i && s && i.tagname !== \"!xml\" && (s = this.saveTextToParentTag(s, i, n, !1));\n const h = i;\n if (h && this.options.unpairedTags.indexOf(h.tagname) !== -1 && (i = this.tagsNodeStack.pop(), n = n.substring(0, n.lastIndexOf(\".\"))), o !== e.tagname && (n += n ? \".\" + o : o), this.isItStopNode(this.options.stopNodes, n, o)) {\n let c = \"\";\n if (a.length > 0 && a.lastIndexOf(\"/\") === a.length - 1)\n r = l.closeIndex;\n else if (this.options.unpairedTags.indexOf(o) !== -1)\n r = l.closeIndex;\n else {\n const w = this.readStopNodeData(t, o, u + 1);\n if (!w)\n throw new Error(`Unexpected end of ${o}`);\n r = w.i, c = w.tagContent;\n }\n const f = new E(o);\n o !== a && d && (f[\":@\"] = this.buildAttributesMap(a, n, o)), c && (c = this.parseTextData(c, o, n, !0, d, !0, !0)), n = n.substr(0, n.lastIndexOf(\".\")), f.add(this.options.textNodeName, c), this.addChild(i, f, n);\n } else {\n if (a.length > 0 && a.lastIndexOf(\"/\") === a.length - 1) {\n o[o.length - 1] === \"/\" ? (o = o.substr(0, o.length - 1), n = n.substr(0, n.length - 1), a = o) : a = a.substr(0, a.length - 1), this.options.transformTagName && (o = this.options.transformTagName(o));\n const c = new E(o);\n o !== a && d && (c[\":@\"] = this.buildAttributesMap(a, n, o)), this.addChild(i, c, n), n = n.substr(0, n.lastIndexOf(\".\"));\n } else {\n const c = new E(o);\n this.tagsNodeStack.push(i), o !== a && d && (c[\":@\"] = this.buildAttributesMap(a, n, o)), this.addChild(i, c, n), i = c;\n }\n s = \"\", r = u;\n }\n }\n else\n s += t[r];\n return e.child;\n};\nfunction le(t, e, i) {\n const s = this.options.updateTag(e.tagname, i, e[\":@\"]);\n s === !1 || (typeof s == \"string\" && (e.tagname = s), t.addChild(e));\n}\nconst de = function(t) {\n if (this.options.processEntities) {\n for (let e in this.docTypeEntities) {\n const i = this.docTypeEntities[e];\n t = t.replace(i.regx, i.val);\n }\n for (let e in this.lastEntities) {\n const i = this.lastEntities[e];\n t = t.replace(i.regex, i.val);\n }\n if (this.options.htmlEntities)\n for (let e in this.htmlEntities) {\n const i = this.htmlEntities[e];\n t = t.replace(i.regex, i.val);\n }\n t = t.replace(this.ampEntity.regex, this.ampEntity.val);\n }\n return t;\n};\nfunction ue(t, e, i, s) {\n return t && (s === void 0 && (s = Object.keys(e.child).length === 0), t = this.parseTextData(t, e.tagname, i, !1, e[\":@\"] ? Object.keys(e[\":@\"]).length !== 0 : !1, s), t !== void 0 && t !== \"\" && e.add(this.options.textNodeName, t), t = \"\"), t;\n}\nfunction ce(t, e, i) {\n const s = \"*.\" + i;\n for (const n in t) {\n const r = t[n];\n if (s === r || e === r)\n return !0;\n }\n return !1;\n}\nfunction he(t, e, i = \">\") {\n let s, n = \"\";\n for (let r = e; r < t.length; r++) {\n let l = t[r];\n if (s)\n l === s && (s = \"\");\n else if (l === '\"' || l === \"'\")\n s = l;\n else if (l === i[0])\n if (i[1]) {\n if (t[r + 1] === i[1])\n return { data: n, index: r };\n } else\n return { data: n, index: r };\n else\n l === \"\t\" && (l = \" \");\n n += l;\n }\n}\nfunction x(t, e, i, s) {\n const n = t.indexOf(e, i);\n if (n === -1)\n throw new Error(s);\n return n + e.length - 1;\n}\nfunction C(t, e, i, s = \">\") {\n const n = he(t, e + 1, s);\n if (!n)\n return;\n let r = n.data;\n const l = n.index, o = r.search(/\\s/);\n let a = r, d = !0;\n if (o !== -1 && (a = r.substr(0, o).replace(/\\s\\s*$/, \"\"), r = r.substr(o + 1)), i) {\n const u = a.indexOf(\":\");\n u !== -1 && (a = a.substr(u + 1), d = a !== n.data.substr(u + 1));\n }\n return { tagName: a, tagExp: r, closeIndex: l, attrExpPresent: d };\n}\nfunction pe(t, e, i) {\n const s = i;\n let n = 1;\n for (; i < t.length; i++)\n if (t[i] === \"<\")\n if (t[i + 1] === \"/\") {\n const r = x(t, \">\", i, `${e} is not closed`);\n if (t.substring(i + 2, r).trim() === e && (n--, n === 0))\n return { tagContent: t.substring(s, i), i: r };\n i = r;\n } else if (t[i + 1] === \"?\")\n i = x(t, \"?>\", i + 1, \"StopNode is not closed.\");\n else if (t.substr(i + 1, 3) === \"!--\")\n i = x(t, \"-->\", i + 3, \"StopNode is not closed.\");\n else if (t.substr(i + 1, 2) === \"![\")\n i = x(t, \"]]>\", i, \"StopNode is not closed.\") - 2;\n else {\n const r = C(t, i, \">\");\n r && ((r && r.tagName) === e && r.tagExp[r.tagExp.length - 1] !== \"/\" && n++, i = r.closeIndex);\n }\n}\nfunction D(t, e, i) {\n if (e && typeof t == \"string\") {\n const s = t.trim();\n return s === \"true\" ? !0 : s === \"false\" ? !1 : te(t, i);\n } else\n return L.isExist(t) ? t : \"\";\n}\nvar fe = ee, et = {};\nfunction ge(t, e) {\n return it(t, e);\n}\nfunction it(t, e, i) {\n let s;\n const n = {};\n for (let r = 0; r < t.length; r++) {\n const l = t[r], o = me(l);\n let a = \"\";\n if (i === void 0 ? a = o : a = i + \".\" + o, o === e.textNodeName)\n s === void 0 ? s = l[o] : s += \"\" + l[o];\n else {\n if (o === void 0)\n continue;\n if (l[o]) {\n let d = it(l[o], e, a);\n const u = ve(d, e);\n l[\":@\"] ? we(d, l[\":@\"], a, e) : Object.keys(d).length === 1 && d[e.textNodeName] !== void 0 && !e.alwaysCreateTextNode ? d = d[e.textNodeName] : Object.keys(d).length === 0 && (e.alwaysCreateTextNode ? d[e.textNodeName] = \"\" : d = \"\"), n[o] !== void 0 && n.hasOwnProperty(o) ? (Array.isArray(n[o]) || (n[o] = [n[o]]), n[o].push(d)) : e.isArray(o, a, u) ? n[o] = [d] : n[o] = d;\n }\n }\n }\n return typeof s == \"string\" ? s.length > 0 && (n[e.textNodeName] = s) : s !== void 0 && (n[e.textNodeName] = s), n;\n}\nfunction me(t) {\n const e = Object.keys(t);\n for (let i = 0; i < e.length; i++) {\n const s = e[i];\n if (s !== \":@\")\n return s;\n }\n}\nfunction we(t, e, i, s) {\n if (e) {\n const n = Object.keys(e), r = n.length;\n for (let l = 0; l < r; l++) {\n const o = n[l];\n s.isArray(o, i + \".\" + o, !0, !0) ? t[o] = [e[o]] : t[o] = e[o];\n }\n }\n}\nfunction ve(t, e) {\n const { textNodeName: i } = e, s = Object.keys(t).length;\n return !!(s === 0 || s === 1 && (t[i] || typeof t[i] == \"boolean\" || t[i] === 0));\n}\net.prettify = ge;\nconst { buildOptions: ye } = O, xe = fe, { prettify: be } = et, Ee = k;\nlet Ne = class {\n constructor(t) {\n this.externalEntities = {}, this.options = ye(t);\n }\n parse(t, e) {\n if (typeof t != \"string\")\n if (t.toString)\n t = t.toString();\n else\n throw new Error(\"XML data is accepted in String or Bytes[] form.\");\n if (e) {\n e === !0 && (e = {});\n const n = Ee.validate(t, e);\n if (n !== !0)\n throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`);\n }\n const i = new xe(this.options);\n i.addExternalEntities(this.externalEntities);\n const s = i.parseXml(t);\n return this.options.preserveOrder || s === void 0 ? s : be(s, this.options);\n }\n addEntity(t, e) {\n if (e.indexOf(\"&\") !== -1)\n throw new Error(\"Entity value can't have '&'\");\n if (t.indexOf(\"&\") !== -1 || t.indexOf(\";\") !== -1)\n throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for ' '\");\n if (e === \"&\")\n throw new Error(\"An entity with value '&' is not permitted\");\n this.externalEntities[t] = e;\n }\n};\nvar _e = Ne;\nconst Ae = `\n`;\nfunction Te(t, e) {\n let i = \"\";\n return e.format && e.indentBy.length > 0 && (i = Ae), nt(t, e, \"\", i);\n}\nfunction nt(t, e, i, s) {\n let n = \"\", r = !1;\n for (let l = 0; l < t.length; l++) {\n const o = t[l], a = Ie(o);\n let d = \"\";\n if (i.length === 0 ? d = a : d = `${i}.${a}`, a === e.textNodeName) {\n let w = o[a];\n Pe(d, e) || (w = e.tagValueProcessor(a, w), w = rt(w, e)), r && (n += s), n += w, r = !1;\n continue;\n } else if (a === e.cdataPropName) {\n r && (n += s), n += ``, r = !1;\n continue;\n } else if (a === e.commentPropName) {\n n += s + ``, r = !0;\n continue;\n } else if (a[0] === \"?\") {\n const w = G(o[\":@\"], e), st = a === \"?xml\" ? \"\" : s;\n let N = o[a][0][e.textNodeName];\n N = N.length !== 0 ? \" \" + N : \"\", n += st + `<${a}${N}${w}?>`, r = !0;\n continue;\n }\n let u = s;\n u !== \"\" && (u += e.indentBy);\n const h = G(o[\":@\"], e), c = s + `<${a}${h}`, f = nt(o[a], e, d, u);\n e.unpairedTags.indexOf(a) !== -1 ? e.suppressUnpairedNode ? n += c + \">\" : n += c + \"/>\" : (!f || f.length === 0) && e.suppressEmptyNode ? n += c + \"/>\" : f && f.endsWith(\">\") ? n += c + `>${f}${s}` : (n += c + \">\", f && s !== \"\" && (f.includes(\"/>\") || f.includes(\"`), r = !0;\n }\n return n;\n}\nfunction Ie(t) {\n const e = Object.keys(t);\n for (let i = 0; i < e.length; i++) {\n const s = e[i];\n if (s !== \":@\")\n return s;\n }\n}\nfunction G(t, e) {\n let i = \"\";\n if (t && !e.ignoreAttributes)\n for (let s in t) {\n let n = e.attributeValueProcessor(s, t[s]);\n n = rt(n, e), n === !0 && e.suppressBooleanAttributes ? i += ` ${s.substr(e.attributeNamePrefix.length)}` : i += ` ${s.substr(e.attributeNamePrefix.length)}=\"${n}\"`;\n }\n return i;\n}\nfunction Pe(t, e) {\n t = t.substr(0, t.length - e.textNodeName.length - 1);\n let i = t.substr(t.lastIndexOf(\".\") + 1);\n for (let s in e.stopNodes)\n if (e.stopNodes[s] === t || e.stopNodes[s] === \"*.\" + i)\n return !0;\n return !1;\n}\nfunction rt(t, e) {\n if (t && t.length > 0 && e.processEntities)\n for (let i = 0; i < e.entities.length; i++) {\n const s = e.entities[i];\n t = t.replace(s.regex, s.val);\n }\n return t;\n}\nvar Oe = Te;\nconst Ce = Oe, De = { attributeNamePrefix: \"@_\", attributesGroupName: !1, textNodeName: \"#text\", ignoreAttributes: !0, cdataPropName: !1, format: !1, indentBy: \" \", suppressEmptyNode: !1, suppressUnpairedNode: !0, suppressBooleanAttributes: !0, tagValueProcessor: function(t, e) {\n return e;\n}, attributeValueProcessor: function(t, e) {\n return e;\n}, preserveOrder: !1, commentPropName: !1, unpairedTags: [], entities: [{ regex: new RegExp(\"&\", \"g\"), val: \"&\" }, { regex: new RegExp(\">\", \"g\"), val: \">\" }, { regex: new RegExp(\"<\", \"g\"), val: \"<\" }, { regex: new RegExp(\"'\", \"g\"), val: \"'\" }, { regex: new RegExp('\"', \"g\"), val: \""\" }], processEntities: !0, stopNodes: [], oneListGroup: !1 };\nfunction y(t) {\n this.options = Object.assign({}, De, t), this.options.ignoreAttributes || this.options.attributesGroupName ? this.isAttribute = function() {\n return !1;\n } : (this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ve), this.processTextOrObjNode = Se, this.options.format ? (this.indentate = Fe, this.tagEndChar = `>\n`, this.newLine = `\n`) : (this.indentate = function() {\n return \"\";\n }, this.tagEndChar = \">\", this.newLine = \"\");\n}\ny.prototype.build = function(t) {\n return this.options.preserveOrder ? Ce(t, this.options) : (Array.isArray(t) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t = { [this.options.arrayNodeName]: t }), this.j2x(t, 0).val);\n}, y.prototype.j2x = function(t, e) {\n let i = \"\", s = \"\";\n for (let n in t)\n if (typeof t[n] > \"u\")\n this.isAttribute(n) && (s += \"\");\n else if (t[n] === null)\n this.isAttribute(n) ? s += \"\" : n[0] === \"?\" ? s += this.indentate(e) + \"<\" + n + \"?\" + this.tagEndChar : s += this.indentate(e) + \"<\" + n + \"/\" + this.tagEndChar;\n else if (t[n] instanceof Date)\n s += this.buildTextValNode(t[n], n, \"\", e);\n else if (typeof t[n] != \"object\") {\n const r = this.isAttribute(n);\n if (r)\n i += this.buildAttrPairStr(r, \"\" + t[n]);\n else if (n === this.options.textNodeName) {\n let l = this.options.tagValueProcessor(n, \"\" + t[n]);\n s += this.replaceEntitiesValue(l);\n } else\n s += this.buildTextValNode(t[n], n, \"\", e);\n } else if (Array.isArray(t[n])) {\n const r = t[n].length;\n let l = \"\";\n for (let o = 0; o < r; o++) {\n const a = t[n][o];\n typeof a > \"u\" || (a === null ? n[0] === \"?\" ? s += this.indentate(e) + \"<\" + n + \"?\" + this.tagEndChar : s += this.indentate(e) + \"<\" + n + \"/\" + this.tagEndChar : typeof a == \"object\" ? this.options.oneListGroup ? l += this.j2x(a, e + 1).val : l += this.processTextOrObjNode(a, n, e) : l += this.buildTextValNode(a, n, \"\", e));\n }\n this.options.oneListGroup && (l = this.buildObjectNode(l, n, \"\", e)), s += l;\n } else if (this.options.attributesGroupName && n === this.options.attributesGroupName) {\n const r = Object.keys(t[n]), l = r.length;\n for (let o = 0; o < l; o++)\n i += this.buildAttrPairStr(r[o], \"\" + t[n][r[o]]);\n } else\n s += this.processTextOrObjNode(t[n], n, e);\n return { attrStr: i, val: s };\n}, y.prototype.buildAttrPairStr = function(t, e) {\n return e = this.options.attributeValueProcessor(t, \"\" + e), e = this.replaceEntitiesValue(e), this.options.suppressBooleanAttributes && e === \"true\" ? \" \" + t : \" \" + t + '=\"' + e + '\"';\n};\nfunction Se(t, e, i) {\n const s = this.j2x(t, i + 1);\n return t[this.options.textNodeName] !== void 0 && Object.keys(t).length === 1 ? this.buildTextValNode(t[this.options.textNodeName], e, s.attrStr, i) : this.buildObjectNode(s.val, e, s.attrStr, i);\n}\ny.prototype.buildObjectNode = function(t, e, i, s) {\n if (t === \"\")\n return e[0] === \"?\" ? this.indentate(s) + \"<\" + e + i + \"?\" + this.tagEndChar : this.indentate(s) + \"<\" + e + i + this.closeTag(e) + this.tagEndChar;\n {\n let n = \"\" + t + n : this.options.commentPropName !== !1 && e === this.options.commentPropName && r.length === 0 ? this.indentate(s) + `` + this.newLine : this.indentate(s) + \"<\" + e + i + r + this.tagEndChar + t + this.indentate(s) + n;\n }\n}, y.prototype.closeTag = function(t) {\n let e = \"\";\n return this.options.unpairedTags.indexOf(t) !== -1 ? this.options.suppressUnpairedNode || (e = \"/\") : this.options.suppressEmptyNode ? e = \"/\" : e = `>` + this.newLine;\n if (this.options.commentPropName !== !1 && e === this.options.commentPropName)\n return this.indentate(s) + `` + this.newLine;\n if (e[0] === \"?\")\n return this.indentate(s) + \"<\" + e + i + \"?\" + this.tagEndChar;\n {\n let n = this.options.tagValueProcessor(e, t);\n return n = this.replaceEntitiesValue(n), n === \"\" ? this.indentate(s) + \"<\" + e + i + this.closeTag(e) + this.tagEndChar : this.indentate(s) + \"<\" + e + i + \">\" + n + \" 0 && this.options.processEntities)\n for (let e = 0; e < this.options.entities.length; e++) {\n const i = this.options.entities[e];\n t = t.replace(i.regex, i.val);\n }\n return t;\n};\nfunction Fe(t) {\n return this.options.indentBy.repeat(t);\n}\nfunction Ve(t) {\n return t.startsWith(this.options.attributeNamePrefix) && t !== this.options.textNodeName ? t.substr(this.attrPrefixLen) : !1;\n}\nvar $e = y;\nconst ke = k, Re = _e, Le = $e;\nvar X = { XMLParser: Re, XMLValidator: ke, XMLBuilder: Le };\nfunction je(t) {\n if (typeof t != \"string\")\n throw new TypeError(`Expected a \\`string\\`, got \\`${typeof t}\\``);\n if (t = t.trim(), t.length === 0 || X.XMLValidator.validate(t) !== !0)\n return !1;\n let e;\n const i = new X.XMLParser();\n try {\n e = i.parse(t);\n } catch {\n return !1;\n }\n return !(!e || !(\"svg\" in e));\n}\nclass ai {\n _view;\n constructor(e) {\n Me(e), this._view = e;\n }\n get id() {\n return this._view.id;\n }\n get name() {\n return this._view.name;\n }\n get caption() {\n return this._view.caption;\n }\n get emptyTitle() {\n return this._view.emptyTitle;\n }\n get emptyCaption() {\n return this._view.emptyCaption;\n }\n get getContents() {\n return this._view.getContents;\n }\n get icon() {\n return this._view.icon;\n }\n set icon(e) {\n this._view.icon = e;\n }\n get order() {\n return this._view.order;\n }\n set order(e) {\n this._view.order = e;\n }\n get params() {\n return this._view.params;\n }\n set params(e) {\n this._view.params = e;\n }\n get columns() {\n return this._view.columns;\n }\n get emptyView() {\n return this._view.emptyView;\n }\n get parent() {\n return this._view.parent;\n }\n get sticky() {\n return this._view.sticky;\n }\n get expanded() {\n return this._view.expanded;\n }\n set expanded(e) {\n this._view.expanded = e;\n }\n get defaultSortKey() {\n return this._view.defaultSortKey;\n }\n}\nconst Me = function(t) {\n if (!t.id || typeof t.id != \"string\")\n throw new Error(\"View id is required and must be a string\");\n if (!t.name || typeof t.name != \"string\")\n throw new Error(\"View name is required and must be a string\");\n if (t.columns && t.columns.length > 0 && (!t.caption || typeof t.caption != \"string\"))\n throw new Error(\"View caption is required for top-level views and must be a string\");\n if (!t.getContents || typeof t.getContents != \"function\")\n throw new Error(\"View getContents is required and must be a function\");\n if (!t.icon || typeof t.icon != \"string\" || !je(t.icon))\n throw new Error(\"View icon is required and must be a valid svg string\");\n if (!(\"order\" in t) || typeof t.order != \"number\")\n throw new Error(\"View order is required and must be a number\");\n if (t.columns && t.columns.forEach((e) => {\n if (!(e instanceof Nt))\n throw new Error(\"View columns must be an array of Column. Invalid column found\");\n }), t.emptyView && typeof t.emptyView != \"function\")\n throw new Error(\"View emptyView must be a function\");\n if (t.parent && typeof t.parent != \"string\")\n throw new Error(\"View parent must be a string\");\n if (\"sticky\" in t && typeof t.sticky != \"boolean\")\n throw new Error(\"View sticky must be a boolean\");\n if (\"expanded\" in t && typeof t.expanded != \"boolean\")\n throw new Error(\"View expanded must be a boolean\");\n if (t.defaultSortKey && typeof t.defaultSortKey != \"string\")\n throw new Error(\"View defaultSortKey must be a string\");\n return !0;\n}, li = function(t) {\n return S().registerEntry(t);\n}, di = function(t) {\n return S().unregisterEntry(t);\n}, ui = function(t, e) {\n return S().getEntries(t, e);\n};\nexport {\n Nt as Column,\n K as DefaultType,\n vt as File,\n We as FileAction,\n $ as FileType,\n yt as Folder,\n Je as Header,\n Et as Navigation,\n J as Node,\n v as Permission,\n ai as View,\n li as addNewFileMenuEntry,\n ri as davGetClient,\n ii as davGetDefaultPropfind,\n mt as davGetFavoritesReport,\n ni as davGetRecentSearch,\n wt as davParsePermissions,\n xt as davRemoteURL,\n bt as davResultToNode,\n Q as davRootPath,\n Y as defaultDavNamespaces,\n W as defaultDavProperties,\n Ke as formatFileSize,\n V as getDavNameSpaces,\n F as getDavProperties,\n si as getFavoriteNodes,\n Ze as getFileActions,\n ti as getFileListHeaders,\n oi as getNavigation,\n ui as getNewFileMenuEntries,\n ei as registerDavProperty,\n Ye as registerFileAction,\n Qe as registerFileListHeaders,\n di as removeNewFileMenuEntry\n};\n","/**\n * @copyright Copyright (c) 2022 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { getLoggerBuilder } from '@nextcloud/logger'\n\nexport default getLoggerBuilder()\n\t.setApp('files')\n\t.detectUser()\n\t.build()\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport logger from '../logger';\nconst defaultDavProperties = [\n 'd:getcontentlength',\n 'd:getcontenttype',\n 'd:getetag',\n 'd:getlastmodified',\n 'd:quota-available-bytes',\n 'd:resourcetype',\n 'nc:has-preview',\n 'nc:is-encrypted',\n 'nc:mount-type',\n 'nc:share-attributes',\n 'oc:comments-unread',\n 'oc:favorite',\n 'oc:fileid',\n 'oc:owner-display-name',\n 'oc:owner-id',\n 'oc:permissions',\n 'oc:share-types',\n 'oc:size',\n 'ocs:share-permissions',\n];\nconst defaultDavNamespaces = {\n d: 'DAV:',\n nc: 'http://nextcloud.org/ns',\n oc: 'http://owncloud.org/ns',\n ocs: 'http://open-collaboration-services.org/ns',\n};\n/**\n * TODO: remove and move to @nextcloud/files\n * @param prop\n * @param namespace\n */\nexport const registerDavProperty = function (prop, namespace = { nc: 'http://nextcloud.org/ns' }) {\n if (typeof window._nc_dav_properties === 'undefined') {\n window._nc_dav_properties = defaultDavProperties;\n window._nc_dav_namespaces = defaultDavNamespaces;\n }\n const namespaces = { ...window._nc_dav_namespaces, ...namespace };\n // Check duplicates\n if (window._nc_dav_properties.find(search => search === prop)) {\n logger.error(`${prop} already registered`, { prop });\n return;\n }\n if (prop.startsWith('<') || prop.split(':').length !== 2) {\n logger.error(`${prop} is not valid. See example: 'oc:fileid'`, { prop });\n return;\n }\n const ns = prop.split(':')[0];\n if (!namespaces[ns]) {\n logger.error(`${prop} namespace unknown`, { prop, namespaces });\n return;\n }\n window._nc_dav_properties.push(prop);\n window._nc_dav_namespaces = namespaces;\n};\n/**\n * Get the registered dav properties\n */\nexport const getDavProperties = function () {\n if (typeof window._nc_dav_properties === 'undefined') {\n window._nc_dav_properties = defaultDavProperties;\n }\n return window._nc_dav_properties.map(prop => `<${prop} />`).join(' ');\n};\n/**\n * Get the registered dav namespaces\n */\nexport const getDavNameSpaces = function () {\n if (typeof window._nc_dav_namespaces === 'undefined') {\n window._nc_dav_namespaces = defaultDavNamespaces;\n }\n return Object.keys(window._nc_dav_namespaces).map(ns => `xmlns:${ns}=\"${window._nc_dav_namespaces[ns]}\"`).join(' ');\n};\n/**\n * Get the default PROPFIND request payload\n */\nexport const getDefaultPropfind = function () {\n return `\n\t\t\n\t\t\t\n\t\t\t\t${getDavProperties()}\n\t\t\t\n\t\t`;\n};\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { createClient } from 'webdav';\nimport { generateRemoteUrl } from '@nextcloud/router';\nimport { getCurrentUser, getRequestToken } from '@nextcloud/auth';\nexport const rootPath = `/trashbin/${getCurrentUser()?.uid}/trash`;\nexport const rootUrl = generateRemoteUrl('dav' + rootPath);\nconst client = createClient(rootUrl, {\n headers: {\n requesttoken: getRequestToken(),\n },\n});\nexport default client;\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { File, Folder, davParsePermissions } from '@nextcloud/files';\nimport { generateRemoteUrl, generateUrl } from '@nextcloud/router';\nimport { getCurrentUser } from '@nextcloud/auth';\nimport { getDavNameSpaces, getDavProperties } from '../../../files/src/services/DavProperties';\nimport client, { rootPath } from './client';\nconst data = `\n\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t${getDavProperties()}\n\t\n`;\nconst resultToNode = function (node) {\n const permissions = davParsePermissions(node.props?.permissions);\n const owner = getCurrentUser()?.uid;\n const previewUrl = generateUrl('/apps/files_trashbin/preview?fileId={fileid}&x=32&y=32', node.props);\n const nodeData = {\n id: node.props?.fileid || 0,\n source: generateRemoteUrl('dav' + rootPath + node.filename),\n // do not show the mtime column\n // mtime: new Date(node.lastmod),\n mime: node.mime,\n size: node.props?.size || 0,\n permissions,\n owner,\n root: rootPath,\n attributes: {\n ...node,\n ...node.props,\n // Override displayed name on the list\n displayName: node.props?.['trashbin-filename'],\n previewUrl,\n },\n };\n delete nodeData.attributes.props;\n return node.type === 'file'\n ? new File(nodeData)\n : new Folder(nodeData);\n};\nexport const getContents = async (path = '/') => {\n // TODO: use only one request when webdav-client supports it\n // @see https://github.com/perry-mitchell/webdav-client/pull/334\n const rootResponse = await client.stat(path, {\n details: true,\n data,\n });\n const contentsResponse = await client.getDirectoryContents(path, {\n details: true,\n data,\n });\n return {\n folder: resultToNode(rootResponse.data),\n contents: contentsResponse.data.map(resultToNode),\n };\n};\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { emit } from '@nextcloud/event-bus';\nimport { generateRemoteUrl } from '@nextcloud/router';\nimport { getCurrentUser } from '@nextcloud/auth';\nimport { Permission, Node, View, registerFileAction, FileAction } from '@nextcloud/files';\nimport { translate as t } from '@nextcloud/l10n';\nimport axios from '@nextcloud/axios';\nimport History from '@mdi/svg/svg/history.svg?raw';\nimport logger from '../../../files/src/logger.js';\nregisterFileAction(new FileAction({\n id: 'restore',\n displayName() {\n return t('files_trashbin', 'Restore');\n },\n iconSvgInline: () => History,\n enabled(nodes, view) {\n // Only available in the trashbin view\n if (view.id !== 'trashbin') {\n return false;\n }\n // Only available if all nodes have read permission\n return nodes.length > 0 && nodes\n .map(node => node.permissions)\n .every(permission => (permission & Permission.READ) !== 0);\n },\n async exec(node) {\n try {\n const destination = generateRemoteUrl(`dav/trashbin/${getCurrentUser()?.uid}/restore/${encodeURIComponent(node.basename)}`);\n await axios({\n method: 'MOVE',\n url: node.source,\n headers: {\n destination,\n },\n });\n // Let's pretend the file is deleted since\n // we don't know the restored location\n emit('files:node:deleted', node);\n return true;\n }\n catch (error) {\n logger.error(error);\n return false;\n }\n },\n async execBatch(nodes, view, dir) {\n return Promise.all(nodes.map(node => this.exec(node, view, dir)));\n },\n order: 1,\n inline: () => true,\n}));\n","/**\n * @copyright Copyright (c) 2023 John Molakvoæ \n *\n * @author John Molakvoæ \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\nimport { translate as t, translate } from '@nextcloud/l10n';\nimport DeleteSvg from '@mdi/svg/svg/delete.svg?raw';\nimport moment from '@nextcloud/moment';\nimport { getContents } from './services/trashbin';\n// Register restore action\nimport './actions/restoreAction';\nimport { Column, View, getNavigation } from '@nextcloud/files';\nconst Navigation = getNavigation();\nNavigation.register(new View({\n id: 'trashbin',\n name: t('files_trashbin', 'Deleted files'),\n caption: t('files_trashbin', 'List of files that have been deleted.'),\n emptyTitle: t('files_trashbin', 'No deleted files'),\n emptyCaption: t('files_trashbin', 'Files and folders you have deleted will show up here'),\n icon: DeleteSvg,\n order: 50,\n sticky: true,\n defaultSortKey: 'deleted',\n columns: [\n new Column({\n id: 'deleted',\n title: t('files_trashbin', 'Deleted'),\n render(node) {\n const deletionTime = node.attributes?.['trashbin-deletion-time'];\n const span = document.createElement('span');\n if (deletionTime) {\n span.title = moment.unix(deletionTime).format('LLL');\n span.textContent = moment.unix(deletionTime).fromNow();\n return span;\n }\n // Unknown deletion time\n span.textContent = translate('files_trashbin', 'A long time ago');\n return span;\n },\n sort(nodeA, nodeB) {\n const deletionTimeA = nodeA.attributes?.['trashbin-deletion-time'] || nodeA?.mtime || 0;\n const deletionTimeB = nodeB.attributes?.['trashbin-deletion-time'] || nodeB?.mtime || 0;\n return deletionTimeB - deletionTimeA;\n },\n }),\n ],\n getContents,\n}));\n","var map = {\n\t\"./af\": 42786,\n\t\"./af.js\": 42786,\n\t\"./ar\": 30867,\n\t\"./ar-dz\": 14130,\n\t\"./ar-dz.js\": 14130,\n\t\"./ar-kw\": 96135,\n\t\"./ar-kw.js\": 96135,\n\t\"./ar-ly\": 56440,\n\t\"./ar-ly.js\": 56440,\n\t\"./ar-ma\": 47702,\n\t\"./ar-ma.js\": 47702,\n\t\"./ar-sa\": 16040,\n\t\"./ar-sa.js\": 16040,\n\t\"./ar-tn\": 37100,\n\t\"./ar-tn.js\": 37100,\n\t\"./ar.js\": 30867,\n\t\"./az\": 31083,\n\t\"./az.js\": 31083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 68338,\n\t\"./bg.js\": 68338,\n\t\"./bm\": 67438,\n\t\"./bm.js\": 67438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 76225,\n\t\"./bn-bd.js\": 76225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 11560,\n\t\"./bo.js\": 11560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 80622,\n\t\"./bs.js\": 80622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 50877,\n\t\"./cv.js\": 50877,\n\t\"./cy\": 47373,\n\t\"./cy.js\": 47373,\n\t\"./da\": 24780,\n\t\"./da.js\": 24780,\n\t\"./de\": 59740,\n\t\"./de-at\": 60217,\n\t\"./de-at.js\": 60217,\n\t\"./de-ch\": 60894,\n\t\"./de-ch.js\": 60894,\n\t\"./de.js\": 59740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 50837,\n\t\"./el.js\": 50837,\n\t\"./en-au\": 78348,\n\t\"./en-au.js\": 78348,\n\t\"./en-ca\": 77925,\n\t\"./en-ca.js\": 77925,\n\t\"./en-gb\": 22243,\n\t\"./en-gb.js\": 22243,\n\t\"./en-ie\": 46436,\n\t\"./en-ie.js\": 46436,\n\t\"./en-il\": 47207,\n\t\"./en-il.js\": 47207,\n\t\"./en-in\": 44175,\n\t\"./en-in.js\": 44175,\n\t\"./en-nz\": 76319,\n\t\"./en-nz.js\": 76319,\n\t\"./en-sg\": 31662,\n\t\"./en-sg.js\": 31662,\n\t\"./eo\": 92915,\n\t\"./eo.js\": 92915,\n\t\"./es\": 55655,\n\t\"./es-do\": 55251,\n\t\"./es-do.js\": 55251,\n\t\"./es-mx\": 96112,\n\t\"./es-mx.js\": 96112,\n\t\"./es-us\": 71146,\n\t\"./es-us.js\": 71146,\n\t\"./es.js\": 55655,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 77763,\n\t\"./eu.js\": 77763,\n\t\"./fa\": 76959,\n\t\"./fa.js\": 76959,\n\t\"./fi\": 11897,\n\t\"./fi.js\": 11897,\n\t\"./fil\": 42549,\n\t\"./fil.js\": 42549,\n\t\"./fo\": 94694,\n\t\"./fo.js\": 94694,\n\t\"./fr\": 94470,\n\t\"./fr-ca\": 63049,\n\t\"./fr-ca.js\": 63049,\n\t\"./fr-ch\": 52330,\n\t\"./fr-ch.js\": 52330,\n\t\"./fr.js\": 94470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 29295,\n\t\"./ga.js\": 29295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 38794,\n\t\"./gl.js\": 38794,\n\t\"./gom-deva\": 27884,\n\t\"./gom-deva.js\": 27884,\n\t\"./gom-latn\": 23168,\n\t\"./gom-latn.js\": 23168,\n\t\"./gu\": 95349,\n\t\"./gu.js\": 95349,\n\t\"./he\": 24206,\n\t\"./he.js\": 24206,\n\t\"./hi\": 30094,\n\t\"./hi.js\": 30094,\n\t\"./hr\": 30316,\n\t\"./hr.js\": 30316,\n\t\"./hu\": 22138,\n\t\"./hu.js\": 22138,\n\t\"./hy-am\": 11423,\n\t\"./hy-am.js\": 11423,\n\t\"./id\": 29218,\n\t\"./id.js\": 29218,\n\t\"./is\": 90135,\n\t\"./is.js\": 90135,\n\t\"./it\": 90626,\n\t\"./it-ch\": 10150,\n\t\"./it-ch.js\": 10150,\n\t\"./it.js\": 90626,\n\t\"./ja\": 39183,\n\t\"./ja.js\": 39183,\n\t\"./jv\": 24286,\n\t\"./jv.js\": 24286,\n\t\"./ka\": 12105,\n\t\"./ka.js\": 12105,\n\t\"./kk\": 47772,\n\t\"./kk.js\": 47772,\n\t\"./km\": 18758,\n\t\"./km.js\": 18758,\n\t\"./kn\": 79282,\n\t\"./kn.js\": 79282,\n\t\"./ko\": 33730,\n\t\"./ko.js\": 33730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 33291,\n\t\"./ky.js\": 33291,\n\t\"./lb\": 36841,\n\t\"./lb.js\": 36841,\n\t\"./lo\": 55466,\n\t\"./lo.js\": 55466,\n\t\"./lt\": 57010,\n\t\"./lt.js\": 57010,\n\t\"./lv\": 37595,\n\t\"./lv.js\": 37595,\n\t\"./me\": 39861,\n\t\"./me.js\": 39861,\n\t\"./mi\": 35493,\n\t\"./mi.js\": 35493,\n\t\"./mk\": 95966,\n\t\"./mk.js\": 95966,\n\t\"./ml\": 87341,\n\t\"./ml.js\": 87341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 10370,\n\t\"./mr.js\": 10370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 41237,\n\t\"./ms-my.js\": 41237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 72126,\n\t\"./mt.js\": 72126,\n\t\"./my\": 56165,\n\t\"./my.js\": 56165,\n\t\"./nb\": 64924,\n\t\"./nb.js\": 64924,\n\t\"./ne\": 16744,\n\t\"./ne.js\": 16744,\n\t\"./nl\": 93901,\n\t\"./nl-be\": 59814,\n\t\"./nl-be.js\": 59814,\n\t\"./nl.js\": 93901,\n\t\"./nn\": 83877,\n\t\"./nn.js\": 83877,\n\t\"./oc-lnc\": 92135,\n\t\"./oc-lnc.js\": 92135,\n\t\"./pa-in\": 15858,\n\t\"./pa-in.js\": 15858,\n\t\"./pl\": 64495,\n\t\"./pl.js\": 64495,\n\t\"./pt\": 89520,\n\t\"./pt-br\": 57971,\n\t\"./pt-br.js\": 57971,\n\t\"./pt.js\": 89520,\n\t\"./ro\": 96459,\n\t\"./ro.js\": 96459,\n\t\"./ru\": 21793,\n\t\"./ru.js\": 21793,\n\t\"./sd\": 40950,\n\t\"./sd.js\": 40950,\n\t\"./se\": 10490,\n\t\"./se.js\": 10490,\n\t\"./si\": 90124,\n\t\"./si.js\": 90124,\n\t\"./sk\": 64249,\n\t\"./sk.js\": 64249,\n\t\"./sl\": 14985,\n\t\"./sl.js\": 14985,\n\t\"./sq\": 51104,\n\t\"./sq.js\": 51104,\n\t\"./sr\": 49131,\n\t\"./sr-cyrl\": 79915,\n\t\"./sr-cyrl.js\": 79915,\n\t\"./sr.js\": 49131,\n\t\"./ss\": 85893,\n\t\"./ss.js\": 85893,\n\t\"./sv\": 98760,\n\t\"./sv.js\": 98760,\n\t\"./sw\": 91172,\n\t\"./sw.js\": 91172,\n\t\"./ta\": 27333,\n\t\"./ta.js\": 27333,\n\t\"./te\": 23110,\n\t\"./te.js\": 23110,\n\t\"./tet\": 52095,\n\t\"./tet.js\": 52095,\n\t\"./tg\": 27321,\n\t\"./tg.js\": 27321,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 19005,\n\t\"./tk.js\": 19005,\n\t\"./tl-ph\": 75768,\n\t\"./tl-ph.js\": 75768,\n\t\"./tlh\": 89444,\n\t\"./tlh.js\": 89444,\n\t\"./tr\": 72397,\n\t\"./tr.js\": 72397,\n\t\"./tzl\": 28254,\n\t\"./tzl.js\": 28254,\n\t\"./tzm\": 51106,\n\t\"./tzm-latn\": 30699,\n\t\"./tzm-latn.js\": 30699,\n\t\"./tzm.js\": 51106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 67691,\n\t\"./uk.js\": 67691,\n\t\"./ur\": 13795,\n\t\"./ur.js\": 13795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 60588,\n\t\"./uz-latn.js\": 60588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 65666,\n\t\"./vi.js\": 65666,\n\t\"./x-pseudo\": 14378,\n\t\"./x-pseudo.js\": 14378,\n\t\"./yo\": 75805,\n\t\"./yo.js\": 75805,\n\t\"./zh-cn\": 83839,\n\t\"./zh-cn.js\": 83839,\n\t\"./zh-hk\": 55726,\n\t\"./zh-hk.js\": 55726,\n\t\"./zh-mo\": 99807,\n\t\"./zh-mo.js\": 99807,\n\t\"./zh-tw\": 74152,\n\t\"./zh-tw.js\": 74152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 46700;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 5992;","__webpack_require__.b = document.baseURI || self.location.href;\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t5992: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunknextcloud\"] = self[\"webpackChunknextcloud\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","__webpack_require__.nc = undefined;","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [7874], function() { return __webpack_require__(37298); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","m","t","setApp","build","setUid","uid","K","DEFAULT","HIDDEN","v","NONE","CREATE","READ","UPDATE","DELETE","SHARE","ALL","$","Folder","File","Z","e","match","M","id","Error","source","URL","startsWith","mtime","Date","crtime","mime","size","permissions","owner","attributes","root","includes","i","J","_data","_attributes","_knownDavService","constructor","this","s","set","n","r","l","updateMtime","Reflect","deleteProperty","Proxy","replace","basename","extension","dirname","indexOf","slice","length","pathname","isDavRessource","split","pop","path","fileid","move","rename","vt","type","yt","super","Nt","_column","_t","title","render","sort","summary","k","T","RegExp","isExist","o","isEmptyObject","Object","keys","merge","a","d","u","h","c","getValue","isName","exec","getAllMatches","startIndex","lastIndex","f","push","nameRegexp","R","At","allowBooleanAttributes","unpairedTags","B","q","substr","p","g","U","validate","assign","err","trim","substring","Ft","Pt","value","index","z","code","msg","line","tagClosed","tagName","tagStartPos","col","Dt","JSON","stringify","map","Tt","It","Ot","b","St","hasOwnProperty","Ct","O","tt","preserveOrder","attributeNamePrefix","attributesGroupName","textNodeName","ignoreAttributes","removeNSPrefix","parseTagValue","parseAttributeValue","trimValues","cdataPropName","numberParseOptions","hex","leadingZeros","eNotation","tagValueProcessor","attributeValueProcessor","stopNodes","alwaysCreateTextNode","isArray","commentPropName","processEntities","htmlEntities","ignoreDeclaration","ignorePiTags","transformTagName","transformAttributeName","updateTag","buildOptions","defaultOptions","Rt","jt","Mt","Bt","qt","Ut","zt","Gt","Ht","Kt","Number","parseInt","window","parseFloat","Wt","decimalPoint","L","E","tagname","child","add","addChild","Qt","entityName","val","regx","entities","te","skipLike","test","Zt","search","ie","lastEntities","regex","ne","options","replaceEntitiesValue","D","re","charAt","se","oe","resolveNameSpace","ae","x","saveTextToParentTag","lastIndexOf","tagsNodeStack","C","tagExp","attrExpPresent","buildAttributesMap","closeIndex","docTypeEntities","parseTextData","isItStopNode","w","readStopNodeData","tagContent","le","de","ampEntity","ue","ce","data","he","pe","et","it","me","ve","we","Array","prettify","ye","xe","currentNode","apos","gt","lt","quot","space","cent","pound","yen","euro","copyright","reg","inr","addExternalEntities","parseXml","be","Ee","nt","Ie","Pe","rt","G","st","N","indentBy","suppressUnpairedNode","suppressEmptyNode","endsWith","suppressBooleanAttributes","Ce","format","De","oneListGroup","y","isAttribute","attrPrefixLen","Ve","processTextOrObjNode","Se","indentate","Fe","tagEndChar","newLine","j2x","buildTextValNode","attrStr","buildObjectNode","repeat","prototype","arrayNodeName","buildAttrPairStr","closeTag","X","XMLParser","externalEntities","parse","toString","addEntity","XMLValidator","XMLBuilder","getLoggerBuilder","detectUser","defaultDavProperties","defaultDavNamespaces","nc","oc","ocs","rootPath","concat","_getCurrentUser","getCurrentUser","rootUrl","generateRemoteUrl","createClient","headers","requesttoken","getRequestToken","_regeneratorRuntime","exports","Op","hasOwn","defineProperty","obj","key","desc","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","wrap","innerFn","outerFn","self","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","call","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","_typeof","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","undefined","done","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","methodName","return","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","doneResult","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","object","reverse","skipTempReset","prev","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","catch","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","apply","_objectSpread","target","arguments","_defineProperty","getOwnPropertyDescriptors","defineProperties","input","hint","prim","toPrimitive","res","String","_toPrimitive","_toPropertyKey","_nc_dav_namespaces","ns","join","_nc_dav_properties","prop","resultToNode","node","_node$props","_node$props2","_node$props3","_node$props4","davParsePermissions","props","previewUrl","generateUrl","nodeData","filename","getContents","_ref","_callee","rootResponse","contentsResponse","_args","_context","client","stat","details","getDirectoryContents","folder","contents","args","_asyncToGenerator","_nc_fileactions","debug","find","action","registerFileAction","_action","validateAction","iconSvgInline","enabled","execBatch","order","default","inline","renderInline","nodes","view","every","permission","Permission","destination","encodeURIComponent","axios","url","emit","t0","logger","dir","_this","_callee2","_context2","all","_nc_navigation","_views","_currentView","register","remove","findIndex","splice","views","setActive","active","_view","columns","caption","icon","je","emptyView","parent","sticky","expanded","defaultSortKey","Me","emptyTitle","emptyCaption","params","Column","_node$attributes","deletionTime","span","document","createElement","moment","textContent","fromNow","translate","nodeA","nodeB","_nodeA$attributes","_nodeB$attributes","deletionTimeA","webpackContext","req","webpackContextResolve","__webpack_require__","module","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","chunkIds","priority","notFulfilled","Infinity","fulfilled","j","getter","__esModule","definition","get","globalThis","Function","nmd","paths","children","baseURI","location","href","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file