AlkantarClanX12
Current Path : /home/thanudqk/thepball.com/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : /home/thanudqk/thepball.com/wp-content/plugins/wordpress-seo/js/dist/structured-data-blocks-1550.js |
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[19],{0:function(e,t){e.exports=window.lodash},138:function(e,t){e.exports=window.wp.isShallowEqual},2:function(e,t,n){e.exports=n(24)()},225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),o=n(4);t.default=function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,o.Component),s(n,[{key:"render",value:function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(e,this.props)," ")}}]),n}()}},227:function(e,t){e.exports=window.wp.blocks},24:function(e,t,n){"use strict";var s=n(25),o=n(26),r=n(27);e.exports=function(){function e(e,t,n,s,i,a){a!==r&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=s,n.PropTypes=n,n}},25:function(e,t,n){"use strict";function s(e){return function(){return e}}var o=function(){};o.thatReturns=s,o.thatReturnsFalse=s(!1),o.thatReturnsTrue=s(!0),o.thatReturnsNull=s(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},26:function(e,t,n){"use strict";var s=function(e){};e.exports=function(e,t,n,o,r,i,a,u){if(s(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,r,i,a,u],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},27:function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3:function(e,t){e.exports=window.wp.i18n},341:function(e,t){e.exports=window.wp.a11y},342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(e){var t=e.days,n=e.hours,o=e.minutes,r=[];0!==t&&r.push((0,s.sprintf)((0,s._n)("%d day","%d days",t,"wordpress-seo"),t));0!==n&&r.push((0,s.sprintf)((0,s._n)("%d hour","%d hours",n,"wordpress-seo"),n));0!==o&&r.push((0,s.sprintf)((0,s._n)("%d minute","%d minutes",o,"wordpress-seo"),o));return r}({days:r(e.days),hours:r(e.hours),minutes:r(e.minutes)});if(1===t.length)return t[0];if(2===t.length)return s.sprintf.apply(void 0,[(0,s.__)("%s and %s","wordpress-seo")].concat(o(t)));if(3===t.length)return s.sprintf.apply(void 0,[(0,s.__)("%s, %s and %s","wordpress-seo")].concat(o(t)));return""};var s=n(3);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseInt(e,10)||t}},4:function(e,t){e.exports=window.wp.element},631:function(e,t,n){"use strict";var s=r(n(632)),o=r(n(639));function r(e){return e&&e.__esModule?e:{default:e}}(0,s.default)(),(0,o.default)()},632:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),o=n(227),r=a(n(633)),i=a(n(636));function a(e){return e&&e.__esModule?e:{default:e}}var u={hasDuration:{type:"boolean"},days:{type:"string"},hours:{type:"string"},minutes:{type:"string"},description:{type:"array",source:"children",selector:".schema-how-to-description"},jsonDescription:{type:"string"},steps:{type:"array"},additionalListCssClasses:{type:"string"},unorderedList:{type:"boolean"},durationText:{type:"string"},defaultDurationText:{type:"string"}};t.default=function(){(0,o.registerBlockType)("yoast/how-to-block",{title:(0,s.__)("Yoast How-to","wordpress-seo"),description:(0,s.__)("Create a How-to guide in an SEO-friendly way. You can only use one How-to block per post.","wordpress-seo"),icon:"editor-ol",category:"yoast-structured-data-blocks",keywords:[(0,s.__)("How-to","wordpress-seo"),(0,s.__)("How to","wordpress-seo"),(0,s.__)("Schema","wordpress-seo"),(0,s.__)("SEO","wordpress-seo"),(0,s.__)("Structured Data","wordpress-seo-premium")],example:{attributes:{steps:[{id:r.default.generateId("how-to-step"),name:[],text:[]},{id:r.default.generateId("how-to-step"),name:[],text:[]}]}},supports:{multiple:!1},attributes:u,edit:function(e){var t=e.attributes,n=e.setAttributes,s=e.className;return t.steps&&0!==t.steps.length||(t.steps=[{id:r.default.generateId("how-to-step"),name:[],text:[]}]),wp.element.createElement(r.default,{attributes:t,setAttributes:n,className:s})},save:function(e){var t=e.attributes;return wp.element.createElement(r.default.Content,t)},deprecated:[{attributes:u,save:i.default.v11_4},{attributes:u,save:i.default.v8_2}]})}},633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],s=!0,o=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(s=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);s=!0);}catch(e){o=!0,r=e}finally{try{!s&&a.return&&a.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),i=f(n(2)),a=f(n(8)),u=n(3),l=n(341),c=n(0),p=f(n(634)),d=f(n(635)),m=f(n(225));function f(e){return e&&e.__esModule?e:{default:e}}var h=window.wp.editor,w=h.RichText,v=h.InspectorControls,y=window.wp.components,b=y.IconButton,g=y.PanelBody,_=y.TextControl,k=y.ToggleControl,E=window.wp.element,C=E.Component,S=E.renderToString,q=E.createRef,x=(0,m.default)(w.Content),N=(0,a.default)(_).withConfig({displayName:"HowTo__SpacedTextControl",componentId:"sc-1reihu1-0"})(["&&&{margin-bottom:32px;}"]),T=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.state={focus:""},n.changeStep=n.changeStep.bind(n),n.insertStep=n.insertStep.bind(n),n.removeStep=n.removeStep.bind(n),n.swapSteps=n.swapSteps.bind(n),n.setFocus=n.setFocus.bind(n),n.addCSSClasses=n.addCSSClasses.bind(n),n.getListTypeHelp=n.getListTypeHelp.bind(n),n.toggleListType=n.toggleListType.bind(n),n.setDurationText=n.setDurationText.bind(n),n.setFocusToStep=n.setFocusToStep.bind(n),n.moveStepUp=n.moveStepUp.bind(n),n.moveStepDown=n.moveStepDown.bind(n),n.focusDescription=n.focusDescription.bind(n),n.addDuration=n.addDuration.bind(n),n.removeDuration=n.removeDuration.bind(n),n.onChangeDescription=n.onChangeDescription.bind(n),n.onChangeDays=n.onChangeDays.bind(n),n.onChangeHours=n.onChangeHours.bind(n),n.onChangeMinutes=n.onChangeMinutes.bind(n),n.onAddStepButtonClick=n.onAddStepButtonClick.bind(n),n.daysInput=q(),n.addDurationButton=q();var s=n.getDefaultDurationText();return n.setDefaultDurationText(s),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,C),r(t,[{key:"getDefaultDurationText",value:function(){var e=(0,c.get)(window,"wp.hooks.applyFilters"),t=(0,u.__)("Time needed:","wordpress-seo");return e&&(t=e("wpseo_duration_text",t)),t}},{key:"setDurationText",value:function(e){this.props.setAttributes({durationText:e})}},{key:"setDefaultDurationText",value:function(e){this.props.setAttributes({defaultDurationText:e})}},{key:"onAddStepButtonClick",value:function(){this.insertStep(null,[],[],!1)}},{key:"changeStep",value:function(e,t,n,s,o){var r=this.props.attributes.steps?this.props.attributes.steps.slice():[];if(!(o>=r.length)&&r[o].name===n&&r[o].text===s){r[o]={id:r[o].id,name:e,text:t,jsonName:S(e),jsonText:S(t)};var i=p.default.getImageSrc(t);i&&(r[o].jsonImageSrc=i),this.props.setAttributes({steps:r})}}},{key:"insertStep",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.props.attributes.steps?this.props.attributes.steps.slice():[];null===e&&(e=r.length-1),r.splice(e+1,0,{id:t.generateId("how-to-step"),name:n,text:s,jsonName:"",jsonText:""}),this.props.setAttributes({steps:r}),o?setTimeout(this.setFocus.bind(this,e+1+":name")):(0,l.speak)((0,u.__)("New step added","wordpress-seo"))}},{key:"swapSteps",value:function(e,t){var n=this.props.attributes.steps?this.props.attributes.steps.slice():[],s=n[e];n[e]=n[t],n[t]=s,this.props.setAttributes({steps:n});var r=this.state.focus.split(":"),i=o(r,2),a=i[0],u=i[1];a===""+e&&this.setFocus(t+":"+u),a===""+t&&this.setFocus(e+":"+u)}},{key:"removeStep",value:function(e){var t=this.props.attributes.steps?this.props.attributes.steps.slice():[];t.splice(e,1),this.props.setAttributes({steps:t});var n="description";t[e]?n=e+":name":t[e-1]&&(n=e-1+":text"),this.setFocus(n)}},{key:"setFocus",value:function(e){e!==this.state.focus&&this.setState({focus:e})}},{key:"setFocusToStep",value:function(e,t){this.setFocus(e+":"+t)}},{key:"moveStepUp",value:function(e){this.swapSteps(e,e-1)}},{key:"moveStepDown",value:function(e){this.swapSteps(e,e+1)}},{key:"getSteps",value:function(){var e=this;if(!this.props.attributes.steps)return null;var t=this.state.focus.split(":"),n=o(t,2),s=n[0],r=n[1];return this.props.attributes.steps.map(function(t,n){return wp.element.createElement(p.default,{key:t.id,step:t,index:n,onChange:e.changeStep,insertStep:e.insertStep,removeStep:e.removeStep,onFocus:e.setFocusToStep,subElement:r,onMoveUp:e.moveStepUp,onMoveDown:e.moveStepDown,isFirst:0===n,isLast:n===e.props.attributes.steps.length-1,isSelected:s===""+n,isUnorderedList:e.props.attributes.unorderedList})})}},{key:"formatDuration",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(""===e)return"";var n=e.replace(/^[0]+/,"");return""===n?0:null!==t?Math.min(Math.max(0,parseInt(n,10)),t):Math.max(0,parseInt(n,10))}},{key:"getAddStepButton",value:function(){return wp.element.createElement(b,{icon:"insert",onClick:this.onAddStepButtonClick,className:"schema-how-to-add-step"},(0,u.__)("Add step","wordpress-seo"))}},{key:"addCSSClasses",value:function(e){this.props.setAttributes({additionalListCssClasses:e})}},{key:"toggleListType",value:function(e){this.props.setAttributes({unorderedList:e})}},{key:"getListTypeHelp",value:function(e){return e?(0,u.__)("Showing step items as an unordered list","wordpress-seo"):(0,u.__)("Showing step items as an ordered list.","wordpress-seo")}},{key:"focusDescription",value:function(){this.setFocus("description")}},{key:"onChangeDescription",value:function(e){this.props.setAttributes({description:e,jsonDescription:S(e)})}},{key:"addDuration",value:function(){var e=this;this.props.setAttributes({hasDuration:!0}),setTimeout(function(){return e.daysInput.current.focus()})}},{key:"removeDuration",value:function(){var e=this;this.props.setAttributes({hasDuration:!1}),setTimeout(function(){e.addDurationButton.current instanceof C||e.addDurationButton.current.focus()})}},{key:"onChangeDays",value:function(e){var t=this.formatDuration(e.target.value);this.props.setAttributes({days:(0,c.toString)(t)})}},{key:"onChangeHours",value:function(e){var t=this.formatDuration(e.target.value,23);this.props.setAttributes({hours:(0,c.toString)(t)})}},{key:"onChangeMinutes",value:function(e){var t=this.formatDuration(e.target.value,59);this.props.setAttributes({minutes:(0,c.toString)(t)})}},{key:"getDuration",value:function(){var e=this.props.attributes;return e.hasDuration?wp.element.createElement("fieldset",{className:"schema-how-to-duration"},wp.element.createElement("span",{className:"schema-how-to-duration-flex-container",role:"presentation"},wp.element.createElement("legend",{className:"schema-how-to-duration-legend"},e.durationText||this.getDefaultDurationText()),wp.element.createElement("span",{className:"schema-how-to-duration-time-input"},wp.element.createElement("label",{htmlFor:"schema-how-to-duration-days",className:"screen-reader-text"},(0,u.__)("days","wordpress-seo")),wp.element.createElement("input",{id:"schema-how-to-duration-days",className:"schema-how-to-duration-input",type:"number",value:e.days,onChange:this.onChangeDays,placeholder:"DD",ref:this.daysInput}),wp.element.createElement("label",{htmlFor:"schema-how-to-duration-hours",className:"screen-reader-text"},(0,u.__)("hours","wordpress-seo")),wp.element.createElement("input",{id:"schema-how-to-duration-hours",className:"schema-how-to-duration-input",type:"number",value:e.hours,onChange:this.onChangeHours,placeholder:"HH"}),wp.element.createElement("span",{"aria-hidden":"true"},":"),wp.element.createElement("label",{htmlFor:"schema-how-to-duration-minutes",className:"screen-reader-text"},(0,u.__)("minutes","wordpress-seo")),wp.element.createElement("input",{id:"schema-how-to-duration-minutes",className:"schema-how-to-duration-input",type:"number",value:e.minutes,onChange:this.onChangeMinutes,placeholder:"MM"}),wp.element.createElement(b,{className:"schema-how-to-duration-delete-button",icon:"trash",label:(0,u.__)("Delete total time","wordpress-seo"),onClick:this.removeDuration})))):wp.element.createElement(b,{onClick:this.addDuration,className:"schema-how-to-duration-button",ref:this.addDurationButton,icon:"insert"},(0,u.__)("Add total time","wordpress-seo"))}},{key:"getSidebar",value:function(e,t,n){return n===this.getDefaultDurationText()&&(n=""),wp.element.createElement(v,null,wp.element.createElement(g,{title:(0,u.__)("Settings","wordpress-seo"),className:"blocks-font-size"},wp.element.createElement(N,{label:(0,u.__)("CSS class(es) to apply to the steps","wordpress-seo"),value:t,onChange:this.addCSSClasses,help:(0,u.__)("Optional. This can give you better control over the styling of the steps.","wordpress-seo")}),wp.element.createElement(N,{label:(0,u.__)("Describe the duration of the instruction:","wordpress-seo"),value:n,onChange:this.setDurationText,help:(0,u.__)("Optional. Customize how you want to describe the duration of the instruction","wordpress-seo"),placeholder:this.getDefaultDurationText()}),wp.element.createElement(k,{label:(0,u.__)("Unordered list","wordpress-seo"),checked:e||!1,onChange:this.toggleListType,help:this.getListTypeHelp})))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=["schema-how-to",e.className].filter(function(e){return e}).join(" "),s=["schema-how-to-steps",t.additionalListCssClasses].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:n},this.getDuration(),wp.element.createElement(w,{tagName:"p",className:"schema-how-to-description",value:t.description,isSelected:"description"===this.state.focus,unstableOnFocus:this.focusDescription,onChange:this.onChangeDescription,placeholder:(0,u.__)("Enter a description","wordpress-seo"),keepPlaceholderOnFocus:!0}),wp.element.createElement("ul",{className:s},this.getSteps()),wp.element.createElement("div",{className:"schema-how-to-buttons"},this.getAddStepButton()),this.getSidebar(t.unorderedList,t.additionalListCssClasses,t.durationText))}}],[{key:"generateId",value:function(e){return e+"-"+(new Date).getTime()}},{key:"getStepsContent",value:function(e){return e?e.map(function(e){return wp.element.createElement(p.default.Content,s({},e,{key:e.id}))}):null}},{key:"Content",value:function(e){var n=e.steps,s=e.hasDuration,o=e.days,r=e.hours,i=e.minutes,a=e.description,u=e.unorderedList,l=e.additionalListCssClasses,c=e.className,p=e.durationText,m=e.defaultDurationText,f=["schema-how-to",c].filter(function(e){return e}).join(" "),h=["schema-how-to-steps",l].filter(function(e){return e}).join(" "),w=(0,d.default)({days:o,hours:r,minutes:i});return wp.element.createElement("div",{className:f},s&&"string"==typeof w&&w.length>0&&wp.element.createElement("p",{className:"schema-how-to-total-time"},wp.element.createElement("span",{className:"schema-how-to-duration-time-text"},p||m," "),w+". "),wp.element.createElement(x,{tagName:"p",className:"schema-how-to-description",value:a}),u?wp.element.createElement("ul",{className:h},t.getStepsContent(n)):wp.element.createElement("ol",{className:h},t.getStepsContent(n)))}}]),t}();t.default=T,T.propTypes={attributes:i.default.object.isRequired,setAttributes:i.default.func.isRequired,className:i.default.string},T.defaultProps={className:""}},634:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),o=u(n(2)),r=n(3),i=u(n(225)),a=n(138);function u(e){return e&&e.__esModule?e:{default:e}}var l=window.wp.element.Component,c=window.wp.components.IconButton,p=window.wp.editor,d=p.RichText,m=p.MediaUpload,f=(0,i.default)(d),h=(0,i.default)(d.Content),w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSelectImage=n.onSelectImage.bind(n),n.onInsertStep=n.onInsertStep.bind(n),n.onRemoveStep=n.onRemoveStep.bind(n),n.onMoveStepUp=n.onMoveStepUp.bind(n),n.onMoveStepDown=n.onMoveStepDown.bind(n),n.onFocusText=n.onFocusText.bind(n),n.onFocusTitle=n.onFocusTitle.bind(n),n.onChangeTitle=n.onChangeTitle.bind(n),n.onChangeText=n.onChangeText.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),s(t,[{key:"onInsertStep",value:function(){this.props.insertStep(this.props.index)}},{key:"onRemoveStep",value:function(){this.props.removeStep(this.props.index)}},{key:"onMoveStepUp",value:function(){this.props.isFirst||this.props.onMoveUp(this.props.index)}},{key:"onMoveStepDown",value:function(){this.props.isLast||this.props.onMoveDown(this.props.index)}},{key:"onFocusTitle",value:function(){this.props.onFocus(this.props.index,"name")}},{key:"onFocusText",value:function(){this.props.onFocus(this.props.index,"text")}},{key:"onChangeTitle",value:function(e){var t=this.props,n=t.onChange,s=t.index,o=t.step,r=o.text;n(e,r,o.name,r,s)}},{key:"onChangeText",value:function(e){var t=this.props,n=t.onChange,s=t.index,o=t.step,r=o.text,i=o.name;n(i,e,i,r,s)}},{key:"getMediaUploadButton",value:function(e){return wp.element.createElement(c,{className:"schema-how-to-step-button how-to-step-add-media",icon:"insert",onClick:e.open},(0,r.__)("Add image","wordpress-seo"))}},{key:"getButtons",value:function(){var e=this.props.step;return wp.element.createElement("div",{className:"schema-how-to-step-button-container"},!t.getImageSrc(e.text)&&wp.element.createElement(m,{onSelect:this.onSelectImage,allowedTypes:["image"],value:e.id,render:this.getMediaUploadButton}),wp.element.createElement(c,{className:"schema-how-to-step-button",icon:"trash",label:(0,r.__)("Delete step","wordpress-seo"),onClick:this.onRemoveStep}),wp.element.createElement(c,{className:"schema-how-to-step-button",icon:"insert",label:(0,r.__)("Insert step","wordpress-seo"),onClick:this.onInsertStep}))}},{key:"getMover",value:function(){return wp.element.createElement("div",{className:"schema-how-to-step-mover"},wp.element.createElement(c,{className:"editor-block-mover__control",onClick:this.onMoveStepUp,icon:"arrow-up-alt2",label:(0,r.__)("Move step up","wordpress-seo"),"aria-disabled":this.props.isFirst}),wp.element.createElement(c,{className:"editor-block-mover__control",onClick:this.onMoveStepDown,icon:"arrow-down-alt2",label:(0,r.__)("Move step down","wordpress-seo"),"aria-disabled":this.props.isLast}))}},{key:"onSelectImage",value:function(e){var t=this.props,n=t.index,s=t.step,o=s.name,r=s.text,i=r.slice(),a=wp.element.createElement("img",{key:e.id,alt:e.alt,src:e.url});i.push?i.push(a):i=[i,a],this.props.onChange(o,i,o,r,n)}},{key:"shouldComponentUpdate",value:function(e){return!(0,a.isShallowEqualObjects)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.index,n=e.step,s=e.isSelected,o=e.subElement,i=e.isUnorderedList,a=n.id,u=n.name,l=n.text;return wp.element.createElement("li",{className:"schema-how-to-step",key:a},wp.element.createElement("span",{className:"schema-how-to-step-number"},i?"•":t+1+"."),wp.element.createElement(f,{className:"schema-how-to-step-name",tagName:"p",key:a+"-name",value:u,onChange:this.onChangeTitle,isSelected:s&&"name"===o,placeholder:(0,r.__)("Enter a step title","wordpress-seo"),unstableOnFocus:this.onFocusTitle,keepPlaceholderOnFocus:!0,formattingControls:["italic","strikethrough","link"]}),wp.element.createElement(f,{className:"schema-how-to-step-text",tagName:"p",key:a+"-text",value:l,onChange:this.onChangeText,isSelected:s&&"text"===o,placeholder:(0,r.__)("Enter a step description","wordpress-seo"),unstableOnFocus:this.onFocusText,keepPlaceholderOnFocus:!0}),s&&wp.element.createElement("div",{className:"schema-how-to-step-controls-container"},this.getMover(),this.getButtons()))}}],[{key:"getImageSrc",value:function(e){if(!e||!e.filter)return!1;var t=e.filter(function(e){return e&&e.type&&"img"===e.type})[0];return!!t&&t.props.src}},{key:"Content",value:function(e){return wp.element.createElement("li",{className:"schema-how-to-step",id:e.id,key:e.id},wp.element.createElement(h,{tagName:"strong",className:"schema-how-to-step-name",key:e.id+"-name",value:e.name}),wp.element.createElement(h,{tagName:"p",className:"schema-how-to-step-text",key:e.id+"-text",value:e.text}))}}]),t}();t.default=w,w.propTypes={index:o.default.number.isRequired,step:o.default.object.isRequired,onChange:o.default.func.isRequired,insertStep:o.default.func.isRequired,removeStep:o.default.func.isRequired,onFocus:o.default.func.isRequired,onMoveUp:o.default.func.isRequired,onMoveDown:o.default.func.isRequired,subElement:o.default.string,isSelected:o.default.bool.isRequired,isFirst:o.default.bool.isRequired,isLast:o.default.bool.isRequired,isUnorderedList:o.default.bool},w.defaultProps={isUnorderedList:!1,subElement:""}},635:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(e){var t=e.days,n=e.hours,o=e.minutes,r=[];0!==t&&r.push((0,s.sprintf)((0,s._n)("%d day","%d days",t,"wordpress-seo"),t));0!==n&&r.push((0,s.sprintf)((0,s._n)("%d hour","%d hours",n,"wordpress-seo"),n));0!==o&&r.push((0,s.sprintf)((0,s._n)("%d minute","%d minutes",o,"wordpress-seo"),o));return r}({days:r(e.days),hours:r(e.hours),minutes:r(e.minutes)});if(1===t.length)return t[0];if(2===t.length)return s.sprintf.apply(void 0,[(0,s.__)("%s and %s","wordpress-seo")].concat(o(t)));if(3===t.length)return s.sprintf.apply(void 0,[(0,s.__)("%s, %s and %s","wordpress-seo")].concat(o(t)));return""};var s=n(3);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return parseInt(e,10)||t}},636:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=r(n(637)),o=r(n(638));function r(e){return e&&e.__esModule?e:{default:e}}t.default={v8_2:s.default,v11_4:o.default}},637:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e};t.default=l;var o=n(3),r=a(n(2)),i=a(n(342));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return wp.element.createElement("li",{className:"schema-how-to-step",key:e.id},wp.element.createElement("strong",{className:"schema-how-to-step-name",key:e.id+"-name"},e.name)," ",wp.element.createElement("p",{className:"schema-how-to-step-text",key:e.id+"-text"},e.text)," ")};function l(e){var t=e.attributes.steps,n=e.attributes,r=n.hasDuration,a=n.days,l=n.hours,c=n.minutes,p=n.description,d=n.unorderedList,m=n.additionalListCssClasses,f=n.className;t=t?t.map(function(e){return wp.element.createElement(u,s({},e,{key:e.id}))}):null;var h=["schema-how-to",f].filter(function(e){return e}).join(" "),w=["schema-how-to-steps",m].filter(function(e){return e}).join(" "),v=(0,i.default)({days:a,hours:l,minutes:c});return wp.element.createElement("div",{className:h},r&&"string"==typeof v&&v.length>0&&wp.element.createElement("p",{className:"schema-how-to-total-time"},(0,o.__)("Time needed:","wordpress-seo")," ",v+". "),wp.element.createElement("p",{className:"schema-how-to-description"},p)," ",d?wp.element.createElement("ul",{className:w},t):wp.element.createElement("ol",{className:w},t))}l.propTypes={attributes:r.default.object}},638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e};t.default=u;var o=i(n(2)),r=i(n(342));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return wp.element.createElement("li",{className:"schema-how-to-step",key:e.id},wp.element.createElement("strong",{className:"schema-how-to-step-name",key:e.id+"-name"},e.name)," ",wp.element.createElement("p",{className:"schema-how-to-step-text",key:e.id+"-text"},e.text)," ")}function u(e){var t=e.attributes,n=t.steps,o=t.hasDuration,i=t.days,u=t.hours,l=t.minutes,c=t.description,p=t.unorderedList,d=t.additionalListCssClasses,m=t.className,f=t.durationText,h=t.defaultDurationText,w=["schema-how-to",m].filter(function(e){return e}).join(" "),v=["schema-how-to-steps",d].filter(function(e){return e}).join(" "),y=(0,r.default)({days:i,hours:u,minutes:l}),b=n.map(function(e){return wp.element.createElement(a,s({},e,{key:e.id}))});return wp.element.createElement("div",{className:w},o&&"string"==typeof y&&y.length>0&&wp.element.createElement("p",{className:"schema-how-to-total-time"},wp.element.createElement("span",{className:"schema-how-to-duration-time-text"},f||h," "),y+". "),wp.element.createElement("p",{className:"schema-how-to-description"},c)," ",p?wp.element.createElement("ul",{className:v},b):wp.element.createElement("ol",{className:v},b))}u.propTypes={attributes:o.default.object.isRequired}},639:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=n(3),o=n(227),r=a(n(640)),i=a(n(642));function a(e){return e&&e.__esModule?e:{default:e}}var u={questions:{type:"array"},additionalListCssClasses:{type:"string"}};t.default=function(){(0,o.registerBlockType)("yoast/faq-block",{title:(0,s.__)("Yoast FAQ","wordpress-seo"),description:(0,s.__)("List your Frequently Asked Questions in an SEO-friendly way. You can only use one FAQ block per post.","wordpress-seo"),icon:"editor-ul",category:"yoast-structured-data-blocks",keywords:[(0,s.__)("FAQ","wordpress-seo"),(0,s.__)("Frequently Asked Questions","wordpress-seo"),(0,s.__)("Schema","wordpress-seo"),(0,s.__)("SEO","wordpress-seo"),(0,s.__)("Structured Data","wordpress-seo-premium")],example:{attributes:{questions:[{id:r.default.generateId("faq-question"),question:[],answer:[]},{id:r.default.generateId("faq-question"),question:[],answer:[]},{id:r.default.generateId("faq-question"),question:[],answer:[]}]}},supports:{multiple:!1},attributes:u,edit:function(e){var t=e.attributes,n=e.setAttributes,s=e.className;return t.questions&&0!==t.questions.length||(t.questions=[{id:r.default.generateId("faq-question"),question:[],answer:[]}]),wp.element.createElement(r.default,{attributes:t,setAttributes:n,className:s})},save:function(e){var t=e.attributes;return wp.element.createElement(r.default.Content,t)},deprecated:[{attributes:u,save:i.default.v13_1}]})}},640:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],s=!0,o=!1,r=void 0;try{for(var i,a=e[Symbol.iterator]();!(s=(i=a.next()).done)&&(n.push(i.value),!t||n.length!==t);s=!0);}catch(e){o=!0,r=e}finally{try{!s&&a.return&&a.return()}finally{if(o)throw r}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),i=p(n(2)),a=n(3),u=n(341),l=p(n(641)),c=p(n(225));function p(e){return e&&e.__esModule?e:{default:e}}var d=window.wp.components.IconButton,m=window.wp.element,f=m.Component,h=m.renderToString,w=(0,c.default)(l.default.Content),v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={focus:""},n.changeQuestion=n.changeQuestion.bind(n),n.insertQuestion=n.insertQuestion.bind(n),n.removeQuestion=n.removeQuestion.bind(n),n.swapQuestions=n.swapQuestions.bind(n),n.moveQuestionDown=n.moveQuestionDown.bind(n),n.moveQuestionUp=n.moveQuestionUp.bind(n),n.setFocus=n.setFocus.bind(n),n.onAddQuestionButtonClick=n.onAddQuestionButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,f),r(t,[{key:"onAddQuestionButtonClick",value:function(){this.insertQuestion(null,[],[],!1)}},{key:"changeQuestion",value:function(e,t,n,s,o){var r=this.props.attributes.questions?this.props.attributes.questions.slice():[];if(!(o>=r.length)&&r[o].question===n&&r[o].answer===s){r[o]={id:r[o].id,question:e,answer:t,jsonQuestion:h(e),jsonAnswer:h(t)};var i=l.default.getImageSrc(t);i&&(r[o].jsonImageSrc=i),this.props.setAttributes({questions:r})}}},{key:"insertQuestion",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=this.props.attributes.questions?this.props.attributes.questions.slice():[];null===e&&(e=r.length-1),r.splice(e+1,0,{id:t.generateId("faq-question"),question:n,answer:s,jsonQuestion:"",jsonAnswer:""}),this.props.setAttributes({questions:r}),o?setTimeout(this.setFocus.bind(this,"question",e)):(0,u.speak)((0,a.__)("New question added","wordpress-seo"))}},{key:"swapQuestions",value:function(e,t){var n=this.props.attributes.questions?this.props.attributes.questions.slice():[],s=n[e];n[e]=n[t],n[t]=s,this.props.setAttributes({questions:n});var r=this.state.focus.split(":"),i=o(r,2),a=i[0],u=i[1];a===""+e?this.setFocus(u,t):a===""+t&&this.setFocus(u,e)}},{key:"moveQuestionUp",value:function(e){this.swapQuestions(e,e-1)}},{key:"moveQuestionDown",value:function(e){this.swapQuestions(e,e+1)}},{key:"removeQuestion",value:function(e){var t=this.props.attributes.questions?this.props.attributes.questions.slice():[];t.splice(e,1),this.props.setAttributes({questions:t});var n=0;t[e]?n=e:t[e-1]&&(n=e-1),this.setFocus("question",n)}},{key:"setFocus",value:function(e,t){var n=t+":"+e;n!==this.state.focus&&this.setState({focus:n})}},{key:"getAddQuestionButton",value:function(){return wp.element.createElement(d,{icon:"insert",onClick:this.onAddQuestionButtonClick,className:"schema-faq-add-question"},(0,a.__)("Add question","wordpress-seo"))}},{key:"getQuestions",value:function(){var e=this,t=this.props.attributes;if(!t.questions)return null;var n=this.state.focus.split(":"),s=o(n,2),r=s[0],i=s[1];return t.questions.map(function(n,s){return wp.element.createElement(l.default,{index:s,key:n.id,attributes:n,insertQuestion:e.insertQuestion,removeQuestion:e.removeQuestion,onChange:e.changeQuestion,onFocus:e.setFocus,isSelected:r===""+s,subElement:i,onMoveUp:e.moveQuestionUp,onMoveDown:e.moveQuestionDown,isFirst:0===s,isLast:s===t.questions.length-1})})}},{key:"render",value:function(){var e=["schema-faq",this.props.className].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:e},wp.element.createElement("div",null,this.getQuestions()),wp.element.createElement("div",{className:"schema-faq-buttons"},this.getAddQuestionButton()))}}],[{key:"generateId",value:function(e){return e+"-"+(new Date).getTime()}},{key:"Content",value:function(e){var t=e.questions,n=e.className,o=t?t.map(function(e,t){return wp.element.createElement(w,s({key:t},e))}):null,r=["schema-faq",n].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:r},o)}}]),t}();t.default=v,v.propTypes={attributes:i.default.object.isRequired,setAttributes:i.default.func.isRequired,className:i.default.string},v.defaultProps={className:""}},641:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}return function(t,n,s){return n&&e(t.prototype,n),s&&e(t,s),t}}(),o=u(n(2)),r=n(3),i=n(138),a=u(n(225));function u(e){return e&&e.__esModule?e:{default:e}}var l=window.wp.element.Component,c=window.wp.components.IconButton,p=window.wp.editor,d=p.RichText,m=p.MediaUpload,f=(0,a.default)(d.Content),h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onSelectImage=n.onSelectImage.bind(n),n.onFocusAnswer=n.onFocusAnswer.bind(n),n.onFocusQuestion=n.onFocusQuestion.bind(n),n.onChangeAnswer=n.onChangeAnswer.bind(n),n.onChangeQuestion=n.onChangeQuestion.bind(n),n.onInsertQuestion=n.onInsertQuestion.bind(n),n.onRemoveQuestion=n.onRemoveQuestion.bind(n),n.onMoveDown=n.onMoveDown.bind(n),n.onMoveUp=n.onMoveUp.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l),s(t,[{key:"getMediaUploadButton",value:function(e){return wp.element.createElement(c,{className:"schema-faq-section-button faq-section-add-media",icon:"insert",onClick:e.open},(0,r.__)("Add image","wordpress-seo"))}},{key:"onFocusQuestion",value:function(){this.props.onFocus("question",this.props.index)}},{key:"onFocusAnswer",value:function(){this.props.onFocus("answer",this.props.index)}},{key:"onChangeQuestion",value:function(e){var t=this.props,n=t.index,s=t.onChange,o=t.attributes,r=o.answer;s(e,r,o.question,r,n)}},{key:"onChangeAnswer",value:function(e){var t=this.props,n=t.index,s=t.onChange,o=t.attributes,r=o.answer,i=o.question;s(i,e,i,r,n)}},{key:"onInsertQuestion",value:function(){this.props.insertQuestion(this.props.index)}},{key:"onRemoveQuestion",value:function(){this.props.removeQuestion(this.props.index)}},{key:"onMoveUp",value:function(){this.props.isFirst||this.props.onMoveUp(this.props.index)}},{key:"onMoveDown",value:function(){this.props.isLast||this.props.onMoveDown(this.props.index)}},{key:"getButtons",value:function(){var e=this.props.attributes;return wp.element.createElement("div",{className:"schema-faq-section-button-container"},wp.element.createElement(m,{onSelect:this.onSelectImage,allowedTypes:["image"],value:e.id,render:this.getMediaUploadButton}),wp.element.createElement(c,{className:"schema-faq-section-button",icon:"trash",label:(0,r.__)("Delete question","wordpress-seo"),onClick:this.onRemoveQuestion}),wp.element.createElement(c,{className:"schema-faq-section-button",icon:"insert",label:(0,r.__)("Insert question","wordpress-seo"),onClick:this.onInsertQuestion}))}},{key:"getMover",value:function(){return wp.element.createElement("div",{className:"schema-faq-section-mover"},wp.element.createElement(c,{className:"editor-block-mover__control",onClick:this.onMoveUp,icon:"arrow-up-alt2",label:(0,r.__)("Move question up","wordpress-seo"),"aria-disabled":this.props.isFirst}),wp.element.createElement(c,{className:"editor-block-mover__control",onClick:this.onMoveDown,icon:"arrow-down-alt2",label:(0,r.__)("Move question down","wordpress-seo"),"aria-disabled":this.props.isLast}))}},{key:"onSelectImage",value:function(e){var t=this.props,n=t.attributes,s=n.answer,o=n.question,r=t.index,i=s.slice(),a=wp.element.createElement("img",{key:e.id,alt:e.alt,src:e.url});i.push?i.push(a):i=[i,a],this.props.onChange(o,i,o,s,r)}},{key:"shouldComponentUpdate",value:function(e){return!(0,i.isShallowEqualObjects)(e,this.props)}},{key:"render",value:function(){var e=this.props,t=e.subElement,n=e.attributes,s=e.isSelected,o=n.id,i=n.question,a=n.answer;return wp.element.createElement("div",{className:"schema-faq-section",key:o},wp.element.createElement(d,{className:"schema-faq-question",tagName:"p",key:o+"-question",value:i,onChange:this.onChangeQuestion,isSelected:s&&"question"===t,unstableOnFocus:this.onFocusQuestion,placeholder:(0,r.__)("Enter a question","wordpress-seo"),keepPlaceholderOnFocus:!0,formattingControls:["italic","strikethrough","link"]}),wp.element.createElement(d,{className:"schema-faq-answer",tagName:"p",key:o+"-answer",value:a,onChange:this.onChangeAnswer,isSelected:s&&"answer"===t,unstableOnFocus:this.onFocusAnswer,placeholder:(0,r.__)("Enter the answer to the question","wordpress-seo"),keepPlaceholderOnFocus:!0}),s&&wp.element.createElement("div",{className:"schema-faq-section-controls-container"},this.getMover(),this.getButtons()))}}],[{key:"getImageSrc",value:function(e){if(!e||!e.filter)return!1;var t=e.filter(function(e){return e&&e.type&&"img"===e.type})[0];return!!t&&t.props.src}},{key:"Content",value:function(e){return wp.element.createElement("div",{className:"schema-faq-section",id:e.id,key:e.id},wp.element.createElement(f,{tagName:"strong",className:"schema-faq-question",key:e.id+"-question",value:e.question}),wp.element.createElement(f,{tagName:"p",className:"schema-faq-answer",key:e.id+"-answer",value:e.answer}))}}]),t}();t.default=h,h.propTypes={index:o.default.number.isRequired,attributes:o.default.object.isRequired,onChange:o.default.func.isRequired,insertQuestion:o.default.func.isRequired,removeQuestion:o.default.func.isRequired,onFocus:o.default.func.isRequired,onMoveUp:o.default.func.isRequired,onMoveDown:o.default.func.isRequired,subElement:o.default.string,isSelected:o.default.bool.isRequired,isFirst:o.default.bool.isRequired,isLast:o.default.bool.isRequired},h.defaultProps={subElement:""}},642:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(n(643));t.default={v13_1:s.default}},643:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e};t.default=l;var o=i(n(2)),r=i(n(225));function i(e){return e&&e.__esModule?e:{default:e}}var a=window.wp.editor.RichText;function u(e){var t=(0,r.default)(a.Content);return wp.element.createElement("div",{className:"schema-faq-section",key:e.id},wp.element.createElement(t,{tagName:"strong",className:"schema-faq-question",key:e.id+"-question",value:e.question}),wp.element.createElement(t,{tagName:"p",className:"schema-faq-answer",key:e.id+"-answer",value:e.answer}))}function l(e){var t=e.attributes,n=t.questions,o=t.className,i=(0,r.default)(u),a=n?n.map(function(e,t){return wp.element.createElement(i,s({key:t},e))}):null,l=["schema-faq",o].filter(function(e){return e}).join(" ");return wp.element.createElement("div",{className:l},a)}l.propTypes={attributes:o.default.object.isRequired}},8:function(e,t){e.exports=window.yoast.styledComponents}},[[631,0]]]);