(()=>{"use strict";vare,t,r,i={48143:(e,t,r)=>{vari=r(20144),n=r(31352),a=r(77958),o=r(25108);vars=r(25108);varl=r(25108);r.nc=btoa((0,a.IH)()),window.OCA.Sharing||(window.OCA.Sharing={}),Object.assign(window.OCA.Sharing,{ShareSearch:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e,t){if("object"!=typeofe||null===e)returne;varr=e[Symbol.toPrimitive];if(void0!==r){vari=r.call(e,"string");if("object"!=typeofi)returni;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:String(t)}(t="_state"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._state={},this._state.results=[],o.debug("OCA.Sharing.ShareSearch initialized")}getstate(){returnthis._state}addNewResult(e){return""!==e.displayName.trim()&&"function"==typeofe.handler?(this._state.results.push(e),!0):(o.error("Invalid search result provided",e),!1)}}}),Object.assign(window.OCA.Sharing,{ExternalLinkActions:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e,t){if("object"!=typeofe||null===e)returne;varr=e[Symbol.toPrimitive];if(void0!==r){vari=r.call(e,"string");if("object"!=typeofi)returni;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:String(t)}(t="_state"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._state={},this._state.actions=[],s.debug("OCA.Sharing.ExternalLinkActions initialized")}getstate(){returnthis._state}registerAction(e){returnOC.debug&&s.warn("OCA.Sharing.ExternalLinkActions is deprecated, use OCA.Sharing.ExternalShareAction instead"),"object"==typeofe&&e.icon&&e.name&&e.url?(this._state.actions.push(e),!0):(s.error("Invalid action provided",e),!1)}}}),Object.assign(window.OCA.Sharing,{ExternalShareActions:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e,t){if("object"!=typeofe||null===e)returne;varr=e[Symbol.toPrimitive];if(void0!==r){vari=r.call(e,"string");if("object"!=typeofi)returni;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:String(t)}(t="_state"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._state={},this._state.actions=[],l.debug("OCA.Sharing.ExternalShareActions initialized")}getstate(){returnthis._state}registerAction(e){return"object"==typeofe&&"string"==typeofe.id&&"function"==typeofe.data&&Array.isArray(e.shareType)&&"object"==typeofe.handlers&&Object.values(e.handlers).every((e=>"function"==typeofe))?this._state.actions.findIndex((t=>t.id===e.id))>-1?(l.error(`An action with the same id ${e.id} already exists`,e),!1):(this._state.actions.push(e),!0):(l.error("Invalid action provided",e),!1)}}}),Object.assign(window.OCA.Sharing,{ShareTabSections:newclass{constructor(){vare,t,r;e=this,r=void0,(t=function(e){vart=function(e,t){if("object"!=typeofe||null===e)returne;varr=e[Symbol.toPrimitive];if(void0!==r){vari=r.call(e,"string");if("object"!=typeofi)returni;thrownewTypeError("@@toPrimitive must return a primitive value.")}returnString(e)}(e);return"symbol"==typeoft?t:String(t)}(t="_sections"))ine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,this._sections=[]}registerSection(e){this._sections.push(e)}getSections(){returnthis._sections}}}),i.default.prototype.t=n.Iu,i.default.prototype.n=n.uN;letu=null;window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(newOCA.Files.Sidebar.Tab({id:"sharing",name:(0,n.Iu)("files_sharing","Sharing"),iconSvg:'<svgxmlns="http://www.w3.org/2000/svg"id="mdi-share-variant"viewBox="0 0 24 24"><pathd="M18,16.08C17.24,16.0816.56,16.3816.04,16.85L8.91,12.7C8.96,12.479,12.249,12C9,11.768.96,11.538.91,11.3L15.96,7.19C16.5,7.6917.21,818,8A3,300,021,5A3,300,018,2A3,300,015,5C15,5.2415.04,5.4715.09,5.7L8