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D,MAAM,OAAO,GAAG,aAAa,CAAoB,OAAO,CAAC,CAAC;IAC1D,MAAM,OAAO,GAAG,YAAY,CAAoB,OAAO,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG,YAAY,CAAoB,OAAO,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG,iBAAiB,CAAoB,OAAO,CAAC,CAAC;IAC9D,MAAM,QAAQ,GAAG,QAAQ,CAAoB,OAAO,CAAC,CAAC;IACtD,MAAM,QAAQ,GAAG,gBAAgB,CAAqB,QAAQ,CAAC,CAAC;IAChE,MAAM,QAAQ,GAAG,oBAAoB,CAAqB,QAAQ,CAAC,CAAC;IAEpE,MAAM,CAAC,QAAQ,CAAC;AAClB,CAAC;AAED,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC\"}","code":"/** @license\r\n *  Copyright 2016 - present The Material Motion Authors. All Rights Reserved.\r\n *\r\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\r\n *  use this file except in compliance with the License. You may obtain a copy\r\n *  of the License at\r\n *\r\n *      http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n *  Unless required by applicable law or agreed to in writing, software\r\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\r\n *  License for the specific language governing permissions and limitations\r\n *  under the License.\r\n */\r\nimport { withDebounce, } from './_debounce';\r\nimport { withFilter, } from './_filter';\r\nimport { withFlattenIterables, } from './_flattenIterables';\r\nimport { withMap, } from './_map';\r\nimport { withMathOperator, } from './_mathOperator';\r\nimport { withMulticast, } from './_multicast';\r\nimport { withNextOperator, } from './_nextOperator';\r\nimport { withReactiveMap, } from './_reactiveMap';\r\nimport { withReactiveNextOperator, } from './_reactiveNextOperator';\r\nimport { withRemember, } from './_remember';\r\nimport { withRead, } from './_read';\r\nimport { withSlidingWindow, } from './_slidingWindow';\r\nimport { withTap, } from './_tap';\r\nexport function withFoundationalMotionOperators(superclass) {\r\n    // If we don't pass through an explicit value for `T`, it is inferred to be `{}`,\r\n    // which is incorrect.  If we explicitly defined `T`, TypeScript won't infer\r\n    // `S`.  Thus, we manually infer `S` with `typeof`.  Moreover, type inferrance\r\n    // happens at definition time, so we need to define each step as a separate\r\n    // constant.\r\n    const result = withNextOperator(superclass);\r\n    const result1 = withReactiveNextOperator(result);\r\n    const result2 = withTap(result1);\r\n    const result3 = withMap(result2);\r\n    const result4 = withReactiveMap(result3);\r\n    const result5 = withFilter(result4);\r\n    const result6 = withMulticast(result5);\r\n    const result7 = withRemember(result6);\r\n    const result8 = withDebounce(result7);\r\n    const result9 = withSlidingWindow(result8);\r\n    const result10 = withRead(result9);\r\n    const result11 = withMathOperator(result10);\r\n    const result12 = withFlattenIterables(result11);\r\n    return result12;\r\n}\r\nexport * from './_debounce';\r\nexport * from './_filter';\r\nexport * from './_flattenIterables';\r\nexport * from './_map';\r\nexport * from './_mathOperator';\r\nexport * from './_multicast';\r\nexport * from './_nextOperator';\r\nexport * from './_reactiveMap';\r\nexport * from './_reactiveNextOperator';\r\nexport * from './_remember';\r\nexport * from './_read';\r\nexport * from './_slidingWindow';\r\nexport * from './_tap';\r\n//# sourceMappingURL=index.js.map","dts":{"name":"/Users/brentons/Projects/material-motion-js/packages/core/operators/foundation/index.d.ts","text":"/** @license\r\n *  Copyright 2016 - present The Material Motion Authors. All Rights Reserved.\r\n *\r\n *  Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\r\n *  use this file except in compliance with the License. You may obtain a copy\r\n *  of the License at\r\n *\r\n *      http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n *  Unless required by applicable law or agreed to in writing, software\r\n *  distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n *  WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\r\n *  License for the specific language governing permissions and limitations\r\n *  under the License.\r\n */\r\nimport { Constructor, Observable } from '../../types';\r\nimport { MotionDebounceable } from './_debounce';\r\nimport { MotionFilterable } from './_filter';\r\nimport { MotionFlattenable } from './_flattenIterables';\r\nimport { MotionMappable } from './_map';\r\nimport { MotionMathOperable } from './_mathOperator';\r\nimport { MotionMulticastable } from './_multicast';\r\nimport { MotionNextOperable } from './_nextOperator';\r\nimport { MotionReactiveMappable } from './_reactiveMap';\r\nimport { MotionReactiveNextOperable } from './_reactiveNextOperator';\r\nimport { MotionMemorable } from './_remember';\r\nimport { MotionReadable } from './_read';\r\nimport { MotionWindowable } from './_slidingWindow';\r\nimport { MotionTappable } from './_tap';\r\nexport interface ObservableWithFoundationalMotionOperators<T> extends MotionDebounceable<T>, MotionFlattenable<T>, MotionFilterable<T>, MotionMappable<T>, MotionMathOperable<T>, MotionMemorable<T>, MotionMulticastable<T>, MotionNextOperable<T>, MotionReactiveMappable<T>, MotionReactiveNextOperable<T>, MotionReadable<T>, MotionTappable<T>, MotionWindowable<T> {\r\n}\r\nexport declare function withFoundationalMotionOperators<T, S extends Constructor<Observable<T>>>(superclass: S): S & Constructor<ObservableWithFoundationalMotionOperators<T>>;\r\nexport * from './_debounce';\r\nexport * from './_filter';\r\nexport * from './_flattenIterables';\r\nexport * from './_map';\r\nexport * from './_mathOperator';\r\nexport * from './_multicast';\r\nexport * from './_nextOperator';\r\nexport * from './_reactiveMap';\r\nexport * from './_reactiveNextOperator';\r\nexport * from './_remember';\r\nexport * from './_read';\r\nexport * from './_slidingWindow';\r\nexport * from './_tap';\r\n"}}
