(()=>{"use strict";const e=window.React,s=window.wp.i18n,r=window.wp.blocks,t=window.wp.element,o=window.wp.blockEditor,a=window.wp.data,i=JSON.parse('{"u2":"wpseopress/breadcrumbs"}');(0,r.registerBlockType)(i.u2,{title:(0,s.__)("Breadcrumbs","wp-seopress-pro"),description:(0,e.createElement)(e.Fragment,null,(0,s.__)("Display an HTML breadcrumbs.","wp-seopress-pro"),(0,e.createElement)("div",{className:"block-editor-inspector-controls-tabs__hint",style:{margin:"16px 0"}},(0,e.createElement)("div",{className:"block-editor-inspector-controls-tabs__hint-content",style:{margin:"12px"}},(0,s.__)("This is an example of breadcrumbs. View your site as a simple visitor to get the final rendering.","wp-seopress-pro")))),keywords:[(0,s.__)("ariane","wp-seopress-pro"),(0,s.__)("breadcrumbs","wp-seopress-pro"),(0,s.__)("crumbs","wp-seopress-pro"),(0,s.__)("navigation","wp-seopress-pro")],edit:function({attributes:r,setAttributes:i}){const{inlineStyles:n,homeOption:p}=r,l=[p,(0,a.select)("core/editor").getEditedPostAttribute("title")||(0,s.__)("Example title","wp-seopress-pro")];return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{...(0,o.useBlockProps)()},(0,e.createElement)(t.RawHTML,null,n),l&&(0,e.createElement)("ol",{className:"wpseopress-breadcrumb breadcrumb"},l.map(((s,r)=>(0,e.createElement)("li",{key:r,className:"wpseopress-breadcrumb-item breadcrumb-item",dangerouslySetInnerHTML:{__html:s}}))))))},save:()=>null})})();