(()=>{"use strict";const e=window.qf.blocks;function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,n,r){return(n=function(e){var n=function(e){if("object"!=t(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}const r=window.qf.rendererCore,o=window.wp.i18n;function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const l={counterIcon:()=>{const{attributes:e}=(0,r.__experimentalUseFieldRenderContext)(),{quotationMarks:t}=e,n=(0,r.useBlockTheme)(e.themeId);let i={position:"absolute",left:"-20px",top:"-8px"};return(0,o.isRTL)()&&(i={position:"absolute",right:"-20px",top:"-8px"}),React.createElement(React.Fragment,null,t&&React.createElement("div",{className:"quote-icon",style:c({},i)},React.createElement("svg",{strokeWidth:"0",viewBox:"0 0 14 16",xmlns:"http://www.w3.org/2000/svg",style:{fill:n.questionsColor,width:"15px"}},React.createElement("path",{fillRule:"evenodd",d:"M6.16 3.5C3.73 5.06 2.55 6.67 2.55 9.36c.16-.05.3-.05.44-.05 1.27 0 2.5.86 2.5 2.41 0 1.61-1.03 2.61-2.5 2.61-1.9 0-2.99-1.52-2.99-4.25 0-3.8 1.75-6.53 5.02-8.42L6.16 3.5zm7 0c-2.43 1.56-3.61 3.17-3.61 5.86.16-.05.3-.05.44-.05 1.27 0 2.5.86 2.5 2.41 0 1.61-1.03 2.61-2.5 2.61-1.89 0-2.98-1.52-2.98-4.25 0-3.8 1.75-6.53 5.02-8.42l1.14 1.84h-.01z"}))))},nextBtn:({onClick:e})=>{const{attributes:t}=(0,r.__experimentalUseFieldRenderContext)(),n=(0,r.useBlockTheme)(t.themeId);return React.createElement(r.Button,{tabIndex:0,onKeyDown:t=>{"Enter"===t.key&&e()},onClick:e,theme:n},t.buttonText)}},{name:u}={name:"statement",supports:{editable:!1,required:!0,attachment:!0,description:!0,logic:!0,theme:!0},attributes:{buttonText:{type:"string",default:"Continue"},quotationMarks:{type:"boolean",default:!0}}};(0,e.setBlockRendererSettings)(u,l),(window.qf=window.qf||{}).blocklibStatementBlockRenderer={}})();