/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../maybe"],(function(e,r){"use strict";var i;e.OriginId=void 0,(i=e.OriginId||(e.OriginId={}))[i.DEFAULTS=0]="DEFAULTS",i[i.COMPUTED=1]="COMPUTED",i[i.SERVICE=2]="SERVICE",i[i.PORTAL_ITEM=3]="PORTAL_ITEM",i[i.WEB_SCENE=4]="WEB_SCENE",i[i.WEB_MAP=5]="WEB_MAP",i[i.USER=6]="USER";const n=e.OriginId.USER+1;function t(r){switch(r){case"defaults":return e.OriginId.DEFAULTS;case"service":return e.OriginId.SERVICE;case"portal-item":return e.OriginId.PORTAL_ITEM;case"web-scene":return e.OriginId.WEB_SCENE;case"web-map":return e.OriginId.WEB_MAP;case"user":return e.OriginId.USER}}function E(i){switch(i){case e.OriginId.DEFAULTS:return"defaults";case e.OriginId.SERVICE:return"service";case e.OriginId.PORTAL_ITEM:return"portal-item";case e.OriginId.WEB_SCENE:return"web-scene";case e.OriginId.WEB_MAP:return"web-map";case e.OriginId.USER:return"user"}return r.assumeNonNull(void 0)}function a(e){return t(e)}function u(e){return E(e)}function d(e){return t(e)}function s(e){return E(e)}e.OriginIdNum=n,e.idToName=E,e.idToReadableName=u,e.idToWritableName=s,e.nameToId=t,e.readableNameToId=a,e.writableNameToId=d,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
