!function(){"use strict";var e,t,r,o,n,i,s={7005:function(e,t,r){var o=r(1609),n=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};t.jsx=function(e,t,r){var o,c={},p=null,u=null;for(o in void 0!==r&&(p=""+r),void 0!==t.key&&(p=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,o)&&!a.hasOwnProperty(o)&&(c[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===c[o]&&(c[o]=t[o]);return{$$typeof:n,type:e,key:p,ref:u,props:c,_owner:s.current}}},9255:function(e,t,r){e.exports=r(7005)},1609:function(e){e.exports=window.React}},a={};e=window.wp.blocks,t=window.wp.primitives,r=function e(t){var r=a[t];if(void 0!==r)return r.exports;var o=a[t]={exports:{}};return s[t](o,o.exports,e),o.exports}(9255),o=(0,r.jsx)(t.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,r.jsx)(t.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})}),n=window.wp.blockEditor,i=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"surecart/product-review-confirmation-template","title":"Confirmation","description":"Template for the review confirmation content. Shown when editing the confirmation.","version":"1.0.0","category":"surecart-product-page","parent":["surecart/product-review-form"],"usesContext":["surecart/editingView"],"supports":{"inserter":false,"html":false,"spacing":{"margin":true,"padding":true,"blockGap":true},"typography":{"fontSize":true,"lineHeight":true},"__experimentalLayout":{"default":{"type":"constrained"}}},"textdomain":"surecart","editorScript":"file:./index.js"}'),(0,e.registerBlockType)(i,{icon:o,edit:function(e){let{context:t}=e;const r="confirmation"===(t["surecart/editingView"]||"form"),o=(0,n.useBlockProps)({style:{display:r?"block":"none"}}),i=(0,n.useInnerBlocksProps)(o);return React.createElement("div",i)},save:function(){const e=n.useBlockProps.save(),t=n.useInnerBlocksProps.save(e);return React.createElement("div",t)}})}();