{"version":3,"sources":["webpack:///./node_modules/@ckeditor/ckeditor5-engine/src/view/styles/padding.js","webpack:///./node_modules/@ckeditor/ckeditor5-engine/src/view/styles/margin.js"],"names":["__webpack_require__"],"mappings":"kHAAAA,EAAA;;;;uCCAAA,EAAA","file":"js/chunk-4b0314ae.b4c7b2f1.js","sourcesContent":["/**\n * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module engine/view/styles/padding\n */\n\nimport { getPositionShorthandNormalizer, getBoxSidesValueReducer } from './utils';\n\n/**\n * Adds a margin CSS styles processing rules.\n *\n *\t\teditor.data.addStyleProcessorRules( addPaddingRules );\n *\n * The normalized value is stored as:\n *\n *\t\tconst styles = {\n *\t\t\tpadding: {\n *\t\t\t\ttop,\n *\t\t\t\tright,\n *\t\t\t\tbottom,\n *\t\t\t\tleft\n *\t\t\t}\n *\t\t};\n *\n * @param {module:engine/view/stylesmap~StylesProcessor} stylesProcessor\n */\nexport function addPaddingRules( stylesProcessor ) {\n\tstylesProcessor.setNormalizer( 'padding', getPositionShorthandNormalizer( 'padding' ) );\n\tstylesProcessor.setNormalizer( 'padding-top', value => ( { path: 'padding.top', value } ) );\n\tstylesProcessor.setNormalizer( 'padding-right', value => ( { path: 'padding.right', value } ) );\n\tstylesProcessor.setNormalizer( 'padding-bottom', value => ( { path: 'padding.bottom', value } ) );\n\tstylesProcessor.setNormalizer( 'padding-left', value => ( { path: 'padding.left', value } ) );\n\n\tstylesProcessor.setReducer( 'padding', getBoxSidesValueReducer( 'padding' ) );\n\n\tstylesProcessor.setStyleRelation( 'padding', [ 'padding-top', 'padding-right', 'padding-bottom', 'padding-left' ] );\n}\n","/**\n * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license\n */\n\n/**\n * @module engine/view/styles/margin\n */\n\nimport { getPositionShorthandNormalizer, getBoxSidesValueReducer } from './utils';\n\n/**\n * Adds a margin CSS styles processing rules.\n *\n *\t\teditor.data.addStyleProcessorRules( addMarginRules );\n *\n * The normalized value is stored as:\n *\n *\t\tconst styles = {\n *\t\t\tmargin: {\n *\t\t\t\ttop,\n *\t\t\t\tright,\n *\t\t\t\tbottom,\n *\t\t\t\tleft\n *\t\t\t}\n *\t\t};\n *\n * @param {module:engine/view/stylesmap~StylesProcessor} stylesProcessor\n */\nexport function addMarginRules( stylesProcessor ) {\n\tstylesProcessor.setNormalizer( 'margin', getPositionShorthandNormalizer( 'margin' ) );\n\n\tstylesProcessor.setNormalizer( 'margin-top', value => ( { path: 'margin.top', value } ) );\n\tstylesProcessor.setNormalizer( 'margin-right', value => ( { path: 'margin.right', value } ) );\n\tstylesProcessor.setNormalizer( 'margin-bottom', value => ( { path: 'margin.bottom', value } ) );\n\tstylesProcessor.setNormalizer( 'margin-left', value => ( { path: 'margin.left', value } ) );\n\n\tstylesProcessor.setReducer( 'margin', getBoxSidesValueReducer( 'margin' ) );\n\n\tstylesProcessor.setStyleRelation( 'margin', [ 'margin-top', 'margin-right', 'margin-bottom', 'margin-left' ] );\n}\n"],"sourceRoot":""}