{"version":3,"sources":["node_modules/@arcgis/core/layers/support/floorFilterUtils.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*/\nfunction o(o) {\n const n = o.layer;\n if (\"floorInfo\" in n && n.floorInfo?.floorField && \"floors\" in o.view) {\n return l(o.view.floors, n.floorInfo.floorField);\n }\n return null;\n}\nfunction n(o, n) {\n return \"floorInfo\" in n && n.floorInfo?.floorField ? l(o, n.floorInfo.floorField) : null;\n}\nfunction l(o, n) {\n if (!o?.length) return null;\n const l = o.filter(o => \"\" !== o).map(o => `'${o}'`);\n return l.push(\"''\"), `${n} IN (${l.join(\",\")}) OR ${n} IS NULL`;\n}\nexport { o as getFloorFilterClause, n as getLayerFloorFilterClause };"],"mappings":"AAIA,SAASA,EAAEA,EAAG,CACZ,IAAMC,EAAID,EAAE,MACZ,MAAI,cAAeC,GAAKA,EAAE,WAAW,YAAc,WAAYD,EAAE,KACxDE,EAAEF,EAAE,KAAK,OAAQC,EAAE,UAAU,UAAU,EAEzC,IACT,CACA,SAASA,EAAED,EAAGC,EAAG,CACf,MAAO,cAAeA,GAAKA,EAAE,WAAW,WAAaC,EAAEF,EAAGC,EAAE,UAAU,UAAU,EAAI,IACtF,CACA,SAASC,EAAEF,EAAGC,EAAG,CACf,GAAI,CAACD,GAAG,OAAQ,OAAO,KACvB,IAAME,EAAIF,EAAE,OAAOA,GAAYA,IAAP,EAAQ,EAAE,IAAIA,GAAK,IAAIA,CAAC,GAAG,EACnD,OAAOE,EAAE,KAAK,IAAI,EAAG,GAAGD,CAAC,QAAQC,EAAE,KAAK,GAAG,CAAC,QAAQD,CAAC,UACvD","names":["o","n","l"],"x_google_ignoreList":[0]}