/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
function n(n,i){return o(n,"any",i?.origin)}function i(n,i){return o(n,"read",i?.origin)}function r(n,i){return o(n,"write",i?.origin)}function o(n,i,r){let o=n?.json;if(o?.origins&&r){let n;n="link-chart"===r?o.origins[r]&&("any"===i||i in o.origins[r])?o.origins[r]:o.origins["web-map"]:o.origins[r],n&&("any"===i||i in n)&&(o=n)}return o}export{n as originSpecificPropertyDefinition,i as originSpecificReadPropertyDefinition,r as originSpecificWritePropertyDefinition};
