{"version":3,"file":"static/js/1065.e11da883.chunk.js","mappings":";6GAQA,SAASA,EAAaC,GAEpB,IAAK,IAAIC,EAAWD,EAASC,EAAUA,EAAWC,EAAeD,GAC/D,GAAMA,aAAoBE,SAGiB,SAAvCC,iBAAiBH,GAAUI,QAC7B,OAAO,KAGX,IAAK,IAAIJ,EAAWC,EAAeF,GAAUC,EAAUA,EAAWC,EAAeD,GAAW,CAC1F,KAAMA,aAAoBE,SACxB,SAEF,MAAMG,EAAQF,iBAAiBH,GAE/B,GAAsB,aAAlBK,EAAMD,QAAV,CAGA,GAAuB,WAAnBC,EAAMC,UAA0C,SAAjBD,EAAME,OACvC,OAAOP,EAET,GAAyB,SAArBA,EAASQ,QACX,OAAOR,CALT,CAOF,CACA,OAAO,IACT,CACA,SAASC,EAAeF,GACtB,OAAIA,EAAQU,aACHV,EAAQU,aAEbV,EAAQW,sBAAsBC,WACzBZ,EAAQW,WAAWE,KAErBb,EAAQW,UACjB","sources":["../node_modules/@esri/calcite-components/dist/components/utils4.js"],"sourcesContent":["/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.\n * v1.0.8-next.4\n */\n/**\n * This module provides utils to fix positioning across shadow DOM in browsers that follow the updated offsetParent spec https://github.com/w3c/csswg-drafts/issues/159\n */\nfunction offsetParent(element) {\n // Do an initial walk to check for display:none ancestors.\n for (let ancestor = element; ancestor; ancestor = flatTreeParent(ancestor)) {\n if (!(ancestor instanceof Element)) {\n continue;\n }\n if (getComputedStyle(ancestor).display === \"none\") {\n return null;\n }\n }\n for (let ancestor = flatTreeParent(element); ancestor; ancestor = flatTreeParent(ancestor)) {\n if (!(ancestor instanceof Element)) {\n continue;\n }\n const style = getComputedStyle(ancestor);\n // Display:contents nodes aren't in the layout tree so they should be skipped.\n if (style.display === \"contents\") {\n continue;\n }\n if (style.position !== \"static\" || style.filter !== \"none\") {\n return ancestor;\n }\n if (ancestor.tagName === \"BODY\") {\n return ancestor;\n }\n }\n return null;\n}\nfunction flatTreeParent(element) {\n if (element.assignedSlot) {\n return element.assignedSlot;\n }\n if (element.parentNode instanceof ShadowRoot) {\n return element.parentNode.host;\n }\n return element.parentNode;\n}\n\nexport { offsetParent };\n"],"names":["offsetParent","element","ancestor","flatTreeParent","Element","getComputedStyle","display","style","position","filter","tagName","assignedSlot","parentNode","ShadowRoot","host"],"sourceRoot":""}