const n="public";function e(e){const r=e?.assignableReadModes;return Array.isArray(r)?r.includes(n):!0===e?.externalSharingEnabled}function r(n){const e=n?.mode;return"owner"===n?.role&&"string"==typeof e&&""!==e&&"owner"!==e||function(n){const e=n?.assignableReadModes;return Array.isArray(e)?e.some(n=>"string"==typeof n&&"owner"!==n):!1!==n?.mayWiden}(n)}export{n as P,e as c,r as s};
