{"version":3,"file":"ViewContainerMixin.mjs","sources":["../../../src/core/mixins/ViewContainerMixin.ts"],"sourcesContent":["import { extensions, type ObservablePoint, ViewContainer } from 'pixi.js';\nimport { type ComputedLayout } from '../types';\nimport { baseComputeLayoutData } from './utils/baseComputeLayoutData';\n\nconst mixin: Partial<ViewContainer> = {\n    /**\n     * Computes the layout data for the container\n     * @param computedLayout - The computed layout from Yoga\n     * @returns The layout data for the container\n     */\n    computeLayoutData(computedLayout: ComputedLayout) {\n        return baseComputeLayoutData(this, computedLayout, 'fill', this._anchor);\n    },\n} as ViewContainer & { _anchor?: ObservablePoint };\n\nextensions.mixin(ViewContainer, mixin);\n"],"names":[],"mappings":";;AAIA,MAAM,QAAgC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMlC,kBAAkB,gBAAgC;AAC9C,WAAO,sBAAsB,MAAM,gBAAgB,QAAQ,KAAK,OAAO;AAAA,EAAA;AAE/E;AAEA,WAAW,MAAM,eAAe,KAAK;"}