laipower/wp-content/plugins/gp-premium/dist/block-elements.js

3 lines
184 KiB
JavaScript

!function(){var e={184:function(e,t){var n;!function(){"use strict";var a={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===r){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)a.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},70:function(e){e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(a,o,function(t){return e[t]}.bind(null,o));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){function a(e){return(a="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})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var r=n(1),i=n(7),l=i.get,c=(i.deepValue,i.isArray),p=function(){function e(t,n){var a=n.location,o=void 0===a?0:a,r=n.distance,i=void 0===r?100:r,c=n.threshold,p=void 0===c?.6:c,s=n.maxPatternLength,d=void 0===s?32:s,g=n.caseSensitive,u=void 0!==g&&g,m=n.tokenSeparator,b=void 0===m?/ +/g:m,h=n.findAllMatches,f=void 0!==h&&h,y=n.minMatchCharLength,x=void 0===y?1:y,v=n.id,_=void 0===v?null:v,k=n.keys,w=void 0===k?[]:k,T=n.shouldSort,C=void 0===T||T,D=n.getFn,S=void 0===D?l:D,I=n.sortFn,R=void 0===I?function(e,t){return e.score-t.score}:I,L=n.tokenize,B=void 0!==L&&L,E=n.matchAllTokens,O=void 0!==E&&E,P=n.includeMatches,M=void 0!==P&&P,z=n.includeScore,q=void 0!==z&&z,j=n.verbose,A=void 0!==j&&j;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:o,distance:i,threshold:p,maxPatternLength:d,isCaseSensitive:u,tokenSeparator:b,findAllMatches:f,minMatchCharLength:x,id:_,keys:w,includeMatches:M,includeScore:q,shouldSort:C,getFn:S,sortFn:R,verbose:A,tokenize:B,matchAllTokens:O},this.setCollection(t),this._processKeys(w)}var t,n;return t=e,(n=[{key:"setCollection",value:function(e){return this.list=e,e}},{key:"_processKeys",value:function(e){if(this._keyWeights={},this._keyNames=[],e.length&&"string"==typeof e[0])for(var t=0,n=e.length;t<n;t+=1){var a=e[t];this._keyWeights[a]=1,this._keyNames.push(a)}else{for(var o=null,r=null,i=0,l=0,c=e.length;l<c;l+=1){var p=e[l];if(!p.hasOwnProperty("name"))throw new Error('Missing "name" property in key object');var s=p.name;if(this._keyNames.push(s),!p.hasOwnProperty("weight"))throw new Error('Missing "weight" property in key object');var d=p.weight;if(d<0||d>1)throw new Error('"weight" property in key must bein the range of [0, 1)');r=null==r?d:Math.max(r,d),o=null==o?d:Math.min(o,d),this._keyWeights[s]=d,i+=d}if(i>1)throw new Error("Total of weights cannot exceed 1")}}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:!1};this._log('---------\nSearch pattern: "'.concat(e,'"'));var n=this._prepareSearchers(e),a=n.tokenSearchers,o=n.fullSearcher,r=this._search(a,o);return this._computeScore(r),this.options.shouldSort&&this._sort(r),t.limit&&"number"==typeof t.limit&&(r=r.slice(0,t.limit)),this._format(r)}},{key:"_prepareSearchers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=[];if(this.options.tokenize)for(var n=e.split(this.options.tokenSeparator),a=0,o=n.length;a<o;a+=1)t.push(new r(n[a],this.options));return{tokenSearchers:t,fullSearcher:new r(e,this.options)}}},{key:"_search",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=this.list,a={},o=[];if("string"==typeof n[0]){for(var r=0,i=n.length;r<i;r+=1)this._analyze({key:"",value:n[r],record:r,index:r},{resultMap:a,results:o,tokenSearchers:e,fullSearcher:t});return o}for(var l=0,c=n.length;l<c;l+=1)for(var p=n[l],s=0,d=this._keyNames.length;s<d;s+=1){var g=this._keyNames[s];this._analyze({key:g,value:this.options.getFn(p,g),record:p,index:l},{resultMap:a,results:o,tokenSearchers:e,fullSearcher:t})}return o}},{key:"_analyze",value:function(e,t){var n=this,a=e.key,o=e.arrayIndex,r=void 0===o?-1:o,i=e.value,l=e.record,p=e.index,s=t.tokenSearchers,d=void 0===s?[]:s,g=t.fullSearcher,u=t.resultMap,m=void 0===u?{}:u,b=t.results,h=void 0===b?[]:b;!function e(t,o,r,i){if(null!=o)if("string"==typeof o){var l=!1,p=-1,s=0;n._log("\nKey: ".concat(""===a?"--":a));var u=g.search(o);if(n._log('Full text: "'.concat(o,'", score: ').concat(u.score)),n.options.tokenize){for(var b=o.split(n.options.tokenSeparator),f=b.length,y=[],x=0,v=d.length;x<v;x+=1){var _=d[x];n._log('\nPattern: "'.concat(_.pattern,'"'));for(var k=!1,w=0;w<f;w+=1){var T=b[w],C=_.search(T),D={};C.isMatch?(D[T]=C.score,l=!0,k=!0,y.push(C.score)):(D[T]=1,n.options.matchAllTokens||y.push(1)),n._log('Token: "'.concat(T,'", score: ').concat(D[T]))}k&&(s+=1)}p=y[0];for(var S=y.length,I=1;I<S;I+=1)p+=y[I];p/=S,n._log("Token score average:",p)}var R=u.score;p>-1&&(R=(R+p)/2),n._log("Score average:",R);var L=!n.options.tokenize||!n.options.matchAllTokens||s>=d.length;if(n._log("\nCheck Matches: ".concat(L)),(l||u.isMatch)&&L){var B={key:a,arrayIndex:t,value:o,score:R};n.options.includeMatches&&(B.matchedIndices=u.matchedIndices);var E=m[i];E?E.output.push(B):(m[i]={item:r,output:[B]},h.push(m[i]))}}else if(c(o))for(var O=0,P=o.length;O<P;O+=1)e(O,o[O],r,i)}(r,i,l,p)}},{key:"_computeScore",value:function(e){this._log("\n\nComputing score:\n");for(var t=this._keyWeights,n=!!Object.keys(t).length,a=0,o=e.length;a<o;a+=1){for(var r=e[a],i=r.output,l=i.length,c=1,p=0;p<l;p+=1){var s=i[p],d=s.key,g=n?t[d]:1,u=0===s.score&&t&&t[d]>0?Number.EPSILON:s.score;c*=Math.pow(u,g)}r.score=c,this._log(r)}}},{key:"_sort",value:function(e){this._log("\n\nSorting...."),e.sort(this.options.sortFn)}},{key:"_format",value:function(e){var t=[];if(this.options.verbose){var n=[];this._log("\n\nOutput:\n\n",JSON.stringify(e,(function(e,t){if("object"===a(t)&&null!==t){if(-1!==n.indexOf(t))return;n.push(t)}return t}),2)),n=null}var o=[];this.options.includeMatches&&o.push((function(e,t){var n=e.output;t.matches=[];for(var a=0,o=n.length;a<o;a+=1){var r=n[a];if(0!==r.matchedIndices.length){var i={indices:r.matchedIndices,value:r.value};r.key&&(i.key=r.key),r.hasOwnProperty("arrayIndex")&&r.arrayIndex>-1&&(i.arrayIndex=r.arrayIndex),t.matches.push(i)}}})),this.options.includeScore&&o.push((function(e,t){t.score=e.score}));for(var r=0,i=e.length;r<i;r+=1){var l=e[r];if(this.options.id&&(l.item=this.options.getFn(l.item,this.options.id)[0]),o.length){for(var c={item:l.item},p=0,s=o.length;p<s;p+=1)o[p](l,c);t.push(c)}else t.push(l.item)}return t}},{key:"_log",value:function(){var e;this.options.verbose&&(e=console).log.apply(e,arguments)}}])&&o(t.prototype,n),e}();e.exports=p},function(e,t,n){function a(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}var o=n(2),r=n(3),i=n(6),l=function(){function e(t,n){var a=n.location,o=void 0===a?0:a,r=n.distance,l=void 0===r?100:r,c=n.threshold,p=void 0===c?.6:c,s=n.maxPatternLength,d=void 0===s?32:s,g=n.isCaseSensitive,u=void 0!==g&&g,m=n.tokenSeparator,b=void 0===m?/ +/g:m,h=n.findAllMatches,f=void 0!==h&&h,y=n.minMatchCharLength,x=void 0===y?1:y,v=n.includeMatches,_=void 0!==v&&v;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options={location:o,distance:l,threshold:p,maxPatternLength:d,isCaseSensitive:u,tokenSeparator:b,findAllMatches:f,includeMatches:_,minMatchCharLength:x},this.pattern=u?t:t.toLowerCase(),this.pattern.length<=d&&(this.patternAlphabet=i(this.pattern))}var t,n;return t=e,(n=[{key:"search",value:function(e){var t=this.options,n=t.isCaseSensitive,a=t.includeMatches;if(n||(e=e.toLowerCase()),this.pattern===e){var i={isMatch:!0,score:0};return a&&(i.matchedIndices=[[0,e.length-1]]),i}var l=this.options,c=l.maxPatternLength,p=l.tokenSeparator;if(this.pattern.length>c)return o(e,this.pattern,p);var s=this.options,d=s.location,g=s.distance,u=s.threshold,m=s.findAllMatches,b=s.minMatchCharLength;return r(e,this.pattern,this.patternAlphabet,{location:d,distance:g,threshold:u,findAllMatches:m,minMatchCharLength:b,includeMatches:a})}}])&&a(t.prototype,n),e}();e.exports=l},function(e,t){var n=/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g;e.exports=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/ +/g,o=new RegExp(t.replace(n,"\\$&").replace(a,"|")),r=e.match(o),i=!!r,l=[];if(i)for(var c=0,p=r.length;c<p;c+=1){var s=r[c];l.push([e.indexOf(s),s.length-1])}return{score:i?.5:1,isMatch:i,matchedIndices:l}}},function(e,t,n){var a=n(4),o=n(5);e.exports=function(e,t,n,r){for(var i=r.location,l=void 0===i?0:i,c=r.distance,p=void 0===c?100:c,s=r.threshold,d=void 0===s?.6:s,g=r.findAllMatches,u=void 0!==g&&g,m=r.minMatchCharLength,b=void 0===m?1:m,h=r.includeMatches,f=void 0!==h&&h,y=l,x=e.length,v=d,_=e.indexOf(t,y),k=t.length,w=[],T=0;T<x;T+=1)w[T]=0;if(-1!==_){var C=a(t,{errors:0,currentLocation:_,expectedLocation:y,distance:p});if(v=Math.min(C,v),-1!==(_=e.lastIndexOf(t,y+k))){var D=a(t,{errors:0,currentLocation:_,expectedLocation:y,distance:p});v=Math.min(D,v)}}_=-1;for(var S=[],I=1,R=k+x,L=1<<(k<=31?k-1:30),B=0;B<k;B+=1){for(var E=0,O=R;E<O;)a(t,{errors:B,currentLocation:y+O,expectedLocation:y,distance:p})<=v?E=O:R=O,O=Math.floor((R-E)/2+E);R=O;var P=Math.max(1,y-O+1),M=u?x:Math.min(y+O,x)+k,z=Array(M+2);z[M+1]=(1<<B)-1;for(var q=M;q>=P;q-=1){var j=q-1,A=n[e.charAt(j)];if(A&&(w[j]=1),z[q]=(z[q+1]<<1|1)&A,0!==B&&(z[q]|=(S[q+1]|S[q])<<1|1|S[q+1]),z[q]&L&&(I=a(t,{errors:B,currentLocation:j,expectedLocation:y,distance:p}))<=v){if(v=I,(_=j)<=y)break;P=Math.max(1,2*y-_)}}if(a(t,{errors:B+1,currentLocation:y,expectedLocation:y,distance:p})>v)break;S=z}var H={isMatch:_>=0,score:0===I?.001:I};return f&&(H.matchedIndices=o(w,b)),H}},function(e,t){e.exports=function(e,t){var n=t.errors,a=void 0===n?0:n,o=t.currentLocation,r=void 0===o?0:o,i=t.expectedLocation,l=void 0===i?0:i,c=t.distance,p=void 0===c?100:c,s=a/e.length,d=Math.abs(l-r);return p?s+d/p:d?1:s}},function(e,t){e.exports=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[],a=-1,o=-1,r=0,i=e.length;r<i;r+=1){var l=e[r];l&&-1===a?a=r:l||-1===a||((o=r-1)-a+1>=t&&n.push([a,o]),a=-1)}return e[r-1]&&r-a>=t&&n.push([a,r-1]),n}},function(e,t){e.exports=function(e){for(var t={},n=e.length,a=0;a<n;a+=1)t[e.charAt(a)]=0;for(var o=0;o<n;o+=1)t[e.charAt(o)]|=1<<n-o-1;return t}},function(e,t){var n=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},a=function(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)},o=function(e){return"string"==typeof e},r=function(e){return"number"==typeof e};e.exports={get:function(e,t){var i=[];return function e(t,l){if(l){var c=l.indexOf("."),p=l,s=null;-1!==c&&(p=l.slice(0,c),s=l.slice(c+1));var d=t[p];if(null!=d)if(s||!o(d)&&!r(d))if(n(d))for(var g=0,u=d.length;g<u;g+=1)e(d[g],s);else s&&e(d,s);else i.push(a(d))}else i.push(t)}(e,t),i},isArray:n,isString:o,isNum:r,toString:a}}])},703:function(e,t,n){"use strict";var a=n(414);function o(){}function r(){}r.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,r,i){if(i!==a){var l=new Error("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");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:r,resetWarningCache:o};return n.PropTypes=n,n}},697:function(e,t,n){e.exports=n(703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},216:function(e,t,n){"use strict";var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),o=n(196),r=d(o),i=d(n(697)),l=n(81),c=d(n(315)),p=d(n(282)),s=d(n(821));function d(e){return e&&e.__esModule?e:{default:e}}var g="data-lazyload-listened",u=[],m=[],b=!1;try{var h=Object.defineProperty({},"passive",{get:function(){b=!0}});window.addEventListener("test",null,h)}catch(e){}var f=!!b&&{capture:!1,passive:!0},y=function(e){var t=e.ref;if(t instanceof HTMLElement){var n=(0,c.default)(t),a=e.props.overflow&&n!==t.ownerDocument&&n!==document&&n!==document.documentElement?function(e,t){var n=e.ref,a=void 0,o=void 0,r=void 0,i=void 0;try{var l=t.getBoundingClientRect();a=l.top,o=l.left,r=l.height,i=l.width}catch(e){a=0,o=0,r=0,i=0}var c=window.innerHeight||document.documentElement.clientHeight,p=window.innerWidth||document.documentElement.clientWidth,s=Math.max(a,0),d=Math.max(o,0),g=Math.min(c,a+r)-s,u=Math.min(p,o+i)-d,m=void 0,b=void 0,h=void 0,f=void 0;try{var y=n.getBoundingClientRect();m=y.top,b=y.left,h=y.height,f=y.width}catch(e){m=0,b=0,h=0,f=0}var x=m-s,v=b-d,_=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return x-_[0]<=g&&x+h+_[1]>=0&&v-_[0]<=u&&v+f+_[1]>=0}(e,n):function(e){var t=e.ref;if(!(t.offsetWidth||t.offsetHeight||t.getClientRects().length))return!1;var n=void 0,a=void 0;try{var o=t.getBoundingClientRect();n=o.top,a=o.height}catch(e){n=0,a=0}var r=window.innerHeight||document.documentElement.clientHeight,i=Array.isArray(e.props.offset)?e.props.offset:[e.props.offset,e.props.offset];return n-i[0]<=r&&n+a+i[1]>=0}(e);a?e.visible||(e.props.once&&m.push(e),e.visible=!0,e.forceUpdate()):e.props.once&&e.visible||(e.visible=!1,e.props.unmountIfInvisible&&e.forceUpdate())}},x=function(){for(var e=0;e<u.length;++e){var t=u[e];y(t)}m.forEach((function(e){var t=u.indexOf(e);-1!==t&&u.splice(t,1)})),m=[]},v=void 0,_=null,k=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.visible=!1,n.setRef=n.setRef.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,e),a(t,[{key:"componentDidMount",value:function(){var e=window,t=this.props.scrollContainer;t&&"string"==typeof t&&(e=e.document.querySelector(t));var n=void 0!==this.props.debounce&&"throttle"===v||"debounce"===v&&void 0===this.props.debounce;if(n&&((0,l.off)(e,"scroll",_,f),(0,l.off)(window,"resize",_,f),_=null),_||(void 0!==this.props.debounce?(_=(0,p.default)(x,"number"==typeof this.props.debounce?this.props.debounce:300),v="debounce"):void 0!==this.props.throttle?(_=(0,s.default)(x,"number"==typeof this.props.throttle?this.props.throttle:300),v="throttle"):_=x),this.props.overflow){var a=(0,c.default)(this.ref);if(a&&"function"==typeof a.getAttribute){var o=+a.getAttribute(g)+1;1===o&&a.addEventListener("scroll",_,f),a.setAttribute(g,o)}}else if(0===u.length||n){var r=this.props,i=r.scroll,d=r.resize;i&&(0,l.on)(e,"scroll",_,f),d&&(0,l.on)(window,"resize",_,f)}u.push(this),y(this)}},{key:"shouldComponentUpdate",value:function(){return this.visible}},{key:"componentWillUnmount",value:function(){if(this.props.overflow){var e=(0,c.default)(this.ref);if(e&&"function"==typeof e.getAttribute){var t=+e.getAttribute(g)-1;0===t?(e.removeEventListener("scroll",_,f),e.removeAttribute(g)):e.setAttribute(g,t)}}var n=u.indexOf(this);-1!==n&&u.splice(n,1),0===u.length&&"undefined"!=typeof window&&((0,l.off)(window,"resize",_,f),(0,l.off)(window,"scroll",_,f))}},{key:"setRef",value:function(e){e&&(this.ref=e)}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.children,a=e.placeholder,o=e.className,i=e.classNamePrefix,l=e.style;return r.default.createElement("div",{className:i+"-wrapper "+o,ref:this.setRef,style:l},this.visible?n:a||r.default.createElement("div",{style:{height:t},className:i+"-placeholder"}))}}]),t}(o.Component);k.propTypes={className:i.default.string,classNamePrefix:i.default.string,once:i.default.bool,height:i.default.oneOfType([i.default.number,i.default.string]),offset:i.default.oneOfType([i.default.number,i.default.arrayOf(i.default.number)]),overflow:i.default.bool,resize:i.default.bool,scroll:i.default.bool,children:i.default.node,throttle:i.default.oneOfType([i.default.number,i.default.bool]),debounce:i.default.oneOfType([i.default.number,i.default.bool]),placeholder:i.default.node,scrollContainer:i.default.oneOfType([i.default.string,i.default.object]),unmountIfInvisible:i.default.bool,style:i.default.object},k.defaultProps={className:"",classNamePrefix:"lazyload",once:!1,offset:0,overflow:!1,resize:!1,scroll:!0,unmountIfInvisible:!1},t.ZP=k},282:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=void 0,o=void 0,r=void 0,i=void 0,l=void 0,c=function c(){var p=+new Date-i;p<t&&p>=0?a=setTimeout(c,t-p):(a=null,n||(l=e.apply(r,o),a||(r=null,o=null)))};return function(){r=this,o=arguments,i=+new Date;var p=n&&!a;return a||(a=setTimeout(c,t)),p&&(l=e.apply(r,o),r=null,o=null),l}}},81:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.on=function(e,t,n,a){a=a||!1,e.addEventListener?e.addEventListener(t,n,a):e.attachEvent&&e.attachEvent("on"+t,(function(t){n.call(e,t||window.event)}))},t.off=function(e,t,n,a){a=a||!1,e.removeEventListener?e.removeEventListener(t,n,a):e.detachEvent&&e.detachEvent("on"+t,n)}},315:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!(e instanceof HTMLElement))return document.documentElement;for(var t="absolute"===e.style.position,n=/(scroll|auto)/,a=e;a;){if(!a.parentNode)return e.ownerDocument||document.documentElement;var o=window.getComputedStyle(a),r=o.position,i=o.overflow,l=o["overflow-x"],c=o["overflow-y"];if("static"===r&&t)a=a.parentNode;else{if(n.test(i)&&n.test(l)&&n.test(c))return a;a=a.parentNode}}return e.ownerDocument||e.documentElement||document.documentElement}},821:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a,o;return t||(t=250),function(){var r=n||this,i=+new Date,l=arguments;a&&i<a+t?(clearTimeout(o),o=setTimeout((function(){a=i,e.apply(r,l)}),t)):(a=i,e.apply(r,l))}}},196:function(e){"use strict";e.exports=window.React}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a].call(r.exports,r,r.exports,n),r.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";function e(t){return e="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},e(t)}function t(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var o=a.call(t,"string");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(n)?n:String(n)}function a(e,n,a){return(n=t(n))in e?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}var o=window.wp.element;function r(e,t,n){return void 0===e[t]&&(e[t]=[]),e[t].push(n),e}function i(e){return"generatepress"===e?(0,o.createElement)("svg",{width:"20",height:"20",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 600",preserveAspectRatio:"none"},(0,o.createElement)("path",{d:"M485.2 427.8l-99.1-46.2 15.8-34c5.6-11.9 8.8-24.3 10-36.7 3.3-33.7-9-67.3-33.2-91.1-8.9-8.7-19.3-16.1-31.3-21.7-11.9-5.6-24.3-8.8-36.7-10-33.7-3.3-67.4 9-91.1 33.2-8.7 8.9-16.1 19.3-21.7 31.3l-15.8 34-30.4 65.2c-.7 1.5-.1 3.3 1.5 4l65.2 30.4 34 15.8 34 15.8 68 31.7 74.7 34.8c-65 45.4-152.1 55.2-228.7 17.4C90.2 447.4 44.1 313.3 97.3 202.6c53.3-110.8 186-158.5 297.8-106.3 88.1 41.1 137.1 131.9 129.1 223.4-.1 1.3.6 2.4 1.7 3l65.6 30.6c1.8.8 3.9-.3 4.2-2.2 22.6-130.7-44-265.4-170.5-323.5-150.3-69-327-4.1-396.9 145.8-70 150.1-5.1 328.5 145.1 398.5 114.1 53.2 244.5 28.4 331.3-52.3 17.9-16.6 33.9-35.6 47.5-56.8 1-1.5.4-3.6-1.3-4.3l-65.7-30.7zm-235-109.6l15.8-34c8.8-18.8 31.1-26.9 49.8-18.1s26.9 31 18.1 49.8l-15.8 34-34-15.8-33.9-15.9z"})):"dynamic"===e?(0,o.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 256 256"},(0,o.createElement)("path",{d:"M128 26c-52.71 0-94 23.72-94 54v96c0 30.28 41.29 54 94 54s94-23.72 94-54V80c0-30.28-41.29-54-94-54zm0 12c44.449 0 82 19.233 82 42s-37.551 42-82 42-82-19.233-82-42 37.551-42 82-42zm82 138c0 22.767-37.551 42-82 42s-82-19.233-82-42v-21.21C61.97 171.163 92.374 182 128 182s66.03-10.837 82-27.21zm0-48c0 22.767-37.551 42-82 42s-82-19.233-82-42v-21.21C61.97 123.163 92.374 134 128 134s66.03-10.837 82-27.21z",fill:"currentColor"})):"tools"===e?(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},(0,o.createElement)("path",{d:"M14.7 6.3a1 1 0 000 1.4l1.6 1.6a1 1 0 001.4 0l3.77-3.77a6 6 0 01-7.94 7.94l-6.91 6.91a2.12 2.12 0 01-3-3l6.91-6.91a6 6 0 017.94-7.94l-3.76 3.76z"})):"sliders"===e?(0,o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",viewBox:"0 0 24 24"},(0,o.createElement)("path",{d:"M4 21v-7M4 10V3M12 21v-9M12 8V3M20 21v-5M20 12V3M1 14h6M9 8h6M17 16h6"})):void 0}var l=window.wp.i18n,c=window.wp.hooks,p=window.wp.components,s=window.wp.compose,d=window.wp.blockEditor;function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=["generateblocks/container"];function b(e){var t=function(){var t="Desktop";return void 0!==e.deviceType&&e.deviceType&&(t=e.deviceType),t},n=e.attributes,a=e.setAttributes,r=e.showInlineOptions,i=void 0!==r&&r,c=n.gpInlinePostMeta,s=n.gpInlinePostMetaJustify,d=n.gpInlinePostMetaJustifyTablet,g=n.gpInlinePostMetaJustifyMobile,u=n.gpRemoveContainerCondition,m=n.gpRemoveContainerConditionPostMeta,b=n.gpAdjacentPostInSameTerm,h=n.gpAdjacentPostInSameTermTax,f=wp.data.select("core/editor").getEditedPostAttribute("meta"),y=[{label:(0,l.__)("Choose…","gp-premium"),value:"self"},{label:(0,l.__)("No featured image","gp-premium"),value:"no-featured-image"},{label:(0,l.__)("No post meta","gp-premium"),value:"no-post-meta"}];return"post-navigation-template"===f._generate_block_type&&(y.push({label:(0,l.__)("No next post","gp-premium"),value:"no-next-post"}),y.push({label:(0,l.__)("No previous post","gp-premium"),value:"no-previous-post"})),gpPremiumBlockElements.isBlockElement?(0,o.createElement)(o.Fragment,null,!!i&&"Desktop"===t()&&(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("Inline post meta items","gp-premium"),checked:!!c,onChange:function(e){a({gpInlinePostMeta:e})}}),!!i&&!!c&&(0,o.createElement)(o.Fragment,null,"Desktop"===t()&&(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Inline alignment","gp-premium"),value:s,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Left","gp-premium"),value:"flex-start"},{label:(0,l.__)("Center","gp-premium"),value:"center"},{label:(0,l.__)("Right","gp-premium"),value:"flex-end"},{label:(0,l.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){a({gpInlinePostMetaJustify:e})}}),"Tablet"===t()&&(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Inline alignment","gp-premium"),value:d,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Left","gp-premium"),value:"flex-start"},{label:(0,l.__)("Center","gp-premium"),value:"center"},{label:(0,l.__)("Right","gp-premium"),value:"flex-end"},{label:(0,l.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){a({gpInlinePostMetaJustifyTablet:e})}}),"Mobile"===t()&&(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Inline alignment","gp-premium"),value:g,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Left","gp-premium"),value:"flex-start"},{label:(0,l.__)("Center","gp-premium"),value:"center"},{label:(0,l.__)("Right","gp-premium"),value:"flex-end"},{label:(0,l.__)("Space between","gp-premium"),value:"space-between"}],onChange:function(e){a({gpInlinePostMetaJustifyMobile:e})}})),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Remove container condition","gp-premium"),value:u,options:y,onChange:function(e){a({gpRemoveContainerCondition:e})}}),"no-post-meta"===u&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Meta field name","gp-premium"),type:"text",value:m,onChange:function(e){a({gpRemoveContainerConditionPostMeta:e})}}),("no-next-post"===u||"no-previous-post"===u)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("In same term","gp-premium"),help:(0,l.__)("Check for posts with the same term as the current post.","gp-premium"),checked:!!b,onChange:function(e){a({gpAdjacentPostInSameTerm:e})}}),!!b&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Taxonomy","gp-premium"),help:(0,l.__)("The taxonomy to check if in the same term.","gp-premium"),type:"text",value:h,onChange:function(e){a({gpAdjacentPostInSameTermTax:e})}})))):null}var h=(0,s.createHigherOrderComponent)((function(e){return function(t){var n=t.name,a=t.attributes,r=t.isSelected,c=t.setAttributes,s=a.gpDynamicImageBg,g=a.gpDynamicImageCustomField,b=a.gpUseFallbackImageBg,h=a.bgImage,f=a.gpDynamicLinkType,y=a.gpDynamicLinkCustomField,x=a.gpDynamicSource,v=a.gpDynamicSourceInSameTerm,_=a.gpDynamicSourceInSameTermTaxonomy,k=wp.data.select("core/editor").getEditedPostAttribute("meta"),w=!!s||!!f;return"post-navigation-template"!==k._generate_block_type&&(w=!1),"next-posts"!==f&&"previous-posts"!==f||(w=!1),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(e,u({},t)),r&&m.includes(n)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.BlockControls,null,(0,o.createElement)(p.ToolbarGroup,null,(0,o.createElement)(p.Dropdown,{contentClassName:"gpp-dynamic-container-bg-dropdown",popoverProps:{className:"block-editor-block-settings-menu__popover",position:"bottom right"},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return(0,o.createElement)(p.ToolbarButton,{icon:i("dynamic"),label:(0,l.__)("Dynamic options","gp-premium"),onClick:n,"aria-expanded":t,isPressed:!!s||!!f})},renderContent:function(){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Dynamic Background Image","gp-premium"),value:s,options:[{label:(0,l.__)("None","gp-premium"),value:""},{label:(0,l.__)("Featured image","gp-premium"),value:"featured-image"},{label:(0,l.__)("Post meta","gp-premium"),value:"post-meta"},{label:(0,l.__)("Term meta","gp-premium"),value:"term-meta"},{label:(0,l.__)("User meta","gp-premium"),value:"user-meta"}],onChange:function(e){c({gpDynamicImageBg:e})},disabled:!h,help:h?"":(0,l.__)("Add a background image to this Container to make it dynamic.","gp-premium")}),("post-meta"===s||"term-meta"===s||"user-meta"===s)&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Meta field name","gp-premium"),value:g,onChange:function(e){c({gpDynamicImageCustomField:e})}}),""!==s&&(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("Use fallback image","gp-premium"),checked:!!b,onChange:function(e){c({gpUseFallbackImageBg:e})}})),gpPremiumBlockElements.isGenerateBlocksProActive&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.BaseControl,{className:"gpp-button-dynamic-link-area"},(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Dynamic Link","gp-premium"),value:f,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Post","gp-premium"),value:"post"},{label:(0,l.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){c(e?{gpDynamicLinkType:e,url:"#"}:{gpDynamicLinkType:e,url:""})}}),"post-meta"===f&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Meta field name","gp-premium"),type:"text",value:y,onChange:function(e){c({gpDynamicLinkCustomField:e})}}))),w&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Source","gp-premium"),value:x,options:[{label:(0,l.__)("Current post","gp-premium"),value:"current-post"},{label:(0,l.__)("Next post","gp-premium"),value:"next-post"},{label:(0,l.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){c({gpDynamicSource:e})}}),("next-post"===x||"previous-post"===x)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("In same term","gp-premium"),help:(0,l.__)("Check for posts with the same term as the current post.","gp-premium"),checked:!!v,onChange:function(e){c({gpDynamicSourceInSameTerm:e})}}),!!v&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Taxonomy","gp-premium"),help:(0,l.__)("The taxonomy to check if in the same term.","gp-premium"),type:"text",value:_,onChange:function(e){c({gpDynamicSourceInSameTermTaxonomy:e})}}))))}})))))}}),"addDynamicContainerBgToolbar");function f(e,t,n){if(!["container"].includes(n))return e;var a=(0,c.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),o=a.uniqueId,i=a.gpInlinePostMeta,l=a.gpInlinePostMetaJustify,p=a.gpInlinePostMetaJustifyTablet,s=a.gpInlinePostMetaJustifyMobile,d=a.useInnerContainer,g=".gb-container-"+o+".inline-post-meta-area > .gb-inside-container > .block-editor-inner-blocks > .block-editor-block-list__layout";return void 0!==d&&(g=d?".gb-container-"+o+".inline-post-meta-area > .gb-inside-container":".gb-container-"+o+".inline-post-meta-area"),i&&(r(e,g,{"justify-content":l}),"generateblocks.editor.tabletCSS"===(0,c.currentFilter)()&&r(e,g,{"justify-content":p}),"generateblocks.editor.mobileCSS"===(0,c.currentFilter)()&&r(e,g,{"justify-content":s})),e}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function x(e){return function(e){if(Array.isArray(e))return y(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,n){for(var a=0;a<n.length;a++){var o=n[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,t(o.key),o)}}function k(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function C(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}function D(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return w(t)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}(0,c.addFilter)("blocks.registerBlockType","gp-premium/dynamic-container/add-attributes",(function(e){return m.includes(e.name)?(void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{gpDynamicImageBg:{type:"string",default:""},gpUseFallbackImageBg:{type:"boolean",default:!1},gpDynamicImageCustomField:{type:"string",default:""},gpInlinePostMeta:{type:"boolean",default:!1},gpInlinePostMetaJustify:{type:"string",default:""},gpInlinePostMetaJustifyTablet:{type:"string",default:""},gpInlinePostMetaJustifyMobile:{type:"string",default:""},gpDynamicLinkType:{type:"string",default:""},gpDynamicLinkCustomField:{type:"string",default:""},gpDynamicSource:{type:"string",default:"current-post"},gpRemoveContainerCondition:{type:"string",default:""},gpRemoveContainerConditionPostMeta:{type:"string",default:""},gpAdjacentPostInSameTerm:{type:"boolean",default:!1},gpAdjacentPostInSameTermTax:{type:"string",default:"category"},gpDynamicSourceInSameTerm:{type:"boolean",default:!1},gpDynamicSourceInSameTermTaxonomy:{type:"string",default:"category"}})),e):e})),(0,c.addFilter)("generateblocks.editor.controls","gp-premium/dynamic-container/add-container-controls",(function(e,t,n){return"containerLayout"!==t&&"containerGridLayout"!==t?e:(0,o.createElement)(o.Fragment,null,(0,o.createElement)(b,u(u({},n),{},{showInlineOptions:!0})),e)})),(0,c.addFilter)("generateblocks.editor.settingsPanel","gp-premium/dynamic-container/add-container-controls",(function(e,t){return"generateblocks/container"!==t.name||t.attributes.useInnerContainer?e:(0,o.createElement)(o.Fragment,null,e,(0,o.createElement)(b,u({},t)))})),(0,c.addFilter)("editor.BlockEdit","gp-premium/dynamic-container/toolbar",h),(0,c.addFilter)("generateblocks.frontend.htmlAttributes","gp-premium/dynamic-container/add-html-attributes",(function(e,t,n){return"generateblocks/container"!==t||n.gpInlinePostMeta&&(e=Object.assign(e,{className:e.className+" inline-post-meta-area"})),e})),(0,c.addFilter)("generateblocks.editor.mainCSS","gp-premium/dynamic-container/add-main-css",f),(0,c.addFilter)("generateblocks.editor.tabletCSS","gp-premium/dynamic-container/add-tablet-css",f),(0,c.addFilter)("generateblocks.editor.mobileCSS","gp-premium/dynamic-container/add-mobile-css",f);var I=function(e){C(o,e);var t,n,a=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=S(t);if(n){var o=S(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return D(this,e)});function o(){var e;return v(this,o),(e=a.apply(this,arguments)).wrapElement=e.wrapElement.bind(w(e)),e}return k(o,[{key:"componentDidMount",value:function(){if(this.props.attributes.gpDynamicTextType&&"generateblocks/headline"===this.props.name){var e=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId+" .rich-text");e&&""!==this.props.attributes.gpDynamicTextType&&this.props.attributes.gpDynamicLinkType&&!this.props.attributes.removeText&&this.wrapElement(e)}}},{key:"componentDidUpdate",value:function(){if(this.props.attributes.gpDynamicTextType){var e=this.props.attributes.content;"generateblocks/button"===this.props.name&&(e=this.props.attributes.text),e!==this.props.attributes.gpDynamicTextReplace&&this.props.setAttributes({gpDynamicTextReplace:e})}if(this.props.attributes.gpDynamicTextType&&"generateblocks/headline"===this.props.name){var t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId+" .rich-text");if(t){var n=t.parentNode;if(n){var a=n.classList.contains("gblocks-faux-headline-link");""!==this.props.attributes.gpDynamicTextType?(a&&!this.props.attributes.gpDynamicLinkType&&n.replaceWith.apply(n,x(n.childNodes)),a||!this.props.attributes.gpDynamicLinkType||this.props.isSelected||this.wrapElement(t)):a&&n.replaceWith.apply(n,x(n.childNodes)),(this.props.attributes.removeText||a&&this.props.isSelected)&&n.replaceWith.apply(n,x(n.childNodes))}}}}},{key:"wrapElement",value:function(e){var t=document.createElement("a");t.classList.add("gblocks-faux-headline-link"),e.parentNode.insertBefore(t,e),t.appendChild(e)}},{key:"render",value:function(){return null}}]),o}(o.Component),R=I;var L=function(e){C(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=S(t);if(n){var o=S(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return D(this,e)});function r(){return v(this,r),a.apply(this,arguments)}return k(r,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.name,r=t.gpDynamicTextType,i=t.gpDynamicSource,c=t.gpDynamicTextReplace,s=t.gpDynamicTextTaxonomy,d=t.gpDynamicTextTaxonomySeparator,g=t.gpDynamicTextCustomField,u=t.gpDynamicTextBefore,m=t.gpDynamicDateUpdated,b=t.gpDynamicNoCommentsText,h=t.gpDynamicSingleCommentText,f=t.gpDynamicMultipleCommentsText,y=t.gpDynamicLinkType,x=t.gpDynamicLinkCustomField,v=t.gpDynamicSourceInSameTerm,_=t.gpDynamicSourceInSameTermTaxonomy,k=t.className,w=t.gpDynamicDateType,T=t.gpDynamicUpdatedDateBefore,C=[{label:(0,l.__)("Choose…","gp-premium"),value:""}],D=gpPremiumBlockElements.taxonomies;D&&Object.keys(D).forEach((function(e){C.push({label:D[e],value:D[e]})}));var S=[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Single post","gp-premium"),value:"single-post"},{label:(0,l.__)("Author archives","gp-premium"),value:"author-archives"},{label:(0,l.__)("Comments area","gp-premium"),value:"comments"},{label:(0,l.__)("Next page of posts","gp-premium"),value:"next-posts"},{label:(0,l.__)("Previous page of posts","gp-premium"),value:"previous-posts"},{label:(0,l.__)("Post meta","gp-premium"),value:"post-meta"},{label:(0,l.__)("Author meta","gp-premium"),value:"user-meta"},{label:(0,l.__)("Term meta","gp-premium"),value:"term-meta"}];"terms"===r&&(S=[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Term archives","gp-premium"),value:"term-archives"}]),"generateblocks/headline"!==a||r||(S=[]);var I=!!r||!!y;"post-navigation-template"!==wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_type&&(I=!1),"next-posts"!==y&&"previous-posts"!==y||(I=!1);var R=(0,l.__)("Before text","gp-premim");return"post-date"===r&&m&&"published-date"===w&&(R=(0,l.__)("Published date before text","gp-premium")),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Dynamic text type","gp-premium"),value:r,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Title","gp-premium"),value:"title"},{label:(0,l.__)("Post date","gp-premium"),value:"post-date"},{label:(0,l.__)("Post author name","gp-premium"),value:"post-author"},{label:(0,l.__)("List of terms","gp-premium"),value:"terms"},{label:(0,l.__)("Comments number","gp-premium"),value:"comments-number"},{label:(0,l.__)("Post meta","gp-premium"),value:"post-meta"},{label:(0,l.__)("Term meta","gp-premium"),value:"term-meta"},{label:(0,l.__)("Author meta","gp-premium"),value:"user-meta"}],onChange:function(e){n({gpDynamicTextType:e});var t=[];k&&(t=k.split(" "));var o=["dynamic-term-class"];if(t=t.filter((function(e){return!o.includes(e)})),"terms"===e&&t.push("dynamic-term-class"),t.length>0?n({className:t.join(" ")}):n({className:""}),"generateblocks/headline"===a){var r=(0,l.__)("Hello World","gp-premium");"post-date"===e?r=(0,l.__)("Post date","gp-premium"):"post-author"===e?r=(0,l.__)("Post author name","gp-premium"):"terms"===e?r=(0,l.__)("Terms","gp-premium"):"comments-number"===e?r=(0,l.__)("Comments number","gp-premium"):"post-meta"===e?r=(0,l.__)("Post meta","gp-premium"):"user-meta"===e?r=(0,l.__)("User meta","gp-premium"):"term-meta"===e&&(r=(0,l.__)("Term meta","gp-premium")),n({content:r})}}}),""!==r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{className:"gpp-blocks-dynamic-text-replace-field",type:"text",value:c}),"post-date"===r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Date type","gp-premium"),value:w,options:[{label:(0,l.__)("Published date","gp-premim"),value:"published-date"},{label:(0,l.__)("Updated date","gp-premium"),value:"updated-date"}],onChange:function(e){n({gpDynamicDateType:e,gpDynamicTextBefore:"",gpDynamicUpdatedDateBefore:""})}}),"published-date"===w&&(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("Replace with updated date","gp-premium"),checked:!!m,onChange:function(e){n({gpDynamicDateUpdated:e})}})),"terms"===r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Taxonomy","gp-premium"),value:s,options:C,onChange:function(e){n({gpDynamicTextTaxonomy:e})}}),"generateblocks/headline"===a&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{label:(0,l.__)("Term separator","gp-premium"),type:"text",value:d,onChange:function(e){n({gpDynamicTextTaxonomySeparator:e})}}))),"comments-number"===r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{label:(0,l.__)("No comments text","gp-premium"),type:"text",value:b,onChange:function(e){n({gpDynamicNoCommentsText:e})}}),(0,o.createElement)(p.TextControl,{label:(0,l.__)("Singular comments text","gp-premium"),type:"text",value:h,onChange:function(e){n({gpDynamicSingleCommentText:e})}}),(0,o.createElement)(p.TextControl,{label:(0,l.__)("Plural comments text","gp-premium"),help:(0,l.__)("Use % in place of the number of comments","gp-premium"),type:"text",value:f,onChange:function(e){n({gpDynamicMultipleCommentsText:e})}})),("post-meta"===r||"term-meta"===r||"user-meta"===r)&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Meta field name","gp-premium"),type:"text",value:g,onChange:function(e){n({gpDynamicTextCustomField:e})}}),"generateblocks/headline"===a&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{label:R,type:"text",value:u,onChange:function(e){n({gpDynamicTextBefore:e})}}),"post-date"===r&&!!m&&"published-date"===w&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Updated date before text","gp-premium"),type:"text",value:T,onChange:function(e){n({gpDynamicUpdatedDateBefore:e})}}))),S.length>1&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Dynamic link type","gp-premium"),value:y,options:S,onChange:function(e){"generateblocks/button"===a&&n(e?{gpDynamicLinkType:e,hasUrl:!0,url:"#"}:{gpDynamicLinkType:e,hasUrl:!1,url:""}),"generateblocks/headline"===a&&n({gpDynamicLinkType:e})}}),("post-meta"===y||"term-meta"===y||"user-meta"===y)&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Meta field name","gp-premium"),type:"text",value:x,onChange:function(e){n({gpDynamicLinkCustomField:e})}})),I&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Source","gp-premium"),value:i,options:[{label:(0,l.__)("Current post","gp-premium"),value:"current-post"},{label:(0,l.__)("Next post","gp-premium"),value:"next-post"},{label:(0,l.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({gpDynamicSource:e})}}),("next-post"===i||"previous-post"===i)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("In same term","gp-premium"),help:(0,l.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!v,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!v&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Taxonomy","gp-premium"),help:(0,l.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:_,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}}))))}}]),r}(o.Component),B=L;function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var P=["generateblocks/headline","generateblocks/button"],M=(0,s.createHigherOrderComponent)((function(e){return function(t){return P.includes(t.name)?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(R,O({},t)),(0,o.createElement)(e,O({},t))):(0,o.createElement)(e,O({},t))}}),"withClientIdClassName"),z=(0,s.createHigherOrderComponent)((function(e){return function(t){var n=t.name,a=t.attributes,r=t.isSelected,c=a.gpDynamicTextType,s=a.gpDynamicLinkType;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(e,O({},t)),r&&P.includes(n)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.BlockControls,null,(0,o.createElement)(p.ToolbarGroup,null,(0,o.createElement)(p.Dropdown,{contentClassName:"gpp-dynamic-headline-text-dropdown",popoverProps:{className:"block-editor-block-settings-menu__popover",position:"bottom right"},renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return(0,o.createElement)(p.ToolbarButton,{icon:i("dynamic"),label:(0,l.__)("Dynamic options","gp-premium"),onClick:n,"aria-expanded":t,isPressed:!!c||!!s})},renderContent:function(){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(B,O({},t)))}})))))}}),"addDynamicHeadlineTextToolbar");function q(e,t){return!(void 0===t.attributes.gpDynamicTextType||!t.attributes.gpDynamicTextType)||e}(0,c.addFilter)("blocks.registerBlockType","gp-premium/dynamic-text/add-attributes",(function(e){return P.includes(e.name)?(void 0!==e.attributes&&(e.attributes=Object.assign(e.attributes,{gpDynamicTextType:{type:"string",default:""},gpDynamicLinkType:{type:"string",default:""},gpDynamicTextReplace:{type:"string",default:""},gpDynamicSource:{type:"string",default:"current-post"},gpDynamicSourceInSameTerm:{type:"boolean",default:!1},gpDynamicSourceInSameTermTaxonomy:{type:"string",default:"category"},gpDynamicTextTaxonomy:{type:"string",default:""},gpDynamicTextTaxonomySeparator:{type:"string",default:", "},gpDynamicTextCustomField:{type:"string",default:""},gpDynamicTextBefore:{type:"string",default:""},gpDynamicUpdatedDateBefore:{type:"string",default:""},gpDynamicDateUpdated:{type:"boolean",default:!1},gpDynamicNoCommentsText:{type:"string",default:(0,l.__)("No Comments","gp-premium")},gpDynamicSingleCommentText:{type:"string",default:(0,l.__)("1 Comment","gp-premium")},gpDynamicMultipleCommentsText:{type:"string",default:(0,l.__)("% Comments","gp-premium")},gpDynamicLinkCustomField:{type:"string",default:""},gpDynamicDateType:{type:"string",default:"published-date"}})),e):e})),(0,c.addFilter)("editor.BlockListBlock","my-plugin/with-client-id-class-name",M),(0,c.addFilter)("editor.BlockEdit","gp-premium/dynamic-headline/toolbar",z),(0,c.addFilter)("generateblocks.editor.headlineDisableFormatting","gp-premium/dynamic-headline/disable-headline-formatting",q),(0,c.addFilter)("generateblocks.editor.buttonDisableFormatting","gp-premium/dynamic-headline/disable-button-formatting",q),(0,c.addFilter)("generateblocks.editor.mainCSS","gp-premium/dynamic-headline/headline-css",(function(e,t,n){if(!["headline"].includes(n))return e;var a=t.attributes,o=a.uniqueId,i=a.gpDynamicTextBefore;return a.gpDynamicTextType&&i&&r(e,".gb-headline-"+o+" .gb-headline-text:before, .gb-headline-"+o+".gb-headline-text:before",{content:'"'+i+'"'}),e}));var j=window.wp.serverSideRender,A=n.n(j);var H=function(e){C(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=S(t);if(n){var o=S(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return D(this,e)});function r(){return v(this,r),a.apply(this,arguments)}return k(r,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=t.contentType,r=t.excerptLength,i=t.useThemeMoreLink,c=t.customMoreLink;return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.InspectorControls,null,(0,o.createElement)(p.PanelBody,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Type","gp-premium"),value:a,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Post content","gp-premium"),value:"post-content"},{label:(0,l.__)("Post excerpt","gp-premium"),value:"post-excerpt"},{label:(0,l.__)("Term description","gp-premium"),value:"term-description"},{label:(0,l.__)("Author description","gp-premium"),value:"author-description"}],onChange:function(e){n({contentType:e})}}),"post-excerpt"===a&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{label:(0,l.__)("Excerpt length","gp-premium"),type:"number",value:r||"",placeholder:gpPremiumBlockElements.excerptLength,onChange:function(e){n({excerptLength:e})},onBlur:function(){n({excerptLength:parseInt(r)})},onClick:function(e){e.currentTarget.focus()}}),(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("Use theme more link","gp-premium"),type:"number",checked:!!i,onChange:function(e){n({useThemeMoreLink:e})}}),!i&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Custom more link","gp-premium"),type:"text",value:c||"",onChange:function(e){n({customMoreLink:e})}})))),!a&&(0,o.createElement)(p.Placeholder,{label:(0,l.__)("Dynamic content","gp-premium"),instructions:(0,l.__)("Choose your dynamic content type.","gp-premium")},(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Type","gp-premium"),value:a,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Post content","gp-premium"),value:"post-content"},{label:(0,l.__)("Post excerpt","gp-premium"),value:"post-excerpt"},{label:(0,l.__)("Term description","gp-premium"),value:"term-description"},{label:(0,l.__)("Author description","gp-premium"),value:"author-description"}],onChange:function(e){n({contentType:e})}})),"post-content"===a&&(0,o.createElement)("div",{className:"gb-entry-content"},(0,o.createElement)("p",null,(0,l.__)("This is a placeholder for your content.","gp-premium")),(0,o.createElement)("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pulvinar ligula augue, quis bibendum tellus scelerisque venenatis. Pellentesque porta nisi mi. In hac habitasse platea dictumst. Etiam risus elit, molestie non volutpat ac, pellentesque sed eros. Nunc leo odio, sodales non tortor at, porttitor posuere dui.")),"post-excerpt"===a&&(0,o.createElement)("div",null,(0,o.createElement)(A(),{block:"generatepress/dynamic-content",attributes:t})),("author-description"===a||"term-description"===a)&&(0,o.createElement)("div",{className:"gb-description"},(0,o.createElement)("p",null,(0,l.__)("This is a placeholder for your description.","gp-premium")),(0,o.createElement)("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pulvinar ligula augue, quis bibendum tellus scelerisque venenatis. Pellentesque porta nisi mi. In hac habitasse platea dictumst. Etiam risus elit, molestie non volutpat ac, pellentesque sed eros. Nunc leo odio, sodales non tortor at, porttitor posuere dui.")))}}]),r}(o.Component),N=H,F=window.wp.blocks;(0,F.registerBlockType)("generatepress/dynamic-content",{title:(0,l.__)("Dynamic Content","gp-premium"),description:(0,l.__)("Displays dynamic content based on your chosen source.","gp-premium"),icon:i("generatepress"),category:"generatepress",keywords:[(0,l.__)("content"),(0,l.__)("dynamic content"),(0,l.__)("gp"),(0,l.__)("generate")],supports:{anchor:!1,className:!1,customClassName:!1},attributes:{contentType:{type:"string",default:""},excerptLength:{type:"number",default:gpPremiumBlockElements.excerptLength},useThemeMoreLink:{type:"boolean",default:!0},customMoreLink:{type:"string",default:""}},edit:N,save:function(){return null}});var U=n(184),G=n.n(U);var W=function(e){C(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=S(t);if(n){var o=S(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return D(this,e)});function r(){return v(this,r),a.apply(this,arguments)}return k(r,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=t.imageSize,r=t.imageType,i=t.imageSource,c=t.customField,s=t.linkTo,g=t.linkToCustomField,u=t.imageWidth,m=t.imageHeight,b=t.avatarSize,h=t.avatarRounded,f=t.gpDynamicSourceInSameTerm,y=t.gpDynamicSourceInSameTermTaxonomy,x=[];Object.keys(gpPremiumBlockElements.imageSizes).forEach((function(e){x.push({label:gpPremiumBlockElements.imageSizes[e],value:gpPremiumBlockElements.imageSizes[e]})}));var v=gpPremiumBlockElements.imageSizeDimensions,_=u,k=m;_||void 0!==v[a]&&v[a].width&&(_=v[a].width),k||void 0!==v[a]&&v[a].height&&(k=v[a].height);var w=gpPremiumBlockElements.featuredImagePlaceholder;"author-avatar"!==r&&_!==k||(w=gpPremiumBlockElements.authorImagePlaceholder);var T=wp.data.select("core/editor").getEditedPostAttribute("meta");return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(d.InspectorControls,null,(0,o.createElement)(p.PanelBody,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Type","gp-premium"),value:r,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Featured image","gp-premium"),value:"featured-image"},{label:(0,l.__)("Author avatar","gp-premium"),value:"author-avatar"},{label:(0,l.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){n({imageType:e})}}),("featured-image"===r||"post-meta"===r)&&(0,o.createElement)(o.Fragment,null,"post-meta"===r&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Meta field name","gp-premium"),type:"text",value:c,onChange:function(e){n({customField:e})}}),"post-navigation-template"===T._generate_block_type&&(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Source","gp-premium"),value:i,options:[{label:(0,l.__)("Current post","gp-premium"),value:"current-post"},{label:(0,l.__)("Next post","gp-premium"),value:"next-post"},{label:(0,l.__)("Previous post","gp-premium"),value:"previous-post"}],onChange:function(e){n({imageSource:e})}}),("next-post"===i||"previous-post"===i)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("In same term","gp-premium"),help:(0,l.__)("Check for posts with the same term as the current post.","gp-premim"),checked:!!f,onChange:function(e){n({gpDynamicSourceInSameTerm:e})}}),!!f&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Taxonomy","gp-premium"),help:(0,l.__)("The taxonomy to check if in the same term.","gp-premim"),type:"text",value:y,onChange:function(e){n({gpDynamicSourceInSameTermTaxonomy:e})}})),(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Image size","gp-premium"),value:a,options:x,onChange:function(e){n({imageSize:e})}}),(0,o.createElement)(p.TextControl,{label:(0,l.__)("Image width","gp-premium"),type:"number",value:u||"",placeholder:_,onChange:function(e){n({imageWidth:e})},onBlur:function(){u&&n({imageWidth:parseInt(u)})},onClick:function(e){e.currentTarget.focus()}}),(0,o.createElement)(p.TextControl,{label:(0,l.__)("Image height","gp-premium"),type:"number",value:m||"",placeholder:k,onChange:function(e){n({imageHeight:e})},onBlur:function(){m&&n({imageHeight:parseInt(m)})},onClick:function(e){e.currentTarget.focus()}}),(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Link to","gp-premium"),value:s,options:[{label:(0,l.__)("None","gp-premium"),value:""},{label:(0,l.__)("Single post","gp-premium"),value:"single-post"},{label:(0,l.__)("Custom field","gp-premium"),value:"custom-field"}],onChange:function(e){n({linkTo:e})}}),"custom-field"===s&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Custom field name","gp-premium"),type:"text",value:g,onChange:function(e){n({linkToCustomField:e})}})),"author-avatar"===r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{label:(0,l.__)("Image size","gp-premium"),type:"number",value:b||"",onChange:function(e){n({avatarSize:parseInt(e)})}}),(0,o.createElement)(p.ToggleControl,{label:(0,l.__)("Make image rounded","gp-premium"),checked:!!h,onChange:function(e){n({avatarRounded:e})}})))),!r&&(0,o.createElement)(p.Placeholder,{label:(0,l.__)("Dynamic image","gp-premium"),instructions:(0,l.__)("Choose your dynamic image type.","gp-premium")},(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Type","gp-premium"),value:r,options:[{label:(0,l.__)("Choose…","gp-premium"),value:""},{label:(0,l.__)("Featured image","gp-premium"),value:"featured-image"},{label:(0,l.__)("Author avatar","gp-premium"),value:"author-avatar"},{label:(0,l.__)("Post meta","gp-premium"),value:"post-meta"}],onChange:function(e){n({imageType:e})}})),(0,o.createElement)("div",{className:"gpp-dynamic-image-preview"},(0,o.createElement)(o.Fragment,null,("featured-image"===r||"post-meta"===r)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"components-gpp-dynamic-image-placeholder__label"},(0,o.createElement)(p.Icon,{icon:"format-image"})),(0,o.createElement)("img",{src:w,className:"dynamic-featured-image gpp-dynamic-image-placeholder",width:_||"",height:k||"",alt:(0,l.__)("Dynamic image placeholder","gp-premium")})),"author-avatar"===r&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)("div",{className:"components-gpp-dynamic-image-placeholder__label"},(0,o.createElement)(p.Icon,{icon:"admin-users"})),(0,o.createElement)("img",{src:w,className:G()({"dynamic-author-image":!0,"gpp-dynamic-image-placeholder":!0,"dynamic-author-image-rounded":!!h}),width:b||null,height:b||null,alt:(0,l.__)("Dynamic image placeholder","gp-premium")})))))}}]),r}(o.Component),V=W;(0,F.registerBlockType)("generatepress/dynamic-image",{title:(0,l.__)("Dynamic Image","gp-premium"),description:(0,l.__)("Displays a dynamic image from your chosen source.","gp-premium"),icon:i("generatepress"),category:"generatepress",keywords:[(0,l.__)("image"),(0,l.__)("dynamic image"),(0,l.__)("gp"),(0,l.__)("generate")],supports:{anchor:!1,className:!1,customClassName:!0},attributes:{imageType:{type:"string",default:""},imageSource:{type:"string",default:"current-post"},customField:{type:"string",default:""},gpDynamicSourceInSameTerm:{type:"boolean",default:!1},gpDynamicSourceInSameTermTaxonomy:{type:"string",default:"category"},imageSize:{type:"string",default:"full"},linkTo:{type:"string",default:""},linkToCustomField:{type:"string",default:""},imageWidth:{type:"number",default:null},imageHeight:{type:"number",default:null},avatarSize:{type:"number",default:30},avatarRounded:{type:"boolean",default:!1}},edit:V,save:function(){return null}});var J=n(216),K=window.lodash,Y=n.n(K);var $=function(e){C(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=S(t);if(n){var o=S(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return D(this,e)});function r(){return v(this,r),a.apply(this,arguments)}return k(r,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.value,a=e.onClick,r=e.units;return(0,o.createElement)("div",{className:"components-generatepress-units-control-header__units"},(0,o.createElement)("div",{className:"components-generatepress-units-control-label__units"},t),(0,o.createElement)("div",{className:"components-generatepress-control__units"},(0,o.createElement)(p.ButtonGroup,{className:"components-generatepress-control-buttons__units","aria-label":(0,l.__)("Select Units","gp-premium")},r.map((function(e){var t=e;return"px"===e&&(t=(0,l._x)("Pixel","A size unit for CSS markup","gp-premium")),"em"===e&&(t=(0,l._x)("Em","A size unit for CSS markup","gp-premium")),"%"===e&&(t=(0,l._x)("Percentage","A size unit for CSS markup","gp-premium")),"deg"===e&&(t=(0,l._x)("Degree","A size unit for CSS markup","gp-premium")),(0,o.createElement)(p.Tooltip
/* translators: Unit type (px, em, %) */,{text:(0,l.sprintf)((0,l.__)("%s Units","gp-premium"),t),key:e},(0,o.createElement)(p.Button,{key:e,className:"components-generatepress-control-button__units--"+e,isSmall:!0,isPrimary:n===e,"aria-pressed":n===e
/* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":(0,l.sprintf)((0,l.__)("%s Units","gp-premium"),t),onClick:function(){return a(e)}},e))})))))}}]),r}(o.Component),Z=n(196),Q=n.n(Z);function X(e,t){const{key:n,options:a}=t,o=a.length-1;let r="ArrowDown"===n?e+1:e-1;r<0?r=o:r>o&&(r=0);const i=a[r];return i&&i.disabled?X(r,{key:n,options:a}):r}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function re(e,t){return Array.isArray(e)?e.map((e=>t.find((t=>t.value===e)))):t.find((t=>t.value===e))||null}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let pe=null;try{pe=n(70)}catch(e){}function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(Object(n),!0).forEach((function(t){ge(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue({value:e=null,disabled:t=!1,multiple:n=!1,search:a=!1,fuse:o=!1,options:r,onChange:i=(()=>{}),getOptions:l=null,allowEmpty:c=!0,closeOnSelect:p=!0,closable:s=!0}){const d=(0,Z.useRef)(null),g=(0,Z.useMemo)((()=>function(e){if(!Array.isArray(e))return[];const t=[];return e.forEach(((e,n)=>{if("type"in e&&"group"===e.type){const a=e.name.replace(/\s+/g,"-").toLowerCase()+"-"+n;e.items.forEach((n=>{t.push(te(te({},n),{},{groupId:a,groupName:e.name,_id:""+n.value}))}))}else t.push(te(te({},e),{},{_id:""+e.value,index:n}))})),t}(r)),[r]),[u,m]=(0,Z.useState)({flat:[],addedOptions:[],value:e,search:"",focus:!1,searching:!1,highlighted:-1,changed:!1}),{flat:b,addedOptions:h,value:f,search:y,focus:x,searching:v,highlighted:_}=u,k=(0,Z.useMemo)((()=>{let e=re(f,[...g,...h]);return e||c||n||([e]=g),e}),[f,g,h,c,n]),w=(0,Z.useMemo)((()=>function(e){const t=[];return e.forEach(((e,n)=>{if("groupId"in e){const a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),o=t.findIndex((e=>"groupId"in e&&e.groupId===a.groupId));a.index=n,o>-1?t[o].items.push(a):t.push({items:[a],groupId:e.groupId,type:"group",name:e.groupName})}else t.push(e)})),t}(b)),[b]),T=(0,Z.useMemo)((()=>function(e){return e&&"object"==typeof e?Array.isArray(e)?e.map((e=>e&&e.name)).join(", "):e.name:""}(k)),[k]),C=(0,Z.useCallback)((()=>{m((e=>de(de({},e),{},{focus:!1,search:"",flat:g,highlighted:-1}))),d.current&&d.current.blur()}),[g,d]),D=e=>m((t=>de(de({},t),{},{focus:e}))),S=(0,Z.useCallback)((e=>{m((t=>{const{flat:a,highlighted:o}=t,r=e?a.find((t=>t.value==e)):a[o];if(!r)return t;const i=function(e,t,n){if(!n)return e;if(!t)return[e];const a=Array.isArray(t)?[...t]:[t],o=a.findIndex((t=>t===e));return o>=0?a.splice(o,1):a.push(e),a}(r.value,t.value,n),l=re(i,a);return de(de({},t),{},{addedOptions:n?l:[l],value:i,changed:[i,l]})}))}),[n]),I=(0,Z.useCallback)((e=>{e.preventDefault(),p&&d.current&&d.current.blur(),S(e.currentTarget.value)}),[S,p]),R=(0,Z.useCallback)((e=>{const{key:t}=e;"ArrowDown"!==t&&"ArrowUp"!==t||(e.preventDefault(),m((e=>de(de({},e),{},{highlighted:X(e.highlighted,{key:t,options:e.flat})}))))}),[]),L=(0,Z.useCallback)((({key:e})=>{"Enter"===e&&(S(),s&&p&&C())}),[S,p,C,s]),B=(0,Z.useCallback)((({key:e})=>{"Escape"===e&&C()}),[C]),E={tabIndex:"0",readOnly:!a,onChange:a?({target:e})=>{const{value:t}=e,n={search:t};let a=g;l&&t.length&&(n.searching=!0,a=l(t)),m((e=>de(de({},e),n))),Promise.resolve(a).then((e=>{let n=e;t.length&&(n=function(e,t,n){return!!(e.length&&pe&&n)&&function(e,t,n){return new pe(t,n).search(e).map(((e,t)=>le(le({},e),{},{index:t})))}(e,t,n)}(t,e,o)),m((t=>de(de({},t),{},{flat:!1===n?e:n,searching:!1})))})).catch((()=>m((e=>de(de({},e),{},{flat:g,searching:!1})))))}:null,disabled:t,onMouseDown:()=>D(!x),onBlur:C,onFocus:()=>D(!0),onKeyPress:L,onKeyDown:R,onKeyUp:B,ref:d},O=(0,Z.useMemo)((()=>({tabIndex:"-1",onMouseDown:I,onKeyDown:R,onKeyPress:L,onBlur:C})),[I,R,L,C]);return(0,Z.useEffect)((()=>{m((t=>de(de({},t),{},{value:e})))}),[e]),(0,Z.useEffect)((()=>{m((e=>de(de({},e),{},{flat:g})))}),[g]),(0,Z.useEffect)((()=>{!1!==u.changed&&(m((e=>de(de({},e),{},{changed:!1}))),i(...u.changed))}),[u.changed,i]),[{value:k,highlighted:_,options:w,disabled:t,displayValue:T,focus:x,search:y,searching:v},E,O,e=>m((t=>de(de({},t),{},{value:e})))]}var me=n(697),be=n.n(me);const he=be().shape({name:be().string.isRequired,value:be().oneOfType([be().string,be().number]).isRequired});function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(n),!0).forEach((function(t){xe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}be().oneOfType([he,be().shape({name:be().string.isRequired,type:be().string.isRequired,items:be().arrayOf(he)})]),be().oneOfType([be().object,be().arrayOf(be().object)]),be().oneOfType([be().string,be().func]);const ve=e=>{let{optionProps:t,highlighted:n,selected:a,cls:o,renderOption:r}=e,i=function(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["optionProps","highlighted","selected","cls","renderOption"]);const l=[o("option"),!!a&&o("is-selected"),!!n&&o("is-highlighted")].filter((e=>!!e)).join(" "),c=ye(ye({},t),{},{value:i.value,disabled:i.disabled});return Q().createElement("li",{className:o("row"),role:"menuitem","data-index":i.index,"data-value":escape(i.value),key:i.value},r(c,i,{selected:a,highlighted:n},l))};ve.defaultProps={disabled:!1,index:null,value:null},ve.propTypes={};var _e=(0,Z.memo)(ve);function ke(){return ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ke.apply(this,arguments)}function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){Ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const De=(0,Z.forwardRef)((({value:e,disabled:t,placeholder:n,multiple:a,search:o,autoFocus:r,autoComplete:i,options:l,id:c,onChange:p,printOptions:s,closeOnSelect:d,className:g,renderValue:u,renderOption:m,renderGroupHeader:b,getOptions:h,fuse:f,emptyMessage:y},x)=>{const v=(0,Z.useRef)(null),[_,k,w]=ue({options:l,value:e,multiple:a,disabled:t,fuse:f,search:o,onChange:p,getOptions:h,closeOnSelect:d,closable:!a||"on-focus"===s,allowEmpty:!!n}),{focus:T,highlighted:C,value:D,options:S,searching:I,displayValue:R,search:L}=_,B=(0,Z.useCallback)((e=>"function"==typeof g?g(e):0===e.indexOf("container")?e.replace("container",g):0===e.indexOf("is-")||0===e.indexOf("has-")?e:g.split(" ")[0]+"__"+e),[g]),E=(0,Z.useCallback)((()=>{if(null===y)return null;const e="function"==typeof y?y():y;return Q().createElement("li",{className:B("not-found")},e)}),[y,B]),O=[B("container"),!!t&&B("is-disabled"),!!I&&B("is-loading"),!!T&&B("has-focus")].filter((e=>!!e)).join(" "),P=T&&o?L:R;let M;switch((0,Z.useEffect)((()=>{const{current:e}=v;if(!e||a||C<0&&!D)return;const t=C>-1?'[data-index="'+C+'"]':'[data-value="'+escape(D.value)+'"]',n=e.querySelector(t);if(n){const t=e.getBoundingClientRect(),a=n.getBoundingClientRect();e.scrollTop=n.offsetTop-t.height/2+a.height/2}}),[T,D,C,v,a]),s){case"never":M=!1;break;case"always":M=!0;break;case"on-focus":M=T;break;default:M=!t&&(T||a)}return Q().createElement("div",{ref:x,className:O,id:c},(!a||n||o)&&Q().createElement("div",{className:B("value")},u(Te(Te({},k),{},{placeholder:n,autoFocus:r,autoComplete:i,value:P}),_,B("input"))),M&&Q().createElement("div",{className:B("select"),ref:v,onMouseDown:e=>e.preventDefault()},Q().createElement("ul",{className:B("options")},S.length>0?S.map((e=>{const t="group"===e.type,n=t?e.items:[e],a={cls:B,optionProps:w,renderOption:m},o=n.map((e=>{return Q().createElement(_e,ke({key:e.value,selected:(t=e,n=D,!!n&&(Array.isArray(n)?n.findIndex((e=>e.value===t.value))>=0:n.value===t.value)),highlighted:C===e.index},a,e));var t,n}));return t?Q().createElement("li",{role:"none",className:B("row"),key:e.groupId},Q().createElement("div",{className:B("group")},Q().createElement("div",{className:B("group-header")},b(e.name)),Q().createElement("ul",{className:B("options")},o))):o})):E()||null)))}));De.defaultProps={className:"select-search",disabled:!1,search:!1,multiple:!1,placeholder:null,id:null,autoFocus:!1,autoComplete:"on",value:"",onChange:()=>{},printOptions:"auto",closeOnSelect:!0,renderOption:(e,t,n,a)=>Q().createElement("button",ke({type:"button",className:a},e),t.name),renderGroupHeader:e=>e,renderValue:(e,t,n)=>Q().createElement("input",ke({},e,{className:n})),fuse:{keys:["name","groupName"],threshold:.3},getOptions:null,emptyMessage:null},De.propTypes={};var Se=(0,Z.memo)(De),Ie={template_1:{label:(0,l._x)("Two columns with featured image","label","gp-premium"),thumbnail:"post-navigation-featured-images-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99fe8eb7","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"7b27c819","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"8e5dc8f7","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginBottomMobile":"10","isDynamic":true,"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"e2b84192","columns":2,"horizontalGap":15,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6aed9546","isGrid":true,"gridId":"fa4d77e4","width":25,"widthMobile":25,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSource":"previous-post","imageSize":"thumbnail","linkTo":"single-post","imageWidth":100,"imageHeight":100,"avatarSize":100} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d54a6460","isGrid":true,"gridId":"fa4d77e4","width":75,"widthMobile":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0d00c744","element":"p","marginBottom":"5","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Previous post title","gpDynamicSource":"previous-post"} --\x3e <p class="gb-headline gb-headline-0d00c744 gb-headline-text">Previous post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"86e1ad46","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name","gpDynamicSource":"previous-post","gpDynamicTextBefore":"by "} --\x3e <p class="gb-headline gb-headline-86e1ad46 gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2540358d","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignmentMobile":"left","isDynamic":true,"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"6e69ba24","columns":2,"horizontalGap":15,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"daa456b5","isGrid":true,"gridId":"fa4d77e4","width":75,"widthMobile":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","alignmentMobile":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2883b2a4","element":"p","marginBottom":"5","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Next post title","gpDynamicSource":"next-post"} --\x3e <p class="gb-headline gb-headline-2883b2a4 gb-headline-text">Next post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3d2e07c6","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name","gpDynamicSource":"next-post","gpDynamicTextBefore":"by "} --\x3e <p class="gb-headline gb-headline-3d2e07c6 gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2634cdf9","isGrid":true,"gridId":"fa4d77e4","width":25,"widthMobile":25,"orderMobile":-1,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSource":"next-post","imageSize":"thumbnail","linkTo":"single-post","imageWidth":100,"imageHeight":100,"avatarSize":100} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_2:{label:(0,l._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d1dd99b1","paddingTop":"20","paddingRight":"0","paddingBottom":"20","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"a4b97d6a","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9c89f761","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginBottomMobile":"10","isDynamic":true,"gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"c04126aa","columns":2,"horizontalGap":15,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9cf413a8","isGrid":true,"gridId":"fa4d77e4","width":15,"widthTablet":25,"widthMobile":15,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"38a2c075","fillHorizontalSpace":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"bec8d56e","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#abb8c3","textColorHover":"","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","iconSize":1.5,"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e <a class="gb-button gb-button-bec8d56e" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"625f3305","isGrid":true,"gridId":"fa4d77e4","width":85,"widthTablet":75,"widthMobile":85,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a6f36397","element":"p","marginBottom":"0","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Previous post title","gpDynamicSource":"previous-post"} --\x3e <p class="gb-headline gb-headline-a6f36397 gb-headline-text">Previous post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3d262c0b","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicSource":"previous-post","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-3d262c0b gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5d70717c","isGrid":true,"gridId":"ee9eb157","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","alignmentMobile":"left","isDynamic":true,"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ee647ff2","columns":2,"horizontalGap":15,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"78f3ead4","isGrid":true,"gridId":"fa4d77e4","width":85,"widthTablet":75,"widthMobile":85,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"643cf12f","element":"p","marginBottom":"0","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Next post title","gpDynamicSource":"next-post"} --\x3e <p class="gb-headline gb-headline-643cf12f gb-headline-text">Next post title</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ac35083","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicSource":"next-post","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-8ac35083 gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"780c810b","isGrid":true,"gridId":"fa4d77e4","width":15,"widthTablet":25,"widthMobile":15,"orderMobile":-1,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"fe863527","fillHorizontalSpace":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"122d9fa4","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#abb8c3","textColorHover":"","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","iconSize":1.5,"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e <a class="gb-button gb-button-122d9fa4" href="#"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" width="1em" height="1em" aria-hidden="true"><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_3:{label:(0,l._x)("Two columns with background overlays","label","gp-premium"),thumbnail:"post-navigation-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"aadd0a6f","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"fe8855c5","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"59edc08b","isGrid":true,"gridId":"fe8855c5","paddingTop":"40","paddingRight":"40","paddingBottom":"40","paddingLeft":"40","paddingSyncUnits":true,"backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#e3e3e3","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.4,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8d3d4c12","element":"p","backgroundColor":"#cf2e2e","showAdvancedTypography":true,"fontSize":14,"textTransform":"uppercase","paddingTop":"5","paddingRight":"10","paddingBottom":"5","paddingLeft":"10","inlineWidth":true} --\x3e <p class="gb-headline gb-headline-8d3d4c12 gb-headline-text">Previous</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"352592d1","element":"h3","showAdvancedTypography":true,"fontSize":25,"marginBottom":"0","className":"","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e <h3 class="gb-headline gb-headline-352592d1 gb-headline-text ">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"993a41e4","isGrid":true,"gridId":"fe8855c5","paddingTop":"40","paddingRight":"40","paddingBottom":"40","paddingLeft":"40","paddingSyncUnits":true,"backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#e3e3e3","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.4,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"49c8845f","element":"p","backgroundColor":"#cf2e2e","showAdvancedTypography":true,"fontSize":14,"textTransform":"uppercase","paddingTop":"5","paddingRight":"10","paddingBottom":"5","paddingLeft":"10","inlineWidth":true} --\x3e <p class="gb-headline gb-headline-49c8845f gb-headline-text">Next</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"6ba8079e","element":"h3","showAdvancedTypography":true,"fontSize":25,"marginBottom":"0","className":"","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e <h3 class="gb-headline gb-headline-6ba8079e gb-headline-text ">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]},template_4:{label:(0,l._x)("Two columns with arrows","label","gp-premium"),thumbnail:"post-navigation-arrows-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"96f5f0fa","innerContainer":"full","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"4785bcc3","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5287d6da","isGrid":true,"gridId":"4785bcc3","paddingTop":"30","paddingRight":"0","paddingBottom":"25","paddingLeft":"25","backgroundColor":"#ffffff","isDynamic":true,"gpRemoveContainerCondition":"no-previous-post","opacities":[],"textShadows":[{"state":"normal","target":"self","customSelector":"","color":"#000000","colorOpacity":0.5,"xOffset":5,"yOffset":5,"blur":10}]} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"261aea9d","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"eb3b7005","isGrid":true,"gridId":"261aea9d","width":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"0a2d5bfc","element":"h3","alignment":"left","textColor":"#000000","linkColor":"#000000","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e <h3 class="gb-headline gb-headline-0a2d5bfc gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"164ae39e","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","hasIcon":true,"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments number","gpDynamicSource":"previous-post"} --\x3e <p class="gb-headline gb-headline-164ae39e"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg></span><span class="gb-headline-text">Comments number</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"75cd654a","isGrid":true,"gridId":"261aea9d","width":25,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"2cf8ccdf","alignment":"right","stack":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"6acb0e83","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#0366d6","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e <a class="gb-button gb-button-6acb0e83" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7af8fa61","isGrid":true,"gridId":"4785bcc3","paddingTop":"30","paddingRight":"25","paddingBottom":"25","paddingLeft":"0","backgroundColor":"#0366d6","isDynamic":true,"gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"1161e4d4","columns":2,"horizontalGap":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"045e1698","isGrid":true,"gridId":"261aea9d","width":25,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"b5e0b3c6","alignment":"left","stack":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"557abb73","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#ffffff","textColor":"#0693e3","backgroundColorHover":"#222222","textColorHover":"#ffffff","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","gpDynamicLinkType":"single-post","gpDynamicSource":"next-post"} --\x3e <a class="gb-button gb-button-557abb73" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9ad09f6f","isGrid":true,"gridId":"261aea9d","width":75,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9ba9e9d1","element":"h3","alignment":"right","textColor":"#ffffff","linkColor":"#ffffff","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e <h3 class="gb-headline gb-headline-9ba9e9d1 gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8ebf8dbe","element":"p","alignment":"right","textColor":"#ffffff","linkColor":"#ffffff","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","hasIcon":true,"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments number","gpDynamicSource":"next-post"} --\x3e <p class="gb-headline gb-headline-8ebf8dbe"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"></path></svg></span><span class="gb-headline-text">Comments number</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]},template_5:{label:(0,l._x)("Two columns with featured image offset","label","gp-premim"),thumbnail:"post-navigation-offset.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"52018004","innerContainer":"full","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginRight":"30","marginLeft":"30","marginLeftTablet":"30","marginRightMobile":"25","marginLeftMobile":"25","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"7bdd6853","columns":4,"horizontalGap":0,"verticalGapMobile":0,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4138dd74","isGrid":true,"gridId":"7bdd6853","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","borderRadiusBottomLeft":"10","borderRadiusTopLeft":"10","borderRadiusBottomLeftTablet":"0","borderRadiusBottomLeftMobile":"0","borderRadiusTopLeftMobile":"5","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"verticalAlignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"776ec4d6","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a3aaad4c","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#b5b5b5","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#f9f9f9","marginRight":"1.5","marginLeft":"-1.5","marginUnit":"em","paddingTop":"15","paddingRight":"15","paddingBottom":"15","paddingLeft":"15","borderSizeTop":"7","borderSizeRight":"7","borderSizeBottom":"7","borderSizeLeft":"7","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","borderRadiusUnit":"%","iconSizeMobile":0.8,"gpDynamicLinkType":"single-post","gpDynamicSource":"previous-post"} --\x3e <a class="gb-button gb-button-a3aaad4c" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"18430adf","isGrid":true,"gridId":"7bdd6853","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"30","paddingRight":"30","paddingBottom":"30","paddingLeft":"30","paddingSyncUnits":true,"paddingTopMobile":"10","paddingRightMobile":"10","paddingBottomMobile":"10","paddingLeftMobile":"10","marginRight":"10","marginRightTablet":"0","marginRightMobile":"0","borderRadiusTopRight":"10","borderRadiusBottomRight":"10","borderRadiusBottomRightTablet":"0","borderRadiusTopRightMobile":"5","borderRadiusBottomRightMobile":"0","backgroundColor":"#ffffff","zindex":2,"alignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"previous-post","gpRemoveContainerCondition":"no-previous-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2acc62a4","element":"h3","alignment":"left","backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","showAdvancedTypography":true,"fontSize":25,"fontSizeMobile":17,"marginBottom":"0","marginLeft":"-4","marginUnit":"em","marginLeftMobile":"-3","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingSyncUnits":true,"borderRadiusBottomLeft":"10","borderRadiusTopLeft":"10","borderRadiusTopRightMobile":"5","borderRadiusBottomRightMobile":"5","borderRadiusBottomLeftMobile":"5","borderRadiusTopLeftMobile":"5","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"previous-post"} --\x3e <h3 class="gb-headline gb-headline-2acc62a4 gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce9878f4","isGrid":true,"gridId":"7bdd6853","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"30","paddingRight":"30","paddingBottom":"30","paddingLeft":"30","paddingSyncUnits":true,"paddingTopMobile":"10","paddingRightMobile":"10","paddingBottomMobile":"10","paddingLeftMobile":"10","marginLeft":"10","marginLeftTablet":"0","marginLeftMobile":"0","borderRadiusBottomLeft":"10","borderRadiusTopLeft":"10","borderRadiusTopLeftTablet":"0","borderRadiusBottomLeftMobile":"5","borderRadiusTopLeftMobile":"0","backgroundColor":"#ffffff","zindex":1,"alignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9d97a37f","element":"h3","alignment":"right","backgroundColor":"#ffffff","textColor":"#000000","linkColor":"#000000","showAdvancedTypography":true,"fontSize":25,"fontSizeMobile":17,"marginRight":"-4","marginBottom":"0","marginUnit":"em","marginRightMobile":"-3","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","paddingSyncUnits":true,"borderRadiusTopRight":"10","borderRadiusBottomRight":"10","borderRadiusTopRightMobile":"5","borderRadiusBottomRightMobile":"5","borderRadiusBottomLeftMobile":"5","borderRadiusTopLeftMobile":"5","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World","gpDynamicSource":"next-post"} --\x3e <h3 class="gb-headline gb-headline-9d97a37f gb-headline-text">Hello World</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6c856070","isGrid":true,"gridId":"7bdd6853","width":25,"widthTablet":50,"widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","borderRadiusTopRight":"10","borderRadiusBottomRight":"10","borderRadiusTopRightTablet":"0","borderRadiusTopRightMobile":"0","borderRadiusBottomRightMobile":"5","bgImage":{"id":"","image":{"url":"https://generatepress.local/wp-content/plugins/gp-premium/elements/assets/admin/background-image-fallback.jpg"}},"verticalAlignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image","gpDynamicSource":"next-post","gpRemoveContainerCondition":"no-next-post"} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"ad40b681","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"139d60e4","hasUrl":true,"hasIcon":true,"removeText":true,"backgroundColor":"#b5b5b5","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#f9f9f9","marginRight":"-1.5","marginLeft":"1.5","marginUnit":"em","paddingTop":"15","paddingRight":"15","paddingBottom":"15","paddingLeft":"15","borderSizeTop":"7","borderSizeRight":"7","borderSizeBottom":"7","borderSizeLeft":"7","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","borderRadiusUnit":"%","iconSizeMobile":0.8,"gpDynamicLinkType":"single-post","gpDynamicSource":"next-post","opacities":[],"transitions":[],"boxShadows":[],"transforms":[],"textShadows":[],"filters":[]} --\x3e <a class="gb-button gb-button-139d60e4" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_do_template_part"},{key:"_generate_hook_priority",value:"1"},{key:"_generate_disable_post_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]}},Re={basic_1:{label:(0,l._x)("Inline with avatar","label","gp-premium"),thumbnail:"post-meta-inline.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8a25fc79","paddingTop":"15","paddingRight":"0","paddingBottom":"15","paddingLeft":"0","marginTop":"20","marginBottom":"20","borderSizeTop":"1","borderSizeBottom":"1","borderColor":"#e8edf0","showAdvancedTypography":true,"fontSize":14,"isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"3fb4928a","element":"div","marginLeft":"10","paddingRight":"10","inlineWidth":true,"gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author Name"} --\x3e <div class="gb-headline gb-headline-3fb4928a gb-headline-text">Author Name</div> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f9b55781","element":"div","borderColor":"#e8edf0","paddingLeft":"10","borderSizeLeft":"1","inlineWidth":true,"gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date"} --\x3e <div class="gb-headline gb-headline-f9b55781 gb-headline-text">Date</div> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8fca9ec9","element":"div","borderColor":"#e8edf0","marginLeft":"10","paddingLeft":"10","borderSizeLeft":"1","hasIcon":true,"inlineWidth":true,"gpDynamicTextType":"comments-number","gpDynamicLinkType":"comments","gpDynamicTextReplace":"Comments","gpDynamicTextTaxonomy":"category","gpDynamicNoCommentsText":"0","gpDynamicSingleCommentText":"1","gpDynamicMultipleCommentsText":"%"} --\x3e <div class="gb-headline gb-headline-8fca9ec9"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" width="1em" height="1em" viewBox="0 0 16 16"><path fill="currentColor" d="M14.2 14c.6-.5 1.8-1.6 1.8-3.2 0-1.4-1.2-2.6-2.8-3.3.5-.6.8-1.5.8-2.4C14 2.3 11.1 0 7.4 0 3.9 0 0 2.1 0 5.1c0 2.1 1.6 3.6 2.3 4.2-.1 1.2-.6 1.7-.6 1.7L.5 12H2c1.2 0 2.2-.3 3-.7.3 1.9 2.5 3.4 5.3 3.4h.5c.6.5 1.8 1.3 3.5 1.3h1.4l-1.1-.9s-.3-.3-.4-1.1zm-3.9-.3C8 13.7 6 12.4 6 10.9v-.2c.2-.2.4-.3.5-.5h.7c2.1 0 4-.7 5.2-1.9 1.5.5 2.6 1.5 2.6 2.5s-.9 2-1.7 2.5l-.3.2v.3c0 .5.2.8.3 1.1-1-.2-1.7-.7-1.9-1l-.1-.2h-1zM7.4 1C10.5 1 13 2.9 13 5.1s-2.6 4.1-5.8 4.1H6.1l-.1.2c-.3.4-1.5 1.2-3.1 1.5.1-.4.1-1 .1-1.8v-.3C2 8 .9 6.6.9 5.2.9 3 4.1 1 7.4 1z"></path></svg></span><span class="gb-headline-text">Comments</span></div> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"after-post-title"},{key:"_generate_disable_primary_post_meta",value:!0}]},basic_2:{label:(0,l._x)("Stacked with avatar","label","gp-premium"),thumbnail:"post-meta-avatar-stacked.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"a745be15","paddingTop":"20","paddingRight":"0","paddingBottom":"20","paddingLeft":"0","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"fe4d27a3","columns":2,"horizontalGap":15,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fd4592f4","isGrid":true,"gridId":"fe4d27a3","width":10,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":120} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"137e86ad","isGrid":true,"gridId":"fe4d27a3","width":90,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"d7bb0434","element":"p","marginBottom":"5","gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author Name"} --\x3e <p class="gb-headline gb-headline-d7bb0434 gb-headline-text">Author Name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"759ebd2f","element":"p","marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-759ebd2f gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"after-post-title"},{key:"_generate_disable_primary_post_meta",value:!0}]},basic_3:{label:(0,l._x)("Term buttons","label","gp-premium"),thumbnail:"post-meta-term-buttons.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"7134d7c2","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"621d2c31","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"e378fc0b","hasUrl":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontSize":13,"marginTop":"5","marginRight":"5","marginBottom":"5","marginLeft":"5","paddingTop":"10","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","borderRadiusTopRight":"20","borderRadiusBottomRight":"20","borderRadiusBottomLeft":"20","borderRadiusTopLeft":"20","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e <a class="gb-button gb-button-e378fc0b gb-button-text dynamic-term-class" href="#">Terms</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_post_meta_location",value:"before-post-title"},{key:"_generate_disable_primary_post_meta",value:!1}]}},Le={template_1:{label:(0,l._x)("Full footer 1","label","gp-premium"),thumbnail:"site-footer-full-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"73cd57e1","paddingTop":"140","paddingRight":"30","paddingBottom":"60","paddingLeft":"30","backgroundColor":"#1b1b42","shapeDividers":[],"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"b76f312f","columns":3,"horizontalGap":80,"verticalAlignment":"center","verticalGapTablet":40,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"53cb46e2","isGrid":true,"gridId":"41f809a3","width":60,"widthTablet":100,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"aa19f1fb","element":"h3","textColor":"#ffffff"} --\x3e <h3 class="gb-headline gb-headline-aa19f1fb gb-headline-text">Reach out to us for a consultation.</h3> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"41582601","element":"p","textColor":"#ffffff","paddingRight":"100","paddingRightTablet":"0"} --\x3e <p class="gb-headline gb-headline-41582601 gb-headline-text">Semper blandit suspendisse faucibus metus lobortis morbi magna vivamus per risus fermentum dapibus imperdiet praesent magnis.</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"a8276863","marginTop":"30","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"529d5dda","hasUrl":true,"backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#6212b3","backgroundColorHoverOpacity":0,"textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","borderColorHoverOpacity":0.8,"fontWeight":"600","marginRight":"20","marginBottomMobile":"20","paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","borderSizeTop":"3","borderSizeRight":"3","borderSizeBottom":"3","borderSizeLeft":"3","borderRadiusTopRight":"2","borderRadiusBottomRight":"2","borderRadiusBottomLeft":"2","borderRadiusTopLeft":"2"} --\x3e <a class="gb-button gb-button-529d5dda gb-button-text" href="https://gpsites.co/search/contact/">Contact Us</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e1bd60bb","isGrid":true,"gridId":"41f809a3","width":20,"widthTablet":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","removeVerticalGapTablet":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"37420255","element":"p","textColor":"#ffffff"} --\x3e <p class="gb-headline gb-headline-37420255 gb-headline-text">Company Name<br>Address Here<br>Address Here</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bf8e162e","element":"p","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#f2f5fa","marginBottom":"0","hasIcon":true,"iconPaddingTop":".1"} --\x3e <p class="gb-headline gb-headline-bf8e162e"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 43.3 59.3"><path d="M35 59.3H8.3C3.7 59.3 0 55.6 0 51V8.3C0 3.7 3.7 0 8.3 0H35c4.6 0 8.3 3.7 8.3 8.3V51c0 4.6-3.7 8.3-8.3 8.3zM8.3 6C7 6 6 7 6 8.3V51c0 1.3 1 2.3 2.3 2.3H35c1.3 0 2.3-1 2.3-2.3V8.3C37.3 7 36.3 6 35 6H8.3z"></path><path d="M21.7 48.7c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"></path></svg></span><span class="gb-headline-text">+1 000 000 0000</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"c762d353","isGrid":true,"gridId":"41f809a3","width":20,"widthTablet":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","removeVerticalGapTablet":true,"removeVerticalGapMobile":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"08544617","alignment":"right","alignmentTablet":"right","alignmentMobile":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"13c371f8","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"instagram link","backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","marginRight":"20","paddingTop":"6","paddingRight":"6","paddingBottom":"6","paddingLeft":"6","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","iconSize":0.8} --\x3e <a class="gb-button gb-button-13c371f8" href="#" aria-label="instagram link"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="1em" height="1em" aria-hidden="true"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"926332bd","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"twitter link","backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","marginRight":"20","paddingTop":"6","paddingRight":"6","paddingBottom":"6","paddingLeft":"6","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","iconSize":0.8} --\x3e <a class="gb-button gb-button-926332bd" href="#" aria-label="twitter link"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" aria-hidden="true"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"d957854e","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"facebook link","backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#f2f5fa","borderColor":"#ffffff","borderColorHover":"#f2f5fa","paddingTop":"6","paddingRight":"6","paddingBottom":"6","paddingLeft":"6","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","iconSize":0.8} --\x3e <a class="gb-button gb-button-d957854e" href="#" aria-label="facebook link"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="1em" height="1em" aria-hidden="true"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"0f87c806","paddingTop":"60","paddingRight":"0","paddingBottom":"60","paddingLeft":"0","marginTop":"60","borderSizeTop":"1","borderColor":"#ffffff","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"9cc30ed9","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"e6861bde","isGrid":true,"gridId":"60ab45cf","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"97c10964","element":"p","textColor":"#ffffff","showAdvancedTypography":true,"fontSize":17} --\x3e <p class="gb-headline gb-headline-97c10964 gb-headline-text">© Company Name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7c528044","isGrid":true,"gridId":"60ab45cf","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"d060803e","alignment":"right","alignmentMobile":"left","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"907cc664","hasUrl":true,"backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"","textColorHover":"#f2f5fa","showAdvancedTypography":true,"fontSize":17,"marginRight":"30"} --\x3e <a class="gb-button gb-button-907cc664 gb-button-text" href="#">Privacy Policy</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a6a340bc","hasUrl":true,"backgroundColor":"","textColor":"#ffffff","backgroundColorHover":"","textColorHover":"#f2f5fa","showAdvancedTypography":true,"fontSize":17} --\x3e <a class="gb-button gb-button-a6a340bc gb-button-text" href="#">Terms of Service</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e'},template_2:{label:(0,l._x)("Full footer 2","label","gp-premium"),thumbnail:"site-footer-full-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"e224c1dd","paddingTop":"80","paddingRight":"20","paddingBottom":"80","paddingLeft":"20","backgroundColor":"#fafbfc","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"34307d45","element":"p","alignment":"center","textColor":"#2e3d4d","showAdvancedTypography":true,"fontWeight":"bold","fontSize":14,"textTransform":"uppercase","letterSpacing":0.3,"marginTop":"10"} --\x3e <p class="gb-headline gb-headline-34307d45 gb-headline-text">Your Company Name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4068688a","paddingTop":"60","paddingRight":"20","paddingBottom":"60","paddingLeft":"20","marginTop":"60","marginBottom":"60","borderSizeTop":"1","borderSizeBottom":"1","borderColor":"#5c7a99","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"690686fb","columns":3,"horizontalGap":0,"verticalAlignment":"center","verticalGapMobile":40,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"12d457ad","isGrid":true,"gridId":"f5b096f9","width":32,"paddingTop":"0","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8818b435","element":"p","alignment":"center","showAdvancedTypography":true,"fontWeight":"bold","fontSize":13,"textTransform":"uppercase","letterSpacing":0.2,"marginBottom":"0"} --\x3e <p class="gb-headline gb-headline-8818b435 gb-headline-text">PH +1 000 000 0000</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"68ec175a","isGrid":true,"gridId":"f5b096f9","width":36,"paddingTop":"0","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","borderSizeRight":"1","borderSizeLeft":"1","borderSizeTopMobile":"0","borderSizeRightMobile":"0","borderSizeBottomMobile":"0","borderSizeLeftMobile":"0","borderColor":"#5c7a99","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"cf4dcfab","element":"p","alignment":"center","showAdvancedTypography":true,"fontWeight":"bold","fontSize":13,"textTransform":"uppercase","letterSpacing":0.2,"marginBottom":"0"} --\x3e <p class="gb-headline gb-headline-cf4dcfab gb-headline-text">24 M Drive<br>East Hampton, NY 11937</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"47f78435","isGrid":true,"gridId":"f5b096f9","width":32,"paddingTop":"0","paddingRight":"20","paddingBottom":"0","paddingLeft":"20","removeVerticalGapMobile":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"fd601b43","alignment":"center","marginBottom":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"2800ad9a","hasUrl":false,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.9} --\x3e <span class="gb-button gb-button-2800ad9a"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="1em" height="1em" aria-hidden="true"><path d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"eb98a6f6","hasUrl":false,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.9} --\x3e <span class="gb-button gb-button-eb98a6f6"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" width="1em" height="1em" aria-hidden="true"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"ab839eb9","hasUrl":false,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.8} --\x3e <span class="gb-button gb-button-ab839eb9"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="1em" height="1em" aria-hidden="true"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"5b757c38","hasUrl":false,"hasIcon":true,"removeText":true,"textColor":"#2e3d4d","textColorHover":"#5c7a99","marginRight":"20","iconSize":0.8} --\x3e <span class="gb-button gb-button-5b757c38"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="1em" height="1em" aria-hidden="true"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" fill="currentColor"></path></svg></span></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"424f95c0","columns":2,"verticalGapMobile":30,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc32f783","isGrid":true,"gridId":"90341e96","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1e50faeb","element":"p","alignment":"left","alignmentMobile":"center","showAdvancedTypography":true,"fontWeight":"bold","fontSize":12,"textTransform":"uppercase","letterSpacing":0.2} --\x3e <p class="gb-headline gb-headline-1e50faeb gb-headline-text">© Your Copyright Message</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b706d851","isGrid":true,"gridId":"90341e96","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","removeVerticalGapMobile":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"b4f65930","alignment":"right","alignmentMobile":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"373aae0d","hasUrl":false,"textColor":"#2e3d4d","textColorHover":"#5c7a99","showAdvancedTypography":true,"fontWeight":"bold","fontSize":12,"textTransform":"uppercase","letterSpacing":0.2,"marginRight":"30"} --\x3e <span class="gb-button gb-button-373aae0d gb-button-text"><strong>PRIVACY POLICY</strong></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"3cd1cf71","hasUrl":false,"textColor":"#2e3d4d","textColorHover":"#5c7a99","showAdvancedTypography":true,"fontWeight":"bold","fontSize":12,"textTransform":"uppercase","letterSpacing":0.2} --\x3e <span class="gb-button gb-button-3cd1cf71 gb-button-text"><strong>terms of service</strong></span> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e'}},Be={template_1:{label:(0,l._x)("Basic layout with term buttons","label","gp-premium"),thumbnail:"content-template-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"d2cafe96","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"6d7bfb40","marginBottom":"15","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"38620841","hasUrl":true,"backgroundColor":"#000000","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontSize":13,"paddingTop":"5","paddingRight":"10","paddingBottom":"5","paddingLeft":"10","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e <a class="gb-button gb-button-38620841 gb-button-text dynamic-term-class" href="#">Terms</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"f593ba8c","linkColor":"#000000","linkColorHover":"#858585","showAdvancedTypography":true,"fontWeight":"bold","marginBottom":"30","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Post Title"} --\x3e <h2 class="gb-headline gb-headline-f593ba8c gb-headline-text">Post Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"1ed16867","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"27f5a324","columns":2,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"dc72dc13","isGrid":true,"gridId":"10064c4d","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"c7b33e8b","element":"p","marginBottom":"0","marginLeft":"10","gpDynamicTextType":"post-author","gpDynamicLinkType":"author-archives","gpDynamicTextReplace":"Author name"} --\x3e <p class="gb-headline gb-headline-c7b33e8b gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ec93a944","isGrid":true,"gridId":"10064c4d","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"af8af68e","element":"p","marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-af8af68e gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b70b46a6","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginTop":"30","marginBottom":"30","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"medium_large","linkTo":"single-post"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"750"},{key:"_generate_use_theme_post_container",value:!0}]},template_2:{label:(0,l._x)("Layout with offset content","label","gp-premium"),thumbnail:"content-template-offset.jpg",content:'\x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large","linkTo":"single-post"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"05e7d83e","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","paddingSyncUnits":true,"marginTop":"-65","marginRight":"40","marginBottom":"20","marginLeft":"0","backgroundColor":"#ffffff","zindex":1,"showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"83898f1c","element":"p","linkColor":"#000000","linkColorHover":"#abb8c3","showAdvancedTypography":true,"fontWeight":"700","fontSize":14,"textTransform":"uppercase","marginBottom":"20","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-83898f1c gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"98a0e67b","showAdvancedTypography":true,"fontSize":28,"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-98a0e67b gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"fed802f7","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginTop":"20","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ee363d21","columns":2,"horizontalGap":0,"verticalAlignment":"flex-end","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"74fcc8db","isGrid":true,"gridId":"b23efd25","width":66.66,"widthMobile":66.66,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginTop":"15","isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarSize":35,"avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"33ed7660","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginLeft":"10","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2def9732","element":"p","borderColor":"","showAdvancedTypography":true,"fontSize":15,"marginBottom":"0","borderSizeRight":"0","gpDynamicTextType":"post-author","gpDynamicTextReplace":"Post author name"} --\x3e <p class="gb-headline gb-headline-2def9732 gb-headline-text">Post author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"dd34513e","element":"p","showAdvancedTypography":true,"fontSize":12,"marginRight":"10","marginBottom":"0","borderSizeBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-dd34513e gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"6d144082","isGrid":true,"gridId":"b23efd25","width":33.33,"widthMobile":33.33,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginTop":"15","verticalAlignment":"center","alignment":"right","isDynamic":true,"gpInlinePostMetaJustify":"flex-end"} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"ee5c36a9","alignment":"right","marginTop":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"7c89fc64","hasUrl":true,"backgroundColor":"","textColor":"#000000","backgroundColorHover":"","textColorHover":"#abb8c3","fontWeight":"700","textTransform":"uppercase","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-7c89fc64 gb-button-text" href="#">More</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_3:{label:(0,l._x)("Layout with featured image overlay","label","gp-premim"),thumbnail:"content-template-overlay.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"99e0f8fe","minHeight":420,"paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","borderRadiusTopRight":"12","borderRadiusBottomRight":"12","borderRadiusBottomLeft":"12","borderRadiusTopLeft":"12","gradient":true,"gradientDirection":180,"gradientColorOne":"#000000","gradientColorOneOpacity":0.62,"gradientColorTwoOpacity":0,"gradientSelector":"pseudo-element","textColor":"#ffffff","linkColor":"#ffffff","linkColorHover":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"isDynamic":true,"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"864271b1","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginBottom":"10","isDynamic":true,"gpInlinePostMeta":true,"gpInlinePostMetaJustify":"space-between"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"bc0ec4fa","element":"p","showAdvancedTypography":true,"fontWeight":"700","fontSize":13,"textTransform":"uppercase","marginRight":"10","marginBottom":"0","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category","gpDynamicTextTaxonomySeparator":" / "} --\x3e <p class="gb-headline gb-headline-bc0ec4fa gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"5e2dac4c","element":"p","alignment":"right","showAdvancedTypography":true,"fontSize":12,"marginBottom":"0","hasIcon":true,"iconSize":1.4,"gpDynamicTextType":"comments-number","gpDynamicTextReplace":"COMMENTS","gpDynamicNoCommentsText":"0","gpDynamicSingleCommentText":"1","gpDynamicMultipleCommentsText":"%"} --\x3e <p class="gb-headline gb-headline-5e2dac4c"><span class="gb-icon"><svg stroke-miterlimit="2" stroke-linejoin="round" clip-rule="evenodd" fill-rule="evenodd" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 7"><path fill-rule="nonzero" d="M.67 0A.674.674 0 000 .67v4.093c0 .367.303.671.67.671h.555V6.73c0 .145.119.265.264.265a.26.26 0 00.157-.052l2.047-1.509h4.104c.366 0 .67-.304.67-.67V.67a.675.675 0 00-.67-.67H.67z"></path></svg></span><span class="gb-headline-text">COMMENTS</span></p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"b1e898af","showAdvancedTypography":true,"fontSize":24,"marginUnit":"%","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-b1e898af gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"3413b754","alignment":"right","marginTop":"300","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"95f40917","hasUrl":true,"backgroundColor":"#ffffff","textColor":"#000000","backgroundColorHover":"#ffffff","backgroundColorHoverOpacity":0.75,"textColorHover":"#000000","borderColor":"#ffffff","borderColorHover":"#ffffff","showAdvancedTypography":true,"fontWeight":"700","fontSize":12,"textTransform":"uppercase","paddingTop":"10","paddingRight":"20","paddingBottom":"10","paddingLeft":"20","borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"8","borderRadiusBottomRight":"8","borderRadiusBottomLeft":"8","borderRadiusTopLeft":"8","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-95f40917 gb-button-text" href="#">Read More</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_4:{label:(0,l._x)("Layout with slanted shape divider","label","gp-premim"),thumbnail:"content-template-slant.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af7ec3a","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"borderSizeTop":"0","borderSizeRight":"0","borderSizeBottom":"0","borderSizeLeft":"0","borderColor":"#000000","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"cc5683f8","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginTop":"0","marginBottom":"0","zindex":1,"showAdvancedTypography":true,"fontSize":14,"shapeDividers":[{"shape":"gb-angle-1","color":"#ffffff","colorOpacity":1,"location":"bottom","height":50,"heightTablet":"","heightMobile":"","width":100,"widthTablet":"","widthMobile":"","flipHorizontally":false,"zindex":""}],"isDynamic":true} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"7f6bf8cd","paddingTop":"0","paddingRight":"25","paddingBottom":"15","paddingLeft":"25","marginTop":"0","marginRight":"0","marginBottom":"0","marginLeft":"0","backgroundColor":"#ffffff","zindex":1,"showAdvancedTypography":true,"shapeDividers":[],"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"7fd9c317","element":"p","showAdvancedTypography":true,"fontSize":14,"marginBottom":"5","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-7fd9c317 gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"a8ee15fd","showAdvancedTypography":true,"fontSize":30,"marginBottom":"15","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e <h2 class="gb-headline gb-headline-a8ee15fd gb-headline-text">Hello World</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"bc9ef703","alignment":"right","marginTop":"15","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"120ee35e","hasUrl":true,"backgroundColor":"","textColor":"#000000","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontWeight":"700","textTransform":"uppercase","paddingTop":"15","paddingRight":"20","paddingBottom":"15","paddingLeft":"20","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-120ee35e gb-button-text" href="#">Read More</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_5:{label:(0,l._x)("Layout with centered content","label","gp-premim"),thumbnail:"content-template-centered.jpg",content:'\x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"5a785d21","paddingTop":"25","paddingRight":"25","paddingBottom":"25","paddingLeft":"25","paddingSyncUnits":true,"backgroundColor":"#ffffff","alignment":"center","showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"82629d5c","linkColor":"#000000","showAdvancedTypography":true,"fontWeight":"700","fontSize":25,"gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e <h2 class="gb-headline gb-headline-82629d5c gb-headline-text">Hello World</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":15,"useThemeMoreLink":false} /--\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"ad806696","alignment":"center","marginTop":"20","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"a1b8a609","hasUrl":true,"backgroundColor":"#cf2e2e","textColor":"#ffffff","backgroundColorHover":"#222222","textColorHover":"#ffffff","showAdvancedTypography":true,"fontSize":15,"textTransform":"uppercase","paddingTop":"8","paddingRight":"20","paddingBottom":"8","paddingLeft":"20","borderRadiusTopRight":"50","borderRadiusBottomRight":"50","borderRadiusBottomLeft":"50","borderRadiusTopLeft":"50","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-a1b8a609 gb-button-text" href="#">Read more</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_6:{label:(0,l._x)("Layout with borders","label","gp-premim"),thumbnail:"content-template-borders.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"0af4cc7c","paddingTop":"5","paddingRight":"5","paddingBottom":"5","paddingLeft":"5","paddingSyncUnits":true,"borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"2","borderRadiusBottomRight":"2","borderRadiusBottomLeft":"2","borderRadiusTopLeft":"2","borderColor":"#b6b6b6","backgroundColor":"#ffffff","isDynamic":true} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"large"} /--\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"b69b5c43","paddingTop":"30","paddingRight":"30","paddingBottom":"30","paddingLeft":"30","paddingSyncUnits":true,"showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"8dfa4238","element":"p","textColor":"#0693e3","showAdvancedTypography":true,"fontWeight":"700","fontSize":14,"textTransform":"uppercase","marginBottom":"5","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Terms","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-8dfa4238 gb-headline-text dynamic-term-class">Terms</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"29491daa","showAdvancedTypography":true,"fontSize":30,"marginBottom":"15","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Hello World"} --\x3e <h2 class="gb-headline gb-headline-29491daa gb-headline-text">Hello World</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":25,"useThemeMoreLink":false} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d5dadc43","paddingTop":"15","paddingRight":"10","paddingBottom":"10","paddingLeft":"10","borderSizeTop":"1","borderColor":"#b6b6b6","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"3da68acd","columns":2,"verticalAlignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"2c30b1f9","isGrid":true,"gridId":"3da68acd","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fc06eba3","element":"p","textColor":"#b6b6b6","showAdvancedTypography":true,"fontSize":14,"marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicTextTaxonomy":"category","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-fc06eba3 gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"9bb8c373","isGrid":true,"gridId":"3da68acd","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"afc412f8","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"0fcad1cd","hasUrl":true,"backgroundColor":"","textColor":"#0693e3","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#0693e3","borderColorHover":"#222222","textTransform":"uppercase","paddingTop":"8","paddingRight":"12","paddingBottom":"8","paddingLeft":"12","borderSizeTop":"2","borderSizeRight":"2","borderSizeBottom":"2","borderSizeLeft":"2","borderRadiusTopRight":"2","borderRadiusBottomRight":"2","borderRadiusBottomLeft":"2","borderRadiusTopLeft":"2","gpDynamicLinkType":"single-post"} --\x3e <a class="gb-button gb-button-0fcad1cd gb-button-text" href="#">Read more</a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"500"},{key:"_generate_use_theme_post_container",value:!1}]},template_7:{label:(0,l._x)("Landscape layout","label","gp-premium"),thumbnail:"content-template-landscape.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"918d68ce","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"ae18e4a9","columns":2,"verticalGapMobile":10,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ff15641f","isGrid":true,"gridId":"ae18e4a9","width":40,"widthTablet":40,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true,"gpRemoveContainerCondition":"no-featured-image"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"featured-image","imageSize":"medium_large","linkTo":"single-post"} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"64596747","isGrid":true,"gridId":"ae18e4a9","width":60,"widthTablet":60,"paddingTop":"0","paddingRight":"20","paddingBottom":"10","paddingLeft":"0","paddingTopMobile":"10","paddingRightMobile":"10","paddingBottomMobile":"10","paddingLeftMobile":"10","verticalAlignment":"center","showAdvancedTypography":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"ce3f6f48","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","marginBottom":"10","showAdvancedTypography":true,"isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"fdbba1f9","element":"p","showAdvancedTypography":true,"fontWeight":"900","fontSize":14,"textTransform":"uppercase","marginRight":"10","marginBottom":"0","paddingRight":"10","borderSizeRight":"1","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-fdbba1f9 gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"6df4d39e","element":"p","showAdvancedTypography":true,"fontSize":14,"marginRight":"10","marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-6df4d39e gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"84923e14","showAdvancedTypography":true,"fontSize":28,"marginBottom":"20","gpDynamicTextType":"title","gpDynamicLinkType":"single-post","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-84923e14 gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","excerptLength":20} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_block_element_editor_width_unit",value:"px"},{key:"_generate_block_element_editor_width",value:"800"},{key:"_generate_use_theme_post_container",value:!0}]}},Ee={template_1:{label:(0,l._x)("Default next and previous buttons","label","gp-premium"),thumbnail:"archive-navigation-buttons-2.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"fb6c192f","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"fe27e101","columns":2,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"af38c5d0","isGrid":true,"gridId":"fe27e101","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"9396ea35","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"aa4ef21a","hasUrl":true,"hasIcon":true,"backgroundColor":"","textColor":"","backgroundColorHover":"","textColorHover":"","className":"button","gpDynamicLinkType":"previous-posts"} --\x3e <a class="gb-button gb-button-aa4ef21a button" href="#"><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></span><span class="gb-button-text">Previous</span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4f3ab895","isGrid":true,"gridId":"fe27e101","widthMobile":50,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"8fcd7911","alignment":"right","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"84010058","hasUrl":true,"hasIcon":true,"iconLocation":"right","backgroundColor":"","textColor":"","backgroundColorHover":"","textColorHover":"","iconPaddingRight":"","iconPaddingLeft":"0.5","className":"button","gpDynamicLinkType":"next-posts"} --\x3e <a class="gb-button gb-button-84010058 button" href="#"><span class="gb-button-text">Next</span><span class="gb-icon"><svg aria-hidden="true" height="1em" width="1em" viewBox="0 0 256 512" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_main_content"},{key:"_generate_hook_priority",value:"20"},{key:"_generate_disable_archive_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!0}]},template_2:{label:(0,l._x)("Rounded buttons with icon","label","gp-premium"),thumbnail:"archive-navigation-buttons-1.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"5edb5029","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button-container {"uniqueId":"c7866401","alignment":"center","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"4c23c469","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"Previous page","backgroundColor":"#ffffff","textColor":"#000000","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#000000","marginTop":"5","marginRight":"5","marginBottom":"5","marginLeft":"5","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","gpDynamicLinkType":"previous-posts"} --\x3e <a class="gb-button gb-button-4c23c469" href="#" aria-label="Previous page"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" width="1em" height="1em" aria-hidden="true"><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- wp:generateblocks/button {"uniqueId":"55622f43","hasUrl":true,"hasIcon":true,"removeText":true,"ariaLabel":"Next page","backgroundColor":"#ffffff","textColor":"#000000","backgroundColorHover":"#222222","textColorHover":"#ffffff","borderColor":"#000000","marginTop":"5","marginRight":"5","marginBottom":"5","marginLeft":"5","paddingTop":"20","paddingRight":"20","paddingBottom":"20","paddingLeft":"20","borderSizeTop":"1","borderSizeRight":"1","borderSizeBottom":"1","borderSizeLeft":"1","borderRadiusTopRight":"100","borderRadiusBottomRight":"100","borderRadiusBottomLeft":"100","borderRadiusTopLeft":"100","gpDynamicLinkType":"next-posts"} --\x3e <a class="gb-button gb-button-55622f43" href="#" aria-label="Next page"><span class="gb-icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" width="1em" height="1em" aria-hidden="true"><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z" fill="currentColor"></path></svg></span></a> \x3c!-- /wp:generateblocks/button --\x3e \x3c!-- /wp:generateblocks/button-container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_main_content"},{key:"_generate_hook_priority",value:"20"},{key:"_generate_disable_archive_navigation",value:!0},{key:"_generate_use_archive_navigation_container",value:!1}]}},Oe={template_1:{label:(0,l._x)("Basic single post page hero","label","gp-premium"),thumbnail:"page-hero-basic.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"8b6d1c4b","paddingTop":"150","paddingBottom":"150","backgroundColor":"#000000","textColor":"#ffffff","linkColor":"#ffffff","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"pseudo-element","opacity":0.3,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"alignment":"center","isDynamic":true,"gpDynamicImageBg":"featured-image"} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"62a8b2cc","element":"h1","showAdvancedTypography":true,"fontSize":50,"gpDynamicTextType":"title","gpDynamicTextReplace":"Page Title"} --\x3e <h1 class="gb-headline gb-headline-62a8b2cc gb-headline-text">Page Title</h1> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"f49b9f49","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"isDynamic":true,"gpInlinePostMeta":true,"gpInlinePostMetaJustify":"center"} --\x3e \x3c!-- wp:generatepress/dynamic-image {"imageType":"author-avatar","avatarRounded":true} /--\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"2e715b13","element":"p","marginBottom":"0","marginLeft":"10","gpDynamicTextType":"post-author","gpDynamicTextReplace":"Author name"} --\x3e <p class="gb-headline gb-headline-2e715b13 gb-headline-text">Author name</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"dedbe2c8","element":"p","marginBottom":"0","marginLeft":"20","paddingLeft":"20","borderSizeLeft":"1","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Post date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-dedbe2c8 gb-headline-text">Post date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_header"},{key:"_generate_disable_title",value:!0},{key:"_generate_disable_featured_image",value:!0},{key:"_generate_disable_primary_post_meta",value:!0}]},template_2:{label:(0,l._x)("Single post hero with excerpt","label","gp-premium"),thumbnail:"page-hero-excerpt.jpg",content:'\x3c!-- wp:generateblocks/container {"uniqueId":"70385d72","paddingTop":"80","paddingRight":"40","paddingBottom":"80","paddingLeft":"40","isDynamic":true} --\x3e \x3c!-- wp:generateblocks/grid {"uniqueId":"5dc55b95","columns":2,"horizontalGap":80,"verticalGap":20,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"579e5b87","isGrid":true,"gridId":"fde86e48","width":45,"widthTablet":60,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","verticalAlignment":"center","showAdvancedTypography":true,"fontSize":14,"isDynamic":true} --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"d909e043","paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","paddingSyncUnits":true,"marginBottom":"10","isDynamic":true,"gpInlinePostMeta":true} --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"9fdb86dc","element":"p","textColor":"#000000","linkColor":"#000000","showAdvancedTypography":true,"fontWeight":"900","fontSize":14,"textTransform":"uppercase","marginRight":"10","marginBottom":"0","paddingRight":"10","borderSizeRight":"1","className":"dynamic-term-class","gpDynamicTextType":"terms","gpDynamicLinkType":"term-archives","gpDynamicTextReplace":"Category","gpDynamicTextTaxonomy":"category"} --\x3e <p class="gb-headline gb-headline-9fdb86dc gb-headline-text dynamic-term-class">Category</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"1ee4cbcf","element":"p","showAdvancedTypography":true,"fontSize":14,"marginRight":"10","marginBottom":"0","gpDynamicTextType":"post-date","gpDynamicTextReplace":"Date","gpDynamicDateUpdated":true} --\x3e <p class="gb-headline gb-headline-1ee4cbcf gb-headline-text">Date</p> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/headline {"uniqueId":"56c7eb13","marginBottom":"10","gpDynamicTextType":"title","gpDynamicTextReplace":"Title"} --\x3e <h2 class="gb-headline gb-headline-56c7eb13 gb-headline-text">Title</h2> \x3c!-- /wp:generateblocks/headline --\x3e \x3c!-- wp:generatepress/dynamic-content {"contentType":"post-excerpt","useThemeMoreLink":false} /--\x3e \x3c!-- /wp:generateblocks/container --\x3e \x3c!-- wp:generateblocks/container {"uniqueId":"4e92c4e8","isGrid":true,"gridId":"fde86e48","width":55,"widthTablet":40,"minHeight":400,"minHeightMobile":250,"paddingTop":"0","paddingRight":"0","paddingBottom":"0","paddingLeft":"0","bgImage":{"id":"","image":{"url":"#dynamic-background-image"}},"bgOptions":{"selector":"element","opacity":1,"overlay":false,"position":"center center","size":"cover","repeat":"no-repeat","attachment":""},"isDynamic":true,"gpDynamicImageBg":"featured-image","gpUseFallbackImageBg":true} /--\x3e \x3c!-- /wp:generateblocks/grid --\x3e \x3c!-- /wp:generateblocks/container --\x3e',meta:[{key:"_generate_hook",value:"generate_after_header"},{key:"_generate_disable_title",value:!0},{key:"_generate_disable_featured_image",value:!0},{key:"_generate_disable_primary_post_meta",value:!0}]}},Pe=window.wp.plugins,Me=window.wp.editPost,ze=window.wp.data,qe=window.wp.domReady,je=n.n(qe);function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ne=function(e){C(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=S(t);if(n){var o=S(this).constructor;e=Reflect.construct(a,arguments,o)}else e=a.apply(this,arguments);return D(this,e)});function r(){var e;return v(this,r),(e=a.apply(this,arguments)).getWidth=e.getWidth.bind(w(e)),e.state={installingPlugin:!1,pluginInstalled:!1},e}return k(r,[{key:"componentDidMount",value:function(){var e,t=document.createElement("style");t.id="gp-block-elements-css",document.head.appendChild(t),t.innerHTML="html {--gp-block-element-width: ".concat(this.getWidth().width).concat(this.getWidth().unit,"}");var n=document.querySelector(".editor-styles-wrapper");if(null==n||null===(e=n.style)||void 0===e||e.setProperty("--content-width",this.getWidth().width+this.getWidth().unit),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["generatepress-block-element/generatepress-block-element"]){var a=wp.data.select("core/edit-post").getPreference("panels")["generatepress-block-element/generatepress-block-element"];void 0!==a&&a.opened||wp.data.dispatch("core/edit-post").toggleEditorPanelOpened("generatepress-block-element/generatepress-block-element")}if(this.props.meta._generate_block_type||this.props.updateMeta({_generate_block_type:"hook"}),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["page-attributes"]){var o=wp.data.select("core/edit-post").getPreference("panels")["page-attributes"];void 0===o||!o.enabled&&void 0!==o.enabled||wp.data.dispatch("core/edit-post").toggleEditorPanelEnabled("page-attributes")}this.props.elementParent&&document.body.classList.add("element-has-parent")}},{key:"componentDidUpdate",value:function(){var e;document.getElementById("gp-block-elements-css").innerHTML="html {--gp-block-element-width: ".concat(this.getWidth().width).concat(this.getWidth().unit,"}");var t=document.querySelector(".editor-styles-wrapper");null==t||null===(e=t.style)||void 0===e||e.setProperty("--content-width",this.getWidth().width+this.getWidth().unit);var n=wp.data.select("core/editor").getEditedPostAttribute("meta");if("content-template"===n._generate_block_type&&(n._generate_use_theme_post_container?document.body.classList.contains("using-theme-post-container")||document.body.classList.add("using-theme-post-container"):document.body.classList.contains("using-theme-post-container")&&document.body.classList.remove("using-theme-post-container")),"archive-navigation-template"!==n._generate_block_type&&"post-navigation-template"!==n._generate_block_type||(n._generate_use_archive_navigation_container?document.body.classList.contains("using-theme-pagination-container")||document.body.classList.add("using-theme-pagination-container"):document.body.classList.contains("using-theme-pagination-container")&&document.body.classList.remove("using-theme-pagination-container")),"undefined"!==wp.data.select("core/edit-post").getPreference("panels")["page-attributes"]){var a=wp.data.select("core/edit-post").getPreference("panels")["page-attributes"];void 0!==a&&a.enabled&&wp.data.dispatch("core/edit-post").toggleEditorPanelEnabled("page-attributes")}!this.props.elementParent&&!n._generate_post_loop_item_display||document.body.classList.contains("element-has-parent")?this.props.elementParent&&n._generate_post_loop_item_display||!document.body.classList.contains("element-has-parent")||document.body.classList.remove("element-has-parent"):document.body.classList.add("element-has-parent")}},{key:"getWidth",value:function(){var e=wp.data.select("core/editor").getEditedPostAttribute("meta"),t=100,n="%";return"left-sidebar"===e._generate_block_type&&(t=gpPremiumBlockElements.leftSidebarWidth,n="px"),"right-sidebar"===e._generate_block_type&&(t=gpPremiumBlockElements.rightSidebarWidth,n="px"),"content-template"!==e._generate_block_type&&"post-meta-template"!==e._generate_block_type&&"post-navigation-template"!==e._generate_block_type||(t=gpPremiumBlockElements.contentWidth,n="px"),e._generate_block_element_editor_width&&(t=wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_element_editor_width),e._generate_block_element_editor_width_unit&&(n=wp.data.select("core/editor").getEditedPostAttribute("meta")._generate_block_element_editor_width_unit),{width:t,unit:n}}},{key:"render",value:function(){var e=this.props,t=e.meta,n=void 0===t?{}:t,a=n._generate_block_element_editor_width,r=n._generate_block_element_editor_width_unit,c=n._generate_block_type,s=n._generate_hook,d=n._generate_custom_hook,g=n._generate_hook_priority,u=n._generate_post_loop_item_tagname,m=n._generate_post_meta_location,b=n._generate_disable_primary_post_meta,h=n._generate_disable_secondary_post_meta,f=n._generate_disable_title,y=n._generate_disable_featured_image,x=n._generate_use_theme_post_container,v=n._generate_post_loop_item_display,_=n._generate_post_loop_item_display_tax,k=n._generate_post_loop_item_display_term,w=n._generate_post_loop_item_display_post_meta,T=n._generate_disable_post_navigation,C=n._generate_disable_archive_navigation,D=n._generate_use_archive_navigation_container,S=e.updateMeta,I=e.updateParentId,R=e.updateOrder,L=e.elementParent,B=e.elementMenuOrder,E=[];Object.keys(gpPremiumBlockElements.hooks).forEach((function(e){var t=[],n=gpPremiumBlockElements.hooks[e].group,a=gpPremiumBlockElements.hooks[e].hooks;Object.keys(a).forEach((function(e){t.push({value:a[e],name:a[e].replace("generate_","").replace("woocommerce_","")})})),E.push({type:"group",name:n,items:t})})),E.push({type:"group",name:(0,l.__)("Custom","gp-premium"),items:[{value:"custom",name:(0,l.__)("Custom Hook","gp-premium")}]});var O=[{label:(0,l.__)("Choose…","gp-premium"),value:""}],P=gpPremiumBlockElements.taxonomies;P&&Object.keys(P).forEach((function(e){O.push({label:P[e],value:P[e]})}));var M=[{label:(0,l.__)("Choose…","gp-premium"),value:""}];"page-hero"===c&&M.push({label:(0,l.__)("After header","gp-premium"),value:"generate_after_header"},{label:(0,l.__)("Before content container","gp-premium"),value:"generate_before_main_content"},{label:(0,l.__)("Before content","gp-premium"),value:"generate_before_content"}),"post-navigation-template"===c&&M.push({label:(0,l.__)("After content","gp-premium"),value:"generate_after_content"},{label:(0,l.__)("After content container","gp-premium"),value:"generate_after_do_template_part"});var z="";"post-navigation-template"===c&&(z=Ie),"post-meta-template"===c&&(z=Re),"site-footer"===c&&(z=Le),"content-template"===c&&(z=Be),"archive-navigation-template"===c&&(z=Ee),"page-hero"===c&&(z=Oe);var q=[],j=gpPremiumBlockElements.parentElements;return j&&Object.keys(j).forEach((function(e){q.push({label:j[e].label,value:j[e].id})})),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(Me.PluginDocumentSettingPanel,{name:"generatepress-block-element",title:(0,l.__)("Block Element","gp-premium"),className:"gpp-block-element-panel gpp-element-panel-label",icon:i("generatepress")},!gpPremiumBlockElements.isGenerateBlocksActive&&(0,o.createElement)(p.BaseControl,null,(0,o.createElement)("p",null,(0,l.__)("To take full advantage of Block Elements, we suggest using our GenerateBlocks plugin.","gp-premium")),gpPremiumBlockElements.isGenerateBlocksInstalled?(0,o.createElement)("a",{href:gpPremiumBlockElements.activateLink,className:"components-button is-primary"},(0,l.__)("Activate GenerateBlocks","gp-premium")):(0,o.createElement)("a",{href:gpPremiumBlockElements.installLink,className:"components-button is-primary"},(0,l.__)("Install GenerateBlocks","gp-premium"))),(0,o.createElement)($,{label:(0,l.__)("Editor width","gp-premium"),value:r||this.getWidth().unit,units:["px","%"],onClick:function(e){S({_generate_block_element_editor_width_unit:e||""})}}),(0,o.createElement)(p.TextControl,{type:"number",onChange:function(e){S({_generate_block_element_editor_width:e||""})},placeholder:this.getWidth().width,value:a||""}),(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Element type","gp-premium"),value:c,options:[{label:(0,l.__)("Hook","gp-premium"),value:"hook"},{label:(0,l.__)("Site Header","gp-premium"),value:"site-header"},{label:(0,l.__)("Page Hero","gp-premium"),value:"page-hero"},{label:(0,l.__)("Content Template","gp-premium"),value:"content-template"},{label:(0,l.__)("Loop Template","gp-premium"),value:"loop-template"},{label:(0,l.__)("Post Meta Template","gp-premium"),value:"post-meta-template"},{label:(0,l.__)("Post Navigation","gp-premium"),value:"post-navigation-template"},{label:(0,l.__)("Archive Navigation","gp-premium"),value:"archive-navigation-template"},{label:(0,l.__)("Right Sidebar","gp-premium"),value:"right-sidebar"},{label:(0,l.__)("Left Sidebar","gp-premium"),value:"left-sidebar"},{label:(0,l.__)("Site Footer","gp-premium"),value:"site-footer"},{label:(0,l.__)("Search Modal","gp-premium"),value:"search-modal"}],onChange:function(e){document.body.classList.remove(c+"-block-type"),document.body.classList.add(e+"-block-type"),S("page-hero"===e?{_generate_block_type:e,_generate_hook:"generate_after_header",_generate_block_element_editor_width_unit:"%",_generate_block_element_editor_width:"100"}:"post-navigation-template"===e?{_generate_block_type:e,_generate_hook:"generate_after_do_template_part",_generate_block_element_editor_width_unit:"%",_generate_block_element_editor_width:"100"}:"archive-navigation-template"===e?{_generate_block_type:e,_generate_hook:"generate_after_main_content",_generate_hook_priority:"20",_generate_block_element_editor_width_unit:"%",_generate_block_element_editor_width:"100"}:{_generate_block_type:e,_generate_block_element_editor_width_unit:"",_generate_block_element_editor_width:""})}}),gpPremiumBlockElements.isGenerateBlocksActive&&!!z&&(0,o.createElement)(p.BaseControl,null,(0,o.createElement)(p.PanelBody,{initialOpen:!1,name:"generatepress-block-element-templates",title:(0,l.__)("Templates","gp-premium"),className:"gpp-block-element-template-panel"},Object.keys(z).map((function(e){return(0,o.createElement)("button",{key:e,className:"gpp-block-elements-template-button",onClick:function(){z[e].content=z[e].content.replaceAll("#dynamic-background-image",gpPremiumBlockElements.bgImageFallback);var t=(0,F.parse)(z[e].content),n=wp.data.select("core/block-editor").getBlocks(),a=!1;1===n.length&&("core/paragraph"!==n[0].name||n[0].attributes.content||(a=!0)),t.length&&(a?wp.data.dispatch("core/block-editor").replaceBlocks(n[0].clientId,t):wp.data.dispatch("core/block-editor").insertBlocks(t));var o=z[e].meta,r={};o&&o.forEach((function(e){r[e.key]=e.value})),Object.keys(r).length>0&&S(r)}},void 0!==z[e].thumbnail&&!!z[e].thumbnail&&(0,o.createElement)(J.ZP,{overflow:!0,once:!0},(0,o.createElement)("img",{src:gpPremiumBlockElements.templateImageUrl+"/"+z[e].thumbnail,alt:z[e].label})),(0,o.createElement)("div",{className:"gpp-block-template-label"},z[e].label))})))),("right-sidebar"===c||"left-sidebar"===c)&&(0,o.createElement)(p.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},(0,l.__)("This will remove the current sidebar widgets for the selected sidebar. Your layout must have a sidebar set for this Element to show.","gp-premium")),"site-footer"===c&&(0,o.createElement)(p.BaseControl,null,(0,o.createElement)(p.Notice,{status:"info",isDismissible:!1,className:"gpp-block-element-notice"},(0,l.__)("This Element will replace your site footer area that holds your copyright message. It will not replace footer widgets if they exist.","gp-premium"))),"post-meta-template"===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Location","gp-premium"),value:m,options:[{label:(0,l.__)("After post title","gp-premium"),value:"after-post-title"},{label:(0,l.__)("Before post title","gp-premium"),value:"before-post-title"},{label:(0,l.__)("After content","gp-premium"),value:"after-content"},{label:(0,l.__)("Custom","gp-premium"),value:"custom"}],onChange:function(e){S({_generate_post_meta_location:e})}})),M.length>1&&(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Quick hook select","gp-premium"),value:s||"",options:M,onChange:function(e){S({_generate_hook:e})}}),(!c||"hook"===c||"page-hero"===c||"post-navigation-template"===c||"archive-navigation-template"===c||"post-meta-template"===c&&"custom"===m)&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.BaseControl,{id:"gpp-hook-select",label:(0,l.__)("Hook name","gp-premium"),className:"gpp-hook-select"},(0,o.createElement)(Se,{options:E,className:function(e){return"container"===e?"gpp-block-element-search-select":"input"===e?"components-text-control__input":"select-search__"+e},value:s,placeholder:(0,l.__)("Choose your hook","gp-premium"),search:!0,onChange:function(e){e!==s&&S({_generate_hook:e||""})}})),"custom"===s&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Custom hook name","gp-premium"),type:"text",onChange:function(e){S({_generate_custom_hook:e||""})},value:d||""}),!!s&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Priority","gp-premium"),type:"text",onChange:function(e){S({_generate_hook_priority:e||""})},value:g||"",placeholder:"10"})),"post-meta-template"===c&&(0,o.createElement)(o.Fragment,null,(""===m||"after-post-title"===m||"before-post-title"===m||"custom"===m)&&(0,o.createElement)(p.ToggleControl,{checked:!!b,label:(0,l.__)("Replace default primary post meta","gp-premium"),onChange:function(e){S({_generate_disable_primary_post_meta:e})}}),("after-content"===m||"custom"===m)&&(0,o.createElement)(p.ToggleControl,{checked:!!h,label:(0,l.__)("Replace default secondary post meta","gp-premium"),onChange:function(e){S({_generate_disable_secondary_post_meta:e})}})),"content-template"===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Tag name","gp-premium"),value:u,options:[{label:"article",value:"article"},{label:"div",value:"div"},{label:"section",value:"section"},{label:"aside",value:"aside"}],onChange:function(e){S({_generate_post_loop_item_tagname:e})}}),(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Apply to","gp-premium"),value:v,options:[{label:(0,l.__)("All posts","gp-premium"),value:""},{label:(0,l.__)("Posts with term","gp-premium"),value:"has-term"},{label:(0,l.__)("Posts with custom field","gp-premium"),value:"has-post-meta"},{label:(0,l.__)("First post","gp-premium"),value:"is-first-post"}],onChange:function(e){S({_generate_post_loop_item_display:e})}}),""!==v&&(0,o.createElement)(o.Fragment,null,"has-term"===v&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.SelectControl,{label:(0,l.__)("Taxonomy","gp-premium"),value:_,options:O,onChange:function(e){S({_generate_post_loop_item_display_tax:e})}}),!!_&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Term name","gp-premium"),type:"text",onChange:function(e){S({_generate_post_loop_item_display_term:e||""})},value:k||""})),"has-post-meta"===v&&(0,o.createElement)(p.TextControl,{label:(0,l.__)("Post meta name","gp-premium"),type:"text",onChange:function(e){S({_generate_post_loop_item_display_post_meta:e||""})},value:w||""}),q.length>0&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.BaseControl,null,(0,o.createElement)(p.ComboboxControl,{className:"editor-page-attributes__parent",label:(0,l.__)("Parent Element","gp-premium"),help:(0,l.__)("Set a parent Element to inherit in case the above conditions do not apply.","gp-premim"),value:L,options:q,onFilterValueChange:function(e){e&&Y()(I(e),300)},onChange:function(e){I(e)}})),!!L&&(0,o.createElement)(p.TextControl,{type:"number",label:(0,l.__)("Display Order","gp-premium"),onChange:function(e){R(e)},value:B}))),(0,o.createElement)(p.ToggleControl,{checked:!!x,label:(0,l.__)("Keep default post container","gp-premium"),onChange:function(e){S({_generate_use_theme_post_container:e})}})),"page-hero"===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{checked:!!f,label:(0,l.__)("Disable title","gp-premium"),onChange:function(e){S({_generate_disable_title:e})}}),(0,o.createElement)(p.ToggleControl,{checked:!!y,label:(0,l.__)("Disable featured image","gp-premium"),onChange:function(e){S({_generate_disable_featured_image:e})}}),(0,o.createElement)(p.ToggleControl,{checked:!!b,label:(0,l.__)("Disable primary post meta","gp-premium"),onChange:function(e){S({_generate_disable_primary_post_meta:e})}})),"site-footer"===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.TextControl,{className:"gpp-block-dynamic-year",type:"text",readOnly:!0,value:"{{current_year}}",label:(0,l.__)("Current year template tag","gp-premium"),help:(0,l.__)("Use the above template tag to add the current year to your footer.","gp-premium")})),"post-navigation-template"===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{checked:!!T,label:(0,l.__)("Disable default post navigation","gp-premium"),onChange:function(e){S({_generate_disable_post_navigation:e})}}),(0,o.createElement)(p.ToggleControl,{checked:!!D,label:(0,l.__)("Add default archive navigation container","gp-premium"),onChange:function(e){S({_generate_use_archive_navigation_container:e})}})),"archive-navigation-template"===c&&(0,o.createElement)(o.Fragment,null,(0,o.createElement)(p.ToggleControl,{checked:!!C,label:(0,l.__)("Disable default pagination","gp-premium"),onChange:function(e){S({_generate_disable_archive_navigation:e})}}),(0,o.createElement)(p.ToggleControl,{checked:!!D,label:(0,l.__)("Keep default archive navigation container","gp-premium"),onChange:function(e){S({_generate_use_archive_navigation_container:e})}}))))}}]),r}(o.Component),Fe=(0,ze.withSelect)((function(e){var t=e("core/editor").getEditedPostAttribute;return{meta:t("meta"),elementParent:t("parent"),elementMenuOrder:t("menu_order")}})),Ue=(0,ze.withDispatch)((function(e,t){var n=t.meta,a=e("core/editor").editPost;return{updateMeta:function(e){a({meta:He(He({},n),e)})},updateParentId:function(e){a({parent:e})},updateOrder:function(e){a({menu_order:e})}}})),Ge=(0,s.compose)([Fe,Ue])(Ne);(0,Pe.registerPlugin)("generatepress-block-element",{icon:null,render:Ge}),je()((function(){return(0,Pe.unregisterPlugin)("generatepress-content-width")}))}()}();