{"version":3,"sources":["node_modules/@arcgis/core/layers/support/Relationship.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { _ as e } from \"../../chunks/tslib.es6.js\";\nimport { ClonableMixin as o } from \"../../core/Clonable.js\";\nimport { JSONMap as r } from \"../../core/jsonMap.js\";\nimport { JSONSupport as t } from \"../../core/JSONSupport.js\";\nimport { property as i } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.js\";\nimport { subclass as s } from \"../../core/accessorSupport/decorators/subclass.js\";\nconst n = new r({\n esriRelCardinalityOneToOne: \"one-to-one\",\n esriRelCardinalityOneToMany: \"one-to-many\",\n esriRelCardinalityManyToMany: \"many-to-many\"\n }),\n a = new r({\n esriRelRoleOrigin: \"origin\",\n esriRelRoleDestination: \"destination\"\n });\nlet l = class extends o(t) {\n constructor(e) {\n super(e), this.cardinality = null, this.composite = null, this.id = null, this.keyField = null, this.keyFieldInRelationshipTable = null, this.name = null, this.relatedTableId = null, this.relationshipTableId = null, this.role = null;\n }\n};\ne([i({\n json: {\n read: n.read,\n write: n.write\n }\n})], l.prototype, \"cardinality\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"composite\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"id\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"keyField\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"keyFieldInRelationshipTable\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"name\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"relatedTableId\", void 0), e([i({\n json: {\n read: !0,\n write: !0\n }\n})], l.prototype, \"relationshipTableId\", void 0), e([i({\n json: {\n read: a.read,\n write: a.write\n }\n})], l.prototype, \"role\", void 0), l = e([s(\"esri.layers.support.Relationship\")], l);\nconst p = l;\nexport { p as default };"],"mappings":"2OAaA,IAAMA,EAAI,IAAIA,EAAE,CACZ,2BAA4B,aAC5B,4BAA6B,cAC7B,6BAA8B,cAChC,CAAC,EACDC,EAAI,IAAID,EAAE,CACR,kBAAmB,SACnB,uBAAwB,aAC1B,CAAC,EACCE,EAAI,cAAcC,EAAEC,CAAC,CAAE,CACzB,YAAYC,EAAG,CACb,MAAMA,CAAC,EAAG,KAAK,YAAc,KAAM,KAAK,UAAY,KAAM,KAAK,GAAK,KAAM,KAAK,SAAW,KAAM,KAAK,4BAA8B,KAAM,KAAK,KAAO,KAAM,KAAK,eAAiB,KAAM,KAAK,oBAAsB,KAAM,KAAK,KAAO,IACtO,CACF,EACAC,EAAE,CAACC,EAAE,CACH,KAAM,CACJ,KAAMP,EAAE,KACR,MAAOA,EAAE,KACX,CACF,CAAC,CAAC,EAAGE,EAAE,UAAW,cAAe,MAAM,EAAGI,EAAE,CAACC,EAAE,CAC7C,KAAM,CACJ,KAAM,GACN,MAAO,EACT,CACF,CAAC,CAAC,EAAGL,EAAE,UAAW,YAAa,MAAM,EAAGI,EAAE,CAACC,EAAE,CAC3C,KAAM,CACJ,KAAM,GACN,MAAO,EACT,CACF,CAAC,CAAC,EAAGL,EAAE,UAAW,KAAM,MAAM,EAAGI,EAAE,CAACC,EAAE,CACpC,KAAM,CACJ,KAAM,GACN,MAAO,EACT,CACF,CAAC,CAAC,EAAGL,EAAE,UAAW,WAAY,MAAM,EAAGI,EAAE,CAACC,EAAE,CAC1C,KAAM,CACJ,KAAM,GACN,MAAO,EACT,CACF,CAAC,CAAC,EAAGL,EAAE,UAAW,8BAA+B,MAAM,EAAGI,EAAE,CAACC,EAAE,CAC7D,KAAM,CACJ,KAAM,GACN,MAAO,EACT,CACF,CAAC,CAAC,EAAGL,EAAE,UAAW,OAAQ,MAAM,EAAGI,EAAE,CAACC,EAAE,CACtC,KAAM,CAC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