1function blockDataPositionOption(props){const{Button,ButtonGroup}=this.components;const{__}=this.i18n;let currentValue=props.metaValue;const dataPositionValue=props.dataPositionState;if(currentValue===undefined){currentValue='outside';} 2if(dataPositionValue!==undefined&&dataPositionValue!==''){currentValue=dataPositionValue;} 3const dataPositionOptions=[{key:'outside',name:__('Outside')},{key:'inside',name:__('Inside')},{key:'floating',name:__('Floating')},];return this.el(ButtonGroup,null,dataPositionOptions.map(({name,key})=>{const elProperties={key:key,variant:'secondary',isTertiary:currentValue!==key,isPrimary:currentValue===key,isPressed:currentValue===key,onClick:()=>{props.setState({dataPositionState:key,});const body=getDocumentBody();body.attr('block-data-position',key);this.debounce(()=>{props.setMetaValue(key);})();},};return this.el(Button,elProperties,name);}));}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.